/* ==========================================================================
   SHOP.CSS - Alle Shop-spezifischen Styles
   Extrahiert aus styles.css für bessere Organisation
   Erstellt am: Februar 2026
   ========================================================================== */

/* ===== 1. SHOP HERO & SECTION ===== */
/* Zeilen 5614-5695 aus styles.css */


    /*
    //
    // =========================================================
        ███████████████████████████████████████████████████████
        ███                                                 ███
        ███                    SHOP SECTION                 ███
        ███                  E-COMMERCE SHOP                ███
        ███                                                 ███
        ███████████████████████████████████████████████████████
        ========================================================= //
    //
    //
    */

/* =========================
   SHOP SECTION STYLES
   ========================= */

/* ========================================
   PREMIUM SHOP HERO SECTION - Apple Style
   ======================================== */
.shop-hero {
    background: var(--surface-0);
    padding: 160px 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 800px 400px at 50% 0%, var(--green-alpha-05) 0%, transparent 70%);
    pointer-events: none;
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.shop-hero-title {
    font-size: clamp(56px, 10vw, 96px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.1;
    white-space: nowrap;
    text-align: center;
}

.shop-hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

/* Shop Section */
.shop-section {
    padding: 20px 50px 120px;
    background: var(--surface-0);
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   PREMIUM FILTER BAR - Apple Style
   ======================================== */

/* ===== 2. FILTER SYSTEM ===== */
/* Zeilen 5696-5852 aus styles.css */

.shop-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    overflow: visible;
    padding: 20px 0;
}

/* Filter Pills Section */
.filter-pills-section {
    flex: 1;
    overflow: visible;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 15px 0;
}

.filter-pills-section::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.filter-pills {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    min-width: min-content;
    padding: 10px 0;
}

.filter-pill {
    padding: 12px 28px;
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.filter-pill:hover {
    background: var(--white-alpha-05);
    border-color: var(--white-alpha-20);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.filter-pill.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--surface-0);
    box-shadow: 
        0 0 60px rgba(74, 222, 128, 0.24),
        0 0 100px rgba(74, 222, 128, 0.16),
        0 0 140px rgba(74, 222, 128, 0.08);
}

/* Filter Controls (Dropdowns) */
.filter-controls {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.filter-dropdown {
    position: relative;
}

.filter-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.filter-dropdown-btn:hover {
    background: var(--white-alpha-05);
    border-color: var(--white-alpha-20);
    color: var(--text-primary);
}

.filter-dropdown-btn svg {
    transition: transform 0.3s ease;
}

.filter-dropdown.active .filter-dropdown-btn svg {
    transform: rotate(180deg);
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    border-radius: 16px;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px var(--black-alpha-30);
    z-index: 100;
    overflow: visible;
    margin-top: 4px;
}

.filter-dropdown.active .filter-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.filter-dropdown-item {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-dropdown-item:hover {
    background: var(--white-alpha-05);
    color: var(--text-primary);
}

.filter-dropdown-item.active {
    background: var(--green-alpha-10);
    color: var(--brand-primary);
}

/* ========================================
   PREMIUM PRODUCTS GRID
   ======================================== */

/* ===== 3. PRODUCTS GRID & CARDS ===== */
/* Zeilen 5853-6139 aus styles.css */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.loading-products-premium {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
}

.spinner-premium {
    width: 50px;
    height: 50px;
    border: 4px solid var(--green-alpha-20);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spinPremium 0.8s linear infinite;
    margin-bottom: 20px;
}

.loading-products-premium p {
    color: var(--text-secondary);
    font-size: 15px;
}

@keyframes spinPremium {
    to { transform: rotate(360deg); }
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 120px 20px;
    color: var(--text-tertiary);
    font-size: 18px;
}

/* ========================================
   PREMIUM PRODUCT CARDS - Apple Style
   ======================================== */
.product-card {
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-08);
    border-radius: 20px;
    overflow: hidden;
    /* Nur border-color, box-shadow und background animieren - NICHT transform */
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    /* Feste Position ohne transform-Animation */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: border-color, box-shadow;
}

.product-card:hover {
    /* KEIN transform mehr - verhindert das "Neustart" der Animation */
    border-color: var(--white-alpha-15);
    box-shadow: 
        0 20px 60px var(--black-alpha-40),
        0 0 0 1px var(--white-alpha-05);
}
/* Separate Pseudo-Element für Hover-Effekte - verhindert Animation-Neustart */
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid transparent;
    box-shadow: none;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::before {
    border-color: var(--white-alpha-15);
    box-shadow: 
        0 20px 60px var(--black-alpha-40),
        0 0 0 1px var(--white-alpha-05);
}

/* Product Image */
.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--surface-2);
    /* Verhindert dass innere Events das Hover triggern */
    isolation: isolate;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Stabile transform-Animation ohne Neustart */
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Overlay - Quick View */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, var(--black-alpha-60) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    /* Verhindert pointer-events auf overlay selbst */
    pointer-events: none;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-quick-view {
    padding: 14px 32px;
    background: var(--brand-white);
    color: var(--surface-0);
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    /* Anfangszustand */
    transform: translateY(10px);
    opacity: 0;
    /* Separate transitions für bessere Kontrolle */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.2s ease,
                box-shadow 0.2s ease;
    letter-spacing: -0.01em;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 4px 20px var(--black-alpha-30);
    position: relative;
}
/* Vergrößerte Klickfläche (Hit-Range) - 120% größer */
.product-quick-view::after {
    content: '';
    position: absolute;
    top: -60%;
    right: -60%;
    bottom: -60%;
    left: -60%;
    cursor: pointer;
}

.product-card:hover .product-quick-view {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.product-quick-view:hover {
    background: var(--brand-primary);
    /* transform: scale(1.05) translateY(0); */
    box-shadow: 0 6px 30px var(--green-alpha-50);
}

.product-quick-view:active {
    transform: scale(0.98) translateY(0);
}

/* Product Info */
.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.product-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--green-alpha-10);
    border: 1px solid var(--green-alpha-20);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--brand-primary);
    position: relative;
}

/* Vergrößerte Klickfläche (Hit-Range) um den Button herum */
.product-add-cart::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: -15px;
    left: -15px;
    cursor: pointer;
}

.product-add-cart:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--surface-0);
    transform: scale(1.05);
    box-shadow: 0 8px 20px var(--green-alpha-30);
}


/* Cart Button in Header */

/* ===== 4. CART (WARENKORB) ===== */
/* Zeilen 6140-6374 aus styles.css */

.cart-button {
    position: relative;
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--brand-primary);
}

.cart-button:hover {
    background: var(--green-alpha-10);
    border-color: var(--green-alpha-30);
    box-shadow: 0 5px 15px var(--green-alpha-30);
}
/* Hide cart button when checkout modal is active */
body:has(.checkout-modal.active) .cart-button,
.checkout-modal.active ~ .nav-social .cart-button {
    display: none !important;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--brand-primary);
    color: var(--surface-0);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: var(--surface-modal);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--white-alpha-10);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10001;
    pointer-events: none;
    will-change: opacity, transform;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
    pointer-events: auto;
}

.cart-sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    border-bottom: 1px solid var(--white-alpha-10);
}

.cart-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.cart-close {
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

.cart-close:hover {
    background: var(--error-alpha-10);
    border-color: var(--error-alpha-30);
    color: var(--brand-error);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
}

.cart-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-tertiary);
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    border-radius: 12px;
    margin-bottom: 15px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.cart-item-price {
    font-size: 18px;
    color: var(--brand-primary);
    font-weight: 700;
    display: block;
}

.cart-item-remove {
    background: var(--error-alpha-10);
    border: 1px solid var(--error-alpha-20);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--brand-error);
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: var(--error-alpha-20);
    border-color: var(--brand-error);
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--white-alpha-10);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-total-price {
    color: var(--brand-primary);
}

.cart-checkout-btn {
    width: 100%;
    background: var(--brand-primary);
    color: var(--surface-0);
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-checkout-btn:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--green-alpha-20);
}

/* =========================
   PREMIUM QUICK VIEW MODAL
   ========================= */

/* ==========================================================================
   PREMIUM QUICK VIEW MODAL - Überarbeitet für hochwertigeres Design
   ========================================================================== */


/* ===== 5. PRODUCT MODAL (GRÖSSTER BEREICH) ===== */
/* Zeilen 6375-7861 aus styles.css */

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), 
                visibility 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 24px;
    pointer-events: none;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(5, 5, 5, 0.95) 100%);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
}

.product-modal-container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    width: 95%;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-modal.active .product-modal-container {
    transform: scale(1) translateY(0);
}

.product-modal-content {
    background: linear-gradient(165deg, 
        rgba(26, 26, 26, 0.98) 0%, 
        rgba(15, 15, 15, 0.99) 50%,
        rgba(10, 10, 10, 1) 100%);
    border: 1px solid var(--white-alpha-08);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 0.85fr;
    gap: 0;
    position: relative;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.7),
        0 0 0 1px var(--white-alpha-05) inset,
        0 0 80px var(--green-alpha-05);
    width: 100%;
}

/* Subtle inner glow */
.product-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--white-alpha-15) 20%, 
        var(--white-alpha-20) 50%, 
        var(--white-alpha-15) 80%, 
        transparent 100%);
    pointer-events: none;
    z-index: 10;
}

.product-modal-close {
    position: relative;
    top: auto;
    right: auto;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--white-alpha-15);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--text-primary);
    z-index: 1055;
    flex-shrink: 0;
}

.product-modal-close:hover {
    background: var(--error-alpha-25);
    border-color: var(--error-alpha-50);
    color: var(--brand-error);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 0 25px var(--error-alpha-30);
}

/* ==========================================================================
   PREMIUM MEDIA GALLERY - Überarbeitet mit mehreren Bildern & Videos
   ========================================================================== */

.product-modal-gallery {
    background: linear-gradient(180deg, rgba(8, 8, 8, 1) 0%, rgba(12, 12, 12, 1) 100%);
    padding: 24px 24px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: visible;
}

/* Subtle gradient overlay for depth */
.product-modal-gallery::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
    z-index: 1;
}

.gallery-main {
    position: relative;
    width: 100%;
    min-height: 420px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 var(--white-alpha-08);
    border: 1px solid var(--white-alpha-06);
}

.gallery-media-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--surface-0);
}

.gallery-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.gallery-media-wrapper:hover img {
    transform: scale(1.02);
}

.gallery-media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* YouTube/Video iframe container */
.gallery-media-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* Video Play Overlay - Premium Design */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.85) 100%);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 2px solid var(--white-alpha-25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.video-play-overlay::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--white-alpha-10);
    opacity: 0;
    transition: all 0.4s ease;
}

.video-play-overlay:hover {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
    border-color: var(--brand-primary);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 50px var(--green-alpha-40);
}

.video-play-overlay:hover::before {
    opacity: 1;
    border-color: var(--green-alpha-30);
}

.video-play-overlay svg {
    width: 36px;
    height: 36px;
    color: var(--text-primary);
    margin-left: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Gallery Navigation Arrows - Premium */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--white-alpha-15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 10;
    opacity: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.gallery-main:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--surface-0);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 30px var(--green-alpha-40);
}

.gallery-nav-prev {
    left: 16px;
}

.gallery-nav-next {
    right: 16px;
}

.gallery-nav:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
}

/* Gallery Counter - Premium Badge */
.gallery-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--white-alpha-12);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Media Type Badge */
.gallery-media-type {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-primary);
    border: 1px solid var(--green-alpha-20);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-media-type svg {
    width: 14px;
    height: 14px;
}

/* Thumbnail Strip - Premium */
.gallery-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 20px 20px;
    margin: 0 -20px;
    scrollbar-width: none;
    position: relative;
    z-index: 10;
}

.gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    background: var(--surface-2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbnail:hover {
    border-color: var(--white-alpha-40);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.gallery-thumbnail:hover img {
    transform: scale(1.1);
}

.gallery-thumbnail.active {
    border-color: var(--brand-primary);
    box-shadow: 0 0 12px var(--green-alpha-25), 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Video Thumbnail Indicator - Premium */
.gallery-thumbnail.video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white-alpha-20);
}

.gallery-thumbnail.video::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 9px solid var(--text-primary);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    z-index: 1;
}

.gallery-thumbnail.video:hover::after {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* ==========================================================================
   PREMIUM PRODUCT INFO SECTION - Überarbeitet für mehr Informationen
   ========================================================================== */

.product-modal-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(26, 26, 26, 1) 0%, rgba(20, 20, 20, 1) 100%);
    overflow: visible;
    position: relative;
}

/* Category Badge */
.product-modal-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--brand-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--green-alpha-12) 0%, var(--green-alpha-06) 100%);
    border-radius: 8px;
    width: fit-content;
    border: 1px solid var(--green-alpha-15);
}

/* Product Title */
.product-modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

/* Short Description */
.product-modal-short-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    /* Text nicht abschneiden - vollständig anzeigen */
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    display: block;
}

/* Price Section - Premium */
.product-modal-price-section {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-modal-price-section .price-amount {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.price-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--green-alpha-15) 0%, var(--green-alpha-08) 100%);
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--green-alpha-20);
}

/* ==========================================================================
   PRODUCT TABS - Premium Design
   ========================================================================== */

.product-modal-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
    padding: 5px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 1) 0%, rgba(10, 10, 10, 1) 100%);
    border-radius: 14px;
    border: 1px solid var(--white-alpha-05);
}

.product-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-tab:hover {
    color: var(--text-primary);
    background: var(--white-alpha-05);
}

.product-tab.active {
    background: linear-gradient(135deg, var(--surface-2) 0%, rgba(44, 44, 44, 0.9) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 var(--white-alpha-08);
}

.product-tab svg {
    width: 15px;
    height: 15px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.product-tab.active svg {
    opacity: 1;
    color: var(--brand-primary);
}

/* Tab Contents */
.product-tab-contents {
    flex: 1;
    min-height: 200px;
}

.product-tab-content {
    display: none;
    animation: fadeInTab 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overview Tab - Description */
.product-modal-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 24px;
}
/* ==========================================================================
   PACKAGE CONTENTS SECTION - Overview Tab
   ========================================================================== */

.package-contents-section {
    padding: 0;
}

.package-contents-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--white-alpha-10);
}

.package-contents-title svg {
    color: var(--brand-primary);
    flex-shrink: 0;
}

.package-contents-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.package-contents-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8) 0%, rgba(10, 10, 10, 0.8) 100%);
    border-radius: 10px;
    border: 1px solid var(--white-alpha-05);
    transition: all 0.3s ease;
}

.package-contents-item:hover {
    border-color: var(--green-alpha-20);
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(15, 15, 15, 0.9) 100%);
    transform: translateX(4px);
}

.package-contents-item svg {
    color: var(--brand-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.package-contents-item span {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

/* ==========================================================================
   QUICK INFO CARDS - Premium Grid
   ========================================================================== */

.quick-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.quick-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    border-radius: 14px;
    border: 1px solid var(--white-alpha-06);
    transition: all 0.3s ease;
}

.quick-info-card:hover {
    border-color: var(--green-alpha-20);
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(15, 15, 15, 0.9) 100%);
    transform: translateY(-2px);
}

.quick-info-card svg {
    width: 22px;
    height: 22px;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.quick-info-card div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.quick-info-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   PRODUCT DETAILS TAB - Premium Design
   ========================================================================== */

.product-modal-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--white-alpha-06);
    margin-bottom: 20px;
}

.product-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--white-alpha-04);
    transition: background 0.2s ease;
}

.product-detail-item:hover {
    background: var(--white-alpha-02);
}

.product-detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
}

/* ==========================================================================
   FEATURES TAB - Premium List
   ========================================================================== */

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--white-alpha-05);
    transition: all 0.3s ease;
    line-height: 1.6;
}

.product-features-list li:hover {
    border-color: var(--green-alpha-25);
    background: linear-gradient(135deg, var(--green-alpha-08) 0%, var(--green-alpha-03) 100%);
    transform: translateX(4px);
}

.product-features-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: linear-gradient(135deg, var(--green-alpha-20) 0%, var(--green-alpha-10) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234ade80' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 1px;
}

/* ==========================================================================
   ADD TO CART BUTTON - Premium Design
   ========================================================================== */

.product-modal-add-cart {
    margin-top: 0;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
    color: var(--surface-0);
    border: none;
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 25px var(--green-alpha-35);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    width: 100%;
}

/* Separator after Add to Cart button in info section */
.product-modal-info .product-modal-add-cart {
    padding-bottom: 16px;
    margin-bottom: 24px;
    position: relative;
}

.product-modal-info .product-modal-add-cart::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--white-alpha-08);
}

.product-modal-add-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--white-alpha-25), transparent);
    transition: left 0.6s ease;
}

.product-modal-add-cart:hover::before {
    left: 100%;
}

.product-modal-add-cart:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--green-alpha-50);
}

.product-modal-add-cart:active {
    transform: translateY(-1px);
}

.product-modal-add-cart svg {
    width: 22px;
    height: 22px;
}
/* Add to Cart Button unter der Gallery */
.product-modal-add-cart.gallery-add-cart {
    margin-top: 16px;
    width: auto;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    padding: 14px 24px;
    font-size: 14px;
}
/* ==========================================================================
   PROJEKTBESCHREIBUNG SECTION - Quick View Modal
   ========================================================================== */

.included-items-section {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(18, 18, 18, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid var(--white-alpha-08);
}

.included-items-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.included-items-title svg {
    color: var(--brand-primary);
    opacity: 0.9;
}

.project-description-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-height: 200px;
    overflow-y: auto;
    padding-right: 8px;
}

.project-description-text::-webkit-scrollbar {
    width: 4px;
}

.project-description-text::-webkit-scrollbar-track {
    background: transparent;
}

.project-description-text::-webkit-scrollbar-thumb {
    background: var(--white-alpha-20);
    border-radius: 2px;
}

.project-description-text::-webkit-scrollbar-thumb:hover {
    background: var(--white-alpha-40);
}
/* ==========================================================================
   PREMIUM QUICK VIEW - Header & Badges
   ========================================================================== */

/* Modal Header with Badges */
.product-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.product-modal-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid var(--white-alpha-12);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.product-type-badge:hover {
    border-color: var(--white-alpha-20);
    background: rgba(20, 20, 20, 0.95);
}

.product-type-badge svg {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

/* Product Type Badge - Tool */
.product-type-badge.tool-badge {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.2);
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
}

.product-type-badge.tool-badge svg {
    color: #60a5fa;
}

/* Product Type Badge - Asset */
.product-type-badge.asset-badge {
    color: #c084fc;
    border-color: rgba(192, 132, 252, 0.2);
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.1) 0%, rgba(192, 132, 252, 0.05) 100%);
}

.product-type-badge.asset-badge svg {
    color: #c084fc;
}

/* ==========================================================================
   SOFTWARE COMPATIBILITY SECTION - Premium Design
   ========================================================================== */

.software-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--white-alpha-06);
}

.software-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.software-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
    border-radius: 2px;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.software-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid var(--white-alpha-08);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.software-badge:hover {
    border-color: var(--green-alpha-30);
    background: linear-gradient(135deg, var(--green-alpha-08) 0%, var(--green-alpha-03) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.software-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: -0.5px;
    border: 1px solid var(--white-alpha-08);
    text-shadow: 0 0 10px var(--green-alpha-30);
}

.software-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
    line-height: 1.4;
}

/* ==========================================================================
   REQUIREMENTS SECTION - Premium Design
   ========================================================================== */

.requirements-section {
    margin-top: 20px;
}

.requirements-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirements-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    border-radius: 2px;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(10, 10, 10, 0.9) 100%);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--white-alpha-05);
    line-height: 1.5;
}

.requirements-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: #f59e0b;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

/* Features Section in Details Tab */
.features-section,
.requirements-section {
    margin-bottom: 24px;
}

.features-section h4,
.requirements-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features-section h4::before,
.requirements-section h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--brand-primary);
    border-radius: 2px;
}

.features-list,
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.features-list li,
.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: var(--surface-0);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--white-alpha-05);
    transition: all 0.2s ease;
    line-height: 1.5;
}

.features-list li:hover,
.requirements-list li:hover {
    border-color: var(--green-alpha-20);
    background: var(--green-alpha-05);
}

.features-list li svg,
.requirements-list li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--brand-primary);
    margin-top: 2px;
}

.features-list li span,
.requirements-list li span {
    flex: 1;
}

/* Software Tab Styles */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.software-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface-0);
    border: 1px solid var(--white-alpha-10);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.software-badge:hover {
    border-color: var(--green-alpha-30);
    background: var(--green-alpha-05);
    transform: translateY(-2px);
}

.software-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: -0.5px;
    border: 1px solid var(--white-alpha-10);
}

.software-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

/* ==========================================================================
   SOFTWARE GRID LOGOS - SVG Only Display (No Text)
   ========================================================================== */

/* Grid für nur SVG-Logos */
.software-grid-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
}

/* Software Badge nur mit Logo (kein Text) */
.software-badge-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid var(--white-alpha-10);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.software-badge-logo:hover {
    border-color: var(--white-alpha-20);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(25, 25, 25, 0.95) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* SVG Logo Styling - Einheitliche Größe */
.software-logo-svg {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.software-badge-logo:hover .software-logo-svg {
    transform: scale(1.1);
}

/* Fallback Logo Container */
.software-logo-img {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-logo-img svg {
    width: 100%;
    height: 100%;
}
/* Video Container for YouTube/Videos */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--surface-0);
    border-radius: 16px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Tab Panel Active State */
.tab-panel {
    display: none;
    animation: fadeInTab 0.3s ease;
}

.tab-panel.active {
    display: block;
}

/* Software Tab Header */
.tab-panel[data-panel="software"] h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-panel[data-panel="software"] h4::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--brand-primary);
    border-radius: 2px;
}

/* Premium Modal Responsive Design */
@media (max-width: 1000px) {
    .product-modal-container {
        max-width: 95%;
        width: 95%;
        /* Auf kleineren Bildschirmen das ganze Modal scrollbar */
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .product-modal-content {
        grid-template-columns: 1fr;
        /* Content nicht mehr beschränkt */
        max-height: none;
        overflow: visible;
    }
    
    .product-modal-gallery {
        padding: 16px;
    }
    
    .gallery-main {
        height: auto;
        min-height: 280px;
        aspect-ratio: 16/9;
    }
    
    .product-modal-info {
        padding: 20px;
        max-height: none;
        overflow: visible;
    }
    
    .product-modal-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }
    
    .product-modal-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .product-tab {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .quick-info-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .software-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Close Button auf mobil anpassen */
    .product-modal-close {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 500px) {
    .product-modal-container {
        padding: 0;
        max-height: 100vh;
        width: 100%;
    }
    
    .product-modal-content {
        border-radius: 0;
        min-height: auto;
        max-height: none;
    }
    
    .product-modal-gallery {
        padding: 12px;
    }
    
    .gallery-thumbnails {
        gap: 6px;
    }
    
    .gallery-thumbnail {
        width: 56px;
        height: 42px;
    }
    
    .product-modal-info {
        padding: 16px;
    }
    
    .product-modal-title {
        font-size: 20px;
    }
    
    .product-modal-price-section .price-amount {
        font-size: 26px;
    }
    
    .quick-info-cards {
        grid-template-columns: 1fr;
    }
    
    .software-grid {
        grid-template-columns: 1fr;
    }
    
    /* Close Button auf kleinen Handys */
    .product-modal-close {
        width: 32px;
        height: 32px;
    }
}
/* Checkout Modal */

/* ===== 6. CHECKOUT MODAL ===== */
/* Zeilen 7862-8105 aus styles.css */

.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-dark);
    backdrop-filter: blur(10px);
}

.checkout-modal-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 90%;
}

.checkout-modal-content {
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.checkout-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

.checkout-modal-close:hover {
    background: var(--error-alpha-10);
    border-color: var(--error-alpha-30);
    color: var(--brand-error);
}

.checkout-title {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.checkout-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.checkout-option-btn {
    background: var(--surface-2);
    border: 1px solid var(--white-alpha-10);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    color: var(--text-primary);
}

.checkout-option-btn:hover {
    border-color: var(--green-alpha-30);
    background: var(--green-alpha-05);
}

.checkout-option-btn svg {
    color: var(--brand-primary);
    flex-shrink: 0;
}

.checkout-option-btn h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.checkout-option-btn p {
    font-size: 14px;
    color: var(--text-tertiary);
}

.guest-email-form,
.account-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guest-email-form h3,
.account-form h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.guest-email-form input,
.account-form input {
    background: var(--surface-2);
    border: 1px solid var(--white-alpha-10);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    color: var(--text-primary);
    font-family: inherit;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.guest-email-form input:focus,
.account-form input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: var(--white-alpha-08);
    box-shadow: 0 0 0 3px var(--green-alpha-10);
}

.checkout-continue-btn {
    background: var(--brand-primary);
    color: var(--surface-0);
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkout-continue-btn:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--green-alpha-40);
}

.checkout-continue-btn.secondary {
    background: var(--surface-2);
    color: var(--text-primary);
    border: 1px solid var(--white-alpha-10);
}

.checkout-continue-btn.secondary:hover {
    background: var(--white-alpha-08);
    border-color: var(--green-alpha-30);
}

.account-actions {
    display: flex;
    gap: 10px;
}

.account-actions button {
    flex: 1;
}

/* Shop Notifications */
.shop-notification {
    position: fixed;
    top: 30px;
    left: 30px;
    background: var(--surface-modal);
    backdrop-filter: blur(20px);
    border: 1px solid var(--white-alpha-10);
    border-radius: 12px;
    padding: 16px 24px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-100px);
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
}

.shop-notification.show {
    transform: translateY(0) scale(1);
    pointer-events: all;
    opacity: 1;
}

.shop-notification-success {
    border-color: var(--green-alpha-30);
    background: linear-gradient(135deg, var(--green-alpha-10), var(--green-alpha-05));
}

.shop-notification-error {
    border-color: var(--error-alpha-30);
    background: linear-gradient(135deg, var(--error-alpha-10), var(--error-alpha-05));
}

.shop-notification-info {
    border-color: var(--white-alpha-20);
}

/* Responsive Design for Shop */
@media (max-width: 1200px) {

/* ===== 7. SHOP RESPONSIVE (Teil 1) ===== */
/* Zeilen 8106-8200 aus styles.css */

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .shop-hero {
        padding: 120px 30px 80px;
    }

    .shop-section {
        padding: 60px 30px;
    }

    .shop-filters {
        padding: 20px;
    }

    .filter-group {
        min-width: 150px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .cart-sidebar {
        width: 350px;
    }

    .product-modal-content {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .product-modal-image {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 100px 20px 60px;
    }

    .shop-section {
        padding: 40px 20px;
    }

    .shop-filters {
        flex-direction: column;
        gap: 15px;
    }

    .filter-group {
        min-width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
    }

    .cart-sidebar-content {
        padding-top: env(safe-area-inset-top);
    }

    .product-modal-container {
        width: 95%;
    }

    .product-modal-content {
        padding: 20px;
    }

    .checkout-modal-content {
        padding: 30px 20px;
    }

    .shop-notification {
        top: 20px;
        left: 16px;
        right: 16px;
    }
}

/* =================================================================
   PAYMENT MODAL STYLES - UPDATED
   ================================================================= */


/* ===== 8. PAYMENT MODAL ===== */
/* Zeilen 8201-8839 aus styles.css */

.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-modal.active {
    opacity: 1;
    visibility: visible;
}
/* Block body scroll when payment modal is active */
body:has(.payment-modal.active) {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}

.payment-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-dark);
    backdrop-filter: blur(10px);
}

.payment-modal-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 95%;
    max-height: 90vh;
    display: flex;
    /* Container für rounded corners und overflow */
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    border-radius: 20px;
    overflow: hidden; /* Wichtig: Verhindert Überlauf außerhalb der Rounded Corners */
}

.payment-modal-content {
    background: transparent; /* Transparent da Container den Hintergrund hat */
    border: none; /* Border ist jetzt am Container */
    border-radius: 0; /* Kein border-radius da Container die Corners hat */
    padding: 40px;
    padding-right: 32px; /* Reduziertes rechtes Padding für Scrollbar-Platz */
    position: relative;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    /* Scrollbar bleibt innerhalb der Box */
    box-sizing: border-box;
}

/* Scrollbar Styling for Payment Modal - Innerhalb der Box */
.payment-modal-content::-webkit-scrollbar {
    width: 8px;
}

.payment-modal-content::-webkit-scrollbar-track {
    background: var(--surface-1);
    border-radius: 10px;
}

.payment-modal-content::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.payment-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary-hover);
}

/* Scrollbar-Buttons (Dreiecke/Pfeile) komplett entfernen */
.payment-modal-content::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

.payment-modal-content::-webkit-scrollbar-button:start:decrement,
.payment-modal-content::-webkit-scrollbar-button:end:increment {
    display: none;
}

.payment-modal-content::-webkit-scrollbar-corner {
    background: var(--surface-1);
}

/* Firefox Scrollbar für Payment Modal */
.payment-modal-content {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) var(--surface-1);
}

.payment-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--error-alpha-15);
    border: 1px solid var(--brand-error);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--brand-error);
}

.payment-modal-close:hover {
    background: var(--error-alpha-10);
    border-color: var(--error-alpha-30);
    color: var(--brand-error);
    transform: rotate(90deg);
}

.payment-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    text-align: center;
}

/* Checkout Status Display - Zeigt Anmeldestatus an */
.checkout-status-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--green-alpha-10);
    border: 1px solid var(--green-alpha-30);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
}

.checkout-status-display .status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--green-alpha-15);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--brand-primary);
}

.checkout-status-display .status-text {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

/* Payment Layout - Zwei Spalten Layout */
.payment-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.5fr;
    gap: 30px;
    width: 100%;
}

/* Responsive Layout für kleinere Bildschirme */
@media (max-width: 768px) {
    .payment-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Payment User Status Header */
.payment-user-status {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--green-alpha-10);
    border: 1px solid var(--green-alpha-30);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 30px;
}

.payment-user-status .status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--green-alpha-15);
    border-radius: 50%;
    flex-shrink: 0;
}

.payment-user-status .status-icon svg {
    color: var(--brand-primary);
}

.payment-user-status .status-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.payment-user-status .status-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.payment-user-status .status-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Payment Summary */
.payment-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(79, 209, 197, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

/* Payment Order Summary - Links Spalte */
.payment-order-summary {
    background: var(--white-alpha-03);
    border: 1px solid var(--white-alpha-10);
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 0;
}

.payment-order-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--green-alpha-20);
}

/* Payment Form Section - Rechts Spalte */
.payment-form-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.payment-summary h3 {
    font-size: 16px;
    font-weight: 600;
    color: #4FD1C5;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-items {
    margin-bottom: 15px;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-item:last-child {
    border-bottom: none;
}

.payment-item-name {
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
}

.payment-item-quantity {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-left: 8px;
}

.payment-item-price {
    color: #4FD1C5;
    font-weight: 600;
}

.payment-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Payment Items in Order Summary */
.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-strong);
}

.payment-item:last-child {
    border-bottom: none;
}

.payment-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.payment-item-name {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.payment-item-quantity {
    color: var(--text-tertiary);
    font-size: 12px;
}

.payment-item-price {
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 15px;
}

/* Payment Total - Gesamtbetrag in der Order Summary */
.payment-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid var(--green-alpha-30);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-total span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

.payment-total-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-primary);
}

.payment-final-total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid rgba(79, 209, 197, 0.3);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.payment-final-total span:last-child {
    color: #4FD1C5;
    font-size: 22px;
}

/* Payment Section - Einzelne Sektionen im Formular */
.payment-section {
    background: var(--white-alpha-02);
    border: 1px solid var(--white-alpha-08);
    border-radius: 12px;
    padding: 20px;
}

.payment-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-strong);
}
/* Free Order Message */
.free-order-message {
    text-align: center;
    padding: 32px 24px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    margin-bottom: 20px;
}

.free-order-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.free-order-icon svg {
    color: var(--brand-primary);
    width: 48px;
    height: 48px;
}

.free-order-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.free-order-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-tertiary);
    margin: 0;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 25px;
}

.payment-methods h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 15px 0;
}

/* New Payment Method Buttons - Horizontal Layout */
.payment-methods-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.payment-method-button {
    position: relative;
    background: var(--white-alpha-05);
    border: 2px solid var(--white-alpha-10);
    border-radius: 12px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
}

.payment-method-button:hover {
    background: var(--green-alpha-05);
    border-color: var(--green-alpha-20);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--black-alpha-30);
}

.payment-method-button.active {
    background: var(--green-alpha-10);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.payment-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--white-alpha-05);
    border-radius: 50%;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-method-button.active .payment-method-icon {
    background: var(--green-alpha-15);
}

.payment-method-icon svg {
    color: currentColor;
}

.payment-method-icon.paypal-icon {
    background: var(--white-alpha-08);
}

.payment-method-button.active .payment-method-icon.paypal-icon {
    background: var(--green-alpha-15);
}

.payment-method-name {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.payment-method-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--surface-1);
}

.payment-method-button.active .payment-method-check {
    display: flex;
}

.payment-method-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.payment-method-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.7);
}

.payment-method-btn:hover {
    background: rgba(79, 209, 197, 0.05);
    border-color: rgba(79, 209, 197, 0.3);
    transform: translateY(-2px);
}

.payment-method-btn.active {
    background: rgba(79, 209, 197, 0.1);
    border-color: #4FD1C5;
    color: #4FD1C5;
}

.payment-method-btn svg {
    width: 28px;
    height: 28px;
}

.payment-method-btn span {
    font-size: 13px;
    font-weight: 500;
}

/* Payment Forms */
.payment-form {
    animation: fadeIn 0.3s ease;
}

.payment-form .form-group {
    margin-bottom: 20px;
}

.payment-form label {
    display: block;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.payment-form input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-form input:focus {
    outline: none;
    border-color: #4FD1C5;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.1);
}

.payment-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Custom Country Select Dropdown */

/* ===== 9. COUNTRY SELECT ===== */
/* Zeilen 8840-8979 aus styles.css (NUR DIESE VERSION - Duplikat 15152-15275 übersprungen!) */

.country-select-wrapper {
    position: relative;
    width: 100%;
}

.country-select-display {
    width: 100%;
    padding: 14px 40px 14px 16px;
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.country-select-display:hover {
    background: var(--white-alpha-08);
    border-color: var(--white-alpha-15);
}

.country-select-display.active {
    border-color: var(--brand-primary);
    background: var(--white-alpha-08);
    box-shadow: 0 0 0 3px var(--green-alpha-10);
}

.country-selected-text {
    flex: 1;
}

.country-dropdown-icon {
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
}

.country-select-display.active .country-dropdown-icon {
    transform: rotate(180deg);
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-15);
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--black-alpha-50);
    z-index: 100;
    overflow: hidden;
    max-height: 320px;
    display: flex;
    flex-direction: column;
}

.country-search-wrapper {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid var(--white-alpha-10);
}

.country-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
}

.country-search-input {
    width: 100%;
    padding: 10px 12px 10px 54px;
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.country-search-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: var(--white-alpha-08);
}

.country-search-input::placeholder {
    color: var(--text-tertiary);
}

.country-options {
    overflow-y: auto;
    max-height: 260px;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.country-option:hover {
    background: var(--green-alpha-05);
    color: var(--brand-primary);
}

.country-option.selected {
    background: var(--green-alpha-10);
    color: var(--brand-primary);
    font-weight: 600;
}

.country-flag {
    font-size: 20px;
    width: 28px;
    flex-shrink: 0;
}

.country-name {
    font-size: 14px;
}

.country-option.hidden {
    display: none;
}


/* ===== 10. PAYMENT FORM & REST ===== */
/* Zeilen 8980-9115 aus styles.css */

.payment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-security-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(79, 209, 197, 0.05);
    border: 1px solid rgba(79, 209, 197, 0.2);
    border-radius: 8px;
    margin: 20px 0;
}

.payment-security-note svg {
    color: #4FD1C5;
    flex-shrink: 0;
}

.payment-security-note span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.payment-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--brand-primary);
    border: none;
    border-radius: 12px;
    color: var(--surface-0);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.payment-submit-btn:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
}

.payment-submit-btn:active {
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.payment-submit-btn.paypal-btn {
    background: linear-gradient(135deg, #0070ba 0%, #005a94 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 112, 186, 0.3);
}

.payment-submit-btn.paypal-btn:hover {
    box-shadow: 0 6px 30px rgba(0, 112, 186, 0.4);
}

.payment-submit-btn.sofort-btn {
    background: linear-gradient(135deg, #ff6c37 0%, #e85a29 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 108, 55, 0.3);
}

.payment-submit-btn.sofort-btn:hover {
    box-shadow: 0 6px 30px rgba(255, 108, 55, 0.4);
}

.paypal-info,
.sofort-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.paypal-info p,
.sofort-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .payment-modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .payment-modal-content {
        padding: 30px 20px;
    }
    
    .payment-title {
        font-size: 24px;
    }
    
    .payment-method-options {
        grid-template-columns: 1fr;
    }
    
    .payment-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .payment-modal-content {
        padding: 25px 15px;
    }
    
    .payment-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .payment-summary {
        padding: 15px;
    }
    
    .payment-submit-btn {
        font-size: 14px;
        padding: 14px 20px;
    }
}



/* ===== 11. AUTH FORMS (Login/Register) ===== */
/* Zeilen 13383-14034 aus styles.css */

.auth-form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    pointer-events: all;
    }
}

.auth-form-container h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* Back Button */
.back-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    width: fit-content;
    border-radius: 8px;
}

.back-btn:hover {
    color: var(--text-primary);
    background: var(--white-alpha-05);
}

/* Form Group */
.form-group {
    position: relative;
    margin-bottom: 5px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--white-alpha-10);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 16px;
    color: var(--text-primary);
    font-family: inherit;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: var(--white-alpha-08);
    box-shadow: 0 0 0 3px var(--green-alpha-10);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* Password Input with Toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 48px;
    width: 100%;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
    padding: 4px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 8px;
    z-index: 10;
    outline: none;
    width: 32px;
    height: 32px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.password-toggle-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.password-toggle-btn:focus {
    outline: none;
    color: #ffffff;
}

.password-toggle-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Eye Icons - Always visible and white */
.password-toggle-btn .eye-icon,
.password-toggle-btn .eye-off-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    pointer-events: none;
    color: inherit;
}

/* Default visibility - respects inline styles when set */
.password-toggle-btn .eye-icon {
    display: block;
}

.password-toggle-btn .eye-off-icon {
    display: none;
}

/* Respect inline display styles for eye icons */
.password-toggle-btn .eye-icon[style*="display: none"] {
    display: none !important;
}

.password-toggle-btn .eye-off-icon[style*="display: block"] {
    display: block !important;
}

/* Form Row (for name fields) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Divider Text */
.divider-text {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--white-alpha-10);
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}

.divider-text span {
    background: var(--surface-1);
    padding: 0 15px;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Social Login Buttons */
.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 5px;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--white-alpha-10);
    background: var(--surface-2);
    color: var(--text-primary);
}

.social-login-btn:hover {
    transform: translateY(-2px);
    border-color: var(--white-alpha-20);
    box-shadow: 0 8px 20px var(--black-alpha-30);
}

.google-btn:hover {
    background: var(--white-alpha-08);
}

.anon-btn:hover {
    background: var(--white-alpha-08);
    border-color: var(--green-alpha-30);
}

/* Submit Buttons */
.auth-submit-btn {
    width: 100%;
    background: var(--brand-primary);
    color: var(--surface-0);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.auth-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.auth-submit-btn:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--green-alpha-40);
}

.auth-submit-btn:active {
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.auth-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.auth-submit-btn.loading {
    pointer-events: none;
}

.auth-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid var(--surface-0);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Messages */
.error-message {
    background: var(--error-alpha-10);
    border: 1px solid var(--error-alpha-30);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--brand-error);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.3s ease;
}

.error-message::before {
    content: '⚠';
    font-size: 18px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Form Footer */
.form-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 15px;
}

.link-btn {
    background: none;
    border: none;
    color: var(--brand-primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-btn:hover {
    color: var(--brand-primary-hover);
}

/* =================================================================
   RESPONSIVE DESIGN FOR SHOP MODALS
   ================================================================= */

@media (max-width: 900px) {
    .product-modal-content {
        grid-template-columns: 1fr;
    }

    .product-modal-image {
        min-height: 300px;
        aspect-ratio: 16/10;
    }

    .product-modal-info {
        padding: 30px 25px;
    }

    .cart-sidebar {
        width: 100%;
    }

    .shop-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-pills-section {
        min-width: 100%;
    }

    .filter-controls {
        width: 100%;
    }

    .filter-dropdown-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 120px 30px 80px;
    }

    .shop-section {
        padding: 60px 30px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .checkout-modal-content {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .product-modal-title {
        font-size: 24px;
    }

    .price-amount {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .shop-hero {
        padding: 100px 20px 60px;
    }

    .shop-section {
        padding: 40px 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cart-header,
    .cart-items,
    .cart-footer {
        padding: 20px;
    }

    .checkout-modal-container {
        width: 95%;
    }

    .checkout-modal-content {
        padding: 25px 15px;
    }

    .filter-pills {
        justify-content: center;
    }

    .filter-pill {
        padding: 8px 18px;
        font-size: 13px;
    }
}

/* =================================================================
   ZUSÄTZLICHE FEHLENDE SHOP STYLES
   ================================================================= */

/* Auth Form Container */
.auth-form-container {
    width: 100%;
    max-width: 500px;
}

/* Specific Button IDs - Ensuring proper styling */
#backFromGuest,
#backFromLogin,
#backFromRegister {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    width: fit-content;
    border-radius: 8px;
    font-weight: 500;
}

#backFromGuest:hover,
#backFromLogin:hover,
#backFromRegister:hover {
    color: var(--text-primary);
    background: var(--white-alpha-05);
    transform: translateX(-3px);
}

#backFromGuest svg,
#backFromLogin svg,
#backFromRegister svg {
    transition: transform 0.3s ease;
}

#backFromGuest:hover svg,
#backFromLogin:hover svg,
#backFromRegister:hover svg {
    transform: translateX(-3px);
}

/* Register Button */
#registerBtn {
    width: 100%;
    background: var(--brand-primary);
    color: var(--surface-0);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

#registerBtn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#registerBtn:hover::before {
    width: 300px;
    height: 300px;
}

#registerBtn:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--green-alpha-40);
}

#registerBtn:active {
    transform: translateY(0) scale(1);
    pointer-events: all;
}

#registerBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Login Button */
#loginBtn {
    width: 100%;
    background: var(--brand-primary);
    color: var(--surface-0);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

#loginBtn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#loginBtn:hover::before {
    width: 300px;
    height: 300px;
}

#loginBtn:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--green-alpha-40);
}

#loginBtn:active {
    transform: translateY(0) scale(1);
    pointer-events: all;
}

#loginBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Continue as Guest Button */
#continueAsGuest {
    width: 100%;
    background: var(--brand-primary);
    color: var(--surface-0);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

#continueAsGuest:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--green-alpha-40);
}


/* ===== 12.5 ID-SPEZIFISCHE PROFILE & CART BUTTONS ===== */
/* Zeilen 14255-14382 aus styles.css - FEHLEND BEI MIGRATION */

#userProfileBtn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

#userProfileBtn:hover {
    background: var(--white-alpha-08);
    border-color: var(--white-alpha-20);
    box-shadow: 0 4px 12px var(--black-alpha-15);
}

/* Logout Button Enhancement */
#logoutBtn {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

#logoutBtn:hover {
    background: var(--error-alpha-10);
    color: var(--brand-error);
}

#logoutBtn svg {
    transition: transform 0.3s ease;
}

#logoutBtn:hover svg {
    color: var(--brand-error);
}

/* Cart Elements Enhancement */
#cartButton {
    position: relative;
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

#cartButton:hover {
    background: var(--green-alpha-10);
    border-color: var(--green-alpha-30);
    box-shadow: 0 5px 15px var(--green-alpha-30);
    color: var(--brand-primary);
}

#cartCount {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--brand-primary);
    color: var(--surface-0);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

#cartSidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: var(--surface-modal);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--white-alpha-10);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10001;
    pointer-events: none;
    will-change: opacity, transform;
}

#cartSidebar.active {
    transform: translateX(0);
    pointer-events: auto;
}

/* Product Grid Enhancement */
#productsGrid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* ===== 13. PAYMENT SUCCESS MODAL ===== */
/* Zeilen 14388-14646 aus styles.css */

.payment-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.payment-success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.payment-success-modal {
    background: var(--surface-1);
    border-radius: 16px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: successSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon {
    margin-bottom: 24px;
    animation: successCheckmark 0.6s ease 0.2s both;
}

@keyframes successCheckmark {
    0% {
        opacity: 0;
        transform: scale(0);
        rotate: -45deg;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        rotate: 0deg;
    }
}

.payment-success-modal h2 {
    font-size: 32px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.payment-success-modal > p {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.success-details {
    background: var(--surface-2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.success-details p {
    margin: 12px 0;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.success-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

.success-details .demo-note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: italic;
}

.success-close-btn {
    background: var(--brand-primary);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
}

.success-close-btn:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--green-alpha-40);
}
/* =========================
   SUCCESS MODAL X-BUTTON (Oben Rechts)
   ========================= */

.payment-success-modal {
    position: relative;
}

.success-close-x {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    z-index: 10;
}

.success-close-x svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
    transition: color 0.25s ease;
}

.success-close-x:hover {
    background: var(--error-alpha-10);
    border-color: var(--error-alpha-30);
}

.success-close-x:hover svg {
    color: var(--brand-error);
}

/* Success Buttons Container */
.success-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.success-go-to-downloads-btn,
.success-go-to-purchases-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--brand-primary);
    color: var(--surface-0);
    border: none;
    border-radius: 12px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.success-go-to-downloads-btn:hover,
.success-go-to-purchases-btn:hover {
    background: var(--brand-primary);
    box-shadow: 0 4px 16px var(--green-alpha-30);
}

.success-go-to-downloads-btn svg,
.success-go-to-purchases-btn svg {
    width: 20px;
    height: 20px;
}

/* Free Order Success Style */
.free-order-success .success-icon svg {
    stroke: var(--brand-primary);
}

.free-order-success h2 {
    color: var(--brand-primary) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .payment-success-modal {
        padding: 32px 24px;
    }
    
    .payment-success-modal h2 {
        font-size: 24px;
    }
    
    .payment-success-modal > p {
        font-size: 16px;
    }
    
    .success-details p {
        font-size: 14px;
    }
    
    .success-close-x {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }
    
    .success-close-x svg {
        width: 18px;
        height: 18px;
    }
    
    .success-go-to-downloads-btn,
    .success-go-to-purchases-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}


/* =========================
   PROFILE MODAL STYLES
   ========================= */


/* ===== 14. PROFILE MODAL ===== */
/* Zeilen 14647-15151 aus styles.css */

.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-modal.active {
    opacity: 1;
    visibility: visible;
}

.profile-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-dark);
    backdrop-filter: blur(10px);
}

.profile-modal-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.profile-modal-content {
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    border-radius: 20px;
    padding: 40px;
    padding-right: 34px;
    position: relative;
    overflow: hidden auto;
    max-height: 90vh;
}

/* Custom Scrollbar - innerhalb des Fensters */
.profile-modal-content::-webkit-scrollbar {
    width: 6px;
    margin: 20px 0;
}

.profile-modal-content::-webkit-scrollbar-track {
    background: var(--white-alpha-10);
    border-radius: 3px;
    margin: 20px 0;
}

.profile-modal-content::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 3px;
}

.profile-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    color: var(--text-primary);
    z-index: 10;
}

.profile-modal-close:hover {
    background: var(--error-alpha-10);
    border-color: var(--error-alpha-30);
    color: var(--brand-error);
}

.profile-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

/* =========================
   PROFILE HEADER WITH AVATAR
   ========================= */

.profile-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--white-alpha-10);
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 3px solid var(--white-alpha-15);
    overflow: visible;
    flex-shrink: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Clip the image inside the avatar */
.profile-avatar img,
.profile-avatar .profile-avatar-placeholder {
    border-radius: 50%;
    overflow: hidden;
}

.profile-avatar:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 0 20px var(--green-alpha-30);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
    color: var(--text-tertiary);
}

.profile-avatar-upload {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: var(--black-alpha-60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease, background 0.3s ease;
    border: none;
    color: var(--brand-white);
    opacity: 0;
    z-index: 2;
}


.profile-avatar:hover .profile-avatar-upload {
    opacity: 1;
}

/* Profile Avatar Delete Button - X button above the avatar (top right) */
.profile-avatar-delete {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--brand-error);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
    z-index: 10;
    padding: 0;
    box-shadow: 0 2px 8px var(--black-alpha-30);
}

.profile-avatar-delete svg {
    width: 16px;
    height: 16px;
    stroke: var(--brand-error);
}

/* Show delete button only when avatar has an image AND on hover */
.profile-avatar.has-image:hover .profile-avatar-delete {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.profile-avatar-delete:hover {
    background: var(--surface-2);
    border-color: var(--error-alpha-30);
    transform: scale(1.1);
}

.profile-avatar-delete:active {
    transform: scale(0.95);
}

.profile-avatar-upload:hover {
    background: var(--black-alpha-70);
}

.profile-avatar-upload svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    width: 28px;
    height: 28px;
}

.profile-user-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-user-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.profile-member-since {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-tertiary);
}

.profile-member-since svg {
    color: var(--brand-primary);
    flex-shrink: 0;
}

/* Avatar Upload Loading State */
.profile-avatar.uploading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black-alpha-60);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.profile-avatar.uploading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--white-alpha-30);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: avatarSpin 0.8s linear infinite;
    z-index: 6;
}

@keyframes avatarSpin {
    to { transform: rotate(360deg); }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .profile-avatar-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        width: 90px;
        height: 90px;
    }
    
    .profile-user-info {
        align-items: center;
    }
    
    .profile-user-name {
        font-size: 20px;
    }
}

.profile-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-section {
    background: var(--surface-2);
    border: 1px solid var(--white-alpha-10);
    border-radius: 16px;
    padding: 18px;
}

.profile-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-primary);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--white-alpha-10);
}

/* Profile Action Buttons (Email & Password Change) */
.profile-action-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-hover));
    color: var(--surface-0);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    margin-top: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--green-alpha-30);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Touch-Optimierung */
    min-height: 48px;
    /* GPU-Beschleunigung für flüssigere Animationen */
    transform: translateZ(0);
    will-change: transform, box-shadow;
    /* Besseres Touch-Feedback */
    -webkit-tap-highlight-color: rgba(74, 222, 128, 0.3);
}

.profile-action-btn:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 8px 25px var(--green-alpha-40);
    background: linear-gradient(135deg, var(--brand-primary-hover), var(--brand-primary-dark));
}

.profile-action-btn:active {
    transform: translateY(0) translateZ(0);
    /* Touch-Feedback-Animation */
    transition: all 0.1s ease;
}

.profile-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    will-change: auto;
    background: var(--white-alpha-20);
}

.profile-action-btn:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}


.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    color: var(--text-primary);
    font-family: inherit;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: var(--white-alpha-08);
    box-shadow: 0 0 0 3px var(--green-alpha-10);
}

.form-group input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* Readonly Input - Gleiches Styling wie reguläre Inputs */
.form-group input[readonly] {
    width: 100%;
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    color: var(--text-secondary);
    font-family: inherit;
    cursor: default;
    opacity: 0.8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 6px;
    font-style: italic;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 50px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.password-toggle-btn:hover {
    color: var(--brand-primary);
}

.password-toggle-btn svg {
    width: 20px;
    height: 20px;
}

/* Country Select Dropdown */

/* ⚠️ COUNTRY SELECT DUPLIKAT (15152-15275) ÜBERSPRUNGEN */

/* ===== 15. PROFILE MESSAGES & BUTTONS ===== */
/* Zeilen 15276-15335 aus styles.css */

/* Error and Success Messages */
.profile-error,
.profile-success {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.profile-error {
    background: var(--error-alpha-10);
    border: 1px solid var(--error-alpha-30);
    color: var(--brand-error-lightest);
}

.profile-success {
    background: var(--green-alpha-10);
    border: 1px solid var(--green-alpha-30);
    color: var(--brand-success);
}

/* Submit Button */
.profile-submit-btn {
    width: 100%;
    background: var(--brand-primary);
    color: var(--surface-0);
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 6px;
}

.profile-submit-btn:hover:not(:disabled) {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--green-alpha-40);
}

.profile-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.profile-submit-btn:active:not(:disabled) {
    transform: translateY(0) scale(1);
    pointer-events: all;
}
/* =========================
   DELETE ACCOUNT SECTION
   ========================= */


/* ===== 16. DELETE ACCOUNT ===== */
/* Zeilen 15336-15636 aus styles.css */

.profile-delete-section {
    margin-top: 10px;
    padding-top: 10px;
    position: relative;
}

/* Zentrierter Divider zwischen Save und Delete */
.profile-delete-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.profile-delete-btn {
    width: 100%;
    background: transparent;
    color: var(--brand-error);
    border: 1px solid var(--brand-error);
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.profile-delete-btn:hover {
    background: var(--error-alpha-10);
    border-color: var(--brand-error-dark);
    box-shadow: 0 4px 15px var(--error-alpha-20);
    transform: translateY(-1px);
}

.profile-delete-btn:active {
    transform: translateY(0);
}

.profile-delete-btn svg {
    transition: transform 0.3s ease;
}

.profile-delete-btn:hover svg {
    transform: scale(1.1);
}

/* =========================
   DELETE ACCOUNT MODAL
   ========================= */

.delete-account-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10010;
    display: none;
    justify-content: center;
    align-items: center;
}

.delete-account-modal.active {
    display: flex;
}

.delete-account-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-alpha-80);
    backdrop-filter: blur(8px);
}

.delete-account-modal-container {
    position: relative;
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    z-index: 10011;
}

.delete-account-modal-content {
    background: var(--surface-1);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 25px 50px var(--black-alpha-60);
    text-align: center;
}

.delete-account-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.delete-account-modal-close:hover {
    background: var(--white-alpha-10);
    color: var(--text-primary);
}

.delete-account-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--error-alpha-10);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-account-icon svg {
    color: var(--brand-error);
}

.delete-account-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.delete-account-warning {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.delete-account-modal .form-group {
    text-align: left;
    margin-bottom: 16px;
}

.delete-account-modal .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.delete-account-modal .password-input-wrapper {
    position: relative;
}

.delete-account-modal .password-input-wrapper input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.2s ease;
}

.delete-account-modal .password-input-wrapper input:focus {
    outline: none;
    border-color: var(--brand-error);
    box-shadow: 0 0 0 3px var(--error-alpha-15);
}

.delete-account-modal .password-input-wrapper input::placeholder {
    color: var(--text-tertiary);
}
/* Delete Account Modal - Red Eye Icon */
.delete-account-modal .password-toggle-btn {
    color: var(--brand-error) !important;
}

.delete-account-modal .password-toggle-btn:hover {
    color: var(--brand-error-dark) !important;
    background: var(--white-alpha-10) !important;
}

.delete-account-modal .password-toggle-btn .eye-icon,
.delete-account-modal .password-toggle-btn .eye-off-icon {
    color: var(--brand-error) !important;
    stroke: var(--brand-error) !important;
}

/* Fix: Respect inline display styles for eye icons in delete modal */
.delete-account-modal .password-toggle-btn .eye-icon[style*="display: none"],
.delete-account-modal .password-toggle-btn .eye-off-icon[style*="display: none"] {
    display: none !important;
}

.delete-account-modal .password-toggle-btn:hover .eye-icon,
.delete-account-modal .password-toggle-btn:hover .eye-off-icon {
    color: var(--brand-error-dark) !important;
    stroke: var(--brand-error-dark) !important;
}

.delete-account-error {
    background: var(--error-alpha-10);
    border: 1px solid var(--error-alpha-30);
    color: var(--brand-error);
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: left;
}

.delete-account-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.delete-account-cancel-btn {
    flex: 1;
    padding: 14px 20px;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-account-cancel-btn:hover {
    background: var(--white-alpha-10);
    border-color: var(--border-light);
}

.delete-account-confirm-btn {
    flex: 1;
    padding: 14px 20px;
    background: var(--brand-error);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-account-confirm-btn:hover {
    background: var(--brand-error-dark);
    box-shadow: 0 4px 15px var(--error-alpha-40);
    transform: translateY(-1px);
}

.delete-account-confirm-btn:active {
    transform: translateY(0);
}

.delete-account-confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .profile-modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .profile-modal-content {
        padding: 24px;
        max-height: 95vh;
    }
    
    .profile-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .profile-section {
        padding: 20px;
    }
    
    .profile-section h3 {
        font-size: 18px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}

/* User Profile Dropdown Styles */

/* ===== 17. NAV LOGIN & USER PROFILE ===== */
/* Zeilen 15637-15778 aus styles.css */

.nav-login-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 10px;
    padding: 12px 20px;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
}

.nav-login-btn:hover {
    background: var(--green-alpha-10);
    border-color: var(--green-alpha-30);
    box-shadow: 0 3px 8px var(--green-alpha-15);
    color: var(--brand-primary);
}

.nav-login-btn svg {
    flex-shrink: 0;
    color: var(--brand-primary);
}

.user-profile {
    position: relative;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white-alpha-05);
    border: 1px solid var(--white-alpha-10);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

.user-profile-btn:hover {
    background: var(--green-alpha-10);
    border-color: var(--green-alpha-30);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--green-alpha-15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--surface-1);
    border: 1px solid var(--white-alpha-10);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--black-alpha-30);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    pointer-events: none;
    will-change: opacity, transform;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: transparent;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-size: 14px;
    text-align: left;
}

.user-dropdown-item:hover {
    background: var(--green-alpha-10);
}

.user-dropdown-item svg {
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.user-dropdown-item:hover svg {
    color: var(--brand-primary);
}


/* ===================================
   PROFILE MODAL - PURCHASE HISTORY
   =================================== */

.profile-purchase-history {
    width: 100%;
}

/* Purchase Empty State */

/* ===== 18. PURCHASES ===== */
/* Zeilen 15779-16080 aus styles.css */

.purchases-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 16px;
    border: 1px dashed rgba(46, 204, 113, 0.3);
}

.purchases-empty svg {
    color: var(--text-tertiary);
    margin-bottom: 24px;
    opacity: 0.6;
}

.purchases-empty h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.purchases-empty p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 400px;
}

.purchases-empty .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--brand-primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.purchases-empty .btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

/* Purchases Grid */
.purchases-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Purchase Card */
.purchase-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.purchase-card:hover {
    border-color: rgba(46, 204, 113, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Purchase Header */
.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.purchase-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.purchase-date svg {
    color: var(--brand-primary);
}

.purchase-total {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-primary);
}

/* Purchase Items */
.purchase-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.purchase-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.purchase-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(46, 204, 113, 0.2);
}

.purchase-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.purchase-item-info {
    flex: 1;
    min-width: 0;
}

.purchase-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.purchase-item-details {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
    flex-wrap: wrap;
}

.purchase-item-details span {
    white-space: nowrap;
}
.purchase-filename {
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 8px;
    color: var(--text-secondary);
}

/* Download Button */
.purchase-item-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #27ae60 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.purchase-item-download:hover:not(:disabled) {
    /* Nur Glow-Effekt, keine Bewegung oder Farbänderung */
    background: linear-gradient(135deg, var(--brand-primary) 0%, #27ae60 100%);
    transform: none;
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4);
}

.purchase-item-download:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.purchase-item-download svg {
    width: 18px;
    height: 18px;
}

.spinning {
    animation: spin 1s linear infinite;
}

/* Purchases Loading State */
.purchases-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

.purchases-loading .spinner-premium {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(46, 204, 113, 0.2);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.purchases-loading p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===================================
   PROFILE TABS - Basis Styles
   =================================== */
   
/* ===== 19. PROFILE TABS ===== */
/* Zeilen 16099-16192 aus styles.css */

.profile-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-bottom: -2px;
}

.profile-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.profile-tab.active {
    color: var(--brand-primary);
    border-bottom-color: var(--brand-primary);
}

.profile-tab svg {
    width: 18px;
    height: 18px;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-tab.active svg {
    color: var(--brand-primary);
}

/* Profile Layout */
.profile-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Profile Tabs Enhancement for Purchase Tab */
.profile-tab[data-tab="purchases"] {
    position: relative;
}

.profile-tab[data-tab="purchases"].active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-primary);
    border-radius: 3px 3px 0 0;
}

/* ===================================
   RESPONSIVE - PURCHASE HISTORY
   =================================== */

@media (max-width: 768px) {
    .purchase-card {
        padding: 16px;
    }
    
    .purchase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .purchase-total {
        font-size: 18px;
    }
    
    .purchase-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .purchase-item-image {
        width: 100%;
        height: 160px;
    }
    
    .purchase-item-download {
        width: 100%;
        justify-content: center;
    }
    
    .purchases-empty {
        padding: 40px 20px;
    }
    
    .purchases-empty h3 {
        font-size: 20px;
    }
    
    .purchases-empty p {
        font-size: 14px;
    }
    
    /* Profile Tabs Responsive 768px */
    .profile-tabs {
        gap: 4px;
    }
    
    .profile-tab {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .profile-tab svg {
        width: 16px;
        height: 16px;
    }
}

/* ===================================
   RESPONSIVE - PROFILE TABS 480px
   =================================== */

@media (max-width: 480px) {
    .profile-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .profile-tab {
        width: 100%;
        justify-content: flex-start;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
        border-radius: 8px;
    }
    
    .profile-tab.active {
        background: rgba(46, 204, 113, 0.1);
        border-bottom: 1px solid var(--brand-primary);
    }
}
/* ==========================================================================
   19. IMAGE CROP MODAL - Profilbild Zuschneiden
   Zeilen 16225-16581 aus styles.css
   ========================================================================== */

/* =========================
   IMAGE CROP MODAL STYLES
   ========================= */
.crop-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.crop-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.crop-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.crop-modal-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.crop-modal-content {
    background: linear-gradient(145deg, var(--surface-1, #1a1a1a), #141414);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--border-strong, #333);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.crop-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: #ef4444;
    transition: all 0.2s ease;
    z-index: 10;
}

.crop-modal-close:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #f87171;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

.crop-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #fff);
    margin-bottom: 8px;
    padding-right: 40px;
    letter-spacing: -0.02em;
}

.crop-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary, #ccc);
    margin-bottom: 24px;
}

.crop-workspace {
    margin-bottom: 20px;
}

.crop-image-container {
    position: relative;
    width: 100%;
    min-height: 300px;
    max-height: 400px;
    background: linear-gradient(180deg, var(--surface-0, #050505) 0%, #0a0a0a 100%);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: cursor 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Show grab cursor when zoomed (cursor set via JS) */
.crop-image-container[style*="grab"] {
    cursor: grab !important;
}

.crop-image-container[style*="grabbing"] {
    cursor: grabbing !important;
}

.crop-image-container img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.15s ease;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.crop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.crop-selection {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid var(--brand-primary, #4ade80);
    border-radius: 50%;
    cursor: move;
    pointer-events: auto;
    box-shadow: 
        0 0 0 9999px rgba(0, 0, 0, 0.65),
        0 0 0 2px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 15px rgba(74, 222, 128, 0.25);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.crop-selection:hover {
    border-color: var(--brand-primary-hover, #22c55e);
    box-shadow: 
        0 0 0 9999px rgba(0, 0, 0, 0.65),
        0 0 0 2px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 20px rgba(74, 222, 128, 0.35);
}

.crop-selection:active {
    cursor: grabbing;
}

.crop-preview-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border: none;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 40%, rgba(255, 255, 255, 0.02) 100%);
}

/* Resize handles - single ring handle instead of 4 corner points */
.crop-handle {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--brand-primary, #4ade80);
    border: 3px solid var(--surface-1, #1a1a1a);
    border-radius: 50%;
    pointer-events: auto;
    cursor: grab;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.crop-handle:hover {
    transform: scale(1.15);
    background: var(--brand-primary-hover, #22c55e);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.crop-handle:active {
    cursor: grabbing;
    transform: scale(1.1);
}

/* Hide all corner handles - we only use the bottom-right one now */
.crop-handle-nw,
.crop-handle-ne,
.crop-handle-sw {
    display: none !important;
}

/* Single resize handle at bottom-right of circle */
.crop-handle-se {
    bottom: -12px;
    right: -12px;
    cursor: grab;
}

/* Crop Controls */
.crop-controls {
    margin-bottom: 20px;
}

.crop-zoom-control {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--surface-2, #2c2c2c) 0%, #242424 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.crop-zoom-control label {
    font-size: 0.9rem;
    color: var(--text-secondary, #ccc);
    white-space: nowrap;
}

.crop-zoom-control input[type="range"] {
    flex: 1;
    height: 6px;
    background: var(--surface-0, #050505);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.crop-zoom-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--brand-primary, #4ade80);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.crop-zoom-control input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--brand-primary-hover, #22c55e);
}

.crop-zoom-control input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--brand-primary, #4ade80);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

#cropZoomValue {
    font-size: 0.85rem;
    color: var(--brand-primary, #4ade80);
    font-weight: 600;
    min-width: 45px;
    text-align: right;
}

/* Crop Actions */
.crop-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.crop-btn-cancel,
.crop-btn-confirm {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.crop-btn-cancel {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.crop-btn-cancel:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    transform: translateY(-1px);
}

.crop-btn-confirm {
    background: linear-gradient(135deg, var(--brand-primary, #4ade80) 0%, #22c55e 100%);
    color: var(--surface-0, #050505);
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.2);
}

.crop-btn-confirm:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 4px 16px rgba(74, 222, 128, 0.3);
}

/* Mobile Responsive for Crop Modal */
@media (max-width: 640px) {
    .crop-modal-container {
        width: 95%;
        max-width: none;
    }
    
    .crop-modal-content {
        padding: 16px;
    }
    
    .crop-title {
        font-size: 1.25rem;
    }
    
    .crop-image-container {
        min-height: 250px;
        max-height: 300px;
    }
    
    .crop-actions {
        flex-direction: column;
    }
    
    .crop-btn-cancel,
    .crop-btn-confirm {
        width: 100%;
        justify-content: center;
    }
}
