        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        header {
            height: 80px;
            background: #010103;
            color: white;
            position: relative;
            display: flex;
            align-items: center;
        }

        .logo {
            position: absolute;
            left: 20px;
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 100px;
            width: auto;
        }

        nav {
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 40px;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            padding: 8px 12px;
            transition: color 0.2s ease;
        }

        nav a:hover {
            color: #4da3ff;
        }

        .nav-dropdown {
            position: relative;
        }

        .nav-dropdown-trigger {
            display: flex;
            align-items: center;
            position: relative;
        }

        .nav-dropdown-trigger::after {
            content: '▼';
            font-size: 10px;
            margin-left: 6px;
            transition: transform 0.2s ease;
        }

        .nav-dropdown:hover .nav-dropdown-trigger::after {
            transform: rotate(180deg);
        }

        .nav-dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(1, 1, 3, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 8px;
            min-width: 200px;
            padding: 8px 0;
            display: none;
            flex-direction: column;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            z-index: 100;
        }

        .nav-dropdown:hover .nav-dropdown-menu {
            display: flex;
        }

        .nav-dropdown-menu a {
            padding: 12px 16px;
            white-space: nowrap;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .nav-dropdown-menu a:hover {
            background-color: rgba(77, 163, 255, 0.15);
            color: #4da3ff;
        }

        .admin-only {
            display: none;
        }

        main {
            padding: 40px;
        }

        @media (max-width: 768px) {

            .logo img {
                height: 40px;
            }
        }
:root {
    --bg-main: #090812;
    --bg-card: rgba(15, 8, 36, 0.95);
    --text-color: #f4eeff;
    --border-color: rgba(255, 255, 255, 0.12);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-med: rgba(255, 255, 255, 0.14);
    --filter-bg: rgba(19, 10, 47, 0.92);
    --accent-text: #c9b7ff;
    --accent-primary: #ff48c6;
    --accent-secondary: #39d2ff;
    --note-bg: rgba(255, 255, 255, 0.06);
    --note-text: #e5d9ff;
}



body {
    font-family: 'Inter', Arial, sans-serif;
    margin: 20px;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(255, 72, 198, 0.16), transparent 18%),
                radial-gradient(circle at bottom right, rgba(51, 210, 255, 0.15), transparent 22%),
                linear-gradient(180deg, #06000d 0%, #090816 35%, #0f0a25 100%);
    color: var(--text-color);
    transition: background-color 0.2s, color 0.2s;
}

main {
    padding: 40px;
    position: relative;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.header-top h1 {
    margin: 0;
}


.toy {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-card);
    transition: background-color 0.2s, border-color 0.2s;
}

.toy h2 {
    margin-top: 0;
}

.toy-images {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.toy-images img {
    width: 200px;
    height: auto;
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.toy-description {
    line-height: 1.6;
}

.toy-description p {
    margin: 10px 0;
}

.filter-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--filter-bg);
    flex-wrap: wrap;
    transition: background-color 0.2s, border-color 0.2s;
}

.filter-panel label {
    font-weight: bold;
    color: var(--text-color);
}

.filter-panel select,
.filter-panel input {
    padding: 8px 10px;
    border: 1px solid var(--border-med);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-color);
    font-size: 1rem;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.filter-panel input::placeholder {
    color: var(--accent-text);
    opacity: 0.7;
}

.filter-panel select:hover,
.filter-panel input:hover {
    border-color: var(--text-color);
}

.toy-number {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-text);
}

.template-note {
    margin-bottom: 20px;
    padding: 14px 18px;
    border: 1px dashed var(--accent-text);
    border-radius: 8px;
    background-color: var(--note-bg);
    color: var(--note-text);
    transition: background-color 0.2s, color 0.2s;
}

.copy-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    cursor: pointer;
    vertical-align: middle;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    color: var(--text-color);
}

.copy-icon:hover {
    opacity: 1;
}

.copy-icon.copied {
    opacity: 1;
}

h2 .copy-icon {
    margin-left: 10px;
}

.copy-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pricing-summary {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--filter-bg);
    transition: background-color 0.2s, border-color 0.2s;
}

.pricing-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pricing-label {
    font-weight: bold;
    color: var(--text-color);
}

.pricing-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-text);
}

.load-more-container {
    display: flex;
    justify-content: center;
    padding: 24px 0 40px;
}

#loadMoreBtn {
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
}

/* ===== Site Header ===== */

/* Make sure your base header styles are correct */
.site-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    height: 80px;
    padding: 0 24px;
    margin-top: -20px;
    margin-left: -20px;
    margin-right: -20px;
    background: radial-gradient(circle at top right, rgba(0, 0, 0)),
                radial-gradient(circle at bottom left, rgba(255, 72, 198, 0.24), transparent 24%),
                linear-gradient(90deg, #000 0 260px, rgba(18, 7, 46, 0.98) 260px 100%);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}

/* Mobile header adjustments */
@media (max-width: 680px) {
    .site-header {
        height: auto;
        min-height: 60px;
        padding: 12px 16px;
        margin: -20px -20px 20px -20px;
        gap: 8px;
        flex-wrap: wrap;
    }
}


.logo {
    position: static;
    transform: none;
    background: #000;
    padding: 8px 12px;
    border-radius: 18px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    width: auto;
    margin-left: 0;
}

.header-top {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-top button,
.header-top select,
.site-nav a,
.site-header,
.logo {
    font-family: inherit;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-nav a:hover {
    color: var(--accent-secondary);
    text-shadow: 0 0 12px rgba(51, 210, 255, 0.45);
}

.site-nav a.active {
    color: var(--accent-primary);
    text-shadow: 0 0 18px rgba(255, 255, 255, .9);
}

@media (max-width: 768px) {

    .logo {
        position: static;
        transform: none;
        margin-bottom: 12px;
    }

}

/* Cart panel styles */
.cart-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    margin-left: 12px;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #08030c;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 0.75rem;
    vertical-align: top;
    margin-left: 8px;
    box-shadow: 0 0 22px rgba(255, 72, 198, 0.18);
}

.pagination-btn {
  padding: 8px 12px;
  margin: 0 4px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover {
  background: var(--hover-bg);
}

.pagination-btn.active {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  cursor: default;
}

.pagination-nav {
  font-weight: bold;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-panel {
    position: fixed;
    right: -420px;
    top: 0;
    height: 100%;
    width: 360px;
    max-width: 100vw;
    background: rgba(11, 5, 32, 0.98);
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -20px 0 50px rgba(0,0,0,0.24);
    transition: right 0.25s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.cart-panel.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.15rem;
}

.cart-items {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 4px;
    display: grid;
    gap: 14px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-base);
}

.cart-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.98rem;
}

.cart-item div {
    display: flex;
    align-items: center;
}

.cart-item div:first-child {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.toggle-details, .add-to-cart {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
}

.cart-item button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-color);
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.cart-item button:hover {
    background: rgba(77, 163, 255, 0.1);
}

.cart-footer {
    padding-top: 18px;
    margin-top: 16px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 700;
    font-size: 1.05rem;
}

.checkout-btn {
    width: 100%;
    padding: 14px 18px;
    background: #4da3ff;
    color: white;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.checkout-btn:hover:not(:disabled) {
    background: #3787e6;
    transform: translateY(-1px);
}

.checkout-btn:disabled {
    background: #9bbfe6;
    cursor: default;
}

.lang-btn {
    background: #1f2937;
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    margin-right: 12px;
    font-weight: 700;
}

.hero-copy {
    display: grid;
    gap: 24px;
    padding: 50px 0 60px;
    max-width: 1120px;
    margin: 0 auto;
}

.hero-copy .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.9rem;
    color: var(--accent-secondary);
    display: inline-block;
    margin-bottom: 16px;
    text-shadow: 0 0 12px rgba(51, 210, 255, 0.35);
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    line-height: 1.05;
    margin-bottom: 18px;
    color: #fff;
    text-shadow: 0 0 18px rgba(255, 72, 198, 0.3);
}

.hero-copy p {
    max-width: 700px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--accent-text);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: white;
    font-family: inherit;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 0 18px rgba(255, 72, 198, 0.25);
}

.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 26px rgba(255, 72, 198, 0.35);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.content-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.content-section h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.console-filter-container {
    display: none;
    width: 100%;
    max-width: 1120px;
    margin: 10px auto;
    padding: 12px;
    box-sizing: border-box;

    background: var(--filter-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);

    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.console-filter-container label {
    font-weight: bold;
    color: var(--text-color);
    white-space: nowrap;
}

.console-filter-container select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-med);
    background: var(--bg-card);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    min-width: 150px;
    flex: 1;
}

.console-filter-container select:hover {
    border-color: var(--text-color);
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    #shopGrid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .product-card {
        min-height: 100%;
        max-height: calc(100vh)
    }

    .console-filter-container {
        flex-direction: column;
        align-items: stretch;
        
        padding: 16px;
        margin: 15px 0;
    }
    
    .console-filter-container label {
        margin-bottom: 8px;
        text-align: left;
    }
    
    .console-filter-container select {
        min-width: auto;
        width: 100%;
        margin-bottom: 4px;
    }
    
    /* Shop toolbar mobile improvements */
    .shop-toolbar {
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
    }
    
    .shop-toolbar .search-group,
    .shop-toolbar .sort-group {
        width: 100%;
    }
    
    .shop-toolbar input,
    .shop-toolbar select {
        width: 100%;
        min-width: auto;
    }

    .product-card-image img {
        height: 100%;
        object-fit: cover;
    }
    
    .product-card.expanded .product-card-image img {
        height: 280px;
    }
    
    .product-card-body {
        padding: 16px;
    }
    
    .product-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .product-price {
        align-self: flex-start;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions button {
        width: 100%;
    }
    
    /* Gallery mobile improvements */
    .product-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .product-gallery-item {
        min-height: 160px;
    }
    
    /* Load more button mobile */
    .load-more-container {
        padding: 20px 0;
    }
    
    #loadMoreBtn {
        width: 100%;
        padding: 14px 20px;
    }
}


/* Extra small screens */
@media (max-width: 480px) {
    .console-filter-container {
        padding: 12px;
    }
    
    .product-card-image img {
        height: 280px;
    }
    
    .product-card.expanded .product-card-image img {
        height: 240px;
    }
    
    .product-gallery-item {
        min-height: 140px;
    }
    
    .product-card-body {
        padding: 14px;
    }
}

/* Ensure proper spacing on mobile */
@media (max-width: 680px) {
    .site-header {
        flex-wrap: wrap;
        padding: 16px;
        height: auto;
        gap: 12px;
    }
    
    .site-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        gap: 12px;
    }
    
    .header-top {
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 8px;
    }
    
    main {
        padding: 20px;
    }
    
    .hero-copy {
        padding: 30px 0 40px;
    }
    
    .hero-copy h1 {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
}


.console-filter-container label {
    font-weight: bold;
    color: var(--text-color);
}

.console-filter-container select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-med);
    background: var(--bg-card);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
}

.console-filter-container select:hover {
    border-color: var(--text-color);
}

@media (max-width: 768px) {
    .console-filter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .console-filter-container label {
        margin-bottom: 8px;
    }
}


.category-card {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    border-color: var(--accent-secondary);
    background: rgba(51, 210, 255, 0.03);
}

.category-card h2 {
    margin-bottom: 12px;
    margin-top: 0;
    font-size: 1.3rem;
}

.category-card p {
    margin: 0;
    color: var(--accent-text);
    line-height: 1.6;
}

.standards-list {
    list-style: none;
    padding: 0;
}

.standards-list li {
    padding: 16px 20px;
    margin-bottom: 12px;
    border-left: 4px solid var(--accent-secondary);
    background: rgba(51, 210, 255, 0.08);
    border-radius: 4px;
    color: var(--text-color);
    line-height: 1.6;
}

.contact-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form {
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--border-med);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    background: rgba(51, 210, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
    margin-top: 8px;
}

.form-message {
    margin-top: 16px;
    text-align: center;
    font-weight: 600;
}

.conditions-content article {
    margin-bottom: 40px;
}

.conditions-content h2 {
    margin-bottom: 16px;
    font-size: 1.3rem;
    color: var(--accent-text);
}

.conditions-content p {
    line-height: 1.8;
    color: var(--text-color);
}

.auth-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(1, 1, 5, 0.96);
    z-index: 1000;
}

.auth-card {
    width: min(420px, 100%);
    background: rgba(11, 8, 29, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.auth-card h1 {
    margin-bottom: 10px;
    font-size: 1.9rem;
}

.auth-card p {
    margin-bottom: 22px;
    color: var(--accent-text);
    line-height: 1.5;
}

.auth-card label {
    display: block;
    margin: 14px 0 8px;
    font-weight: 700;
}

.auth-card input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font: inherit;
}

.auth-card button {
    margin-top: 22px;
    width: 100%;
}

.auth-error {
    margin-top: 16px;
    min-height: 1.2rem;
    color: #ff5c8a;
}

.success-summary {
    max-width: 980px;
    margin: 32px auto 0;
    padding: 20px 0;
}

.success-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.success-card h2 {
    margin-top: 0;
    color: var(--text-color);
}

.success-card p {
    color: var(--accent-text);
    line-height: 1.7;
}

.success-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
}

.success-list li {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    color: var(--text-color);
}

.success-note {
    margin-top: 22px;
    color: var(--accent-text);
}

.load-more-container {
    display: flex;
    justify-content: center;
    padding: 24px 0 32px;
}

#loadMoreBtn {
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-color);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#loadMoreBtn:hover {
    background: rgba(77, 163, 255, 0.12);
}

.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
}

.product-modal.open {
    display: flex;
}

.product-modal-content {
    width: min(980px, 100%);
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: none;
    background: transparent;
    font-size: 1.35rem;
    cursor: pointer;
}

.modal-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    width: 100%;
}

.modal-body img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.modal-text {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-text h2 {
    margin: 0;
}

.modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 860px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
}

.hero-banner {
    background: linear-gradient(180deg, rgba(255, 72, 198, 0.14), rgba(51, 210, 255, 0.06));
    border: 1px solid rgba(255, 72, 198, 0.18);
    box-shadow: inset 0 0 35px rgba(255, 72, 198, 0.08);
    border-radius: 20px;
    padding: 28px;
    margin-top: 20px;
}

.hero-banner-text {
    font-size: 1rem;
    color: var(--accent-text);
}

.feature-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    margin: 40px auto 0;
    max-width: 1120px;
}

.feature-grid article {
    background: rgba(14, 6, 35, 0.95);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.feature-grid h2 {
    margin-bottom: 14px;
}

.feature-grid p {
    color: var(--accent-text);
    line-height: 1.7;
}

.shop-highlights {
    max-width: 1120px;
    margin: 48px auto 0;
}

.shop-highlights h2 {
    margin-bottom: 16px;
}

.shop-highlights ul {
    list-style: disc inside;
    color: var(--accent-text);
    line-height: 1.8;
}

.shop-toolbar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto 24px;
}

.shop-toolbar input,
.shop-toolbar select {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 8, 38, 0.98);
    color: var(--text-color);
    min-width: 240px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.product-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1120px;
    margin: 0 auto 40px;
}
.product-card.expanded .product-card-image {
    min-height: 320px;
    max-height: 320px;
}
.product-snippet {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 1 line (or change to 2) */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card.expanded .product-card-image img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: contain;
}
.product-card.expanded .product-gallery-item {
    min-height: 340px;
    max-height: 380px;
}
.product-card.expanded .product-card-body {
    gap: 12px;
}

.product-card.expanded .product-detail-extra {
    margin-top: 10px;
    gap: 12px;
}
.product-full-description {
    line-height: 1.6;
}
.product-card.expanded .product-gallery-item {
    min-height: 300px;
    max-height: 440px;
}
.product-card {
    background: rgba(14, 6, 35, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    max-height:100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    border-color: rgba(255, 72, 198, 0.35);
}

.product-card.expanded {
    grid-column: 1 / -1;
}

.product-card.expanded .product-card-image img {
    height: 340px;
}

.product-gallery {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.product-gallery-item {
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-base);
    min-height: 140px;
}

.product-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.product-gallery-item img:hover {
    transform: scale(1.02);
}

.product-detail-extra {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.image-viewer {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
}

.image-viewer.open {
    display: flex;
}

.image-viewer img {
    max-width: min(90vw, 920px);
    max-height: min(90vh, 820px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.image-viewer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: white;
    font-size: 1.3rem;
    border-radius: 999px;
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(6px);
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 0.26);
}

.product-full-description {
    color: var(--text-color);
    line-height: 1.9;
}

.product-card.expanded .product-card-body {
    gap: 18px;
}

.product-source {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--accent-text);
}

.product-card-image {
    min-height: 220px;
    overflow: hidden;
    position: relative;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.03);
}

.product-card-body {
    padding: 20px;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 14px;
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.product-title {
    background: none;
    border: none;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.2s ease, transform 0.2s ease;
}

.product-title:hover {
    color: #1d4ed8;
    transform: translateX(2px);
}

.product-price {
    color: #1d4ed8;
    font-weight: 700;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--accent-text);
    font-size: 0.95rem;
}

.product-snippet {
    color: var(--text-color);
    line-height: 1.7;
}

.product-actions {
    display: flex;
    margin-top: auto;
    gap: 10px;
    flex-wrap: wrap;
}

.product-actions button {
    border: 1px solid var(--border-color);
    background: transparent;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.product-actions button:hover {
    background-color: rgba(77, 163, 255, 0.1);
    transform: translateY(-1px);
}

.product-actions button:active,
.product-title:active {
    transform: translateY(0);
    opacity: 0.85;
}

.product-actions button:focus-visible,
.product-title:focus-visible {
    outline: 2px solid #4da3ff;
    outline-offset: 2px;
}

.product-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.product-details.expanded {
    max-height: 260px;
    opacity: 1;
}

.product-details p {
    color: var(--accent-text);
    line-height: 1.8;
}

.product-source {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--accent-text);
}

.empty-state,
.error-state {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    color: var(--accent-text);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.success-page {
    min-height: 70vh;
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .button {
        width: 100%;
    }
}

/* Header mobile improvements */
@media (max-width: 680px) {
    .site-header {
        flex-wrap: wrap;
        padding: 12px 16px;
        height: auto;
        gap: 8px;
        min-height: 60px;
    }
    
    .logo {
        position: static;
        transform: none;
        background: #000;
        padding: 4px 8px;
        border-radius: 12px;
        margin: 0;
    }
    
    .logo img {
        height: 40px;
        width: auto;
    }
    
    .site-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 4px;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .header-top {
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 4px;
    }
    
    nav a {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .nav-dropdown-menu {
        min-width: 160px;
        padding: 6px 0;
    }
    
    .nav-dropdown-menu a {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .cart-btn {
        font-size: 1.1rem;
        padding: 6px 8px;
    }
    
    .cart-badge {
        min-width: 20px;
        min-height: 20px;
        font-size: 0.7rem;
        padding: 0 8px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .site-header {
        padding: 10px 12px;
        gap: 6px;
    }
    
    .logo img {
        height: 36px;
    }
    
    .site-nav {
        gap: 6px;
        margin-top: 2px;
    }
    
    nav a {
        padding: 5px 8px;
        font-size: 13px;
    }
    
    .nav-dropdown-trigger::after {
        font-size: 8px;
        margin-left: 4px;
    }
    
    .header-top {
        gap: 6px;
        margin-top: 2px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 13px;
    }
    
    .cart-btn {
        font-size: 1rem;
        padding: 5px 6px;
    }
}
