/* ====================================================================
   Wear Honest — premium activewear and premium socks
   Look: bottle green header, hero, category + story sections and footer;
   ivory behind the product grids, forms and the product page; champagne
   gold for highlights. Type: Jost (display, spaced uppercase) + Inter (text).
   Written mobile-first: base rules are for phones, @media (min-width)
   blocks add the tablet and desktop layouts.
   ==================================================================== */

:root {
    /* Ivory surfaces (product grids, forms, product page) */
    --bg:          #f7f5ed;
    --bg-raised:   #fdfcf8;   /* cards */
    --surface:     #efece2;   /* tinted sections, image backdrops */
    --surface-2:   #e4e0d2;   /* fills, hover */
    --line:        #ddd8c8;   /* hairlines */
    --line-strong: #c4bea9;

    /* Ink */
    --ink:         #0b0b0b;
    --ink-2:       #171717;
    --ink-soft:    #37372f;   /* body text */
    --muted:       #6f6d64;   /* captions */

    /* Bottle green surfaces (header, hero, big sections, footer) */
    --brand:       #1e372f;
    --brand-deep:  #15281f;
    --brand-soft:  #2b4a3f;   /* raised / hover on green */
    --brand-line:  rgba(247,245,237,.12);
    --on-brand:    #f7f5ed;
    --on-brand-soft: rgba(247,245,237,.72);

    /* Champagne gold */
    --accent:      #c9a96b;   /* on green: kickers, lines, Buy Now */
    --accent-deep: #b5924d;
    --gold-text:   #8a6a2b;   /* gold that is readable as small text on ivory */
    --on-accent:   #0b0b0b;

    /* Functional */
    --sale:        #a33a28;   /* sale badges and sale prices only */
    --ok:          #2e7d4f;

    /* System */
    --shadow-sm:  0 4px 16px rgba(11,11,11,.06);
    --shadow:     0 18px 46px rgba(11,11,11,.16);
    --r-sm: 6px;
    --r:    12px;
    --r-lg: 18px;
    --header-h: 64px;
    --gutter: 16px;
    --ease: cubic-bezier(.22,.61,.36,1);

    --display: 'Jost', 'Futura', 'Century Gothic', 'Segoe UI', sans-serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
body {
    background: var(--bg);
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.container { width: min(1240px, calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 2000; width: auto; height: auto; clip: auto; margin: 0; padding: 10px 16px; background: var(--accent); color: var(--on-accent); font-weight: 600; border-radius: var(--r-sm); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.site-header :focus-visible, .hero-section :focus-visible, .site-footer :focus-visible, .story-section :focus-visible, .category-section :focus-visible, .shop-hero :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--on-accent); }

.eyebrow {
    font-family: var(--display);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .28em;
    color: var(--accent);
}
.eyebrow::before { content: ''; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; padding: 0 24px;
    font-family: var(--display);
    font-size: 13px; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
    text-align: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,11,11,.14); }
.btn.accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn.dark { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn.dark:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn.light { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.light:hover { background: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--on-brand); border-color: rgba(201,169,107,.7); }
.btn.ghost:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ── ANNOUNCEMENT TICKER ───────────────────────────────────────── */
.site-marquee {
    background: var(--brand-deep);
    color: var(--accent);
    font-family: var(--display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    height: 34px;
    display: flex;
    align-items: center;
}
.marquee-track { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { padding: 0 26px; position: relative; }
.marquee-item::after { content: ''; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; margin-top: -3px; background: var(--on-brand-soft); transform: rotate(45deg); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } html { scroll-behavior: auto; } }

/* ── HEADER (bottle green) ─────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 990;
    background: var(--brand);
    color: var(--on-brand);
    border-bottom: 1px solid rgba(201,169,107,.3);
    transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(11,11,11,.22); }

.header-main {
    min-height: var(--header-h);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
}

/* Hamburger (phones and tablets) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: transparent;
    border: 0;
    padding: 0 10px;
    margin-left: -10px;
}
.hb { display: block; width: 100%; height: 1.5px; background: var(--on-brand); border-radius: 2px; }

/* Brand: WH monogram + spaced wordmark */
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: inherit; }
.wh-mark { flex-shrink: 0; display: block; }
.brand-text {
    font-family: var(--display);
    font-size: 15px; font-weight: 600;
    letter-spacing: .3em; text-transform: uppercase;
    line-height: 1;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    padding-left: .1em;
}
.brand-logo { max-height: 42px; width: auto; }
@media (max-width: 359px) { .brand-text { display: none; } }

/* Header actions */
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.header-contact-pill { display: none; }
.header-icon-btn {
    position: relative;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: transparent; border: 0; border-radius: 50%;
    color: var(--on-brand);
    transition: background .2s, color .2s;
}
.header-icon-btn:hover { background: rgba(255,255,255,.08); color: var(--accent); }
.header-icon-btn svg { width: 22px; height: 22px; }
.header-cart { margin-right: -8px; }
.header-cart span[data-cart-count] {
    position: absolute; top: 3px; right: 1px;
    min-width: 19px; height: 19px; padding: 0 5px;
    background: var(--accent); color: var(--on-accent);
    border-radius: 999px;
    font-size: 10.5px; font-weight: 700; line-height: 19px; text-align: center;
}

/* Search panel under the header */
.header-search { background: var(--brand-deep); border-top: 1px solid var(--brand-line); padding: 12px 0; }
.header-search[hidden] { display: none; }
.header-search-form { display: flex; gap: 8px; }
.header-search-form input[type="search"] {
    flex: 1; min-width: 0; height: 48px; padding: 0 16px;
    border: 1px solid rgba(247,245,237,.25); border-radius: var(--r-sm);
    background: rgba(255,255,255,.06); color: var(--on-brand);
    font: inherit; font-size: 16px; outline: none;
}
.header-search-form input[type="search"]::placeholder { color: rgba(247,245,237,.5); }
.header-search-form input[type="search"]:focus { border-color: var(--accent); }
.header-search-form .btn { min-height: 48px; padding: 0 18px; background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ── CATEGORY MENU: slide-in drawer on phones and tablets ── */
.primary-nav {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(340px, 88vw);
    height: 100%;
    height: 100dvh;
    background: var(--bg);
    color: var(--ink);
    z-index: 3;
    display: flex; flex-direction: column;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s .35s;
    box-shadow: var(--shadow);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.primary-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.nav-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 12px 14px 20px;
    background: var(--brand);
    color: var(--on-brand);
    flex-shrink: 0;
}
.nav-drawer-brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; }
.nav-drawer-brand .brand-text { font-size: 13px; }
.nav-close-btn { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 0; border-radius: 50%; color: var(--on-brand); }
.nav-close-btn svg { width: 20px; height: 20px; }

.primary-nav .menu { display: flex; flex-direction: column; padding: 6px 0 20px; }
.primary-nav .menu > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    font-family: var(--display);
    font-size: 15px; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}
.primary-nav .menu > li > a svg { display: none; }
.primary-nav .menu > li.current-menu-item > a { box-shadow: inset 3px 0 0 var(--accent); }
.primary-nav .sub-menu { background: var(--surface); border-bottom: 1px solid var(--line); padding: 6px 0; }
.primary-nav .sub-menu a { display: block; padding: 11px 20px 11px 34px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.primary-nav .menu a:active { background: var(--surface-2); }
.nav-drawer-foot { margin-top: auto; padding: 16px 20px 28px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.nav-drawer-foot a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--brand); padding: 6px 0; }
.nav-drawer-foot svg { width: 18px; height: 18px; }

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(11,11,11,.55); z-index: 2; }
.nav-overlay.is-visible { display: block; }

/* ── CATEGORY MENU: row with dropdowns on desktop ── */
@media (min-width: 992px) {
    :root { --header-h: 76px; --gutter: 32px; }
    .header-main { grid-template-columns: auto 1fr auto; gap: 28px; }
    .menu-toggle, .nav-drawer-head, .nav-drawer-foot, .nav-overlay { display: none !important; }
    .brand-text { font-size: 17px; }

    .primary-nav {
        position: static;
        width: auto; height: auto;
        background: transparent; color: var(--on-brand);
        transform: none; visibility: visible;
        box-shadow: none; overflow: visible;
        flex-direction: row; justify-content: center;
        transition: none;
    }
    .primary-nav .menu { flex-direction: row; align-items: center; gap: 2px; padding: 0; }
    .primary-nav .menu > li { position: relative; }
    .primary-nav .menu > li > a {
        position: relative;
        display: inline-flex; gap: 5px;
        padding: 10px 13px;
        font-size: 12px; font-weight: 600;
        letter-spacing: .18em;
        color: var(--on-brand-soft);
        border: 0; border-radius: var(--r-sm);
        transition: color .2s, background .2s;
    }
    .primary-nav .menu > li > a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
    .primary-nav .menu > li > a svg { display: block; width: 13px; height: 13px; transition: transform .25s; }
    .primary-nav .menu > li > a:hover,
    .primary-nav .menu > li:focus-within > a { color: var(--on-brand); }
    .primary-nav .menu > li > a:hover::after, .primary-nav .menu > li.current-menu-item > a::after { transform: scaleX(1); }
    .primary-nav .menu > li.current-menu-item > a { color: var(--accent); box-shadow: none; }
    .primary-nav .menu > li:hover > a svg { transform: rotate(180deg); }

    .primary-nav .sub-menu {
        position: absolute; top: 100%; left: 0;
        min-width: 240px;
        padding: 8px;
        background: var(--bg-raised);
        border: 1px solid var(--line);
        border-top: 2px solid var(--accent);
        border-radius: 0 0 var(--r) var(--r);
        box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(8px);
        transition: opacity .2s, transform .2s, visibility 0s .2s;
        z-index: 5;
    }
    .primary-nav .menu > li:hover > .sub-menu,
    .primary-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
    .primary-nav .sub-menu a { padding: 10px 14px; font-size: 14px; color: var(--ink); border-radius: var(--r-sm); white-space: nowrap; }
    .primary-nav .sub-menu a:hover { background: var(--surface); color: var(--brand); }
    .primary-nav .sub-menu li:first-child a { font-weight: 700; }

    .header-actions { gap: 6px; }
    .header-cart { margin-right: 0; }
}
@media (min-width: 1180px) {
    .header-contact-pill {
        display: inline-flex; align-items: center; gap: 7px;
        margin-right: 8px;
        font-size: 13px; font-weight: 600;
        color: var(--on-brand);
    }
    .header-contact-pill:hover { color: var(--accent); }
    .header-contact-pill svg { width: 15px; height: 15px; color: var(--accent); }
    .primary-nav .menu > li > a { padding: 10px 16px; }
    .primary-nav .menu > li > a::after { left: 16px; right: 16px; }
}

/* ── HERO ──────────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    background: var(--brand);
    background-image: radial-gradient(ellipse at 12% 0%, rgba(201,169,107,.22), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(0,0,0,.4), transparent 60%);
    color: var(--on-brand);
    overflow: hidden;
}
.hero-section::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .6; }
.hero-inner { display: grid; gap: 30px; padding: 40px 0 44px; }
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero-copy h1 {
    font-size: clamp(38px, 9.5vw, 72px);
    font-weight: 500;
    letter-spacing: .02em; text-transform: none;
    line-height: 1.04;
    color: var(--on-brand);
    margin-bottom: 18px;
    overflow-wrap: break-word;
}
.hero-sub { font-size: 15px; line-height: 1.7; color: var(--on-brand-soft); max-width: 46ch; margin-bottom: 26px; }
.hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--on-brand-soft); }
.hero-points svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.hero-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--on-brand-soft); padding: 6px 0; }
.hero-wa:hover { color: var(--accent); }
.hero-wa svg { width: 18px; height: 18px; color: #25d366; }

/* Dry / sweat activated reveal: the dry picture sits on top, cut at --pos */
.hero-reveal { min-width: 0; }
.hero-reveal-frame {
    --pos: 55%;
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 30px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(201,169,107,.25);
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}
.hero-reveal-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-reveal-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.hero-reveal-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; z-index: 2; }
.hero-reveal-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.hero-reveal-handle span::before, .hero-reveal-handle span::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; border-top: 2px solid var(--on-accent); border-left: 2px solid var(--on-accent); }
.hero-reveal-handle span::before { left: 11px; transform: translateY(-50%) rotate(-45deg); }
.hero-reveal-handle span::after { right: 11px; transform: translateY(-50%) rotate(135deg); }
.hero-reveal-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; background: transparent; }
.hero-reveal-range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100%; }
.hero-reveal-range::-moz-range-thumb { width: 60px; height: 100%; border: 0; background: transparent; }
.hero-reveal-tag { position: absolute; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 4px; font-family: var(--display); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; background: rgba(11,11,11,.72); color: var(--on-brand); pointer-events: none; }
.hero-reveal-tag.is-dry { left: 12px; }
.hero-reveal-tag.is-wet { right: 12px; background: var(--accent); color: var(--on-accent); }
.hero-reveal-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.hero-reveal-link svg { width: 16px; height: 16px; transition: transform .25s; }
.hero-reveal-link:hover svg { transform: translateX(4px); }

.hero-collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.hero-collage-1 { grid-template-columns: minmax(0, 1fr); }
.hero-collage-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-shot { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--brand-deep); }

@media (min-width: 560px) {
    .hero-actions { display: flex; flex-wrap: wrap; }
    .hero-reveal { max-width: 460px; margin-inline: auto; }
}
@media (min-width: 900px) {
    .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; padding: 64px 0 72px; }
    .hero-sub { font-size: 17px; margin-bottom: 32px; }
    .hero-reveal { max-width: 520px; margin-inline: 0 auto; width: 100%; }
    .hero-collage-3 { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; }
    .hero-collage-3 .hero-shot-1 { grid-row: 1 / span 2; aspect-ratio: auto; }
    .hero-shot { border-radius: var(--r-lg); }
}

/* ── TRUST PILLARS ─────────────────────────────────────────────── */
.trust-pillars { background: var(--bg); border-bottom: 1px solid var(--line); }
.trust-pillars-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-pillar { display: flex; align-items: center; gap: 10px; padding: 16px 10px 16px 0; min-width: 0; }
.trust-pillar:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
.trust-pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
.trust-pillar svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--brand); }
.trust-pillar div { display: flex; flex-direction: column; min-width: 0; }
.trust-pillar strong { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); line-height: 1.3; }
.trust-pillar span { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
@media (min-width: 900px) {
    .trust-pillars-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .trust-pillar { padding: 22px 18px; justify-content: center; border-top: 0 !important; }
    .trust-pillar + .trust-pillar { border-left: 1px solid var(--line); padding-left: 18px; }
    .trust-pillar strong { font-size: 12.5px; }
    .trust-pillar span { font-size: 12.5px; }
    .trust-pillar svg { width: 30px; height: 30px; }
}

/* ── SECTIONS ──────────────────────────────────────────────────── */
.section { padding: 48px 0; }
.section.is-tinted { background: var(--surface); }
.products-section + .products-section { padding-top: 0; }
.products-section.is-tinted + .products-section.is-tinted { padding-top: 0; }
@media (min-width: 900px) { .section { padding: 84px 0; } }

.sg-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 22px; }
.sg-section-head > div { min-width: 0; }
.sg-section-head small { display: block; font-family: var(--display); font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.sg-section-head h2 { font-size: clamp(24px, 5.5vw, 38px); }
.sg-section-desc { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.sg-view-all { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding: 6px 0; border-bottom: 1.5px solid var(--accent); white-space: nowrap; }
.sg-view-all svg { width: 16px; height: 16px; transition: transform .25s; }
.sg-view-all:hover svg { transform: translateX(4px); }
@media (min-width: 900px) { .sg-section-head { margin-bottom: 34px; } }

/* Category chips: one swipeable row on phones, wrapping on desktop */
.sg-chips {
    display: flex; gap: 8px;
    margin: 0 calc(var(--gutter) * -1) 18px;
    padding: 2px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sg-chips::-webkit-scrollbar { display: none; }
.sg-chip {
    flex: 0 0 auto;
    display: inline-flex; align-items: center;
    min-height: 40px; padding: 0 16px;
    border: 1.5px solid var(--line-strong); border-radius: 999px;
    background: var(--bg-raised);
    font-size: 13px; font-weight: 600; color: var(--ink);
    white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s;
}
.sg-chip:hover { border-color: var(--brand); color: var(--brand); }
.sg-chip.is-active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
@media (min-width: 900px) { .sg-chips { flex-wrap: wrap; overflow: visible; margin: 0 0 26px; padding: 0; } }

/* ── SHOP BY CATEGORY (green section) ──────────────────────────── */
.category-section { background: var(--brand); color: var(--on-brand); border-bottom: 1px solid var(--brand-line); }
.category-section .sg-section-head small { color: var(--accent); }
.category-section .sg-section-head h2 { color: var(--on-brand); }
.category-section .sg-view-all { color: var(--on-brand); }
.category-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.category-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--brand-deep); min-width: 0; box-shadow: 0 0 0 1px rgba(201,169,107,.2), 0 20px 40px rgba(0,0,0,.25); }
.category-card-media { display: block; aspect-ratio: 16 / 11; }
.category-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .7s var(--ease); }
.category-card:hover .category-card-media img { transform: scale(1.05); }
.category-card-body {
    position: absolute; inset: auto 0 0 0;
    padding: 70px 18px 18px;
    background: linear-gradient(to top, rgba(11,11,11,.92) 25%, rgba(11,11,11,0));
    color: #fff;
    pointer-events: none;
}
.category-card-body a { pointer-events: auto; }
.category-card-kicker { font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.category-card-body h3 { font-size: 26px; color: #fff; letter-spacing: .1em; }
.category-card-body h3 a::after { content: ''; position: absolute; inset: 0; }   /* whole card opens the category */
.category-card-subs { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.category-card-subs a {
    display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26); border-radius: 999px;
    font-size: 12.5px; font-weight: 600; color: #fff;
    backdrop-filter: blur(4px);
    transition: background .2s, color .2s, border-color .2s;
}
.category-card-subs a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.category-card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.category-card-cta svg { width: 14px; height: 14px; transition: transform .25s; }
.category-card:hover .category-card-cta svg { transform: translateX(4px); }
@media (min-width: 700px) {
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .category-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .category-grid-1 { grid-template-columns: minmax(0, 1fr); }
    .category-card-media { aspect-ratio: 4 / 5; }
    .category-grid-2 .category-card-media { aspect-ratio: 5 / 4; }
    .category-card-body { padding: 80px 24px 24px; }
    .category-card-body h3 { font-size: 32px; }
}

/* ── SWEAT ACTIVATED STORY (deep green) ────────────────────────── */
.story-section { background: var(--brand-deep); color: var(--on-brand-soft); }
.story-inner { display: grid; gap: 28px; }
.story-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.story-media figure { position: relative; border-radius: var(--r); overflow: hidden; background: var(--brand); box-shadow: 0 0 0 1px rgba(201,169,107,.2); }
.story-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-media figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 4px; font-family: var(--display); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; background: rgba(11,11,11,.72); color: var(--on-brand); }
.story-media figure:last-child figcaption { background: var(--accent); color: var(--on-accent); }
.story-copy { min-width: 0; }
.story-copy .eyebrow { margin-bottom: 14px; }
.story-copy h2 { font-size: clamp(26px, 6vw, 44px); color: var(--on-brand); text-transform: none; letter-spacing: .01em; font-weight: 500; margin-bottom: 14px; }
.story-copy > p { font-size: 15px; line-height: 1.7; max-width: 52ch; margin-bottom: 22px; }
.story-messages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-bottom: 26px; }
.story-messages li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 2px 10px; align-items: center; min-width: 0; }
.story-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--swatch, #888); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); grid-row: 1 / span 2; }
.story-colour { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,245,237,.55); line-height: 1.2; }
.story-messages strong { font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-brand); line-height: 1.2; }

/* Signature details: three close-ups from the product photos */
.story-details { display: grid; gap: 12px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--brand-line); }
.story-details figure { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; min-width: 0; }
.story-details img { width: 100%; aspect-ratio: 404 / 280; object-fit: cover; border-radius: var(--r-sm); box-shadow: 0 0 0 1px rgba(201,169,107,.25); }
.story-details figcaption strong { display: block; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-brand); margin-bottom: 3px; }
.story-details figcaption span { font-size: 13px; color: var(--on-brand-soft); }
@media (min-width: 700px) {
    .story-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .story-details figure { grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
    .story-details img { border-radius: var(--r); }
}
@media (min-width: 900px) {
    .story-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
    .story-media { gap: 16px; }
    .story-media figure:first-child { transform: translateY(28px); }
    .story-copy > p { font-size: 16px; }
    .story-details { margin-top: 64px; padding-top: 40px; }
}

/* ── PRODUCT GRID ──────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-grid > * { min-width: 0; }
@media (min-width: 700px)  { .product-grid { gap: 18px; } }   /* tablets keep 2 columns: 4 products make 2 × 2, no orphan card */
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.product-grid.product-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Homepage category with only one or two products: feature panel + the cards */
.section-split { display: grid; gap: 14px; }
.section-feature { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--brand-deep); aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px rgba(201,169,107,.25); }
.section-feature img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .7s var(--ease); }
.section-feature:hover img { transform: scale(1.05); }
.section-feature-body { position: absolute; inset: auto 0 0 0; padding: 60px 18px 18px; background: linear-gradient(to top, rgba(11,11,11,.9) 25%, rgba(11,11,11,0)); color: #fff; display: flex; flex-direction: column; gap: 4px; }
.section-feature-body small { font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.section-feature-body strong { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; }
.section-feature-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.section-feature-cta svg { width: 14px; height: 14px; transition: transform .25s; }
.section-feature:hover .section-feature-cta svg { transform: translateX(4px); }
@media (min-width: 900px) {
    .section-split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 22px; align-items: stretch; }
    .section-feature { aspect-ratio: auto; min-height: 100%; }
    .section-feature-body { padding: 80px 24px 24px; }
    .section-feature-body strong { font-size: 30px; }
}

/* ── PRODUCT CARD ──────────────────────────────────────────────── */
.product-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.product-card:hover { box-shadow: 0 14px 34px rgba(11,11,11,.1); border-color: rgba(201,169,107,.6); transform: translateY(-3px); }

.product-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.product-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s var(--ease); }
.product-img-alt { opacity: 0; }
@media (hover: hover) {
    .product-card:hover .product-media.has-alt .product-img-alt { opacity: 1; }
    .product-card:hover .product-media:not(.has-alt) .product-img { transform: scale(1.04); }
}
.product-badge {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    padding: 5px 9px; border-radius: 4px;
    font-family: var(--display); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3;
}
.product-badge.is-sale { background: var(--sale); color: #fff; }
.product-badge.is-out { background: var(--ink); color: #fff; }
.product-badge.is-feature { background: var(--accent); color: var(--on-accent); }

.product-body { display: flex; flex-direction: column; flex: 1; padding: 10px 10px 12px; min-width: 0; }
.product-cat { align-self: flex-start; font-family: var(--display); font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
.product-cat:hover { color: var(--brand); }
.product-body h3 {
    font-family: var(--sans); font-size: 13.5px; font-weight: 600; line-height: 1.35;
    letter-spacing: 0; text-transform: none; text-wrap: auto;
    margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.7em;
}
.product-title-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 6px; font-size: 12px; }
.product-rating small { color: var(--muted); font-size: 11.5px; }
/* Star rating drawn with text stars, so it does not need WooCommerce's stylesheet (not loaded on the homepage) */
.star-rating { position: relative; display: inline-block; overflow: hidden; width: 5.4em; height: 1em; line-height: 1; font-size: 12px; letter-spacing: .08em; color: var(--line-strong); font-family: 'Segoe UI Symbol', 'Apple Color Emoji', sans-serif; }
.star-rating::before { content: '\2605\2605\2605\2605\2605'; position: absolute; top: 0; left: 0; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; color: var(--accent-deep); }
.star-rating span::before { content: '\2605\2605\2605\2605\2605'; position: absolute; top: 0; left: 0; }
.product-rating .star-rating { float: none; margin: 0; }

/* Price: WooCommerce prints <del>old</del> <ins>new</ins> for sale products */
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.product-price del { order: 2; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.product-price ins { order: 1; text-decoration: none; color: var(--sale); }
.product-price .price { display: contents; }

/* Colour swatches on variable products */
.product-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; min-width: 0; }
.sg-swatch {
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--bg-raised);
    background: var(--swatch, #999);
    box-shadow: 0 0 0 1px var(--line-strong);
    padding: 0;
    transition: transform .2s var(--ease), box-shadow .2s;
}
.sg-swatch:hover { transform: scale(1.12); }
.sg-swatch.is-active { box-shadow: 0 0 0 1.5px var(--brand); }
.sg-swatch.is-unavailable { opacity: .35; }
.product-swatch-name { flex: 1 1 100%; font-size: 11.5px; color: var(--muted); line-height: 1.3; }

/* "Size Chart" button (cards and product page); the chart itself is the .sg-modal further down */
.sg-size-chart-link {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 0; border: 0; background: none;
    font-family: var(--sans); font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--ink);
    text-decoration: underline; text-underline-offset: 3px;
}
.sg-size-chart-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.sg-size-chart-link:hover { color: var(--brand); }
.product-chart-row { display: flex; margin-top: auto; margin-bottom: 2px; min-width: 0; }
.product-chart-row + .product-swatches, .product-chart-row + .product-options-row { margin-top: 0; }

.product-options-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: auto; margin-bottom: 8px; min-width: 0; }
.product-size-field, .product-qty-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.product-size-field { flex: 1 1 96px; }   /* two option fields stack on narrow cards instead of squeezing */
.product-size-field > span:first-child, .product-qty-field > span:first-child { font-family: var(--display); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.product-qty-field { display: none; }   /* phones: quantity is changed in the slide-out cart */
.sg-size-select {
    width: 100%; height: 40px; min-width: 0;
    border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
    padding: 0 26px 0 10px;
    font-family: var(--sans); font-size: 13.5px; font-weight: 600;
    background-color: var(--bg-raised); color: var(--ink); cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230b0b0b' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 9px center;
    text-overflow: ellipsis;
}
.sg-size-select:focus { border-color: var(--brand); outline: none; }
.sg-size-fixed { display: flex; align-items: center; height: 40px; padding: 0 10px; border-radius: var(--r-sm); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sg-qty-control { display: inline-flex; align-items: center; height: 40px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg-raised); overflow: hidden; }
.sg-qty-btn { width: 34px; height: 100%; border: 0; background: transparent; font-size: 17px; line-height: 1; color: var(--ink); display: grid; place-items: center; transition: background .2s; }
.sg-qty-btn:hover { background: var(--surface-2); }
.sg-qty-btn:disabled { opacity: .35; cursor: default; }
.sg-qty-input { width: 36px; height: 100%; border: 0; text-align: center; font-family: var(--sans); font-size: 14px; font-weight: 700; background: transparent; color: var(--ink); outline: none; -moz-appearance: textfield; }
.sg-qty-input::-webkit-inner-spin-button, .sg-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.sg-qty-value { min-width: 30px; text-align: center; font-size: 14px; font-weight: 700; color: var(--ink); }

.product-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.product-card .product-body > .product-actions:first-of-type { margin-top: auto; }
.btn-add-cart, .btn-buy-now {
    display: flex; align-items: center; justify-content: center;
    min-height: 42px; padding: 0 8px; min-width: 0;
    font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    border-radius: var(--r-sm); border: 1.5px solid var(--brand);
    white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.btn-add-cart { background: var(--brand); color: var(--on-brand); }
.btn-add-cart:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-buy-now { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-buy-now:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-add-cart.loading, .btn-buy-now.loading { opacity: .6; pointer-events: none; }
.btn-add-cart.added { background: var(--ok); border-color: var(--ok); }
.product-card.is-unavailable .btn-add-cart, .product-card.is-unavailable .btn-buy-now { opacity: .45; pointer-events: none; }

@media (min-width: 700px) {
    .product-body { padding: 14px 14px 16px; }
    .product-body h3 { font-size: 15px; }
    .product-price { font-size: 17px; margin-bottom: 12px; }
    .product-price del { font-size: 13.5px; }
    .product-qty-field { display: flex; }
    .product-badge { top: 12px; left: 12px; font-size: 10.5px; }
    .sg-swatch { width: 24px; height: 24px; }
}
@media (min-width: 1180px) {
    .product-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .btn-add-cart.is-wide { grid-column: 1 / -1; }
}

/* ── DELIVERY BANNER (gold) ────────────────────────────────────── */
.sale-banner-section { padding: 0 0 48px; }
.is-tinted + .sale-banner-section { padding-top: 48px; }
.sale-banner {
    position: relative;
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    padding: 28px 22px;
    border-radius: var(--r-lg);
    background: var(--accent);
    background-image: linear-gradient(120deg, rgba(255,255,255,.22), rgba(255,255,255,0) 45%), radial-gradient(ellipse at 100% 100%, rgba(11,11,11,.12), transparent 60%);
    color: var(--ink);
    overflow: hidden;
}
.sale-banner small { display: block; font-family: var(--display); font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.sale-banner h2 { font-size: clamp(24px, 5.5vw, 38px); color: var(--ink); }
.sale-banner p { font-size: 14px; margin-top: 8px; color: rgba(11,11,11,.72); max-width: 52ch; }
.sale-banner .btn { width: 100%; }
@media (min-width: 760px) {
    .sale-banner { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px 48px; gap: 30px; }
    .sale-banner .btn { width: auto; flex-shrink: 0; }
}
@media (min-width: 900px) { .sale-banner-section { padding-bottom: 84px; } .is-tinted + .sale-banner-section { padding-top: 84px; } }

/* ── WHY US ────────────────────────────────────────────────────── */
.why-section { background: var(--bg); border-top: 1px solid var(--line); }
.why-inner { display: grid; gap: 26px; }
.why-media { min-width: 0; }
.why-media img { width: 100%; aspect-ratio: 614 / 430; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 20px 40px rgba(11,11,11,.14); }
.why-content { min-width: 0; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.why-card { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; transition: border-color .3s, transform .3s var(--ease); }
.why-card:hover { border-color: rgba(201,169,107,.6); transform: translateY(-2px); }
.why-card svg { width: 44px; height: 44px; color: var(--brand); margin-bottom: 14px; padding: 10px; border: 1px solid var(--accent); border-radius: 50%; }
.why-card h3 { font-size: 14px; letter-spacing: .14em; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--ink-soft); }
@media (min-width: 560px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) {
    .why-inner.has-media { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
    .why-card { padding: 28px 24px; }
}

/* ── SHOP / CATEGORY PAGES ─────────────────────────────────────── */
.sg-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.sg-breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.sg-breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }
.sg-crumb-sep { opacity: .5; }

.shop-hero { position: relative; background: var(--brand); background-image: radial-gradient(ellipse at 100% 0%, rgba(201,169,107,.2), transparent 55%); color: var(--on-brand); padding: 22px 0 28px; }
.shop-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .6; }
.shop-hero .sg-breadcrumbs { color: rgba(247,245,237,.6); }
.shop-hero .sg-breadcrumbs a:hover, .shop-hero .sg-breadcrumbs [aria-current] { color: #fff; }
.shop-hero h1 { font-size: clamp(26px, 7vw, 48px); color: var(--on-brand); overflow-wrap: break-word; }
.shop-hero p { margin-top: 10px; font-size: 14.5px; color: var(--on-brand-soft); max-width: 60ch; }

.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 18px; padding-bottom: 56px; }
.shop-sidebar { display: none; }
.shop-main { min-width: 0; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 16px; }
.shop-toolbar .woocommerce-notices-wrapper { flex: 1 1 100%; }
.shop-toolbar .woocommerce-notices-wrapper:empty { display: none; }
.shop-toolbar .woocommerce-result-count { float: none; margin: 0; font-size: 13px; color: var(--muted); }
.shop-toolbar .woocommerce-ordering { float: none; margin: 0; }
.shop-toolbar .woocommerce-ordering select {
    height: 42px; max-width: 100%;
    border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
    padding: 0 34px 0 12px;
    font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink);
    background-color: var(--bg-raised);
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230b0b0b' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}

.shop-empty { text-align: center; padding: 50px 20px; background: var(--surface); border-radius: var(--r-lg); }
.shop-empty h1, .shop-empty h2 { font-size: 24px; margin-bottom: 6px; }
.shop-empty p { margin-bottom: 18px; }

.woocommerce nav.woocommerce-pagination { margin-top: 30px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; border: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--ink); background: var(--bg-raised); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--surface); color: var(--ink); }

@media (min-width: 1024px) {
    .shop-hero { padding: 36px 0 42px; }
    .shop-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 40px; padding-top: 34px; padding-bottom: 90px; }
    .shop-chips { display: none; }
    .shop-sidebar { display: block; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
    .shop-sidebar h2 { font-size: 14px; letter-spacing: .2em; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
    .shop-cat-list > li { border-bottom: 1px solid var(--line); }
    .shop-cat-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; font-size: 15px; font-weight: 600; color: var(--ink); }
    .shop-cat-list a span { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 1px 9px; }
    .shop-cat-list a:hover { color: var(--brand); }
    .shop-cat-list ul { padding: 0 0 10px 14px; border-left: 2px solid var(--line); margin-left: 2px; }
    .shop-cat-list ul a { padding: 7px 0; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
    .shop-cat-list li.is-current > a { font-weight: 700; color: var(--brand); }
    .shop-cat-list li.is-current > a::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: -2px; flex-shrink: 0; }
    .shop-cat-list li.is-current > a { justify-content: flex-start; }
    .shop-cat-list li.is-current > a span { margin-left: auto; }
    .shop-main .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1300px) { .shop-main .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

/* ── FOOTER (deep green) ───────────────────────────────────────── */
.site-footer { background: var(--brand-deep); color: var(--on-brand-soft); border-top: 1px solid rgba(201,169,107,.35); }
.footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding: 44px 0 34px; }
.footer-top > * { min-width: 0; }
.footer-brand, .contact-col { grid-column: 1 / -1; }
.footer-brand .brand { color: var(--on-brand); }
.footer-tagline { font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-top: 16px; }
.footer-brand p:not(.footer-tagline) { font-size: 14px; line-height: 1.7; max-width: 340px; margin-top: 10px; color: var(--on-brand-soft); }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.footer-socials a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(247,245,237,.22); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--on-brand); transition: background .2s, border-color .2s, color .2s; }
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 12px; letter-spacing: .24em; color: var(--accent); margin-bottom: 12px; }
.footer-col > a { display: block; font-size: 14px; color: var(--on-brand); padding: 6px 0; }
.footer-col > a.footer-sub { font-size: 13px; padding: 4px 0 4px 12px; color: var(--on-brand-soft); }
.footer-col > a:hover { color: var(--accent); }
.footer-col p { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 7px 0; overflow-wrap: anywhere; color: var(--on-brand); }
.footer-col p svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.footer-col p a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; background: rgba(0,0,0,.22); border-top: 1px solid var(--brand-line); padding: 18px var(--gutter) 22px; text-align: center; font-size: 12px; color: rgba(247,245,237,.5); }
.footer-bottom-tag { font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; font-size: 10.5px; color: var(--accent); }
@media (min-width: 900px) {
    .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 50px; padding: 72px 0 52px; }
    .footer-brand, .contact-col { grid-column: auto; }
    .footer-bottom { justify-content: space-between; text-align: left; padding-inline: var(--gutter); }
}

/* ── CONTACT WIDGET ────────────────────────────────────────────── */
.contact-widget { position: fixed; right: 14px; bottom: 16px; z-index: 950; display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; }
.contact-main { width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; border: 0; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.contact-main:hover { transform: scale(1.06); }
.contact-main svg { width: 26px; height: 26px; }
.contact-widget.is-open .contact-main { display: none; }
.contact-panel { display: flex; flex-direction: column; gap: 10px; }
.contact-panel[hidden] { display: none; }
.contact-action { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; box-shadow: var(--shadow-sm); transition: transform .2s; animation: contactIn .35s var(--ease) backwards; }
.contact-action:hover { transform: scale(1.08); }
.contact-action svg { width: 22px; height: 22px; }
.contact-action.phone { background: var(--brand); }
.contact-action.whatsapp { background: #25d366; }
.contact-action.instagram { background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f 60%, #285AEB 100%); }
.contact-action.facebook { background: #1877f2; }
.contact-action.contact-close { background: var(--muted); }
@keyframes contactIn { from { opacity: 0; transform: translateY(10px) scale(.8); } }
@media (min-width: 900px) { .contact-widget { right: 22px; bottom: 24px; } }

/* ── CART TOAST ────────────────────────────────────────────────── */
.cart-toast {
    position: fixed; left: 50%; bottom: 22px; z-index: 1200;
    transform: translate(-50%, 14px);
    max-width: calc(100vw - 32px);
    background: var(--ink); color: #fff;
    font-size: 13.5px; font-weight: 600;
    padding: 13px 20px; border-radius: 999px;
    box-shadow: var(--shadow);
    opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s;
}
.cart-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ── SLIDE-OUT CART ────────────────────────────────────────────── */
.sg-drawer-overlay { position: fixed; inset: 0; z-index: 1090; background: rgba(11,11,11,.55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.sg-drawer-overlay.is-visible { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.sg-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100;
    width: min(420px, 100vw);
    height: 100%; height: 100dvh;
    display: flex; flex-direction: column;
    background: var(--bg);
    box-shadow: var(--shadow);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s .35s;
}
.sg-drawer.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.sg-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 20px; background: var(--brand); color: var(--on-brand); flex-shrink: 0; }
.sg-drawer-head h2 { font-size: 14px; letter-spacing: .18em; color: var(--on-brand); }
.sg-drawer-count { color: var(--accent); font-weight: 500; }
.sg-drawer-close { width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface); border: 0; border-radius: 50%; color: var(--ink); }
.sg-drawer-head .sg-drawer-close { background: rgba(255,255,255,.1); color: var(--on-brand); }
.sg-drawer-close svg { width: 20px; height: 20px; }
.sg-drawer-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

.sg-ship-progress { padding: 12px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.sg-ship-progress p { font-size: 13px; color: var(--ink-soft); margin: 0 0 8px; }
.sg-ship-progress strong { color: var(--ink); }
.sg-ship-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.sg-ship-bar span { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width .4s var(--ease); }
.sg-ship-progress.is-done .sg-ship-bar span { background: var(--ok); }

.sg-drawer-items { flex: 1; padding: 4px 20px; }
.sg-drawer-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: opacity .2s; }
.sg-drawer-item.is-busy { opacity: .45; pointer-events: none; }
.sg-drawer-thumb img { width: 76px; height: 95px; object-fit: cover; border-radius: var(--r-sm); background: var(--surface); }
.sg-drawer-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sg-drawer-name { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.sg-drawer-name:hover { text-decoration: underline; }
.sg-drawer-meta { font-size: 12.5px; color: var(--muted); }
.sg-drawer-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.sg-drawer-row .sg-qty-control { height: 36px; }
.sg-drawer-row .sg-qty-btn { width: 36px; }
.sg-drawer-price { font-size: 14.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.sg-drawer-remove { align-self: start; width: 36px; height: 36px; margin: -6px -8px 0 0; display: grid; place-items: center; background: transparent; border: 0; border-radius: 50%; color: var(--muted); }
.sg-drawer-remove:hover { background: var(--surface); color: var(--sale); }
.sg-drawer-remove svg { width: 18px; height: 18px; }

.sg-drawer-foot { position: sticky; bottom: 0; display: grid; gap: 8px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11,11,11,.06); }
.sg-drawer-subtotal { display: flex; align-items: baseline; justify-content: space-between; font-size: 15px; color: var(--ink); }
.sg-drawer-subtotal strong { font-size: 20px; }
.sg-drawer-note { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.sg-drawer-foot .btn { width: 100%; }

.sg-drawer-empty { margin: auto; padding: 40px 24px; text-align: center; }
.sg-drawer-empty svg { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--line-strong); }
.sg-drawer-empty p { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 18px; }

/* ── SIZE CHART MODAL ──────────────────────────────────────────── */
.sg-modal {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; visibility: hidden;
    transition: opacity .25s, visibility 0s .25s;
}
.sg-modal.is-open { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.sg-modal-backdrop { position: absolute; inset: 0; background: rgba(11,11,11,.6); }
.sg-modal-box {
    position: relative;
    display: flex; flex-direction: column;
    width: min(640px, 100%); max-height: 100%; min-width: 0;
    background: var(--bg);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: translateY(14px);
    transition: transform .3s var(--ease);
}
.sg-modal.is-open .sg-modal-box { transform: none; }
.sg-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; background: var(--brand); color: var(--on-brand); flex-shrink: 0; }
.sg-modal-head h2 { font-size: 14px; letter-spacing: .18em; min-width: 0; overflow-wrap: anywhere; color: var(--on-brand); }
.sg-modal-head .sg-drawer-close { flex-shrink: 0; background: rgba(255,255,255,.1); color: var(--on-brand); }
.sg-modal-body { padding: 14px 12px 18px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sg-size-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.sg-size-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 13.5px; color: var(--ink-soft); }
.sg-size-table th, .sg-size-table td { padding: 12px 6px; border-bottom: 1px solid var(--line); }
.sg-size-table thead th { background: var(--surface-2); color: var(--ink); border-bottom: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.sg-size-table tbody th { background: var(--surface); color: var(--ink); font-weight: 700; white-space: nowrap; }
.sg-size-table tbody tr:last-child > * { border-bottom: 0; }
.sg-size-note { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (min-width: 700px) {
    .sg-modal-head { padding: 16px 16px 16px 24px; }
    .sg-modal-head h2 { font-size: 16px; }
    .sg-modal-body { padding: 20px 24px 24px; }
    .sg-size-table { font-size: 15px; }
    .sg-size-table th, .sg-size-table td { padding: 14px 10px; }
    .sg-size-table thead th { font-size: 11.5px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) { .sg-modal, .sg-modal-box { transition: none; } }

/* ── LIGHTBOX (product pictures full size) ─────────────────────── */
.sg-lightbox { position: fixed; inset: 0; z-index: 1300; display: none; align-items: center; justify-content: center; }
.sg-lightbox.is-open { display: flex; }
.sg-lightbox-backdrop { position: absolute; inset: 0; background: rgba(11,11,11,.94); }
.sg-lightbox-figure { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: min(92vw, 820px); padding: 60px 0 20px; pointer-events: none; }
.sg-lightbox-img { max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); width: auto; height: auto; border-radius: var(--r); background: var(--surface); pointer-events: auto; }
.sg-lightbox-count { font-family: var(--display); font-size: 12px; letter-spacing: .2em; color: rgba(247,245,237,.7); }
.sg-lightbox-close, .sg-lightbox-nav { position: absolute; z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; transition: background .2s; }
.sg-lightbox-close:hover, .sg-lightbox-nav:hover { background: var(--accent); color: var(--on-accent); }
.sg-lightbox-close { top: 12px; right: 12px; }
.sg-lightbox-close svg { width: 20px; height: 20px; }
.sg-lightbox-nav { top: 50%; margin-top: -23px; }
.sg-lightbox-nav[hidden] { display: none; }
.sg-lightbox-nav::before { content: ''; width: 11px; height: 11px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; }
.sg-lightbox-nav.is-prev { left: 10px; }
.sg-lightbox-nav.is-prev::before { transform: translateX(3px) rotate(-45deg); }
.sg-lightbox-nav.is-next { right: 10px; }
.sg-lightbox-nav.is-next::before { transform: translateX(-3px) rotate(135deg); }
@media (min-width: 900px) { .sg-lightbox-nav.is-prev { left: 28px; } .sg-lightbox-nav.is-next { right: 28px; } }

/* ── REVEAL ANIM (only when JavaScript is running) ─────────────── */
.js .reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-up.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal-up { opacity: 1 !important; transform: none !important; } }

/* Section anchors clear the sticky header */
#categories, #best-sellers, #sweat-activated, #contact, [id^="cat-"] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ==================================================================
   WOOCOMMERCE — shared pieces
   ================================================================== */
.content-area { padding: 24px 0 60px; }
.woocommerce-wrap { padding: 18px 0 60px; }
.page-title { font-size: clamp(24px, 6vw, 40px); margin-bottom: 18px; }
.page-content > p, .post-card p { margin-bottom: 14px; }
.page-content h2, .page-content h3 { font-size: 18px; letter-spacing: .1em; margin: 26px 0 10px; }
.page-content ul, .page-content ol { padding-left: 22px; margin-bottom: 14px; }
.page-content ul { list-style: disc; }
.page-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.single-content { max-width: 820px; }
.post-list { display: grid; gap: 14px; }
.post-card { background: var(--surface); border-radius: var(--r); padding: 22px; }
@media (min-width: 900px) { .content-area { padding: 44px 0 90px; } .woocommerce-wrap { padding: 30px 0 90px; } }

/* Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0 20px !important;
    background: var(--brand) !important; color: var(--on-brand) !important;
    border: 1.5px solid var(--brand) !important; border-radius: var(--r-sm) !important;
    font-family: var(--display); font-size: 12px !important; font-weight: 600 !important; line-height: 1.2 !important;
    letter-spacing: .16em; text-transform: uppercase;
    transition: background .2s, border-color .2s, color .2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: var(--brand-deep) !important; border-color: var(--brand-deep) !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #payment #place_order, .woocommerce a.checkout-button {
    background: var(--accent) !important; border-color: var(--accent) !important; color: var(--on-accent) !important;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce #payment #place_order:hover, .woocommerce a.checkout-button:hover { background: var(--accent-deep) !important; border-color: var(--accent-deep) !important; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { opacity: .45; padding: 0 20px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
    border-top: 0 !important; border-left: 4px solid var(--brand);
    background: var(--surface) !important; color: var(--ink) !important;
    border-radius: var(--r-sm);
    padding: 14px 16px !important; margin: 0 0 18px !important;
    font-size: 14px; list-style: none;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message { border-left-color: var(--ok); }
.woocommerce-error { border-left-color: var(--sale); }
.woocommerce-error li { list-style: none; width: 100%; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; float: none !important; min-height: 40px !important; }
.sg-notice-text { flex: 1 1 200px; }

/* Form fields */
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; line-height: 1.4; }
.woocommerce form .form-row .required { color: var(--sale); text-decoration: none; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea.input-text,
.woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text,
#respond input[type="text"], #respond input[type="email"], #respond textarea {
    width: 100%; min-height: 48px; padding: 11px 14px;
    border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
    background: var(--bg-raised); color: var(--ink);
    font-family: var(--sans); font-size: 16px; line-height: 1.4;   /* 16px stops iPhones zooming in on focus */
    outline: none; transition: border-color .2s;
}
.woocommerce form .form-row textarea.input-text { min-height: 96px; resize: vertical; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea.input-text:focus, #respond input:focus, #respond textarea:focus { border-color: var(--brand); }

/* Long text (emails, addresses) never breaks out of its box */
.woocommerce address, .woocommerce .shop_table, .woocommerce ul.order_details, .woocommerce-customer-details { overflow-wrap: anywhere; max-width: 100%; }

/* My account (login, orders) */
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--bg-raised); font-size: 13px; font-weight: 600; color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.woocommerce form.woocommerce-form-login, .woocommerce form.woocommerce-form-register, .woocommerce form.woocommerce-ResetPassword { max-width: 520px; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; background: var(--bg-raised); }
.woocommerce form.woocommerce-form-login .woocommerce-form-login__rememberme { display: block; margin-bottom: 12px; }
.woocommerce .u-columns .col-1, .woocommerce .u-columns .col-2 { float: none; width: 100%; max-width: 100%; }
.woocommerce-account .woocommerce-MyAccount-content h2 { font-size: 14px; letter-spacing: .18em; margin: 0 0 12px; }

/* ==================================================================
   SINGLE PRODUCT
   ================================================================== */
.woocommerce div.product { position: relative; }
.woocommerce div.product > * { min-width: 0; }
/* Gallery + summary (two columns on desktop); tabs and related products follow below, full width */
.sg-product-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.sg-product-top > * { min-width: 0; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: 100% !important; margin: 0 !important; }

.woocommerce div.product span.onsale {
    position: absolute; top: 12px; left: 12px; right: auto; z-index: 3;
    min-width: 0; min-height: 0; margin: 0; padding: 5px 11px;
    background: var(--sale); color: #fff;
    border-radius: 4px;
    font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .12em; line-height: 1.4;
}

/* Gallery (built by assets/js/main.js from WooCommerce's gallery images) */
.woocommerce-product-gallery { opacity: 1 !important; }
/* With JavaScript on, WooCommerce's own gallery markup is only read, never shown (so its pictures are not fetched) */
.js .woocommerce-product-gallery__wrapper { display: none; }
.woocommerce-product-gallery.sg-cgal-active > *:not(.sg-cgal) { display: none !important; }
.woocommerce div.product div.images img { border-radius: var(--r-lg); }
.sg-cgal-stage { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 4 / 5; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; box-shadow: 0 0 0 1px var(--line); }
.sg-cgal-main { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.sg-cgal-zoom { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(11,11,11,.6); pointer-events: none; }
.sg-cgal-zoom::before, .sg-cgal-zoom::after { content: ''; position: absolute; left: 50%; top: 50%; background: #fff; transform: translate(-50%, -50%); border-radius: 2px; }
.sg-cgal-zoom::before { width: 14px; height: 2px; }
.sg-cgal-zoom::after { width: 2px; height: 14px; }
.sg-cgal-thumbs { display: flex; gap: 8px; padding-top: 10px; overflow-x: auto; scrollbar-width: none; }
.sg-cgal-thumbs::-webkit-scrollbar { display: none; }
.sg-cgal-thumb { flex: 0 0 auto; width: 64px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); background: var(--surface); overflow: hidden; opacity: .65; transition: opacity .2s, border-color .2s; }
.sg-cgal-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.sg-cgal-thumb.active, .sg-cgal-thumb:hover { opacity: 1; border-color: var(--brand); }

/* Summary */
.sg-single-cat { display: inline-block; font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.sg-single-cat:hover { color: var(--brand); }
.woocommerce div.product .product_title { font-size: clamp(24px, 6vw, 40px); letter-spacing: .04em; margin-bottom: 12px; overflow-wrap: break-word; }
.woocommerce div.product .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.woocommerce div.product .woocommerce-product-rating .star-rating { float: none; margin: 0; color: var(--accent-deep); }
.woocommerce div.product .woocommerce-review-link { font-size: 13px; color: var(--muted); }
.woocommerce div.product p.price, .woocommerce div.product span.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { order: 2; font-size: 17px; font-weight: 500; color: var(--muted); opacity: 1; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { order: 1; text-decoration: none; color: var(--sale); font-weight: 700; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 20px; }
.woocommerce div.product .stock { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.woocommerce div.product .out-of-stock { color: var(--sale); }

/* Size pills (simple products) */
.sg-single-size-field { flex: 1 1 100%; border: 0; min-width: 0; }
.sg-size-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; min-width: 0; }
.sg-size-head > span { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.sg-size-head .sg-size-chart-link { font-size: 13px; }
.sg-size-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-size-pill { position: relative; cursor: pointer; }
.sg-size-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sg-size-pill span { display: grid; place-items: center; min-width: 52px; height: 48px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); font-size: 14.5px; font-weight: 600; color: var(--ink); background: var(--bg-raised); transition: background .2s, border-color .2s, color .2s; }
.sg-size-pill:hover span { border-color: var(--brand); }
.sg-size-pill input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.sg-size-pill input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Variable products: WooCommerce's option fields, turned into swatches and pills by main.js */
.sg-single-chart-row { display: flex; justify-content: flex-end; margin-bottom: -6px; }
.sg-single-chart-row .sg-size-chart-link { font-size: 13px; }
.woocommerce div.product form.cart .variations { margin: 0 0 6px; border: 0; width: 100%; }
.woocommerce div.product form.cart .variations tbody, .woocommerce div.product form.cart .variations tr, .woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; width: 100%; padding: 0; border: 0; text-align: left; }
.woocommerce div.product form.cart .variations tr { margin-bottom: 16px; }
.woocommerce div.product form.cart .variations th.label { line-height: 1.4; margin-bottom: 6px; }
.woocommerce div.product form.cart .variations th.label label { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.sg-attr-chosen { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 8px; }
.woocommerce div.product form.cart .variations td.value { position: relative; }
.woocommerce div.product form.cart .variations select {
    width: 100%; min-height: 48px; padding: 0 36px 0 14px;
    border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
    background-color: var(--bg-raised); color: var(--ink);
    font-family: var(--sans); font-size: 16px; font-weight: 600;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230b0b0b' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.js .woocommerce div.product form.cart .variations td.value.has-pills select { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.sg-attr-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-attr-pill { display: grid; place-items: center; min-width: 52px; height: 46px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg-raised); font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink); transition: background .2s, border-color .2s, color .2s, opacity .2s; }
.sg-attr-pill:hover { border-color: var(--brand); }
.sg-attr-pill.is-active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.sg-attr-pill.is-unavailable { opacity: .35; text-decoration: line-through; }
.sg-attr-pill.sg-attr-swatch { min-width: 0; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 2px solid var(--bg); background: var(--swatch, #999); box-shadow: 0 0 0 1px var(--line-strong); }
.sg-attr-pill.sg-attr-swatch.is-active { box-shadow: 0 0 0 2px var(--brand); }
.sg-attr-pill.sg-attr-swatch.is-unavailable { text-decoration: none; }
.woocommerce div.product form.cart .reset_variations { display: none !important; }
.woocommerce div.product form.cart.sg-price-on-top .woocommerce-variation-price { display: none; }   /* price is shown under the title instead */
.woocommerce div.product .summary > .price .price { display: contents; }
.woocommerce div.product form.cart .woocommerce-variation { margin-bottom: 8px; }
.woocommerce div.product form.cart .woocommerce-variation-description:empty { display: none; }
.woocommerce div.product form.cart .woocommerce-variation-availability p.stock { margin: 0 0 6px; }
.woocommerce div.product form.cart .single_variation_wrap { flex: 1 1 100%; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart .quantity { flex: 1 1 100%; }

/* Add to cart row: options on top, then quantity + the two buttons */
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0 0 18px; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; height: 52px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg-raised); overflow: hidden; }
.woocommerce div.product form.cart div.quantity.hidden { display: none; }
.woocommerce div.product form.cart div.quantity .sg-qty-btn { width: 52px; height: 100%; font-size: 20px; }
/* width 40px (not the input's own ~220px) so the row can never grow wider than a 320px phone */
.woocommerce div.product form.cart div.quantity input.qty { flex: 1 1 40px; width: 40px; min-width: 0; height: 100%; border: 0; text-align: center; font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--ink); background: transparent; outline: none; -moz-appearance: textfield; }
.woocommerce div.product form.cart .single_variation_wrap, .woocommerce div.product form.cart .woocommerce-variation-add-to-cart { min-width: 0; max-width: 100%; }
.woocommerce div.product form.cart div.quantity input.qty::-webkit-inner-spin-button, .woocommerce div.product form.cart div.quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.woocommerce div.product form.cart .single_add_to_cart_button,
.sg-single-buy-now {
    float: none; flex: 1 1 100%;
    min-height: 54px; padding: 0 20px !important;
    border-radius: var(--r-sm) !important;
    font-family: var(--display); font-size: 13px !important; font-weight: 600 !important;
    letter-spacing: .18em; text-transform: uppercase;
    cursor: pointer; transition: background .2s, border-color .2s, opacity .2s;
}
.woocommerce div.product form.cart .single_add_to_cart_button { background: var(--brand) !important; border: 1.5px solid var(--brand) !important; color: var(--on-brand) !important; }
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background: var(--brand-deep) !important; border-color: var(--brand-deep) !important; }
.woocommerce div.product form.cart .single_add_to_cart_button.disabled, .woocommerce div.product form.cart .single_add_to_cart_button:disabled { opacity: .45 !important; }
.sg-single-buy-now { background: var(--accent); border: 1.5px solid var(--accent); color: var(--on-accent); }
.sg-single-buy-now:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.sg-single-buy-now.disabled { opacity: .45; pointer-events: none; }

.sg-single-notes { display: grid; gap: 9px; padding: 16px; background: var(--surface); border-radius: var(--r); }
.sg-single-notes li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.sg-single-notes svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand); }

.sg-single-description { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.sg-single-description h2 { font-size: 13px; letter-spacing: .2em; margin-bottom: 12px; }
.sg-single-description p { margin-bottom: 12px; }

/* Tabs (reviews) + related products: full width under the gallery + summary box */
.woocommerce div.product .woocommerce-tabs { margin-top: 34px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 4px; padding: 0; margin: 0 0 20px; border-bottom: 1.5px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0 0 -1.5px; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 16px; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid transparent; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--accent); }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs .panel > h2, #reviews .woocommerce-Reviews-title { font-size: 14px; letter-spacing: .18em; margin-bottom: 14px; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 12px; font-style: normal; }
.woocommerce #reviews #comments ol.commentlist { padding: 0; margin: 0 0 24px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border: 1px solid var(--line); border-radius: var(--r); }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--accent-deep); }
.woocommerce-noreviews { padding: 18px; background: var(--surface); border-radius: var(--r); margin-bottom: 16px; }
.sg-review-toggle { margin-bottom: 6px; }
#review_form_wrapper { background: var(--surface); border-radius: var(--r); padding: 20px 16px; margin-top: 14px; }
#review_form_wrapper[hidden] { display: none; }
#reply-title { display: block; font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
#respond label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
#respond p { margin-bottom: 14px; }

.sg-related { margin-top: 26px; padding-top: 30px; border-top: 1px solid var(--line); }

@media (min-width: 560px) {
    .woocommerce div.product form.cart div.quantity { flex: 0 0 150px; }
    .woocommerce div.product form.cart .woocommerce-variation-add-to-cart .quantity { flex: 0 0 150px; }
    .woocommerce div.product form.cart .single_add_to_cart_button, .sg-single-buy-now { flex: 1 1 0; }
}
@media (min-width: 760px) {
    .sg-product-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 36px; align-items: start; }
    /* Same selector weight as WooCommerce's own position rule, so the picture stays in view while the details scroll */
    .woocommerce div.product div.images.woocommerce-product-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
}
@media (min-width: 760px) and (max-width: 1023px) {
    /* tablets: the details column is narrow, so quantity and the two buttons stack */
    .woocommerce div.product form.cart div.quantity, .woocommerce div.product form.cart .woocommerce-variation-add-to-cart .quantity { flex: 1 1 100%; }
    .woocommerce div.product form.cart .single_add_to_cart_button, .sg-single-buy-now { flex: 1 1 100%; }
}
@media (min-width: 900px) {
    .sg-product-top { gap: 20px 56px; }
    .woocommerce div.product .woocommerce-tabs { margin-top: 40px; }
    .sg-cgal-thumb { width: 76px; height: 95px; }
    .sg-related { margin-top: 50px; padding-top: 50px; }
    #review_form_wrapper { padding: 28px; }
}

/* ==================================================================
   CART PAGE
   ================================================================== */
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.woocommerce-cart .woocommerce > * { min-width: 0; }
.woocommerce-cart .sg-ship-progress { border: 1px solid var(--line); border-radius: var(--r); }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; margin: 0; width: 100%; background: var(--bg-raised); }
.woocommerce table.shop_table th { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; }
.woocommerce table.shop_table td { padding: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink); vertical-align: middle; }
.woocommerce-cart table.cart img { width: 72px; border-radius: var(--r-sm); background: var(--surface); }
.woocommerce-cart table.cart td.product-name a { font-weight: 600; color: var(--ink); }
.woocommerce-cart table.cart td.product-name dl.variation { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1px 6px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.woocommerce-cart table.cart td.product-name dl.variation dt, .woocommerce-cart table.cart td.product-name dl.variation dd { display: block; float: none; margin: 0; padding: 0; font-weight: 500; min-width: 0; }
.woocommerce-cart table.cart td.product-name dl.variation dd p { display: inline; margin: 0; }
.woocommerce a.remove { color: var(--muted) !important; font-weight: 400; width: 30px; height: 30px; line-height: 28px; font-size: 22px; }
.woocommerce a.remove:hover { background: var(--sale); color: #fff !important; }
.woocommerce-cart table.cart .quantity { display: inline-flex; align-items: center; height: 42px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; background: var(--bg-raised); }
.woocommerce-cart table.cart .quantity .sg-qty-btn { width: 36px; }
.woocommerce-cart table.cart .quantity input.qty { width: 40px; height: 100%; border: 0; text-align: center; font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--ink); background: transparent; outline: none; -moz-appearance: textfield; }
.woocommerce-cart table.cart .quantity input.qty::-webkit-inner-spin-button, .woocommerce-cart table.cart .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; }
.woocommerce-cart table.cart td.actions { padding: 14px; }
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: 8px; float: none; width: 100%; padding-bottom: 10px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { float: none; flex: 1; min-width: 0; width: auto !important; margin: 0 !important; }
.woocommerce-cart table.cart td.actions > .button { width: 100%; float: none; }

.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals { width: 100%; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; background: var(--surface); border-radius: var(--r); padding: 18px 16px; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 14px; letter-spacing: .18em; margin-bottom: 12px; }
.woocommerce .cart-collaterals .cart_totals table.shop_table { background: var(--bg-raised); }
.woocommerce .cart-collaterals .cart_totals table th { width: 40%; }
.woocommerce ul#shipping_method { padding: 0; margin: 0; }
.woocommerce ul#shipping_method li { margin: 0; padding: 0; text-indent: 0; }
.woocommerce .woocommerce-shipping-destination { display: none; }   /* one delivery fee for the whole country */
.woocommerce .wc-proceed-to-checkout { padding: 14px 0 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; min-height: 54px; margin: 0; font-size: 13px !important; }
.woocommerce .cart-empty.woocommerce-info { justify-content: center; text-align: center; border-left: 0; padding: 36px 18px !important; font-size: 17px; font-weight: 600; }
.woocommerce .return-to-shop { text-align: center; }

@media (max-width: 768px) {
    /* WooCommerce stacks cart rows on phones; give each row a card look */
    .woocommerce table.shop_table_responsive tr { padding: 4px 0; }
    .woocommerce table.shop_table_responsive tr td { padding: 10px 14px; border-top: 0; text-align: right !important; background: transparent !important; }
    .woocommerce table.shop_table_responsive tr.cart_item { border-top: 1px solid var(--line); }
    .woocommerce table.shop_table_responsive tr.cart_item:first-child { border-top: 0; }
    .woocommerce table.shop_table_responsive tr td::before { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
    .woocommerce-cart table.cart td.product-thumbnail { display: block !important; text-align: left !important; padding-bottom: 0; }
    .woocommerce-cart table.cart td.product-thumbnail::before { display: none; }
    .woocommerce-cart table.cart td.product-remove { padding-bottom: 0; }
    .woocommerce-cart table.cart td.product-name { text-align: left !important; }
    .woocommerce-cart table.cart td.product-name::before { display: none; }
    .woocommerce-cart table.cart td.actions { border-top: 1px solid var(--line); text-align: left !important; }
}
@media (min-width: 1000px) {
    .woocommerce-cart .woocommerce { grid-template-columns: minmax(0, 1fr) 380px; gap: 24px 36px; align-items: start; }
    .woocommerce-cart .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .woocommerce > .sg-ship-progress, .woocommerce-cart .woocommerce > .cart-empty, .woocommerce-cart .woocommerce > .return-to-shop { grid-column: 1 / -1; }
    .woocommerce-cart table.cart td.actions .coupon { width: auto; max-width: 420px; float: left; padding-bottom: 0; }
    .woocommerce-cart table.cart td.actions > .button { width: auto; float: right; }
    .woocommerce .cart-collaterals .cart_totals { padding: 24px 22px; position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ==================================================================
   CHECKOUT
   Phones: one column — delivery details, then the order and payment.
   Desktop: details on the left, order summary on the right.
   ================================================================== */
.woocommerce-checkout .sg-ship-progress { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 18px; }
.woocommerce form.checkout { display: flex; flex-direction: column; gap: 18px; }
.woocommerce form.checkout > * { min-width: 0; }
.woocommerce form.checkout #customer_details { order: 1; }
.woocommerce form.checkout #order_review_heading { order: 2; }
.woocommerce form.checkout #order_review { order: 3; }
.woocommerce form.checkout #customer_details,
.woocommerce form.checkout #order_review { width: 100%; float: none; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; background: var(--bg-raised); }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-1, .woocommerce-page .col2-set .col-2 { float: none; width: 100%; }
.woocommerce form.checkout .col-2:empty, .woocommerce form.checkout .woocommerce-shipping-fields:empty, .woocommerce form.checkout .woocommerce-additional-fields:empty { display: none; }
.woocommerce form.checkout h3 { font-size: 14px; letter-spacing: .18em; margin-bottom: 14px; }
.woocommerce form.checkout #order_review_heading { margin: 6px 0 -8px; }
.woocommerce form.checkout #ship-to-different-address { display: none; }
.woocommerce-checkout-review-order-table .product-name { overflow-wrap: anywhere; }
/* "Colour: Black / Size: M / Pack: 1 Pair" under a line: one option per row */
.woocommerce-checkout-review-order-table dl.variation { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1px 6px; margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.woocommerce-checkout-review-order-table dl.variation dt, .woocommerce-checkout-review-order-table dl.variation dd { display: block; float: none; margin: 0; padding: 0; font-weight: 500; min-width: 0; }
.woocommerce-checkout-review-order-table dl.variation dd p { display: inline; margin: 0; }
.woocommerce-checkout-review-order-table tfoot th { color: var(--ink); }
.woocommerce-checkout-review-order-table .amount { white-space: nowrap; }
.woocommerce-checkout-review-order-table .order-total .amount { font-size: 17px; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding-left: 10px; padding-right: 10px; }

.woocommerce-checkout #payment { background: transparent; border-radius: 0; margin-top: 16px; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0; border: 0; display: grid; gap: 8px; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 13px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); line-height: 1.5; }
.woocommerce-checkout #payment ul.payment_methods li input { margin: 0 8px 0 0; accent-color: var(--brand); width: 17px; height: 17px; vertical-align: -3px; }
.woocommerce-checkout #payment ul.payment_methods li label { font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.woocommerce-checkout #payment div.payment_box { background: var(--surface); color: var(--ink-soft); border-radius: var(--r-sm); margin: 10px 0 0; padding: 11px 13px; font-size: 13.5px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 16px 0 0; margin: 0; }
.woocommerce-checkout #payment #place_order { float: none; width: 100%; min-height: 56px; font-size: 14px !important; margin-top: 12px; }
.woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--muted); }
.woocommerce form.checkout_coupon, .woocommerce form.login { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 0 0 18px; }

@media (min-width: 1000px) {
    .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto 1fr; gap: 14px 36px; align-items: start; }
    .woocommerce form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
    .woocommerce form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; padding: 26px 24px; }
    .woocommerce form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; }
    .woocommerce form.checkout #order_review { grid-column: 2; grid-row: 2; padding: 22px; position: sticky; top: calc(var(--header-h) + 20px); }
}

/* Order received */
.woocommerce-order { max-width: 860px; }
.woocommerce-order .woocommerce-thankyou-order-received { font-family: var(--display); font-size: clamp(20px, 5vw, 30px); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; color: var(--brand); margin-bottom: 18px; }
.woocommerce ul.order_details { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 18px; margin: 0 0 22px; background: var(--surface); border-radius: var(--r); }
.woocommerce ul.order_details::before, .woocommerce ul.order_details::after { display: none; }
.woocommerce ul.order_details li { float: none; margin: 0; padding: 0; border: 0; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.woocommerce ul.order_details li strong { display: block; margin-top: 4px; font-family: var(--sans); font-size: 15.5px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.woocommerce-order h2 { font-size: 14px; letter-spacing: .18em; margin: 22px 0 12px; }
.woocommerce .woocommerce-customer-details address { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; line-height: 1.8; }
