.customizer-page {
  background: var(--color-bg);
  color: var(--color-text);
}

.customizer-main { overflow: clip; }
.customizer-intro { padding: clamp(2rem, 5vw, 4.5rem) 0 var(--space-xl); }
.customizer-intro .container { max-width: 1200px; }
.customizer-intro h1 { max-width: none; margin-bottom: 1.25rem; font-size: var(--type-page); line-height: 1.08; letter-spacing: -.04em; }
.customizer-intro p:last-child { max-width: 650px; margin-bottom: 0; color: var(--color-text-muted); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.customizer-back-link { display: inline-flex; margin-bottom: var(--space-lg); color: var(--color-text-muted); font-size: .9rem; font-weight: 650; }
.customizer-back-link:hover { color: var(--color-accent); }
.customizer-workspace { padding-bottom: clamp(4rem, 8vw, 7rem); }
.customizer-workspace > .container { max-width: 1320px; }

.customizer-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: min(100%, 760px);
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--color-border);
}
.customizer-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 52px;
  padding: 0 .8rem 0 0;
  color: var(--color-text-muted);
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
}
.customizer-steps li::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; }
.customizer-steps li span { font-size: .72rem; opacity: .72; }
.customizer-steps li.is-active { color: var(--color-accent); }
.customizer-steps li.is-active::after { background: var(--color-accent); }

.customizer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}
.customizer-preview-column { min-width: 0; }
.customizer-preview-column[hidden] { display: none !important; }
.customizer-preview-card { position: sticky; top: calc(var(--header-height) + 24px); }

.customizer-side-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  width: min(100%, 430px);
  margin: 0 auto .85rem;
}
.customizer-side-switch button {
  display: inline-flex;
  min-height: 46px;
  padding: .65rem 1rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text-strong);
  font: inherit;
  font-size: .88rem;
  font-weight: 750;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.customizer-side-switch button:hover { border-color: var(--color-accent); }
.customizer-side-switch button.is-active { border-color: var(--color-accent); background: var(--color-accent); color: #fff; }
.customizer-side-switch button small {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--color-text-muted);
  font-size: .68rem;
  font-weight: 700;
}
.customizer-side-switch button small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #a8afac; }
.customizer-side-switch button.is-active small { color: rgba(255,255,255,.78); }
.customizer-side-switch button.is-active small::before { background: rgba(255,255,255,.62); }
.customizer-side-switch button small[hidden] { display: none; }

.customizer-mobile-side-nav { display: none; }
.customizer-mobile-side-nav[hidden] { display: none !important; }
.customizer-mobile-sleeve-switch[hidden] { display: none !important; }
.customizer-mobile-side-main,
.customizer-mobile-sleeve-switch { display: grid; gap: .45rem; }
.customizer-mobile-side-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.customizer-mobile-sleeve-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .45rem; }
.customizer-mobile-side-nav button {
  min-width: 0;
  min-height: 42px;
  padding: .55rem .45rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text-strong);
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
}
.customizer-mobile-side-nav button.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}

.customizer-preview {
  position: relative;
  width: min(100%, 720px);
  margin-inline: auto;
  aspect-ratio: 6 / 7;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #f5f5f2;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.customizer-shirt { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.customizer-shirt-svg { overflow: hidden; }
.customizer-shirt-svg svg { width: 100% !important; height: 100% !important; }
.customizer-mockup-placeholder { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; gap: .35rem; padding: var(--space-lg); text-align: center; color: var(--color-text-muted); background: linear-gradient(145deg, #f7f7f5, #ecece8); }
.customizer-mockup-placeholder[hidden] { display: none; }
.customizer-mockup-placeholder strong { color: var(--color-text-strong); }
.customizer-print-area { position: absolute; z-index: 2; overflow: hidden; border: 0; border-color: rgba(18, 63, 55, .48); touch-action: none; }
.customizer-print-area::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  box-sizing: border-box;
  border: 1px dashed;
  border-color: inherit;
  pointer-events: none;
}
.customizer-design { position: absolute; left: 50%; top: 50%; max-width: none; user-select: none; -webkit-user-drag: none; cursor: grab; transform-origin: center; touch-action: none; }
.customizer-design:active { cursor: grabbing; }
.customizer-design[hidden] { display: none; }
.customizer-preview-hint { width: min(100%, 720px); margin: .65rem auto 0; color: var(--color-text-muted); font-size: .78rem; text-align: center; }
.customizer-mobile-drag-hint { margin-top: .3rem; }

.customizer-controls { min-width: 0; padding: clamp(1.35rem, 3vw, 2.25rem); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-card); }
.customizer-step-panel[hidden] { display: none; }
.customizer-step-panel h2 { margin-bottom: var(--space-sm); font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -.035em; }
.customizer-step-panel > p:not(.step-kicker):not(.customizer-error) { color: var(--color-text-muted); }
.step-kicker { margin-bottom: .55rem; color: var(--color-accent); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.customizer-fieldset { margin: 0; padding: var(--space-lg) 0 0; border: 0; }
.customizer-fieldset + .customizer-fieldset { margin-top: var(--space-md); border-top: 1px solid var(--color-border); }
.customizer-fieldset legend, .scale-control label { margin-bottom: .75rem; color: var(--color-text-strong); font-size: .88rem; font-weight: 750; }
.customizer-product-info { margin-top: .9rem; padding: 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); }
.customizer-product-quick {
  margin: .38rem 0 0;
  color: var(--color-text-muted);
  font-size: .76rem;
  font-weight: 650;
  line-height: 1.4;
}
.customizer-product-details > p { margin: .55rem 0 0; color: var(--color-text-muted); font-size: .82rem; line-height: 1.55; }
.customizer-disclosure-toggle,
.customizer-info-toggle {
  border: 0;
  background: transparent;
  color: var(--color-accent);
  font: inherit;
  font-size: .75rem;
  font-weight: 750;
  cursor: pointer;
}
.customizer-disclosure-toggle { padding: .45rem 0 0; }
.customizer-info-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .6rem;
  padding: .62rem .1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-strong);
  text-align: left;
}
.customizer-product-info-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.customizer-product-info-head strong { color: var(--color-text-strong); font-size: .95rem; }
.customizer-product-info-head span { color: var(--color-text-muted); font-size: .76rem; font-weight: 700; }
.customizer-product-details > p { margin: .55rem 0 0; color: var(--color-text-muted); font-size: .82rem; line-height: 1.55; }
.customizer-product-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin: .9rem 0 0;
}
.customizer-product-stats .product-stat {
  min-width: 0;
  padding: .75rem .8rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
}
.customizer-product-stats dt,
.customizer-product-stats dd {
  margin: 0;
}
.customizer-product-stats dt {
  margin-bottom: .28rem;
  color: var(--color-text-muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.customizer-product-stats dd {
  color: var(--color-text-strong);
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
}
.customizer-product-stats .product-stat:nth-child(2) dd,
.customizer-product-stats .product-stat:nth-child(3) dd {
  font-size: .95rem;
}
.customizer-color-catalog {
  display: flex;
  align-items: center;
  margin-top: .55rem;
  padding-top: .55rem;
  border-top: 1px solid var(--color-border);
  font-size: .76rem;
}
.customizer-color-catalog a {
  color: var(--color-accent);
  font-weight: 750;
  text-decoration: none;
}
.customizer-color-catalog a:hover { text-decoration: underline; text-underline-offset: 3px; }
.swatch-group, .size-options, .customizer-tool-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.color-swatch, .size-options button {
  min-height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.color-swatch:hover, .size-options button:hover { border-color: var(--color-accent); }
.color-swatch:focus-visible, .size-options button:focus-visible, .customizer-side-switch button:focus-visible, .position-presets button:focus-visible, .upload-zone-label:focus-visible, .text-action:focus-visible, .customizer-navigation button:focus-visible, .customizer-submit:focus-visible, .customizer-whatsapp:focus-visible { outline: 3px solid rgba(18, 63, 55, .2); outline-offset: 3px; }
.color-swatch { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem 1rem; }
.color-swatch-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.color-swatch-code { margin-left: auto; color: var(--color-text-muted); font-size: .72rem; font-weight: 650; line-height: 1; }
.color-swatch.is-active .color-swatch-code { color: currentColor; opacity: .72; }
.swatch { width: 22px; height: 22px; flex: 0 0 22px; border: 1px solid rgba(0, 0, 0, .15); border-radius: 50%; }
.swatch-white { background: #fff; }
.swatch-black { background: #151515; }
.color-swatch.is-active, .size-options button.is-active { border-color: var(--color-accent); background: var(--color-accent-soft); color: var(--color-accent); }
.customizer-selected-color {
  margin: .55rem 0 0;
  color: var(--color-text-muted);
  font-size: .76rem;
  line-height: 1.35;
}
.customizer-selected-color::first-letter { color: inherit; }
.size-options button { min-width: 52px; padding-inline: .9rem; }

.size-choice-help {
  margin: 0 0 .5rem;
  color: var(--color-text-muted);
  font-size: .74rem;
}
.size-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .45rem;
}
.size-choice-grid button {
  min-width: 0;
  min-height: 40px;
  padding: .42rem .3rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-strong);
  font: inherit;
  font-size: .75rem;
  font-weight: 750;
  line-height: 1.15;
  cursor: pointer;
}
.size-choice-grid button.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.size-choice-grid.is-kids-sizes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.size-selected-quantities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  margin-top: .55rem;
}
.size-selected-quantities[hidden] { display: none !important; }
.size-selected-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .42rem .45rem .42rem .65rem;
  border: 1px solid var(--color-accent);
  border-radius: 12px;
  background: var(--color-accent-soft);
}
.size-selected-label {
  min-width: 0;
  color: var(--color-text-strong);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
}
.size-stepper {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 28px 36px 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
}
.size-stepper button,
.size-stepper input {
  width: 100%;
  height: 30px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-strong);
  font: inherit;
  text-align: center;
}
.size-stepper button {
  padding: 0;
  font-size: 1rem;
  font-weight: 750;
  cursor: pointer;
}
.size-stepper input {
  padding: 0;
  appearance: textfield;
  -moz-appearance: textfield;
  font-size: .74rem;
  font-weight: 800;
}
.size-stepper input::-webkit-outer-spin-button,
.size-stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.size-quantity-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: .65rem;
}
.size-quantity-total {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  color: var(--color-text-muted);
  font-size: .76rem;
}
.size-quantity-total strong {
  color: var(--color-text-strong);
  font-size: .9rem;
}
.customizer-order-info,
.customizer-price-note {
  display: grid;
  gap: .2rem;
  margin-top: .15rem;
  padding: .65rem .75rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg);
}
.customizer-order-info[hidden] { display: none !important; }
.customizer-order-info strong,
.customizer-price-note strong {
  color: var(--color-text-strong);
  font-size: .78rem;
}
.customizer-order-info span,
.customizer-price-note span {
  color: var(--color-text-muted);
  font-size: .73rem;
  line-height: 1.45;
}
.customizer-summary-quantities {
  margin: -.15rem 0 .7rem;
  padding: .5rem .65rem;
  border-radius: 10px;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: .76rem;
  line-height: 1.45;
}
.customizer-price-note { margin: .9rem 0 0; }

.customizer-side-file { margin-top: var(--space-lg); }
.customizer-side-file-label { margin: 0 0 .65rem; color: var(--color-text-strong); font-size: .9rem; }
.upload-zone { margin-top: 0; border: 1.5px dashed rgba(18, 63, 55, .38); border-radius: var(--radius-md); background: var(--color-bg); transition: border-color var(--transition), background var(--transition); }
.upload-zone[hidden] { display: none; }
.upload-zone.is-dragging { border-color: var(--color-accent); background: var(--color-accent-soft); }
.upload-zone-label { display: flex; min-height: 170px; padding: var(--space-lg); flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center; cursor: pointer; }
.upload-zone-label strong { color: var(--color-text-strong); }
.upload-zone-label span:last-child { color: var(--color-text-muted); font-size: .82rem; }
.upload-icon { display: grid; width: 44px; height: 44px; margin-bottom: .35rem; place-items: center; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent); font-size: 1.2rem; font-weight: 800; }
.upload-file-name { margin: 0; color: var(--color-text); font-size: .84rem; font-weight: 700; overflow-wrap: anywhere; }
.customizer-file-actions { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: .6rem; align-items: center; margin-top: .7rem; padding: .75rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); }
.customizer-file-actions[hidden] { display: none; }
.customizer-file-actions .button { min-height: 42px; padding: .55rem .9rem; }
.customizer-error { min-height: 1.25em; margin: .55rem 0 0; color: #9c2f27; font-size: .82rem; font-weight: 650; }

.customizer-library { margin-top: var(--space-md); }
.customizer-library-list {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding-bottom: .3rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.customizer-library-list::-webkit-scrollbar { display: none; }
.customizer-library-item { position: relative; width: 56px; flex: 0 0 auto; scroll-snap-align: start; }
.customizer-library-select {
  width: 56px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
}
.customizer-library-select[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--color-accent); }
.customizer-library-select img { width: 100%; height: 100%; object-fit: contain; }
.customizer-library-vector { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: var(--color-bg); color: var(--color-text-muted); font-size: 11px; font-weight: 750; }
.customizer-library-name { display: block; max-width: 56px; margin-top: .25rem; overflow: hidden; color: var(--color-text-muted); font-size: 11px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.customizer-library-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  display: flex;
  width: 18px;
  height: 18px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text-strong);
  font: inherit;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}
.customizer-library-remove::before { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.customizer-library-select:focus-visible, .customizer-library-remove:focus-visible { outline: 3px solid rgba(18, 63, 55, .25); outline-offset: 2px; }
.customizer-library-limit { margin: .5rem 0 0; color: #c2410c; font-size: 13px; }

.position-presets {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.position-presets button {
  min-height: 42px;
  padding: .58rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text-muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.position-presets button:hover { border-color: var(--color-accent); color: var(--color-accent); }
.position-presets button.is-active { border-color: var(--color-accent); background: var(--color-accent); color: #fff; }

.scale-control { margin-top: var(--space-lg); }
.scale-control label { display: block; }
.scale-control input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--color-accent); cursor: pointer; }
.print-size-info { display: grid; gap: .25rem; margin-top: .55rem; }
.print-size-info p { margin: 0; }
[data-print-size] { color: var(--color-text-strong); font-size: .88rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.print-limit-warning { color: #c66a16; font-size: 13px; font-weight: 650; }

.customizer-tool-actions { align-items: center; margin-top: var(--space-md); }
.text-action { min-height: 42px; padding: .55rem .25rem; border: 0; background: transparent; color: var(--color-text-muted); font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; }
.text-action:hover { color: #9c2f27; }

.customizer-navigation { display: flex; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-border); }
.customizer-navigation .button { min-width: 118px; min-height: 50px; }
.customizer-navigation button:disabled, .customizer-submit:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }

.customizer-summary { margin-top: var(--space-lg); padding: var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); }
.customizer-summary h3 { margin-bottom: var(--space-md); font-size: 1rem; }
.customizer-summary-mockups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.customizer-summary-mockups figure { margin: 0; padding: .65rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; }
.customizer-summary-mockups figcaption { margin-top: .45rem; color: var(--color-text-strong); font-size: .78rem; font-weight: 750; text-align: center; }
.customizer-final-preview { display: block; width: 100%; height: auto; margin: 0; aspect-ratio: 6 / 7; object-fit: contain; border-radius: 12px; background: #f4f4f1; }
.customizer-summary dl { display: grid; gap: .55rem; margin: var(--space-md) 0 0; }
.customizer-summary dl > div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--color-border); }
.customizer-summary dt { color: var(--color-text-muted); font-size: .82rem; }
.customizer-summary dd { margin: 0; color: var(--color-text-strong); font-size: .82rem; font-weight: 750; text-align: right; }

.customizer-form { margin-top: var(--space-xl); }
.customizer-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.customizer-form-fields label { display: grid; gap: .5rem; }
.customizer-form-fields label > span { color: var(--color-text-strong); font-size: .84rem; font-weight: 700; }
.customizer-form-fields input, .customizer-form-fields textarea { width: 100%; min-height: 48px; padding: .8rem .9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; color: var(--color-text); font: inherit; }
.customizer-form-fields textarea { min-height: 110px; resize: vertical; }
.customizer-form-fields input:focus, .customizer-form-fields textarea:focus { outline: 2px solid rgba(18, 63, 55, .18); outline-offset: 1px; border-color: var(--color-accent); }
.customizer-form-fields .field-full { grid-column: 1 / -1; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.customizer-attachment, [data-original-attachments] { display: none; }
.customizer-submit { width: 100%; min-height: 50px; margin-top: var(--space-md); }
.customizer-whatsapp { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 50px; margin-top: var(--space-md); padding: .8rem 1.5rem; border: 1px solid var(--color-accent); border-radius: 999px; background: transparent; color: var(--color-accent); font-size: .9rem; font-weight: 750; line-height: 1.2; transition: transform var(--transition),background var(--transition),color var(--transition),border-color var(--transition); }
.customizer-whatsapp:hover { transform: translateY(-2px); background: var(--color-accent-soft); color: var(--color-accent); }
#debugMockup { margin-top: var(--space-md); }
#debugMockup[hidden] { display: none !important; }
.customizer-success { padding: var(--space-lg) 0; }
.customizer-success h2 { max-width: 14ch; margin-bottom: var(--space-sm); }
.customizer-success > p:not(.eyebrow) { color: var(--color-text-muted); }
.customizer-success .button { margin-top: var(--space-md); }
.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; }


@media (min-width: 769px) {
  .product-details-toggle,
  .color-list-toggle { display: none !important; }
  .customizer-product-details { display: block !important; }
  [data-color-options] .color-swatch.is-extra-color { display: inline-flex !important; }
  /* Step 3 becomes a full-width review / checkout view. */
  .customizer-layout:has([data-step-panel="3"].is-active) {
    display: block;
  }
  .customizer-layout:has([data-step-panel="3"].is-active) .customizer-controls {
    width: 100%;
    padding: 1.4rem 1.6rem;
  }
  [data-step-panel="3"] h2 {
    margin-bottom: .3rem;
  }
  [data-step-panel="3"] .customizer-step-intro {
    margin: 0 0 .8rem;
    font-size: .9rem;
  }
  [data-step-panel="3"] .customizer-summary {
    margin-top: .75rem;
    padding: .85rem;
  }
  [data-step-panel="3"] .customizer-summary-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .7rem;
  }
  [data-step-panel="3"] .customizer-summary-heading h3 {
    margin: 0;
  }
  [data-step-panel="3"] .customizer-summary-product-line {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
    color: var(--color-text-muted);
    font-size: .8rem;
  }
  [data-step-panel="3"] .customizer-summary-product-line strong {
    color: var(--color-text-strong);
    font-weight: 800;
  }
  [data-step-panel="3"] .customizer-summary-product-line span {
    padding-left: .55rem;
    border-left: 1px solid var(--color-border);
    white-space: nowrap;
  }
  [data-step-panel="3"] .customizer-summary-mockups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
  }
  [data-step-panel="3"] .customizer-summary-mockups figure {
    padding: .45rem;
  }
  [data-step-panel="3"] .customizer-final-preview {
    aspect-ratio: 6 / 7;
    max-height: 205px;
  }
  [data-step-panel="3"] .customizer-summary-mockups figcaption {
    margin-top: .3rem;
    font-size: .72rem;
  }
  [data-step-panel="3"] .customizer-summary-sides {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin-top: .7rem;
  }
  [data-step-panel="3"] .customizer-summary-sides section {
    padding: .6rem .7rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
  }
  [data-step-panel="3"] .customizer-summary-sides section[hidden] {
    display: none;
  }
  [data-step-panel="3"] .customizer-summary-sides h4 {
    margin: 0 0 .25rem;
    font-size: .78rem;
  }
  [data-step-panel="3"] .customizer-summary-sides p {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .55rem;
    margin: 0;
    color: var(--color-text-muted);
    font-size: .74rem;
  }
  [data-step-panel="3"] .customizer-summary-sides p span + span::before {
    content: "·";
    margin-right: .55rem;
  }
  [data-step-panel="3"] .customizer-form {
    margin-top: .9rem;
  }
  [data-step-panel="3"] .customizer-form-fields {
    gap: .7rem;
  }
  [data-step-panel="3"] .customizer-form-fields label {
    gap: .35rem;
  }
  [data-step-panel="3"] .customizer-form-fields input {
    min-height: 42px;
    padding: .65rem .75rem;
  }
  [data-step-panel="3"] .customizer-form-fields textarea {
    min-height: 72px;
    padding: .65rem .75rem;
  }
  [data-step-panel="3"] .customizer-submit {
    min-height: 46px;
    margin-top: .75rem;
  }
  [data-step-panel="3"] .customizer-whatsapp {
    min-height: 34px;
    margin-top: .45rem;
  }
  .customizer-controls:has([data-step-panel="3"].is-active) .customizer-navigation {
    justify-content: flex-start;
    margin-top: .7rem;
    padding-top: .7rem;
  }


  /* Keep all four print-side controls in one horizontal row on desktop. */
  .customizer-side-switch {
    display: flex;
    flex-wrap: nowrap;
    width: min(100%, 900px);
    gap: .55rem;
  }
  .customizer-side-switch button {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
  }

  /* Step 1: compact product selection so more of the flow fits in one viewport. */
  [data-step-panel="1"] h2 {
    margin-bottom: .45rem;
  }
  [data-step-panel="1"] .customizer-fieldset {
    padding-top: .8rem;
  }
  [data-step-panel="1"] .customizer-fieldset + .customizer-fieldset {
    margin-top: .7rem;
  }
  [data-step-panel="1"] .customizer-fieldset legend {
    margin-bottom: .45rem;
  }
  [data-step-panel="1"] .customizer-product-info {
    margin-top: .65rem;
    padding: .8rem;
  }
  [data-step-panel="1"] .customizer-product-info > p {
    margin-top: .4rem;
    line-height: 1.45;
  }
  [data-step-panel="1"] .customizer-product-stats {
    gap: .45rem;
    margin-top: .65rem;
  }
  [data-step-panel="1"] .customizer-product-stats .product-stat {
    padding: .6rem .7rem;
  }
  [data-step-panel="1"] .swatch-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .42rem;
  }
  [data-step-panel="1"] .size-options {
    gap: .45rem;
  }
  [data-step-panel="1"] .size-quantity-grid { gap: .42rem; }
  [data-step-panel="1"] .size-quantity-item { min-height: 44px; }
  [data-step-panel="1"] .color-swatch {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    gap: .45rem;
    padding: .48rem .62rem;
    font-size: .78rem;
    text-align: left;
  }
  [data-step-panel="1"] .color-swatch .swatch {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
  [data-step-panel="1"] .size-options button {
    min-height: 40px;
  }
  .customizer-controls:has([data-step-panel="1"].is-active) .customizer-navigation {
    margin-top: 1rem;
    padding-top: .85rem;
  }

  /* Step 2: keep the whole editor control flow visible on a normal desktop viewport. */
  [data-step-panel="2"] h2 { margin-bottom: .28rem; }
  [data-step-panel="2"] > p:not(.step-kicker):not(.customizer-error) {
    margin: 0 0 .5rem;
    font-size: .86rem;
    line-height: 1.38;
  }
  [data-step-panel="2"] .customizer-side-file {
    margin-top: .5rem;
  }
  [data-step-panel="2"] .customizer-side-file-label {
    margin-bottom: .3rem;
  }
  [data-step-panel="2"] .upload-zone-label {
    min-height: 112px;
    padding: .8rem 1rem;
    gap: .22rem;
  }
  [data-step-panel="2"] .upload-icon {
    width: 36px;
    height: 36px;
    margin-bottom: .15rem;
    font-size: 1rem;
  }
  [data-step-panel="2"] .customizer-library {
    margin-top: .5rem;
  }
  [data-step-panel="2"] .customizer-library-list {
    padding-bottom: .1rem;
  }
  [data-step-panel="2"] .customizer-file-actions {
    margin-top: .35rem;
    padding: .5rem .6rem;
  }
  [data-step-panel="2"] .customizer-file-actions .button,
  [data-step-panel="2"] .customizer-file-actions .text-action {
    min-height: 36px;
  }
  [data-step-panel="2"] .position-presets {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .6rem;
    padding-top: .55rem;
  }
  [data-step-panel="2"] .position-presets button {
    min-height: 36px;
    padding: .42rem .72rem;
  }
  [data-step-panel="2"] .scale-control {
    margin-top: .6rem;
  }
  [data-step-panel="2"] .scale-control label {
    margin-bottom: .25rem;
  }
  [data-step-panel="2"] .scale-control input[type="range"] {
    min-height: 30px;
  }
  [data-step-panel="2"] .print-size-info {
    margin-top: .2rem;
  }
  [data-step-panel="2"] .customizer-error {
    min-height: .75em;
    margin-top: .2rem;
  }
  [data-step-panel="2"] ~ .customizer-navigation,
  .customizer-controls:has([data-step-panel="2"].is-active) .customizer-navigation {
    margin-top: .65rem;
    padding-top: .6rem;
  }
}

@media (max-width: 1024px) {
  .customizer-layout { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: var(--space-xl); }
  .customizer-controls { padding: var(--space-lg); }
}

@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .customizer-page, .customizer-workspace, .customizer-workspace > .container,
  .customizer-layout, .customizer-controls, .customizer-step-panel,
  .site-footer, .site-footer .container {
    max-width: 100%;
    min-width: 0;
  }
  .customizer-product-info { padding: .72rem .78rem; }
  .customizer-product-quick { margin-top: .3rem; font-size: .72rem; }
  .customizer-product-details { display: none; }
  .customizer-product-details.is-open { display: block; }
  .product-details-toggle,
  .color-list-toggle { display: inline-flex; align-items: center; gap: .25rem; }
  [data-color-options]:not(.is-expanded) .color-swatch.is-extra-color { display: none; }
  .color-list-toggle { margin-top: .4rem; padding-top: .2rem; }
  .size-choice-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .38rem; }
  .size-choice-grid.is-kids-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .size-choice-grid button { min-height: 38px; padding: .38rem .22rem; font-size: .68rem; }
  .size-selected-quantities { grid-template-columns: 1fr; gap: .38rem; margin-top: .5rem; }
  .size-selected-row { min-height: 42px; padding: .35rem .42rem .35rem .58rem; }
  .size-selected-label { font-size: .7rem; }
  .size-quantity-footer { align-items: center; flex-direction: row; gap: .55rem; }
  .size-quantity-footer .size-guide-trigger { margin-top: 0; }
  .customizer-info-toggle { margin-top: .45rem; min-height: 38px; }

  .customizer-main { overflow: hidden; }
  .customizer-intro { padding: var(--space-lg) 0 var(--space-lg); }
  .customizer-intro h1 { max-width: none; font-size: var(--type-page); }
  .customizer-back-link { margin-bottom: var(--space-md); }
  .customizer-workspace > .container { width: min(calc(100% - 24px), var(--container)); }
  .customizer-steps { width: 100%; margin-bottom: var(--space-md); overflow: hidden; }
  .customizer-steps li { min-width: 0; min-height: 46px; padding-right: .35rem; font-size: .74rem; }
  .customizer-layout { display: flex; flex-direction: column; gap: var(--space-md); }
  .customizer-preview-column, .customizer-controls { width: 100%; }
  .customizer-controls { margin-bottom: 32px; }
  .customizer-preview-card { position: static; }
  .customizer-side-switch { display: none !important; }
  .customizer-mobile-side-nav { display: block; width: 100%; margin-bottom: .65rem; }
  .customizer-preview { width: min(100%, 430px); max-height: 52vh; border-radius: var(--radius-md); }
  .customizer-preview-hint { width: min(100%, 430px); margin-top: .45rem; font-size: .72rem; }
  .customizer-controls { padding: var(--space-md); border-radius: var(--radius-md); }
  .customizer-step-panel h2 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .customizer-fieldset { padding-top: var(--space-md); }
  .customizer-fieldset + .customizer-fieldset { margin-top: var(--space-sm); }
  .customizer-product-stats { gap: .45rem; }
  .customizer-product-stats .product-stat { padding: .65rem .7rem; }
  .swatch-group { width: 100%; max-width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
  .customizer-fieldset { min-width: 0; overflow: hidden; }
  .color-swatch {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    gap: .38rem;
    padding: .48rem .5rem;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
  .color-swatch .swatch { width: 18px; height: 18px; flex-basis: 18px; }
  .color-swatch-label {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .72rem;
  }
  .color-swatch-code {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: .66rem;
  }
  .customizer-selected-color { margin-top: .5rem; font-size: .78rem; font-weight: 650; }
  .customizer-color-catalog { margin-top: .45rem; padding-top: .45rem; }
  .customizer-summary-quantities { margin-top: 0; }
  .size-options { gap: .5rem; }
  .size-options button { min-height: 44px; }
  .size-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .size-options button { min-width: 0; padding-inline: .3rem; }
  .upload-zone-label { min-height: 145px; padding: var(--space-md); }
  .customizer-file-actions { grid-template-columns: 1fr 1fr; }
  .customizer-file-actions .upload-file-name { grid-column: 1 / -1; }
  .customizer-file-actions .button, .customizer-file-actions .text-action { width: 100%; }
  .position-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .position-presets button { width: 100%; padding: .58rem .5rem; font-size: .74rem; }
  .scale-control { margin-top: var(--space-lg); }
  .customizer-tool-actions { align-items: stretch; flex-direction: column; }
  .customizer-tool-actions .button, .customizer-tool-actions .text-action { width: 100%; }
  .customizer-navigation { position: sticky; bottom: 0; z-index: 5; width: calc(100% + (var(--space-md) * 2)); max-width: none; margin: var(--space-lg) calc(var(--space-md) * -1) calc(var(--space-md) * -1); padding: .8rem var(--space-md); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--color-border); border-radius: 0 0 var(--radius-md) var(--radius-md); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .customizer-navigation .button { flex: 1; min-width: 0; min-height: 50px; }
  .customizer-summary { padding: var(--space-sm); }
  .customizer-summary-heading { display: grid; gap: .45rem; margin-bottom: .65rem; }
  .customizer-summary-product-line { display: flex; flex-wrap: wrap; gap: .35rem .5rem; font-size: .76rem; }
  .customizer-summary-product-line span { padding-left: .5rem; border-left: 1px solid var(--color-border); }
  .customizer-summary-sides { display: grid; gap: .5rem; margin-top: .65rem; }
  .customizer-summary-sides section { padding: .6rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; }
  .customizer-summary-sides section[hidden] { display: none; }
  .customizer-summary-sides h4 { margin: 0 0 .25rem; font-size: .78rem; }
  .customizer-summary-sides p { margin: 0; color: var(--color-text-muted); font-size: .73rem; line-height: 1.45; }
  .customizer-summary-sides p span { display: block; }
  .customizer-summary-mockups { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; }
  .customizer-summary-mockups figure { padding: .45rem; }
  .customizer-summary-mockups figcaption { font-size: .72rem; }
  .customizer-form-fields { grid-template-columns: 1fr; gap: var(--space-sm); }
  .customizer-form-fields .field-full { grid-column: auto; }
}

@media (max-width: 420px) {
  .size-options { grid-template-columns: repeat(3, 1fr); }
  .customizer-steps li { gap: .3rem; font-size: .7rem; }
  .position-presets { grid-template-columns: 1fr; }
  .customizer-side-switch button { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .color-swatch, .size-options button, .customizer-side-switch button, .position-presets button, .upload-zone, .customizer-design { transition: none; }
}

/* Direct design editing controls */
.direct-edit-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .55rem;
  padding-top: .55rem;
  border-top: 1px solid var(--color-border);
}
.direct-edit-controls > span {
  margin-right: auto;
  font-size: .76rem;
  font-weight: 700;
  color: var(--color-text-muted);
}
.direct-edit-controls button {
  min-height: 34px;
  padding: .38rem .65rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-size: .76rem;
  font-weight: 650;
  cursor: pointer;
}
.direct-edit-controls button:hover,
.direct-edit-controls button:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.transform-info {
  margin: 0 0 .18rem;
  color: var(--color-text-muted);
  font-size: .72rem;
  line-height: 1.35;
}
@media (max-width: 768px) {
  .direct-edit-controls > span { width: 100%; margin-right: 0; }
}


/* PrintStich size guide */
.size-guide-trigger {
  margin-top: .55rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-accent);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.size-guide-trigger:hover,
.size-guide-trigger:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.size-guide-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-height: min(860px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 28px 80px rgba(20, 44, 39, .18);
  overflow: auto;
}
.size-guide-dialog::backdrop { background: rgba(17, 40, 36, .48); backdrop-filter: blur(3px); }
.size-guide-shell { padding: 1.4rem; }
.size-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.size-guide-brand { display: flex; align-items: center; gap: .7rem; }
.size-guide-brand img { width: 42px; height: 42px; object-fit: contain; }
.size-guide-brand div { display: grid; gap: .05rem; }
.size-guide-brand span { font-weight: 800; font-size: 1rem; }
.size-guide-brand small { color: var(--color-text-muted); font-size: .72rem; }
.size-guide-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}
.size-guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: 2rem;
  align-items: end;
  padding: 1.4rem 0 1.2rem;
}
.size-guide-intro h2 { margin: .2rem 0 .35rem; font-size: clamp(2rem, 4vw, 3.25rem); line-height: .98; }
.size-guide-intro p { margin: 0; }
.size-guide-note { color: var(--color-text-muted); line-height: 1.55; }
.size-guide-content {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.35fr);
  gap: 1.4rem;
  align-items: start;
}
.size-guide-diagram {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-surface-soft);
  color: var(--color-accent);
}
.size-guide-diagram svg { width: 100%; height: auto; max-height: 420px; }
.size-guide-measures { min-width: 0; }
.size-guide-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: .85rem;
}
.size-guide-legend p {
  margin: 0;
  display: grid;
  gap: .1rem;
  padding: .72rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.size-guide-legend strong { color: var(--color-accent); font-size: 1rem; }
.size-guide-legend span { color: var(--color-text-muted); font-size: .72rem; line-height: 1.3; }
.size-guide-table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: 18px; }
.size-guide-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .78rem; }
.size-guide-table th,
.size-guide-table td { padding: .75rem .65rem; text-align: center; border-bottom: 1px solid var(--color-border); white-space: nowrap; }
.size-guide-table thead th { background: var(--color-surface-soft); font-weight: 800; }
.size-guide-table tbody th { color: var(--color-accent); font-weight: 800; }
.size-guide-table tr:last-child th,
.size-guide-table tr:last-child td { border-bottom: 0; }
.size-guide-footnote { margin: .7rem 0 0; color: var(--color-text-muted); font-size: .72rem; line-height: 1.45; }

@media (max-width: 768px) {
  .size-guide-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    border-radius: 22px;
  }
  .size-guide-shell { padding: 1rem; }
  .size-guide-intro { grid-template-columns: 1fr; gap: .7rem; }
  .size-guide-content { grid-template-columns: 1fr; }
  .size-guide-diagram { min-height: 300px; }
  .size-guide-legend { grid-template-columns: 1fr; }
  .size-guide-table { min-width: 560px; }
}


/* Size guide product switcher + exact product diagrams */
.size-guide-products {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .9rem 0 .15rem;
  scrollbar-width: none;
}
.size-guide-products::-webkit-scrollbar { display: none; }
.size-guide-products button {
  flex: 0 0 auto;
  display: grid;
  gap: .05rem;
  min-width: 145px;
  padding: .7rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  color: var(--color-text);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.size-guide-products button span {
  font-size: .8rem;
  font-weight: 800;
}
.size-guide-products button small {
  color: var(--color-text-muted);
  font-size: .66rem;
  font-weight: 600;
}
.size-guide-products button.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.size-guide-products button.is-active small {
  color: currentColor;
  opacity: .72;
}
.size-guide-diagram img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .size-guide-products { padding-top: .75rem; }
  .size-guide-products button { min-width: 132px; padding: .62rem .75rem; }
  .size-guide-diagram img { max-height: 330px; }
}

/* Step 1: real product selection. Step 2 remains the colourable SVG editor. */
.customizer-layout:has([data-step-panel="1"].is-active) {
  display: block;
}
.customizer-layout:has([data-step-panel="1"].is-active) .customizer-controls {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
[data-step-panel="1"] .customizer-step-intro {
  max-width: 680px;
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}
.product-selection-fieldset {
  margin-top: .4rem;
}
.product-visual-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
}
.product-visual-option {
  min-width: 0;
  padding: .55rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  color: var(--color-text-strong);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition), transform var(--transition);
}
.product-visual-option:hover {
  border-color: rgba(18, 63, 55, .5);
  transform: translateY(-1px);
}
.product-visual-option img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.04;
  object-fit: contain;
  margin-bottom: .5rem;
  border-radius: 11px;
  background: #fff;
}
.product-visual-option span {
  display: grid;
  gap: .08rem;
  min-width: 0;
  padding: 0 .15rem .15rem;
}
.product-visual-option strong {
  overflow: hidden;
  font-size: .82rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-visual-option small {
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: .7rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-visual-option.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  box-shadow: inset 0 0 0 1px var(--color-accent);
}
.product-visual-option.is-active small { color: var(--color-accent); opacity: .75; }

/* Step 2 now owns colour, sizes and all design controls. */
[data-step-panel="2"] > .customizer-fieldset {
  padding-top: .75rem;
}
[data-step-panel="2"] > .customizer-fieldset + .customizer-fieldset {
  margin-top: .65rem;
}
[data-step-panel="2"] .swatch-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .42rem;
}
[data-step-panel="2"] .color-swatch {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  gap: .45rem;
  padding: .48rem .62rem;
  font-size: .78rem;
  text-align: left;
}
[data-step-panel="2"] .color-swatch .swatch {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

@media (max-width: 768px) {
  .customizer-layout:has([data-step-panel="1"].is-active) .customizer-controls {
    max-width: none;
  }
  [data-step-panel="1"] .customizer-step-intro {
    margin-bottom: .8rem;
    font-size: .82rem;
    line-height: 1.45;
  }
  .product-visual-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .product-visual-option {
    display: block;
    padding: .4rem;
    border-radius: 14px;
  }
  .product-visual-option img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.02;
    margin: 0 0 .38rem;
    padding: .15rem;
  }
  .product-visual-option span {
    padding: 0 .2rem .2rem;
  }
  .product-visual-option strong {
    font-size: .76rem;
  }
  .product-visual-option small {
    font-size: .66rem;
  }
  [data-step-panel="2"] .swatch-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* Keep Step 2 focused: editing controls appear only after a design is attached. */
.customizer-design-tools[hidden] { display: none !important; }
.customizer-design-tools { margin-top: .15rem; }

/* Preserve literal garment swatch colours while the surrounding UI follows the site theme. */
.customizer-page .color-swatch .swatch {
  forced-color-adjust: none;
  color-scheme: only light;
}
.customizer-preview svg,
.customizer-preview svg * {
  forced-color-adjust: none;
  color-scheme: only light;
}
.customizer-page .swatch-white {
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.22);
}


/* === Configurator dark theme === */
/* Manual dark theme (independent of device preference) */
html[data-theme="dark"] .customizer-page { background: var(--color-bg); color: var(--color-text); }

html[data-theme="dark"] .customizer-side-switch button,
html[data-theme="dark"] .customizer-mobile-side-nav button,
html[data-theme="dark"] .customizer-product-stats .product-stat,
html[data-theme="dark"] .size-stepper,
html[data-theme="dark"] .customizer-library-select,
html[data-theme="dark"] .customizer-library-remove,
html[data-theme="dark"] .position-presets button,
html[data-theme="dark"] .customizer-summary-mockups figure,
html[data-theme="dark"] .customizer-form-fields input,
html[data-theme="dark"] .customizer-form-fields textarea,
html[data-theme="dark"] .direct-edit-controls button,
html[data-theme="dark"] .size-guide-dialog,
html[data-theme="dark"] .size-guide-close,
html[data-theme="dark"] .size-guide-products button,
html[data-theme="dark"] .product-visual-option {
    background: var(--color-surface);
    color: var(--color-text-strong);
  }

html[data-theme="dark"] .customizer-preview {
    background: #18211e;
    border-color: var(--color-border);
  }

html[data-theme="dark"] .customizer-mockup-placeholder {
    background: linear-gradient(145deg, #18211e, #101815);
    color: var(--color-text-muted);
  }

html[data-theme="dark"] .customizer-final-preview,
html[data-theme="dark"] .product-visual-option img {
    background: #f4f4f1;
  }

html[data-theme="dark"] .customizer-summary-mockups figure { border-color: var(--color-border); }

html[data-theme="dark"] .customizer-controls,
html[data-theme="dark"] .customizer-product-info,
html[data-theme="dark"] .customizer-order-info,
html[data-theme="dark"] .customizer-price-note,
html[data-theme="dark"] .customizer-summary,
html[data-theme="dark"] .customizer-summary-quantities,
html[data-theme="dark"] .upload-zone,
html[data-theme="dark"] .customizer-file-actions,
html[data-theme="dark"] .customizer-library-vector {
    background: var(--color-surface);
  }

html[data-theme="dark"] .customizer-navigation {
    background: #101815 !important;
    border-color: var(--color-border);
  }

html[data-theme="dark"] .customizer-summary-sides section,
html[data-theme="dark"] [data-step-panel="3"] .customizer-summary-sides section {
    background: var(--color-surface);
  }

html[data-theme="dark"] .customizer-form-fields input::placeholder,
html[data-theme="dark"] .customizer-form-fields textarea::placeholder { color: var(--color-text-muted); }

html[data-theme="dark"] .customizer-form-fields input:focus,
html[data-theme="dark"] .customizer-form-fields textarea:focus {
    background: var(--color-surface);
    border-color: var(--color-accent);
    outline-color: rgba(154,215,196,.22);
  }

html[data-theme="dark"] .customizer-side-switch button.is-active,
html[data-theme="dark"] .customizer-mobile-side-nav button.is-active,
html[data-theme="dark"] .position-presets button.is-active {
    background: #21483d;
    border-color: #6fbda5;
    color: #f2f7f5;
  }

html[data-theme="dark"] .color-swatch.is-active,
html[data-theme="dark"] .size-options button.is-active,
html[data-theme="dark"] .size-choice-grid button.is-active,
html[data-theme="dark"] .product-visual-option.is-active,
html[data-theme="dark"] .size-guide-products button.is-active {
    background: var(--color-accent-soft);
    border-color: var(--color-accent);
    color: var(--color-accent);
  }

html[data-theme="dark"] .color-swatch,
html[data-theme="dark"] .size-options button,
html[data-theme="dark"] .size-choice-grid button {
    background: var(--color-surface);
    color: var(--color-text-strong);
  }

html[data-theme="dark"] .swatch-white { background: #fff; }

html[data-theme="dark"] .swatch-black { background: #151515; }

html[data-theme="dark"] .customizer-page .color-swatch .swatch { forced-color-adjust: none; }

html[data-theme="dark"] .size-guide-diagram { background: #121b18; }

html[data-theme="dark"] .size-guide-dialog::backdrop { background: rgba(0,0,0,.72); }


/* Dark Green configurator polish. Product photos and swatches remain untouched. */
html[data-theme="dark"] .customizer-controls { background: #182721; border-color: #355046; }
html[data-theme="dark"] .customizer-product-info,
html[data-theme="dark"] .customizer-order-info,
html[data-theme="dark"] .customizer-price-note,
html[data-theme="dark"] .customizer-summary,
html[data-theme="dark"] .customizer-summary-quantities { background: #1d3029; border-color: #355046; }
html[data-theme="dark"] .customizer-navigation { background: transparent; border-color: #355046; }
html[data-theme="dark"] .customizer-navigation .button:not(:disabled) { color: #10271f; }
html[data-theme="dark"] .customizer-navigation .button-ghost:not(:disabled) { color: #ffffff; background: transparent; }
html[data-theme="dark"] .customizer-navigation button:disabled,
html[data-theme="dark"] .customizer-submit:disabled { opacity: .6; color: #d4e5dd; background: #37584c; border-color: #46695b; }
html[data-theme="dark"] .customizer-side-switch button,
html[data-theme="dark"] .customizer-mobile-side-nav button { background: #1b3029; color: #f0faf5; border-color: #355046; }
html[data-theme="dark"] .customizer-side-switch button.is-active,
html[data-theme="dark"] .customizer-mobile-side-nav button.is-active { background: #285a4b; border-color: #183b32; color: #fff; }
html[data-theme="dark"] .customizer-side-switch button.is-active small { color: #d2e9df; }
html[data-theme="dark"] .customizer-steps li.is-active { color: #ffffff; }
html[data-theme="dark"] .customizer-steps li.is-active::after { background: #183b32; }
html[data-theme="dark"] .customizer-form-fields input,
html[data-theme="dark"] .customizer-form-fields textarea { background: #14231d; color: #f3faf6; border-color: #426052; }
html[data-theme="dark"] .upload-zone { background: #162820; border-color: #426052; }
html[data-theme="dark"] .customizer-page .color-swatch .swatch { forced-color-adjust: none; }

/* Configurator uses the same dark tokens as the rest of PrintStich. */
html[data-theme="dark"] .customizer-controls,
html[data-theme="dark"] .customizer-product-info,
html[data-theme="dark"] .customizer-order-info,
html[data-theme="dark"] .customizer-price-note,
html[data-theme="dark"] .customizer-summary,
html[data-theme="dark"] .customizer-summary-quantities,
html[data-theme="dark"] .customizer-summary-sides section,
html[data-theme="dark"] [data-step-panel="3"] .customizer-summary-sides section {
  background: var(--color-surface); border-color: var(--color-border);
}
html[data-theme="dark"] .customizer-product-info,
html[data-theme="dark"] .customizer-summary,
html[data-theme="dark"] .customizer-order-info { background: #1b3027; }
html[data-theme="dark"] .customizer-preview { background: #18231e; border-color: var(--color-border); }
html[data-theme="dark"] .customizer-navigation { background: var(--color-surface); border-color: var(--color-border); }
html[data-theme="dark"] .customizer-navigation .button:not(:disabled) { color: #0b241c; }
html[data-theme="dark"] .customizer-navigation .button-ghost:not(:disabled) { color: var(--color-accent); background: transparent; }
html[data-theme="dark"] .customizer-side-switch button,
html[data-theme="dark"] .customizer-mobile-side-nav button,
html[data-theme="dark"] .color-swatch,
html[data-theme="dark"] .size-options button,
html[data-theme="dark"] .size-choice-grid button,
html[data-theme="dark"] .position-presets button { background: var(--color-surface); border-color: var(--color-border); color: var(--color-text-strong); }
html[data-theme="dark"] .customizer-side-switch button.is-active,
html[data-theme="dark"] .customizer-mobile-side-nav button.is-active,
html[data-theme="dark"] .position-presets button.is-active { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-text-strong); }
html[data-theme="dark"] .color-swatch.is-active,
html[data-theme="dark"] .size-options button.is-active,
html[data-theme="dark"] .size-choice-grid button.is-active,
html[data-theme="dark"] .product-visual-option.is-active { background: var(--color-accent-soft); border-color: var(--color-accent); color: var(--color-accent); }
html[data-theme="dark"] .customizer-form-fields input,
html[data-theme="dark"] .customizer-form-fields textarea { background: #1b3027; color: var(--color-text-strong); border-color: #426052; }
html[data-theme="dark"] .customizer-form-fields input:focus,
html[data-theme="dark"] .customizer-form-fields textarea:focus { background: #1b3027; border-color: var(--color-accent); outline-color: rgba(155,216,198,.25); }
html[data-theme="dark"] .upload-zone,
html[data-theme="dark"] .customizer-file-actions { background: #1b3027; border-color: #426052; }
html[data-theme="dark"] .customizer-navigation button:disabled,
html[data-theme="dark"] .customizer-submit:disabled { background: #345447; border-color: #426052; color: #d1e0d8; opacity: .65; }
html[data-theme="dark"] .customizer-page .color-swatch .swatch,
html[data-theme="dark"] .customizer-preview svg,
html[data-theme="dark"] .customizer-preview svg * { forced-color-adjust: none; }

/* Final configurator dark-mode contrast and action-state pass. */
html[data-theme="dark"] .customizer-controls { background:#17251f; }
html[data-theme="dark"] .customizer-product-info,
html[data-theme="dark"] .customizer-order-info,
html[data-theme="dark"] .customizer-price-note,
html[data-theme="dark"] .customizer-summary { background:#1d3027; }
html[data-theme="dark"] .customizer-preview { background:#1c2421; }
html[data-theme="dark"] .customizer-navigation { background:#17251f; }
html[data-theme="dark"] .customizer-navigation .button:not(:disabled):not(.button-ghost),
html[data-theme="dark"] .customizer-submit:not(:disabled) { background:var(--color-accent); color:#0c241b; border-color:var(--color-accent); }
html[data-theme="dark"] .customizer-navigation .button-ghost:not(:disabled) { color:var(--color-accent); border-color:var(--color-accent); }
html[data-theme="dark"] .customizer-navigation button:disabled,
html[data-theme="dark"] .customizer-submit:disabled { background:#2b4237; color:#b8c8be; border-color:#40584b; opacity:1; cursor:not-allowed; }
html[data-theme="dark"] .customizer-side-switch button.is-active,
html[data-theme="dark"] .customizer-mobile-side-nav button.is-active { background:#294d3f; border-color:var(--color-accent); color:#fff; }
html[data-theme="dark"] .customizer-steps li.is-active { color:var(--color-accent); }
html[data-theme="dark"] .customizer-steps li.is-active::after { background:var(--color-accent); }
html[data-theme="dark"] .customizer-form-fields input,
html[data-theme="dark"] .customizer-form-fields textarea { background:#101c17; }
html[data-theme="dark"] .customizer-page button:focus-visible,
html[data-theme="dark"] .customizer-page input:focus-visible,
html[data-theme="dark"] .customizer-page textarea:focus-visible { outline:2px solid var(--color-accent); outline-offset:2px; }


/* Single approved dark-mode configurator hierarchy; no light-mode changes. */
html[data-theme="dark"] .customizer-controls,
html[data-theme="dark"] .customizer-product-info,
html[data-theme="dark"] .customizer-order-info,
html[data-theme="dark"] .customizer-price-note,
html[data-theme="dark"] .customizer-summary,
html[data-theme="dark"] .customizer-summary-quantities,
html[data-theme="dark"] .customizer-summary-sides section,
html[data-theme="dark"] [data-step-panel="3"] .customizer-summary-sides section,
html[data-theme="dark"] .customizer-navigation { background:transparent; border-color:var(--color-border); }
html[data-theme="dark"] .customizer-preview { background:#252c28; border-color:var(--color-border); }
html[data-theme="dark"] .customizer-side-switch button,
html[data-theme="dark"] .customizer-mobile-side-nav button,
html[data-theme="dark"] .color-swatch,
html[data-theme="dark"] .size-options button,
html[data-theme="dark"] .size-choice-grid button,
html[data-theme="dark"] .position-presets button,
html[data-theme="dark"] .product-visual-option { background:var(--color-surface); border-color:var(--color-border); color:#fff; }
html[data-theme="dark"] .customizer-form-fields input,
html[data-theme="dark"] .customizer-form-fields textarea,
html[data-theme="dark"] .upload-zone,
html[data-theme="dark"] .customizer-file-actions { background:var(--color-bg); border-color:var(--color-border); color:#fff; }
html[data-theme="dark"] .customizer-side-switch button.is-active,
html[data-theme="dark"] .customizer-mobile-side-nav button.is-active,
html[data-theme="dark"] .position-presets button.is-active,
html[data-theme="dark"] .color-swatch.is-active,
html[data-theme="dark"] .size-options button.is-active,
html[data-theme="dark"] .size-choice-grid button.is-active,
html[data-theme="dark"] .product-visual-option.is-active { background:var(--color-accent-soft); border-color:#fff; color:#fff; }
html[data-theme="dark"] .customizer-navigation .button:not(:disabled):not(.button-ghost),
html[data-theme="dark"] .customizer-submit:not(:disabled) { background:#fff; border-color:#fff; color:#101312; }
html[data-theme="dark"] .customizer-navigation .button-ghost:not(:disabled) { background:transparent; border-color:#fff; color:#fff; }
html[data-theme="dark"] .customizer-navigation button:disabled,
html[data-theme="dark"] .customizer-submit:disabled { background:var(--color-border); border-color:var(--color-border); color:#b7c0ba; }
html[data-theme="dark"] .customizer-steps li.is-active { color:#fff; }
html[data-theme="dark"] .customizer-steps li.is-active::after { background:#fff; }
html[data-theme="dark"] .customizer-page button:focus-visible,
html[data-theme="dark"] .customizer-page input:focus-visible,
html[data-theme="dark"] .customizer-page textarea:focus-visible { outline:2px solid #fff; outline-offset:2px; }
html[data-theme="dark"] .customizer-page .color-swatch .swatch,
html[data-theme="dark"] .customizer-preview svg,
html[data-theme="dark"] .customizer-preview svg * { forced-color-adjust:none; }

/* Consistent dark configurator navigation across steps. */
html[data-theme="dark"] .customizer-controls .customizer-navigation {
  background: transparent;
  border-top-color: var(--color-border);
  box-shadow: none;
}
html[data-theme="dark"] .customizer-controls .customizer-navigation .button:disabled,
html[data-theme="dark"] .customizer-controls .customizer-submit:disabled {
  background: #35413b;
  border-color: #35413b;
  color: #c0ccc5;
  opacity: 1;
  cursor: not-allowed;
}
html[data-theme="dark"] .customizer-controls .customizer-navigation .button-ghost:not(:disabled) {
  background: transparent;
  border: 1px solid #d7e2dc;
  color: #f4f7f5;
}
html[data-theme="dark"] .customizer-controls .customizer-navigation .button:not(.button-ghost):not(:disabled) {
  background: #fff;
  border-color: #fff;
  color: #101312;
}
@media (max-width: 768px) {
  html[data-theme="dark"] .customizer-controls .customizer-navigation {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: none;
  }
}

/* Dark configurator action row — visually part of its parent card, not a second panel. */
html[data-theme="dark"] .customizer-controls .customizer-navigation {
  position: static;
  width: auto;
  max-width: none;
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  background: transparent !important;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-theme="dark"] .customizer-controls .customizer-navigation .button {
  min-width: 118px;
  flex: 0 1 auto;
  border-radius: 999px;
}
html[data-theme="dark"] .customizer-controls .customizer-navigation .button-ghost:disabled {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  opacity: .75;
}
@media (max-width: 768px) {
  html[data-theme="dark"] .customizer-controls .customizer-navigation {
    position: static;
    width: auto;
    margin: 1rem 0 0;
    padding: .9rem 0 0;
    background: transparent !important;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
  }
  html[data-theme="dark"] .customizer-controls .customizer-navigation .button {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* Product starting prices: orientation only, never a calculated quote. */
.product-visual-option .product-starting-price {
  display: block;
  margin-top: .38rem;
  color: var(--color-text-strong);
  font-style: normal;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
}
html[data-theme="dark"] .product-visual-option .product-starting-price { color: var(--color-text-strong); }
@media (max-width: 767px) {
  .product-visual-option .product-starting-price { font-size: .76rem; min-height: 2.1em; }
}

/* PrintStich minimal product specifications: separate with whitespace, not cards. */
.customizer-page .customizer-product-info {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: .85rem 0 0;
}
.customizer-page .customizer-product-stats {
  column-gap: clamp(1rem, 2.5vw, 2rem);
  row-gap: .7rem;
}
.customizer-page .customizer-product-stats .product-stat {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: .45rem 0;
}
html[data-theme="dark"] .customizer-page .customizer-product-info,
html[data-theme="dark"] .customizer-page .customizer-product-stats .product-stat {
  background: transparent;
  border: 0;
}

/* PrintStich mobile-only readability polish (approved configurator design preserved). */
@media (max-width: 768px) {
  .customizer-page .customizer-step-panel h2 { font-size: clamp(1.55rem, 6.5vw, 1.95rem); line-height: 1.18; }
  .customizer-page .step-kicker { font-size: .8rem; line-height: 1.4; }
  .customizer-page .customizer-step-intro,
  .customizer-page [data-step-panel="1"] .customizer-step-intro,
  .customizer-page [data-step-panel="2"] > p:not(.step-kicker):not(.customizer-error) {
    font-size: .9rem;
    line-height: 1.6;
  }
  .customizer-page .customizer-fieldset legend { font-size: .94rem; margin-bottom: .65rem; }
  .customizer-page .customizer-selected-color { font-size: .84rem; line-height: 1.45; }
  .customizer-page .size-choice-help { font-size: .86rem; line-height: 1.5; }
  .customizer-page .size-choice-grid button {
    min-height: 44px;
    font-size: .81rem;
    line-height: 1.25;
    padding: .5rem .3rem;
  }
  .customizer-page .size-selected-label { font-size: .83rem; }
  .customizer-page .customizer-info-toggle { font-size: .84rem; min-height: 44px; }
  .customizer-page .customizer-color-catalog { font-size: .84rem; }
  .customizer-page .customizer-side-file-label { font-size: .94rem; }
  .customizer-page .upload-zone-label { min-height: 155px; }
  .customizer-page .upload-zone-label strong { font-size: .96rem; }
  .customizer-page .upload-zone-label span:last-child { font-size: .84rem; line-height: 1.5; }
  .customizer-page .customizer-preview-hint { font-size: .8rem; line-height: 1.5; }
  .customizer-page .color-swatch-label { font-size: .81rem; }
  .customizer-page .color-swatch-code { font-size: .72rem; }
  .customizer-page [data-step-panel="2"] .color-swatch { min-height: 44px; padding: .5rem .65rem; gap: .5rem; }
  .customizer-page .color-list-toggle { min-height: 44px; font-size: .84rem; }
}
@media (max-width: 480px) {
  /* Two columns give long colour names space without losing their selected state. */
  .customizer-page [data-step-panel="2"] .swatch-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .customizer-page [data-step-panel="2"] .color-swatch { min-height: 46px; }
  .customizer-page .size-choice-grid,
  .customizer-page .size-choice-grid.is-kids-sizes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
  }
  .customizer-page .customizer-fieldset + .customizer-fieldset { margin-top: 1.05rem; }
  .customizer-page .customizer-fieldset legend { margin-bottom: .7rem; }
}

/* Five products: preserve readable cards at laptop widths. Mobile keeps two columns. */
@media (min-width: 769px) and (max-width: 1150px) {
  .product-visual-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Ready-made designs link stays secondary to the existing customizer. */
.customizer-ready-design-link { margin: -.25rem 0 1.2rem; font-size: .86rem; line-height: 1.5; font-weight: 650; }
.customizer-ready-design-link a { color: var(--color-accent-hover); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
