/* ==========================================================================
   SHOPSYY — maison stylesheet
   Palette: ivory paper, warm sand, ink, aged brass
   ========================================================================== */

:root {
  --bg: #fbf9f5;
  --paper: #ffffff;
  --sand: #efe9dd;
  --sand-2: #e5dbc9;
  --ink: #171412;
  --ink-2: #2a2521;
  --muted: #6d655c;
  --line: #ded6c7;
  --line-soft: #ece5d8;
  --gold: #a9855a;
  --brown: #4e3d2b;

  --display: "Cormorant Garamond", "Songti SC", "Noto Serif SC", "Times New Roman", serif;
  --sans: "Jost", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Helvetica, Arial, sans-serif;

  --hdr-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 300; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ink); color: var(--bg); }

.wrap {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 60px);
}

.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;
}

/* ------------------------------------------------------------------ type */

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.display { font-family: var(--display); font-weight: 300; letter-spacing: 0.005em; }

.h-xl { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 3.9vw, 58px); line-height: 1.12; letter-spacing: 0.005em; }
.h-lg { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3vw, 44px); line-height: 1.18; }
.h-md { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.35; }

.lede { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 46ch; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  transition: opacity 0.3s;
}
.arrow-link:hover { opacity: 0.55; }
.arrow-link svg { width: 14px; height: 8px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 42px;
  background: var(--ink);
  color: #fbf9f5;
  border: 1px solid var(--ink);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  text-align: center;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--light:hover { background: transparent; color: var(--bg); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn--sm { height: 42px; padding: 0 24px; font-size: 10px; }

/* ----------------------------------------------------------------- topbar */

.topbar {
  background: var(--ink);
  color: #e9e2d6;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 34px;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: center;
  flex-wrap: wrap;
}
.topbar span { opacity: 0.9; }
.topbar .sep { width: 1px; height: 9px; background: rgba(233, 226, 214, 0.35); }

/* ----------------------------------------------------------------- header */

.hdr {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 249, 245, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.hdr-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: var(--hdr-h);
  gap: 20px;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.nav a, .nav button {
  font-size: 10.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  color: var(--ink);
}
.nav a::after, .nav button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after, .nav button:hover::after { transform: scaleX(1); }

.logo {
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 27px);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
}

.hdr-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: opacity 0.25s;
}
.icon-btn:hover { opacity: 0.55; }
.icon-btn svg { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 1.15; }
.icon-btn .count {
  position: absolute; top: 2px; right: 0;
  min-width: 15px; height: 15px; padding: 0 3px;
  border-radius: 50%;
  background: var(--ink); color: var(--bg);
  font-size: 9px; line-height: 15px; text-align: center;
  letter-spacing: 0;
}

.lang {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0 8px;
}
.lang b { font-weight: 400; }
.lang span { color: var(--line); }
.lang button { color: var(--muted); }
.lang button.on { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.burger { display: none; }

/* ------------------------------------------------------------------- mega */

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -30px rgba(23, 20, 18, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 70;
}
.mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 300px;
  gap: clamp(20px, 3vw, 48px);
  padding-top: 46px;
  padding-bottom: 48px;
}
.mega h5 {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 400;
}
.mega li + li { margin-top: 11px; }
.mega li a { font-size: 12.5px; letter-spacing: 0.03em; transition: opacity 0.25s; }
.mega li a:hover { opacity: 0.5; }
.mega-feature { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature span {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  height: clamp(500px, 76vh, 780px);
  overflow: hidden;
  background: var(--sand);
}
.hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroIn 1.6s var(--ease) both;
}
@keyframes heroIn { from { transform: scale(1.06); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 15, 12, 0.5) 0%, rgba(18, 15, 12, 0.22) 38%, rgba(18, 15, 12, 0) 68%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 6vw, 96px);
  bottom: clamp(44px, 9vh, 104px);
  max-width: 560px;
  color: #fdfbf7;
}
.hero-copy .eyebrow { color: rgba(253, 251, 247, 0.82); margin-bottom: 22px; }
.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.06;
  font-weight: 300;
  white-space: pre-line;
  margin-bottom: 20px;
}
.hero-copy p { max-width: 40ch; color: rgba(253, 251, 247, 0.85); font-size: 13.5px; line-height: 1.85; margin-bottom: 32px; }
.hero-copy .btn { background: transparent; border-color: rgba(253, 251, 247, 0.9); color: #fdfbf7; }
.hero-copy .btn:hover { background: #fdfbf7; color: var(--ink); }

/* --------------------------------------------------------------- sections */

.sec { padding: clamp(52px, 7.5vw, 108px) 0; }
.sec--tight { padding: clamp(36px, 4.5vw, 64px) 0; }
.sec--sand { background: var(--sand); }
.sec--paper { background: var(--paper); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 44px);
}
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-head p.sub { color: var(--muted); font-size: 13px; margin-top: 12px; max-width: 52ch; }

/* ------------------------------------------------------------------ grids */

.grid { display: grid; gap: clamp(12px, 1.6vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* -------------------------------------------------------------- cat tiles */

.tile { position: relative; display: block; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.045); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0) 45%, rgba(20, 17, 14, 0.55) 100%);
}
.tile-copy { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 26px; color: #fff; }
.tile-copy h3 { font-family: var(--display); font-size: clamp(20px, 1.8vw, 27px); font-weight: 400; margin-bottom: 6px; }
.tile-copy span { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; }

/* --------------------------------------------------------------- p-card */

.pcard { display: block; position: relative; }
.pcard-media { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 1 / 1; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s var(--ease), transform 1.1s var(--ease); }
.pcard-media img + img { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard-media img:first-child { opacity: 0; }
.pcard:hover .pcard-media img + img { opacity: 1; }
.pcard:hover .pcard-media img { transform: scale(1.03); }

.pcard-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 11px;
  background: rgba(251, 249, 245, 0.92);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
}
.wish-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251, 249, 245, 0.9);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s, transform 0.3s;
}
.pcard:hover .wish-btn, .wish-btn.on { opacity: 1; transform: none; }
.wish-btn svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.3; }
.wish-btn.on svg { fill: var(--ink); }

.quick-add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 15px 10px;
  background: rgba(251, 249, 245, 0.94);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; text-align: center;
  transform: translateY(101%);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.quick-add:hover { background: var(--ink); color: var(--bg); }
.pcard:hover .quick-add { transform: translateY(0); }

.pcard-info { padding-top: 14px; }
.pcard-name { font-size: 12.5px; letter-spacing: 0.03em; margin-bottom: 4px; }
.pcard-meta { font-size: 11px; color: var(--muted); letter-spacing: 0.03em; }
.pcard-price { margin-top: 8px; font-size: 12px; letter-spacing: 0.04em; display: flex; gap: 10px; align-items: baseline; }
.pcard-price del { color: #a89f93; font-size: 11px; }

/* ------------------------------------------------------------------ split */

.split { display: grid; grid-template-columns: 1.12fr 0.88fr; align-items: center; gap: clamp(26px, 5vw, 84px); }
.split-media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: var(--sand); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy { max-width: 460px; }
.split-copy .eyebrow { margin-bottom: 20px; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy p { color: var(--muted); font-size: 13.5px; line-height: 1.95; margin-bottom: 30px; }

/* ----------------------------------------------------------------- banner */

.banner { position: relative; overflow: hidden; height: clamp(360px, 52vh, 560px); background: var(--sand); }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 15, 12, 0.45), rgba(18, 15, 12, 0.05) 60%);
}
.banner-copy { position: absolute; z-index: 2; left: clamp(20px, 6vw, 96px); top: 50%; transform: translateY(-50%); max-width: 480px; color: #fdfbf7; }
.banner-copy .eyebrow { color: rgba(253, 251, 247, 0.8); margin-bottom: 18px; }
.banner-copy h2 { margin-bottom: 16px; }
.banner-copy p { color: rgba(253, 251, 247, 0.85); font-size: 13px; margin-bottom: 28px; max-width: 36ch; }

/* --------------------------------------------------------------- services */

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 48px); border-top: 1px solid var(--line); padding-top: clamp(28px, 4vw, 52px); }
.service { display: flex; gap: 16px; align-items: flex-start; }
.service svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.05; flex: none; margin-top: 2px; }
.service h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 6px; font-weight: 500; }
.service p { font-size: 11.5px; color: var(--muted); line-height: 1.6; }

/* ------------------------------------------------------------- newsletter */

.newsletter { text-align: center; padding: clamp(52px, 7vw, 96px) 0; background: var(--sand); }
.newsletter h2 { margin-bottom: 14px; }
.newsletter p { color: var(--muted); font-size: 13px; margin-bottom: 34px; }
.nl-form { display: flex; max-width: 480px; margin: 0 auto; border-bottom: 1px solid var(--ink); }
.nl-form input { flex: 1; height: 52px; border: 0; background: transparent; padding: 0 4px; font-size: 13px; outline: none; }
.nl-form input::placeholder { color: #9a9084; }
.nl-form button { padding: 0 4px 0 20px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.nl-note { font-size: 10.5px; color: var(--muted); margin-top: 16px; letter-spacing: 0.04em; }

/* ----------------------------------------------------------------- footer */

.ftr { background: #f4eee3; border-top: 1px solid var(--line); padding-top: clamp(44px, 5vw, 72px); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); padding-bottom: 54px; }
.ftr-brand .logo { font-size: 22px; letter-spacing: 0.3em; }
.ftr-brand p { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 16px; max-width: 32ch; }
.ftr h5 { font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink); margin: 0 0 18px; font-weight: 500; }
.ftr li + li { margin-top: 10px; }
.ftr li a, .ftr li span { font-size: 12px; color: var(--muted); transition: color 0.25s; }
.ftr li a:hover { color: var(--ink); }
.ftr-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em;
}
.ftr-bottom .pays { display: flex; gap: 8px; align-items: center; }
.ftr-bottom .pays i {
  font-style: normal; font-size: 8.5px; letter-spacing: 0.1em;
  border: 1px solid var(--line); padding: 3px 7px; color: var(--muted);
}

/* ------------------------------------------------------------------ crumbs */

.crumbs { display: flex; gap: 10px; align-items: center; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 26px 0 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs .dot { opacity: 0.5; }

/* -------------------------------------------------------------- collection */

.coll-head { padding: clamp(30px, 4vw, 54px) 0 clamp(22px, 2.6vw, 34px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.coll-head h1 { font-size: clamp(30px, 3.4vw, 48px); }
.coll-head .count { font-size: 10.5px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }

.filterbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 13px 0; margin-bottom: clamp(22px, 3vw, 38px);
}
.chips { display: flex; gap: 22px; flex-wrap: wrap; }
.chip { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.chip.on { color: var(--ink); border-color: var(--ink); }
.chip:hover { color: var(--ink); }
.sortsel { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sortsel select { border: 0; background: transparent; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 0; cursor: pointer; outline: none; }

.empty-state { padding: 80px 0 100px; text-align: center; color: var(--muted); }
.empty-state h3 { font-family: var(--display); font-size: 26px; color: var(--ink); margin-bottom: 10px; }

/* -------------------------------------------------------------------- pdp */

.pdp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 72px); padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); align-items: start; }
.pdp-gallery { display: grid; gap: 10px; }
.pdp-main { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 1 / 1; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; }
.pdp-thumbs button { width: 78px; height: 78px; overflow: hidden; border: 1px solid transparent; background: var(--sand); padding: 0; }
.pdp-thumbs button.on { border-color: var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info { position: sticky; top: calc(var(--hdr-h) + 24px); padding-top: 4px; }
.pdp-info .eyebrow { margin-bottom: 14px; }
.pdp-info h1 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.2; margin-bottom: 10px; }
.pdp-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.pdp-price { font-size: 17px; letter-spacing: 0.04em; display: flex; gap: 12px; align-items: baseline; margin-bottom: 6px; }
.pdp-price del { font-size: 13px; color: #a89f93; }
.pdp-tax { font-size: 10.5px; color: var(--muted); margin-bottom: 26px; }

.opt-group { margin-bottom: 22px; }
.opt-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }
.opt-label span { color: var(--muted); letter-spacing: 0.05em; text-transform: none; font-size: 11px; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.12); position: relative; }
.swatch.on::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--ink); border-radius: 50%; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 48px; height: 40px; padding: 0 12px; border: 1px solid var(--line); font-size: 11.5px; letter-spacing: 0.06em; transition: 0.25s; }
.size:hover { border-color: var(--ink); }
.size.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 52px; }
.qty button { width: 42px; height: 100%; font-size: 15px; color: var(--muted); }
.qty span { min-width: 34px; text-align: center; font-size: 12px; }
.pdp-actions { display: flex; gap: 10px; margin: 26px 0 14px; }
.pdp-actions .btn { flex: 1; }
.pdp-actions .wish-square { width: 52px; height: 52px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex: none; }
.pdp-actions .wish-square svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.2; }
.pdp-actions .wish-square.on svg { fill: var(--ink); }
.stock-note { font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 26px; }
.stock-note.low { color: #9a5b32; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 0;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .pm { font-size: 15px; color: var(--muted); font-weight: 300; }
.accordion details[open] summary .pm { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 20px; font-size: 12.5px; color: var(--muted); line-height: 1.85; }

/* --------------------------------------------------------------- cart page */

.page-head { padding: clamp(30px, 4vw, 52px) 0 clamp(20px, 2.4vw, 30px); }
.page-head h1 { font-size: clamp(28px, 3vw, 42px); }
.page-head .eyebrow { margin-bottom: 12px; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: clamp(56px, 7vw, 96px); }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 110px; height: 110px; object-fit: cover; background: var(--sand); }
.cart-line .nm { font-size: 13.5px; margin-bottom: 4px; }
.cart-line .meta { font-size: 11px; color: var(--muted); letter-spacing: 0.03em; }
.cart-line .line-price { font-size: 12.5px; text-align: right; white-space: nowrap; }
.line-tools { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.line-tools .qty { height: 36px; }
.line-tools .qty button { width: 32px; font-size: 13px; }
.line-tools .rm { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.line-tools .rm:hover { color: var(--ink); border-color: var(--ink); }

.summary { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 2.2vw, 30px); }
.summary h3 { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 22px; }
.sumrow { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); padding: 8px 0; }
.sumrow.total { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 18px; color: var(--ink); font-size: 14.5px; }
.promo { display: flex; gap: 0; margin: 14px 0 20px; border: 1px solid var(--line); }
.promo input { flex: 1; height: 44px; border: 0; padding: 0 12px; font-size: 11.5px; background: transparent; outline: none; }
.promo button { padding: 0 16px; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; border-left: 1px solid var(--line); }
.summary .note { font-size: 10.5px; color: var(--muted); margin-top: 14px; line-height: 1.7; }

/* ---------------------------------------------------------------- checkout */

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 72px); align-items: start; padding: clamp(10px, 2vw, 20px) 0 clamp(56px, 7vw, 96px); }
.co-block { border-top: 1px solid var(--line); padding: 22px 0 26px; }
.co-block h3 { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; display: flex; gap: 12px; align-items: baseline; }
.co-block h3 i { font-style: normal; color: var(--muted); font-size: 10px; }
.fields { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  height: 48px; border: 1px solid var(--line); background: var(--paper); padding: 0 13px;
  font-size: 12.5px; outline: none; transition: border-color 0.25s; border-radius: 0;
}
.field textarea { height: auto; padding: 12px 13px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }

.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); padding: 15px 16px; cursor: pointer; background: var(--paper); }
.radio-card + .radio-card { margin-top: 10px; }
.radio-card.on { border-color: var(--ink); }
.radio-card input { margin-top: 4px; accent-color: var(--ink); }
.radio-card .rc-t { font-size: 12px; display: block; }
.radio-card .rc-d { font-size: 11px; color: var(--muted); margin-top: 3px; display: block; }
.radio-card .rc-p { margin-left: auto; font-size: 12px; white-space: nowrap; }

.co-summary { position: sticky; top: calc(var(--hdr-h) + 20px); background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 2.2vw, 30px); }
.co-item { display: flex; gap: 14px; padding: 10px 0; }
.co-item img { width: 64px; height: 64px; object-fit: cover; background: var(--sand); }
.co-item .n { font-size: 12px; }
.co-item .m { font-size: 10.5px; color: var(--muted); }
.co-item .p { margin-left: auto; font-size: 12px; }

/* ------------------------------------------------------------------ order */

.order-card { border: 1px solid var(--line); background: var(--paper); padding: clamp(20px, 3vw, 34px); }
.order-head { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; border: 1px solid var(--line); padding: 6px 12px; }
.status-pill.pending { color: #9a6a2e; border-color: #e2cba9; background: #fdf6ea; }
.status-pill.paid { color: #2f6b4a; border-color: #bdd8c8; background: #f1f9f3; }
.status-pill.shipped { color: #2c5470; border-color: #bcd3e2; background: #f1f7fb; }
.status-pill.completed { color: #4b4b4b; border-color: #d6d6d6; background: #f6f6f6; }
.status-pill.cancelled { color: #8c3a3a; border-color: #e5c4c4; background: #fbf1f1; }

/* ----------------------------------------------------------------- search */

.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(23, 20, 18, 0.35); opacity: 0; visibility: hidden; transition: 0.35s; }
.overlay.is-open { opacity: 1; visibility: visible; }

.search-panel {
  position: fixed; top: 0; left: 0; right: 0; z-index: 210;
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
  max-height: 90vh; overflow: auto;
}
.search-panel.is-open { transform: translateY(0); }
.search-top { display: flex; align-items: center; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.search-top svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.2; }
.search-top input { flex: 1; height: 46px; border: 0; background: transparent; font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); outline: none; }
.search-top input::placeholder { color: #b9b0a3; }
.search-close { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.search-sugg { display: flex; gap: 18px; flex-wrap: wrap; padding: 18px 0 6px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.search-sugg button:hover { color: var(--ink); }
.search-results { padding: 26px 0 48px; }

/* ------------------------------------------------------------ cart drawer */

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 220;
  width: min(440px, 100%);
  background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: -30px 0 60px -40px rgba(0, 0, 0, 0.35);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.drawer-body { flex: 1; overflow: auto; padding: 0 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 26px; }
.d-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.d-line img { width: 76px; height: 86px; object-fit: cover; background: var(--sand); }
.d-line .nm { font-size: 12px; margin-bottom: 3px; }
.d-line .meta { font-size: 10.5px; color: var(--muted); }
.d-line .pr { font-size: 12px; }
.d-empty { padding: 60px 0; text-align: center; color: var(--muted); font-size: 12px; }

/* ------------------------------------------------------------------ toast */

.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 300;
  transform: translate(-50%, 20px);
  background: var(--ink); color: var(--bg);
  padding: 13px 22px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; pointer-events: none;
  transition: 0.35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ misc */

.mobile-nav {
  position: fixed; inset: 0; z-index: 230;
  background: var(--bg);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
  overflow: auto;
  padding: 22px;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav ul { margin-top: 26px; }
.mobile-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.mobile-nav .close { margin-left: auto; display: block; font-size: 10px; letter-spacing: 0.18em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.fade-in { animation: fadeIn 0.5s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.spinner { width: 22px; height: 22px; border: 1px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1480px) {
  .nav { gap: 15px; }
  .nav a, .nav button { font-size: 10px; letter-spacing: 0.14em; }
}

@media (max-width: 1180px) {
  .mega-inner { grid-template-columns: repeat(3, 1fr) 240px; }
  .mega-inner > div:nth-child(4) { display: none; }
  .ftr-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .ftr-grid > div:last-child { display: none; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr-inner { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .split { grid-template-columns: 1fr; }
  .split-copy { max-width: none; }
  .services { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --hdr-h: 64px; }
  body { font-size: 13.5px; }
  .topbar-inner { gap: 8px; font-size: 9px; letter-spacing: 0.1em; }
  .topbar .sep, .topbar .t2 { display: none; }
  .hero { height: 74vh; min-height: 460px; }
  .hero img { object-position: 34% 42%; }
  .hdr-inner { gap: 6px; }
  .hdr-actions { gap: 0; }
  .icon-btn { width: 33px; height: 33px; }
  .icon-btn svg { width: 17px; height: 17px; }
  .logo { font-size: 17px; letter-spacing: 0.24em; text-indent: 0.24em; }
  .hero::after { background: linear-gradient(180deg, rgba(18,15,12,0) 30%, rgba(18,15,12,.62) 100%); }
  .hero-copy { left: 20px; right: 20px; bottom: 36px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .services { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ftr-brand { grid-column: 1 / -1; }
  .ftr-bottom { flex-direction: column; align-items: flex-start; }
  .cart-line { grid-template-columns: 84px 1fr; }
  .cart-line img { width: 84px; height: 84px; }
  .cart-line .line-price { grid-column: 2; text-align: left; margin-top: 6px; }
  .fields { grid-template-columns: 1fr; }
  .pdp-thumbs button { width: 60px; height: 60px; }
  .banner { height: 420px; }
  .banner-copy { right: 20px; }
  .mega { display: none; }
  .lang span { display: none; }
}
