/* Headless Shop Connection - External CSS Styles */

.headless-shop-container {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.headless-shop-breadcrumb {
    margin: 1.5rem 0;
    font-size: 1.125rem;
    color: #000000;
}

.headless-shop-breadcrumb a {
    font-family: var(--e-global-typography-5947517-font-family, inherit);
    color: var(--wp--preset--color--primary, #193F56);
    text-decoration: none;
}

.headless-shop-breadcrumb a:hover {
    text-decoration: underline;
}

.headless-shop-breadcrumb .separator {
    margin: 0 0.5rem;
    color: #999;
}

/* helper classes */
.headless-shop--hide {
    display: none !important;
}

/* Plenigo User Status Styles */
.plenigo-user-status {
    margin-bottom: 1rem;
    border-radius: 4px;
    animation: fadeIn 0.3s ease-in;
}

.plenigo-user-status.logged-in {
    background: #e8f5e9;
    border-left: 4px solid #4CAF50;
}

.plenigo-user-status.logged-out {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.plenigo-user-status .status-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.plenigo-user-status .status-message {
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.plenigo-login-button-header,
.plenigo-logout-button,
.plenigo-login-button-main,
.plenigo-relogin-button {
    background-color: var(--e-global-color-text, #000000) !important;
    border-color: var(--e-global-color-text, #000000) !important;
    color: #F6F6F6 !important;
    font-family: var(--e-global-typography-ffc3ea7-font-family, inherit);
    letter-spacing: 1px;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    padding: 12px 24px !important;
    border-radius: 3px!important;
    line-height: 1;
    font-size: 16px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.plenigo-logout-button {
    background: #f44336;
}

.plenigo-relogin-button {
    background: #6c757d;
    margin-left: 0.5rem;
}

.plenigo-login-button-header:hover,
.plenigo-login-button-main:hover {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
}

.plenigo-logout-button:hover {
    background: #d32f2f !important;
    transform: translateY(-1px);
}

.plenigo-relogin-button:hover {
    background: #5a6268 !important;
    transform: translateY(-1px);
}

/* Digital Library Navigation */
.digital-library-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #F6F6F6;
    border-radius: 8px;
}

.digital-library-navigation-button {
    font-family: var(--e-global-typography-ffc3ea7-font-family, inherit);
    letter-spacing: 1px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    padding: 12px 24px;
    border-radius: 3px;
    line-height: 1;
    font-size: 16px;
    text-decoration: none;
    background: #fff;
    border-color: #000;
    color: #000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.digital-library-navigation-button:hover {
    background: #000;
    border-color: #000;
    color: #fff !important;
    text-decoration: none;
}

.digital-library-navigation-button.active,
.digital-library-navigation-button[data-target="DIGITAL_LIBRARY"] {
    background: #000000;
    border-color: #000000;
    color: #fff !important;
}

.digital-library-navigation-button--highlight {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.digital-library-navigation-button--highlight:hover {
    background: #218838;
    border-color: #1e7e34;
    color: #fff;
}

.digital-library-navigation-button--secondary {
    background: #6c757d7a;
    border-color: #6c757d7a;
    color: #fff;
}

.digital-library-navigation-button--secondary:hover {
    background: #5a6268c4;
    border-color: #5a6268c4;
    color: #fff;
}

/* Digital Library Content Areas */
.digital-library-content {
    display: none;
}

.digital-library-content.active,
.digital-library-content#DIGITAL_LIBRARY {
    display: block;
    margin-bottom: 30px;
}

#PLENIGO_SNIPPET {
    min-height: 50px;
    margin-top: 2rem;
}

/* Digitale Bibliothek Styles */
.digital-library-header {
    margin-bottom: 3rem;
    text-align: center;
}

.wp-block-heading {
    font-family: var(--e-global-typography-286a92d-font-family);
    color: var(--e-global-color-primary, #0073aa);
    margin: 0 0 1.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    text-transform: uppercase;
}

.digital-library-intro {
    font-family: var(--e-global-typography-5947517-font-family, inherit);
    color: #000000;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.digital-library-section {
    margin-bottom: 4rem;
}

.digital-library-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--wp--preset--color--primary, #0073aa);
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.subscription-group {
    margin-bottom: 3rem;
}

.subscription-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--wp--preset--color--primary, #0073aa);
}

.category-group {
    margin-bottom: 2rem;
}

.category-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #555;
}

/* Slideshow Styles - Verstärkte Regeln */
.digital-library-slideshow {
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden; /* Verhindert, dass versteckte Slides sichtbar werden */
}

.slideshow-slide {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 0 !important;
    overflow: hidden !important;
    transition: opacity 0.3s ease-in-out;
}

.slideshow-slide.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    height: auto !important;
    overflow: visible !important;
}

/* Fallback für den Fall, dass JavaScript nicht lädt - ohne !important */
.digital-library-slideshow .slideshow-slide:first-child {
    display: block;
    visibility: visible;
    opacity: 1;
    position: static;
    height: auto;
    overflow: visible;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Desktop: 4 nebeneinander */
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobile: 2x2 */
        gap: 1rem;
    }
}

/* Digital Product Cards */
.digital-product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.digital-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.digital-product-card .product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.digital-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Format Badges */
.format-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.format-badge.format-digital {
    background: #4CAF50;
}

.format-badge.format-multiform {
    background: #FF9800;
}

.multiple-downloads-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #2196F3;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.digital-product-card .product-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.digital-product-card .product-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.digital-product-card .product-title a {
    color: inherit;
    text-decoration: none;
}

.digital-product-card .product-title a:hover {
    color: var(--wp--preset--color--primary, #0073aa);
}

.publication-date,
.buy-date {
    font-size: 0.85rem;
    color: #666;
    margin: 0.25rem 0;
}

.buy-date {
    font-weight: 600;
    color: var(--wp--preset--color--primary, #0073aa);
}

.product-actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #f0f0f0;
}

.download-button,
.details-button {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.download-button {
    background: var(--wp--preset--color--primary, #0073aa);
    color: white;
}

.download-button:hover {
    background: #005a87;
    color: white;
}

.details-button {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

.details-button:hover {
    background: #e9ecef;
    color: #333;
}

/* Slideshow Controls */
.slideshow-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.slide-nav {
    background: var(--wp--preset--color--primary, #0073aa);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slide-nav:hover:not(:disabled) {
    background: #005a87;
    transform: scale(1.1);
}

.slide-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.slide-indicators {
    display: flex;
    gap: 0.5rem;
}

.slide-indicator {
    background: #e0e0e0;
    color: #666;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.slide-indicator.active,
.slide-indicator:hover {
    background: var(--wp--preset--color--primary, #0073aa);
    color: white;
}

/* Login Required Message */
.login-required-message {
    text-align: center;
    padding: 3rem 2rem;
    background: #F6F6F6;
    border-radius: 8px;
    margin-top: 2rem;
}

.login-required-message h1 {
    margin-bottom: 1rem;
}

.login-required-message p {
    font-family: var(--e-global-typography-5947517-font-family, inherit);
    color: #000000;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.login-actions {
    margin-top: 2rem;
}

/* No Products Message */
.no-products-message {
    text-align: center;
    padding: 3rem 2rem;
    background: #F6F6F6;
    border-radius: 8px;
    margin-top: 2rem;
}

.no-products-message p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.no-products-message .wp-block-button__link {
    background-color: var(--e-global-color-text, #000000);
    border-color: var(--e-global-color-text, #000000) ;
    color: #F6F6F6;
    font-family: var(--e-global-typography-ffc3ea7-font-family, inherit);
    letter-spacing: 1px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    padding: 12px 24px;
    border-radius: 3px;
    line-height: 1;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.no-products-message .wp-block-button__link:hover {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
}

/* Kategorien Grid */
.headless-shop-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.headless-shop-category-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: block;
}

.headless-shop-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}

.headless-shop-category-card .category-title {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: inherit;
    transition: color 0.3s ease;
}

.headless-shop-category-card:hover .category-title {
    color: var(--wp--preset--color--primary, #0073aa);
}

.headless-shop-category-card .category-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.headless-shop-category-card .product-count {
    color: #666;
}

/* Produkte Grid */
.headless-shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.headless-shop-product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.headless-shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.headless-shop-product-card .product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

.headless-shop-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.headless-shop-product-card .product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4CAF50;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
}

.headless-shop-product-card .product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.headless-shop-product-card .product-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.headless-shop-product-card .product-title a {
    color: inherit;
    text-decoration: none;
}

.headless-shop-product-card .product-excerpt {
    color: #666;
    font-size: 0.95em;
    flex: 1;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.headless-shop-product-card .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.headless-shop-product-card .product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--wp--preset--color--primary, #0073aa);
}

.headless-shop-product-card .product-link {
    color: var(--wp--preset--color--primary, #0073aa);
    text-decoration: none;
    font-weight: 500;
}

/* Produkt Detail */
.headless-shop-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.product-gallery .gallery-main {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery .gallery-main img {
    width: 100%;
    height: auto;
    display: block;
}

.product-gallery .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-gallery .thumb-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.product-gallery .thumb-image:hover,
.product-gallery .thumb-image.active {
    border-color: var(--wp--preset--color--primary, #0073aa);
}

.product-info .product-title {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.product-info .product-teaser {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.product-description {
    margin: 2rem 0;
}

.product-description h2 {
    margin-bottom: 1rem;
}

/* Product Variant Tabs */
.product-variant-tabs {
    margin-top: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.tab-navigation {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    background: #e9ecef;
    color: #333;
}

.tab-button.active {
    background: #fff;
    color: var(--wp--preset--color--primary, #0073aa);
    border-bottom: 2px solid var(--wp--preset--color--primary, #0073aa);
}

.tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

.product-single-variant {
    margin-top: 2rem;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
}

.variant-price-box {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.variant-price-box .price-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--wp--preset--color--primary, #0073aa);
    margin-left: 0.5rem;
}

.variant-price-box .vat-info {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5rem;
}

.variant-international-prices {
    background: #fafafa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.variant-international-prices h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.variant-international-prices ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.variant-international-prices li {
    padding: 0.25rem 0;
}

.variant-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.variant-actions .wp-block-button__link {
    background: var(--wp--preset--color--primary, #0073aa);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: background 0.3s;
}

.variant-actions .wp-block-button__link:hover {
    background: #005a87;
}

.variant-actions .plenigo-relogin-button {
    background: #6c757d;
}

.variant-actions .plenigo-relogin-button:hover {
    background: #5a6268;
}

/* Link-Buttons sehen genauso aus wie normale Buttons */
.variant-actions a.wp-block-button__link,
.variant-actions a.plenigo-checkout-button {
    background: var(--wp--preset--color--primary, #0073aa);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: background 0.3s;
}

.variant-actions a.wp-block-button__link:hover,
.variant-actions a.plenigo-checkout-button:hover {
    background: #005a87;
}

.checkout-error {
    width: 100%;
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.checkout-error p {
    margin: 0;
}

/* Purchase Complete Page Styles */
.purchase-complete-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #F6F6F6;
    border-radius: 8px;
    text-align: center;
}

.purchase-complete-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.purchase-complete-success .success-message {
    font-family: var(--e-global-typography-5947517-font-family, inherit);
    color: #155724;
    font-weight: 500;
    margin: 0;
}

.purchase-complete-info {
    background: #cce7ff;
    border: 1px solid #a3d5ff;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.purchase-complete-info .info-message {
    color: #004085;
    font-weight: 500;
    margin: 0;
}

.purchase-complete-content {
    margin-top: 2rem;
}

.next-steps {
    margin-bottom: 3rem;
}

.next-steps h2 {
    font-family: var(--e-global-typography-286a92d-font-family);
    color: var(--e-global-color-primary, #0073aa);
    margin: 0 auto;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.step-item h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.3rem;
}

.step-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-item .wp-block-button__link {
    background-color: var(--e-global-color-text, #000000) !important;
    border-color: var(--e-global-color-text, #000000) !important;
    color: #F6F6F6 !important;
    height: auto;
    font-family: var(--e-global-typography-ffc3ea7-font-family, inherit);
    letter-spacing: 1px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    padding: 12px 24px;
    border-radius: 3px;
    line-height: 1;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.step-item .wp-block-button__link:hover {
    background-color: #f6f6f6 !important;
    color: #000 !important;
    border-color: #f6f6f6 !important;
}

.step-item .wp-block-button__link--secondary {
    background: #6c757d;
}

.step-item .wp-block-button__link--secondary:hover {
    background: #5a6268;
}

.user-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.user-info h3 {
    margin-bottom: 1rem;
    color: #495057;
}

.user-info p {
    margin: 0.5rem 0;
    color: #6c757d;
    font-family: monospace;
    font-size: 0.9rem;
}

.purchase-complete-footer {
    background: #F6F6F6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.purchase-complete-footer h3 {
    font-family: var(--e-global-typography-286a92d-font-family);
    color: var(--e-global-color-primary, #0073aa);
    margin: 0 0 1.5rem 0;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    text-transform: uppercase;
}

.purchase-complete-footer p {
    font-family: var(--e-global-typography-5947517-font-family, inherit);
    color: #000000;
    font-size: 1.25rem;
    line-height: 1.7;
    margin: 0 0 2.5rem 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

@media (max-width: 768px) {
    .headless-shop-container.alignwide {
        margin-left: auto;
        margin-right: auto;
    }

    .headless-shop-product-detail {
        grid-template-columns: 1fr;
    }

    .plenigo-user-status .status-content {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .variant-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .variant-actions button,
    .variant-actions a {
        margin-left: 0 !important;
    }

    .tab-navigation {
        flex-direction: column;
    }

    .tab-button {
        border-bottom: 1px solid #e0e0e0;
    }

    .tab-button:last-child {
        border-bottom: none;
    }

    .tab-button.active {
        border-bottom: none;
        border-left: 4px solid var(--wp--preset--color--primary, #0073aa);
    }

    .tab-content,
    .product-single-variant {
        padding: 1rem;
    }

    /* Mobile Anpassungen für Digital Library Navigation */
    .digital-library-navigation {
        flex-direction: column;
        gap: 0.5rem;
    }

    .digital-library-navigation-button {
        text-align: center;
        padding: 1rem;
    }

    /* Mobile Anpassungen für Digitale Bibliothek */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .slideshow-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .slide-indicators {
        order: -1;
    }

    .product-actions {
        flex-direction: column;
    }

    .digital-library-header {
        margin-bottom: 2rem;
    }

    .subscription-title {
        font-size: 1.3rem;
        padding: 0.8rem;
    }

    /* Mobile Anpassungen für Purchase Complete */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-item {
        padding: 1.5rem;
    }

    .purchase-complete-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

