/* ==========================================================================
   Yakshas La Fortress — static theme
   Class names follow WooCommerce conventions where possible so the markup
   can be lifted into theme templates with minimal changes.
   ========================================================================== */

:root {
  --ink: #0d0d0d;
  --ink-2: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e6e4e0;
  --paper: #ffffff;
  --paper-2: #f7f6f3;
  --stone: #efece6;
  --accent: #a3161c;          /* trident red from the logo */
  --accent-ink: #7d1015;
  --success: #2f8f4e;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.no-scroll { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: 2px;
  background: var(--ink); color: #fff;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover, .button:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--accent); color: #fff; font-size: 12px; letter-spacing: .08em; text-align: center; padding: 8px var(--gutter); }
.announce strong { font-weight: 600; }

/* ==========================================================================
   Header + mega menu
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.site-branding { display: flex; align-items: center; gap: 12px; flex: none; }
.site-branding img { width: 44px; height: 44px; border-radius: 50%; }
.site-title { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.site-title span { font-weight: 400; opacity: .85; }

.main-navigation { flex: 1; display: flex; justify-content: center; height: 100%; }
.main-navigation > ul { display: flex; align-items: stretch; gap: 4px; height: 100%; }
.main-navigation > ul > li { display: flex; align-items: center; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 100%; padding: 0 14px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.88);
  transition: color .2s;
}
.nav-link .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"], .has-mega.is-open > .nav-link { color: #fff; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .has-mega.is-open > .nav-link::after { transform: scaleX(1); }
.has-mega.is-open > .nav-link .icon { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.header-actions a, .header-actions button {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  color: rgba(255,255,255,.9); transition: background .2s;
}
.header-actions a:hover, .header-actions button:hover { background: rgba(255,255,255,.08); color: #fff; }
.cart-count {
  position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
}
.menu-toggle { display: none; }

/* Mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); color: var(--ink);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: 250px 1fr 300px; gap: 48px; padding-block: 40px 44px; }
.mega__intro { border-right: 1px solid var(--line); padding-right: 36px; display: flex; flex-direction: column; }
.mega__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.mega__intro h3 { font-size: 28px; margin-bottom: 10px; }
.mega__intro p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.mega__intro .link-arrow { margin-top: auto; }
.mega__cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; align-content: start; }
.mega-cat { display: flex; align-items: center; gap: 14px; padding: 12px; margin: 0 -12px; border-radius: var(--radius-sm); transition: background .2s; }
.mega-cat:hover { background: var(--paper-2); }
.mega-cat__badge {
  width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--stone); font-size: 13px; font-weight: 700; color: var(--ink-2); transition: background .2s, color .2s;
}
.mega-cat:hover .mega-cat__badge { background: var(--ink); color: #fff; }
.mega-cat strong { display: block; font-size: 15px; font-weight: 600; }
.mega-cat span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
.mega__feature { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; min-height: 260px; display: flex; }
.mega__feature img, .mega__feature .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78)); }
.mega__feature-body { position: relative; z-index: 1; margin-top: auto; padding: 22px; }
.mega__feature-body small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.mega__feature-body h4 { font-size: 20px; margin: 6px 0 10px; }
.mega-backdrop { position: fixed; inset: 0; top: var(--header-h); background: rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 40; }
.mega-backdrop.is-visible { opacity: 1; visibility: visible; }

/* Search overlay */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); color: var(--ink); padding-block: 28px; box-shadow: var(--shadow); display: none; }
.search-panel.is-open { display: block; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .35s var(--ease);
}
.drawer--right .drawer__panel { left: auto; right: 0; transform: translateX(100%); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head strong { font-family: var(--serif); font-size: 20px; }
.drawer__close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.drawer__close:hover { background: var(--paper-2); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 24px; }
.drawer__foot { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.drawer__foot .btn { flex: 1; min-height: 44px; padding: 0 12px; }
.m-nav > li { border-bottom: 1px solid var(--line); }
.m-nav > li > a, .m-acc-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 16px; font-weight: 500; text-align: left; }
.m-acc-btn .icon { transition: transform .25s var(--ease); }
.m-acc-btn[aria-expanded="true"] .icon { transform: rotate(45deg); }
.m-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.m-acc-panel > div { overflow: hidden; }
.m-acc-btn[aria-expanded="true"] + .m-acc-panel { grid-template-rows: 1fr; }
.m-acc-panel ul { padding: 0 0 14px; }
.m-acc-panel a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 14px; color: var(--ink-2); }
.m-acc-panel .mega-cat__badge { width: 32px; height: 32px; font-size: 11px; }

/* ==========================================================================
   Placeholder image (until WooCommerce supplies product photography)
   ========================================================================== */
.ph {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(120% 90% at 50% 20%, #2b2a28 0%, #121212 70%);
  color: rgba(255,255,255,.55); overflow: hidden;
}
.ph img { width: 30%; max-width: 110px; opacity: .55; filter: grayscale(.3); }
.ph--light { background: radial-gradient(120% 90% at 50% 20%, #f4f1eb 0%, #e3ded4 75%); }
.ph--light img { opacity: .35; }
.ph__label { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; }
.ph--light .ph__label { color: var(--muted); }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 30%, rgba(163,22,28,.28), transparent 60%),
    radial-gradient(40% 60% at 10% 100%, rgba(255,255,255,.06), transparent 70%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; min-height: min(86vh, 760px); padding-block: 72px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 26px; }
.hero__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.hero h1 em { font-style: italic; font-weight: 400; text-transform: none; color: #e9d8c4; display: block; font-size: .62em; letter-spacing: 0; margin-top: 10px; }
.hero__lede { max-width: 480px; margin: 26px 0 36px; font-size: 16px; color: rgba(255,255,255,.72); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { display: flex; gap: 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__meta strong { display: block; font-family: var(--serif); font-size: 26px; }
.hero__meta span { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .08em; }
.hero__collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: min(64vh, 600px); }
.hero__collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #1a1a1a; }
.hero__collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__collage figure:hover img { transform: scale(1.04); }
.hero__collage figure:first-child { grid-row: span 2; }
.hero__tag { position: absolute; left: -22px; bottom: 34px; background: #fff; color: var(--ink); border-radius: 10px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.hero__tag img { width: 44px; height: 54px; object-fit: cover; border-radius: 6px; }
.hero__tag small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__tag strong { font-size: 14px; }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tint { background: var(--paper-2); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head .eyebrow, .eyebrow { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--muted); margin-top: 12px; }
.section-head--split { display: flex; align-items: end; justify-content: space-between; text-align: left; max-width: none; gap: 24px; }

.style-search { max-width: 720px; margin: 0 auto; text-align: center; }
.style-search h2 { font-size: clamp(26px, 3vw, 34px); }
.style-search > p { color: var(--muted); margin: 8px 0 26px; }
.search-form { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.25); }
.search-form .icon { color: var(--muted); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 12px; font-size: 15px; }
.search-form button { min-height: 44px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.search-form button:hover { background: var(--accent); }
.popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.chip { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; color: var(--ink-2); background: #fff; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.cat-card > img, .cat-card > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.cat-card:hover > img, .cat-card:hover > .ph { transform: scale(1.05); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.82)); }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.cat-card__body small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.cat-card__body h3 { font-size: 28px; margin: 6px 0 6px; }
.cat-card__body p { font-size: 14px; opacity: .8; margin-bottom: 16px; max-width: 260px; }

.stats { background: var(--ink); color: #fff; padding-block: 64px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .icon { width: 26px; height: 26px; margin: 0 auto 14px; color: #e9d8c4; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(30px, 3.6vw, 42px); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.65); letter-spacing: .06em; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story__media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.story__media img:last-child { margin-top: 48px; }
.story h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.story p { color: var(--muted); margin-bottom: 14px; }
.story .btn { margin-top: 14px; }

.perks { border-block: 1px solid var(--line); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; gap: 14px; align-items: center; padding: 26px 20px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk .icon { width: 26px; height: 26px; color: var(--accent); }
.perk strong { display: block; font-size: 14px; }
.perk span { font-size: 12.5px; color: var(--muted); }

/* ==========================================================================
   Product loop (WooCommerce: ul.products > li.product)
   ========================================================================== */
ul.products { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 40px 24px; }
ul.products.columns-4 { --cols: 4; }
li.product { position: relative; display: flex; flex-direction: column; }
.product__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s; }
.product__media .img-alt { position: absolute; inset: 0; opacity: 0; }
li.product:hover .product__media img { transform: scale(1.04); }
li.product:hover .product__media .img-alt { opacity: 1; }
.onsale { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.badge-new { position: absolute; top: 14px; left: 14px; z-index: 2; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.product__wish { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .2s, color .2s; }
.product__wish:hover { transform: scale(1.08); color: var(--accent); }
.product__wish.is-active { color: var(--accent); }
.product__wish.is-active .icon { fill: currentColor; }
.product__quick { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
li.product:hover .product__quick, li.product:focus-within .product__quick { opacity: 1; transform: none; }
.product__quick .button { width: 100%; background: #fff; color: var(--ink); border-color: #fff; min-height: 44px; }
.product__quick .button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.product__info { display: flex; justify-content: space-between; gap: 14px; padding-top: 16px; }
.product__cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.woocommerce-loop-product__title { font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: 0; margin: 3px 0 4px; line-height: 1.35; }
.price { font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.price del { color: var(--muted); margin-left: 6px; font-size: .9em; }
.price ins { text-decoration: none; font-weight: 600; color: var(--ink); }
.swatch-dots { display: flex; gap: 5px; margin-top: 8px; }
.swatch-dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.add_to_cart_button.mini { flex: none; align-self: start; min-height: 38px; padding: 0 16px; font-size: 11px; background: transparent; color: var(--ink); border-color: var(--line); }
.add_to_cart_button.mini:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.add_to_cart_button.added { background: var(--success) !important; border-color: var(--success) !important; color: #fff !important; }
.center-cta { text-align: center; margin-top: 52px; }

/* List view */
ul.products.is-list { --cols: 1; gap: 24px; }
ul.products.is-list li.product { flex-direction: row; gap: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
ul.products.is-list .product__media { width: 220px; flex: none; }
ul.products.is-list .product__info { flex: 1; align-items: center; padding-top: 0; }
ul.products.is-list .product__excerpt { display: block; }
.product__excerpt { display: none; font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 520px; }

/* ==========================================================================
   Archive (shop / category)
   ========================================================================== */
.woocommerce-products-header { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.archive-hero { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding-block: 40px 36px; }
.archive-hero__title { display: flex; gap: 20px; align-items: flex-start; }
.back-btn { width: 48px; height: 48px; flex: none; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: #fff; transition: border-color .2s, background .2s; }
.back-btn:hover { border-color: var(--ink); }
.woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.woocommerce-breadcrumb a:hover { color: var(--ink); }
.woocommerce-breadcrumb .sep { margin: 0 6px; opacity: .6; }
.page-title { font-size: clamp(32px, 4.4vw, 52px); }
.term-description { color: var(--muted); margin-top: 8px; max-width: 560px; }
.subcat-pills { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; }
.subcat-pills a { padding: 8px 16px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 13px; font-weight: 500; transition: all .2s; }
.subcat-pills a:hover, .subcat-pills a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 40px; padding-block: 40px 96px; align-items: start; }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.widget { padding: 22px 0; border-bottom: 1px solid var(--line); }
.widget:first-child { padding-top: 0; }
.widget-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.widget-title { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.clear-all { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.check { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.check input { appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid #bdbab3; border-radius: 4px; display: grid; place-items: center; transition: all .15s; flex: none; }
.check input[type="radio"] { border-radius: 50%; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 8px; height: 8px; background: #fff; border-radius: 2px; }
.check input[type="radio"]:checked::after { border-radius: 50%; }
.check .count { margin-left: auto; font-size: 12px; color: var(--muted); }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.price-inputs label { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 10px; background: #fff; }
.price-inputs input { width: 100%; border: 0; outline: 0; padding: 10px 4px; background: transparent; color: var(--ink); }
.range { position: relative; height: 4px; background: var(--line); border-radius: 2px; margin: 22px 6px 6px; }
.range span { position: absolute; left: 0; right: 30%; top: 0; bottom: 0; background: var(--ink); border-radius: 2px; }
.range span::before, .range span::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); transform: translate(-50%, -50%); }
.range span::before { left: 0; } .range span::after { left: 100%; }
.color-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.color-filter button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; transition: box-shadow .2s; }
.color-filter button.is-active, .color-filter button:hover { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.size-filter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size-filter button { height: 38px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; transition: all .2s; }
.size-filter button:hover, .size-filter button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

.shop-toolbar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--paper-2); border-radius: var(--radius-sm); margin-bottom: 28px; }
.woocommerce-result-count { font-size: 13.5px; color: var(--muted); margin-right: auto; }
.woocommerce-ordering { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.woocommerce-ordering select { height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23111' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; cursor: pointer; }
.view-toggle { display: flex; gap: 4px; }
.view-toggle button { width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--muted); }
.view-toggle button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.filter-toggle { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 13.5px; font-weight: 600; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--stone); font-size: 12.5px; }
.active-filters .icon { width: 14px; height: 14px; }
.empty-state { display: none; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state.is-visible { display: block; }

.woocommerce-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.woocommerce-pagination a, .woocommerce-pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 14px; font-weight: 500; }
.woocommerce-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.woocommerce-pagination a:hover { border-color: var(--ink); }

/* ==========================================================================
   Single product
   ========================================================================== */
.product-top { padding-block: 28px 12px; display: flex; align-items: center; gap: 16px; }
.product-top .back-btn { width: 42px; height: 42px; }
.product-top .woocommerce-breadcrumb { margin: 0; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: 80px; align-items: start; }
.yk-gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery-thumbs button { aspect-ratio: 4/5; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; opacity: .65; transition: all .2s; background: var(--ink); }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { border-color: var(--ink); opacity: 1; }
.gallery-main { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gallery-main .ph { position: absolute; inset: 0; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.18); transition: transform .2s; }
.gallery-nav:hover { transform: translateY(-50%) scale(1.06); }
.gallery-nav--prev { left: 16px; } .gallery-nav--next { right: 16px; }
.gallery-count { position: absolute; bottom: 16px; right: 16px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.zoom-btn { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }

.summary { display: flex; flex-direction: column; }
.brand-pill { align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; margin-bottom: 18px; }
.product_title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 14px; }
.rating-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.stars { display: flex; gap: 2px; color: #c8a24a; }
.stars .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.stars.is-empty { color: #d6d3cc; }
.summary .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 30px; font-weight: 700; color: var(--ink); }
.summary .price del { font-size: 18px; font-weight: 400; margin: 0; }
.save-tag { font-size: 12px; font-weight: 700; color: var(--accent); background: rgba(163,22,28,.08); padding: 4px 10px; border-radius: 999px; }
.tax-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.woocommerce-product-details__short-description { margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }
.variations { margin-top: 26px; display: flex; flex-direction: column; gap: 24px; }
.var-label { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 12px; }
.var-label b { font-weight: 600; }
.size-guide-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.size-guide-link .icon { width: 16px; height: 16px; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch-img { width: 64px; aspect-ratio: 4/5; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; outline: 1px solid var(--line); transition: all .2s; background: var(--ink); }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; }
.swatch-img.is-active { border-color: var(--ink); outline-color: var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sizes button { height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; transition: all .2s; }
.sizes button:hover { border-color: var(--ink); }
.sizes button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizes button[disabled] { color: #bbb; cursor: not-allowed; background: repeating-linear-gradient(135deg, transparent 0 6px, #f2f1ee 6px 7px); }
.cart-row { display: flex; gap: 12px; margin-top: 28px; }
.quantity { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; height: 52px; flex: none; }
.quantity button { width: 44px; height: 100%; display: grid; place-items: center; }
.quantity button:hover { background: var(--paper-2); }
.quantity input { width: 44px; text-align: center; border: 0; outline: 0; font-weight: 600; -moz-appearance: textfield; }
.quantity input::-webkit-outer-spin-button, .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.single_add_to_cart_button { flex: 1; min-height: 52px; }
.buy-now { min-height: 52px; width: 100%; margin-top: 12px; background: var(--accent); border-color: var(--accent); }
.buy-now:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.secondary-actions { display: flex; gap: 22px; margin-top: 18px; font-size: 13.5px; }
.secondary-actions button { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.secondary-actions button:hover { color: var(--accent); }
.secondary-actions .icon { width: 18px; height: 18px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--success); margin-top: 14px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(47,143,78,.15); }
.key-features { margin-top: 28px; padding: 22px; background: var(--paper-2); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.key-features h3 { grid-column: 1 / -1; font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.key-features li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.key-features .icon { width: 16px; height: 16px; color: var(--success); }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust-row div { display: flex; gap: 10px; align-items: flex-start; }
.trust-row .icon { color: var(--muted); margin-top: 2px; }
.trust-row strong { display: block; font-size: 13.5px; }
.trust-row span { font-size: 12px; color: var(--muted); }
.product_meta { margin-top: 22px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.product_meta b { color: var(--ink-2); font-weight: 500; }

.woocommerce-tabs { border-top: 1px solid var(--line); padding-block: 0 80px; }
.wc-tabs { display: flex; gap: 36px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.wc-tabs button { position: relative; padding: 22px 0 18px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.wc-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s var(--ease); }
.wc-tabs button[aria-selected="true"] { color: var(--ink); }
.wc-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.wc-tab { padding-top: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.wc-tab[hidden] { display: none; }
.wc-tab h2 { font-size: 26px; margin-bottom: 14px; }
.wc-tab h3 { font-family: var(--sans); font-size: 14px; font-weight: 700; margin: 26px 0 8px; }
.wc-tab p { color: var(--ink-2); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; font-weight: 500; color: var(--muted); }
.care-list { display: grid; gap: 14px; }
.care-list li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; }
.care-list .icon { color: var(--accent); }
.review-empty { text-align: center; padding: 36px; border: 1px dashed var(--line); border-radius: var(--radius); }
.review-empty p { color: var(--muted); margin: 8px 0 20px; }

/* Size guide modal */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s linear .25s; }
.modal.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.modal__box { position: relative; width: min(640px, 100%); max-height: 90vh; overflow: auto; background: #fff; border-radius: var(--radius); padding: 32px; transform: translateY(12px); transition: transform .3s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__box h2 { font-size: 26px; margin-bottom: 6px; }
.modal__box > p { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.modal__close:hover { background: var(--paper-2); }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; }
.size-table th, .size-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--paper-2); font-weight: 600; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 10px; display: flex; align-items: center; gap: 12px; font-size: 14px; box-shadow: var(--shadow); transition: all .3s var(--ease); max-width: calc(100% - 32px); }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast .icon { color: #7bd69a; }
.toast a { text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }

/* Mobile sticky buy bar */
.sticky-buy { display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 48px; padding-block: 72px 56px; }
.footer-brand .site-branding { color: #fff; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.footer-legal { margin-top: 20px; font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.8; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a:hover { color: #fff; }
.newsletter p { margin-bottom: 16px; }
.newsletter form { display: flex; border: 1px solid rgba(255,255,255,.22); border-radius: 2px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 16px; height: 50px; color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter button { padding: 0 20px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.newsletter button:hover { background: var(--accent); color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; transition: all .2s; }
.socials a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; font-size: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a:hover { color: #fff; }
.secure { display: inline-flex; align-items: center; gap: 8px; }
.secure::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ccf6e; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .main-navigation .nav-link { padding: 0 10px; }
  .site-title { font-size: 19px; }
  .mega__inner { grid-template-columns: 220px 1fr 240px; gap: 32px; }
  ul.products.columns-4 { --cols: 3; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .main-navigation { display: none; }
  .menu-toggle { display: grid; }
  .site-header__inner { gap: 8px; }
  .site-branding { margin-right: auto; }
  .header-actions .hide-tablet { display: none; }
  .mega-backdrop { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-block: 56px 64px; }
  .hero__collage { height: 440px; }
  .hero__tag { left: 12px; }
  .story { grid-template-columns: 1fr; }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  .shop-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .filter-toggle { display: inline-flex; }
  .shop-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 110; width: min(360px, 88vw); background: #fff; padding: 0; transform: translateX(-100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
  .shop-sidebar.is-open { transform: none; }
  .shop-sidebar .drawer__head { display: flex; }
  .shop-sidebar .filters-scroll { flex: 1; overflow-y: auto; padding: 20px; }
  .shop-sidebar .drawer__foot { display: flex; }
  .filters-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 105; opacity: 0; visibility: hidden; transition: opacity .3s; }
  .filters-overlay.is-visible { opacity: 1; visibility: visible; }

  .product-layout { grid-template-columns: 1fr; }
  .yk-gallery { position: static; grid-template-columns: 1fr; }
  .gallery-thumbs { order: 2; flex-direction: row; overflow-x: auto; }
  .gallery-thumbs button { width: 72px; flex: none; }
  .wc-tab { grid-template-columns: 1fr; gap: 32px; }
}
@media (min-width: 1024px) {
  .shop-sidebar .drawer__head, .shop-sidebar .drawer__foot { display: none; }
  .filters-overlay { display: none; }
}

@media (max-width: 767px) {
  body { font-size: 14.5px; }
  .announce { font-size: 11px; }
  .site-branding img { width: 36px; height: 36px; }
  .site-title { font-size: 16px; }
  .header-actions a, .header-actions button { width: 38px; height: 38px; }
  .header-actions .hide-mobile { display: none; }

  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero__meta { gap: 22px; }
  .hero__meta strong { font-size: 22px; }
  .hero__collage { height: 360px; gap: 10px; }
  .hero__tag { display: none; }

  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat-card { aspect-ratio: 16 / 11; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  ul.products, ul.products.columns-4 { --cols: 2; gap: 28px 14px; }
  .product__info { flex-direction: column; gap: 10px; padding-top: 12px; }
  .woocommerce-loop-product__title { font-size: 14px; }
  .add_to_cart_button.mini { width: 100%; }
  .product__quick { display: none; }
  .product__wish { width: 34px; height: 34px; top: 8px; right: 8px; }
  .onsale, .badge-new { top: 10px; left: 10px; font-size: 10px; padding: 4px 9px; }
  ul.products.is-list li.product { flex-direction: column; gap: 0; }
  ul.products.is-list .product__media { width: 100%; }

  .perks__grid { grid-template-columns: 1fr; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--line); }
  .story__media img:last-child { margin-top: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }

  .archive-hero { grid-template-columns: 1fr; padding-block: 28px 24px; }
  .back-btn { width: 40px; height: 40px; }
  .subcat-pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .subcat-pills a { white-space: nowrap; }
  .shop-toolbar { flex-wrap: wrap; padding: 10px; gap: 10px; }
  .woocommerce-result-count { order: 3; width: 100%; margin: 0; font-size: 12.5px; }
  .woocommerce-ordering span { display: none; }
  .view-toggle { margin-left: auto; }

  .product-top .woocommerce-breadcrumb { font-size: 12px; }
  .sizes { grid-template-columns: repeat(3, 1fr); }
  .key-features { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .gallery-nav { width: 38px; height: 38px; }
  .modal__box { padding: 24px 18px; }
  .size-table { font-size: 12.5px; }
  .sticky-buy {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 12px; align-items: center;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    transform: translateY(100%); transition: transform .3s var(--ease);
  }
  .sticky-buy.is-visible { transform: none; }
  .sticky-buy img { width: 44px; height: 54px; border-radius: 6px; object-fit: cover; }
  .sticky-buy div { flex: 1; min-width: 0; }
  .sticky-buy strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy span { font-size: 13px; color: var(--muted); }
  .sticky-buy .btn { min-height: 44px; padding: 0 18px; }
  body.has-sticky-buy .site-footer { padding-bottom: 76px; }
}

/* Specificity fixes */
.mega-cat .mega-cat__badge { display: grid; font-size: 13px; line-height: 1; color: var(--ink-2); }
.mega-cat:hover .mega-cat__badge { color: #fff; }
.product__media .ph img, .mega__feature .ph img, .cat-card .ph img { position: static; width: 30%; max-width: 110px; height: auto; object-fit: contain; transform: none; }
.product__media .ph { position: absolute; inset: 0; }
@media (max-width: 767px) {
  .view-toggle { display: none; }
  .woocommerce-ordering { margin-left: auto; }
}

/* ==========================================================================
   WordPress / WooCommerce theme layer
   ========================================================================== */
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 16px; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cart-count.is-empty { display: none; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 11px; }
.section--compact { padding-block: clamp(48px, 6vw, 72px); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .section-head p, .section--dark .story p { color: rgba(255,255,255,.7); }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.container--narrow { max-width: 820px; }
.admin-hint { padding: 14px 18px; border: 1px dashed var(--accent); border-radius: var(--radius-sm); background: rgba(163,22,28,.04); font-size: 14px; margin-bottom: 20px; }
.admin-hint a { color: var(--accent); text-decoration: underline; }

/* Mega without feature card */
.mega--no-feature .mega__inner { grid-template-columns: 250px 1fr; }
.mega__cats { list-style: none; }
.mega__feature .ph { position: absolute; inset: 0; }

/* Hero variants */
.hero__inner--solo { grid-template-columns: 1fr; text-align: center; justify-items: center; min-height: min(70vh, 640px); }
.hero__inner--solo .hero__lede { margin-inline: auto; }
.hero__inner--solo .hero__ctas, .hero__inner--solo .hero__meta { justify-content: center; }
.hero__inner--solo .hero__eyebrow::before { display: none; }
.hero__title { font-size: clamp(44px, 6.6vw, 92px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.hero__title em { font-style: italic; font-weight: 400; text-transform: none; color: #e9d8c4; display: block; font-size: .62em; letter-spacing: 0; margin-top: 10px; }
.hero__collage--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.hero__collage--1 figure:first-child { grid-row: auto; }
.hero__collage--2 { grid-template-rows: 1fr; }
.hero__collage--2 figure:first-child { grid-row: auto; }
.hero__tag .price { font-size: 13px; display: block; }
.hero__tag .price del { display: none; }
.hero__tag img { width: 44px !important; height: 54px !important; }

/* Grids driven by item count */
.cat-grid { grid-template-columns: repeat(var(--n, 3), 1fr); }
.stats__grid { grid-template-columns: repeat(var(--n, 4), 1fr); }
.perks__grid { grid-template-columns: repeat(var(--n, 4), 1fr); }

/* Story variants */
.story--reverse .story__media { order: 2; }
.story--text-only { grid-template-columns: 1fr; max-width: 760px; text-align: center; }
.story__media--single { grid-template-columns: 1fr; }
.story__media--single img:last-child { margin-top: 0; }
.story .entry-content p { color: var(--muted); margin-bottom: 14px; }

/* Promo banner */
.promo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; min-height: 380px; display: flex; align-items: center; isolation: isolate; }
.promo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.2)); }
.promo--center { justify-content: center; text-align: center; }
.promo--center::after { background: rgba(0,0,0,.5); }
.promo__body { padding: clamp(32px, 6vw, 72px); max-width: 620px; }
.promo__body h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 14px; }
.promo__body p { color: rgba(255,255,255,.8); margin-bottom: 26px; }
.promo .eyebrow { color: #e9d8c4; }

/* Icon features */
.feature-grid { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 20px; }
.feature { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; }
.section--tint .feature { border-color: transparent; }
.feature__icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; color: var(--accent); }
.feature h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.quote { margin: 0; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.quote .stars .icon { width: 15px; height: 15px; fill: #c8a24a; stroke: none; }
.quote blockquote { margin: 14px 0 18px; font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.quote figcaption strong { display: block; font-size: 14px; }
.quote figcaption span { font-size: 13px; color: var(--muted); }

/* Generic pages */
.page-header { background: var(--paper-2); border-bottom: 1px solid var(--line); padding-block: 40px 36px; }
.page-header .page-title { margin-top: 4px; }
.page-body { padding-block: 48px 88px; }
.page-body > .entry-content { max-width: 820px; }
.page-body--wc > .entry-content { max-width: none; }
.entry-content { font-size: 15.5px; color: var(--ink-2); }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; list-style: revert; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content thead th { background: var(--paper-2); }
.size-table td, .size-table th { text-align: center !important; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.post-card__media { display: block; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; position: relative; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card h2 { font-size: 22px; margin: 6px 0 8px; }
.post-card p { color: var(--muted); font-size: 14px; }
.post-hero { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.not-found { text-align: center; max-width: 640px; }
.not-found p { color: var(--muted); margin: 14px 0 26px; }
.not-found__search { margin-bottom: 26px; }

/* Footer menus */
.footer-links li + li { margin-top: 10px; }
.footer-links a:hover { color: #fff; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom nav { align-items: center; }
.newsletter__msg { margin-top: 10px; font-size: 13px; color: #7bd69a; }
.newsletter__msg.is-error { color: #ff9b9b; }
.footer-brand .site-branding img { width: 44px; height: 44px; border-radius: 50%; }

/* ---------- Shop filters (links) ---------- */
.shop-main { min-width: 0; }
.widget--clear { padding-top: 0; }
a.check { color: var(--ink); }
.check__box { width: 18px; height: 18px; flex: none; border: 1px solid #bdbab3; border-radius: 4px; display: grid; place-items: center; transition: all .15s; }
.check--radio .check__box { border-radius: 50%; }
.check.is-checked .check__box { background: var(--ink); border-color: var(--ink); }
.check.is-checked .check__box::after { content: ""; width: 8px; height: 8px; background: #fff; border-radius: 2px; }
.check--radio.is-checked .check__box::after { border-radius: 50%; }
.check:hover .check__box { border-color: var(--ink); }
.price-form .btn { margin-top: 14px; width: 100%; }
.size-filter a { height: 38px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; display: grid; place-items: center; transition: all .2s; }
.size-filter a:hover, .size-filter a.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.color-filter a { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; transition: box-shadow .2s; }
.color-filter a.is-active, .color-filter a:hover { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.active-filters { margin: -12px 0 24px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--stone); font-size: 12.5px; }
.active-filters a:hover { background: var(--ink); color: #fff; }
.active-filters .icon { width: 14px; height: 14px; }
.term-description, .page-description { color: var(--muted); margin-top: 8px; max-width: 560px; }
.term-description p, .page-description p { margin: 0; }
.woocommerce-result-count { margin: 0 auto 0 0; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23111' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; cursor: pointer; font-size: 13.5px; }
.shop-sidebar .filters-scroll { padding: 0; }
@media (max-width: 1023px) {
  .shop-sidebar .filters-scroll { padding: 20px; }
  .filters-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 105; opacity: 0; visibility: hidden; transition: opacity .3s; }
  body.filters-open .filters-overlay { opacity: 1; visibility: visible; }
}

/* WooCommerce pagination */
nav.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; border: 0; }
nav.woocommerce-pagination { display: block; margin-top: 56px; }
nav.woocommerce-pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 14px; font-weight: 500; }
nav.woocommerce-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
nav.woocommerce-pagination a.page-numbers:hover { border-color: var(--ink); }

/* Cards: WooCommerce bits */
ul.products { list-style: none; margin: 0; padding: 0; }
ul.products::before, ul.products::after { display: none !important; }
ul.products.columns-2 { --cols: 2; }
ul.products.columns-3 { --cols: 3; }
ul.products.columns-4 { --cols: 4; }
li.product { width: auto !important; margin: 0 !important; float: none !important; }
.product__media .ph { position: absolute; inset: 0; }
.product__info .button { flex: none; align-self: start; min-height: 38px; padding: 0 16px; font-size: 11px; background: transparent; color: var(--ink); border-color: var(--line); white-space: nowrap; }
.product__info .button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.product__info .button.loading { opacity: .6; pointer-events: none; }
.product__info .button.added { background: var(--success); border-color: var(--success); color: #fff; }
.product__info a.added_to_cart { display: none; }
.woocommerce-loop-product__title a:hover { color: var(--accent); }
.price .woocommerce-Price-amount { white-space: nowrap; }
.price del { opacity: .9; }
.price ins { text-decoration: none; }
.price .screen-reader-text, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.badge-oos { background: var(--ink-2); color: #fff; }
.related-wrap .related > h2, .related-wrap .up-sells > h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 32px; }
.related-wrap .up-sells { margin-bottom: 64px; }

/* ---------- Single product: WooCommerce form ---------- */
.yk-gallery[data-count="0"], .yk-gallery[data-count="1"] { grid-template-columns: 1fr; }
.summary .product_title { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 14px; }
.summary > .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 30px; font-weight: 700; color: var(--ink); margin: 0; }
.summary > .price del { font-size: 18px; font-weight: 400; margin: 0; order: 2; color: var(--muted); }
.summary > .price ins { order: 1; }
.price-note { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.price-note .tax-note { margin: 0; }
.price-note .save-tag .woocommerce-Price-amount { font-weight: 700; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1em; font-size: 14px; line-height: 1; overflow: hidden; font-family: sans-serif; }
.star-rating::before { content: "★★★★★"; color: #d6d3cc; letter-spacing: .08em; position: absolute; inset: 0; }
.star-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; color: #c8a24a; letter-spacing: .08em; position: absolute; top: 0; left: 0; }
.summary form.cart { margin-top: 26px; }
.summary .size-guide-link { float: right; margin-top: 4px; position: relative; z-index: 1; }
.variations_form .variations { width: 100%; border: 0; margin: 0; display: block; }
.variations tbody, .variations tr { display: block; }
.variations tr + tr { margin-top: 22px; }
.variations th.label, .variations td.label { display: block; text-align: left; padding: 0 0 12px; font-size: 14px; font-weight: 500; }
.variations th.label label::after { content: ":"; }
.variations .yk-chosen { font-weight: 600; margin-left: 6px; }
.variations td.value { display: block; padding: 0; }
.variations select { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; background: #fff; }
.variations select.yk-hidden-select { position: absolute !important; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.variations .reset_variations { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.yk-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.yk-options button { height: 48px; padding: 0 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; background: #fff; transition: all .2s; }
.yk-options button:hover { border-color: var(--ink); }
.yk-options button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.yk-options button[disabled] { color: #bbb; cursor: not-allowed; background: repeating-linear-gradient(135deg, transparent 0 6px, #f2f1ee 6px 7px); }
.yk-options--color { display: flex; flex-wrap: wrap; }
.yk-options--color button { width: 44px; height: 44px; border-radius: 50%; padding: 0; box-shadow: inset 0 0 0 3px #fff; border: 1px solid var(--line); }
.yk-options--color button.is-active { background: var(--sw); border: 2px solid var(--ink); }
.yk-options--color button[disabled] { opacity: .35; background: var(--sw); }
.single_variation_wrap .woocommerce-variation { margin-top: 18px; }
.woocommerce-variation-price .price { font-size: 20px; font-weight: 600; }
.woocommerce-variation-price .price del { color: var(--muted); font-weight: 400; font-size: 15px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--success); margin: 14px 0 0; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(47,143,78,.15); }
.stock.out-of-stock { color: var(--accent); }
.stock.out-of-stock::before { box-shadow: 0 0 0 4px rgba(163,22,28,.12); }
form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
form.cart .quantity { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; height: 52px; flex: none; background: #fff; }
form.cart .quantity .qty { width: 46px; height: 100%; text-align: center; border: 0; outline: 0; font-weight: 600; -moz-appearance: textfield; background: transparent; }
form.cart .quantity .qty::-webkit-outer-spin-button, form.cart .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-btn { width: 42px; height: 100%; display: grid; place-items: center; }
.qty-btn:hover { background: var(--paper-2); }
.qty-btn .icon { width: 16px; height: 16px; }
form.cart .single_add_to_cart_button { flex: 1; min-height: 52px; min-width: 180px; }
form.cart .single_add_to_cart_button.disabled, .buy-now.disabled { opacity: .45; cursor: not-allowed; }
.buy-now { flex-basis: 100%; min-height: 52px; background: var(--accent); border-color: var(--accent); }
.buy-now:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.key-features { display: block; }
.key-features ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.trust-row p { margin: 0; }
.product_meta { margin-top: 22px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.product_meta a { color: var(--ink-2); }
.product_meta a:hover { color: var(--accent); }

/* Tabs (WooCommerce markup) */
.woocommerce-tabs { border-top: 1px solid var(--line); padding-block: 0 80px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { position: relative; display: block; padding: 22px 0 18px; font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.woocommerce-tabs ul.tabs li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s var(--ease); }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); }
.woocommerce-tabs ul.tabs li.active a::after { transform: scaleX(1); }
.woocommerce-tabs .panel { padding-top: 36px; max-width: 900px; }
.woocommerce-tabs .panel > h2:first-child { font-size: 26px; margin-bottom: 14px; }
.woocommerce-tabs .panel p { color: var(--ink-2); }
.woocommerce-tabs .panel p + p { margin-top: 1em; }
table.woocommerce-product-attributes { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 14px; }
table.woocommerce-product-attributes th, table.woocommerce-product-attributes td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.woocommerce-product-attributes th { width: 40%; font-weight: 500; color: var(--muted); }
table.woocommerce-product-attributes td p { margin: 0; }
.care ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.care li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* Reviews */
#reviews .woocommerce-Reviews-title { font-size: 24px; margin-bottom: 16px; }
#reviews ol.commentlist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 18px; }
#reviews .comment_container { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
#reviews .comment_container img.avatar { width: 48px; height: 48px; border-radius: 50%; }
#reviews .comment-text { flex: 1; }
#reviews .meta { font-size: 13px; color: var(--muted); margin: 6px 0; }
#reviews .woocommerce-noreviews { color: var(--muted); margin-bottom: 20px; }
#review_form_wrapper { padding: 28px; background: var(--paper-2); border-radius: var(--radius); }
#reply-title { font-family: var(--serif); font-size: 22px; display: block; margin-bottom: 14px; }
.comment-form-rating .stars a { color: #c8a24a; font-size: 0; }
.comment-form-rating .stars a::before { content: "☆"; font-size: 22px; }
.comment-form-rating .stars.selected a.active::before, .comment-form-rating .stars.selected a:not(.active)::before { content: "★"; }
.comment-form-rating .stars.selected a.active ~ a::before { content: "☆"; }
.comment-form-rating .stars span { display: inline-flex; gap: 4px; }

/* ---------- Forms, notices, buttons ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input.input-text, textarea, select {
  font-size: 15px; border: 1px solid #d9d6cf; border-radius: var(--radius-sm); padding: 12px 14px; background: #fff; width: 100%; max-width: 100%; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.search-form input, .newsletter input, .price-inputs input, form.cart .quantity .qty { border: 0 !important; box-shadow: none !important; padding: 10px 4px; width: auto; }
.search-form input { flex: 1; padding: 10px 12px; }
.newsletter input { flex: 1; padding: 0 16px; }
.price-inputs input { width: 100%; }
label { font-size: 14px; }
.form-row { margin: 0 0 16px; }
.form-row label { display: block; margin-bottom: 6px; font-weight: 500; }
.form-row .required { color: var(--accent); text-decoration: none; }
.woocommerce-form-row--first, .form-row-first { float: left; width: 48%; }
.woocommerce-form-row--last, .form-row-last { float: right; width: 48%; }
.form-row-wide, .woocommerce-form-row--wide { clear: both; }
.clear { clear: both; }
button.button, a.button, input.button, .wp-element-button, .woocommerce-button, button[type="submit"].button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 24px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: #fff; cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
button.button:hover, a.button:hover, input.button:hover, .wp-element-button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.button.alt, .checkout-button { background: var(--accent); border-color: var(--accent); }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; justify-content: space-between; list-style: none; margin: 0 0 24px; padding: 16px 20px; border-radius: var(--radius-sm); font-size: 14px; background: var(--paper-2); border-left: 3px solid var(--ink);
}
.woocommerce-message { border-left-color: var(--success); }
.woocommerce-error { border-left-color: var(--accent); flex-direction: column; align-items: flex-start; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 38px; font-size: 11px; padding: 0 16px; }
.product-top + .container .woocommerce-notices-wrapper { margin-top: 4px; }

/* Mini cart (drawer) */
.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; padding: 16px 28px 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.woocommerce-mini-cart-item a:not(.remove) { display: contents; font-weight: 600; }
.woocommerce-mini-cart-item img { grid-row: span 3; width: 72px !important; height: 90px !important; object-fit: cover; border-radius: 6px; }
.woocommerce-mini-cart-item .quantity, .woocommerce-mini-cart-item dl { grid-column: 2; color: var(--muted); font-size: 13px; margin: 2px 0 0; }
.woocommerce-mini-cart-item dl dt, .woocommerce-mini-cart-item dl dd { display: inline; margin: 0; }
.woocommerce-mini-cart-item dl dd p { display: inline; }
.woocommerce-mini-cart-item .remove { position: absolute; top: 14px; right: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 18px; color: var(--muted); }
.woocommerce-mini-cart-item .remove:hover { background: var(--accent); color: #fff; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: 18px 0; font-size: 15px; margin: 0; }
.woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; color: var(--ink); }
.woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--ink); color: #fff; }
.woocommerce-mini-cart__empty-message { color: var(--muted); padding: 40px 0; text-align: center; }
.drawer--right .drawer__body { padding-top: 0; }

/* Classic cart / account tables */
table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
table.shop_table th, table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.shop_table thead th { background: var(--paper-2); font-weight: 600; }
table.shop_table img { width: 64px; border-radius: 6px; }

/* My account */
.woocommerce-account .page-body--wc .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--line); }
.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-account:not(.logged-in) .page-body--wc .woocommerce { display: block; }
.u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.u-columns h2, .woocommerce-form-login h2 { font-size: 26px; margin-bottom: 16px; }
.woocommerce-form-login, .woocommerce-form-register { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; }
.woocommerce-LostPassword { margin-top: 12px; font-size: 13px; }
.woocommerce-LostPassword a { text-decoration: underline; }
.woocommerce-Address { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Block cart / checkout harmonising */
.wc-block-cart, .wc-block-checkout { font-family: var(--sans); }
.wp-block-woocommerce-cart .wc-block-components-button:not(.is-link), .wp-block-woocommerce-checkout .wc-block-components-button:not(.is-link) { background: var(--ink); color: #fff; border-radius: 2px; text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 600; min-height: 52px; }
.wp-block-woocommerce-cart .wc-block-components-button:not(.is-link):hover, .wp-block-woocommerce-checkout .wc-block-components-button:not(.is-link):hover { background: var(--accent); }
.wc-block-components-product-name { font-weight: 600; color: var(--ink); }
.wp-block-woocommerce-empty-cart-block h2 { font-family: var(--serif); }

@media (max-width: 1023px) {
  .cat-grid { grid-template-columns: repeat(min(var(--n, 3), 3), 1fr); }
  .stats__grid, .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .yk-options { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .woocommerce-account .page-body--wc .woocommerce { grid-template-columns: 1fr; }
  .mega--no-feature .mega__inner { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .cat-grid, .feature-grid, .post-grid, .u-columns.col2-set, .woocommerce-Addresses { grid-template-columns: 1fr; }
  .perks__grid { grid-template-columns: 1fr; }
  .yk-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .key-features ul { grid-template-columns: 1fr; }
  .form-row-first, .form-row-last, .woocommerce-form-row--first, .woocommerce-form-row--last { float: none; width: 100%; }
  form.cart .single_add_to_cart_button { min-width: 0; }
  .story--reverse .story__media { order: 0; }
  .promo { min-height: 320px; }
  .summary .size-guide-link { float: none; display: inline-flex; margin-bottom: 8px; }
  table.shop_table { font-size: 13px; }
  .woocommerce-tabs ul.tabs { gap: 24px; }
}

/* Late overrides (must follow the column classes above) */
.drawer { overflow: hidden; }
.woocommerce-tabs .wc-tab { display: block; }
.newsletter input { background: transparent; color: #fff; }
@media (max-width: 1200px) { ul.products.columns-4 { --cols: 3; } }
@media (max-width: 767px) { ul.products, ul.products[class*="columns-"] { --cols: 2; gap: 28px 14px; } }
.footer-top > *, .shop-layout > *, .product-layout > * { min-width: 0; }
@media (max-width: 767px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }
.woocommerce-mini-cart-item .quantity { display: block; border: 0; height: auto; background: none; }

/* ---------- Hero: full background image ---------- */
.hero--bg { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(520px, 82vh, 860px); background: #111; }
.hero--bg::before { z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,calc(var(--overlay, .35) * .6)) 0%, rgba(0,0,0,var(--overlay, .35)) 45%, rgba(0,0,0,calc(var(--overlay, .35) + .15)) 100%); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; }
.hero__center { text-align: center; padding-block: clamp(72px, 10vw, 120px); display: flex; flex-direction: column; align-items: center; }
.hero--bg .hero__eyebrow { margin-bottom: 18px; }
.hero--bg .hero__eyebrow::before { display: none; }
.hero--bg .hero__title { font-size: clamp(40px, 6.6vw, 124px); line-height: 1; letter-spacing: .03em; text-transform: uppercase; max-width: none; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero__subtitle { margin-top: clamp(14px, 2vw, 26px); font-family: var(--sans); font-size: clamp(17px, 2.1vw, 30px); font-weight: 500; letter-spacing: .1em; color: rgba(255,255,255,.78); }
.hero--bg .hero__lede { max-width: 640px; margin: clamp(18px, 2.4vw, 30px) auto clamp(28px, 3.4vw, 44px); font-size: clamp(15px, 1.35vw, 19px); line-height: 1.6; color: rgba(255,255,255,.88); }
.hero--bg .hero__ctas { justify-content: center; gap: 18px; }
.btn--hero-dark { background: #000; border-color: #000; color: #fff; min-height: 56px; padding: 0 36px; font-size: 13.5px; }
.btn--hero-dark:hover { background: var(--accent); border-color: var(--accent); }
.btn--hero-light { background: #c4c4c4; border-color: #c4c4c4; color: #111; min-height: 56px; padding: 0 36px; font-size: 13.5px; }
.btn--hero-light:hover { background: #fff; border-color: #fff; color: #111; }
@media (max-width: 767px) {
  .hero--bg { min-height: 78vh; }
  .hero__bg { object-position: 30% center; }
  .hero--bg .hero__title { font-size: clamp(38px, 11vw, 56px); }
  .hero--bg .hero__ctas { flex-direction: column; width: 100%; max-width: 320px; gap: 12px; }
  .hero--bg .hero__ctas .btn { width: 100%; }
}
