/** Shopify CDN: Minification failed

Line 1277:0 Unexpected "`"

**/
/* ==========================================================================
   PS Size Advisor — styles
   Visual port of neanour.com's size-advisor component
   ========================================================================== */

/* -------------------------------------------------------------------------
   TRIGGER
   ------------------------------------------------------------------------- */

.size-advisor-trigger-wrap {
  margin: 10px 0 2px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  width: 100%;
}

.size-advisor-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  width: auto;
  max-width: 100%;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
  color: rgb(var(--color-foreground));
}

.size-advisor-trigger__icon,
.size-advisor-trigger__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgb(var(--color-foreground));
}

.size-advisor-trigger__icon svg,
.size-advisor-trigger__arrow svg {
  width: 16px;
  height: 16px;
}

.size-advisor-trigger__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
  flex: 1 1 0%;
}

.size-advisor-trigger__eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: rgb(var(--color-foreground));
}

.size-advisor-trigger__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.28;
  color: rgb(var(--color-foreground));
  text-decoration: underline rgba(var(--color-foreground), 0.4);
  text-underline-offset: 4px;
}

.size-advisor-trigger__subtitle {
  display: none;
}

.size-advisor-trigger:hover .size-advisor-trigger__title {
  text-decoration-color: rgb(var(--color-foreground));
}

.size-advisor-trigger:focus-visible {
  outline: 2px solid rgb(var(--color-foreground));
  outline-offset: 3px;
}

/* Boxed trigger modifier */

.size-advisor-trigger--boxed {
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(var(--color-foreground), 0.03);
  border: 1px solid rgba(var(--color-foreground), 0.2);
}

.size-advisor-trigger--boxed .size-advisor-trigger__subtitle {
  display: inline;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(var(--color-foreground), 0.72);
}

.size-advisor-trigger--boxed .size-advisor-trigger__eyebrow {
  display: none;
}

.size-advisor-trigger--boxed:hover {
  background: rgba(var(--color-foreground), 0.06);
  border-color: rgba(var(--color-foreground), 0.32);
}

/* -------------------------------------------------------------------------
   MODAL
   ------------------------------------------------------------------------- */

.size-advisor-modal {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  background: var(--sa-paper, #F8F4EC);
  color: var(--sa-ink, rgb(var(--color-foreground)));
  transition: opacity 0.25s ease, visibility 0.25s ease;

  --sa-ink: rgb(var(--color-foreground));
  --sa-ink-muted: rgba(var(--color-foreground), 0.72);
  --sa-line: rgba(var(--color-foreground), 0.16);
  --sa-paper: #F8F4EC;
  --sa-linen: #F1EBE0;
  --sa-font-header: var(--font-heading-family, inherit);
  --sa-radius: var(--buttons-radius, 0);
}

.size-advisor-modal[open] {
  opacity: 1;
  visibility: visible;
}

.size-advisor-modal__content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
  background: var(--sa-paper);
  overflow: hidden;
}

.size-advisor-focus-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------------------
   MODAL HEADER
   ------------------------------------------------------------------------- */

.sa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--sa-line);
}

.sa-eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sa-ink-muted);
}

.sa-title {
  margin: 0;
  font-family: var(--sa-font-header);
  font-size: 24px;
  line-height: 1.15;
  font-weight: var(--font-heading-weight, 400);
  color: var(--sa-ink);
}

.sa-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--sa-line);
  border-radius: 0;
  background: transparent;
  color: var(--sa-ink);
  cursor: pointer;
  flex: 0 0 auto;
}

.sa-close svg {
  width: 20px;
  height: 20px;
}

.sa-close:hover {
  background: var(--sa-linen);
}

.sa-close:focus-visible {
  outline: 2px solid var(--sa-ink);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   MODAL BODY AND VISUAL
   ------------------------------------------------------------------------- */

.sa-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sa-visual {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 16px 20px 14px;
  background: var(--sa-linen);
  border-bottom: 1px solid var(--sa-line);
}

.sa-stage {
  max-width: 420px;
  margin: 0 auto;
}

.sa-stage .size-advisor-scene {
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.sa-stage .size-advisor-scene__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 30vh;
  margin: 0 auto;
}

.sa-stage-note {
  max-width: 460px;
  margin: 8px auto 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--sa-ink-muted);
}

/* -------------------------------------------------------------------------
   MODAL CONTROLS
   ------------------------------------------------------------------------- */

.sa-controls {
  padding: 24px 20px 32px;
}

.sa-step {
  padding: 0 0 28px;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--sa-line);
  scroll-margin-top: 12px;
}

.sa-step[hidden] {
  display: none;
}

.sa-q {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--sa-font-header);
  font-size: 22px;
  line-height: 1.2;
  font-weight: var(--font-heading-weight, 400);
  color: var(--sa-ink);
}

.sa-q__num {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--sa-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
}

.sa-q-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.sa-q-row .sa-q {
  margin: 0;
}

.sa-hint {
  margin: 8px 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sa-ink-muted);
}

/* -------------------------------------------------------------------------
   STEP 1 — PLACEMENTS
   ------------------------------------------------------------------------- */

.sa-places {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sa-place {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--sa-line);
  border-radius: 0;
  background: #fff;
  color: var(--sa-ink);
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.sa-place svg {
  width: 28px;
  height: 28px;
}

.sa-place:hover {
  border-color: var(--sa-ink);
}

.sa-place.is-active {
  border-color: var(--sa-ink);
  background: var(--sa-ink);
  color: var(--sa-paper);
}

.sa-place:focus-visible {
  outline: 2px solid var(--sa-ink);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   STEP 2 — UNITS, PRESETS, INPUTS
   ------------------------------------------------------------------------- */

.sa-units {
  display: inline-flex;
  border: 1px solid var(--sa-line);
}

.sa-unit {
  min-width: 56px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sa-ink-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.sa-unit.is-active {
  background: var(--sa-ink);
  color: var(--sa-paper);
}

.sa-unit:focus-visible {
  outline: 2px solid var(--sa-ink);
  outline-offset: -2px;
}

.sa-presets-host {
  display: contents;
}

.sa-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.sa-presets[hidden] {
  display: none;
}

.size-advisor-modal .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sa-preset {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--sa-line);
  border-radius: 0;
  background: #fff;
  color: var(--sa-ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.sa-preset:hover {
  border-color: var(--sa-ink);
}

.sa-preset.is-active {
  border-color: var(--sa-ink);
  box-shadow: inset 0 0 0 1px var(--sa-ink);
}

.sa-preset:focus-visible {
  outline: 2px solid var(--sa-ink);
  outline-offset: 2px;
}

.sa-preset__t {
  font-size: 15px;
  font-weight: 500;
}

.sa-preset__m {
  font-size: 13px;
  color: var(--sa-ink-muted);
}

.sa-in {
  display: none;
}

.size-advisor-modal.is-inch .sa-in {
  display: inline;
}

.size-advisor-modal.is-inch .sa-cm {
  display: none;
}

.sa-exact__label {
  display: block;
  margin: 4px 0 8px;
  font-size: 14px;
  color: var(--sa-ink);
}

.sa-input {
  display: flex;
  align-items: center;
  max-width: 260px;
  border: 1px solid var(--sa-line);
  background: #fff;
}

.sa-input:focus-within {
  border-color: var(--sa-ink);
}

.sa-input input {
  flex: 1 1 0%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--sa-ink);
  outline: none;
}

.sa-input input::-webkit-outer-spin-button,
.sa-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sa-input span {
  padding: 0 14px;
  font-size: 14px;
  color: var(--sa-ink-muted);
}

.sa-calculate {
  width: 100%;
  margin-top: 18px;
  min-height: 52px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--sa-radius);
  background: var(--sa-ink);
  color: var(--sa-paper);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.sa-calculate:hover {
  background: rgb(42, 40, 36);
}

.sa-calculate:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* -------------------------------------------------------------------------
   STEP 3 — SUMMARY AND OPTIONS
   ------------------------------------------------------------------------- */

.size-advisor-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.size-advisor-summary[hidden] {
  display: none;
}

.size-advisor-summary__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11px;
  line-height: 1.25;
  color: rgba(var(--color-foreground), 0.82);
  background: rgba(var(--color-foreground), 0.03);
  border: 1px solid rgba(var(--color-foreground), 0.08);
  border-radius: 999px;
}

.size-advisor-summary__label {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(var(--color-foreground), 0.52);
}

.sa-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sa-option {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "look price"
    "size price"
    "meta meta";
  gap: 2px 16px;
  padding: 16px;
  border: 1px solid var(--sa-line);
  border-radius: 0;
  background: #fff;
  color: var(--sa-ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.sa-option:hover {
  border-color: var(--sa-ink);
}

.sa-option.is-active {
  border-color: var(--sa-ink);
  box-shadow: inset 0 0 0 1px var(--sa-ink);
}

.sa-option:disabled {
  opacity: 0.45;
  cursor: default;
}

.sa-option:focus-visible {
  outline: 2px solid var(--sa-ink);
  outline-offset: 2px;
}

.sa-option__badge {
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 3px 8px;
  background: var(--sa-ink);
  color: var(--sa-paper);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sa-option__look {
  grid-area: look;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sa-ink-muted);
}

.sa-option__size {
  grid-area: size;
  font-family: var(--sa-font-header);
  font-size: 22px;
  line-height: 1.25;
}

.sa-option__meta {
  grid-area: meta;
  margin-top: 4px;
  font-size: 13px;
  color: var(--sa-ink-muted);
}

.sa-option__price {
  grid-area: price;
  align-self: center;
  font-size: 16px;
  font-weight: 500;
}

.sa-setnote,
.sa-noresult {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--sa-ink-muted);
}

.sa-noresult {
  padding: 14px 16px;
  border: 1px solid var(--sa-line);
  background: #fff;
}

/* -------------------------------------------------------------------------
   WHATSAPP
   ------------------------------------------------------------------------- */

.sa-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--sa-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sa-whatsapp svg {
  width: 18px;
  height: 18px;
  color: rgb(37, 211, 102);
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */

.sa-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--sa-line);
  background: var(--sa-paper);
}

.sa-foot[hidden] {
  display: none;
}

.sa-foot__info {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 10px;
  align-items: baseline;
  min-width: 0;
}

.sa-foot__size {
  font-family: var(--sa-font-header);
  font-size: 18px;
  white-space: nowrap;
}

.sa-foot__price {
  font-size: 15px;
  font-weight: 500;
}

.sa-foot__btn {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--sa-radius);
  background: var(--sa-ink);
  color: var(--sa-paper);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.sa-foot__btn:hover {
  background: rgb(42, 40, 36);
}

.sa-foot__btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.sa-foot__btn:focus-visible {
  outline: 2px solid var(--sa-ink);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   SCENE ILLUSTRATION
   ------------------------------------------------------------------------- */

.size-advisor-scene {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  background: transparent;
}

.size-advisor-scene__svg {
  width: 100%;
  height: auto;
  display: block;
}

.size-advisor-scene__wall {
  fill: #F1EBE0;
}

.size-advisor-scene__furniture-fill {
  fill: #DCD2C2;
}

.size-advisor-scene__furniture-soft {
  fill: #E6DDCF;
}

.size-advisor-scene__pillow {
  fill: #EFE8DC;
}

.size-advisor-scene__furniture-line {
  stroke: #C9BDAA;
  stroke-width: 0.8;
}

.size-advisor-scene__leg {
  fill: #B8AA95;
}

.size-advisor-scene__floor {
  stroke: #D8CEBE;
  stroke-width: 1;
  fill: none;
}

.size-advisor-scene__wall-guide {
  stroke: #C3B7A4;
  stroke-dasharray: 3, 3;
  stroke-width: 1.6;
  fill: none;
}

.size-advisor-scene__art-frame-box {
  fill: #F7F3EC;
  stroke: #3B3833;
  stroke-width: 1.8;
}

/* -------------------------------------------------------------------------
   PRODUCT SIZE PICKER
   ------------------------------------------------------------------------- */

.custom-size-picker {
  border: 0;
  padding: 0;
  margin-top: 0 !important;
}

.size-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.size-picker-header .form__label {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.size-picker-header [data-selected-value] {
  font-weight: 600;
}

.size-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}

.size-unit-toggle {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.size-unit-button {
  position: relative;
  padding: 0 0 9px;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 11px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.size-unit-toggle .size-unit-button {
  color: #777;
  font-weight: 400;
  text-decoration: none;
}

.size-unit-toggle .size-unit-button.is-active {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.custom-size-picker input[type="radio"] + label.size-variant-label {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.size-variant-price {
  display: block;
  font-size: 12px;
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   PRODUCT PAGE HEADER ROW
   Title on the left, CM / INCH on the right
   ------------------------------------------------------------------------- */

.ps-sa-header-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2;
  box-sizing: border-box;
}

/* Left side: trigger wrapper */

.ps-sa-header-row > .size-advisor-trigger-wrap {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Title button */

.ps-sa-header-row .size-advisor-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
}

.ps-sa-header-row .size-advisor-trigger__content {
  flex: 0 1 auto;
}

.ps-sa-header-row .size-advisor-trigger__title {
  font-size: 14px;
  line-height: 1.25;
}

/* Right side: measurement bar */

.ps-sa-header-row > [data-ps-sa-dimbar] {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: auto !important;
  min-width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.ps-sa-header-row .ps-sa-dimbar__label,
.ps-sa-header-row .ps-sa-dimbar__value {
  display: none !important;
}

.ps-sa-header-row .ps-sa-dimbar__units {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
  white-space: nowrap !important;
}

.ps-sa-header-row .ps-sa-dimbar__unit {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #333 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  cursor: pointer;
}

.ps-sa-header-row .ps-sa-dimbar__unit.is-active {
  color: #111 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* Hide duplicate measurement bars outside the header row */

[data-ps-sa-dimbar] {
  display: none !important;
}

.ps-sa-header-row > [data-ps-sa-dimbar] {
  display: flex !important;
}

/* Tighten spacing between header row and size variants */

.ps-sa-header-row + .custom-size-picker,
.ps-sa-header-row + variant-selects,
.ps-sa-header-row + .product-form__input,
.ps-sa-header-row + fieldset {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .size-advisor-trigger {
    width: 100%;
  }

  .sa-places,
  .sa-presets {
    grid-template-columns: 1fr;
  }

  .ps-sa-header-row {
    gap: 8px !important;
  }

  .ps-sa-header-row .size-advisor-trigger {
    width: auto !important;
    white-space: normal !important;
  }

  .ps-sa-header-row .size-advisor-trigger__title {
    font-size: 13px !important;
  }

  .ps-sa-header-row .ps-sa-dimbar__units {
    gap: 9px !important;
  }

  .ps-sa-header-row .ps-sa-dimbar__unit {
    font-size: 12px !important;
  }
}

@media (max-width: 989px) {
  .size-advisor-modal:not(.has-results) .sa-visual {
    position: relative;
  }

  .sa-visual {
    padding: 12px 20px 10px;
  }

  .sa-stage .size-advisor-scene__svg {
    max-height: 24vh;
  }

  .sa-stage-note {
    font-size: 12px;
    margin-top: 6px;
  }

  .size-advisor-modal.has-results .sa-stage-note {
    display: none;
  }

  .sa-foot {
    gap: 12px;
  }

  .sa-foot__size {
    font-size: 16px;
  }

  .sa-foot__price {
    font-size: 14px;
  }

  .sa-foot__btn {
    padding: 0 16px;
    min-height: 48px;
    font-size: 12px;
    letter-spacing: 0.08em;
  }
}

@media (min-width: 990px) {
  .sa-head {
    padding: 20px 40px;
  }

  .sa-title {
    font-size: 28px;
  }

  .sa-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 1fr);
    overflow: hidden;
  }

  .sa-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-bottom: 0;
    border-right: 1px solid var(--sa-line);
  }

  .sa-stage {
    width: 100%;
    max-width: 720px;
  }

  .sa-stage .size-advisor-scene__svg {
    max-height: 62vh;
  }

  .sa-stage-note {
    margin-top: 20px;
    font-size: 15px;
  }

  .sa-controls {
    overflow-y: auto;
    padding: 40px 48px 48px;
  }

  .sa-controls > * {
    max-width: 560px;
  }

  .sa-places {
    grid-template-columns: repeat(4, 1fr);
  }

  .sa-place {
    min-height: 112px;
  }

  .sa-presets {
    grid-template-columns: repeat(2, 1fr);
  }

  .sa-foot {
    padding: 16px 40px;
  }
}

/* -------------------------------------------------------------------------
   ACCESSIBILITY AND MOTION
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .size-advisor-modal,
  .sa-place,
  .sa-preset,
  .sa-option,
  .size-advisor-trigger {
    transition: none !important;
  }
}

@media print {
  .size-advisor-modal,
  .size-advisor-trigger-wrap {
    display: none !important;
  }
}

/* Remove the long underline beneath the unit buttons */
.ps-sa-header-row .ps-sa-dimbar__units {
  border-bottom: none !important;
}

/* Underline only the active unit */
.ps-sa-header-row .ps-sa-dimbar__unit {
  text-decoration: none !important;
}

.ps-sa-header-row .ps-sa-dimbar__unit.is-active {
  text-decoration: underline !important;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

```css
/* Reduce space between Size Advisor header and variants */
.ps-sa-header-row {
  margin-bottom: 4px !important;
  padding-bottom: 0 !important;
}

.ps-sa-header-row + *,
.ps-sa-header-row ~ .product-form__input {
  margin-top: 4px !important;
}

/* Tighten spacing around variant option groups */
.product-form__input {
  margin-top: 6px !important;
  margin-bottom: 8px !important;
}

/* Reduce space above variant labels */
.product-form__input legend,
.product-form__input label {
  margin-top: 0 !important;
  margin-bottom: 4px !important;
}

/* Minimize space between Size Advisor and product variants */
.ps-sa-header-row {
  margin-bottom: -10px !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
}

.ps-sa-header-row + *,
.ps-sa-header-row ~ .product-form__input,
.product-form__input:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove extra spacing from the first variant picker */
.product-form__input:first-of-type legend,
.product-form__input:first-of-type .form__label {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

/* Tighten variant option layout */
.product-form__input {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
}

/* Keep the existing Shopify size variant layout */
.product-form__input--pill .product-form__buttons {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 8px !important;
}

/* Keep each size option the same size */
.product-form__input--pill input[type="radio"] + label {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  min-height: 44px !important;
  padding: 10px 12px !important;
  flex: 0 0 110px !important;
  width: 110px !important;
  margin: 0 !important;
}

/* Keep label text from changing the box dimensions */
.product-form__input--pill input[type="radio"] + label,
.product-form__input--pill input[type="radio"] + label span {
  line-height: 1.2 !important;
  font-variant-numeric: tabular-nums;
}

/* Mobile */
@media screen and (max-width: 480px) {
  .product-form__input--pill .product-form__buttons {
    gap: 6px !important;
  }

  .product-form__input--pill input[type="radio"] + label {
    flex-basis: 100px !important;
    width: 100px !important;
    min-height: 40px !important;
    padding: 8px 4px !important;
    font-size: 12px !important;
  }
}

/* ===== Blocs variantes : beige doux ===== */
.custom-size-picker {
  --color-background: 239, 232, 220;
}

html body variant-selects fieldset.custom-size-picker input[type="radio"] + label.size-variant-label {
  background: #efe8dc none !important;
  background-color: #efe8dc !important;
  color: #2a2520 !important;
  border: 1px solid #e0d5c3 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

html body variant-selects fieldset.custom-size-picker input[type="radio"]:not(:checked) + label.size-variant-label:hover {
  background-color: #e8dfd0 !important;
  border-color: #cfc2ad !important;
}

html body variant-selects fieldset.custom-size-picker input[type="radio"]:checked + label.size-variant-label {
  background: #2a2520 none !important;
  background-color: #2a2520 !important;
  color: #f6f1e9 !important;
  border-color: #2a2520 !important;
}

html body variant-selects fieldset.custom-size-picker input[type="radio"]:checked + label.size-variant-label * {
  color: #f6f1e9 !important;
}

/* ===== Polices des cases variantes (un peu plus grandes) ===== */
html body variant-selects fieldset.custom-size-picker input[type="radio"] + label.size-variant-label {
  font-size: 15px !important;
  letter-spacing: 0.2px;
  min-height: 48px !important;
  padding: 10px 14px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  min-width: 112px !important;
}

html body variant-selects fieldset.custom-size-picker .size-variant-price,
html body variant-selects fieldset.custom-size-picker .size-variant-price .money {
  font-size: 13px !important;
  font-weight: 600 !important;
}

@media screen and (max-width: 480px) {
  html body variant-selects fieldset.custom-size-picker input[type="radio"] + label.size-variant-label {
    font-size: 13px !important;
    min-height: 44px !important;
    padding: 8px 8px !important;
    min-width: 92px !important;
  }

  html body variant-selects fieldset.custom-size-picker .size-variant-price,
  html body variant-selects fieldset.custom-size-picker .size-variant-price .money {
    font-size: 12px !important;
  }
}

/* ===== Desktop : tout à la même largeur (colonne produit) ===== */
@media screen and (min-width: 990px) {

  /* Le conteneur fixe la largeur de référence */
  html body .product__info-container,
  html body product-info .product__info-container {
    max-width: 100% !important;
  }
  html body .product__info-container > *,
  html body .product__info-container form,
  html body .product-form,
  html body .product-form__input,
  html body .product-form__buttons,
  html body .product__accordion,
  html body .product__description {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Cases : 4 colonnes égales sur toute la largeur (tailles et cadres ont la même largeur de case) */
  html body variant-selects fieldset.custom-size-picker.product-form__input {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
  }
  html body variant-selects fieldset.custom-size-picker .size-picker-header,
  html body variant-selects fieldset.custom-size-picker legend {
    flex: 0 0 100% !important;
  }
  html body variant-selects fieldset.custom-size-picker input[type="radio"] + label.size-variant-label {
    flex: 0 0 calc((100% - 30px) / 4) !important;
    width: calc((100% - 30px) / 4) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Liste déroulante et bouton : exactement la largeur de la rangée de cases */
  html body .product-form select,
  html body .product-form__input select,
  html body .select,
  html body .select__select {
    width: 100% !important;
    max-width: 100% !important;
  }
  html body .product-form__submit,
  html body .product-form__buttons .button,
  html body .product-form__buttons > * {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Mobile: sizes in 2 columns, frames in 3 columns */
@media screen and (max-width: 989px) {
  html body variant-selects fieldset.custom-size-picker.product-form__input {
    display: grid !important;
    gap: 8px !important;
    width: 100% !important;
  }
  /* 1st group (sizes): 2 columns */
  html body variant-selects fieldset.custom-size-picker:first-of-type {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* 2nd group (frames): 3 columns */
  html body variant-selects fieldset.custom-size-picker:not(:first-of-type) {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  html body variant-selects fieldset.custom-size-picker .size-picker-header,
  html body variant-selects fieldset.custom-size-picker .size-unit-toggle {
    grid-column: 1 / -1 !important;
  }
  html body variant-selects fieldset.custom-size-picker input[type="radio"] + label.size-variant-label {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================
   PRODUCT COLOR VARIANT BUTTONS
   Black / Wood / Brown / White
   ========================================== */

/* BLACK */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Black"] + label.size-variant-label {
  background-color: #292929 !important;
  color: #FFFFFF !important;
  border: 1px solid #292929 !important;
  box-shadow: none !important;
}

html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Black"] + label.size-variant-label:hover {
  background-color: #111111 !important;
  border-color: #111111 !important;
}

/* WOOD */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Wood"] + label.size-variant-label {
  background-color: #B58A5A !important;
  color: #FFFFFF !important;
  border: 1px solid #B58A5A !important;
  box-shadow: none !important;
}

html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Wood"] + label.size-variant-label:hover {
  background-color: #9D7449 !important;
  border-color: #9D7449 !important;
}

/* BROWN */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Brown"] + label.size-variant-label {
  background-color: #795548 !important;
  color: #FFFFFF !important;
  border: 1px solid #795548 !important;
  box-shadow: none !important;
}

html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Brown"] + label.size-variant-label:hover {
  background-color: #624238 !important;
  border-color: #624238 !important;
}

/* WHITE */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="White"] + label.size-variant-label {
  background-color: #FFFFFF !important;
  color: #2A2520 !important;
  border: 1px solid #D8D0C4 !important;
  box-shadow: none !important;
}

html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="White"] + label.size-variant-label:hover {
  background-color: #F7F4EF !important;
  border-color: #B8AA95 !important;
}

/* ==========================================
   SELECTED COLOR STATES
   ========================================== */

/* BLACK SELECTED */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Black"]:checked + label.size-variant-label {
  background-color: #292929 !important;
  color: #FFFFFF !important;
  border-color: #292929 !important;
  outline: 2px solid #292929 !important;
  outline-offset: 2px !important;
}

/* WOOD SELECTED */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Wood"]:checked + label.size-variant-label {
  background-color: #B58A5A !important;
  color: #FFFFFF !important;
  border-color: #B58A5A !important;
  outline: 2px solid #795D3F !important;
  outline-offset: 2px !important;
}

/* BROWN SELECTED */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Brown"]:checked + label.size-variant-label {
  background-color: #795548 !important;
  color: #FFFFFF !important;
  border-color: #795548 !important;
  outline: 2px solid #795548 !important;
  outline-offset: 2px !important;
}

/* WHITE SELECTED */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="White"]:checked + label.size-variant-label {
  background-color: #FFFFFF !important;
  color: #2A2520 !important;
  border-color: #2A2520 !important;
  outline: 2px solid #2A2520 !important;
  outline-offset: 2px !important;
}

/* ==========================================
   KEEP PRICE TEXT LEGIBLE
   ========================================== */

html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Black"] + label.size-variant-label .size-variant-price,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Wood"] + label.size-variant-label .size-variant-price,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Brown"] + label.size-variant-label .size-variant-price {
  color: #FFFFFF !important;
}

html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="White"] + label.size-variant-label .size-variant-price {
  color: #2A2520 !important;
}

/* ==========================================
   PRODUCT VARIANT BUTTONS
   Sizes + Black / Wood / Brown / White
   ========================================== */

/* BASE STYLE FOR ALL BUTTONS */
html body variant-selects fieldset.custom-size-picker label.size-variant-label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    min-height: 42px;
    padding: 10px 15px;
    margin: 4px;
    border: 1px solid #D6D0C8 !important;
    border-radius: 4px;
    background-color: #F5F0E8 !important;
    color: #2A2520 !important;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* HOVER EFFECT FOR ALL BUTTONS */
html body variant-selects fieldset.custom-size-picker label.size-variant-label:hover {
    border-color: #2A2520 !important;
}

/* ==========================================
   SELECTED SIZE BUTTON
   ========================================== */

/* Selected size: outlined */
html body variant-selects fieldset.custom-size-picker
input[type="radio"]:checked + label.size-variant-label {
    outline: 2px solid #2A2520 !important;
    outline-offset: 3px !important;
    position: relative;
    z-index: 1;
}

/* ==========================================
   BLACK COLOR BUTTON
   ========================================== */

html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Black"] + label.size-variant-label,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="black"] + label.size-variant-label {
    background-color: #292929 !important;
    color: #FFFFFF !important;
    border: 1px solid #292929 !important;
    box-shadow: none !important;
}

/* BLACK HOVER */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Black"] + label.size-variant-label:hover,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="black"] + label.size-variant-label:hover {
    background-color: #111111 !important;
    border-color: #111111 !important;
}

/* BLACK SELECTED */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Black"]:checked + label.size-variant-label,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="black"]:checked + label.size-variant-label {
    background-color: #292929 !important;
    color: #FFFFFF !important;
    border: 1px solid #292929 !important;
    outline: 2px solid #292929 !important;
    outline-offset: 3px !important;
}

/* ==========================================
   WOOD COLOR BUTTON
   ========================================== */

html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Wood"] + label.size-variant-label,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="wood"] + label.size-variant-label {
    background-color: #B58A5A !important;
    color: #FFFFFF !important;
    border: 1px solid #B58A5A !important;
    box-shadow: none !important;
}

/* WOOD HOVER */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Wood"] + label.size-variant-label:hover,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="wood"] + label.size-variant-label:hover {
    background-color: #9D7449 !important;
    border-color: #9D7449 !important;
}

/* WOOD SELECTED */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Wood"]:checked + label.size-variant-label,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="wood"]:checked + label.size-variant-label {
    background-color: #B58A5A !important;
    color: #FFFFFF !important;
    border: 1px solid #B58A5A !important;
    outline: 2px solid #795D3F !important;
    outline-offset: 3px !important;
}

/* ==========================================
   BROWN COLOR BUTTON
   ========================================== */

html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Brown"] + label.size-variant-label,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="brown"] + label.size-variant-label {
    background-color: #795548 !important;
    color: #FFFFFF !important;
    border: 1px solid #795548 !important;
    box-shadow: none !important;
}

/* BROWN HOVER */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Brown"] + label.size-variant-label:hover,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="brown"] + label.size-variant-label:hover {
    background-color: #624238 !important;
    border-color: #624238 !important;
}

/* BROWN SELECTED */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Brown"]:checked + label.size-variant-label,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="brown"]:checked + label.size-variant-label {
    background-color: #795548 !important;
    color: #FFFFFF !important;
    border: 1px solid #795548 !important;
    outline: 2px solid #795548 !important;
    outline-offset: 3px !important;
}

/* ==========================================
   WHITE COLOR BUTTON
   ========================================== */

html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="White"] + label.size-variant-label,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="white"] + label.size-variant-label,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="WHITE"] + label.size-variant-label {
    display: inline-flex !important;
    background-color: #FFFFFF !important;
    color: #2A2520 !important;
    border: 1px solid #D8D0C4 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* WHITE HOVER */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="White"] + label.size-variant-label:hover,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="white"] + label.size-variant-label:hover,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="WHITE"] + label.size-variant-label:hover {
    background-color: #F7F4EF !important;
    border-color: #B8AA95 !important;
}

/* WHITE SELECTED */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="White"]:checked + label.size-variant-label,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="white"]:checked + label.size-variant-label,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="WHITE"]:checked + label.size-variant-label {
    background-color: #FFFFFF !important;
    color: #2A2520 !important;
    border: 1px solid #2A2520 !important;
    outline: 2px solid #2A2520 !important;
    outline-offset: 3px !important;
}

/* ==========================================
   PRICE TEXT
   ========================================== */

/* Prices on dark color buttons */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Black"] + label.size-variant-label .size-variant-price,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="black"] + label.size-variant-label .size-variant-price,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Wood"] + label.size-variant-label .size-variant-price,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="wood"] + label.size-variant-label .size-variant-price,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="Brown"] + label.size-variant-label .size-variant-price,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="brown"] + label.size-variant-label .size-variant-price {
    color: #FFFFFF !important;
}

/* Price on White button */
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="White"] + label.size-variant-label .size-variant-price,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="white"] + label.size-variant-label .size-variant-price,
html body variant-selects fieldset.custom-size-picker
input[type="radio"][value="WHITE"] + label.size-variant-label .size-variant-price {
    color: #2A2520 !important;
}

/* ==========================================
   UNAVAILABLE VARIANTS
   ========================================== */

/* Keep original capitalization for titles */
.ps-sa-header-row,
.ps-sa-header-row *,
.custom-size-picker .size-picker-header,
.custom-size-picker .size-picker-header * {
  text-transform: none !important;
}

html body variant-selects fieldset.custom-size-picker
input[type="radio"].disabled + label.size-variant-label {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Size and frame color headings */
.custom-size-picker .size-picker-header .form__label {
  display: block !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #111 !important;
  line-height: 1.6 !important;
  letter-spacing: 0.2px !important;
}

/* Selected size or frame color */
.custom-size-picker .size-picker-header [data-selected-value] {
  display: inline !important;
  margin-left: 4px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #555 !important;
}

/* Space between heading and options */
.custom-size-picker .size-picker-header {
  display: block !important;
  margin-bottom: 8px !important;
}

/* Further reduce gap between headings and variant boxes */
.custom-size-picker .size-picker-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.custom-size-picker .size-picker-header .form__label {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.custom-size-picker .size-variant-label {
  margin-top: -2px !important;
}

/* Subtle spacing adjustments */
.ps-sa-header-row {
  margin-bottom: 4px !important;
}

.ps-sa-header-row .ps-sa-dimbar {
  padding: 2px 0 !important;
}

.custom-size-picker .size-picker-header {
  margin-top: 3px !important;
}

  /* ---------- Chat bubble: only on the page itself, never over overlays ---------- */
  #flexy-chat-toggle {
    transition: opacity .2s ease, visibility .2s ease;
  }

  html.noorlar-overlay-open #flexy-chat-toggle,
  body:has(cart-drawer.active) #flexy-chat-toggle,
  body:has(.size-advisor-modal[open]) #flexy-chat-toggle {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

