/* ============================================================
   SKS Outfit Builder — configurator styles
   Ported from ui/groom-wedding-kilt-outfit-v2.html mockup.
   Scoped under .sks-outfit so it doesn't bleed into other sections.
   ============================================================ */

.sks-outfit {
  --so-paper: #F5F0E8;
  --so-paper-warm: #EFE9DD;
  --so-paper-deeper: #E5DED0;
  --so-cream: #F1E9D6;
  --so-white: #FAF6EE;
  --so-ink: #1E2D3B;
  --so-ink-soft: #4A5664;
  --so-ink-mid: #6B7682;
  --so-ink-faint: #8B96A2;
  --so-line: rgba(30, 45, 59, 0.13);
  --so-line-soft: rgba(30, 45, 59, 0.07);
  --so-brand: #B8520A;
  --so-brand-deep: #8E3F08;
  --so-navy: #0E1A26;
  --so-gold: #B08439;
  --so-crimson: #5A1A2E;
  --so-success: #2C7A4A;
  --so-sh-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --so-sh-md: 0 6px 16px rgba(0, 0, 0, 0.08);

  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--so-ink);
  line-height: 1.55;
  font-size: 16px;
}

.sks-outfit *,
.sks-outfit *::before,
.sks-outfit *::after {
  box-sizing: border-box;
}

.sks-outfit h2,
.sks-outfit h3,
.sks-outfit h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.18;
  margin: 0;
  color: var(--so-ink);
}

.sks-outfit-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

#shopify-section-template--22142550114518__main {
  padding-top: 0px;
}

.sks-outfit-section {
  padding: 80px 0;
}

@media (max-width:720px) {
  .sks-outfit-container {
    padding: 0 16px;
  }
}

/* ── Section scaffold ─────────────────────────────────────────── */
.sks-outfit-cfg-wrap {
  padding: 80px 0;
}

@media (max-width:720px) {
  .sks-outfit-cfg-wrap {
    padding: 48px 0;
  }
}

.sks-outfit-shead {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.sks-outfit-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--so-brand);
  font-weight: 500;
}

.sks-outfit-h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 10px 0 14px;
}

.sks-outfit-h2 em {
  font-style: italic;
  color: var(--so-brand);
}

.sks-outfit-shead p {
  font-size: 16px;
  color: var(--so-ink-soft);
  margin: 0;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.sks-outfit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .18s;
  font-family: inherit;
}

.sks-outfit-btn-primary {
  background: var(--so-brand);
  color: #fff;
}

.sks-outfit-btn-primary:hover {
  background: var(--so-brand-deep);
  transform: translateY(-1px);
}

/* ── Configurator layout ──────────────────────────────────────── */
.sks-outfit-config {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width:980px) {
  .sks-outfit-config {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* LEFT: preview + summary (sticky to viewport top) */
.sks-outfit-cfg-preview {
  position: sticky;
  top: 0;
}

@media (max-width:980px) {
  .sks-outfit-cfg-preview {
    position: static;
  }
}

.sks-outfit-cfg-render {
  aspect-ratio: 1/1;
  border: 1px solid var(--so-line);
  background: var(--so-white);
  padding: 12px;
  box-shadow: var(--so-sh-sm);
}

.sks-outfit-kilt-render {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--so-paper-deeper);
}

/* "Select your tartan" placeholder (shown until a tartan is chosen) */
.sks-outfit-tartan-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  padding: 28px 24px;
  color: var(--so-ink-mid, #6B7682);
  background: var(--so-paper-warm, #EFE9DD);
}

/* "Select Your Tartan" placeholder card (shared markup across builders). */
.sks-tph-ico { width: 44px; height: auto; color: #68758b; margin-bottom: 12px; }
.sks-tph-eyebrow {
  font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: #8d949d;
}
.sks-tph-h {
  margin-top: 12px;
  font-family: var(--so-serif, 'Playfair Display', Georgia, serif);
  font-weight: 500; font-size: clamp(26px, 4.4vw, 40px); line-height: 1.03;
  letter-spacing: -0.5px; color: #1e2b3a;
}
.sks-tph-rule { display: block; width: 46px; height: 1px; margin: 16px 0; background: rgba(30, 43, 58, 0.3); }
.sks-tph-sub {
  max-width: 230px; font-size: 9.5px; line-height: 1.7; letter-spacing: 0.13em;
  text-transform: uppercase; color: #5c6875;
}
/* Mandatory-tartan prompt — red outline after an add-to-cart attempt with none chosen */
.sks-outfit-tartan-missing { outline: 2px solid #C0392B; outline-offset: 2px; }
.sks-outfit-tartan-missing .sks-outfit-tartan-ph { color: #C0392B; }

.sks-outfit-cfg-look {
  margin-top: 16px;
  border: 1px solid var(--so-line);
  background: var(--so-white);
}

.sks-outfit-cfg-look-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--so-line);
  background: var(--so-paper-warm);
}

.sks-outfit-cfg-look-head b {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 500;
}

.sks-outfit-cfg-look-head span {
  font-size: 11px;
  color: var(--so-ink-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* "Best offer" ribbon-tag — matches the kilt-outfits summary badge. Scoped
   selector beats the generic .sks-outfit-cfg-look-head span rule above. */
.sks-outfit-cfg-look-head .sks-outfit-cfg-badge {
  display: inline-block;
  background: #B8520A;
  background: linear-gradient(135deg, #CA6A22, #A8490A);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 11px 4px 15px;
  line-height: 1.5;
  white-space: nowrap;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 7px 50%);
  box-shadow: 0 1px 3px rgba(20, 29, 38, 0.2);
}

.sks-outfit-cfg-lines {
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sks-outfit-cfg-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--so-ink-soft);
}

.sks-outfit-cfg-line span:last-child {
  color: var(--so-ink-mid);
  white-space: nowrap;
}

.sks-outfit-cfg-line.core span:last-child {
  color: var(--so-brand);
}

.sks-outfit-cfg-totals {
  padding: 12px 18px;
  border-top: 1px solid var(--so-line);
}

.sks-outfit-cfg-trow {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--so-ink-mid);
  padding: 2px 0;
}

.sks-outfit-cfg-trow.disc {
  color: var(--so-success);
}

.sks-outfit-cfg-trow.total {
  font-size: 15px;
  color: var(--so-ink);
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--so-line-soft);
  align-items: baseline;
}

.sks-outfit-cfg-trow.total strong {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--so-brand);
  font-weight: 600;
}

.sks-outfit-cfg-trow[hidden] {
  display: none;
}

.sks-outfit-cfg-save {
  font-size: 11.5px;
  color: var(--so-success);
  padding: 0 18px 8px;
  min-height: 14px;
}

.sks-outfit-cfg-cta {
  display: block;
  width: calc(100% - 36px);
  margin: 4px 18px 14px;
}

.sks-outfit-cfg-mini {
  padding: 0 18px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sks-outfit-cfg-mini li {
  list-style: none;
  font-size: 11px;
  color: var(--so-ink-mid);
}

/* RIGHT: stepped controls */
.sks-outfit-cfg-steps {}

.sks-outfit-stepper {
  display: flex;
  gap: 6px;
  background: var(--so-paper);
  padding: 10px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--so-line);
}

.sks-outfit-step-pip {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 4px 2px;
  opacity: 0.5;
  transition: opacity .2s;
  font-family: inherit;
}

.sks-outfit-step-pip.active,
.sks-outfit-step-pip.done {
  opacity: 1;
}

.sks-outfit-step-pip-bar {
  height: 3px;
  background: var(--so-line);
}

.sks-outfit-step-pip.active .sks-outfit-step-pip-bar,
.sks-outfit-step-pip.done .sks-outfit-step-pip-bar {
  background: var(--so-brand);
}

.sks-outfit-step-pip-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--so-ink-mid);
}

.sks-outfit-step-pip.active .sks-outfit-step-pip-label {
  color: var(--so-ink);
  font-weight: 500;
}

.sks-outfit-step-pip-label b {
  color: var(--so-brand);
  margin-right: 4px;
}

.sks-outfit-cstep {
  padding: 26px 0;
  border-bottom: 1px solid var(--so-line);
  scroll-margin-top: 130px;
}

.sks-outfit-cstep:last-child {
  border-bottom: none;
}

.sks-outfit-cstep-h {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.sks-outfit-cstep-h h3 {
  font-size: 24px;
}

.sks-outfit-cstep-h .num {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--so-brand);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.sks-outfit-cstep-sub {
  font-size: 14px;
  color: var(--so-ink-mid);
  margin: 0 0 18px;
}

/* ── Tartan grid ───────────────────────────────────────────────── */
.sks-outfit-tartan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width:520px) {
  .sks-outfit-tartan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sks-outfit-tartan-card {
  background: var(--so-white);
  border: 1px solid var(--so-line);
  padding: 7px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}

.sks-outfit-tartan-card:hover {
  border-color: var(--so-brand);
}

.sks-outfit-tartan-card.sel {
  border-color: var(--so-brand);
  box-shadow: 0 0 0 1px var(--so-brand);
}

.sks-outfit-tartan-sw {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 6px;
  background: var(--so-paper-deeper);
  position: relative;
}

.sks-outfit-tartan-sw img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Kilt preview image (left side of configurator) */
.sks-outfit-kilt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Browse-all button under the tartan grid */
.sks-outfit-browse-all {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  background: var(--so-ink);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.sks-outfit-browse-all:hover {
  background: var(--so-brand);
}

.sks-outfit-tartan-nm {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 500;
}

.sks-outfit-tartan-mt {
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--so-ink-mid);
  margin-top: 2px;
}

.sks-outfit-tartan-pr {
  font-size: 13px;
  font-weight: 600;
  color: var(--so-brand);
  margin-top: 4px;
  font-family: 'Playfair Display', serif;
}

.sks-outfit-tartan-more {
  margin-top: 14px;
  font-size: 13px;
  color: var(--so-ink-soft);
}

.sks-outfit-tartan-more a {
  color: var(--so-brand);
  font-weight: 500;
}
/* On mobile the "Browse from all stock tartans" link drops to its own line */
@media (max-width: 640px) {
  .sks-outfit-tartan-more a {
    display: block;
    margin-top: 4px;
  }
}

.sks-outfit-tartan-loading {
  padding: 30px;
  text-align: center;
  color: var(--so-ink-mid);
}

/* ── Option rows (jacket + accessories) ───────────────────────── */
.sks-outfit-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid var(--so-line-soft);
  background: var(--so-white);
  margin-bottom: 9px;
  cursor: pointer;
  transition: all .15s;
}

.sks-outfit-opt:hover {
  border-color: var(--so-brand);
}

.sks-outfit-opt.sel {
  border-color: var(--so-brand);
  background: rgba(184, 82, 10, 0.04);
  box-shadow: inset 0 0 0 1px var(--so-brand);
}

.sks-outfit-opt-thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border: 1px solid var(--so-line);
  overflow: hidden;
  background: white;
}

.sks-outfit-opt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sks-outfit-opt-thumb-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--so-paper-deeper);
}

.sks-outfit-opt-check {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border: 1.5px solid var(--so-line);
  background: var(--so-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
}

.sks-outfit-opt.sel .sks-outfit-opt-check {
  background: var(--so-brand);
  border-color: var(--so-brand);
  color: #fff;
}

.sks-outfit-opt-body {
  flex: 1;
  min-width: 0;
}

.sks-outfit-opt-nm {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 500;
  display: block;
}

.sks-outfit-opt-nm .rec {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  color: var(--so-brand);
  letter-spacing: 0.05em;
}

.sks-outfit-opt-ds {
  font-size: 12px;
  color: var(--so-ink-mid);
  margin-top: 1px;
  display: block;
}

.sks-outfit-opt-pr {
  font-size: 13px;
  color: var(--so-ink);
  white-space: nowrap;
}

/* ── Accessory presets ────────────────────────────────────────── */
.sks-outfit-acc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.sks-outfit-chip {
  padding: 8px 13px;
  border: 1px solid var(--so-line);
  background: var(--so-white);
  font-size: 12.5px;
  color: var(--so-ink-soft);
  display: inline-flex;
  gap: 7px;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.sks-outfit-chip:hover {
  border-color: var(--so-brand);
}

.sks-outfit-chip.on {
  background: var(--so-ink);
  color: #fff;
  border-color: var(--so-ink);
}

.sks-outfit-chip em {
  font-style: normal;
  color: var(--so-brand);
}

.sks-outfit-chip.on em {
  color: var(--so-cream);
}

.sks-outfit-addall {
  width: 100%;
  margin-top: 12px;
  padding: 11px;
  background: transparent;
  border: 1px dashed var(--so-line);
  color: var(--so-brand);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.sks-outfit-addall:hover {
  background: rgba(184, 82, 10, 0.05);
  border-color: var(--so-brand);
}

.sks-outfit-acc-count {
  font-size: 11px;
  color: var(--so-ink-mid);
  letter-spacing: 0.04em;
  margin-left: 8px;
}

/* ── Step 4 — Gift banner + measurement card ─────────────────── */
.sks-outfit-gift {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--so-paper-warm);
  border: 1px solid var(--so-gold);
  border-left: 4px solid var(--so-gold);
  padding: 18px 22px;
  margin-bottom: 20px;
}

.sks-outfit-gift-mk {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--so-gold);
  color: var(--so-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sks-outfit-gift-mk svg {
  width: 22px;
  height: 22px;
}

.sks-outfit-gift-eb {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--so-brand);
  font-weight: 600;
  margin-bottom: 4px;
}

.sks-outfit-gift h4 {
  font-size: 19px;
  margin-bottom: 5px;
}

.sks-outfit-gift h4 em {
  font-style: italic;
  color: var(--so-brand);
}

.sks-outfit-gift p {
  font-size: 13.5px;
  color: var(--so-ink-soft);
  line-height: 1.55;
  margin: 0;
}

.sks-outfit-mf {
  border: 1px solid var(--so-line);
  background: var(--so-white);
}

.sks-outfit-mf-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--so-paper-warm);
  border-bottom: 1px solid var(--so-line);
}

.sks-outfit-mf-top b {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.sks-outfit-mf-pill {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--so-ink-mid);
  background: var(--so-white);
  border: 1px solid var(--so-line);
  padding: 3px 10px;
  border-radius: 20px;
}

.sks-outfit-mf-pill.done {
  color: var(--so-success);
  border-color: var(--so-success);
}

.sks-outfit-seg {
  display: inline-flex;
  border: 1px solid var(--so-line);
}

.sks-outfit-seg-btn {
  padding: 8px 13px;
  background: var(--so-white);
  border: none;
  border-right: 1px solid var(--so-line);
  font-size: 12px;
  color: var(--so-ink-soft);
  cursor: pointer;
  font-family: inherit;
}

.sks-outfit-seg-btn:last-child {
  border-right: none;
}

.sks-outfit-seg-btn.on {
  background: var(--so-ink);
  color: #fff;
}

.sks-outfit-mf-empty {
  padding: 24px 20px;
  text-align: center;
  color: var(--so-ink-mid);
  font-size: 13px;
  margin: 0;
}

.sks-outfit-mf-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--so-line-soft);
}

.sks-outfit-mf-re {
  font-size: 12px;
  color: var(--so-ink-mid);
  margin: 0;
}

.sks-outfit-mf-re strong {
  color: var(--so-ink);
}

/* Measurement group sections (one per source product) */
.sks-outfit-mfg {
  padding: 6px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
}

.sks-outfit-mfg+.sks-outfit-mfg {
  border-top: 1px solid var(--so-line-soft);
}

.sks-outfit-mfg-t {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  margin: 18px 0 8px;
  padding: 8px 12px;
  color: var(--so-brand);
  background: var(--so-paper-warm);
  border-left: 3px solid var(--so-brand);
  border-radius: 0 4px 4px 0;
}

.sks-outfit-mfg-t span {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--so-ink-mid);
}

/* Individual measurement field — label on LEFT, input on RIGHT (same row);
   cm hint + error + addon stack below the input column. Collapses to single
   column under 640px. */
.sks-outfit-mfield {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 4px;
  column-gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--so-line-soft);
  align-items: start;
  min-width: 0;
}

.sks-outfit-mfg:last-child .sks-outfit-mfield:last-child {
  border-bottom: none;
}

/* Fabric swatch grid: full-width row, 6 swatches per row */
.sks-outfit-mfield--fabric { grid-column: 1 / -1; }
.sks-outfit-fabric-select { display: none !important; }
.sks-outfit-swatches {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 4px;
}
.sks-outfit-swatch {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: center;
  min-width: 0;
}
.sks-outfit-swatch-img {
  display: block;
  aspect-ratio: 1;
  border: 1px solid var(--so-line, #d8cfc0);
  background: #EDE6DA center/cover no-repeat;
  transition: box-shadow .15s, border-color .15s;
}
.sks-outfit-swatch:hover .sks-outfit-swatch-img { border-color: var(--so-accent, #b8520a); }
.sks-outfit-swatch.is-on .sks-outfit-swatch-img {
  border-color: var(--so-accent, #b8520a);
  box-shadow: 0 0 0 2px rgba(184, 82, 10, .35);
}
.sks-outfit-swatch-name {
  font-size: 11px;
  line-height: 1.25;
  color: var(--so-ink, #2c3e50);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sks-outfit-swatch.is-on .sks-outfit-swatch-name { font-weight: 600; }
.sks-outfit-swatch-price { font-size: 10.5px; color: var(--so-accent, #b8520a); }
@media (max-width: 640px) { .sks-outfit-swatches { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) { .sks-outfit-swatches { grid-template-columns: repeat(3, 1fr); } }

.sks-outfit-mfl {
  grid-column: 1;
  grid-row: 1;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 500;
  align-self: start;
  margin-bottom: 6px;
}

.sks-outfit-mfl small {
  font-family: 'Jost', sans-serif;
  color: var(--so-ink-faint);
  font-size: 12px;
  font-weight: 400;
}

.sks-outfit-mfi-wrap {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  display: flex;
  align-items: center;
}

.sks-outfit-mfi {
  width: 100%;
  padding: 11px 60px 11px 14px;
  /* right padding leaves room for unit suffix */
  border: 1px solid var(--so-line);
  background: var(--so-white);
  font-size: 16px;
  /* 16px prevents iOS zoom on focus */
  color: var(--so-ink);
  font-family: inherit;
}

.sks-outfit-mfi:focus,
.sks-outfit-mfi:focus-visible {
  outline: none;
  border-color: var(--so-brand);
  box-shadow: 0 0 0 1px var(--so-brand);
}

.sks-outfit-mfi.sks-outfit-mfi-invalid,
.sks-outfit-mfi-invalid {
  border-color: var(--so-crimson);
  background: rgba(90, 26, 46, 0.03);
}

.sks-outfit-mfi.sks-outfit-mfi-invalid:focus,
.sks-outfit-mfi.sks-outfit-mfi-invalid:focus-visible,
.sks-outfit-mfi-invalid:focus,
.sks-outfit-mfi-invalid:focus-visible {
  outline: none;
  border-color: var(--so-crimson);
  box-shadow: 0 0 0 1px var(--so-crimson);
}

.sks-outfit-mfi-sfx {
  position: absolute;
  right: 14px;
  color: var(--so-ink-mid);
  font-size: 13px;
  pointer-events: none;
}

.sks-outfit-mfi-cm {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  text-align: right;
  white-space: nowrap;
  font-size: 12px;
  color: var(--so-ink-faint);
  margin-top: 0;
  min-height: 16px;
}

.sks-outfit-mfi-error {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: 12.5px;
  color: var(--so-crimson);
  font-weight: 500;
}

.sks-outfit-mfi-error[hidden] {
  display: none;
}

/* Mobile: collapse the 2-column group to a single-column stack */
@media (max-width:640px) {
  .sks-outfit-mfg {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .sks-outfit-mfield {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .sks-outfit-mfl,
  .sks-outfit-mfi-wrap,
  .sks-outfit-mfi-cm,
  .sks-outfit-mfi-error {
    grid-column: 1;
    grid-row: auto;
  }

  .sks-outfit-mfl {
    margin-bottom: 6px;
    align-self: start;
  }
}

/* Empty state for summary lines when nothing's selected yet */
.sks-outfit-cfg-empty {
  font-size: 12px;
  color: var(--so-ink-mid);
  text-align: center;
  padding: 8px 0;
  font-style: italic;
}

/* ── Toast ────────────────────────────────────────────────────── */
.sks-outfit-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--so-ink);
  color: #fff;
  padding: 13px 20px;
  font-size: 13px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  border-radius: 4px;
  max-width: 90%;
}

.sks-outfit-toast.show {
  opacity: 1;
}

/* ── Empty / loading states ───────────────────────────────────── */
.sks-outfit-empty {
  padding: 30px;
  text-align: center;
  color: var(--so-ink-mid);
  font-size: 13px;
  background: var(--so-paper-warm);
  border: 1px dashed var(--so-line);
}

/* ── Hero ──────────────────────────────────────────────────────── */
.sks-outfit-hero {
  padding: 60px 0 52px;
  background: var(--so-paper);
}

@media (max-width:940px) {
  .sks-outfit-hero {
    padding: 36px 0;
  }
}

.sks-outfit-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width:940px) {
  .sks-outfit-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.sks-outfit-hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  margin: 14px 0 20px;
}

.sks-outfit-hero-h1 em {
  font-style: italic;
  color: var(--so-brand);
  font-weight: 400;
}

.sks-outfit-hero-sub {
  font-size: 18px;
  color: var(--so-ink-soft);
  max-width: 480px;
  margin: 0 0 26px;
}

.sks-outfit-hero-offer {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 18px;
  background: var(--so-paper-warm);
  border: 1px solid var(--so-line);
  margin-bottom: 24px;
}

.sks-outfit-hero-offer-from {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--so-ink-mid);
}

.sks-outfit-hero-offer-price {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--so-ink);
}

.sks-outfit-hero-offer-was {
  font-size: 13px;
  color: var(--so-ink-mid);
  text-decoration: line-through;
}

.sks-outfit-hero-offer-save {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--so-crimson);
  color: #fff;
  padding: 4px 9px;
}

.sks-outfit-hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sks-outfit-hero-proof {
  font-size: 13px;
  color: var(--so-ink-soft);
}

.sks-outfit-hero-proof p {
  margin: 0;
}

/* Live store rating: two stacked ★★★★★ layers, the filled one clipped to
   rating/5 by sks-jm-store-numbers.js. Both layers inherit font-size and
   letter-spacing from the button so the glyphs stay in register. Starts
   at width 0 — a failed fetch shows an empty rating, never a fake five. */
.sks-outfit-stars {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 1px;
  font-weight: 700;
}

.sks-outfit-stars-bg {
  color: rgba(122, 114, 107, 0.3);
}

.sks-outfit-stars-fg {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  overflow: hidden;
  color: var(--so-gold, #b8520a);
}

/* Popup trigger. Chrome-only reset — no font-size, so it keeps the 13px
   inherited from .sks-outfit-hero-proof and stays inline with the
   "Made in our workshops" copy that follows it. */
.sks-outfit-proof-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.sks-outfit-proof-btn:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sks-outfit-proof-btn:focus-visible {
  outline: 2px solid var(--so-gold, #b8520a);
  outline-offset: 3px;
  border-radius: 3px;
}

.sks-outfit-hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--so-line);
}

.sks-outfit-hero-stat b {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--so-ink);
  display: block;
}

.sks-outfit-hero-stat span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--so-ink-mid);
}

.sks-outfit-hero-visual {
  position: relative;
  aspect-ratio: 2/3;
  background: var(--so-white);
  border: 1px solid var(--so-line);
  padding: 14px;
  box-shadow: var(--so-sh-md);
}

.sks-outfit-hero-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--so-paper-warm);
}

.sks-outfit-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sks-outfit-hero-cap {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  background: rgba(30, 45, 59, 0.86);
  color: #fff;
  padding: 8px 13px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.sks-outfit-btn-ghost {
  background: transparent;
  color: var(--so-ink);
  border: 1px solid var(--so-ink);
}

.sks-outfit-btn-ghost:hover {
  background: var(--so-ink);
  color: #fff;
}

.sks-outfit-btn-dark {
  background: var(--so-ink);
  color: #fff;
}

.sks-outfit-btn-dark:hover {
  background: var(--so-brand);
}

/* ── Trust strip ──────────────────────────────────────────────── */
.sks-outfit-trust {
  background: var(--so-ink);
  color: #fff;
}

.sks-outfit-trust-row {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 0;
}

.sks-outfit-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: rgba(245, 240, 232, 0.85);
}

.sks-outfit-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--so-cream);
  flex-shrink: 0;
}

.sks-outfit-trust-item b {
  color: #fff;
  font-weight: 500;
}

/* ── Generic section scaffold (used by Includes/Timing/How/FAQ) ── */
.sks-outfit-section-alt {
  background: var(--so-paper-warm);
}

/* Includes ("Ten pieces") section — white background + top rule so the warm
   cards contrast, exactly like the kilt-outfits "Every piece" section
   (.sko-inc-wrap). The #id beats the .sks-outfit-section-alt warm bg above. */
#includes.sks-outfit-section-alt {
  background: var(--so-white);
  border-top: 1px solid var(--so-line);
}

@media (max-width:720px) {
  .sks-outfit-section {
    padding: 54px 0;
  }
}

/* ── Includes / value stack ──────────────────────────────────── */
.sks-outfit-inc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) { .sks-outfit-inc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px)  { .sks-outfit-inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .sks-outfit-inc-grid { grid-template-columns: 1fr; } }

/* "Show more / less" toggle for the includes grid (4 rows collapsed). */
.sks-outfit-inc-more-wrap {
  text-align: center;
  margin-top: 22px;
}
.sks-outfit-inc-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--so-ink);
  border: none;
  cursor: pointer;
  transition: all .18s;
}
.sks-outfit-inc-more:hover {
  background: var(--so-brand);
  color: #fff;
}

/* Compact horizontal card — matches the kilt-outfits "Every piece" grid:
   60x60 thumbnail on the left, name + (category · price) on the right. */
.sks-outfit-inc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--so-paper-warm);
  border: 1px solid var(--so-line);
  border-radius: 6px;
  transition: box-shadow 0.15s ease, transform 0.12s ease;
}
.sks-outfit-inc-item:hover {
  box-shadow: var(--so-sh-sm);
  transform: translateY(-1px);
}

.sks-outfit-inc-slot {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--so-line-soft);
}
.sks-outfit-inc-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 4px;
}
.sks-outfit-inc-ph {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(135deg, #f2ede4, #f2ede4 4px, #ece5d8 4px, #ece5d8 8px);
}

.sks-outfit-inc-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sks-outfit-inc-nm {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--so-ink);
  line-height: 1.25;
  overflow-wrap: break-word;
}
.sks-outfit-inc-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.sks-outfit-inc-sub {
  font-size: 11px;
  color: var(--so-ink-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sks-outfit-inc-pr {
  font-size: 14px;
  font-weight: 600;
  color: var(--so-brand);
  white-space: nowrap;
}

.sks-outfit-inc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--so-line);
  gap: 16px;
  flex-wrap: wrap;
}

/* When the merchant hasn't set a footer note (`.sks-outfit-inc-foot-l`
   is absent), center the standalone Build-Your-Outfit CTA button
   instead of letting `justify-content: space-between` push it to
   `flex-start` — which would leave the button orphaned on the left.
   Uses :has() for a CSS-only fix; supported in all evergreen browsers. */
.sks-outfit-inc-foot:not(:has(.sks-outfit-inc-foot-l)) {
  justify-content: center;
}

.sks-outfit-inc-foot-l {
  font-size: 14px;
  color: var(--so-ink-soft);
}

.sks-outfit-inc-foot-l p {
  margin: 0;
}

/* ── Timing / calculator (2-column: input | output) ─────────── */
.sks-outfit-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--so-line);
  background: var(--so-white);
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width:680px) {
  .sks-outfit-calc {
    grid-template-columns: 1fr;
  }
}

.sks-outfit-calc-in {
  padding: 30px;
  border-right: 1px solid var(--so-line);
}

@media (max-width:680px) {
  .sks-outfit-calc-in {
    border-right: none;
    border-bottom: 1px solid var(--so-line);
    padding: 24px;
  }
}

.sks-outfit-calc-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--so-ink-mid);
  margin-bottom: 9px;
}

.sks-outfit-calc-date {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--so-line);
  background: var(--so-paper-warm);
  font-size: 16px;
  /* 16px prevents iOS focus zoom */
  color: var(--so-ink);
  font-family: inherit;
}

.sks-outfit-calc-date:focus,
.sks-outfit-calc-date:focus-visible {
  outline: none;
  border-color: var(--so-brand);
  box-shadow: 0 0 0 1px var(--so-brand);
}

.sks-outfit-calc-tog {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.sks-outfit-calc-tog-btn {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--so-line);
  background: var(--so-white);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--so-ink-soft);
  cursor: pointer;
  font-family: inherit;
}

.sks-outfit-calc-tog-btn.on {
  background: var(--so-ink);
  color: #fff;
  border-color: var(--so-ink);
}

.sks-outfit-calc-out {
  padding: 30px;
  background: var(--so-paper-warm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width:680px) {
  .sks-outfit-calc-out {
    padding: 24px;
  }
}

.sks-outfit-calc-out-eb {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--so-ink-mid);
  margin-bottom: 6px;
}

.sks-outfit-calc-date-out {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 600;
  color: var(--so-brand);
  line-height: 1.05;
}

.sks-outfit-calc-note {
  font-size: 13px;
  color: var(--so-ink-soft);
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.5;
}

.sks-outfit-calc-note strong {
  color: var(--so-ink);
}

/* ── How it works ────────────────────────────────────────────── */
.sks-outfit-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.sks-outfit-how-step {
  background: var(--so-white);
  border: 1px solid var(--so-line);
  padding: 24px;
}

.sks-outfit-how-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--so-brand);
  margin-bottom: 8px;
}

.sks-outfit-how-step-h {
  font-size: 18px;
  margin: 0 0 8px;
}

.sks-outfit-how-step-p {
  font-size: 14px;
  color: var(--so-ink-soft);
  margin: 0;
  line-height: 1.55;
}

/* ── WHY section (dark) ──
   Mirrors the How-it-works 3-column grid but inverts colours for the
   "own-vs-hire" pitch. The cards become outlined frames over the dark
   background; numbers and titles stay legible against the deep ink. */
.sks-outfit-section--dark {
  background: var(--so-ink);
  color: rgba(245, 240, 232, 0.85);
}

.sks-outfit-section--dark .sks-outfit-shead .sks-outfit-eyebrow {
  color: var(--so-cream, #E8C9A8);
}

.sks-outfit-section--dark .sks-outfit-h2 {
  color: var(--so-paper);
}

.sks-outfit-section--dark .sks-outfit-h2 em {
  color: var(--so-cream, #E8C9A8);
}

.sks-outfit-section--dark .sks-outfit-shead p {
  color: rgba(245, 240, 232, 0.75);
}

.sks-outfit-section--dark .sks-outfit-how-step {
  background: transparent;
  border: 1px solid rgba(245, 240, 232, 0.18);
  border-top: 1px solid rgba(245, 240, 232, 0.4);
  border-left: none;
  border-right: none;
  border-bottom: none;
  padding: 18px 0 0;
}

.sks-outfit-section--dark .sks-outfit-how-step-num {
  color: var(--so-cream, #E8C9A8);
  font-size: 13px;
}

.sks-outfit-section--dark .sks-outfit-how-step-h {
  color: var(--so-paper);
}

.sks-outfit-section--dark .sks-outfit-how-step-p {
  color: rgba(245, 240, 232, 0.72);
}

/* ── CROSS-LINKS section ──
   Compact 3-column footer pointing to other outfit pages. Each card is
   a minimal text-only block with a brand-amber arrow + link. */
.sks-outfit-cross-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.sks-outfit-cross-card {
  border-top: 1px solid var(--so-ink);
  padding-top: 18px;
}

.sks-outfit-cross-card-arrow {
  font-size: 14px;
  color: var(--so-brand);
  font-weight: 600;
  margin-bottom: 8px;
}

.sks-outfit-cross-card-h {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  margin: 0 0 6px;
  color: var(--so-ink);
}

.sks-outfit-cross-card-p {
  font-size: 13px;
  color: var(--so-ink-soft);
  margin: 0 0 10px;
  line-height: 1.55;
}

.sks-outfit-cross-card-link {
  font-size: 13px;
  color: var(--so-brand);
  text-decoration: none;
  border-bottom: 1px solid var(--so-brand);
  padding-bottom: 2px;
}

.sks-outfit-cross-card-link:hover {
  color: var(--so-brand-deep);
  border-bottom-color: var(--so-brand-deep);
}

/* ── FINAL CTA section ──
   Dark closing CTA, full-width, centered. Selectors use double class
   selectors (`.sks-outfit-final .sks-outfit-final-h2`) to beat the
   global `.sks-outfit h2 { color: var(--so-ink) }` cascade which
   would otherwise paint the heading dark on the navy background. */
.sks-outfit-final {
  background: var(--so-navy, #1E2D3B);
  color: var(--so-paper);
  text-align: center;
  padding: 76px 0;
}

.sks-outfit-final .sks-outfit-final-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--so-paper);
  margin: 0 0 14px;
}

.sks-outfit-final .sks-outfit-final-h2 em {
  font-style: italic;
  color: var(--so-cream, #E8C9A8);
}

.sks-outfit-final .sks-outfit-final-sub {
  font-size: 16px;
  color: rgba(245, 240, 232, 0.85);
  max-width: 540px;
  margin: 0 auto 26px;
}

.sks-outfit-final .sks-outfit-final-cta {
  background: var(--so-paper);
  color: var(--so-brand);
}

.sks-outfit-final .sks-outfit-final-cta:hover {
  background: var(--so-cream, #E8C9A8);
  color: var(--so-ink);
}

/* Force the em styling on the cross-link and final-CTA headings to
   inherit the brand-italic emphasis pattern even when the heading sits
   inside a section that has its own background colour rules. The global
   `.sks-outfit-h2 em` is (0,1,1) — when an enclosing section rule wins
   first, the em inside falls back to inheriting; this rule re-asserts. */
.sks-outfit-cross .sks-outfit-h2 em {
  font-style: italic;
  color: var(--so-brand);
}

/* ════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE POLISH
   ════════════════════════════════════════════════════════════════ */

/* Tablet ≤ 980px — configurator + hero already collapse via earlier rules.
   Tighten spacing + step pip labels. */
@media (max-width:980px) {
  .sks-outfit-cfg-wrap {
    padding: 56px 0;
  }

  .sks-outfit-cfg-preview {
    margin-bottom: 20px;
  }

  .sks-outfit-step-pip-label {
    font-size: 10.5px;
  }

  .sks-outfit-step-pip-label b {
    margin-right: 3px;
  }
}

/* Small tablet ≤ 720px */
@media (max-width:720px) {
  .sks-outfit-cfg-wrap {
    padding: 40px 0;
  }

  .sks-outfit-section {
    padding: 44px 0;
  }

  .sks-outfit-shead {
    margin-bottom: 28px;
  }

  /* Hero CTAs become full-width stack */
  .sks-outfit-hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .sks-outfit-hero-ctas .sks-outfit-btn {
    width: 100%;
    padding: 14px 20px;
  }

  /* Hero stats — smaller, tighter, kept on one line */
  .sks-outfit-hero-stats {
    gap: 12px;
    margin-top: 22px;
    padding-top: 20px;
    flex-wrap: nowrap;
  }

  .sks-outfit-hero-stat {
    flex: 1 1 0;
    min-width: 0;
  }

  .sks-outfit-hero-stat b {
    font-size: 22px;
  }

  /* Hero offer card */
  .sks-outfit-hero-offer {
    padding: 10px 14px;
    gap: 8px;
  }

  .sks-outfit-hero-offer-price {
    font-size: 28px;
  }

  /* Stepper — wrap labels, smaller text */
  .sks-outfit-stepper {
    padding: 8px 0;
    gap: 4px;
  }

  .sks-outfit-step-pip {
    padding: 4px 1px;
  }

  .sks-outfit-step-pip-label {
    font-size: 10px;
    line-height: 1.25;
  }

  /* Tartan grid — 3 cols */
  .sks-outfit-tartan-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  /* Option rows — tighter padding */
  .sks-outfit-opt {
    padding: 10px 12px;
    gap: 10px;
  }

  .sks-outfit-opt-thumb {
    width: 64px;
    height: 64px;
  }

  .sks-outfit-opt-nm {
    font-size: 14px;
  }

  /* Includes grid columns handled by the 1100/800/640 rules near the top
     (fixed 4→3→2→1, matching the kilt-outfits "Every piece" grid). */

  .sks-outfit-inc-nm {
    font-size: 14px;
  }

  .sks-outfit-inc-sub {
    font-size: 11.5px;
  }

  /* How grid — single column */
  .sks-outfit-how-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sks-outfit-how-step {
    padding: 20px;
  }

  .sks-outfit-how-step-num {
    font-size: 26px;
  }

  /* FAQ — slightly tighter */
  .sks-outfit-faq-q {
    padding: 14px 4px;
    font-size: 16px;
    gap: 14px;
  }

  .sks-outfit-faq-a-inner {
    font-size: 14px;
  }
}

/* Mobile ≤ 560px — final tightening */
@media (max-width:560px) {
  .sks-outfit {
    font-size: 15px;
  }

  .sks-outfit-cfg-wrap {
    padding: 28px 0;
  }

  .sks-outfit-section {
    padding: 36px 0;
  }

  /* Hero — adjust headline, image proportions */
  .sks-outfit-hero {
    padding: 28px 0 32px;
  }

  .sks-outfit-hero-grid {
    gap: 24px;
  }

  .sks-outfit-hero-h1 {
    font-size: clamp(28px, 7vw, 38px);
    margin: 10px 0 14px;
  }

  .sks-outfit-hero-sub {
    font-size: 16px;
    margin-bottom: 18px;
  }

  /* Keep the hero image portrait on mobile (3:4 — mild portrait) so
     the model / product photo displays with its intended full-body
     framing. Previous 4:3 landscape was cropping heads/feet on typical
     product shots, making the frame look square/awkward on phones. */
  .sks-outfit-hero-visual {
    aspect-ratio: 3/4;
    max-height: 70vh;
  }

  /* Trust strip — wrap items */
  .sks-outfit-trust-row {
    padding: 14px 0;
    gap: 12px;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }

  .sks-outfit-trust-item {
    font-size: 12px;
  }

  /* Configurator look (summary panel) — full width, square preview */
  .sks-outfit-cfg-render {
    aspect-ratio: 1/1;
  }

  .sks-outfit-cfg-cta {
    width: calc(100% - 28px);
    margin: 4px 14px 12px;
    padding: 14px 18px;
    font-size: 12px;
  }

  .sks-outfit-cfg-mini {
    padding: 0 14px 14px;
  }

  .sks-outfit-cfg-look-head,
  .sks-outfit-cfg-lines,
  .sks-outfit-cfg-totals,
  .sks-outfit-cfg-save {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Stepper labels — show only step number on very narrow screens */
  .sks-outfit-step-pip-label {
    font-size: 9.5px;
  }

  /* Tartan grid — 2 cols */
  .sks-outfit-tartan-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  /* Section heading sizes */
  .sks-outfit-h2 {
    font-size: clamp(22px, 6vw, 30px);
  }

  /* Browse-all tartan modal */
  .sks-outfit-tartan-modal-head {
    padding: 14px 16px;
  }

  .sks-outfit-tartan-modal-head h3 {
    font-size: 18px;
  }

  .sks-outfit-tartan-modal-toolbar {
    padding: 10px 16px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .sks-outfit-tartan-modal-search {
    font-size: 16px;
    padding: 10px 12px;
  }
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.sks-outfit-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.sks-outfit-faq-i {
  border-bottom: 1px solid var(--so-line);
}

.sks-outfit-faq-i:first-child {
  border-top: 1px solid var(--so-line);
}

.sks-outfit-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 4px;
  background: none;
  border: none;
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  color: var(--so-ink);
  cursor: pointer;
}

.sks-outfit-faq-q:hover {
  color: var(--so-brand);
}

.sks-outfit-faq-tog {
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--so-ink-mid);
  transition: transform .2s;
  flex-shrink: 0;
}

.sks-outfit-faq-i.open .sks-outfit-faq-tog {
  transform: rotate(45deg);
  color: var(--so-brand);
}

.sks-outfit-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.sks-outfit-faq-i.open .sks-outfit-faq-a {
  max-height: 800px;
}

.sks-outfit-faq-a-inner {
  padding: 0 4px 18px;
  font-size: 14.5px;
  color: var(--so-ink-soft);
  line-height: 1.6;
}

.sks-outfit-faq-a-inner p {
  margin: 0 0 10px;
}

.sks-outfit-faq-a-inner p:last-child {
  margin-bottom: 0;
}

/* ── Browse-all tartan modal ──────────────────────────────────── */
body.sks-outfit-modal-open {
  overflow: hidden;
}

.sks-outfit-tartan-modal-ov[hidden],
.sks-outfit-tartan-modal[hidden] {
  display: none;
}

/* The modal element IS the backdrop — full-viewport blurred dark layer.
   Its inner child is the content box. Clicking the backdrop area
   (not the inner box) closes the modal — handled in JS. */
.sks-outfit-tartan-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 20px;
  background: rgba(15, 22, 35, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  /* signal that clicking the backdrop will close */
}

.sks-outfit-tartan-modal-inner {
  background: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  height: 90vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border-radius: 4px;
  overflow: hidden;
  cursor: default;
  /* override the modal's pointer cursor */
}

@media (max-width:720px) {
  .sks-outfit-tartan-modal {
    padding: 0;
  }

  .sks-outfit-tartan-modal-inner {
    height: 100vh;
    max-height: 100vh;
    max-width: none;
    border-radius: 0;
  }
}

/* HEAD — title + circular close */
.sks-outfit-tartan-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--so-line);
}

.sks-outfit-tartan-modal-head-info {
  flex: 1;
  min-width: 0;
}

.sks-outfit-tartan-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--so-ink);
  letter-spacing: -0.01em;
}

.sks-outfit-tartan-modal-title em {
  font-style: normal;
  color: var(--so-brand);
  font-weight: 400;
}

.sks-outfit-tartan-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--so-paper);
  color: var(--so-ink);
  border: 1px solid var(--so-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
  font-family: inherit;
  padding: 0;
}

.sks-outfit-tartan-modal-close:hover {
  background: var(--so-brand);
  border-color: var(--so-brand);
  color: #fff;
}

/* SEARCH — icon + cream input */
.sks-outfit-tartan-modal-search {
  padding: 16px 28px 12px;
  position: relative;
}

.sks-outfit-tartan-modal-search input {
  width: 100%;
  background: var(--so-paper);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 14px 13px 42px;
  font-family: inherit;
  font-size: 14px;
  color: var(--so-ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.sks-outfit-tartan-modal-search input::placeholder {
  color: var(--so-ink-mid);
}

.sks-outfit-tartan-modal-search input:focus,
.sks-outfit-tartan-modal-search input:focus-visible {
  outline: none;
  background: #fff;
  border-color: var(--so-brand);
  box-shadow: 0 0 0 3px rgba(184, 82, 10, 0.1);
}

.sks-outfit-tartan-modal-search-icon {
  position: absolute;
  left: 42px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--so-ink-mid);
  pointer-events: none;
}

/* TOOLBAR — just the view-toggle, right-aligned */
.sks-outfit-tartan-modal-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 6px 28px 10px;
}

.sks-outfit-tartan-modal-grid {
  flex: 1;
  overflow-y: auto;
  align-content: start;
  position: relative;
  /* makes letter-head offsetTop measure from container, not body */
}

/* GRID view — card grid with letter heads spanning full width */
.sks-outfit-tartan-modal-grid.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  padding: 14px 24px 20px;
}

.sks-outfit-tartan-modal-grid.is-grid .sks-outfit-modal-letter-head {
  grid-column: 1 / -1;
  margin: 8px -24px 0;
  /* counter-act the grid's horizontal padding so the head spans full width */
}

@media (max-width:520px) {
  .sks-outfit-tartan-modal-grid.is-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    padding: 10px 16px 14px;
  }

  .sks-outfit-tartan-modal-grid.is-grid .sks-outfit-modal-letter-head {
    margin: 4px -16px 0;
  }
}

/* LIST view — vertical stack of compact rows; rows own their padding */
.sks-outfit-tartan-modal-grid.is-list {
  display: block;
  padding: 0;
}

.sks-outfit-tartan-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 12px 28px;
  background: #fff;
  border: none;
  border-bottom: 1px solid var(--so-line-soft);
  margin: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
  position: relative;
}

.sks-outfit-tartan-row:hover {
  background: rgba(184, 82, 10, 0.05);
}

.sks-outfit-tartan-row.sel {
  background: rgba(184, 82, 10, 0.08);
  box-shadow: inset 3px 0 0 var(--so-brand);
}

.sks-outfit-tartan-row-sw {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 4px;
  border: 1px solid var(--so-line);
  background: var(--so-paper-deeper);
  overflow: hidden;
  flex-shrink: 0;
}

.sks-outfit-tartan-row-sw img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sks-outfit-tartan-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sks-outfit-tartan-row-nm {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--so-ink);
  line-height: 1.25;
}

.sks-outfit-tartan-row-mt {
  font-size: 12px;
  color: var(--so-ink-mid);
  line-height: 1.3;
}

.sks-outfit-tartan-row-chip {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--so-paper);
  color: var(--so-ink-mid);
  padding: 3px 7px;
  border-radius: 3px;
  margin-top: 2px;
  align-self: flex-start;
  font-weight: 600;
}

.sks-outfit-tartan-row-pr {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--so-brand);
  white-space: nowrap;
  flex-shrink: 0;
}

/* PREVIEW button — eye-icon + label, matches product-page modal */
.sks-outfit-tartan-row-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: 4px;
  color: var(--so-ink);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, color .15s, border-color .15s;
}

.sks-outfit-tartan-row-preview:hover {
  background: var(--so-brand);
  border-color: var(--so-brand);
  color: #fff;
}

.sks-outfit-tartan-row-preview svg {
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .sks-outfit-tartan-row {
    padding: 10px 14px;
    gap: 10px;
  }

  .sks-outfit-tartan-row-preview {
    padding: 6px 10px;
    font-size: 10px;
  }

  .sks-outfit-tartan-row-pr {
    font-size: 13px;
  }
}

/* Letter heads — Playfair brand-orange italic, sticky on top of scroll list */
.sks-outfit-modal-letter-head {
  padding: 10px 28px 8px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  color: var(--so-brand);
  border-top: 1px solid var(--so-line-soft);
  border-bottom: 1px solid var(--so-line-soft);
  background: var(--so-paper);
  position: sticky;
  top: 0;
  z-index: 2;
  scroll-margin-top: 0;
}

.sks-outfit-modal-letter-head:first-child {
  border-top: none;
}

/* Letter heads in grid view span full row */
.sks-outfit-tartan-modal-grid.is-grid .sks-outfit-modal-letter-head {
  grid-column: 1 / -1;
  border-radius: 0;
  margin: 0 -24px;
}

/* Alphabet bar — transparent letters, just text + brand-color hover */
.sks-outfit-tartan-modal-alphabet {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 28px;
  border-bottom: 1px solid var(--so-line);
  background: var(--so-paper);
}

@media (max-width:520px) {
  .sks-outfit-tartan-modal-alphabet {
    padding: 8px 14px;
    gap: 4px;
  }
}

.sks-outfit-modal-letter {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: none;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--so-ink);
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: color .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sks-outfit-modal-letter:hover:not(:disabled),
.sks-outfit-modal-letter:focus-visible:not(:disabled) {
  color: var(--so-brand);
  outline: none;
  background: transparent;
}

.sks-outfit-modal-letter.is-active {
  color: var(--so-brand);
}

.sks-outfit-modal-letter:disabled,
.sks-outfit-modal-letter.is-disabled {
  opacity: 0.25;
  cursor: default;
}

/* View toggle (list / grid) — flat 2-button bordered group */
.sks-outfit-tartan-modal-views {
  display: inline-flex;
  border: 1px solid var(--so-line);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.sks-outfit-tartan-modal-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--so-white);
  border: none;
  color: var(--so-ink-mid);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: background .15s, color .15s;
}

.sks-outfit-tartan-modal-view-btn:not(:last-child) {
  border-right: 1px solid var(--so-line);
}

.sks-outfit-tartan-modal-view-btn:hover {
  background: var(--so-paper);
  color: var(--so-ink);
}

.sks-outfit-tartan-modal-view-btn.active {
  background: var(--so-brand);
  color: #fff;
}

.sks-outfit-tartan-modal-view-btn svg {
  flex-shrink: 0;
}

/* FOOTER */
.sks-outfit-tartan-modal-foot {
  padding: 12px 28px;
  border-top: 1px solid var(--so-line);
  background: var(--so-paper);
  font-size: 12px;
  color: var(--so-ink-mid);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sks-outfit-tartan-modal-foot strong {
  color: var(--so-ink);
}

.sks-outfit-tartan-modal-foot-r a {
  color: var(--so-brand);
  font-weight: 500;
  text-decoration: none;
}

.sks-outfit-tartan-modal-foot-r a:hover {
  text-decoration: underline;
}

/* ── Mobile sticky checkout bar ────────────────────────────────
   Hidden on desktop; fixed to the bottom on phones so the live
   total + checkout button stay reachable while the customer
   scrolls through the build steps. */
.sks-outfit-stickybar {
  display: none;
}

@media (max-width: 980px) {
  .sks-outfit-stickybar {
    display: flex;
    align-items: center;
    gap: 14px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--so-white);
    border-top: 1px solid var(--so-line);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.10);
  }

  .sks-outfit-stickybar-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: none;
  }

  .sks-outfit-stickybar-label {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--so-ink-mid);
    font-weight: 600;
  }

  .sks-outfit-stickybar-price strong {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--so-brand);
  }

  .sks-outfit-stickybar-cta {
    flex: 1;
    padding: 15px 18px;
    font-size: 13px;
  }

  /* Keep page content clear of the fixed bar. */
  .sks-outfit-cfg-wrap {
    padding-bottom: 96px;
  }

  /* The global back-to-top button sits in the bottom-left corner and would
     overlap the sticky bar's price — hide it while the outfit builder (with
     its own bottom bar) is on screen. */
  body.sks-outfit-active .sks-back-to-top {
    display: none !important;
  }
}