/** Shopify CDN: Minification failed

Line 925:0 All "@import" rules must come first
Line 1738:4 Expected identifier but found whitespace
Line 1738:5 Unexpected "5"

**/
/* ============================================================
   SOUTH OF HEAVEN — Direction A Product Page  v2
   Scoped to .soh-pdp — isolated from Emerge theme CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;1,6..96,400;1,6..96,500&display=swap');

.soh-pdp {
  --soh-paper:       #f0ede5;
  --soh-panel:       #ffffff;
  --soh-ink:         #191712;
  --soh-ink-soft:    #3c3730;
  --soh-muted:       #8a847a;
  --soh-faint:       #bbb5ab;
  --soh-line:        rgba(25,23,18,.13);
  --soh-line-strong: rgba(25,23,18,.28);
  --soh-accent:      #5f5d39;
  --soh-accent-deep: #43421f;
  --soh-paper-tint:  #e8e4da;
  --soh-sans:  'Helvetica Neue', Helvetica, Arial, 'Segoe UI', sans-serif;
  --soh-serif: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --soh-mono:  ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --soh-ease:  cubic-bezier(.4,.1,.2,1);

  background: var(--soh-paper);
  font-family: var(--soh-sans);
  -webkit-font-smoothing: antialiased;
  color: var(--soh-ink);
  /* Prevent any child from causing horizontal scroll */
  overflow-x: hidden;
  width: 100%;
}

.soh-pdp *, .soh-pdp *::before, .soh-pdp *::after { box-sizing: border-box; }
.soh-pdp img  { display: block; max-width: 100%; }
/* Scope button reset ONLY to our own buttons — NOT Stoq's injected elements */
.soh-pdp .soh-btn-cart,
.soh-pdp .soh-btn-express,
.soh-pdp .soh-a-zoom,
.soh-pdp .soh-a-thumb,
.soh-pdp .soh-color-chip,
.soh-pdp .soh-size-btn,
.soh-pdp .soh-acc-head,
.soh-pdp .soh-size-guide,
.soh-pdp .soh-modal-close,
.soh-pdp .soh-zoom-close {
  font-family: inherit; cursor: pointer;
}
.soh-pdp a { color: inherit; text-decoration: none; }

/* ============================================================
   DESKTOP LAYOUT  (≥ 768px)
   Matches Claude Design Direction A reference
   ============================================================ */
.soh-a-wrap {
  display: grid;
  /* Claude Design: gallery slightly wider than panel, balanced feel */
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 0;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Gallery — desktop: main right, thumbs left
   DOM order: main first (for mobile), thumbs second
   On desktop we reorder via grid */
.soh-a-gallery {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 40px 40px 60px 0;
}

/* Desktop: put thumbs in column 1, main in column 2 */
@media (min-width: 768px) {
  .soh-a-main   { grid-column: 2; grid-row: 1; }
  .soh-a-thumbs { grid-column: 1; grid-row: 1; }
}

/* Thumbnails */
.soh-a-thumbs { display: flex; flex-direction: column; gap: 8px; }

.soh-a-thumb {
  padding: 0;
  border: 1.5px solid transparent;
  background: none;
  aspect-ratio: 3/4;
  opacity: .55;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s var(--soh-ease), opacity .15s var(--soh-ease);
}
.soh-a-thumb img    { width: 100%; height: 100%; object-fit: cover; display: block; }
.soh-a-thumb:hover  { opacity: .85; }
.soh-a-thumb.on     { opacity: 1; border-color: var(--soh-ink); }

/* Main image — Claude Design uses ~3:4 portrait ratio */
.soh-a-main {
  position: relative;
  aspect-ratio: 3/4;
  background: #f8f7f4;
  border: none;
  overflow: hidden;
}
.soh-a-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.soh-a-main.cover img { object-fit: cover; }

.soh-img-idx {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: var(--soh-mono); font-size: 10px; letter-spacing: .12em; color: var(--soh-muted);
  pointer-events: none;
}
.soh-a-zoom {
  position: absolute; bottom: 14px; right: 14px; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(247,245,241,.9); backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1px var(--soh-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--soh-ink); transition: background .15s var(--soh-ease); z-index: 3;
}
.soh-a-zoom:hover { background: var(--soh-paper); }

/* Buy panel */
.soh-a-panel { padding: 40px 0 60px; }
.soh-a-panel-inner {
  position: sticky; top: 90px;
  padding-left: 56px;
  padding-right: 8px;
  border-left: 1px solid var(--soh-line);
  /* Do NOT set overflow:hidden — Stoq's tooltip must be visible */
}

/* Buy button wrapper — block layout so Stoq can inject full-width below our button */
.soh-buy-wrap {
  display: block;
  width: 100%;
  margin-bottom: 18px;
}
/* Form inside wrapper must be full width */
.soh-buy-wrap form {
  display: block;
  width: 100%;
}
/* Our cart button — force full width against Emerge's global button{width:fit-content} */
.soh-buy-wrap .soh-btn-cart {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-bottom: 10px;
  box-sizing: border-box;
}
/* Stoq injects its preorder button AFTER or replacing our button.
   Give those elements full width and proper spacing. */
.soh-buy-wrap > *:not(form) {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
/* Stoq's button — force full width */
.soh-buy-wrap [class*="restock"],
.soh-buy-wrap [class*="stoq"],
.soh-buy-wrap [class*="preorder"],
.soh-buy-wrap [id*="restock"],
.soh-buy-wrap [id*="stoq"] {
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}
/* Stoq ship date banner — allow it to show, give it space */
.soh-buy-wrap [class*="ship"],
.soh-buy-wrap [class*="Ship"],
.soh-buy-wrap [class*="estimated"],
.soh-buy-wrap [class*="Estimated"] {
  margin-top: 8px;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.soh-crumb {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--soh-muted); display: flex; align-items: center; flex-wrap: wrap; gap: 0;
  margin-bottom: 18px;
}
.soh-crumb a { color: var(--soh-muted); }
.soh-crumb a:hover { color: var(--soh-accent); }
.soh-crumb .sep { margin: 0 .55em; color: var(--soh-faint); }

/* ============================================================
   TITLE / PRICE — match Claude Design scale
   ============================================================ */
.soh-p-title {
  font-weight: 700; line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase; margin: 0; font-size: 36px;
  font-family: var(--soh-sans);
}
.soh-p-subtitle {
  font-family: var(--soh-serif); font-style: italic;
  font-size: 18px; color: var(--soh-muted); margin-top: 8px;
}
.soh-p-price-row { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.soh-p-price {
  font-family: var(--soh-sans);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}
.soh-stars { display: flex; align-items: center; gap: 7px; }
.soh-stars-icons { color: var(--soh-accent); font-size: 13px; }
.soh-stars-meta { font-size: 12px; color: var(--soh-muted); letter-spacing: .04em; }
.soh-hairline { height: 1px; background: var(--soh-line); border: 0; margin: 0; }

/* ============================================================
   OPTIONS — color / size
   ============================================================ */
.soh-label-cap {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--soh-ink);
}
.soh-label-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.soh-color-name { font-size: 13px; color: var(--soh-muted); letter-spacing: .04em; }

.soh-swatch-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.soh-swatch {
  width: 34px; height: 34px; border-radius: 50%; position: relative; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(22,19,15,.18); border: none;
  transition: transform .15s var(--soh-ease);
}
.soh-swatch:hover { transform: scale(1.06); }
.soh-swatch[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid var(--soh-ink);
}
/* ============================================================
   WHY PRE-ORDERS LINK
   Only displayed when Stoq has an active preorder button
   ============================================================ */

.soh-why-preorder {
  display: block;
  width: fit-content;
  margin: 2px auto 12px;
  padding: 0;
  color: var(--soh-ink) !important;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .04em;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: opacity .15s ease;
}

.soh-why-preorder:hover {
  opacity: .55;
}

.soh-why-preorder[hidden] {
  display: none !important;
}


/* ============================================================
   WHY PRE-ORDERS MODAL
   ============================================================ */

.soh-preorder-modal[hidden] {
  display: none !important;
}

.soh-preorder-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.soh-preorder-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 23, 18, .55);
  backdrop-filter: blur(5px);
}

.soh-preorder-modal-box {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--soh-panel);
  color: var(--soh-ink);
  padding: 52px 48px 48px;
  box-shadow: 0 20px 70px rgba(0,0,0,.18);
}

.soh-preorder-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--soh-ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.soh-preorder-modal-content {
  max-width: 52ch;
}

.soh-preorder-eyebrow {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.soh-preorder-modal-content h2 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.02em;
}

.soh-preorder-modal-content p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--soh-ink-soft);
}

.soh-preorder-modal-content p:last-child {
  margin-bottom: 0;
}


/* Mobile */
@media (max-width: 767px) {
  .soh-why-preorder {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 11px;
  }

  .soh-preorder-modal {
    padding: 16px;
  }

  .soh-preorder-modal-box {
    padding: 46px 24px 30px;
    max-height: calc(100vh - 32px);
  }

  .soh-preorder-modal-content h2 {
    font-size: 24px;
  }
}
.soh-swatch.sw-olive       { background: radial-gradient(circle at 35% 30%, #8c8757, #5f5d39 70%); }
.soh-swatch.sw-faded-black { background: radial-gradient(circle at 35% 30%, #4a4641, #232019 70%); }
.soh-swatch.sw-bone        { background: radial-gradient(circle at 35% 30%, #efe9dc, #d8cfbd 70%); }
.soh-swatch.sw-cement      { background: radial-gradient(circle at 35% 30%, #d4cec5, #b5aea4 70%); }
.soh-swatch.sw-black       { background: radial-gradient(circle at 35% 30%, #3a3733, #191712 70%); }
.soh-swatch.sw-white       { background: radial-gradient(circle at 35% 30%, #ffffff, #e8e4da 70%); }

.soh-size-label-row {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px;
}
.soh-size-guide {
  font-size: 12px; letter-spacing: .06em; color: var(--soh-muted);
  text-transform: uppercase; text-decoration: underline; text-underline-offset: 2px;
  display: inline-flex; gap: 6px; align-items: center; background: none; border: none; cursor: pointer;
}
.soh-size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.soh-size-btn {
  min-width: 58px; height: 52px; padding: 0 12px;
  border: 1px solid var(--soh-line-strong); background: var(--soh-panel);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--soh-ink);
  display: flex; align-items: center; justify-content: center;
  transition: all .14s var(--soh-ease); position: relative; cursor: pointer;
}
.soh-size-btn:hover { border-color: var(--soh-ink); }
.soh-size-btn[aria-pressed="true"] { background: var(--soh-ink); color: #fff; border-color: var(--soh-ink); }
.soh-size-btn:disabled {
  color: var(--soh-faint); border-color: var(--soh-line); cursor: not-allowed; background: var(--soh-paper-tint);
}
.soh-size-btn:disabled::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 50%;
  height: 1px; background: var(--soh-faint); transform: rotate(-16deg);
}

/* ============================================================
   BUY BUTTONS
   ============================================================ */
/* Use !important to override Emerge's global button{background:rgba(0,0,0,0)} reset */
.soh-btn-cart {
  width: 100%; height: 58px;
  background-color: #191712 !important;
  background: #191712 !important;
  color: #fff !important;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  display: flex !important; align-items: center; justify-content: center; gap: 12px;
  transition: background-color .18s var(--soh-ease), transform .06s var(--soh-ease);
  border: none; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  box-sizing: border-box;
}
.soh-btn-cart:hover   { background-color: var(--soh-accent-deep) !important; background: var(--soh-accent-deep) !important; }
.soh-btn-cart:active  { transform: translateY(1px); }
.soh-btn-cart:disabled { background-color: #aaa !important; background: #aaa !important; cursor: not-allowed; }
.soh-price-tail { opacity: .55; font-weight: 500; letter-spacing: .06em; }

.soh-btn-express {
  width: 100%; height: 46px; background: var(--soh-panel) !important;
  border: 1px solid var(--soh-line-strong) !important;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--soh-ink) !important;
  display: flex !important; align-items: center; justify-content: center; gap: 8px;
  transition: border-color .15s var(--soh-ease), background .15s var(--soh-ease); cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none; appearance: none;
}
.soh-btn-express:hover { border-color: var(--soh-ink) !important; background: var(--soh-paper-tint) !important; }
.soh-btn-express .pp i { color: #1f3a8a; font-style: italic; }
.soh-btn-express .pp b { color: #179bd7; }

.soh-more-pay {
  display: block; text-align: center; margin-top: 6px;
  font-size: 11px; letter-spacing: .04em; color: var(--soh-muted);
  text-decoration: underline; text-underline-offset: 2px;
}
.soh-more-pay:hover { color: var(--soh-ink); }

/* ============================================================
   TIMELINE
   ============================================================ */
.soh-timeline { display: flex; align-items: flex-start; width: 100%; }
.soh-tl-node {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative;
}
.soh-tl-node::before {
  content: ""; position: absolute; top: 13px; left: -50%; width: 100%;
  height: 1px; background: var(--soh-line-strong); z-index: 0;
}
.soh-tl-node:first-child::before { display: none; }
.soh-tl-dot {
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--soh-paper); border: 1px solid var(--soh-ink);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; color: var(--soh-ink);
  flex-shrink: 0;
}
.soh-tl-node.done .soh-tl-dot { background: var(--soh-ink); color: #fff; }
.soh-tl-cap {
  margin-top: 9px; font-size: 9px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%; padding: 0 2px;
}
.soh-tl-date {
  margin-top: 3px; font-size: 9px; color: var(--soh-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%; padding: 0 2px;
}

/* ============================================================
   ACCORDIONS
   ============================================================ */
.soh-acc { border-top: 1px solid var(--soh-line); }
.soh-acc-row { border-bottom: 1px solid var(--soh-line); }
.soh-acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 2px; text-align: left; background: none; border: none; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--soh-ink); font-family: var(--soh-sans);
}
.soh-acc-sign { position: relative; width: 14px; height: 14px; flex: none; }
.soh-acc-sign::before, .soh-acc-sign::after {
  content: ""; position: absolute; background: var(--soh-ink);
  transition: transform .25s var(--soh-ease), opacity .2s var(--soh-ease);
}
.soh-acc-sign::before { top: 6.5px; left: 0; width: 14px; height: 1px; }
.soh-acc-sign::after  { left: 6.5px; top: 0; width: 1px; height: 14px; }
.soh-acc-row.open .soh-acc-sign::after { transform: scaleY(0); opacity: 0; }
.soh-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--soh-ease); }
.soh-acc-row.open .soh-acc-body { grid-template-rows: 1fr; }
.soh-acc-body > div { overflow: hidden; }
.soh-acc-content {
  padding: 0 2px 26px; font-size: 14px; line-height: 1.65;
  color: var(--soh-ink-soft); max-width: 54ch;
}
.soh-acc-content ul { margin: 0; padding-left: 18px; list-style: disc; }
.soh-acc-content li { margin: 5px 0; }

/* ============================================================
   EDITORIAL BAND
   ============================================================ */
.soh-editorial { border-top: 1px solid var(--soh-line); background: var(--soh-panel); margin-top: 10px; }

.soh-ed-head {
  max-width: 1480px; margin: 0 auto; padding: 72px 40px 40px;
  display: grid; grid-template-columns: auto 1fr; gap: 8px 60px; align-items: end;
}
.soh-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--soh-muted);
}
.soh-ed-head .soh-eyebrow { grid-column: 1; align-self: start; padding-top: 10px; }
.soh-ed-head h2 {
  grid-column: 2; grid-row: 1; margin: 0;
  font-family: var(--soh-serif); font-weight: 500; font-size: 48px;
  line-height: 1.02; letter-spacing: -.01em;
}
.soh-ed-head h2 em { font-style: italic; color: var(--soh-accent); }
.soh-ed-head p {
  grid-column: 2; grid-row: 2; margin: 18px 0 0;
  max-width: 52ch; font-size: 15px; line-height: 1.65; color: var(--soh-ink-soft);
}

.soh-ed-grid {
  max-width: 1480px; margin: 0 auto; padding: 30px 40px 80px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: stretch;
}
.soh-ed-specs { display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0; }

/* Fabric specs */
.soh-spec-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--soh-line); }
.soh-spec { padding: 16px 2px; border-bottom: 1px solid var(--soh-line); }
.soh-spec:nth-child(odd)  { padding-right: 18px; }
.soh-spec:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--soh-line); }
.soh-spec .k { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--soh-muted); }
.soh-spec .v { margin-top: 5px; font-size: 14px; color: var(--soh-ink); line-height: 1.35; }

.soh-flag {
  display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--soh-line); font-size: 13px; color: var(--soh-ink-soft); letter-spacing: .02em;
}
.soh-flag .mono {
  font-family: var(--soh-mono); font-size: 11px; letter-spacing: .2em;
  border: 1px solid var(--soh-ink); padding: 5px 9px; color: var(--soh-ink);
}

/* Shot frames */
.soh-shot { position: relative; background: #fff; overflow: hidden; border: 1px solid var(--soh-line); isolation: isolate; }
.soh-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soh-shot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.soh-shot.tall { aspect-ratio: 4/5; height: auto; }
.soh-shot .corner {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  font-family: var(--soh-mono); font-size: 9px; letter-spacing: .12em;
  color: #9a948a; text-transform: uppercase;
}

/* ============================================================
   MOBILE  (≤ 767px) — thumbnail strip BELOW main image
   ============================================================ */
@media (max-width: 767px) {

  /* Contain everything strictly within viewport */
  .soh-pdp,
  .soh-a-wrap,
  .soh-a-gallery,
  .soh-a-panel,
  .soh-a-panel-inner {
    box-sizing: border-box;
    max-width: 100%;
  }

  /* Hide zoom icon on mobile */
  .soh-a-zoom {
    display: none !important;
  }

  .soh-a-wrap {
    grid-template-columns: 1fr;
    padding: 0;
    overflow-x: hidden;
  }

  /* Gallery: stack main on top, strip below */
  .soh-a-gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 16px;
  }

  /* Main image — full viewport width, no bleed */
  .soh-a-main {
    width: 100%;
    aspect-ratio: 3/4;
    border: none;
  }

  /* Thumbnail strip — horizontal scroll, clips cleanly */
  .soh-a-thumbs {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    padding: 10px 16px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    order: 2;
    width: 100%;
  }
  .soh-a-thumbs::-webkit-scrollbar { display: none; }

  .soh-a-thumb {
    flex: none;
    width: 56px;
    height: 74px;
    aspect-ratio: auto;
  }

  /* Buy panel — no overflow:hidden so Stoq tooltip is visible */
  .soh-a-panel { padding: 0; }
  .soh-a-panel-inner {
    position: static;
    padding: 24px 16px 40px;
    border-left: none;
    border-top: 1px solid var(--soh-line);
    width: 100%;
  }

  /* Every direct child of panel must stay in bounds */
  .soh-a-panel-inner > * {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Hide breadcrumb on mobile */
  .soh-crumb { display: none; }

  /* Type scale for mobile */
  .soh-p-title {
    font-size: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.1;
  }
  .soh-p-subtitle { font-size: 14px; }
  .soh-p-price { font-size: 20px; }

  /* Size row — wrap tightly */
  .soh-size-row { flex-wrap: wrap; gap: 6px; }
  .soh-size-btn { min-width: 44px; height: 42px; font-size: 12px; }

  /* Color chips — wrap */
  .soh-color-chip-row { flex-wrap: wrap; gap: 6px; }
  .soh-color-chip { height: 34px; padding: 0 12px; font-size: 11px; }

  /* Timeline — fully contained, no overflow */
  .soh-timeline {
    width: 100%;
    margin-bottom: 24px !important;
  }
  .soh-tl-node { flex: 1; min-width: 0; }
  .soh-tl-dot  { width: 22px; height: 22px; }
  .soh-tl-dot svg { width: 11px; height: 11px; }
  .soh-tl-cap  { font-size: 7.5px; letter-spacing: .03em; padding: 0 1px; }
  .soh-tl-date { font-size: 7.5px; padding: 0 1px; }

  /* Accordions */
  .soh-acc-content { max-width: 100%; font-size: 13px; }

  /* Buttons full width */
  .soh-btn-cart, .soh-btn-express {
    width: 100%;
    max-width: 100%;
  }

  /* Editorial */
  .soh-editorial { overflow: hidden; }
  .soh-ed-head {
    grid-template-columns: 1fr;
    padding: 40px 16px 24px;
  }
  .soh-ed-head .soh-eyebrow { grid-column: 1; }
  .soh-ed-head h2 { grid-column: 1; font-size: 26px; }
  .soh-ed-head p  { grid-column: 1; grid-row: auto; }

  .soh-ed-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "left"
    "specs"
    "right";
  gap: 24px;
  padding: 16px 16px 48px;
}

.soh-ed-grid > .soh-shot:first-of-type {
  grid-area: left;
}

.soh-ed-grid > .soh-ed-specs {
  grid-area: specs;
}

.soh-ed-grid > .soh-shot:last-of-type {
  grid-area: right;
}

.soh-shot {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.soh-shot img,
.soh-shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
}

/* ============================================================
   TABLET  (768px – 1079px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1079px) {
  .soh-a-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .soh-a-gallery { padding: 24px 0 30px; }
  .soh-a-panel-inner { position: static; padding-left: 0; border-left: 0; }
  .soh-ed-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TABLET  (768px – 1079px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1079px) {
  .soh-a-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .soh-a-gallery { padding: 24px 0 30px; }
  .soh-a-panel-inner { position: static; padding-left: 0; border-left: 0; }
  .soh-ed-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COLOR TEXT CHIPS (replaces round swatches)
   ============================================================ */
.soh-color-chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.soh-color-chip {
  height: 42px; padding: 0 18px;
  border: 1px solid var(--soh-line-strong); background: var(--soh-panel) !important;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--soh-ink) !important; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .14s var(--soh-ease); white-space: nowrap;
  -webkit-appearance: none; appearance: none;
}
.soh-color-chip:hover { border-color: var(--soh-ink); }
.soh-color-chip[aria-pressed="true"] {
  background: var(--soh-ink) !important;
  color: #fff !important;
  border-color: var(--soh-ink);
}

/* ============================================================
   SIZE GUIDE MODAL
   ============================================================ */
.soh-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(25,23,18,.5); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 20px;
}
.soh-modal-overlay.open { display: flex; }
.soh-modal-box {
  background: var(--soh-panel); max-width: 90vw; max-height: 88vh;
  overflow: auto; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.soh-modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  background: none !important; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--soh-ink) !important;
  padding: 4px 8px;
}
.soh-modal-close:hover { opacity: .6; }
.soh-modal-img { display: block; max-width: 100%; height: auto; }
.soh-modal-placeholder {
  padding: 48px; text-align: center;
  font-size: 13px; color: var(--soh-muted); letter-spacing: .04em; text-transform: uppercase;
  min-width: 320px;
}

/* ============================================================
   THIRD-PARTY WIDGET CONTAINMENT
   The TryOn widget (tryon-button etc.) and other injected
   elements must not overflow our panel on mobile
   ============================================================ */
@media (max-width: 767px) {
  .soh-a-panel-inner [class*="tryon"],
  .soh-a-panel-inner [class*="TryOn"],
  .soh-a-panel-inner [id*="tryon"],
  .soh-a-panel-inner [id*="TryOn"],
  .soh-a-panel-inner [class*="notify"],
  .soh-a-panel-inner [class*="Notify"] {
    max-width: 100% !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }
}

/* ============================================================
   HIDE TRYON APP WIDGET
   The TryOn / "Notify me when available" widgets are injected
   by Shopify apps. Hide them within our custom PDP.
   ============================================================ */
.soh-pdp [class*="tryon"],
.soh-pdp [class*="TryOn"],
.soh-pdp [class*="try-on"],
.soh-pdp [id*="tryon"],
.soh-pdp [id*="TryOn"],
.soh-pdp [id*="try-on"],
/* Common class names used by TryOn app */
.soh-pdp .tryon-button,
.soh-pdp .tryon-widget,
.soh-pdp [data-tryon],
/* "Notify me when available" sidebar widget */
.soh-pdp .notify-me-widget,
.soh-pdp [class*="notify-me"],
.soh-pdp [id*="notify-me"] {
  display: none !important;
}

/* ============================================================
   IMAGE ZOOM LIGHTBOX
   ============================================================ */
.soh-zoom-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.soh-zoom-overlay.open { display: flex; }

.soh-zoom-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  display: flex; align-items: center; justify-content: center;
}

.soh-zoom-img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
  user-select: none;
}

.soh-zoom-close {
  position: fixed; top: 20px; right: 24px; z-index: 10001;
  background: rgba(255,255,255,.12) !important;
  border: none; cursor: pointer;
  color: #fff !important; font-size: 24px; line-height: 1;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.soh-zoom-close:hover { background: rgba(255,255,255,.25) !important; }

/* Zoom cursor on main image */
.soh-a-main img { cursor: zoom-in; }

/* Native form wrapper — invisible, just wraps for Stoq compatibility */
.soh-product-native-form { display: contents; }

/* Visually hidden but accessible — used for native variant select (Stoq reads it) */
.soh-pdp .soh-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* ============================================================
   SOUTH OF HEAVEN — Direction A Product Page  v2
   Scoped to .soh-pdp — isolated from Emerge theme CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;1,6..96,400;1,6..96,500&display=swap');

.soh-pdp {
  --soh-paper:       #f0ede5;
  --soh-panel:       #ffffff;
  --soh-ink:         #191712;
  --soh-ink-soft:    #3c3730;
  --soh-muted:       #8a847a;
  --soh-faint:       #bbb5ab;
  --soh-line:        rgba(25,23,18,.13);
  --soh-line-strong: rgba(25,23,18,.28);
  --soh-accent:      #5f5d39;
  --soh-accent-deep: #43421f;
  --soh-paper-tint:  #e8e4da;
  --soh-sans:  'Helvetica Neue', Helvetica, Arial, 'Segoe UI', sans-serif;
  --soh-serif: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --soh-mono:  ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --soh-ease:  cubic-bezier(.4,.1,.2,1);

  background: var(--soh-paper);
  font-family: var(--soh-sans);
  -webkit-font-smoothing: antialiased;
  color: var(--soh-ink);
  /* Prevent any child from causing horizontal scroll */
  overflow-x: hidden;
  width: 100%;
}

.soh-pdp *, .soh-pdp *::before, .soh-pdp *::after { box-sizing: border-box; }
.soh-pdp img  { display: block; max-width: 100%; }
/* Scope button reset ONLY to our own buttons — NOT Stoq's injected elements */
.soh-pdp .soh-btn-cart,
.soh-pdp .soh-btn-express,
.soh-pdp .soh-a-zoom,
.soh-pdp .soh-a-thumb,
.soh-pdp .soh-color-chip,
.soh-pdp .soh-size-btn,
.soh-pdp .soh-acc-head,
.soh-pdp .soh-size-guide,
.soh-pdp .soh-modal-close,
.soh-pdp .soh-zoom-close {
  font-family: inherit; cursor: pointer;
}
.soh-pdp a { color: inherit; text-decoration: none; }

/* ============================================================
   DESKTOP LAYOUT  (≥ 768px)
   Matches Claude Design Direction A reference
   ============================================================ */
.soh-a-wrap {
  display: grid;
  /* Claude Design: gallery slightly wider than panel, balanced feel */
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 0;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Gallery — desktop: main right, thumbs left
   DOM order: main first (for mobile), thumbs second
   On desktop we reorder via grid */
.soh-a-gallery {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 40px 40px 60px 0;
}

/* Desktop: put thumbs in column 1, main in column 2 */
@media (min-width: 768px) {
  .soh-a-main   { grid-column: 2; grid-row: 1; }
  .soh-a-thumbs { grid-column: 1; grid-row: 1; }
}

/* Thumbnails */
.soh-a-thumbs { display: flex; flex-direction: column; gap: 8px; }

.soh-a-thumb {
  padding: 0;
  border: 1.5px solid transparent;
  background: none;
  aspect-ratio: 3/4;
  opacity: .55;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s var(--soh-ease), opacity .15s var(--soh-ease);
}
.soh-a-thumb img    { width: 100%; height: 100%; object-fit: cover; display: block; }
.soh-a-thumb:hover  { opacity: .85; }
.soh-a-thumb.on     { opacity: 1; border-color: var(--soh-ink); }

/* Main image — Claude Design uses ~3:4 portrait ratio */
.soh-a-main {
  position: relative;
  aspect-ratio: 3/4;
  background: #f8f7f4;
  border: none;
  overflow: hidden;
}
.soh-a-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.soh-a-main.cover img { object-fit: cover; }

.soh-img-idx {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: var(--soh-mono); font-size: 10px; letter-spacing: .12em; color: var(--soh-muted);
  pointer-events: none;
}
.soh-a-zoom {
  position: absolute; bottom: 14px; right: 14px; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(247,245,241,.9); backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1px var(--soh-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--soh-ink); transition: background .15s var(--soh-ease); z-index: 3;
}
.soh-a-zoom:hover { background: var(--soh-paper); }

/* Buy panel */
.soh-a-panel { padding: 40px 0 60px; }
.soh-a-panel-inner {
  position: sticky; top: 90px;
  padding-left: 56px;
  padding-right: 8px;
  border-left: 1px solid var(--soh-line);
  /* Do NOT set overflow:hidden — Stoq's tooltip must be visible */
}

/* Buy button wrapper — block layout so Stoq can inject full-width below our button */
.soh-buy-wrap {
  display: block;
  width: 100%;
  margin-bottom: 18px;
}
/* Form inside wrapper must be full width */
.soh-buy-wrap form {
  display: block;
  width: 100%;
}
/* Our cart button — force full width against Emerge's global button{width:fit-content} */
.soh-buy-wrap .soh-btn-cart {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-bottom: 10px;
  box-sizing: border-box;
}
/* Stoq injects its preorder button AFTER or replacing our button.
   Give those elements full width and proper spacing. */
.soh-buy-wrap > *:not(form) {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
/* Stoq's button — force full width */
.soh-buy-wrap [class*="restock"],
.soh-buy-wrap [class*="stoq"],
.soh-buy-wrap [class*="preorder"],
.soh-buy-wrap [id*="restock"],
.soh-buy-wrap [id*="stoq"] {
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}
/* Stoq ship date banner — allow it to show, give it space */
.soh-buy-wrap [class*="ship"],
.soh-buy-wrap [class*="Ship"],
.soh-buy-wrap [class*="estimated"],
.soh-buy-wrap [class*="Estimated"] {
  margin-top: 8px;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.soh-crumb {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--soh-muted); display: flex; align-items: center; flex-wrap: wrap; gap: 0;
  margin-bottom: 18px;
}
.soh-crumb a { color: var(--soh-muted); }
.soh-crumb a:hover { color: var(--soh-accent); }
.soh-crumb .sep { margin: 0 .55em; color: var(--soh-faint); }

/* ============================================================
   TITLE / PRICE — match Claude Design scale
   ============================================================ */
.soh-p-title {
  font-weight: 700; line-height: 1; letter-spacing: -.01em;
  text-transform: uppercase; margin: 0; font-size: 36px;
  font-family: var(--soh-sans);
}
.soh-p-subtitle {
  font-family: var(--soh-serif); font-style: italic;
  font-size: 18px; color: var(--soh-muted); margin-top: 8px;
}
.soh-p-price-row { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.soh-p-price {
  font-family: var(--soh-sans);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}
.soh-stars { display: flex; align-items: center; gap: 7px; }
.soh-stars-icons { color: var(--soh-accent); font-size: 13px; }
.soh-stars-meta { font-size: 12px; color: var(--soh-muted); letter-spacing: .04em; }
.soh-hairline { height: 1px; background: var(--soh-line); border: 0; margin: 0; }

/* ============================================================
   OPTIONS — color / size
   ============================================================ */
.soh-label-cap {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--soh-ink);
}
.soh-label-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.soh-color-name { font-size: 13px; color: var(--soh-muted); letter-spacing: .04em; }

.soh-swatch-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.soh-swatch {
  width: 34px; height: 34px; border-radius: 50%; position: relative; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(22,19,15,.18); border: none;
  transition: transform .15s var(--soh-ease);
}
.soh-swatch:hover { transform: scale(1.06); }
.soh-swatch[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid var(--soh-ink);
}
.soh-swatch.sw-olive       { background: radial-gradient(circle at 35% 30%, #8c8757, #5f5d39 70%); }
.soh-swatch.sw-faded-black { background: radial-gradient(circle at 35% 30%, #4a4641, #232019 70%); }
.soh-swatch.sw-bone        { background: radial-gradient(circle at 35% 30%, #efe9dc, #d8cfbd 70%); }
.soh-swatch.sw-cement      { background: radial-gradient(circle at 35% 30%, #d4cec5, #b5aea4 70%); }
.soh-swatch.sw-black       { background: radial-gradient(circle at 35% 30%, #3a3733, #191712 70%); }
.soh-swatch.sw-white       { background: radial-gradient(circle at 35% 30%, #ffffff, #e8e4da 70%); }

.soh-size-label-row {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px;
}
.soh-size-guide {
  font-size: 12px; letter-spacing: .06em; color: var(--soh-muted);
  text-transform: uppercase; text-decoration: underline; text-underline-offset: 2px;
  display: inline-flex; gap: 6px; align-items: center; background: none; border: none; cursor: pointer;
}
.soh-size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.soh-size-btn {
  min-width: 58px; height: 52px; padding: 0 12px;
  border: 1px solid var(--soh-line-strong); background: var(--soh-panel);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--soh-ink);
  display: flex; align-items: center; justify-content: center;
  transition: all .14s var(--soh-ease); position: relative; cursor: pointer;
}
.soh-size-btn:hover { border-color: var(--soh-ink); }
.soh-size-btn[aria-pressed="true"] { background: var(--soh-ink); color: #fff; border-color: var(--soh-ink); }
.soh-size-btn:disabled {
  color: var(--soh-faint); border-color: var(--soh-line); cursor: not-allowed; background: var(--soh-paper-tint);
}
.soh-size-btn:disabled::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 50%;
  height: 1px; background: var(--soh-faint); transform: rotate(-16deg);
}

/* ============================================================
   BUY BUTTONS
   ============================================================ */
/* Use !important to override Emerge's global button{background:rgba(0,0,0,0)} reset */
.soh-btn-cart {
  width: 100%; height: 58px;
  background-color: #191712 !important;
  background: #191712 !important;
  color: #fff !important;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  display: flex !important; align-items: center; justify-content: center; gap: 12px;
  transition: background-color .18s var(--soh-ease), transform .06s var(--soh-ease);
  border: none; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  box-sizing: border-box;
}
.soh-btn-cart:hover   { background-color: var(--soh-accent-deep) !important; background: var(--soh-accent-deep) !important; }
.soh-btn-cart:active  { transform: translateY(1px); }
.soh-btn-cart:disabled { background-color: #aaa !important; background: #aaa !important; cursor: not-allowed; }
.soh-price-tail { opacity: .55; font-weight: 500; letter-spacing: .06em; }

.soh-btn-express {
  width: 100%; height: 46px; background: var(--soh-panel) !important;
  border: 1px solid var(--soh-line-strong) !important;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--soh-ink) !important;
  display: flex !important; align-items: center; justify-content: center; gap: 8px;
  transition: border-color .15s var(--soh-ease), background .15s var(--soh-ease); cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none; appearance: none;
}
.soh-btn-express:hover { border-color: var(--soh-ink) !important; background: var(--soh-paper-tint) !important; }
.soh-btn-express .pp i { color: #1f3a8a; font-style: italic; }
.soh-btn-express .pp b { color: #179bd7; }

.soh-more-pay {
  display: block; text-align: center; margin-top: 6px;
  font-size: 11px; letter-spacing: .04em; color: var(--soh-muted);
  text-decoration: underline; text-underline-offset: 2px;
}
.soh-more-pay:hover { color: var(--soh-ink); }

/* ============================================================
   TIMELINE
   ============================================================ */
.soh-timeline { display: flex; align-items: flex-start; width: 100%; }
.soh-tl-node {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative;
}
.soh-tl-node::before {
  content: ""; position: absolute; top: 13px; left: -50%; width: 100%;
  height: 1px; background: var(--soh-line-strong); z-index: 0;
}
.soh-tl-node:first-child::before { display: none; }
.soh-tl-dot {
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--soh-paper); border: 1px solid var(--soh-ink);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1; color: var(--soh-ink);
  flex-shrink: 0;
}
.soh-tl-node.done .soh-tl-dot { background: var(--soh-ink); color: #fff; }
.soh-tl-cap {
  margin-top: 9px; font-size: 9px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%; padding: 0 2px;
}
.soh-tl-date {
  margin-top: 3px; font-size: 9px; color: var(--soh-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 100%; padding: 0 2px;
}

/* ============================================================
   ACCORDIONS
   ============================================================ */
.soh-acc { border-top: 1px solid var(--soh-line); }
.soh-acc-row { border-bottom: 1px solid var(--soh-line); }
.soh-acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 2px; text-align: left; background: none; border: none; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--soh-ink); font-family: var(--soh-sans);
}
.soh-acc-sign { position: relative; width: 14px; height: 14px; flex: none; }
.soh-acc-sign::before, .soh-acc-sign::after {
  content: ""; position: absolute; background: var(--soh-ink);
  transition: transform .25s var(--soh-ease), opacity .2s var(--soh-ease);
}
.soh-acc-sign::before { top: 6.5px; left: 0; width: 14px; height: 1px; }
.soh-acc-sign::after  { left: 6.5px; top: 0; width: 1px; height: 14px; }
.soh-acc-row.open .soh-acc-sign::after { transform: scaleY(0); opacity: 0; }
.soh-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--soh-ease); }
.soh-acc-row.open .soh-acc-body { grid-template-rows: 1fr; }
.soh-acc-body > div { overflow: hidden; }
.soh-acc-content {
  padding: 0 2px 26px; font-size: 14px; line-height: 1.65;
  color: var(--soh-ink-soft); max-width: 54ch;
}
.soh-acc-content ul { margin: 0; padding-left: 18px; list-style: disc; }
.soh-acc-content li { margin: 5px 0; }

/* ============================================================
   EDITORIAL BAND
   ============================================================ */
.soh-editorial { border-top: 1px solid var(--soh-line); background: var(--soh-panel); margin-top: 10px; }

.soh-ed-head {
  max-width: 1480px; margin: 0 auto; padding: 72px 40px 40px;
  display: grid; grid-template-columns: auto 1fr; gap: 8px 60px; align-items: end;
}
.soh-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--soh-muted);
}
.soh-ed-head .soh-eyebrow { grid-column: 1; align-self: start; padding-top: 10px; }
.soh-ed-head h2 {
  grid-column: 2; grid-row: 1; margin: 0;
  font-family: var(--soh-serif); font-weight: 500; font-size: 48px;
  line-height: 1.02; letter-spacing: -.01em;
}
.soh-ed-head h2 em { font-style: italic; color: var(--soh-accent); }
.soh-ed-head p {
  grid-column: 2; grid-row: 2; margin: 18px 0 0;
  max-width: 52ch; font-size: 15px; line-height: 1.65; color: var(--soh-ink-soft);
}

.soh-ed-grid {
  max-width: 1480px; margin: 0 auto; padding: 30px 40px 80px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: stretch;
}
.soh-ed-specs { display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0; }

/* Fabric specs */
.soh-spec-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--soh-line); }
.soh-spec { padding: 16px 2px; border-bottom: 1px solid var(--soh-line); }
.soh-spec:nth-child(odd)  { padding-right: 18px; }
.soh-spec:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--soh-line); }
.soh-spec .k { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--soh-muted); }
.soh-spec .v { margin-top: 5px; font-size: 14px; color: var(--soh-ink); line-height: 1.35; }

.soh-flag {
  display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--soh-line); font-size: 13px; color: var(--soh-ink-soft); letter-spacing: .02em;
}
.soh-flag .mono {
  font-family: var(--soh-mono); font-size: 11px; letter-spacing: .2em;
  border: 1px solid var(--soh-ink); padding: 5px 9px; color: var(--soh-ink);
}

/* Shot frames */
.soh-shot { position: relative; background: #fff; overflow: hidden; border: 1px solid var(--soh-line); isolation: isolate; }
.soh-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.soh-shot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.soh-shot.tall { aspect-ratio: 4/5; height: auto; }
.soh-shot .corner {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  font-family: var(--soh-mono); font-size: 9px; letter-spacing: .12em;
  color: #9a948a; text-transform: uppercase;
}

/* ============================================================
   MOBILE  (≤ 767px) — thumbnail strip BELOW main image
   ============================================================ */
@media (max-width: 767px) {

  /* Contain everything strictly within viewport */
  .soh-pdp,
  .soh-a-wrap,
  .soh-a-gallery,
  .soh-a-panel,
  .soh-a-panel-inner {
    box-sizing: border-box;
    max-width: 100%;
  }

  /* Hide zoom icon on mobile */
  .soh-a-zoom {
    display: none !important;
  }

  .soh-a-wrap {
    grid-template-columns: 1fr;
    padding: 0;
    overflow-x: hidden;
  }

  /* Gallery: stack main on top, strip below */
  .soh-a-gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 16px;
  }

  /* Main image — full viewport width, no bleed */
  .soh-a-main {
    width: 100%;
    aspect-ratio: 3/4;
    border: none;
  }

  /* Thumbnail strip — horizontal scroll, clips cleanly */
  .soh-a-thumbs {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    padding: 10px 16px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    order: 2;
    width: 100%;
  }
  .soh-a-thumbs::-webkit-scrollbar { display: none; }

  .soh-a-thumb {
    flex: none;
    width: 56px;
    height: 74px;
    aspect-ratio: auto;
  }

  /* Buy panel — no overflow:hidden so Stoq tooltip is visible */
  .soh-a-panel { padding: 0; }
  .soh-a-panel-inner {
    position: static;
    padding: 24px 16px 40px;
    border-left: none;
    border-top: 1px solid var(--soh-line);
    width: 100%;
  }

  /* Every direct child of panel must stay in bounds */
  .soh-a-panel-inner > * {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Hide breadcrumb on mobile */
  .soh-crumb { display: none; }

  /* Type scale for mobile */
  .soh-p-title {
    font-size: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.1;
  }
  .soh-p-subtitle { font-size: 14px; }
  .soh-p-price { font-size: 20px; }

  /* Size row — wrap tightly */
  .soh-size-row { flex-wrap: wrap; gap: 6px; }
  .soh-size-btn { min-width: 44px; height: 42px; font-size: 12px; }

  /* Color chips — wrap */
  .soh-color-chip-row { flex-wrap: wrap; gap: 6px; }
  .soh-color-chip { height: 34px; padding: 0 12px; font-size: 11px; }

  /* Timeline — fully contained, no overflow */
  .soh-timeline {
    width: 100%;
    margin-bottom: 24px !important;
  }
  .soh-tl-node { flex: 1; min-width: 0; }
  .soh-tl-dot  { width: 22px; height: 22px; }
  .soh-tl-dot svg { width: 11px; height: 11px; }
  .soh-tl-cap  { font-size: 7.5px; letter-spacing: .03em; padding: 0 1px; }
  .soh-tl-date { font-size: 7.5px; padding: 0 1px; }

  /* Accordions */
  .soh-acc-content { max-width: 100%; font-size: 13px; }

  /* Buttons full width */
  .soh-btn-cart, .soh-btn-express {
    width: 100%;
    max-width: 100%;
  }

  /* Editorial */
  .soh-editorial { overflow: hidden; }
  .soh-ed-head {
    grid-template-columns: 1fr;
    padding: 40px 16px 24px;
  }
  .soh-ed-head .soh-eyebrow { grid-column: 1; }
  .soh-ed-head h2 { grid-column: 1; font-size: 26px; }
  .soh-ed-head p  { grid-column: 1; grid-row: auto; }

  .soh-ed-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "left"
    "specs"
    "right";
  gap: 24px;
  padding: 16px 16px 48px;
}

.soh-ed-grid > .soh-shot:first-of-type {
  grid-area: left;
}

.soh-ed-grid > .soh-ed-specs {
  grid-area: specs;
}

.soh-ed-grid > .soh-shot:last-of-type {
  grid-area: right;
}

.soh-shot {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.soh-shot img,
.soh-shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
}

/* ============================================================
   TABLET  (768px – 1079px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1079px) {
  .soh-a-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .soh-a-gallery { padding: 24px 0 30px; }
  .soh-a-panel-inner { position: static; padding-left: 0; border-left: 0; }
  .soh-ed-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TABLET  (768px – 1079px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 1079px) {
  .soh-a-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .soh-a-gallery { padding: 24px 0 30px; }
  .soh-a-panel-inner { position: static; padding-left: 0; border-left: 0; }
  .soh-ed-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COLOR TEXT CHIPS (replaces round swatches)
   ============================================================ */
.soh-color-chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.soh-color-chip {
  height: 42px; padding: 0 18px;
  border: 1px solid var(--soh-line-strong); background: var(--soh-panel) !important;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--soh-ink) !important; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .14s var(--soh-ease); white-space: nowrap;
  -webkit-appearance: none; appearance: none;
}
.soh-color-chip:hover { border-color: var(--soh-ink); }
.soh-color-chip[aria-pressed="true"] {
  background: var(--soh-ink) !important;
  color: #fff !important;
  border-color: var(--soh-ink);
}

/* ============================================================
   SIZE GUIDE MODAL
   ============================================================ */
.soh-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(25,23,18,.5); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 20px;
}
.soh-modal-overlay.open { display: flex; }
.soh-modal-box {
  background: var(--soh-panel); max-width: 90vw; max-height: 88vh;
  overflow: auto; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}
.soh-modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  background: none !important; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--soh-ink) !important;
  padding: 4px 8px;
}
.soh-modal-close:hover { opacity: .6; }
.soh-modal-img { display: block; max-width: 100%; height: auto; }
.soh-modal-placeholder {
  padding: 48px; text-align: center;
  font-size: 13px; color: var(--soh-muted); letter-spacing: .04em; text-transform: uppercase;
  min-width: 320px;
}

/* ============================================================
   THIRD-PARTY WIDGET CONTAINMENT
   The TryOn widget (tryon-button etc.) and other injected
   elements must not overflow our panel on mobile
   ============================================================ */
@media (max-width: 767px) {
  .soh-a-panel-inner [class*="tryon"],
  .soh-a-panel-inner [class*="TryOn"],
  .soh-a-panel-inner [id*="tryon"],
  .soh-a-panel-inner [id*="TryOn"],
  .soh-a-panel-inner [class*="notify"],
  .soh-a-panel-inner [class*="Notify"] {
    max-width: 100% !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }
}

/* ============================================================
   HIDE TRYON APP WIDGET
   The TryOn / "Notify me when available" widgets are injected
   by Shopify apps. Hide them within our custom PDP.
   ============================================================ */
.soh-pdp [class*="tryon"],
.soh-pdp [class*="TryOn"],
.soh-pdp [class*="try-on"],
.soh-pdp [id*="tryon"],
.soh-pdp [id*="TryOn"],
.soh-pdp [id*="try-on"],
/* Common class names used by TryOn app */
.soh-pdp .tryon-button,
.soh-pdp .tryon-widget,
.soh-pdp [data-tryon],
/* "Notify me when available" sidebar widget */
.soh-pdp .notify-me-widget,
.soh-pdp [class*="notify-me"],
.soh-pdp [id*="notify-me"] {
  display: none !important;
}

/* ============================================================
   IMAGE ZOOM LIGHTBOX
   ============================================================ */
.soh-zoom-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.soh-zoom-overlay.open { display: flex; }

.soh-zoom-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  display: flex; align-items: center; justify-content: center;
}

.soh-zoom-img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
  user-select: none;
}

.soh-zoom-close {
  position: fixed; top: 20px; right: 24px; z-index: 10001;
  background: rgba(255,255,255,.12) !important;
  border: none; cursor: pointer;
  color: #fff !important; font-size: 24px; line-height: 1;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.soh-zoom-close:hover { background: rgba(255,255,255,.25) !important; }

/* Zoom cursor on main image */
.soh-a-main img { cursor: zoom-in; }

/* Native form wrapper — invisible, just wraps for Stoq compatibility */
.soh-product-native-form { display: contents; }

/* Visually hidden but accessible — used for native variant select (Stoq reads it) */
.soh-pdp .soh-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* MOBILE PRODUCT INFO POSITION FIX */
@media screen and (max-width: 749px) {

  .soh-a-wrap {
    display: block !important;
  }

  .soh-a-gallery {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .soh-a-panel {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: static !important;
  }

  .soh-a-panel-inner {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: static !important;
    top: auto !important;
  }
}
.soh-model-info {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: #000;
  text-align: right;
  max-width: 80%;
  z-index: 5;
  background: rgba(255, 255, 255, 0.88);
  padding: 6px 8px;
}ex: 5;
}