/* ═══════════════════════════════════════════════════════════════
   Mott Global Store — Design System
   Brand palette from https://mottglobaledgeservices.com/
   Primary: #292a7a | Accent: #00adef | Bg-light: #e2f4fe
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* ── Brand ── */
    --primary:        #292a7a;
    --primary-dark:   #010535;
    --primary-mid:    #1e1f5e;
    --primary-hover:  #1a1b5a;
    --accent:         #00adef;
    --accent-hover:   #0090c8;
    --accent-light:   #d9f0fe;
    --bg-light:       #e2f4fe;
    --bg-cream:       #f4f8fd;

    /* ── Semantic ── */
    --success:        #40994A;
    --danger:         #E63946;
    --warning:        #f5a623;
    --white:          #ffffff;
    --text:           #0d0e2c;
    --text-muted:     #5a5a7a;
    --border:         #dce1e6;
    --border-light:   #eef1f5;

    /* ── Typography ── */
    --font-ui:        'Poppins', sans-serif;
    --font-display:   'DM Sans', sans-serif;

    /* ── Spacing / shape ── */
    --radius-sm:      6px;
    --radius:         10px;
    --radius-lg:      18px;
    --shadow-card:    0 1px 2px rgba(41,42,122,.04),
                      0 4px 16px rgba(41,42,122,.07),
                      0 12px 36px rgba(41,42,122,.04);
    --shadow-hover:   0 4px 8px rgba(41,42,122,.06),
                      0 16px 48px rgba(41,42,122,.16),
                      0 40px 80px rgba(41,42,122,.08);
    --shadow-xl:      0 24px 80px rgba(1,5,53,.28);
    --transition:     .24s cubic-bezier(.4,0,.2,1);
    --spring:         .6s cubic-bezier(.22,1,.36,1);
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-ui); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font-ui); }

/* Screen-reader only — visually hidden but accessible to assistive tech */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

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

/* ═══════════════════════════════════════════════════════════════
   SITE HEADER — Two-row: main bar + categories carousel
═══════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
}

/* ── Row 1 · Logo · Search · Actions ────────────────────────── */
.header-main {
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(41,42,122,.07);
}

.header-main-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    height: 64px;
    max-width: 100%;
}

/* Logo */
.header-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.header-logo img {
    height: 48px;
    width: auto;
    display: block;
    transition: opacity var(--transition);
}
.header-logo:hover img { opacity: .82; }

/* Search box */
.header-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-cream);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 0 16px;
    height: 42px;
    max-width: 640px;
    transition: border-color .2s, background .2s, box-shadow .2s;
    cursor: text;
}
.header-search:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(41,42,122,.09);
}
.header-search-icon {
    width: 15px; height: 15px;
    stroke: var(--text-muted);
    fill: none;
    flex-shrink: 0;
    pointer-events: none;
}
.header-search-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text);
    min-width: 0;
}
.header-search-input::placeholder { color: var(--text-muted); }

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    margin-left: auto;
}
.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    cursor: pointer;
    color: rgba(41,42,122,.7);
    border-radius: 50%;
    text-decoration: none;
    position: relative;
    flex-shrink: 0;
    transition: color .18s, background .18s;
}
.header-btn:hover { color: var(--primary); background: var(--bg-cream); }
.header-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }

/* Cart count dot */
.cart-count {
    position: absolute;
    top: 6px; right: 5px;
    background: var(--danger);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 8px;
    padding: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Hamburger — visible on mobile only */
.header-hamburger { display: none; }

/* ── Row 2 · Categories carousel ─────────────────────────────── */
.header-cats {
    background: var(--primary);
    display: flex;
    align-items: stretch;
    height: 46px;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

/* Scroll buttons */
.cats-scroll-btn {
    width: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    border: none;
    color: rgba(255,255,255,.6);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    z-index: 2;
    padding: 0;
}
.cats-scroll-btn:hover:not(:disabled) { background: rgba(255,255,255,.14); color: #fff; }
.cats-scroll-btn:disabled { opacity: .25; cursor: default; }
.cats-scroll-btn svg { width: 18px; height: 18px; }

/* Scrollable track */
.cats-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent 100%);
}
.cats-track {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 46px;
    scroll-behavior: smooth;
}
.cats-track::-webkit-scrollbar { display: none; }

/* Category items */
.cats-item {
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    position: relative;
}
.cats-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 18px;
    color: rgba(255,255,255,.75);
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: color .18s, background .18s;
    position: relative;
    height: 46px;
}
.cats-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .22s ease;
}
.cats-item:hover .cats-link,
.cats-item.active .cats-link { color: #fff; }
.cats-item:hover .cats-link::after,
.cats-item.active .cats-link::after { transform: scaleX(1); }

.cats-chevron {
    width: 11px; height: 11px;
    transition: transform .22s ease;
    flex-shrink: 0;
    opacity: .6;
}
.cats-item.has-sub:hover .cats-chevron { transform: rotate(180deg); opacity: 1; }

/* ── Sub-menu dropdown panel ─────────────────────────────────── */
.cats-panel {
    display: none;
    position: absolute;
    top: 100%;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 12px 40px rgba(41,42,122,.15), 0 4px 12px rgba(41,42,122,.08);
    min-width: 210px;
    max-width: 280px;
    z-index: 100;
    padding: 6px 0;
    animation: panelIn .14s ease;
}
.cats-panel.open { display: block; }

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

.cats-panel-list { list-style: none; margin: 0; padding: 0; }
.cats-panel-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 13.5px;
    color: var(--text);
    text-decoration: none;
    transition: background .12s, color .12s;
}
.cats-panel-list li a::before { content: '›'; color: var(--accent); font-size: 16px; line-height: 1; }
.cats-panel-list li a:hover { background: var(--bg-cream); color: var(--primary); }
.cats-panel-list li.active a { color: var(--primary); font-weight: 600; background: var(--accent-light); }

/* ── Live search results panel ───────────────────────────────── */
.search-results-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 24px 60px rgba(41,42,122,.14), 0 4px 16px rgba(41,42,122,.07);
    max-height: 520px;
    overflow-y: auto;
    z-index: 9;
    display: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.search-results-panel.open {
    display: block;
    animation: srFadeIn .18s ease;
}
@keyframes srFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.sr-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 20px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
    transition: background .12s ease;
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover, .sr-item.focused { background: var(--bg-cream); }
.sr-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: var(--border-light);
}
.sr-body { flex: 1; display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.sr-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .6px;
}
.sr-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sr-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    white-space: nowrap;
}
.sr-footer {
    display: flex;
    justify-content: center;
    padding: 12px 20px;
    border-top: 1px solid var(--border-light);
}
.sr-footer a {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    transition: color .15s ease;
}
.sr-footer a:hover { color: var(--primary); }
.sr-empty {
    padding: 28px 20px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}
.sr-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 28px;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
}
.sr-spinner {
    width: 18px; height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: srSpin .6s linear infinite;
    flex-shrink: 0;
}
@keyframes srSpin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════════════════ */
.shop-breadcrumb {
    padding: 11px 0;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
}
.shop-breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.shop-breadcrumb a:hover { color: var(--primary); }
.shop-breadcrumb .sep { margin: 0 7px; color: var(--border); }
.shop-breadcrumb span:last-child { color: var(--primary); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   STOREFRONT HOMEPAGE
═══════════════════════════════════════════════════════════════ */

/* ── Hero Slider ─────────────────────────────────────────────── */
.shop-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--primary-dark);
}
.hero-track { display: flex; width: 100%; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.hero-slide-inner {
    display: flex;
    align-items: center;
    min-height: clamp(520px, 62vh, 760px);
    position: relative;
    z-index: 2;
}
.hero-slide-content {
    width: 54%;
    max-width: 620px;
    padding: 80px 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,173,239,.2);
    border: 1px solid rgba(0,173,239,.5);
    color: #7ee8ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
    width: fit-content;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.hero-label::before { content: '●'; font-size: 8px; }
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 62px);
    font-weight: 800;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -.8px;
    text-shadow: 0 2px 24px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.4);
}
.hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,.82);
    margin-bottom: 44px;
    max-width: 420px;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 15px 34px;
    border-radius: 50px;
    transition: all var(--transition);
    letter-spacing: .3px;
    width: fit-content;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.hero-cta::after { content: '→'; font-size: 16px; transition: transform var(--transition); }
.hero-cta:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,173,239,.45); }
.hero-cta:hover::after { transform: translateX(5px); }

/* Full-bleed image — absolutely positioned behind content */
.hero-slide-graphic {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}
.hero-slide-graphic::before { display: none; }
.hero-slide-graphic img {
    position: absolute;
    inset: 0;
    width: 100%;
    /* Extra height so parallax movement stays within bounds */
    height: 115%;
    top: -7.5%;
    object-fit: cover;
    object-position: center right;
    filter: none;
    animation: none;
    will-change: transform;
}

/* Two-layer overlay: light black tint + left gradient for text legibility */
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.15) 100%),
        linear-gradient(
            105deg,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.55) 30%,
            rgba(0,0,0,.28) 55%,
            rgba(0,0,0,.06) 80%,
            transparent 100%
        );
    pointer-events: none;
    z-index: 1;
}
.hero-slide:not(:has(img))::after {
    background: linear-gradient(
        105deg,
        rgba(0,0,0,.55) 0%,
        rgba(0,0,0,.28) 60%,
        transparent 100%
    );
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* Hero arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 10;
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}
.hero-dot.active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ── Section scaffolding ─────────────────────────────────────── */
.storefront-section { padding: 88px 50px; }
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.6px;
    line-height: 1.1;
}
.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 400;
}
.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 52px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}
.section-view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition), color var(--transition);
    white-space: nowrap;
    padding-bottom: 2px;
}
.section-view-all::after { content: '→'; }
.section-view-all:hover { gap: 12px; color: var(--primary); }

/* ── Categories grid ─────────────────────────────────────────── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}
.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    transition: transform var(--spring);
    cursor: pointer;
}
.cat-tile:hover { transform: translateY(-8px); }
.cat-tile-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 2px solid transparent;
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition), box-shadow var(--spring), transform var(--spring);
}
.cat-tile:hover .cat-tile-img {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: scale(1.03);
}
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile-icon { font-size: 44px; }
.cat-tile-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    transition: color var(--transition);
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.cat-tile:hover .cat-tile-name { color: var(--primary); }

/* ── Promo banners ───────────────────────────────────────────── */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.promo-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    padding: 32px;
    color: var(--white);
    transition: transform var(--transition);
}
.promo-banner:hover { transform: scale(1.01); }
.promo-banner-content { position: relative; z-index: 2; }
.promo-banner h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.promo-banner p  { font-size: 13px; opacity: .8; margin-bottom: 16px; }
.promo-cta {
    display: inline-block;
    background: rgba(255,255,255,.2);
    border: 1.5px solid rgba(255,255,255,.5);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    transition: all var(--transition);
}
.promo-cta:hover { background: rgba(255,255,255,.35); }

/* ── Featured / New Arrivals ─────────────────────────────────── */
.products-grid--5 { grid-template-columns: repeat(5, 1fr); }
.featured-section  { }
.arrivals-section  { background: var(--bg-cream); }

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD
═══════════════════════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: border-color var(--spring), box-shadow var(--spring), transform var(--spring);
}
.product-card:hover {
    border-color: rgba(41,42,122,.18);
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

.product-card-img {
    position: relative;
    padding-top: 72%;
    background: #fff;
    overflow: hidden;
}
.product-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform var(--transition);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

/* Badges */
.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}
.badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--white);
    letter-spacing: .3px;
    text-transform: uppercase;
}
.badge-sale     { background: var(--danger); }
.badge-new      { background: var(--success); }
.badge-outstock { background: #999; }

/* Wishlist */
.card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 2;
    opacity: 0;
}
.product-card:hover .card-wishlist { opacity: 1; }
.card-wishlist:hover { background: var(--danger); border-color: var(--danger); }
.card-wishlist svg { width: 14px; height: 14px; stroke: var(--text-muted); fill: none; stroke-width: 2; transition: stroke var(--transition); }
.card-wishlist:hover svg { stroke: var(--white); }

/* Card body */
.product-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 5px;
}
.card-brand { font-size: 11px; color: var(--accent); font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.card-name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-name a { color: inherit; }
.card-name a:hover { color: var(--primary); }

/* Price */
.card-price { margin-top: 4px; }
.card-price del { font-size: 13px; color: var(--text-muted); display: block; }
.card-price del .amount { text-decoration: line-through; }
.card-price ins { text-decoration: none; display: block; }
.card-price ins .amount,
.card-price > .amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
    font-family: var(--font-display);
}
.card-price .woocommerce-Price-currencySymbol { font-size: 13px; }

/* ATC button */
.card-atc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: .2px;
}
.card-atc::before { content: '+'; font-size: 16px; font-weight: 300; }
.card-atc:hover { background: var(--accent); border-color: var(--accent); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,173,239,.3); }
.card-atc.sold-out, .card-atc:disabled {
    background: var(--white);
    border-color: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}
.card-atc.sold-out::before { content: '✕'; }
.card-atc.sold-out:hover { background: var(--white); border-color: var(--border); color: var(--text-muted); transform: none; box-shadow: none; }

/* ═══════════════════════════════════════════════════════════════
   SHOP ARCHIVE (CATEGORY PAGE)
═══════════════════════════════════════════════════════════════ */
.shop-wrap { padding: 0 0 60px; }
.shop-layout { display: flex; gap: 28px; align-items: flex-start; padding-top: 24px; }

/* Sidebar */
.shop-sidebar { width: 230px; flex-shrink: 0; position: sticky; top: 120px; }
.sidebar-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    padding: 5px 14px;
    margin-bottom: 20px;
    transition: all var(--transition);
    font-weight: 600;
}
.sidebar-clear:hover { background: var(--primary); color: var(--white); }

.sidebar-widget {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 18px;
    margin-bottom: 18px;
}
.sidebar-widget:last-child { border-bottom: none; }
.sidebar-widget-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-bottom: 18px;
}

.filter-list li {
    display: flex;
    align-items: center;
    padding: 5px 0;
    border-radius: var(--radius-sm);
}
.filter-list li a {
    flex: 1;
    font-size: 13px;
    color: var(--text);
    transition: color var(--transition);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.filter-list li a:hover { color: var(--primary); background: var(--bg-light); }
.filter-list li.active a { color: var(--primary); font-weight: 600; background: var(--accent-light); }
.filter-count { font-size: 11px; color: var(--text-muted); margin-left: 4px; }

/* Shop main */
.shop-main { flex: 1; min-width: 0; }

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 22px;
}
.shop-toolbar-left { display: flex; align-items: baseline; gap: 12px; }
.shop-title { font-size: 26px; font-weight: 800; color: var(--primary); font-family: var(--font-display); letter-spacing: -.4px; }
.woocommerce-result-count { font-size: 14px; color: var(--text-muted); margin: 0; }
.shop-toolbar-right { }
.woocommerce-ordering select,
.shop-toolbar-right select {
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 7px 14px;
    font-size: 12.5px;
    outline: none;
    cursor: pointer;
    background: var(--white);
    color: var(--text);
    font-weight: 500;
    appearance: auto;
    font-family: var(--font-ui);
}

/* Pagination */
.shop-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}
.shop-pagination .page-numbers:hover { border-color: var(--primary); background: var(--bg-light); color: var(--primary); }
.shop-pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: var(--white); }
.shop-pagination .page-numbers.dots { border: none; }

/* No products */
.no-products { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.no-products p { font-size: 16px; margin-bottom: 16px; }
.no-products a { display: inline-block; background: var(--primary); color: var(--white); padding: 11px 28px; border-radius: 50px; font-size: 13px; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE PRODUCT
═══════════════════════════════════════════════════════════════ */
.single-product-wrap { padding: 0 0 60px; }
.single-product-layout { display: flex; gap: 52px; margin: 28px 0 48px; align-items: flex-start; }

/* Gallery */
.single-gallery { display: flex; gap: 14px; width: 460px; flex-shrink: 0; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; width: 80px; flex-shrink: 0; }
.gallery-thumb {
    width: 80px; height: 80px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: border-color var(--transition);
    flex-shrink: 0;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.gallery-main-wrap { flex: 1; }
.gallery-main-image {
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1;
    cursor: zoom-in;
}
.gallery-main-image img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }

/* Product info */
.single-product-info { flex: 1; padding-top: 4px; }
.single-brand-cat { font-size: 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.single-brand-cat a { color: var(--accent); font-weight: 600; letter-spacing: .3px; }
.single-brand-cat .sep { color: var(--border); }

.single-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -.5px;
}
.single-sku { font-size: 11.5px; color: var(--text-muted); margin-bottom: 20px; letter-spacing: .3px; }

/* Stock pill */
.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.stock-pill.instock  { background: #e6f5e9; color: var(--success); }
.stock-pill.outstock { background: #fce8e8; color: var(--danger);  }
.stock-pill::before  { content: '●'; font-size: 8px; }

.single-price { margin-bottom: 28px; padding: 16px 20px; background: var(--bg-cream); border-radius: var(--radius); border-left: 4px solid var(--primary); }
.single-price .price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.single-price del { font-size: 15px; color: var(--text-muted); }
.single-price ins { text-decoration: none; }
.single-price ins .amount,
.single-price .amount {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
    letter-spacing: -1px;
    line-height: 1;
}

/* Add to cart */
.single-add-to-cart-form { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.qty-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    background: var(--white);
    flex-shrink: 0;
}
.qty-btn {
    background: none;
    border: none;
    width: 40px;
    height: 46px;
    font-size: 18px;
    cursor: pointer;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    font-weight: 400;
}
.qty-btn:hover { background: var(--bg-light); }
.qty-input {
    width: 50px;
    height: 46px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    outline: none;
    -moz-appearance: textfield;
    background: var(--white);
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.single-atc-btn {
    flex: 1;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: .2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.single-atc-btn::before { content: '+'; font-size: 18px; font-weight: 400; }
.single-atc-btn:hover { background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 20px rgba(0,173,239,.3); }

.single-wishlist-btn {
    width: 48px; height: 48px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}
.single-wishlist-btn:hover { background: var(--danger); border-color: var(--danger); }
.single-wishlist-btn svg { width: 18px; height: 18px; stroke: var(--text-muted); fill: none; stroke-width: 2; transition: stroke var(--transition); }
.single-wishlist-btn:hover svg { stroke: var(--white); }

/* Tabs */
.product-info-tabs { margin-top: 48px; border-top: 2px solid var(--border-light); }
.tab-list { display: flex; gap: 4px; padding: 0 0 0; margin-top: -2px; border-bottom: 2px solid var(--border-light); }
.tab-btn {
    padding: 14px 24px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    color: var(--text-muted);
    transition: all var(--transition);
    letter-spacing: .2px;
}
.tab-btn.active  { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover:not(.active) { color: var(--primary); }
.tab-content { padding: 32px 0; }
.tab-pane { display: none; font-size: 14px; line-height: 1.8; color: #444; }
.tab-pane.active { display: block; }
.tab-pane ul { padding-left: 20px; list-style: disc; }
.tab-pane ul li { margin-bottom: 6px; }
.tab-pane h3 { font-size: 15px; font-weight: 700; margin: 22px 0 10px; color: var(--primary); }

.attr-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.attr-table th,
.attr-table td { padding: 11px 16px; border: 1px solid var(--border-light); text-align: left; }
.attr-table th { background: var(--bg-cream); font-weight: 600; width: 36%; color: var(--primary); font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.attr-table tr:nth-child(even) td { background: #fafbff; }

/* Related products */
.related-section { padding: 48px 0; border-top: 2px solid var(--border-light); }
.related-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer { background: var(--primary-dark); color: var(--white); margin-top: 80px; }

.footer-top { padding: 56px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 52px;
    padding: 0px 48px;
}
.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.75; max-width: 280px; }

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.footer-link-list li { margin-bottom: 11px; }
.footer-link-list a { font-size: 13px; color: rgba(255,255,255,.65); transition: color var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-link-list a:hover { color: var(--white); }
.footer-link-list a::before { content: '›'; color: var(--accent); font-size: 16px; line-height: 1; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a, .footer-contact-item span { font-size: 13px; color: rgba(255,255,255,.65); transition: color var(--transition); line-height: 1.4; }
.footer-contact-item a:hover { color: var(--white); }

.footer-bar {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bar p { font-size: 12px; color: rgba(255,255,255,.35); }
.footer-bar-links { display: flex; gap: 24px; }
.footer-bar-links a { font-size: 12px; color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-bar-links a:hover { color: rgba(255,255,255,.7); }

/* Footer accent bar at top */
.site-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}

/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE PAGES — Cart · Checkout · Account
═══════════════════════════════════════════════════════════════ */

/* ── Page wrapper ───────────────────────────────────────────── */
.wc-page-wrap { padding: 44px 44px 96px; min-height: 60vh; }
.woocommerce-page h1.page-title { display: none; }

/* ── WC Notices ─────────────────────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 13.5px;
    font-weight: 500;
    list-style: none;
}
.woocommerce-message { background: #e9f7ec; border-left: 4px solid var(--success); color: #1f6b26; }
.woocommerce-info    { background: var(--accent-light); border-left: 4px solid var(--accent); color: #0a6c8a; }
.woocommerce-error   { background: #fde8ea; border-left: 4px solid var(--danger); color: #b00020; }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }
.woocommerce-message a.button,
.woocommerce-info a.button { margin-left: auto; white-space: nowrap; }
.woocommerce-error li { margin: 0; }

/* ── Shared button style ────────────────────────────────────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce input[type="submit"],
.woocommerce button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    padding: 11px 28px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    font-family: var(--font-ui);
    letter-spacing: .2px;
    text-decoration: none;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce input[type="submit"]:hover,
.woocommerce button[type="submit"]:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: var(--accent); border-color: var(--accent); }
.woocommerce a.button.alt:hover { background: var(--primary); border-color: var(--primary); }

/* ── Shared form inputs ─────────────────────────────────────── */
.woocommerce form .form-row { margin-bottom: 18px; }
.woocommerce form .form-row label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.woocommerce form .form-row label .required { color: var(--danger); margin-left: 2px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="password"],
.woocommerce form input[type="tel"],
.woocommerce form select {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-ui);
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form input[type="text"]:focus,
.woocommerce form input[type="email"]:focus,
.woocommerce form input[type="password"]:focus,
.woocommerce form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(41,42,122,.1);
}
.woocommerce form .form-row-first,
.woocommerce form .form-row-last { float: left; width: 47%; }
.woocommerce form .form-row-first { margin-right: 6%; }
.woocommerce form .form-row::after { content: ''; display: table; clear: both; }

/* ── Shared table ───────────────────────────────────────────── */
table.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--white);
}
table.shop_table th {
    padding: 13px 16px;
    border-bottom: 2px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-muted);
    text-align: left;
}
table.shop_table td {
    padding: 18px 16px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
table.shop_table tbody tr:last-child td { border-bottom: none; }
table.shop_table .product-name a { font-weight: 600; color: var(--text); }
table.shop_table .product-name a:hover { color: var(--primary); }
table.shop_table tfoot th,
table.shop_table tfoot td { border-bottom: 1px solid var(--border-light); font-size: 13px; color: var(--text); }
table.shop_table tfoot tr:last-child th,
table.shop_table tfoot tr:last-child td { border-bottom: none; }
table.shop_table .order-total th,
table.shop_table .order-total td { font-weight: 700; }
.order-total .amount { font-size: 22px; font-weight: 800; color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   CART PAGE
══════════════════════════════════════════════════════════════ */

/* Empty cart */
.cart-empty-state {
    text-align: center;
    padding: 80px 24px;
}
.cart-empty-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    background: var(--bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.cart-empty-icon svg { width: 44px; height: 44px; }
.cart-empty-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
    margin-bottom: 10px;
    letter-spacing: -.3px;
}
.cart-empty-sub {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 380px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.cart-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: background var(--transition);
}
.cart-empty-btn:hover { background: var(--accent); color: #fff; }

/* Cart table */
.woocommerce-cart-form { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); }
.woocommerce-cart-form table.shop_table { border: none; }
.woocommerce td.product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.woocommerce td.product-remove { width: 32px; }
.woocommerce td.product-remove a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border-light);
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}
.woocommerce td.product-remove a:hover { background: var(--danger); color: #fff; }
.woocommerce td.product-name dl.variation { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.woocommerce td.product-name dl.variation dt { font-weight: 600; }

/* Quantity input */
.quantity { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: 50px; overflow: hidden; width: fit-content; }
.quantity .qty {
    width: 48px;
    border: none;
    padding: 8px 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-ui);
    outline: none;
    background: transparent;
    -moz-appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Cart actions row */
.woocommerce-cart-form .actions {
    background: var(--bg-cream);
    padding: 16px 20px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.woocommerce-cart-form .actions .coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 240px;
}
.woocommerce-cart-form .actions .coupon .input-text {
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 13px;
    font-family: var(--font-ui);
    outline: none;
    transition: border-color var(--transition);
    width: 200px;
}
.woocommerce-cart-form .actions .coupon .input-text:focus { border-color: var(--primary); }
.woocommerce-cart-form .actions .coupon .button { font-size: 12px; padding: 10px 20px; }
.woocommerce-cart-form .actions button[name="update_cart"] { font-size: 12px; padding: 10px 20px; opacity: .5; }
.woocommerce-cart-form .actions button[name="update_cart"]:not(:disabled) { opacity: 1; }

/* Cart collaterals — totals on right, cross-sells below */
.cart-collaterals {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    margin-top: 48px;
}
.cross-sells { flex: 1; min-width: 0; }
.cross-sells h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
    font-family: var(--font-display);
    letter-spacing: -.3px;
}
.cart_totals {
    flex: 0 0 360px;
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--border-light);
}
.cart_totals:only-child { margin-left: auto; }
.cart_totals h2 {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: var(--font-display);
    letter-spacing: -.2px;
}
.cart_totals table.shop_table { border: none; box-shadow: none; border-radius: 0; }
.cart_totals table.shop_table td,
.cart_totals table.shop_table th { padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.cart_totals table.shop_table tr:last-child td,
.cart_totals table.shop_table tr:last-child th { border-bottom: none; }
.cart_totals .wc-proceed-to-checkout { margin-top: 20px; }
.woocommerce a.checkout-button,
.woocommerce .wc-proceed-to-checkout a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    padding: 15px 24px;
    font-weight: 700;
    border-radius: 50px;
    font-size: 14px;
    transition: background var(--transition), border-color var(--transition);
    text-decoration: none;
    margin-top: 4px;
}
.woocommerce a.checkout-button:hover,
.woocommerce .wc-proceed-to-checkout a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Shipping calculator */
.woocommerce-shipping-calculator .shipping-calculator-button { font-size: 13px; color: var(--accent); font-weight: 500; text-decoration: none; }
.shipping-calculator-form { margin-top: 12px; }

/* ══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════════════════════════════ */
.woocommerce-checkout .woocommerce {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}
.woocommerce-checkout .woocommerce .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { float: none; width: auto; margin: 0; }
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review { float: none; width: auto; }
.woocommerce-checkout .col2-set { display: contents; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { float: none; width: auto; }

.woocommerce-checkout h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-display);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 22px;
    letter-spacing: -.1px;
}
.woocommerce-checkout #order_review_heading { font-size: 15px; font-weight: 800; color: var(--primary); font-family: var(--font-display); padding-bottom: 12px; border-bottom: 2px solid var(--border-light); margin-bottom: 22px; }
.woocommerce-checkout #order_review { background: var(--bg-cream); border-radius: var(--radius-lg); padding: 28px 24px; border: 1px solid var(--border-light); }
.woocommerce-checkout #order_review table.shop_table { border: none; box-shadow: none; background: transparent; }
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td { padding: 10px 0; }
.woocommerce-checkout #order_review table.shop_table tfoot .order-total .amount { font-size: 20px; }

#payment {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    margin-top: 20px;
    box-shadow: var(--shadow-card);
}
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 20px; }
#payment ul.payment_methods li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}
#payment ul.payment_methods li:last-child { border-bottom: none; }
#payment ul.payment_methods li label { cursor: pointer; font-weight: 500; display: flex; align-items: center; gap: 8px; }
#payment ul.payment_methods li input[type="radio"] { accent-color: var(--primary); }
#payment ul.payment_methods li .payment_box {
    background: var(--bg-cream);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
}
#payment .place-order { padding-top: 0; }
#payment .place-order #place_order {
    display: block;
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-ui);
    transition: background var(--transition);
    text-align: center;
    letter-spacing: -.1px;
}
#payment .place-order #place_order:hover { background: var(--accent); }
.woocommerce-terms-and-conditions-wrapper { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.woocommerce-terms-and-conditions-wrapper a { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   MY ACCOUNT PAGE
══════════════════════════════════════════════════════════════ */

/* Logged-out: login + register centred, no sidebar */
.woocommerce-account:not(.logged-in) .woocommerce {
    display: block;
    max-width: 680px;
    margin: 0 auto;
}

/* Logged-in: sidebar nav + content grid */
.woocommerce-account.logged-in .woocommerce {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 44px;
    align-items: start;
}
.woocommerce-MyAccount-navigation { float: none; width: auto; margin: 0; }
.woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-account .woocommerce::after { display: none; }

/* Account nav */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
    margin-bottom: 2px;
    text-decoration: none;
}
.woocommerce-MyAccount-navigation ul li a:hover { background: var(--bg-cream); color: var(--primary); }
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--is-active a {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

/* Login / Register (col2-set layout) */
.woocommerce-account .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.woocommerce-account .col2-set::after { display: none; }
.u-column1, .u-column2 { float: none; width: auto; }
.woocommerce-form-login,
.woocommerce-form-register {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
}
.woocommerce-form-login h2,
.woocommerce-form-register h2,
.woocommerce form h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
    font-family: var(--font-display);
    letter-spacing: -.3px;
}
.woocommerce form p.form-row { margin-bottom: 16px; }
.woocommerce form .lost_password { font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.woocommerce form .lost_password a { color: var(--accent); }
.woocommerce form .lost_password a:hover { color: var(--primary); }
.woocommerce-privacy-policy-text { font-size: 12px; color: var(--text-muted); margin-top: 14px; line-height: 1.6; }
.woocommerce-privacy-policy-text a { color: var(--accent); }

/* Account dashboard */
.woocommerce-MyAccount-content p { font-size: 14px; line-height: 1.7; color: var(--text); margin-bottom: 16px; }
.woocommerce-MyAccount-content a { color: var(--accent); font-weight: 500; }
.woocommerce-MyAccount-content a:hover { color: var(--primary); }

/* Orders table */
.woocommerce-orders-table {
    font-size: 13.5px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
}
.woocommerce-orders-table th { background: var(--bg-cream); }
.woocommerce-orders-table .button { font-size: 12px; padding: 7px 16px; }

/* Customer details / address */
.woocommerce-account .woocommerce-customer-details address {
    font-style: normal;
    font-size: 13.5px;
    line-height: 1.9;
    background: var(--bg-cream);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}
.woocommerce-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce-addresses .col-1,
.woocommerce-addresses .col-2 { float: none; width: auto; }
.woocommerce-addresses::after { display: none; }
.woocommerce-addresses h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 14px; font-family: var(--font-display); }
.woocommerce-addresses address { font-style: normal; font-size: 14px; line-height: 1.8; color: var(--text); background: var(--bg-cream); padding: 20px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border-light); }
.woocommerce-addresses .edit { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--accent); }

/* Account form (edit details) */
.woocommerce-EditAccountForm .woocommerce-form-row { margin-bottom: 20px; }

/* ── Cross-sells grid inside cart ─────────────────────────── */
.cross-sells .products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.cross-sells .product { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; padding: 0; }

/* ── Return to shop ─────────────────────────────────────────── */
.woocommerce p.return-to-shop { margin-top: 24px; text-align: center; }
.woocommerce p.return-to-shop .button { display: inline-flex; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .products-grid      { grid-template-columns: repeat(4, 1fr); }
    .products-grid--5   { grid-template-columns: repeat(4, 1fr); }
    .cat-grid           { grid-template-columns: repeat(6, 1fr); }
    .related-grid       { grid-template-columns: repeat(5, 1fr); }
    .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 960px) {
    /* Hide scroll buttons on touch — native swipe handles it */
    .cats-scroll-btn    { display: none; }
    .cats-track-wrap    { mask-image: none; -webkit-mask-image: none; }
    .hero-slide-inner   { min-height: 400px; }
    .hero-slide-content { width: 70%; }
    .shop-layout        { flex-direction: column; }
    .shop-sidebar       { width: 100%; position: static; }
    .products-grid      { grid-template-columns: repeat(3, 1fr); }
    .products-grid--5   { grid-template-columns: repeat(3, 1fr); }
    .cat-grid           { grid-template-columns: repeat(4, 1fr); }
    .single-product-layout { flex-direction: column; }
    .single-gallery     { width: 100%; max-width: 460px; }
    .related-grid       { grid-template-columns: repeat(4, 1fr); }
    .promo-grid         { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    /* Search wraps below logo+icons on small screens */
    .header-main-inner  { flex-wrap: wrap; height: auto; padding: 10px 16px 8px; gap: 10px; }
    .header-logo        { order: 1; }
    .header-actions     { order: 2; margin-left: auto; }
    .header-search      { order: 3; flex: 0 0 100%; max-width: 100%; }

    .cats-link          { padding: 0 14px; font-size: 13px; }

    .products-grid      { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .products-grid--5   { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-grid           { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .related-grid       { grid-template-columns: repeat(2, 1fr); }
    .footer-grid        { grid-template-columns: 1fr; gap: 28px; }
    /* Hero: proportional height via vw so it's never taller than it is wide */
    .hero-slide-inner   { min-height: 62vw; align-items: flex-end; }
    /* Full-width text at bottom, trim the heavy desktop padding */
    .hero-slide-content { width: 100%; max-width: 100%; padding: 0 24px 32px; }
    /* Bottom-up gradient: text is now at the bottom, not the left */
    .hero-slide::after  {
        background: linear-gradient(
            to top,
            rgba(0,0,0,.88) 0%,
            rgba(0,0,0,.55) 40%,
            rgba(0,0,0,.18) 65%,
            transparent 100%
        );
    }
    /* Typography hierarchy: headline dominant, sub readable, CTA distinct */
    .hero-label         { display: none; }
    .hero-headline      { font-size: 26px; line-height: 1.12; letter-spacing: -.3px; margin-bottom: 6px; }
    .hero-sub           { font-size: 13px; line-height: 1.5; margin-bottom: 18px; max-width: 100%; }
    .hero-cta           { font-size: 13px; padding: 11px 22px; }
    .section-heading    { font-size: 28px; }
    .single-title       { font-size: 26px; }
    .footer-grid        { gap: 24px; }
    .single-price ins .amount, .single-price .amount { font-size: 32px; }
    .storefront-section { padding: 56px 0; }

    /* ATC button: compact on mobile */
    .card-atc { font-size: 11px; padding: 8px 10px; gap: 4px; letter-spacing: 0; }
    .card-atc::before { font-size: 14px; }
    .card-name { font-size: 13px; }
    .card-price ins .amount { font-size: 15px; }

    /* Category tiles: 3 columns on small screens */
    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .cat-tile { gap: 8px; }
    .cat-tile-name { font-size: 11px; min-height: 2.2em; }
    .cat-tile-img { border-radius: var(--radius); }

    /* Checkout/account narrow */
    .woocommerce-checkout .woocommerce { grid-template-columns: 1fr; }
    .woocommerce-account .col2-set { grid-template-columns: 1fr; }
    .woocommerce-account.logged-in .woocommerce { grid-template-columns: 1fr; }
    .woocommerce-addresses { grid-template-columns: 1fr; }
    .cart-collaterals { flex-direction: column; }
    .cart_totals { flex: none; width: 100%; }
    .wc-page-wrap { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 420px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .hero-slide-inner   { min-height: 64vw; }
    .hero-slide-content { padding: 0 18px 24px; }
    .hero-headline { font-size: 22px; }
    .hero-sub { font-size: 12px; margin-bottom: 14px; }
    .hero-cta { font-size: 12px; padding: 10px 18px; }
    .s-container { padding: 0 16px; }
    .wc-page-wrap { padding-left: 16px; padding-right: 16px; }
    .card-atc { font-size: 10px; padding: 7px 8px; }
    .card-atc::before { content: none; }
}

/* ── Mobile nav drawer ───────────────────────────────────────── */
@media (max-width: 960px) {
    .header-hamburger { display: flex; }
}

/* Drawer overlay */
.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1,5,53,.5);
    backdrop-filter: blur(4px);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
}
.nav-drawer-overlay.open { opacity: 1; pointer-events: auto; }

/* Drawer panel */
.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 88vw;
    background: var(--white);
    z-index: 301;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .32s cubic-bezier(.22,1,.36,1);
    box-shadow: 4px 0 40px rgba(1,5,53,.18);
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}
.nav-drawer-header img { height: 36px; width: auto; }
.nav-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border: none;
    background: var(--border-light);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text);
    transition: background var(--transition);
}
.nav-drawer-close:hover { background: var(--border); }
.nav-drawer-close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }

.nav-drawer-body { flex: 1; overflow-y: auto; padding: 12px 0; }
.nav-drawer-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--text-muted);
    padding: 16px 20px 6px;
}
.nav-drawer-links { list-style: none; padding: 0; margin: 0; }
.nav-drawer-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition), color var(--transition);
}
.nav-drawer-links li a:hover { background: var(--bg-cream); color: var(--primary); }
.nav-drawer-links li.active a { color: var(--primary); font-weight: 700; background: var(--bg-cream); }
.nav-drawer-links li a .drawer-arrow { margin-left: auto; font-size: 12px; color: var(--text-muted); }

/* Drawer accordion items */
.nav-drawer-item { border-bottom: 1px solid var(--border-light); }
.nav-drawer-item:last-child { border-bottom: none; }
.nav-drawer-row {
    display: flex;
    align-items: center;
}
.nav-drawer-row > a {
    flex: 1;
    display: block;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
}
.nav-drawer-row > a:hover { color: var(--primary); }
.nav-drawer-item.active .nav-drawer-row > a { color: var(--primary); font-weight: 700; }

.nav-drawer-expand {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition), transform .22s ease;
}
.nav-drawer-expand svg { width: 16px; height: 16px; }
.nav-drawer-item.expanded .nav-drawer-expand { transform: rotate(180deg); color: var(--primary); }

.nav-drawer-sub {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0 0 6px 0;
    background: var(--bg-cream);
}
.nav-drawer-sub li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px 9px 32px;
    font-size: 13.5px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}
.nav-drawer-sub li a::before { content: '›'; color: var(--accent); font-size: 15px; }
.nav-drawer-sub li a:hover { color: var(--primary); }
.nav-drawer-sub li.active a { color: var(--primary); font-weight: 600; }

.nav-drawer-footer {
    border-top: 1px solid var(--border-light);
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.nav-drawer-footer a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-cream);
    text-decoration: none;
    transition: background var(--transition);
}
.nav-drawer-footer a:hover { background: var(--bg-light); }
.nav-drawer-footer svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ═══════════════════════════════════════════════════════════════
   SCROLL-REVEAL & PARALLAX ANIMATION SYSTEM
   Driven by store.js IntersectionObserver
═══════════════════════════════════════════════════════════════ */

/* Base reveal — fade up */
.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity .8s var(--spring),
                transform .8s var(--spring);
    transition-delay: var(--stagger, 0ms);
    will-change: transform, opacity;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Scale reveal — for cards */
.reveal-scale {
    opacity: 0;
    transform: translateY(32px) scale(.97);
    transition: opacity .65s var(--spring),
                transform .65s var(--spring);
    transition-delay: var(--stagger, 0ms);
    will-change: transform, opacity;
}
.reveal-scale.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Heading reveal — larger vertical travel */
.reveal-heading {
    opacity: 0;
    transform: translateY(56px);
    transition: opacity .9s var(--spring),
                transform .9s var(--spring);
    will-change: transform, opacity;
}
.reveal-heading.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Line accent that draws in under headings */
.reveal-line {
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
    margin-top: 14px;
    transition: width 1s var(--spring);
    transition-delay: 200ms;
}
.reveal-heading.in-view + .reveal-line,
.in-view .reveal-line {
    width: 64px;
}

/* Hero parallax target */
.hero-parallax {
    will-change: transform;
}

/* Depth layer effect: sections get a very subtle inset shadow at top */
.storefront-section + .storefront-section {
    box-shadow: inset 0 12px 40px rgba(41,42,122,.03);
}

/* Alternating section depth via background */
.storefront-section:nth-child(even) {
    background: linear-gradient(180deg, var(--bg-cream) 0%, #fff 100%);
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-scale, .reveal-heading {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal-line { width: 64px; transition: none; }
    .hero-parallax { transform: none !important; }
    @keyframes heroFloat { from, to { transform: none; } }
}
