@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255,255,255,0.03);
    --surface: rgba(255,255,255,0.05);
    --surface-hover: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --text: #ffffff;
    --text-muted: #8b8b9e;
    --primary: #ff2d95;
    --primary-glow: rgba(255,45,149,0.5);
    --secondary: #00f0ff;
    --secondary-glow: rgba(0,240,255,0.5);
    --accent: #ffcc00;
    --accent-glow: rgba(255,204,0,0.5);
    --purple: #b829dd;
    --blue: #3a86ff;
    --green: #00ff88;
    --danger: #ff3366;
    --shadow-sm: 0 8px 32px rgba(0,0,0,0.3);
    --shadow: 0 20px 60px rgba(0,0,0,0.5);
    --shadow-lg: 0 30px 80px rgba(0,0,0,0.6);
    --radius-sm: 16px;
    --radius: 24px;
    --radius-lg: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    margin: 0;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-width: 320px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,45,149,0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0,240,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(184,41,221,0.1) 0%, transparent 45%),
        radial-gradient(circle at 30% 70%, rgba(255,204,0,0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: var(--shadow), 0 0 30px rgba(255,255,255,0.1);
}

.btn:hover::before { transform: translateX(100%); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 10px 35px var(--primary-glow);
}
.btn-primary:hover { box-shadow: 0 15px 50px var(--primary-glow), 0 0 60px rgba(255,45,149,0.3); }

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--blue) 100%);
    color: #000;
    border: none;
    font-weight: 900;
    box-shadow: 0 10px 35px var(--secondary-glow);
}
.btn-secondary:hover { box-shadow: 0 15px 50px var(--secondary-glow); }

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--secondary); box-shadow: 0 0 30px var(--secondary-glow); }

.btn-small { padding: 12px 22px; font-size: 13px; }
.btn-large { padding: 20px 42px; font-size: 17px; }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

body { padding-top: 84px; }

@media (max-width: 768px) {
    body { padding-top: 68px; }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 24px;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 0 30px var(--primary-glow);
    transition: var(--transition-bounce);
}
.logo:hover .logo-icon { transform: rotate(-10deg) scale(1.1); box-shadow: 0 0 45px var(--primary-glow); }

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}

.header-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 480px;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 5px;
    transition: var(--transition);
}

.header-search:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 25px var(--secondary-glow);
    background: var(--surface-hover);
}

.header-search input {
    width: 100%;
    min-width: 0;
}

.header-search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 12px 20px;
    font-size: 15px;
    font-family: inherit;
    min-width: 0;
    color: var(--text);
}
.header-search input::placeholder { color: var(--text-muted); }

.header-search button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-bounce);
}
.header-search button:hover { transform: scale(1.12) rotate(8deg); box-shadow: 0 0 25px var(--primary-glow); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-link {
    padding: 12px 20px;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: 50px;
    transition: var(--transition);
}
.header-link:hover { color: var(--secondary); background: rgba(0,240,255,0.08); }

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    font-weight: 800;
    border-radius: 50px;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.cart-link:hover { border-color: var(--secondary); box-shadow: 0 0 25px var(--secondary-glow); transform: translateY(-2px); }

.cart-icon { color: var(--secondary); }

.cart-badge {
    position: absolute;
    top: -6px;
    right: 2px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--danger) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--primary-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(10,10,15,0.98);
    border-bottom: 1px solid var(--border);
}
.mobile-menu.is-open { display: flex; max-height: 280px; padding-bottom: 20px; }
.mobile-menu a {
    padding: 18px 0;
    font-size: 18px;
    font-weight: 800;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}
.mobile-menu a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 8px var(--secondary-glow);
}
.mobile-menu a:hover { color: var(--secondary); padding-left: 10px; }
.mobile-menu a:last-child { border-bottom: none; }

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow), 0 0 40px rgba(0,0,0,0.4);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    min-width: 280px;
    max-width: 360px;
}

.toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.toast-success { border-color: rgba(0,255,136,0.3); box-shadow: var(--shadow), 0 0 30px rgba(0,255,136,0.15); }
.toast-success svg { color: var(--green); filter: drop-shadow(0 0 8px rgba(0,255,136,0.5)); }

.toast-error { border-color: rgba(255,51,102,0.3); box-shadow: var(--shadow), 0 0 30px rgba(255,51,102,0.15); }
.toast-error svg { color: var(--danger); filter: drop-shadow(0 0 8px rgba(255,51,102,0.5)); }

@media (max-width: 480px) {
    .toast-container {
        top: auto;
        bottom: 24px;
        right: 16px;
        left: 16px;
    }
    .toast {
        min-width: 0;
        max-width: none;
        width: 100%;
    }
}

/* Messages */
.messages { margin-top: 20px; }
.message {
    padding: 16px 22px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    font-weight: 800;
    animation: slideDown 0.35s ease;
    border: 1px solid var(--border);
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
.message-success { background: rgba(0,255,136,0.1); color: var(--green); border-color: rgba(0,255,136,0.2); }
.message-error { background: rgba(255,51,102,0.1); color: var(--danger); border-color: rgba(255,51,102,0.2); }
.message-warning { background: rgba(255,204,0,0.1); color: var(--accent); border-color: rgba(255,204,0,0.2); }

/* Hero */
.hero {
    position: relative;
    padding: 60px 0 50px;
    text-align: center;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 40px;
    background: linear-gradient(135deg, #1a0a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(255,45,149,0.25) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(0,240,255,0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(184,41,221,0.2) 0%, transparent 45%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shapes span {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(40px);
    animation: float 10s ease-in-out infinite;
}

.hero-shapes span:nth-child(1) { width: 200px; height: 200px; background: var(--primary); left: 10%; top: 20%; }
.hero-shapes span:nth-child(2) { width: 150px; height: 150px; background: var(--secondary); left: 75%; top: 15%; animation-delay: 2s; }
.hero-shapes span:nth-child(3) { width: 180px; height: 180px; background: var(--purple); left: 60%; top: 60%; animation-delay: 4s; }
.hero-shapes span:nth-child(4) { width: 120px; height: 120px; background: var(--accent); left: 25%; top: 70%; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 64px;
    font-weight: 700;
    margin: 0 0 22px;
    line-height: 1.05;
    background: linear-gradient(135deg, #fff 0%, var(--secondary) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin: 0 auto 38px;
    max-width: 560px;
    line-height: 1.7;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-pulse { animation: pulse 2.5s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,45,149,0.5); }
    70% { box-shadow: 0 0 0 25px rgba(255,45,149,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,45,149,0); }
}

/* Sections */
.section { padding: 16px 0; position: relative; }
.section:first-of-type { padding-top: 24px; }
.section.section-bestsellers { padding-top: 10px; }
.section.section-featured { padding-top: 10px; }
.section.section-age { padding-top: 10px; }
.hero { margin-bottom: 0; }

.section-light {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin: 24px;
    border: 1px solid var(--border);
}

.section-light .section-title::before { background: linear-gradient(135deg, var(--primary), var(--purple)); box-shadow: 0 0 15px var(--primary-glow); }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 44px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 44px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.section-title::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 0 15px var(--secondary-glow);
}

.section-link {
    font-weight: 800;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.section-link:hover { color: var(--secondary); border-color: var(--secondary); gap: 10px; box-shadow: 0 0 25px var(--secondary-glow); }

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition-bounce);
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.category-card:nth-child(1) { animation-delay: 0.05s; }
.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.15s; }
.category-card:nth-child(4) { animation-delay: 0.2s; }
.category-card:nth-child(5) { animation-delay: 0.25s; }
.category-card:nth-child(6) { animation-delay: 0.3s; }

.category-card:nth-child(4n+1) { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.category-card:nth-child(4n+2) { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.category-card:nth-child(4n+3) { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.category-card:nth-child(4n+4) { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    z-index: 1;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--secondary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px var(--secondary-glow);
}

.category-card:hover::before { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 70%); }

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.9;
}
.category-card:hover img { transform: scale(1.12); opacity: 1; }

.category-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    z-index: 2;
    text-align: center;
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
}

/* Age groups */
.age-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.age-card {
    flex: 1 1 160px;
    max-width: 200px;
}

.age-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 14px;
    text-align: center;
    transition: var(--transition-bounce);
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.age-card:nth-child(1) { animation-delay: 0.05s; }
.age-card:nth-child(2) { animation-delay: 0.1s; }
.age-card:nth-child(3) { animation-delay: 0.15s; }
.age-card:nth-child(4) { animation-delay: 0.2s; }
.age-card:nth-child(5) { animation-delay: 0.25s; }
.age-card:nth-child(6) { animation-delay: 0.3s; }

.age-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3), 0 0 30px var(--primary-glow);
}

.age-name {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.age-action {
    font-size: 13px;
    font-weight: 800;
    color: var(--secondary);
}

/* Product cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 26px;
}

.product-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 32px;
    padding: 12px;
    overflow: hidden;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    opacity: 0;
    animation: cardAppear 0.6s ease forwards;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

@keyframes cardAppear {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(0,240,255,0.35);
    box-shadow: 0 25px 55px rgba(0,0,0,0.35), 0 0 35px var(--secondary-glow);
}

.product-image {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,45,149,0.1) 0%, rgba(0,240,255,0.1) 100%);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.1); }

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,45,149,0.1) 0%, rgba(0,240,255,0.1) 100%);
}
.product-placeholder svg { width: 50%; height: 50%; opacity: 0.4; color: var(--secondary); }

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2;
}
.badge-bestseller { background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%); color: #fff; box-shadow: 0 0 20px var(--primary-glow); }
.badge-new { background: linear-gradient(135deg, var(--secondary) 0%, var(--blue) 100%); color: #000; box-shadow: 0 0 20px var(--secondary-glow); }
.badge-sale { background: linear-gradient(135deg, var(--accent) 0%, #ff9500 100%); box-shadow: 0 0 20px var(--accent-glow); }

.product-info { padding: 18px 14px 14px; display: flex; flex-direction: column; flex-grow: 1; gap: 8px; }

.product-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
    min-height: 46px;
}
.product-title a { color: var(--text); }
.product-title a:hover { color: var(--secondary); }

.product-price {
    margin-top: auto;
    margin-bottom: 16px;
}

.price-current { font-size: 22px; font-weight: 900; color: var(--text); text-shadow: 0 0 15px rgba(255,255,255,0.2); }
.price-old { font-size: 14px; color: var(--text-muted); text-decoration: line-through; margin-right: 8px; }

.add-to-cart-form { margin-top: auto; }
.add-to-cart-form button { width: 100%; }

/* Product detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.product-gallery { display: flex; flex-direction: column; gap: 18px; }

.gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,45,149,0.1) 0%, rgba(0,240,255,0.1) 100%);
    box-shadow: var(--shadow), 0 0 40px rgba(255,45,149,0.1);
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-main:hover img { transform: scale(1.05); }

.gallery-thumbs { display: flex; gap: 14px; flex-wrap: wrap; }

.gallery-thumbs .thumb {
    width: 84px;
    height: 84px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 0;
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition-bounce);
}
.gallery-thumbs .thumb:hover { border-color: var(--secondary); transform: translateY(-4px); box-shadow: 0 0 20px var(--secondary-glow); }
.gallery-thumbs .thumb.active { border-color: var(--primary); box-shadow: 0 0 25px var(--primary-glow); }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-placeholder-large {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255,45,149,0.1) 0%, rgba(0,240,255,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.product-placeholder-large svg { width: 40%; height: 40%; opacity: 0.4; color: var(--secondary); }

.product-meta h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.15;
}

.product-price-large { margin-bottom: 16px; }
.product-price-large .price-current { font-size: 34px; }

.product-stock { color: var(--green); font-weight: 800; margin: 0 0 20px; }
.product-stock.out { color: var(--danger); }

.product-description { color: var(--text-muted); margin-bottom: 26px; line-height: 1.8; font-size: 16px; }

.add-to-cart-inline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.add-to-cart-inline label { font-weight: 800; color: var(--text-muted); }

.add-to-cart-inline input {
    width: 76px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    background: var(--bg-card);
    color: var(--text);
    transition: var(--transition);
}
.add-to-cart-inline input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 20px var(--secondary-glow); }

@media (max-width: 768px) {
    .add-to-cart-inline { flex-direction: column; align-items: stretch; }
    .add-to-cart-inline input { width: 100%; }
    .add-to-cart-inline button { width: 100%; justify-content: center; }
}

.product-specs {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 26px;
    border: 1px solid var(--border);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border);
    gap: 16px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row-block { flex-direction: column; gap: 10px; }
.spec-label { font-weight: 800; color: var(--text-muted); flex-shrink: 0; }
.spec-value { color: var(--text); text-align: right; font-weight: 600; }
.spec-row-block .spec-value { text-align: left; }

.product-tags { display: flex; flex-direction: column; gap: 10px; color: var(--text-muted); font-size: 14px; }
.product-tags a { color: var(--secondary); font-weight: 800; }
.product-tags a:hover { color: var(--primary); }

/* Catalog */
.catalog-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.catalog-sidebar { position: sticky; top: 100px; }

.filter-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
}
.filter-toggle:hover { border-color: var(--secondary); box-shadow: 0 0 20px var(--secondary-glow); }
.filter-toggle-arrow { transition: transform 0.3s ease; }
.filter-toggle.is-open .filter-toggle-arrow { transform: rotate(180deg); }

.filter-blocks { display: block; }

.filter-block {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.filter-block:hover { border-color: var(--border-hover); }

.filter-block.accordion { padding: 0; }

.filter-block h4,
.filter-block-header {
    margin: 0 0 22px;
    font-size: 18px;
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-block h4::before,
.filter-block-header::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary-glow);
}

.filter-block-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    justify-content: space-between;
    margin-bottom: 0;
    transition: var(--transition);
}
.filter-block-header:hover { color: var(--secondary); }
.filter-block-header::before { order: 0; }
.filter-block-header span { order: 1; }
.filter-block-arrow { order: 2; margin-left: auto; color: var(--secondary); transition: transform 0.3s ease; }
.filter-block.is-open .filter-block-arrow { transform: rotate(180deg); }

.filter-block-body {
    max-height: 1000px;
    opacity: 1;
    padding: 0 24px 20px;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.filter-block:not(.is-open) .filter-block-body {
    max-height: 0;
    opacity: 0;
    padding: 0 24px;
    overflow: hidden;
}

.filter-block ul { list-style: none; margin: 0; padding: 0; }
.filter-block li { margin-bottom: 10px; }
.filter-block a {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 14px;
    transition: var(--transition);
    border: 1px solid transparent;
}
.filter-block a::after {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
    color: var(--secondary);
}
.filter-block a:hover {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border);
}
.filter-block a:hover::after { opacity: 1; transform: translateX(0); }
.filter-block a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border-color: transparent;
    box-shadow: 0 8px 25px var(--primary-glow);
}
.filter-block a.active::after { opacity: 1; color: #fff; }

.catalog-content {
    background: transparent;
    border-radius: var(--radius);
    padding: 0;
    border: none;
}

/* ===== Category chips ===== */
.catalog-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-bounce);
    white-space: nowrap;
}

.chip:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--secondary-glow);
}

.chip-active {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.chip-active:hover {
    color: #fff;
    box-shadow: 0 8px 28px var(--primary-glow);
}

.chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
}

.chip-active .chip-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* ===== Sort select ===== */
.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.catalog-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.catalog-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.catalog-sort {
    position: relative;
    z-index: 50;
}

.catalog-sort-dropdown {
    position: relative;
}

.sort-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.sort-dropdown-btn:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 18px var(--secondary-glow);
}

.sort-dropdown-btn:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 25px var(--secondary-glow);
}

.sort-dropdown-arrow {
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.catalog-sort-dropdown.is-open .sort-dropdown-arrow {
    transform: rotate(180deg);
    color: var(--secondary);
}

.sort-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}

.catalog-sort-dropdown.is-open .sort-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.sort-dropdown-menu li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.sort-dropdown-menu li:hover {
    background: var(--surface);
    color: var(--secondary);
}

.sort-dropdown-menu li.selected {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.catalog-count {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    background: var(--surface);
    border-radius: 50px;
    border: 1px solid var(--border);
}

.empty-catalog {
    text-align: center;
    color: var(--text-muted);
    padding: 100px 24px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.empty-catalog svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--secondary);
    opacity: 0.5;
}

.empty-catalog h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px;
}

.page-header {
    position: relative;
    background: linear-gradient(135deg, #1a0a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    margin-bottom: 40px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255,45,149,0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 40%, rgba(0,240,255,0.15) 0%, transparent 40%);
}

.page-header h1 {
    position: relative;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}
.page-header p { position: relative; color: var(--text-muted); margin: 12px 0 0; font-weight: 600; z-index: 1; }

/* ===== CART ===== */
.cart-section { min-height: 60vh; }

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.cart-items-card, .cart-summary-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.cart-items-card:hover, .cart-summary-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow), 0 0 40px rgba(255,45,149,0.08);
}

.cart-title, .cart-summary-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 28px;
    color: var(--text);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cart-title::before, .cart-summary-card h2::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 0 12px var(--secondary-glow);
}

.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 150px 130px 52px;
    gap: 18px;
    align-items: center;
    padding: 20px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition-bounce);
    opacity: 0;
    animation: cardAppear 0.5s ease forwards;
}

.cart-item:hover {
    background: var(--surface-hover);
    transform: translateX(8px) scale(1.01);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3), 0 0 30px var(--primary-glow);
}

.cart-item-image img, .cart-item-placeholder {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    transition: var(--transition);
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255,45,149,0.3);
}

.cart-item-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,45,149,0.1) 0%, rgba(0,240,255,0.1) 100%);
}
.cart-item-placeholder svg { width: 50%; height: 50%; opacity: 0.5; color: var(--secondary); }

.cart-item-info h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
}
.cart-item-info h3 a { color: var(--text); transition: var(--transition); }
.cart-item-info h3 a:hover { color: var(--secondary); }

.cart-item-price { margin: 0; color: var(--text-muted); font-size: 14px; font-weight: 700; }

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    box-shadow: 0 0 15px var(--primary-glow);
}
.qty-btn:hover { transform: scale(1.18); box-shadow: 0 0 30px var(--primary-glow); }

.cart-item-quantity input {
    width: 48px;
    padding: 8px;
    border: none;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    background: transparent;
    color: var(--text);
}

.cart-item-subtotal {
    font-weight: 900;
    font-size: 20px;
    color: var(--secondary);
    text-align: right;
    text-shadow: 0 0 20px var(--secondary-glow);
}

.btn-remove {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255,51,102,0.1);
    color: var(--danger);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255,51,102,0.2);
}
.btn-remove:hover {
    background: var(--danger);
    color: #fff;
    transform: rotate(90deg) scale(1.12);
    box-shadow: 0 0 25px rgba(255,51,102,0.4);
    border-color: var(--danger);
}

.cart-summary-card { position: sticky; top: 100px; }

.cart-summary-content {
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text-muted);
}
.cart-summary-row:last-child { border-bottom: none; }
.cart-summary-free { color: var(--green); font-weight: 800; text-shadow: 0 0 10px rgba(0,255,136,0.3); }

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 22px;
    border-top: 2px solid var(--border);
    font-size: 26px;
    font-weight: 900;
    color: var(--text);
}

.cart-summary-total span:last-child {
    color: var(--secondary);
    text-shadow: 0 0 20px var(--secondary-glow);
}

.btn-checkout { width: 100%; margin-bottom: 14px; }
.btn-continue { width: 100%; }

.empty-cart {
    text-align: center;
    padding: 100px 28px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid var(--border);
    animation: cardAppear 0.6s ease;
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, rgba(255,45,149,0.15) 0%, rgba(0,240,255,0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    box-shadow: 0 0 40px var(--secondary-glow);
    animation: float 4s ease-in-out infinite;
}

.empty-cart h2 { font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 700; margin: 0 0 12px; }
.empty-cart p { color: var(--text-muted); margin-bottom: 32px; font-size: 16px; }

/* ===== CHECKOUT ===== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 36px;
    align-items: start;
}

.checkout-form-card, .checkout-summary-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.checkout-form-card:hover, .checkout-summary-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow), 0 0 40px rgba(0,240,255,0.08);
}

.checkout-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 28px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.checkout-title::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 0 12px var(--secondary-glow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 800; font-size: 14px; color: var(--text); }
.form-group small { display: block; margin-top: 8px; color: var(--text-muted); font-size: 13px; }

.form-control {
    width: 100%;
    padding: 18px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--surface);
    color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 25px var(--secondary-glow); background: var(--surface-hover); }

.form-errors { color: var(--danger); font-size: 13px; margin-top: 8px; font-weight: 800; }

.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.delivery-option { position: relative; cursor: pointer; margin: 0; }
.delivery-option input { position: absolute; opacity: 0; }
.delivery-option-box { display: block; height: 100%; }

.delivery-option-icon {
    width: 100%;
    min-height: 56px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    transition: var(--transition-bounce);
    padding: 12px 16px;
}

.delivery-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.delivery-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition-bounce);
}

.delivery-option input:checked + .delivery-option-box .delivery-radio {
    border-color: var(--danger);
}

.delivery-option input:checked + .delivery-option-box .delivery-radio::after {
    transform: translate(-50%, -50%) scale(1);
    background: var(--danger);
}

.delivery-option-label {
    display: block;
    font-weight: 900;
    font-size: 15px;
    color: var(--text);
    text-align: center;
    transition: var(--transition);
    line-height: 1.3;
}

.delivery-option:hover .delivery-option-icon {
    border-color: rgba(255,255,255,0.15);
    box-shadow: none;
    transform: none;
}
.delivery-option input:checked + .delivery-option-box .delivery-option-icon {
    background: transparent;
    border-color: var(--primary);
    color: var(--text);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-3px);
}
.delivery-option input:checked + .delivery-option-box .delivery-option-label { color: var(--text); text-shadow: none; }
.delivery-option input:checked + .delivery-option-box .delivery-radio { border-color: var(--primary); }
.delivery-option input:checked + .delivery-option-box .delivery-radio::after { background: var(--primary); }

.pickup-info {
    margin-top: 14px;
    display: none;
    flex-direction: column;
    gap: 7px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.pickup-info.is-visible { opacity: 1; transform: translateY(0); }
.pickup-info-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
}
.pickup-info-line {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.4;
}
.pickup-info-line svg { flex-shrink: 0; color: var(--text-muted); }

.checkout-summary-card { position: sticky; top: 100px; }
.checkout-summary-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 22px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.checkout-summary-card h3::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    box-shadow: 0 0 10px var(--primary-glow);
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 24px;
}
.checkout-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
    opacity: 0;
    animation: cardAppear 0.5s ease forwards;
}
.checkout-item:hover {
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,255,255,0.03);
    transform: translateX(4px);
}

.checkout-item-image img, .checkout-item-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
}
.checkout-item-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,45,149,0.1) 0%, rgba(0,240,255,0.1) 100%);
}
.checkout-item-placeholder svg { width: 50%; height: 50%; opacity: 0.5; color: var(--secondary); }

.checkout-item-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.checkout-item-name { font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--text); }
.checkout-item-qty { font-size: 13px; color: var(--text-muted); }
.checkout-item-price { font-weight: 900; color: var(--text); font-size: 16px; text-shadow: 0 0 12px rgba(255,255,255,0.2); }

.checkout-total {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 2px solid var(--border);
    font-size: 24px;
    font-weight: 900;
}
.checkout-total span:last-child { color: var(--text); text-shadow: 0 0 15px rgba(255,255,255,0.25); }

.btn-back-cart { width: 100%; margin-top: 18px; }
.btn-submit-order { width: 100%; }

/* Success */
.success-section { min-height: 70vh; display: flex; align-items: center; }

.success-card {
    max-width: 540px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 56px 44px;
    text-align: center;
    box-shadow: var(--shadow), 0 0 60px rgba(0,255,136,0.1);
    border: 1px solid var(--border);
    animation: successAppear 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successAppear {
    from { opacity: 0; transform: translateY(40px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, rgba(0,255,136,0.2) 0%, rgba(0,240,255,0.2) 100%);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0,255,136,0.3);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-title { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 700; margin: 0 0 16px; }
.success-text { color: var(--text-muted); margin: 0 0 32px; font-size: 17px; }
.success-actions { display: flex; flex-direction: column; gap: 14px; }

/* Location section */
.location-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 70px 0;
    margin-top: 80px;
}

.location-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.location-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
}

.location-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.location-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: #fff;
    box-shadow: 0 4px 18px var(--primary-glow);
}

.location-label {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.location-value {
    display: block;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.location-value a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.location-value a:hover { color: var(--primary); }

.location-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow), 0 0 40px rgba(0,240,255,0.08);
    aspect-ratio: 16 / 9;
    position: relative;
}

.location-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2) contrast(1.05);
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    color: var(--text-muted);
    padding: 70px 0 28px;
    margin-top: 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.footer-brand p { margin: 16px 0 0; color: var(--text-muted); line-height: 1.8; }

.footer-links h4, .footer-contact h4 { color: #fff; margin: 0 0 20px; font-size: 18px; font-weight: 800; }
.footer-links a { display: block; color: var(--text-muted); margin-bottom: 12px; font-weight: 700; transition: var(--transition); }
.footer-links a:hover { color: var(--secondary); }

.footer-contact p { margin: 0 0 12px; color: var(--text-muted); }
.footer-contact a { color: var(--secondary); font-weight: 700; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03);
    border-radius: 5px;
    border: 1px solid var(--border);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.45);
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}
::-webkit-scrollbar-corner { background: transparent; }

/* Responsive */
@media (max-width: 1024px) {
    .product-detail, .catalog-layout, .checkout-layout, .cart-layout { grid-template-columns: 1fr; }
    .catalog-sidebar, .cart-summary-card, .checkout-summary-card { position: static; }

    .checkout-layout { display: flex; flex-direction: column-reverse; }

    .catalog-layout { gap: 16px; }
    .catalog-sidebar { position: static; }
    .filter-toggle { display: flex; }
    .filter-blocks {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
        margin-top: 0;
    }
    .filter-blocks.is-open {
        max-height: 2000px;
        opacity: 1;
        margin-top: 16px;
    }
}

@media (max-width: 768px) {
    .hide-mobile { display: none; }

    .header-inner { height: 68px; gap: 10px; }
    .logo-icon { width: 38px; height: 38px; }
    .logo-icon svg { width: 22px; height: 22px; }
    .logo-text { font-size: 20px; }

    .menu-toggle { display: flex; width: 42px; height: 42px; }
    .mobile-menu { display: flex; }

    .header-search { order: 2; flex: 1; max-width: none; margin: 0; min-width: 0; }
    .header-search input { font-size: 14px; padding: 8px 10px; min-width: 0; }

    .cart-link { padding: 10px; border-radius: 12px; }
    .cart-text { display: none; }
    .cart-icon { width: 20px; height: 20px; }

    .hero { padding: 70px 0 50px; }
    .hero-content h1 { font-size: 32px; line-height: 1.15; }
    .hero-content p { font-size: 15px; }
    .hero-actions { flex-direction: column; align-items: center; gap: 14px; }
    .hero-actions .btn { width: min(280px, 100%); }

    .section { padding: 48px 0; }
    .section-light { margin: 12px; border-radius: var(--radius); }
    .section-title { font-size: 26px; }
    .section-header { margin-bottom: 28px; }
    .section-header p { font-size: 14px; }

    .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-card, .product-card { border-radius: var(--radius-sm); }
    .category-card { height: 160px; }
    .category-name { font-size: 16px; padding: 14px; }

    .age-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .age-card { padding: 18px 10px; border-radius: var(--radius-sm); }
    .age-name { font-size: 16px; }
    .age-icon { width: 44px; height: 44px; }

.product-card { border-radius: 26px; padding: 9px; }
    .product-image { border-radius: 20px; height: auto; }
    .product-title { font-size: 14px; min-height: 38px; line-height: 1.35; }
    .price-current { font-size: 16px; }
    .product-info { padding: 14px; gap: 8px; }
    .add-to-cart-form button { padding: 12px 16px; font-size: 13px; border-radius: 12px; }

    .page-header { padding: 40px 0 30px; }
    .page-header h1 { font-size: 26px; }
    .page-header p { font-size: 14px; }

    .cart-section { margin-top: -50px; }

    .product-detail { gap: 28px; padding-top: 20px; }

    .filter-toggle { margin-top: -70px; }
    .gallery-main { border-radius: var(--radius-sm); }
    .product-meta h1 { font-size: 22px; }
    .product-price-large .price-current { font-size: 24px; }
    .product-short-desc { font-size: 14px; }
    .product-tags { gap: 8px; }
    .product-tags a { padding: 8px 12px; font-size: 12px; }
    .add-to-cart-inline { flex-direction: column; }
    .add-to-cart-inline button { width: 100%; justify-content: center; }
    .gallery-thumbs .thumb { width: 58px; height: 58px; border-radius: 10px; }

    .catalog-content { padding: 20px; border-radius: var(--radius-sm); }
    .catalog-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; }
    .catalog-sort { width: 100%; }
    .sort-dropdown-btn { width: 100%; justify-content: space-between; }
    .sort-dropdown-menu { right: 0; left: 0; min-width: 0; }
    .catalog-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .catalog-chips::-webkit-scrollbar { display: none; }
    .chip { flex-shrink: 0; padding: 9px 16px; font-size: 13px; }
    .catalog-header h2 { font-size: 20px; }
    .catalog-count { font-size: 12px; padding: 6px 12px; }
    .filter-block { padding: 0; margin-bottom: 16px; overflow: hidden; }
    .filter-block-header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        background: transparent;
        border: none;
        color: var(--text);
        font-family: 'Space Grotesk', sans-serif;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: var(--transition);
    }
    .filter-block-header:hover { color: var(--secondary); }
    .filter-block-arrow { transition: transform 0.3s ease; color: var(--secondary); }
    .filter-block.is-open .filter-block-arrow { transform: rotate(180deg); }
    .filter-block-body {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
        padding: 0 20px;
    }
    .filter-block.is-open .filter-block-body {
        max-height: 1000px;
        opacity: 1;
        padding: 0 20px 16px;
    }
    .filter-block-body ul { padding-bottom: 0; }
    .filter-block a { padding: 10px 14px; font-size: 14px; }

    .cart-item {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
        border-radius: var(--radius-sm);
        align-items: center;
    }
    .cart-item-image { flex: 0 0 70px; }
    .cart-item-image img, .cart-item-placeholder { width: 70px; height: 70px; border-radius: 10px; }
    .cart-item-info { flex: 1 1 calc(100% - 100px); min-width: 0; }
    .cart-item-info h3 { font-size: 15px; }
    .cart-item-info p { font-size: 13px; }
    .cart-item-quantity { flex: 1 1 auto; }
    .cart-item-subtotal { flex: 1 1 auto; text-align: right; font-size: 16px; }
    .cart-item-remove { flex: 0 0 auto; margin-left: auto; }

    .cart-items-card, .cart-summary-card, .checkout-form-card, .checkout-summary-card { padding: 20px; border-radius: var(--radius-sm); }
    .cart-summary-row { font-size: 14px; }
    .cart-summary-total { font-size: 18px; }

    .checkout-layout { gap: 24px; padding-top: 20px; }
    .checkout-item { gap: 12px; padding: 14px; border-radius: 12px; }
    .checkout-item-placeholder { width: 56px; height: 56px; border-radius: 10px; }
    .checkout-item-name { font-size: 14px; }
    .checkout-item-qty { font-size: 12px; }
    .checkout-item-price { font-size: 14px; }
    .checkout-total { font-size: 18px; }

    .form-group { margin-bottom: 18px; }
    .form-control { padding: 14px 16px; font-size: 15px; border-radius: 12px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .delivery-options { grid-template-columns: 1fr; gap: 10px; }
    .delivery-option { padding: 14px; border-radius: 12px; }
    .delivery-option label { font-size: 14px; padding-left: 32px; }
    .delivery-details { padding: 16px; border-radius: 12px; }

    .footer { padding: 50px 0 24px; margin-top: 60px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }

    .location-section { padding: 50px 0 60px; margin-top: 50px; }
    .location-inner { grid-template-columns: 1fr; gap: 32px; }
    .location-title { font-size: 24px; }
    .location-value { font-size: 15px; }
    .location-map { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
    .footer-brand .logo-text { font-size: 22px; }
    .footer-links h4, .footer-contact h4 { font-size: 16px; margin-bottom: 16px; }
    .footer-links a { margin-bottom: 10px; }

    .success-card { padding: 32px 20px; border-radius: var(--radius-sm); }
    .success-title { font-size: 24px; }
    .success-icon { width: 80px; height: 80px; }
    .success-text { font-size: 14px; }

    .toast { top: 80px; right: 16px; left: 16px; transform: translateX(0); padding: 14px 18px; font-size: 14px; justify-content: center; }
    .toast.is-visible { transform: translateY(0); }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .logo-text { display: none; }

    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 14px; }

    .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-card { height: 140px; }
    .category-name { font-size: 14px; padding: 12px; }
    .section-title { font-size: 22px; }

    .product-image { height: 140px; }
    .product-info { padding: 12px; }
    .product-title { font-size: 13px; min-height: 34px; }
    .price-current { font-size: 15px; }
    .add-to-cart-form button { padding: 10px 12px; font-size: 12px; }
    .add-to-cart-form button svg { display: none; }

    .btn { padding: 12px 20px; font-size: 13px; }
    .btn-large { padding: 16px 26px; }

    .cart-item { padding: 14px; }
    .cart-item-image { flex: 0 0 60px; }
    .cart-item-image img, .cart-item-placeholder { width: 60px; height: 60px; }
    .cart-item-info h3 { font-size: 14px; }
    .qty-btn { width: 32px; height: 32px; }
    .qty-btn svg { width: 12px; height: 12px; }
    .cart-item-quantity input { width: 44px; height: 32px; font-size: 14px; }
    .cart-item-subtotal { font-size: 15px; }

    .catalog-content { padding: 16px; }
    .filter-block { padding: 16px; }
    .filter-block a { padding: 10px 12px; font-size: 13px; }

    .cart-items-card, .cart-summary-card, .checkout-form-card, .checkout-summary-card { padding: 16px; }

    .checkout-item-placeholder { width: 48px; height: 48px; }
    .checkout-item-name { font-size: 13px; }

    .delivery-option label { font-size: 13px; }

    .success-card { padding: 28px 16px; }
    .success-title { font-size: 22px; }
    .success-icon { width: 72px; height: 72px; }
}


/* ========== THEME TOGGLE & LIGHT THEME ========== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.theme-toggle:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 20px var(--secondary-glow);
    transform: rotate(15deg) scale(1.1);
}
.theme-toggle svg {
    position: absolute;
    transition: var(--transition);
}
.theme-icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
[data-theme='light'] .theme-icon-sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
[data-theme='light'] .theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* Light theme — premium soft grey */
[data-theme='light'] {
    --bg: #eef0f2;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --surface: rgba(0,0,0,0.03);
    --surface-hover: rgba(0,0,0,0.05);
    --border: rgba(0,0,0,0.05);
    --border-hover: rgba(0,0,0,0.1);
    --text: #1a1d21;
    --text-muted: #6b7280;
    --primary: #e11d48;
    --primary-glow: rgba(225,29,72,0.15);
    --secondary: #2563eb;
    --secondary-glow: rgba(37,99,235,0.15);
    --accent: #f59e0b;
    --accent-glow: rgba(245,158,11,0.15);
    --purple: #7c3aed;
    --blue: #2563eb;
    --green: #10b981;
    --danger: #ef4444;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
}
[data-theme='light'] body {
    background: var(--bg);
}
[data-theme='light'] body::before {
    background-image: none;
}
[data-theme='light'] .site-header {
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 10px rgba(0,0,0,0.03);
}
[data-theme='light'] .header-search {
    background: var(--bg-secondary);
    border-color: var(--border);
}
[data-theme='light'] .header-search:focus-within {
    background: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
[data-theme='light'] .header-search input { color: var(--text); }
[data-theme='light'] .header-search button {
    background: var(--primary);
    color: #fff;
}
[data-theme='light'] .header-search button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}
[data-theme='light'] .cart-link {
    background: var(--bg-secondary);
    border-color: var(--border);
}
[data-theme='light'] .cart-link:hover {
    background: #ffffff;
    border-color: var(--secondary);
}
[data-theme='light'] .theme-toggle {
    background: var(--bg-secondary);
    border-color: var(--border);
}
[data-theme='light'] .theme-toggle:hover {
    background: #ffffff;
    border-color: var(--secondary);
}
[data-theme='light'] .btn {
    background: #ffffff;
    color: var(--text);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
[data-theme='light'] .btn:hover {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
[data-theme='light'] .btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-sm);
}
[data-theme='light'] .btn-primary:hover {
    background: #be123c;
    box-shadow: var(--shadow);
}
[data-theme='light'] .btn-secondary {
    background: var(--secondary);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-sm);
}
[data-theme='light'] .btn-secondary:hover {
    background: #1d4ed8;
    box-shadow: var(--shadow);
}
[data-theme='light'] .btn-outline {
    background: transparent;
    border-color: rgba(0,0,0,0.15);
}
[data-theme='light'] .section-title {
    color: var(--text);
}
[data-theme='light'] .section-link {
    color: var(--secondary);
}
[data-theme='light'] .hero {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}
[data-theme='light'] .hero::before {
    background: none;
    animation: none;
}
[data-theme='light'] .hero-shapes {
    display: none;
}
[data-theme='light'] .hero-content h1 {
    background: none;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
}
[data-theme='light'] .hero-content p {
    color: var(--text-muted);
}
[data-theme='light'] .btn-pulse {
    animation: none;
}
[data-theme='light'] .product-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
[data-theme='light'] .product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}
[data-theme='light'] .product-title { color: var(--text); }
[data-theme='light'] .product-price { color: var(--primary); }
[data-theme='light'] .product-old-price { color: var(--text-muted); }
[data-theme='light'] .category-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
}
[data-theme='light'] .category-card:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}
[data-theme='light'] .cart-item {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
}
[data-theme='light'] .order-form {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
}
[data-theme='light'] .site-footer {
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
}
[data-theme='light'] .mobile-menu {
    background: rgba(245,245,247,0.98);
    border-left: 1px solid rgba(0,0,0,0.05);
}
[data-theme='light'] .mobile-menu a { color: var(--text); }
[data-theme='light'] .message { color: #fff; }
[data-theme='light'] .toast { color: #1a1a1f; background: #ffffff; border-color: rgba(0,0,0,0.08); box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
[data-theme='light'] .empty-state {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
}
[data-theme='light'] .chip {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    color: var(--text);
}
[data-theme='light'] .chip:hover {
    border-color: var(--secondary);
    box-shadow: 0 6px 20px rgba(0,113,227,0.12);
}
[data-theme='light'] .chip-count {
    background: rgba(0,0,0,0.05);
    color: var(--text-muted);
}
[data-theme='light'] .chip-active .chip-count {
    background: rgba(255,255,255,0.3);
    color: #fff;
}
[data-theme='light'] .sort-select {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
}
[data-theme='light'] .sort-select option {
    background: #ffffff;
    color: var(--text);
}
[data-theme='light'] .sort-dropdown-btn {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
}
[data-theme='light'] .sort-dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
[data-theme='light'] .sort-dropdown-menu li:hover {
    background: rgba(0,0,0,0.04);
}
[data-theme='light'] .cart-summary {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
}
[data-theme='light'] .form-control {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    color: var(--text);
}
[data-theme='light'] .form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0,113,227,0.1);
}


[data-theme='light'] .section-title::before { background: var(--primary); box-shadow: none; }
[data-theme='light'] .product-card .badge-bestseller { background: var(--primary); box-shadow: none; }
[data-theme='light'] .logo-icon { box-shadow: none; }
[data-theme='light'] .cart-badge { box-shadow: none; }

[data-theme='light'] .delivery-option-icon {
    border: 2px solid rgba(0,0,0,0.12);
    background: #ffffff;
}
[data-theme='light'] .delivery-option:hover .delivery-option-icon {
    border-color: rgba(0,0,0,0.15);
    box-shadow: none;
    transform: none;
}
[data-theme='light'] .delivery-option input:checked + .delivery-option-box .delivery-option-icon {
    background: #ffffff;
    border: 2px solid rgba(0,0,0,0.15);
    color: var(--text);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
[data-theme='light'] .delivery-option input:checked + .delivery-option-box .delivery-option-label { color: var(--text); text-shadow: none; }
[data-theme='light'] .delivery-option input:checked + .delivery-option-box .delivery-radio { border-color: var(--primary); }
[data-theme='light'] .delivery-option input:checked + .delivery-option-box .delivery-radio::after { background: var(--primary); }
[data-theme='light'] .pickup-info {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
}
[data-theme='light'] .page-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}
[data-theme='light'] .page-header::before {
    background: none;
}
[data-theme='light'] .page-header h1 {
    color: var(--text);
}
[data-theme='light'] .page-header p {
    color: var(--text-muted);
}

