﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', -apple-system, sans-serif;
}

/* ===== THEME VARIABLES - CLEAN MINIMAL / GRAY & BLUE ===== */
:root {
    --bg: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-hover: #F1F5F9;
    --bg-subtle: #F8FAFC;
    --border: #E2E8F0;
    --border-strong: #CBD5E1;
    --text: #1E293B;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --accent: #2563EB;
    --accent-soft: #EFF4FF;
    --accent-text: #FFFFFF;
    --brand: #1E293B;
    --secondary: #64748B;
    --success: #16A34A;
    --danger: #E11D48;
    --glow: rgba(37,99,235,0.14);
    --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
    --shadow-md: 0 8px 24px rgba(15,23,42,0.06);
    --shadow-lg: 0 20px 45px rgba(15,23,42,0.08);

    /* Flat, low-noise surfaces (no heavy gradients/glow) */
    --gradient-hero: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    --gradient-card: #FFFFFF;
    --gradient-glow: none;
    --gradient-banner: linear-gradient(135deg, #F1F5F9 0%, #EFF4FF 100%);

    /* ===== DESIGN TOKENS — "Structured Catalog" system ===== */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 999px;

    --font-size-xs: 12px;
    --font-size-sm: 13px;
    --font-size-base: 15px;
    --font-size-md: 17px;
    --font-size-lg: 21px;
    --font-size-xl: 28px;
    --font-size-2xl: 38px;

    --header-utility-h: 36px;
    --header-main-h: 76px;
    --container-max: 1360px;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    transition: background 0.4s ease, color 0.4s ease;
    padding-top: calc(var(--header-utility-h) + var(--header-main-h));
}

body.is-staff-header {
    padding-top: var(--header-main-h);
}

.bwdk-top-banner {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 120;
    display: block;
    min-height: 42px;
}

body.bwdk-ui-enabled {
    padding-top: calc(var(--header-utility-h) + var(--header-main-h) + 42px);
}

body.bwdk-ui-enabled.is-staff-header {
    padding-top: calc(var(--header-main-h) + 42px);
}

body.bwdk-ui-enabled #header {
    top: 42px;
}

.mobile-bottom-nav {
    display: none;
}

@media (min-width: 641px) {
    .mobile-bottom-nav {
        display: none !important;
    }
    body {
        padding-bottom: 0;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 16px;
    }

    .bwdk-top-banner {
        min-height: 36px;
    }

    body.bwdk-ui-enabled {
        padding-top: 96px;
    }

    body.bwdk-ui-enabled #header {
        top: 36px;
    }
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; color: inherit; font-family: inherit; }
img { max-width: 100%; display: block; }
svg, video, canvas, iframe { max-width: 100%; }

main,
section,
header,
footer,
nav,
aside,
article,
form,
.container,
.container > *,
.products-grid,
.cat-grid,
.why-grid,
.footer-top,
.footer-cols,
.section-header {
    min-width: 0;
}

:where(h1, h2, h3, h4, h5, h6, p, a, span, strong, small, button, label) {
    overflow-wrap: anywhere;
}

.container {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

em {
    font-style: normal;
    font-weight: 700;
    color: color-mix(in srgb, var(--accent) 72%, var(--text));
}

/* ===== ANNOUNCEMENT ===== */
.announcement {
    background: var(--accent);
    color: var(--accent-text);
    font-size: 15px;
    padding: 12px 0;
    transition: background 0.4s, color 0.4s;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.dot-indicator {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.6;
}

.announcement a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.announcement a:hover { opacity: 0.7; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    transition: box-shadow 0.2s;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-utility {
    height: var(--header-utility-h);
    background: var(--text);
    color: #fff;
}

.header-utility-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-utility-links {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    font-size: var(--font-size-xs);
}

.header-utility-links a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.15s;
}

.header-utility-links a:hover { color: #fff; }

.header-main {
    position: relative;
    height: var(--header-main-h);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text);
    flex: 0 0 auto;
}

.logo-mark {
    width: 38px;
    height: 38px;
    color: var(--brand);
}

.logo-mark svg { width: 100%; height: 100%; }

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: var(--font-size-lg);
    font-weight: 800;
    letter-spacing: -0.6px;
}

/* Category mega-menu */
.header-category-trigger-wrap {
    position: relative;
    flex: 0 0 auto;
}

.header-category-trigger {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    height: 44px;
    padding: 0 var(--space-4);
    background: var(--accent);
    color: var(--accent-text);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    white-space: nowrap;
}

.header-category-trigger i:first-child { font-size: 15px; }
.header-category-trigger i:last-child { font-size: 10px; transition: transform 0.2s; }

.mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    display: grid;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 0.15s ease;
    z-index: 90;
}

.mega-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-category-trigger[aria-expanded="true"] i:last-child { transform: rotate(180deg); }

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: var(--font-size-sm);
    transition: background 0.15s;
}

.mega-menu-item:hover { background: var(--bg-hover); }

.mega-menu-item img {
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 6px;
}

.mega-menu-item i {
    width: 26px;
    text-align: center;
    color: var(--accent);
    font-size: 15px;
}

.mega-menu-all {
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    margin-bottom: 4px;
    padding-bottom: var(--space-3);
    font-weight: 700;
}

.mega-menu-all i { color: var(--text); }

/* Persistent search bar */
.header-search {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    height: 44px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 var(--space-2) 0 0;
    transition: border-color 0.15s;
    min-width: 0;
}

.header-search:focus-within { border-color: var(--accent); }

.header-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 var(--space-4);
    color: var(--text);
    font-size: var(--font-size-sm);
    font-family: inherit;
}

.header-search input::placeholder { color: var(--text-muted); }

.header-search button {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--accent-text);
    border-radius: var(--radius-sm);
    flex: 0 0 auto;
}

.header-search-toggle { display: none; }

/* Secondary text-link nav (below/beside search on desktop) */
.main-nav {
    display: flex;
    gap: var(--space-1);
    align-items: center;
}

.main-nav a {
    padding: 10px 12px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover { color: var(--text); }

.main-nav a.active { color: var(--accent); }

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex: 0 0 auto;
}

.icon-action {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text);
    transition: background 0.2s;
    font-size: 17px;
}

.icon-action:hover { background: var(--bg-hover); }

.dot-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 7px;
    height: 7px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--bg);
}

.count-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
}

.cart-action { background: var(--bg-hover); }

.signin-btn {
    padding: 10px 20px;
    background: var(--accent);
    color: var(--accent-text);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: opacity 0.2s;
    margin-right: 8px;
}

.signin-btn:hover { opacity: 0.85; }

.signin-btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.mobile-toggle span {
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: 0.3s;
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Search Overlay (mobile) */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s;
    z-index: 95;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    max-width: none;
    width: 100%;
    margin: 0 auto;
}

.search-inner i.fa-search { color: var(--text-muted); }

.search-inner input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
}

.search-inner input::placeholder { color: var(--text-muted); }

.search-brand-select {
    min-width: 150px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 9px;
    padding: 8px 10px;
    font-family: inherit;
}

.close-search {
    color: var(--text-muted);
    padding: 6px;
    border-radius: 6px;
    transition: 0.2s;
}

.close-search:hover {
    background: var(--bg-hover);
    color: var(--text);
}

.search-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.search-tags a {
    padding: 4px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    transition: 0.2s;
}

.search-tags a:hover {
    background: var(--bg-hover);
    color: var(--text);
}

/* Staff header — single row, unchanged structure from before */
.header--staff .header-inner {
    justify-content: space-between;
    padding: 0;
}

.header--staff {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.header--staff .main-nav {
    flex: 1;
    justify-content: center;
}

/* Site messages */
.site-messages {
    margin-top: var(--space-4);
    display: grid;
    gap: var(--space-2);
}

.site-message {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: var(--font-size-sm);
}

.site-message i { font-size: 16px; }
.site-message--success { border-color: color-mix(in srgb, var(--success) 35%, var(--border)); color: var(--success); }
.site-message--error, .site-message--danger { border-color: color-mix(in srgb, var(--danger) 35%, var(--border)); color: var(--danger); }
.site-message--warning { border-color: color-mix(in srgb, #D97706 35%, var(--border)); color: #B45309; }
.site-message--info, .site-message--debug { color: var(--text-secondary); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-solid {
    background: var(--accent);
    color: var(--accent-text);
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--bg-hover);
}

.btn-ghost i {
    font-size: 18px;
}

/* ===== HERO - WITH SOFT GRADIENT ===== */
.hero {
    position: relative;
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    padding: 6px 14px 6px 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    width: fit-content;
}

.eyebrow-line {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.hero-heading {
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.italic, em {
    font-style: italic;
    font-weight: 400;
    color: var(--text-secondary);
}

.hero-sub {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-item strong {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.meta-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.meta-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Hero Showcase - Real Image Card */
.hero-showcase {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 360px;
}

.showcase-main {
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.showcase-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.showcase-main:hover img {
    transform: scale(1.03);
}

.showcase-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    background: linear-gradient(180deg, rgba(6, 10, 20, 0.02), rgba(6, 10, 20, 0.68) 58%, rgba(6, 10, 20, 0.92));
}

.showcase-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.showcase-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.showcase-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.showcase-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.showcase-link {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--accent-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.showcase-link:hover {
    transform: scale(1.1) translateX(-2px);
}

/* Floating Cards */
.showcase-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    pointer-events: auto;
    z-index: 2;
}

.float-1 {
    top: 12%;
    right: -20px;
    animation: floatY 5s ease-in-out infinite;
}

.float-2 {
    bottom: 25%;
    left: -30px;
    animation: floatY 5s ease-in-out infinite -2.5s;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.float-icon {
    width: 38px;
    height: 38px;
    background: var(--bg-hover);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text);
}

.float-card strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.float-card span {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== TRUST BAR ===== */
.trust-bar {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-label {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 28px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.brands-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.6;
    transition: 0.3s;
    cursor: pointer;
}

.brand-logo:hover {
    opacity: 1;
    color: var(--text);
}

.brand-logo i { font-size: 24px; }

/* ===== SECTIONS ===== */
.section {
    padding: 72px 0;
    position: relative;
}

.section + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 1100px);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        color-mix(in srgb, var(--secondary) 35%, transparent) 20%,
        color-mix(in srgb, var(--accent) 55%, transparent) 50%,
        color-mix(in srgb, var(--secondary) 35%, transparent) 80%,
        transparent 100%
    );
    box-shadow:
        0 0 16px color-mix(in srgb, var(--accent) 35%, transparent),
        0 0 28px color-mix(in srgb, var(--secondary) 22%, transparent);
    pointer-events: none;
    opacity: 0.95;
}

.section-alt {
    background: var(--bg-elevated);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 30px;
    flex-wrap: wrap;
}

.section-header > div:first-child {
    width: 100%;
    text-align: center;
}

.section-header.center {
    justify-content: center;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.4px;
    text-wrap: balance;
    text-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 16%, transparent);
    font-family: 'Vazirmatn', sans-serif;
}

.section-title em {
    display: inline-block;
    margin: 0 .15em;
    padding: 0 .12em;
    color: color-mix(in srgb, var(--secondary) 68%, var(--text));
    text-shadow:
      0 0 10px color-mix(in srgb, var(--secondary) 28%, transparent),
      0 0 22px color-mix(in srgb, var(--accent) 16%, transparent);
}

/* Home-only simpler section headings (Digikala-like compact style) */
.home-page .section-header {
    margin-bottom: 22px;
}

.home-page .cat-strip-section .section-header,
.home-page .showcase-box .section-header {
    margin-bottom: 22px;
}

.home-page .section-header.has-action {
    align-items: center;
}

.home-page .section-header.has-action > div:first-child {
    width: auto;
    text-align: right;
}

.home-page .section-header.has-action .section-action {
    margin-right: auto;
}

.home-page .section-header.right-title > div:first-child {
    width: auto;
    text-align: right;
}

.home-page .section-header.centered-title {
    position: relative;
    justify-content: center;
    text-align: center;
    margin-bottom: 26px;
}

.home-page .section-header.centered-title > div:first-child {
    width: 100%;
    text-align: center;
}

.home-page .section-header.centered-title .section-action {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
}

.home-page .cat-strip-section .section-header.center > div:first-child {
    width: auto;
    margin-inline: auto;
    text-align: center;
}

.nav-group {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.nav-group-trigger {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    white-space: nowrap;
}

.nav-group-trigger:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.nav-group.active > .nav-group-trigger {
    color: var(--text);
}

.nav-submenu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 200;
}

.nav-submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 0;
    left: 0;
    height: 10px;
}

.nav-group:hover .nav-submenu,
.nav-group.open .nav-submenu {
    display: grid;
    gap: 4px;
}

.nav-submenu a {
    display: block;
    padding: 9px 11px;
    border-radius: 10px;
    color: var(--text-secondary);
}

.nav-submenu a:hover {
    background: var(--bg-hover);
    color: var(--text);
}

.home-page .section-title {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    letter-spacing: -0.2px;
    text-shadow: none;
    line-height: 1.35;
}

.home-page .section-title em {
    color: var(--text);
    text-shadow: none;
    font-weight: 700;
}

.home-page .section-eyebrow {
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: .8px;
}

.compact-home .section {
    padding: 30px 0;
}

.compact-home .section + .section {
    padding-top: 20px;
}

.compact-home .products-row-scroll {
    padding-top: 2px;
    padding-bottom: 6px;
}

.section-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: 0.25s;
}

.section-action:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.filter-tabs {
    display: flex;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: 100px;
}

.tab {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 100px;
    transition: 0.25s;
}

.tab.active {
    background: var(--accent);
    color: var(--accent-text);
}

/* ===== COLLECTIONS (NEW) ===== */
.collections {
    padding: 80px 0;
}

.collections-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    height: 480px;
}

.collection-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: white;
    transition: 0.4s;
}

.collection-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.collection-card:hover img {
    transform: scale(1.08);
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
                transparent 30%, 
                rgba(0, 0, 0, 0.4) 60%,
                rgba(0, 0, 0, 0.85) 100%);
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
}

.collection-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 11px;
    margin-bottom: 14px;
}

.collection-content h3 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.collection-card.large .collection-content h3 {
    font-size: 36px;
}

.collection-content p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 18px;
}

.collection-arrow {
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    color: var(--text);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.collection-card:hover .collection-arrow {
    transform: translateX(-6px);
}

/* ===== CATEGORIES ===== */
.cat-strip-section {
    padding-top: 8px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cat-row-scroll {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.cat-row-scroll .cat-item {
    flex: 0 0 224px;
    width: 224px;
    min-width: 224px;
    scroll-snap-align: start;
    border-radius: 16px;
    padding: 18px 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
    text-align: center;
    background: var(--bg-card);
    box-shadow: none;
    animation: catFadeIn .5s ease both;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: 0.2s ease;
    color: var(--text);
}

.cat-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}


.cat-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 18px;
}

.cat-icon img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 6px;
}

.cat-cover {
    width: 96px !important;
    height: 96px !important;
    border-radius: 14px !important;
    border: 0;
    background: var(--bg-subtle);
    box-shadow: none;
}

.cat-row-scroll .cat-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-row-scroll .cat-info {
    width: 100%;
}

.cat-row-scroll .cat-info h4 {
    font-size: 17px;
    margin-bottom: 0;
    line-height: 1.5;
}

.cat-row-scroll .cat-info span {
    font-size: 10px;
}

.cat-row-scroll .cat-arrow {
    display: none;
}

.cat-row-scroll .cat-item:nth-child(1) { animation-delay: .03s; }
.cat-row-scroll .cat-item:nth-child(2) { animation-delay: .08s; }
.cat-row-scroll .cat-item:nth-child(3) { animation-delay: .13s; }
.cat-row-scroll .cat-item:nth-child(4) { animation-delay: .18s; }
.cat-row-scroll .cat-item:nth-child(5) { animation-delay: .23s; }
.cat-row-scroll .cat-item:nth-child(6) { animation-delay: .28s; }
.cat-row-scroll .cat-item:nth-child(7) { animation-delay: .33s; }
.cat-row-scroll .cat-item:nth-child(8) { animation-delay: .38s; }

@keyframes catFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cat-item:hover 
.cat-icon img {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 6px;
}
.cat-info { flex: 1; }

.cat-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.cat-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.cat-arrow {
    color: var(--text-muted);
    font-size: 12px;
    transition: 0.3s;
}

.cat-item:hover .cat-arrow {
    color: var(--text);
    transform: translateX(-4px);
}

/* ===== PRODUCTS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s ease;
}

.product:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.product-media {
    position: relative;
    aspect-ratio: 1;
    background: var(--bg-subtle);
    overflow: hidden;
    padding: 18px;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.product:hover .product-media img {
    transform: scale(1.04);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 0;
    display: grid;
    gap: 4px;
    z-index: 2;
}

.product-badge {
    min-width: 48px;
    padding: 6px 10px;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.product-badge strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}

.product-badge small {
    display: block;
    font-size: 9px;
    font-weight: 600;
    opacity: 0.9;
}

.product-badge.badge-sale {
    background: var(--success);
    color: #fff;
}

.product-badge.badge-best {
    background: var(--text);
    color: var(--bg);
}

.product-fav,
.product-quickview {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 14px;
    transition: 0.2s;
    z-index: 2;
}

.product-fav:hover,
.product-quickview:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.quick-add {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--accent);
    color: var(--accent-text);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 2;
}

.product:hover .quick-add {
    opacity: 1;
    transform: translateY(0);
}

.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    min-height: 18px;
}

.product-cat {
    display: inline-block;
    align-self: flex-start;
    font-size: var(--font-size-xs);
    color: var(--accent);
    background: var(--accent-soft);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2);
}

.product-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 4.2em;
    color: var(--text);
}

.product-name a {
    color: inherit;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 10px;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.price-old {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current {
    display: inline-flex;
    align-items: baseline;
    flex-direction: row-reverse;
    gap: 6px;
    white-space: nowrap;
}

.price {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.curr {
    font-size: 13px;
    color: var(--text-muted);
}

.product-colors {
    display: flex;
    gap: 4px;
}

.product-colors span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    box-shadow: 0 0 0 1px var(--border-strong);
}

/* ===== FEATURE BANNER ===== */
.feature-banner {
    padding: 60px 0;
}

.banner-box {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-banner);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 16px 0 20px;
}

.banner-content > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.banner-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.banner-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.banner-feature i {
    color: var(--success);
    font-size: 16px;
}

.banner-visual {
    position: relative;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow-lg);
}

.banner-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.banner-visual:hover img {
    transform: scale(1.05);
}

/* ===== WHY US ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    padding: 36px 28px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-hover);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--text);
    margin: 0 auto 20px;
    transition: 0.3s;
}

.why-card:hover .why-icon {
    background: var(--accent);
    color: var(--accent-text);
}

.why-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    transition: 0.3s;
}

.testimonial:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}

.quote-rate {
    display: flex;
    gap: 3px;
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 13px;
}

.quote-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--accent-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.quote-author strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.quote-author span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 60px 0 100px;
}

.cta-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: var(--gradient-glow);
    pointer-events: none;
}

.cta-content {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 16px 0 16px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-form {
    display: flex;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    padding: 6px;
    margin-bottom: 16px;
}

.cta-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 18px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
}

.cta-form input::placeholder { color: var(--text-muted); }

.cta-form button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--accent);
    color: var(--accent-text);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.cta-form button:hover { opacity: 0.85; }

.cta-note {
    font-size: 12px;
    color: var(--text-muted);
}

.cta-note a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 80px 0 30px;
}

.footer-highlights {
    background: var(--bg-subtle);
    padding: var(--space-5) 0;
    margin-bottom: var(--space-5);
}

.footer-highlights-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.footer-highlight {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.footer-highlight i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    color: var(--accent);
}

.footer-highlight h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.footer-highlight p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    gap: 80px;
    padding-bottom: 60px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 24px 0;
    line-height: 1.7;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-trust {
    margin-top: 24px;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-trust a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--bg-subtle) 82%, transparent);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.footer-trust a:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.footer-trust-image {
    display: block;
    width: 86px;
    height: auto;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: 0.25s;
}

.footer-social a img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--accent-text);
    border-color: var(--accent);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: 0.2s;
}

.footer-col ul a:hover { color: var(--text); }

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 13px;
}

.contact-list i {
    width: 16px;
    color: var(--text-muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a { transition: 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero .container { grid-template-columns: 1fr; gap: 60px; }
    .hero-showcase { height: 500px; max-width: 500px; margin: 0 auto; width: 100%; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .collections-grid { grid-template-columns: 1fr 1fr; height: auto; }
    .collection-card.large { grid-column: span 2; height: 360px; }
    .collection-card { height: 320px; }
    .banner-box { grid-template-columns: 1fr; padding: 50px; gap: 40px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-highlights-inner { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-trust { justify-self: start; }
}

@media (max-width: 1200px) and (min-width: 901px) {
    .header-inner {
        gap: 20px;
    }

    .logo {
        gap: 10px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 22px;
    }
}

.footer-dnamad {
    min-width: 92px;
    min-height: 92px;
    flex-direction: column;
    gap: 4px;
    color: var(--text);
    text-align: center;
}

.footer-dnamad img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.footer-dnamad i {
    color: var(--accent);
    font-size: 30px;
}

.footer-dnamad strong {
    font-size: 15px;
}

.footer-dnamad small {
    color: var(--text-secondary);
    font-size: 10px;
}

@media (max-width: 1200px) {
    .header-utility { display: none; }
    body { padding-top: var(--header-main-h); }
    body.is-staff-header { padding-top: var(--header-main-h); }
    body.bwdk-ui-enabled { padding-top: calc(var(--header-main-h) + 42px); }

    .header-search { display: none; }
    .header-search-toggle { display: flex; }
    .header-category-trigger span { display: none; }
    .header-category-trigger { padding: 0 var(--space-2); }
    .mega-menu { width: min(320px, 90vw); max-width: calc(100vw - 24px); }

    .main-nav, .signin-btn { display: none; }
    .mobile-toggle { display: flex; }
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-main-h);
        left: 0;
        right: 0;
        width: 100%;
        background: var(--bg);
        padding: 20px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
        max-height: calc(100vh - var(--header-main-h));
        overflow-y: auto;
        z-index: 140;
    }
    .main-nav.active .nav-group {
        width: 100%;
    }
    .main-nav.active .nav-group-trigger {
        width: 100%;
        justify-content: space-between;
        background: var(--bg-hover);
    }
    .main-nav.active .nav-submenu {
        position: static;
        display: none;
        width: 100%;
        margin-top: 6px;
        box-shadow: none;
        border-radius: 12px;
        background: var(--bg-card);
    }
    .main-nav.active .nav-group.open .nav-submenu {
        display: grid;
    }
    .main-nav.active .nav-submenu a {
        padding: 10px 12px;
    }
    .testimonials { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-box { padding: 50px 30px; }
    .section { padding: 56px 0; }
    .hero { padding: 40px 0 70px; }
    .meta-divider { display: none; }
    .hero-meta { flex-wrap: wrap; gap: 20px; }
    .float-1 { right: -10px; }
    .float-2 { left: -10px; }
    .home-page .section-header.centered-title {
        justify-content: space-between;
        text-align: right;
    }
    .home-page .section-header.centered-title .section-action {
        position: static;
        transform: none;
    }
}

@media (max-width: 640px) {
    .container { padding: 0 12px; }
    html { font-size: 16px; }
    body { padding-bottom: 84px; padding-top: 60px; }
    :root { --header-main-h: 60px; }
    main,
    section,
    .container,
    .products-grid,
    .cat-grid,
    .why-grid,
    .footer-cols,
    .footer-top {
        width: 100%;
        max-width: 100%;
    }
    .announcement {
        font-size: 13px;
        padding: 10px 0;
    }
    .announcement a { display: none; }
    .logo-text {
        font-size: 20px;
        letter-spacing: -0.5px;
        white-space: nowrap;
    }
    .icon-action {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .hero-showcase { height: 420px; }
    .collections-grid { grid-template-columns: 1fr; }
    .collection-card.large { grid-column: span 1; height: 280px; }
    .collection-card { height: 240px; }
    .filter-tabs { width: 100%; overflow-x: auto; }
    .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
    .cta-form { flex-direction: column; padding: 12px; }
    .cta-form button { justify-content: center; }
    .icon-action:not(.cart-action):not(#searchToggle) { display: none; }
    .banner-box { padding: 32px 24px; }
    .float-card { padding: 10px 14px; }
    .float-card span { display: none; }

    .slider-wrap {
        width: 100%;
        border-radius: 16px;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        z-index: 120;
        display: flex;
        align-items: stretch;
        justify-content: stretch;
        gap: 6px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        border-radius: 0;
        border-top: 1px solid var(--border-strong);
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: var(--shadow-lg);
        overflow: hidden;
    }

    .mb-item {
        flex: 1 1 0;
        min-width: 0;
        position: relative;
        min-height: 56px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--text-secondary);
        font-size: 11px;
        font-weight: 600;
        transition: 0.2s;
    }

    .mb-item i { font-size: 15px; }

    .mb-item.active {
        color: var(--text);
        background: var(--bg-hover);
    }

    .mb-badge {
        position: absolute;
        top: 5px;
        left: 16px;
        min-width: 18px;
        height: 18px;
        border-radius: 9px;
        padding: 0 5px;
        background: var(--accent);
        color: var(--accent-text);
        font-style: normal;
        font-size: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .footer {
        padding: 52px 0 18px;
    }

    .footer-highlights {
        padding: var(--space-4) 0;
        margin-bottom: 22px;
    }

    .footer-highlights-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-highlight {
        padding: 16px;
        border-radius: 18px;
    }

    .footer-top {
        gap: 26px;
        padding-bottom: 26px;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-desc {
        max-width: 100%;
        text-align: center;
        margin: 14px 0 16px;
        font-size: 13px;
        line-height: 1.8;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-col {
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 12px;
        background: color-mix(in srgb, var(--bg-card) 90%, transparent);
    }

    .footer-col h4 {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .footer-col ul li {
        margin-bottom: 8px;
    }

    .footer-col ul a,
    .contact-list li {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .cat-grid, .products-grid, .why-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .section { padding: 46px 0; }
    .section + .section::before { width: 88%; }
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

::selection { background: var(--accent); color: var(--accent-text); }

/* ===== HOME NEW TOP BANNERS ===== */
.home-top-strip {
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    color: #fff;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 140;
}

.home-top-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
}

.home-top-strip strong {
    background: #fff;
    color: var(--accent);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 13px;
}

body.home-has-top-strip {
    padding-top: 106px;
}

body.home-has-top-strip #header {
    top: 42px;
}

body.bwdk-ui-enabled.home-has-top-strip {
    padding-top: 148px;
}

body.bwdk-ui-enabled.home-has-top-strip #header {
    top: 84px;
}

@media (max-width: 900px) {
    .home-top-strip { top: 0; }
    body.home-has-top-strip {
        padding-top: 100px;
    }
    body.home-has-top-strip #header {
        top: 38px;
    }
}

.home-slider {
    padding: 0;
}

.home-slider--mobile {
    display: none;
}

.slider-wrap {
    position: relative;
    width: calc(100% - 48px);
    max-width: none;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    min-height: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .45s ease;
}

.slide.is-active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-caption {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    transform: none;
    background: color-mix(in srgb, #000 45%, transparent);
    color: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    max-width: min(88%, 420px);
    text-align: right;
}

.slide-caption h2 {
    font-size: clamp(18px, 3vw, 30px);
    margin-bottom: 4px;
}

.slide-caption p {
    font-size: 13px;
    opacity: .9;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--bg-card) 82%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
    color: var(--text);
    box-shadow: 0 10px 24px color-mix(in srgb, #000 18%, transparent);
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: color-mix(in srgb, var(--accent) 22%, var(--bg-card));
    color: var(--accent-text);
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}

.slider-arrow-next {
    right: 14px;
}

.slider-arrow-prev {
    left: 14px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.slider-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.45);
}

.slider-dots button.active {
    background: #fff;
}

.home-mini-banners {
    padding: 10px 0 20px;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mini-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 160px;
}

.mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-card span {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

.festival-bar {
    padding: 8px 0 22px;
}

.festival-inner {
    border: 1px solid var(--border);
    background: linear-gradient(135deg, color-mix(in srgb, var(--secondary) 20%, var(--bg-card)), color-mix(in srgb, var(--accent) 20%, var(--bg-card)));
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.festival-inner strong {
    display: block;
    font-size: 19px;
    margin-bottom: 4px;
}

.festival-inner p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Text on product covers should be top corner */
.collection-content {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: right;
    padding-top: 16px;
}

.collection-card .collection-tag,
.collection-card h3,
.collection-card p {
    margin-right: 8px;
}

@media (max-width: 900px) {
    .mini-grid {
        grid-template-columns: 1fr 1fr;
    }

    .slider-wrap {
        aspect-ratio: 16 / 9;
        min-height: 220px;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
    }

    .slider-arrow-next {
        right: 10px;
    }

    .slider-arrow-prev {
        left: 10px;
    }

    .mini-card {
        min-height: 180px;
    }

    .festival-inner {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Horizontal products row on home */
.products-row-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
}

.products-row-scroll.is-dragging {
    cursor: grabbing;
}

.products-row-scroll.is-dragging a,
.products-row-scroll.is-dragging img {
    pointer-events: none;
}

.products-row-scroll::-webkit-scrollbar {
    height: 8px;
}

.products-row-scroll::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--accent) 45%, var(--border));
    border-radius: 999px;
}

.products-row-scroll .product {
    flex: 0 0 280px;
    min-width: 280px;
    scroll-snap-align: start;
}

@media (max-width: 640px) {
    .home-slider--desktop {
        display: none;
    }

    .home-slider--mobile {
        display: block;
    }

    .slider-wrap {
        width: 100%;
        max-width: 100%;
        background: var(--bg-card);
    }

    .slide img {
        object-fit: cover;
        object-position: center;
    }

    .mini-card {
        background: var(--bg-card);
    }

    .mini-card img {
        object-fit: contain;
        object-position: center;
    }

    .products-row-scroll .product {
        flex: 0 0 46vw;
        min-width: 46vw;
    }
    .products-row-scroll {
        gap: 10px;
    }
}

.brand-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 10px;
}

.brand-pill {
    flex: 0 0 186px;
    height: 148px;
    border: 0;
    border-radius: 14px;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px 10px;
    transition: .2s;
    animation: brandFloat 3.6s ease-in-out infinite;
    will-change: transform;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--bg-subtle) 55%, transparent);
}

.brand-pill:hover {
    transform: translateY(-3px) scale(1.02);
    animation-play-state: paused;
    box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 20%, transparent);
}

.brand-pill img,
.brand-logo-img {
    width: 120px;
    height: 78px;
    object-fit: contain;
    filter: saturate(1.02) contrast(1.03);
}

.brand-logo-fallback {
    width: 120px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 0;
    background: var(--bg-elevated);
    font-weight: 700;
    color: var(--text-secondary);
}

.brand-name {
    display: block;
    max-width: 100%;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-rail .brand-pill:nth-child(2n) { animation-delay: .35s; }
.brand-rail .brand-pill:nth-child(3n) { animation-delay: .7s; }
.brand-rail .brand-pill:nth-child(4n) { animation-delay: 1.05s; }

@keyframes brandFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (max-width: 900px) {
    .products-row-scroll .product {
        flex: 0 0 62vw;
        min-width: 62vw;
    }

    .search-brand-select {
        min-width: 110px;
        font-size: 13px;
    }

    .brand-pill {
        flex-basis: 150px;
        height: 126px;
    }

    .cat-row-scroll .cat-item {
        flex-basis: 56vw;
        width: 56vw;
        min-width: 56vw;
    }
}

@media (max-width: 560px) {
    .products-row-scroll .product {
        flex: 0 0 54vw;
        min-width: 54vw;
    }

    .cat-row-scroll .cat-item {
        flex-basis: 58vw;
        width: 58vw;
        min-width: 58vw;
    }
}


/* Improve readability for lifestyle collection text */
.collections .collection-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.45) 48%, rgba(0,0,0,.78) 100%);
}

.collections .collection-content {
    padding: 18px;
}

.collections .collection-content h3,
.collections .collection-content p,
.collections .collection-tag {
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.collections .collection-content p {
    background: rgba(0,0,0,.24);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    padding: 6px 8px;
    display: inline-block;
    max-width: 95%;
}
