/* ─────────────────────────────────────────────────────────────────────
   Product detail page — shared chrome + tailored + fabric variants
   ───────────────────────────────────────────────────────────────────── */

/* Switcher (dev affordance to swap between products) */
.switcher {
  background: var(--paper-2);
  border-bottom: var(--rule);
  padding: var(--s-3) var(--pad-x-d);
}
.switcher-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.switcher .lbl { color: var(--ink-3); flex: 0 0 auto; }
.switcher-chips { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.switcher-chips a {
  background: transparent;
  border: 1px solid var(--paper-3);
  color: var(--ink-2);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--d-fast) var(--ease);
  text-decoration: none;
}
.switcher-chips a:hover { border-color: var(--ink); color: var(--ink); }
.switcher-chips a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Breadcrumb */
.crumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-4) var(--pad-x-d);
  display: flex;
  gap: var(--s-3);
  color: var(--ink-3);
}
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--ink-4); }

/* ── Tailored PDP ── */
.pd {
  display: grid;
  grid-template-columns: 88px 1fr 380px;
  gap: var(--s-5);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x-d) var(--s-9);
  align-items: start;
}
.thumbs {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  position: sticky;
  top: 104px;
  align-self: start;
}
.thumb {
  aspect-ratio: 2/3;
  background: var(--paper-2);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: border-color var(--d-fast) var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { border-color: var(--ink-4); }
.thumb.on { border-color: var(--ink); }
.thumb .num {
  position: absolute;
  bottom: 6px;
  left: 6px;
  color: rgba(250, 247, 242, 0.92);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  mix-blend-mode: difference;
  pointer-events: none;
}

.main {
  aspect-ratio: 2/3;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.main .photo { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms var(--ease); }
.main .photo.show { opacity: 1; }
.main .photo img { width: 100%; height: 100%; object-fit: cover; }
.main .zoom-hint {
  position: absolute;
  bottom: var(--s-3);
  right: var(--s-3);
  color: var(--paper);
  padding: 5px 10px;
  background: rgba(10, 8, 6, 0.65);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--d-fast) var(--ease);
  z-index: 5;
}
.main:hover .zoom-hint { opacity: 1; }

/* Zoom lens — circular magnifier that follows the cursor */
.zoom-lens {
  position: fixed;
  pointer-events: none;
  z-index: 95;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 242, 0.6);
  box-shadow:
    0 22px 44px -18px rgba(10, 8, 6, 0.55),
    inset 0 0 0 1px rgba(10, 8, 6, 0.2);
  background-repeat: no-repeat;
  /* Translate -50%, -50% so the lens centres on the cursor */
  transform: translate(-50%, -50%) scale(1);
  outline: 1px dashed rgba(255, 255, 255, 0.32);
  outline-offset: -8px;
  animation: zoom-lens-in 240ms cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes zoom-lens-in {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.86); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (hover: none), (max-width: 720px), (prefers-reduced-motion: reduce) {
  .zoom-lens { display: none !important; }
}

.info {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding-top: 0;
  position: sticky;
  top: 104px;
  align-self: start;
}
.info .ix { color: var(--ink-3); }
.info h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.info .editorial-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.price-sale { color: var(--sale); }
.price-orig {
  font-size: 16px;
  color: var(--ink-3);
  text-decoration: line-through;
  font-weight: 400;
}
.tax-line {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.field-block .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--s-2);
}
.field-block .head label { margin: 0; }
.field-block .head a {
  color: var(--ink-2);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.field-block .head a:hover { color: var(--accent); }
.sizes { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.size {
  min-width: 54px;
  min-height: 46px;
  padding: var(--s-3);
  background: transparent;
  border: 1px solid var(--paper-3);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--d-fast) var(--ease);
}
.size:hover { border-color: var(--ink); }
.size.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size.oos {
  color: var(--ink-3);
  border-style: dashed;
  cursor: not-allowed;
  text-decoration: line-through;
}
.ctas { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-2); }
.delivery {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: var(--rule);
}
.delivery .pin {
  padding: 8px 12px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.delivery .text { color: var(--ink-2); font-size: 13px; }
.delivery .text b { color: var(--ink); font-weight: 500; }
.returns-line { color: var(--ink-3); }

.feature-list { padding-top: var(--s-3); border-top: var(--rule); }
.feature-list h4 {
  margin: 0 0 var(--s-3);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.feature-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: 13px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.feature-list li::before { content: "—"; position: absolute; left: 0; color: var(--ink-3); }

@media (max-width: 1100px) {
  .pd { grid-template-columns: 64px 1fr; }
  .info { grid-column: 1 / -1; position: static; padding-top: var(--s-5); }
}
@media (max-width: 720px) {
  .pd { grid-template-columns: 1fr; gap: var(--s-3); padding: 0 var(--pad-x-m) var(--s-7); }
  .thumbs { flex-direction: row; position: static; overflow-x: auto; padding-bottom: var(--s-2); }
  .thumb { flex: 0 0 64px; }
}
@media (max-width: 375px) {
  .pd { padding: 0 var(--s-3) var(--s-5); }
  .info h1 { font-size: 24px; }
  .note { padding: var(--s-7) var(--s-3); }
  .note .body { grid-template-columns: 1fr; }
  .note .portrait { margin: 0 auto; }
  .info-acc { padding: 0 var(--s-3) var(--s-7); }
  .worn .inner { padding: var(--s-7) var(--s-3); }
  .spec .inner { padding: var(--s-5) var(--s-3); }
  .spec td.k { width: 100px; font-size: 10px; }
}

/* Specification table (tailored) */
.spec { background: var(--paper-2); border-top: var(--rule); border-bottom: var(--rule); }
.spec .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-9) var(--pad-x-d);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-8);
}
.spec h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.spec .ix { color: var(--ink-3); margin-bottom: var(--s-3); }
.spec table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 14px; }
.spec td { padding: var(--s-4) 0; border-bottom: var(--rule); vertical-align: top; }
.spec td.k {
  width: 200px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-right: var(--s-4);
}
.spec td.v { color: var(--ink); }
@media (max-width: 900px) {
  .spec .inner { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-7) var(--pad-x-m); }
  .spec td.k { width: 140px; }
}

/* Designer's note — warm paper-tone background with a subtle grain
   overlay; serif italic signature mark (SVG path) above the printed
   credit. Reads like a tipped-in atelier card. */
.note {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-9) var(--pad-x-d);
  position: relative;
  background:
    linear-gradient(180deg, transparent, rgba(217, 198, 175, 0.06) 60%, rgba(217, 198, 175, 0.10)),
    radial-gradient(ellipse at 18% 0%, rgba(208, 60, 90, 0.04), transparent 60%),
    var(--paper);
  isolation: isolate;
}
.note-grain {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.14  0 0 0 0 0.11  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}
.note > * { position: relative; z-index: 1; }
.note .ix { color: var(--ink-3); margin-bottom: var(--s-4); }
.note .body { display: grid; grid-template-columns: auto 1fr; gap: var(--s-6); align-items: start; max-width: 920px; }
.note-signature {
  margin: var(--s-5) 0 var(--s-3);
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  animation: note-sig-in 1100ms cubic-bezier(.65, 0, .35, 1) 600ms forwards;
}
.note-signature svg path {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: note-sig-draw 1800ms cubic-bezier(.65, 0, .35, 1) 600ms forwards;
}
@keyframes note-sig-in   { to { opacity: 1; transform: translateY(0); } }
@keyframes note-sig-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .note-signature, .note-signature svg path { animation: none !important; opacity: 1; }
  .note-signature svg path { stroke-dashoffset: 0; }
}
.note .portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1490578474895-699cd4e2cf59?w=200&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  flex: 0 0 96px;
}
.note .body p {
  margin: 0 0 var(--s-4);
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.note .signed { color: var(--ink-3); }
.note .signed b {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

/* Info accordion */
.info-acc { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x-d) var(--s-9); }
.info-acc details { border-top: var(--rule); padding: var(--s-4) 0; }
.info-acc details:last-of-type { border-bottom: var(--rule); }
.info-acc summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.info-acc summary::-webkit-details-marker { display: none; }
.info-acc summary::after { content: "+"; font-family: var(--font-display); font-size: 22px; color: var(--ink-3); }
.info-acc details[open] summary::after { content: "−"; }
.info-acc details > div { padding-top: var(--s-4); color: var(--ink-2); font-size: 14px; line-height: 1.7; max-width: 720px; }

/* Worn With (complete-the-look) */
.worn { background: var(--paper-2); border-top: var(--rule); }
.worn .inner { max-width: var(--container); margin: 0 auto; padding: var(--s-9) var(--pad-x-d); }
.worn .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-7); }
.worn .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: var(--s-4);
  border-bottom: var(--rule-strong);
}
.worn h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.01em;
}
.worn .pcard { display: flex; flex-direction: column; cursor: pointer; color: inherit; text-decoration: none; }
.worn .plate { aspect-ratio: 3/4; position: relative; overflow: hidden; background: var(--paper); }
.worn .plate img { object-fit: cover; transition: transform var(--d-slow) var(--ease); }
.worn .pcard:hover .plate img { transform: scale(1.04); }
.worn .meta { padding: var(--s-3) 0 0; }
.worn .name { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin: 0 0 var(--s-2); }
.worn .row { display: flex; justify-content: space-between; }
.worn .price { font-family: var(--font-mono); font-weight: 500; font-size: 14px; }
.worn .tag { color: var(--ink-3); font-size: 11px; }
@media (max-width: 720px) { .worn .grid { grid-template-columns: 1fr; } }

/* Lightbox (shared by tailored + fabric) */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.94);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox .img-wrap { position: relative; width: 92vw; height: 92vh; }
.lightbox img { object-fit: contain !important; }
.lb-close, .lb-nav {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(250, 247, 242, 0.4);
  color: var(--paper);
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 14px;
  transition: background var(--d-fast) var(--ease);
  z-index: 201;
}
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-nav:hover { background: rgba(250, 247, 242, 0.15); }
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 201;
}

/* ── Fabric PDP ── */
.pd-fabric { grid-template-columns: 88px 1fr 380px; gap: var(--s-5); }
.fabric-thumbs { display: flex; flex-direction: column; gap: var(--s-2); position: sticky; top: 104px; align-self: start; }
.fabric-thumb {
  aspect-ratio: 1;
  background: var(--paper-2);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: border-color var(--d-fast) var(--ease);
}
.fabric-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fabric-thumb:hover { border-color: var(--ink-4); }
.fabric-thumb.on { border-color: var(--ink); }
.fabric-thumb .num {
  position: absolute;
  bottom: 6px;
  left: 6px;
  color: rgba(250, 247, 242, 0.92);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  mix-blend-mode: difference;
  pointer-events: none;
}
.fabric-main {
  aspect-ratio: 1;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.fabric-main .photo { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms var(--ease); }
.fabric-main .photo.show { opacity: 1; }
.fabric-main .photo img { width: 100%; height: 100%; object-fit: cover; }
.fabric-main .stock-pill {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  background: rgba(250, 247, 242, 0.92);
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 3;
}
.fabric-main .stock-pill.low { color: var(--sale); }
.fabric-main .stock-pill .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a8a4a;
  margin-right: 6px;
  vertical-align: middle;
}
.fabric-main .stock-pill.low .dot { background: var(--sale); }
.fabric-main .zoom-hint {
  position: absolute;
  bottom: var(--s-3);
  right: var(--s-3);
  color: var(--paper);
  padding: 5px 10px;
  background: rgba(10, 8, 6, 0.65);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--d-fast) var(--ease);
  z-index: 3;
}
.fabric-main:hover .zoom-hint { opacity: 1; }

.fabric-info { display: flex; flex-direction: column; gap: var(--s-4); position: sticky; top: 104px; align-self: start; }
.fabric-info h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.fabric-info .stars {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.fabric-info .stars .glyphs { letter-spacing: 2px; color: var(--paper-3); font-size: 14px; }
.fabric-info .stars a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.fabric-info .stars a:hover { color: var(--accent); }
.fabric-info .desc { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.fabric-info .editor-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--ink-2);
  margin: 0;
}

.fabric-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  flex-wrap: wrap;
}
.fabric-price-row .per-m {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.fabric-price-row .per-m small { font-size: 13px; color: var(--ink-3); margin-left: 6px; font-weight: 400; }
.fabric-price-row .total {
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.fabric-price-row .total b { color: var(--ink); font-weight: 500; }

.col-block .head, .qty-block .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--s-3);
}
.col-block label, .qty-block label {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.col-block .selected-name, .qty-block .selected-name {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-chip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--paper-3);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.swatch-chip:hover { transform: scale(1.08); }
.swatch-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.swatch-chip.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }

/* Stepper */
.stepper { display: flex; align-items: stretch; border: 1px solid var(--paper-3); height: 48px; }
.stepper .stp {
  width: 48px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--paper-3);
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  transition: background var(--d-fast) var(--ease);
}
.stepper .stp:last-of-type { border-right: 0; border-left: 1px solid var(--paper-3); }
.stepper .stp:hover:not(:disabled) { background: var(--paper-2); }
.stepper .stp:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper .stp:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.stepper input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.04em;
  padding: 0 8px;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: var(--paper-2); }
.stepper .unit {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-left: 1px solid var(--paper-3);
}

.qty-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-3); }
.qty-presets button {
  background: transparent;
  border: 1px solid var(--paper-3);
  color: var(--ink-2);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--d-fast) var(--ease);
}
.qty-presets button:hover { border-color: var(--ink); color: var(--ink); }
.qty-presets button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qty-presets button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qty-helper {
  color: var(--ink-3);
  font-size: 12px;
  margin-top: var(--s-3);
  display: flex;
  gap: 8px;
  align-items: center;
}
.qty-helper a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

.cta-row { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-2); }

/* Buy Now — same ::before slab mechanism as .btn-primary, but in accent.
   .btn sets background:transparent !important and uses ::before for the
   fill, so we have to follow that pattern instead of setting a flat bg. */
.btn-buynow { color: #ffffff !important; border: 1px solid var(--accent) !important; }
.btn-buynow::before { background: var(--accent); }
.btn-buynow:hover { color: var(--accent) !important; border-color: var(--accent) !important; }
.btn-buynow:hover::before { transform-origin: right center; transform: scaleX(0); }

.trust-mini {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  padding: var(--s-3) 0;
  border-top: var(--rule);
}
.trust-mini .ti {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.trust-mini .ti svg { flex: 0 0 auto; }
.trust-mini .ti b { color: var(--ink); font-weight: 500; }

.disclaimer {
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.55;
  padding: var(--s-3) 0;
  border-top: var(--rule);
}
.disclaimer b { color: var(--ink-2); font-weight: 500; }

/* Fabric specification grid */
.fabric-spec { background: var(--paper-2); border-top: var(--rule); border-bottom: var(--rule); }
.fabric-spec .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-9) var(--pad-x-d);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-8);
}
.fabric-spec h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.fabric-spec .ix { color: var(--ink-3); margin-bottom: var(--s-3); }
.fabric-spec .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: var(--rule);
  border-left: var(--rule);
}
.fabric-spec .cell { padding: var(--s-4) var(--s-5); border-right: var(--rule); border-bottom: var(--rule); }
.fabric-spec .cell .k {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.fabric-spec .cell .v {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.fabric-spec .cell.full { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .fabric-spec .inner { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-7) var(--pad-x-m); }
}
@media (max-width: 520px) { .fabric-spec .grid { grid-template-columns: 1fr; } }

/* Fabric FAQ */
.fabric-faq {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-9) var(--pad-x-d);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-8);
}
.fabric-faq h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.fabric-faq .ix { color: var(--ink-3); margin-bottom: var(--s-3); }
.fabric-faq details { border-top: var(--rule); padding: var(--s-4) 0; }
.fabric-faq details:last-of-type { border-bottom: var(--rule); }
.fabric-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
}
.fabric-faq summary::-webkit-details-marker { display: none; }
.fabric-faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-3);
  flex: 0 0 auto;
}
.fabric-faq details[open] summary::after { content: "−"; }
.fabric-faq details > div { padding-top: var(--s-3); color: var(--ink-2); font-size: 14px; line-height: 1.7; max-width: 720px; }
@media (max-width: 900px) {
  .fabric-faq { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-7) var(--pad-x-m); }
}

/* Bulk-order panel */
.bulk-panel {
  background: linear-gradient(90deg, rgba(10, 8, 6, 0.92) 0%, rgba(10, 8, 6, 0.7) 60%, rgba(10, 8, 6, 0.5) 100%),
    url("/generated/_sections/atelier.webp") center/cover no-repeat;
  color: var(--paper);
  border-top: var(--rule);
}
.bulk-panel .row {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s-9) var(--pad-x-d);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: var(--s-7);
  align-items: center;
}
.bulk-panel .ix { color: var(--ink-4); margin-bottom: var(--s-3); }
.bulk-panel h3 {
  margin: 0 0 var(--s-3);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 680px;
}
.bulk-panel h3 em { color: var(--ink-4); font-style: italic; font-weight: 500; }
.bulk-panel p { margin: 0; max-width: 540px; color: var(--paper-3); }

/* WhatsApp CTA — paper-filled slab on the dark image, like .bespoke-teaser .btn */
.bulk-panel .btn { color: var(--ink) !important; border: 1px solid var(--paper) !important; }
.bulk-panel .btn::before { background: var(--paper); }
.bulk-panel .btn:hover { color: var(--paper) !important; border-color: var(--accent) !important; }
.bulk-panel .btn:hover::before { transform-origin: right center; transform: scaleX(0); }

@media (max-width: 900px) {
  .bulk-panel .row { grid-template-columns: 1fr; padding: var(--s-7) var(--pad-x-m); }
}

@media (max-width: 1100px) {
  .pd-fabric { grid-template-columns: 64px 1fr; }
  .fabric-info { grid-column: 1 / -1; position: static; padding-top: var(--s-5); }
  .fabric-thumbs { position: static; }
}
@media (max-width: 720px) {
  .pd-fabric { grid-template-columns: 1fr; padding: 0 var(--pad-x-m) var(--s-7); gap: var(--s-3); }
  .fabric-thumbs { flex-direction: row; overflow-x: auto; padding-bottom: var(--s-2); }
  .fabric-thumb { flex: 0 0 64px; }
}
@media (max-width: 375px) {
  .pd-fabric { padding: 0 var(--s-3) var(--s-5); }
  .fabric-info h1 { font-size: 24px; }
  .fabric-spec .inner { padding: var(--s-5) var(--s-3); }
  .fabric-faq { padding: var(--s-5) var(--s-3); }
}

/* Reviews wrap — match the page max-width so the section aligns with PDP body */
.pdp-reviews-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x-d) var(--s-8);
}
