/* ------------ reset + tokens (matches main site) ------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input { font: inherit; color: inherit; }

:root {
  --ink: #0e1b27;
  --ink-soft: #253544;
  --sand: #f6f1e6;
  --sand-deep: #ece4d3;
  --cream: #fbf7ee;
  --paper: #ffffff;
  --fog: #6e6660;
  --muted: #6b6355;
  --line: #d9cfbf;
  --line-dim: #e8e0ce;
  --clay: #b8724a;
  --tide: #4b6e7b;
  --tide-deep: #2f4e5a;
  --surf: #d4c2a8;
  --ok: #2d6a4f;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 18px;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 36px);
  --header-h: 68px;
}

html, body { background: var(--cream); color: var(--ink); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.wrap { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
}

/* ------------ HEADER ------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dim);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: var(--header-h);
}
.brand {
  display: flex; align-items: center;
}
.main-logo {
  display: block;
  max-width: 275px;
  width: 100%;
}
.nav { display: none; align-items: center; gap: 28px; }
@media (min-width: 880px) { .nav { display: flex; } }
.nav a {
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav a:hover { color: var(--ink); }
.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 14px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  transition: background .2s;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 18px; height: 18px; margin-right: 8px; }
.cart-count {
  background: var(--clay); color: white;
  font-size: 11px; font-weight: 700;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 6px;
}

/* ------------ BUTTONS ------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform .15s, background .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--tide-deep); }
.btn--full { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ------------ PDP — simple 2-col layout ------------ */
.pdp { padding: clamp(20px, 3vh, 32px) 0 clamp(60px, 9vh, 100px); }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: clamp(20px, 3vh, 34px);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 960px) {
  .pdp-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
}

/* ---------- MEDIA COLUMN ---------- */
.pdp-media {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  max-width: 460px;
  width: 100%;
}
@media (max-width: 959px) { .pdp-media { position: static; max-width: 420px; margin: 0 auto; } }

.pdp-media__main {
  aspect-ratio: 3 / 4;
  background: var(--paper);
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-l);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.pdp-media__main::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 55%, rgba(14,27,39,.04) 100%);
  pointer-events: none;
}
.pdp-media__main img {
  width: 90%; height: 90%;
  object-fit: contain;
  transition: opacity .25s ease;
}
.pdp-media__main img.is-swapping { opacity: 0; }

.pdp-media__badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--ink); color: var(--cream);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
  z-index: 2;
}

/* Thumbnail carousel strip below main image */
.pdp-media__strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72px;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.pdp-media__strip::-webkit-scrollbar { height: 4px; }
.pdp-media__strip::-webkit-scrollbar-track { background: transparent; }
.pdp-media__strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }

.thumb {
  aspect-ratio: 3 / 4;
  background: var(--paper);
  border: 1.5px solid var(--line-dim);
  border-radius: 8px;
  overflow: hidden;
  padding: 3px;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.thumb:hover { border-color: var(--line); }
.thumb.is-active { border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- INFO COLUMN ---------- */
.pdp-info__cat {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tide-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.pdp-info h1 { margin-bottom: 10px; }
.pdp-info__sku {
  font-size: 12px;
  color: var(--fog);
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  font-family: var(--font-body);
}
.pdp-info__price {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-dim);
}
.pdp-info__price small {
  font-weight: 400; color: var(--muted);
  font-size: 12px; margin-left: 8px;
  letter-spacing: 0.02em;
}
.pdp-info__desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 22px;
  max-width: 58ch;
}

/* ---------- TIER PRICING CARDS (OrePac-style) ---------- */
.tier-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px; gap: 16px;
}
.tier-head label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.tier-head small {
  font-size: 11px; color: var(--muted);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
@media (max-width: 520px) {
  .tiers { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}
.tier {
  background: var(--paper);
  border: 1.5px solid var(--line-dim);
  border-radius: 10px;
  padding: 16px 12px 18px;
  text-align: center;
  position: relative;
  transition: border-color .15s, transform .15s, box-shadow .2s;
}
.tier.is-current {
  border-color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
  background: var(--sand);
}
.tier.is-current::before {
  content: "Current";
  position: absolute;
  top: -9px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink); color: var(--cream);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier__label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.tier__qty {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.tier__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.tier__save {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--ok);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

/* ================================================================
   DECORATION FLOW
================================================================ */
.deco {
  background: var(--paper);
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-l);
  padding: 24px 22px;
  margin-bottom: 28px;
}
.deco__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
  gap: 14px;
}
.deco__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.deco__title svg {
  width: 18px; height: 18px;
  color: var(--clay);
}
.deco__helper {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 52ch;
}

/* --- step container with number + line connector --- */
.step {
  position: relative;
  padding-left: 38px;
  padding-bottom: 22px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  /* circle number */
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  background: var(--sand);
  color: var(--ink-soft);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background .2s, color .2s, border-color .2s;
}
.step.is-active::before {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.step.is-complete::before {
  content: "✓";
  background: var(--ok);
  color: white;
  border-color: var(--ok);
  font-size: 13px;
}
.step::after {
  /* vertical connecting line */
  content: "";
  position: absolute;
  left: 12.5px; top: 32px; bottom: 0;
  width: 1px; background: var(--line-dim);
}
.step:last-child::after { display: none; }
.deco { counter-reset: step-counter; }

.step__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 3px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
}
.step__label .optional {
  font-weight: 400; font-size: 11px;
  letter-spacing: 0;
  color: var(--fog);
  text-transform: none;
}
.step__hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* --- method (single confirmed option — no picker since only Embroidery is offered) --- */
.method-confirm {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--sand);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
}
.method-confirm__ico {
  width: 56px; height: 49px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--tide-deep);
}
.method-confirm__ico svg { width: 32px; height: 32px; }
.method-confirm__body { min-width: 0; }
.method-confirm__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.1;
  margin-bottom: 3px;
}
.method-confirm__meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.method-confirm__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}
.method-confirm__price small {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* --- placement picker with shirt diagrams --- */
.placement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}
.placement {
  position: relative;
  cursor: pointer;
  display: block;
}
.placement input { position: absolute; opacity: 0; pointer-events: none; }
.placement__box {
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 10px 12px;
  transition: border-color .15s, background .15s, box-shadow .2s;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  min-height: 44px;
}
.placement:hover:not(.is-disabled) .placement__box { border-color: var(--ink-soft); }
.placement input:checked + .placement__box {
  border-color: var(--ink);
  background: var(--sand);
  box-shadow: 0 2px 0 var(--ink);
}

.placement__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.placement.is-disabled {
  pointer-events: none;
  opacity: .4;
}
.placement.is-disabled .placement__box { background: var(--sand-deep); }
.placement__disabled-tag {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}



/* ── PRODUCT DISCONTINUED ──────────────────────────────────────────────── */
.removed-notice { display: none; }
body.product-removed .removed-notice {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff2f2; border: 1px solid #f5a0a0;
  border-radius: 10px; padding: 16px 18px; margin-bottom: 20px;
}
.removed-notice__icon { font-size: 22px; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.removed-notice__text strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.removed-notice__text p { font-size: 13px; color: var(--muted); margin: 0; }
body.product-removed .tiers,
body.product-removed .deco,
body.product-removed .size-head,
body.product-removed #sizeMatrix,
body.product-removed #addToQuote { display: none; }

/* --- upload zone --- */
.upload {
  position: relative;
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  background: var(--cream);
  padding: 20px 18px;
  text-align: center;
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.upload:hover {
  border-color: var(--ink-soft);
  background: var(--sand);
}
.upload.is-drag {
  border-color: var(--tide);
  background: var(--sand);
  border-style: solid;
}
.upload.is-filled {
  border-style: solid;
  border-color: var(--ok);
  background: color-mix(in srgb, var(--ok) 6%, var(--cream));
  text-align: left;
  padding: 14px 18px;
  cursor: default;
}
.upload.is-later {
  border-style: solid;
  border-color: var(--clay);
  background: color-mix(in srgb, var(--clay) 6%, var(--cream));
  text-align: left;
  padding: 14px 18px;
  cursor: default;
}
.upload input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}
.upload__icon {
  width: 40px; height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-dim);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--tide-deep);
}
.upload__icon svg { width: 18px; height: 18px; }
.upload__title {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 3px;
}
.upload__hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.upload__actions {
  display: inline-flex; gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.upload__browse {
  font-size: 12px; font-weight: 600;
  color: var(--tide-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.upload__or {
  font-size: 11px; color: var(--muted);
}
.upload__later-btn {
  font-size: 12px; font-weight: 500;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all .15s;
}
.upload__later-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.upload--filled-row {
  display: flex; align-items: center; gap: 12px;
}
.upload__file-ico {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--line-dim);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ok);
}
.upload--filled-row.is-later .upload__file-ico { color: var(--clay); }
.upload__info { flex: 1; min-width: 0; }
.upload__filename {
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.upload__meta {
  font-size: 11px; color: var(--muted);
  margin-top: 1px;
}
.upload__remove {
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.upload__remove:hover { color: var(--clay); }

/* --- secondary logo yes/no toggle --- */
.yesno {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 260px;
}
.yesno button {
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  transition: all .15s;
}
.yesno button:hover { border-color: var(--ink-soft); color: var(--ink); }
.yesno button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 2px 0 var(--tide-deep);
}

/* --- decoration summary line items (shown in price breakdown) --- */
.price-breakdown {
  background: var(--paper);
  border: 1px solid var(--line-dim);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
}
.price-line {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 4px 0;
}
.price-line span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); }
.price-line--muted span { color: var(--muted); }
.price-line--total {
  margin-top: 8px; padding-top: 10px;
  border-top: 1px solid var(--line-dim);
}
.price-line--total span:first-child {
  font-weight: 600; color: var(--ink);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.price-line--total span:last-child {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.pdp-info__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  margin-bottom: 32px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
@media (max-width: 520px) { .pdp-info__features { grid-template-columns: 1fr; } }
.pdp-info__features li {
  list-style: none;
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
  padding-block: 3px;
}
.pdp-info__features li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--clay);
  border-radius: 50%;
}

/* ---------- COLOR SWATCHES — labeled-chip grid ---------- */
.color-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px; gap: 16px;
}
.color-head label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.color-head .color-selected {
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
}
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 18px 10px;
  margin-bottom: 28px;
}
.swatch {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  background: transparent;
  border: 0;
  transition: transform .15s;
}
.swatch:hover { transform: translateY(-1px); }
.swatch__dot-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  padding: 3px;
  border: 1.5px solid var(--line-dim);
  background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
  display: flex; align-items: center; justify-content: center;
}
.swatch:hover .swatch__dot-wrap { border-color: var(--line); }
.swatch.is-active .swatch__dot-wrap {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--cream), 0 0 0 3.5px var(--ink);
}
.swatch__dot {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(14,27,39,.08);
}
.swatch[data-type="heather"] .swatch__dot {
  background: linear-gradient(135deg, var(--c) 0%, var(--c2, var(--c)) 100%);
  position: relative;
  overflow: hidden;
}
.swatch[data-type="heather"] .swatch__dot::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  background-image:
    radial-gradient(rgba(255,255,255,.22) 0.5px, transparent 0.5px),
    radial-gradient(rgba(0,0,0,.18) 0.5px, transparent 0.5px);
  background-size: 3px 3px, 3px 3px;
  background-position: 0 0, 1.5px 1.5px;
  mix-blend-mode: overlay;
}
.swatch[data-type="twotone"] .swatch__dot {
  background: linear-gradient(135deg, var(--c) 50%, var(--c2) 50%);
}
.swatch__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* ---------- SIZE × QTY MATRIX ---------- */
.size-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 14px; gap: 16px;
}
.size-head label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.size-head .size-hint {
  font-size: 11px; color: var(--muted);
}
.size-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.size-cell { display: flex; flex-direction: column; gap: 6px; }
.size-cell__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; color: var(--ink-soft);
}
.size-cell__status {
  font-size: 10px; color: var(--muted); margin-top: -2px;
}
.size-cell.is-low .size-cell__status { color: #b85c00; }
.size-cell.is-oos { opacity: 0.45; }
.size-cell.is-oos .size-stepper { pointer-events: none; }
.size-stepper {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  height: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.size-stepper:focus-within {
  border-color: var(--tide);
  box-shadow: 0 0 0 3px rgba(75,110,123,.15);
}
.size-stepper.has-qty {
  border-color: var(--ink);
  background: var(--sand);
}
.size-stepper button {
  height: 100%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.size-stepper button:hover:not(:disabled) {
  background: var(--sand-deep); color: var(--ink);
}
.size-stepper button:disabled { opacity: .3; cursor: not-allowed; }
.size-stepper input {
  width: 100%;
  text-align: center;
  background: transparent;
  border: 0;
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  -moz-appearance: textfield;
  padding: 0;
}
.size-stepper input::-webkit-outer-spin-button,
.size-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- TOTALS ---------- */
.totals {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line-dim);
  border-radius: var(--radius-s);
  margin-bottom: 18px;
  gap: 16px;
}
.totals__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.totals__qty {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.totals__qty small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-left: 6px;
}
.totals__right { text-align: right; }
.totals__subtotal { font-size: 14px; font-weight: 600; color: var(--ink); }
.totals__min { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ================================================================
   SEO CONTENT SECTION — long-form keyword-rich below the fold
================================================================ */
.seo-section {
  padding: clamp(50px, 8vh, 90px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line-dim);
}
.seo-grid {
  max-width: 800px;
  margin: 0 auto;
}
.seo-col h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 18px;
}
.seo-col h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.seo-col p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.seo-col p strong { color: var(--ink); font-weight: 600; }
.seo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.seo-list li {
  position: relative;
  padding-left: 22px;
  padding-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.seo-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--clay);
  border-radius: 50%;
}
.seo-list strong { color: var(--ink); font-weight: 600; }
.overlay {
  position: fixed; inset: 0;
  background: rgba(14,27,39,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 90;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 100%;
  max-width: 440px;
  background: var(--cream);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
  z-index: 100;
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,.18);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-dim);
}
.drawer__head h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.drawer__body { flex: 1; overflow-y: auto; padding: 22px 24px; -webkit-overflow-scrolling: touch; }
.drawer__foot { padding: 22px 24px; border-top: 1px solid var(--line-dim); background: var(--paper); }
.close-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.close-btn:hover { background: var(--sand); }
.close-btn svg { width: 18px; height: 18px; }
.cart-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.cart-empty svg { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--fog); }
.cart-empty h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dim);
  align-items: start;
}
.cart-item__img {
  width: 60px; height: 60px;
  background: var(--sand-deep);
  border-radius: var(--radius-s);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-item__info h5 {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 500;
  margin-bottom: 2px;
  line-height: 1.25;
}
.cart-item__meta { font-size: 11.5px; color: var(--muted); }
.cart-item__right { text-align: right; font-size: 13px; font-weight: 600; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item__price { font-size: 15px; color: var(--ink); }
.cart-item__remove {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  transition: color .2s;
}
.cart-item__remove:hover { color: var(--clay); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: #c4bbaa;
  padding: 70px 0 26px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 50px;
}
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
footer h4 { color: var(--cream); margin-bottom: 14px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
footer a { color: #c4bbaa; display: block; padding: 4px 0; font-size: 14px; transition: color .2s; }
footer a:hover { color: var(--cream); }
.foot-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.foot-brand em { font-style: italic; color: var(--surf); }
.foot-desc { font-size: 14px; color: #a69c8a; max-width: 32ch; }
.foot-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: 12px; color: #8b8273;
}
