/* ==========================================================================
   stepii — the storefront's one stylesheet.

     1. Tokens            6. Landing sections (product … returns)
     2. Base              7. Order form
     3. Shell & type      8. Sticky order bar, floating buttons, chat
     4. Buttons, fields   9. Inner pages (confirmation, legal, support …)
     5. Header, footer   10. Account pages, cookie notice, toasts

   The accent is Admin > General Settings > Base colour, printed into
   --sx-accent by the layout. Change it there and the whole store follows.
   Written phone first: the base rules are the phone layout, the min-width
   blocks widen it.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --sx-accent: #E2707B;
  --sx-accent-deep: color-mix(in srgb, var(--sx-accent) 82%, #000);
  --sx-accent-soft: color-mix(in srgb, var(--sx-accent) 10%, #fff);
  --sx-accent-line: color-mix(in srgb, var(--sx-accent) 35%, transparent);

  --sx-ink: #14151A;
  --sx-ink-2: #23252D;
  --sx-ink-3: #3A3D48;
  --sx-muted: #6A6D78;
  --sx-paper: #FAF9F6;
  --sx-sand: #F1EFE9;
  --sx-surface: #FFFFFF;
  --sx-line: rgba(20, 21, 26, 0.10);
  --sx-line-strong: rgba(20, 21, 26, 0.20);
  --sx-on-ink: #FFFFFF;
  --sx-on-ink-soft: rgba(255, 255, 255, 0.68);
  --sx-ok: #14875A;
  --sx-danger: #C8321C;
  --sx-star: #F5A300;

  --sx-font: "Anek Bangla", "Hind Siliguri", "Noto Sans Bengali", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --sx-r-sm: 10px;
  --sx-r: 16px;
  --sx-r-lg: 24px;
  --sx-r-pill: 999px;

  --sx-sh-sm: 0 1px 2px rgba(20, 21, 26, 0.06), 0 2px 8px rgba(20, 21, 26, 0.05);
  --sx-sh: 0 14px 34px -16px rgba(20, 21, 26, 0.22);
  --sx-sh-lg: 0 30px 60px -28px rgba(20, 21, 26, 0.35);

  --sx-header-h: 60px;
  --sx-gutter: clamp(1rem, 4vw, 2.5rem);
  --sx-max: 1180px;
  --sx-section: clamp(1.75rem, 3.5vw, 2.75rem);
  --sx-bar-h: 0px;

  --bs-body-bg: var(--sx-paper);
  --bs-body-color: var(--sx-ink);
  --bs-link-color: var(--sx-accent-deep);
  --bs-link-hover-color: var(--sx-ink);
  --bs-body-font-family: var(--sx-font);
  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sx-header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sx-paper);
  color: var(--sx-ink);
  font-family: var(--sx-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.has-bar { --sx-bar-h: 68px; padding-bottom: calc(var(--sx-bar-h) + env(safe-area-inset-bottom)); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sx-accent-deep); }
h1, h2, h3, h4 { font-family: var(--sx-font); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; color: inherit; margin: 0; }
p { margin: 0; }
button { font-family: inherit; }
::selection { background: var(--sx-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--sx-accent); outline-offset: 3px; border-radius: 4px; }
.sx-skip { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--sx-ink); color: #fff; padding: 0.6rem 1rem; }
.sx-skip:focus { left: 0; color: #fff; }
.sx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Shell & type ---------- */
.sx-container { width: min(100% - 2 * var(--sx-gutter), var(--sx-max)); margin-inline: auto; }
.sx-container--narrow { --sx-max: 820px; }
.sx-section { padding-block: var(--sx-section); }
.sx-section--sand { background: var(--sx-sand); }
.sx-section--ink { background: var(--sx-ink); color: var(--sx-on-ink); }
.sx-section--tight { padding-block: clamp(1.25rem, 3vw, 2rem); }

.sx-head { max-width: 46rem; margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.sx-head--center { margin-inline: auto; text-align: center; }
.sx-head h1, .sx-head h2 { font-size: clamp(1.8rem, 1.2rem + 3vw, 3rem); font-weight: 800; }
.sx-head h1 em, .sx-head h2 em, .sx-accent { font-style: normal; color: var(--sx-accent-deep); }
.sx-section--ink .sx-head h2 em { color: var(--sx-accent); }
.sx-head p { margin-top: 0.5rem; color: var(--sx-muted); font-size: 1.0625rem; }
.sx-section--ink .sx-head p { color: var(--sx-on-ink-soft); }
.sx-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sx-accent-deep); }
.sx-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sx-accent); }
.sx-section--ink .sx-eyebrow { color: var(--sx-accent); }
.sx-hint { color: var(--sx-muted); font-size: 0.9375rem; }

.sx-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.sx-ticks li { position: relative; padding-left: 1.9rem; font-weight: 500; }
.sx-ticks li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--sx-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }

.sx-stars { display: inline-flex; gap: 2px; }
.sx-stars svg { width: 17px; height: 17px; fill: var(--sx-star); }
.sx-stars svg.is-off { fill: #D9D6CE; }

.sx-prose { color: var(--sx-ink-3); }
.sx-prose p { margin-bottom: 1rem; }
.sx-prose h3, .sx-prose h4 { margin: 1.5rem 0 0.6rem; font-size: 1.2rem; }
.sx-prose a { color: var(--sx-accent-deep); text-decoration: underline; }
.sx-prose ul, .sx-prose ol { padding-left: 1.3rem; margin-bottom: 1rem; }

/* ---------- 4. Buttons, fields ---------- */
.sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.7rem 1.6rem; border-radius: var(--sx-r-pill); border: 2px solid transparent;
  font: 700 1.0625rem/1.1 var(--sx-font); cursor: pointer; text-align: center;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sx-btn svg { width: 20px; height: 20px; flex: none; }
.sx-btn--accent { background: var(--sx-accent); color: #fff; box-shadow: 0 12px 26px -12px var(--sx-accent); }
.sx-btn--accent:hover { background: var(--sx-accent-deep); color: #fff; transform: translateY(-2px); }
.sx-btn--ink { background: var(--sx-ink); color: #fff; }
.sx-btn--ink:hover { background: var(--sx-ink-3); color: #fff; }
.sx-btn--line { background: transparent; color: var(--sx-ink); border-color: var(--sx-line-strong); }
.sx-btn--line:hover { border-color: var(--sx-ink); color: var(--sx-ink); }
.sx-btn--light { background: #fff; color: var(--sx-ink); }
.sx-btn--light:hover { background: var(--sx-sand); color: var(--sx-ink); }
.sx-btn--block { width: 100%; }
.sx-btn--lg { min-height: 60px; font-size: 1.1875rem; padding-inline: 2rem; }
.sx-btn--sm { min-height: 42px; padding: 0.45rem 1.1rem; font-size: 0.9375rem; }
.sx-btn[disabled], .sx-btn.is-loading { opacity: .6; pointer-events: none; }

.sx-field { display: grid; gap: 0.4rem; margin: 0; }
.sx-field > span { font-size: 0.9375rem; font-weight: 600; color: var(--sx-ink-2); }
.sx-field > span i { color: var(--sx-danger); font-style: normal; }
.sx-input {
  width: 100%; min-height: 54px; padding: 0.75rem 1rem; border: 1.5px solid var(--sx-line-strong); border-radius: var(--sx-r-sm);
  background: #fff; color: var(--sx-ink); font: 500 1.0625rem/1.4 var(--sx-font); transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
textarea.sx-input { min-height: 88px; resize: vertical; }
select.sx-input { padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314151A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px; }
.sx-input::placeholder { color: #A3A5AD; font-weight: 400; }
.sx-input:focus { outline: 0; border-color: var(--sx-ink); box-shadow: 0 0 0 4px rgba(20, 21, 26, 0.08); }
.sx-input.is-invalid { border-color: var(--sx-danger); }
.sx-error { color: var(--sx-danger); font-size: 0.875rem; font-weight: 500; }
.sx-form { display: grid; gap: 1rem; }

/* ---------- 5. Header, footer ---------- */
.sx-header { position: sticky; top: 0; z-index: 900; background: rgba(250, 249, 246, 0.9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.sx-header.is-stuck { border-color: var(--sx-line); box-shadow: 0 10px 30px -22px rgba(20, 21, 26, 0.5); }
.sx-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--sx-header-h); }
.sx-logo { display: inline-flex; align-items: center; flex: none; }
.sx-logo img { height: 30px; width: auto; }
.sx-logo--white { display: none; }
.sx-wordmark { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.sx-wordmark b { color: var(--sx-accent); }
.sx-nav { display: none; }
.sx-nav a { font-size: 0.9688rem; font-weight: 600; color: var(--sx-ink-3); padding: 0.4rem 0; }
.sx-nav a:hover { color: var(--sx-ink); }
.sx-header__side { display: flex; align-items: center; gap: 0.9rem; }

.sx-footer { background: var(--sx-ink); color: var(--sx-on-ink-soft); padding-block: clamp(1.75rem, 4vw, 2.5rem) 1.25rem; }
.sx-footer a:hover { color: #fff; }
.sx-footer__grid { display: grid; gap: 2rem; }
.sx-footer .sx-logo--ink { display: none; }
.sx-footer .sx-logo--white { display: block; height: 34px; }
.sx-footer .sx-wordmark { color: #fff; }
.sx-footer__about { max-width: 30rem; margin-top: 1rem; font-size: 0.9688rem; }
.sx-footer__title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 0.9rem; }
.sx-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; font-size: 0.9688rem; }
.sx-footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.sx-footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); display: grid; place-content: center; color: #fff; }
.sx-footer__social a:hover { background: var(--sx-accent); border-color: var(--sx-accent); }
.sx-footer__bottom { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; font-size: 0.875rem; }
.sx-footer__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sx-footer__chips span { padding: 0.2rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--sx-r-pill); font-size: 0.8125rem; color: #fff; }

/* ---------- 6. Landing sections ---------- */

/* Product (top of page): photo on one side, the buy box beside it */
.sx-product { padding-block: 0.75rem clamp(1.5rem, 3vw, 2.25rem); }
.sx-product__grid { display: grid; gap: 1.5rem; }
.sx-product__media { position: relative; border-radius: var(--sx-r-lg); overflow: hidden; background: var(--sx-sand); aspect-ratio: 1; box-shadow: var(--sx-sh); touch-action: pan-y; }
/* The photos lie on top of each other; the active one fades in and settles
   from a slight zoom while it is on show. */
.sx-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 4.6s cubic-bezier(.2, .6, .3, 1); }
.sx-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
/* The branded photos are square; the older worn-sock photos are tall, so the
   square frame keeps their feet in view. A square photo is not moved. */
.sx-slide { object-position: center 78%; }
.sx-slide-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; margin-top: -21px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--sx-ink); box-shadow: var(--sx-sh-sm); cursor: pointer; opacity: 0; transition: opacity .2s, transform .2s; }
.sx-slide-nav svg { width: 20px; height: 20px; }
.sx-slide-nav--prev { left: 0.75rem; }
.sx-slide-nav--prev svg { transform: rotate(180deg); }
.sx-slide-nav--next { right: 0.75rem; }
.sx-product__media:hover .sx-slide-nav, .sx-slide-nav:focus-visible { opacity: 1; }
.sx-slide-nav:hover { transform: scale(1.08); }
.sx-slide-count { position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2; padding: 0.15rem 0.7rem; border-radius: var(--sx-r-pill); background: rgba(20, 21, 26, 0.6); color: #fff; font-size: 0.8125rem; font-weight: 600; }
.sx-ribbon { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2; padding: 0.35rem 0.9rem; border-radius: var(--sx-r-pill); background: var(--sx-accent); color: #fff; font-size: 0.9375rem; font-weight: 700; box-shadow: 0 10px 22px -10px var(--sx-accent); }
.sx-thumbs { position: relative; display: flex; gap: 0.6rem; margin-top: 0.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sx-thumbs::-webkit-scrollbar { display: none; }
/* Five to a row; any more scroll sideways. */
.sx-thumb { flex: 0 0 calc((100% - 2.4rem) / 5); scroll-snap-align: start; position: relative; padding: 0; border: 2px solid transparent; border-radius: var(--sx-r); overflow: hidden; background: var(--sx-sand); aspect-ratio: 1; cursor: pointer; transition: border-color .15s, opacity .15s, transform .15s; opacity: .7; }
.sx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sx-thumb:hover { opacity: 1; }
.sx-thumb.is-active { border-color: var(--sx-accent); opacity: 1; }
/* A line fills along the active thumbnail until the next photo comes up. */
.sx-thumb::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sx-accent); transform: scaleX(0); transform-origin: left; }
.is-ticking .sx-thumb.is-active::after { animation: sx-tick 3s linear forwards; }
@keyframes sx-tick { to { transform: scaleX(1); } }

/* Combo offer strip in the buy box */
.sx-deal { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.8rem; width: 100%; margin: 1.1rem 0 0; padding: 0.75rem 0.9rem; border: 1.5px dashed var(--sx-accent); border-radius: var(--sx-r); background: var(--sx-accent-soft); color: var(--sx-ink); text-align: left; font-family: var(--sx-font); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.sx-deal:hover { transform: translateY(-1px); box-shadow: var(--sx-sh-sm); }
.sx-deal__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sx-accent); color: #fff; }
.sx-deal__icon svg { width: 22px; height: 22px; }
.sx-deal__text strong { display: block; font-size: 1.0625rem; font-weight: 800; line-height: 1.25; color: var(--sx-accent-deep); }
.sx-deal__text small { display: block; font-size: 0.875rem; font-weight: 500; color: var(--sx-ink-3); }
.sx-deal__go svg { width: 20px; height: 20px; color: var(--sx-accent-deep); }
.sx-product__brand { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sx-muted); margin-bottom: 0.5rem; }
.sx-product h1 { font-size: clamp(1.9rem, 1.3rem + 3vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.sx-product h1 small { display: block; margin-top: 0.4rem; font-size: 0.5em; font-weight: 600; letter-spacing: 0; color: var(--sx-accent-deep); }
.sx-product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.9rem; margin: 1rem 0 1.25rem; }
.sx-product__price b { font-size: 2.25rem; font-weight: 800; line-height: 1; }
.sx-product__price span { color: var(--sx-muted); font-weight: 500; flex-basis: 100%; }
.sx-product__price s, .sx-offer__price s { color: var(--sx-muted); font-size: 1.25rem; font-weight: 600; }
.sx-off { display: inline-block; padding: 0.15rem 0.6rem; border-radius: var(--sx-r-pill); background: var(--sx-danger); color: #fff; font-style: normal; font-size: 0.8125rem; font-weight: 700; line-height: 1.4; align-self: center; }
.sx-off[hidden], .sx-product__price s[hidden] { display: none; }
.sx-product__opt { margin-bottom: 1.1rem; }
.sx-product__label { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--sx-ink-3); margin-bottom: 0.5rem; }
.sx-pills { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 0.5rem; }
.sx-pillbox { position: relative; margin: 0; cursor: pointer; }
.sx-pillbox input { position: absolute; opacity: 0; inset: 0; }
.sx-product fieldset { border: 0; padding: 0; min-width: 0; }
.sx-product legend { float: none; width: auto; }
.sx-pillbox .sx-pill { width: 100%; }
/* Pairs on top, price under it, so every pack fits one row even on a phone. */
.sx-pill b { font-weight: 700; }
.sx-pill small { font-size: 0.875rem; font-weight: 600; opacity: .8; }
.sx-pill { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.1rem; min-height: 58px; padding: 0.4rem 0.6rem; text-align: center; border-radius: var(--sx-r); border: 1.5px solid var(--sx-line-strong); background: #fff; color: var(--sx-ink); font: 600 1rem/1.2 var(--sx-font); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.sx-pill:hover { border-color: var(--sx-ink); }
.sx-pillbox input:checked + .sx-pill { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }
.sx-pillbox input:focus-visible + .sx-pill { outline: 2px solid var(--sx-accent); outline-offset: 2px; }
.sx-pillbox input:disabled + .sx-pill { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.sx-pill em { font-style: normal; font-size: 0.75rem; font-weight: 700; padding: 0.1rem 0.55rem; border-radius: var(--sx-r-pill); background: var(--sx-accent); color: #fff; }
.sx-pill em.sx-pill__free { background: var(--sx-ok); }
.sx-product__note { margin-top: 0.7rem; text-align: center; font-size: 0.9375rem; font-weight: 600; color: var(--sx-ok); }
.sx-product__lead { margin: 1.1rem 0 0.8rem; padding-top: 1.1rem; border-top: 1px solid var(--sx-line); color: var(--sx-ink-3); }

/* Trust strip */
.sx-trust { background: var(--sx-ink); color: #fff; }
.sx-trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sx-trust__item { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.8rem 0.5rem 0.8rem 0; }
.sx-trust__item svg { width: 26px; height: 26px; flex: none; color: var(--sx-accent); margin-top: 0.1rem; }
.sx-trust__item strong { display: block; font-size: 0.9688rem; font-weight: 700; line-height: 1.3; }
.sx-trust__item span { display: block; font-size: 0.8438rem; color: var(--sx-on-ink-soft); line-height: 1.4; margin-top: 0.15rem; }

/* Benefits */
.sx-benefits { display: grid; gap: 1rem; }
.sx-benefit { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 1rem; align-items: center; padding: 0.75rem; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r-lg); }
.sx-benefit__img { border-radius: var(--sx-r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sx-sand); }
.sx-benefit__img img { width: 100%; height: 100%; object-fit: cover; }
.sx-benefit__no { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--sx-accent-deep); letter-spacing: 0.08em; }
.sx-benefit h3 { font-size: 1.1875rem; margin: 0.15rem 0 0.35rem; }
.sx-benefit--plain { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
.sx-benefit--plain .sx-benefit__no { font-size: 1.75rem; font-weight: 800; letter-spacing: 0; line-height: 1; margin-bottom: 0.5rem; }
.sx-benefit p { font-size: 0.9688rem; color: var(--sx-muted); line-height: 1.55; }

/* Packages */
.sx-packs { display: grid; gap: 1rem; }
.sx-pack { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem 1rem; align-items: center; padding: 1rem; background: var(--sx-surface); border: 2px solid var(--sx-line); border-radius: var(--sx-r-lg); transition: border-color .2s, box-shadow .2s, transform .2s; }
.sx-pack.is-popular { border-color: var(--sx-ink); box-shadow: var(--sx-sh); margin-top: 0.75rem; }
.sx-pack__badge { position: absolute; top: -0.85rem; left: 1rem; padding: 0.2rem 0.85rem; border-radius: var(--sx-r-pill); background: var(--sx-ink); color: #fff; font-size: 0.8125rem; font-weight: 700; }
.sx-pack__name { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.sx-pack__name small { display: block; margin-top: 0.3rem; font-size: 0.9375rem; font-weight: 700; color: var(--sx-ok); }
.sx-pack.is-offer { border-color: var(--sx-accent); box-shadow: 0 18px 40px -22px var(--sx-accent); margin-top: 0.75rem; }
.sx-pack__gift { position: absolute; top: -0.85rem; right: 1rem; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.85rem; border-radius: var(--sx-r-pill); background: var(--sx-accent); color: #fff; font-size: 0.8125rem; font-weight: 700; }
.sx-pack__gift svg { width: 16px; height: 16px; }
.sx-pack__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.6rem; margin-top: 0.25rem; }
.sx-pack__price b { font-size: 1.875rem; font-weight: 800; line-height: 1; }
.sx-pack__price s { color: var(--sx-muted); font-size: 1rem; }
.sx-pack__foot { grid-column: 1 / -1; display: grid; gap: 0.7rem; }
.sx-pack__save { display: inline-flex; align-items: center; gap: 0.4rem; justify-self: start; padding: 0.25rem 0.8rem; border-radius: var(--sx-r-pill); background: color-mix(in srgb, var(--sx-ok) 12%, #fff); color: var(--sx-ok); font-size: 0.9063rem; font-weight: 700; }
.sx-pack__save small { font-weight: 500; font-size: 0.8125rem; color: var(--sx-ink-3); }
.sx-packs__note { margin-top: 1.25rem; text-align: center; }

/* Size & colour */
.sx-size { display: grid; gap: 1.5rem; }
.sx-size__img { border-radius: var(--sx-r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sx-sand); }
.sx-size__img img { width: 100%; height: 100%; object-fit: cover; }
.sx-facts { display: grid; gap: 0; margin: 0 0 1.5rem; border: 1px solid var(--sx-line); border-radius: var(--sx-r); overflow: hidden; background: var(--sx-surface); }
.sx-facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.8rem 1rem; border-top: 1px solid var(--sx-line); }
.sx-facts div:first-child { border-top: 0; }
.sx-facts dt { font-weight: 600; color: var(--sx-muted); font-size: 0.9375rem; }
.sx-facts dd { margin: 0; font-weight: 600; }
.sx-table { width: 100%; border-collapse: collapse; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r); overflow: hidden; font-size: 0.9688rem; }
.sx-table caption { caption-side: top; text-align: left; font-weight: 700; font-size: 1.0625rem; color: var(--sx-ink); padding: 0 0 0.6rem; }
.sx-table th { background: var(--sx-ink); color: #fff; text-align: left; font-weight: 600; padding: 0.65rem 0.8rem; font-size: 0.875rem; }
.sx-table td { padding: 0.7rem 0.8rem; border-top: 1px solid var(--sx-line); font-weight: 500; }

/* Reviews */
.sx-reviews { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; margin-inline: calc(-1 * var(--sx-gutter)); padding-inline: var(--sx-gutter); scrollbar-width: none; }
.sx-reviews::-webkit-scrollbar { display: none; }
.sx-review { scroll-snap-align: start; margin: 0; padding: 1.25rem; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r-lg); display: flex; flex-direction: column; gap: 0.75rem; }
.sx-review p { color: var(--sx-ink-2); font-size: 1rem; flex: 1; }
.sx-review__who { display: flex; align-items: center; gap: 0.7rem; }
.sx-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sx-ink); color: #fff; display: grid; place-content: center; font-weight: 700; flex: none; }
.sx-review__who strong { display: block; font-size: 0.9688rem; line-height: 1.3; }
.sx-review__who small { color: var(--sx-ok); font-weight: 600; font-size: 0.8125rem; }
.sx-write { margin-top: 1.5rem; max-width: 40rem; }
.sx-write summary { cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem; border: 2px solid var(--sx-line-strong); border-radius: var(--sx-r-pill); list-style: none; }
.sx-write summary::-webkit-details-marker { display: none; }
.sx-write[open] summary { border-color: var(--sx-ink); }
.sx-write form { margin-top: 1rem; padding: 1.25rem; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r-lg); }
.sx-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.2rem; }
.sx-rate input { position: absolute; opacity: 0; }
.sx-rate label { cursor: pointer; color: #D9D6CE; margin: 0; }
.sx-rate label svg { width: 30px; height: 30px; fill: currentColor; }
.sx-rate label:hover, .sx-rate label:hover ~ label, .sx-rate input:checked ~ label { color: var(--sx-star); }

/* Delivery & payment */
.sx-charges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
.sx-charge { padding: 1.1rem; border-radius: var(--sx-r-lg); background: var(--sx-ink-2); border: 1px solid rgba(255, 255, 255, 0.1); }
.sx-charge small { display: block; color: var(--sx-on-ink-soft); font-size: 0.875rem; font-weight: 500; }
.sx-charge b { display: block; font-size: 2rem; font-weight: 800; line-height: 1.15; color: #fff; margin: 0.15rem 0; }
.sx-charge span { font-size: 0.875rem; color: var(--sx-accent); font-weight: 600; }
.sx-steps { display: grid; gap: 0.75rem; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.sx-step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 0.9rem; padding: 1.1rem; border-radius: var(--sx-r-lg); background: var(--sx-ink-2); border: 1px solid rgba(255, 255, 255, 0.1); }
.sx-step__icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: grid; place-content: center; color: var(--sx-accent); }
.sx-step__icon svg { width: 24px; height: 24px; }
.sx-step h3 { font-size: 1.0938rem; color: #fff; }
.sx-step p { font-size: 0.9375rem; color: var(--sx-on-ink-soft); margin-top: 0.25rem; line-height: 1.55; }

/* FAQ */
.sx-faq { display: grid; gap: 0.6rem; }
.sx-faq details { background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r); overflow: hidden; }
.sx-faq details[open] { border-color: var(--sx-ink); }
.sx-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; font-weight: 700; font-size: 1.0625rem; line-height: 1.4; }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sx-sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314151A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s; }
.sx-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sx-accent-soft); }
.sx-faq__body { padding: 0 1.1rem 1.1rem; color: var(--sx-ink-3); }
.sx-faq__body p:last-child { margin-bottom: 0; }

/* Returns */
.sx-returns { display: grid; gap: 1.5rem; align-items: center; }
.sx-returns__img { border-radius: var(--sx-r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sx-sand); }
.sx-returns__img img { width: 100%; height: 100%; object-fit: cover; }
.sx-returns__body { color: var(--sx-ink-3); margin: 0.9rem 0 1.25rem; }
.sx-returns .sx-ticks { margin-bottom: 1.25rem; }
.sx-textlink { font-weight: 700; color: var(--sx-ink); border-bottom: 2px solid var(--sx-accent); padding-bottom: 2px; }

/* ---------- 7. Order form ---------- */
.sx-order__card { background: var(--sx-surface); border-radius: var(--sx-r-lg); border: 1px solid var(--sx-line); box-shadow: var(--sx-sh); padding: clamp(1rem, 3.5vw, 2.25rem); }
.sx-order__title { display: flex; align-items: center; gap: 0.7rem; font-size: 1.1875rem; margin-bottom: 1rem; }
.sx-order__title span { width: 30px; height: 30px; border-radius: 50%; background: var(--sx-ink); color: #fff; font-size: 0.9375rem; display: grid; place-content: center; flex: none; }
.sx-checkout { --sx-max: 640px; }
.sx-checkout .sx-head { margin-bottom: 1.25rem; }
.sx-checkout .sx-head h1 { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.25rem); }
.sx-checkout .sx-order__card { box-shadow: var(--sx-sh-sm); }
.sx-checkout .sx-order__card + .sx-order__card { margin-top: 0.9rem; }
.sx-checkout .sx-sum { margin-bottom: 1rem; }
.sx-back { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1rem; font-size: 0.9375rem; font-weight: 600; color: var(--sx-muted); }
.sx-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.sx-item { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem; }
.sx-item img { width: 56px; height: 56px; border-radius: var(--sx-r-sm); object-fit: cover; background: var(--sx-sand); flex: none; }
.sx-item strong { font-size: 1.0625rem; line-height: 1.3; }

.sx-choices { display: grid; gap: 0.6rem; }
.sx-choice { position: relative; display: block; margin: 0; cursor: pointer; }
.sx-choice input { position: absolute; opacity: 0; inset: 0; }
.sx-choice__box { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 0.8rem; padding: 0.85rem 1rem; border: 2px solid var(--sx-line); border-radius: var(--sx-r); background: #fff; transition: border-color .2s, background .2s; }
.sx-choice__box::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--sx-line-strong); transition: border .15s; }
.sx-choice input:checked + .sx-choice__box { border-color: var(--sx-accent); background: var(--sx-accent-soft); }
.sx-choice input:checked + .sx-choice__box::before { border: 7px solid var(--sx-accent); }
.sx-choice input:focus-visible + .sx-choice__box { outline: 2px solid var(--sx-ink); outline-offset: 2px; }
.sx-choice input:disabled + .sx-choice__box { opacity: .5; cursor: not-allowed; }
.sx-choice__box strong { display: block; font-size: 1.0625rem; line-height: 1.25; }
.sx-choice__box small { display: block; font-size: 0.8438rem; color: var(--sx-muted); font-weight: 500; }
.sx-choice__box b { font-size: 1.1875rem; font-weight: 800; white-space: nowrap; }
.sx-choice__box small.sx-choice__deal { color: var(--sx-ok); font-weight: 700; }
.sx-choice__box b s { margin-right: 0.4rem; font-size: 0.875rem; font-weight: 500; color: var(--sx-muted); }
.sx-choice__flag { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.55rem; border-radius: var(--sx-r-pill); background: var(--sx-ink); color: #fff; font-size: 0.7188rem; font-weight: 700; vertical-align: middle; }

.sx-opts { display: grid; gap: 0.6rem; margin-top: 1rem; }
.sx-opt { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; border: 0; padding: 0; margin: 0; }
.sx-opt legend, .sx-opt__label { float: none; width: auto; margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--sx-muted); min-width: 3.25rem; }
.sx-opt__fixed { font-weight: 700; padding: 0.3rem 0.85rem; border-radius: var(--sx-r-pill); background: var(--sx-sand); font-size: 0.9375rem; }
.sx-chip { position: relative; margin: 0; cursor: pointer; }
.sx-chip input { position: absolute; opacity: 0; }
.sx-chip span { display: inline-block; padding: 0.4rem 1rem; border-radius: var(--sx-r-pill); border: 2px solid var(--sx-line-strong); font-weight: 600; font-size: 0.9375rem; }
.sx-chip input:checked + span { border-color: var(--sx-accent); background: var(--sx-accent-soft); }

.sx-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--sx-line-strong); }
.sx-qty-row > span { font-weight: 600; font-size: 0.9688rem; }
.sx-qty { display: inline-flex; align-items: center; border: 2px solid var(--sx-line-strong); border-radius: var(--sx-r-pill); overflow: hidden; background: #fff; }
.sx-qty button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--sx-ink); }
.sx-qty button:hover { background: var(--sx-sand); }
.sx-qty input { width: 48px; height: 46px; border: 0; text-align: center; font: 700 1.125rem var(--sx-font); background: none; color: var(--sx-ink); -moz-appearance: textfield; appearance: textfield; }
.sx-qty input::-webkit-outer-spin-button, .sx-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sx-coupon { margin-top: 1rem; }
.sx-coupon summary { cursor: pointer; font-weight: 600; font-size: 0.9375rem; color: var(--sx-ink-3); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.sx-coupon summary::-webkit-details-marker { display: none; }
.sx-coupon__row { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.sx-coupon__row .sx-input { min-height: 48px; text-transform: uppercase; }
.sx-coupon__row .sx-btn { min-height: 48px; flex: none; }
.sx-coupon__msg { display: block; margin-top: 0.4rem; font-size: 0.875rem; font-weight: 600; }
.sx-coupon__msg.is-ok { color: var(--sx-ok); }
.sx-coupon__msg.is-bad { color: var(--sx-danger); }

.sx-payinfo { display: none; margin-top: 0.25rem; padding: 1rem; border: 1px solid var(--sx-accent-line); border-radius: var(--sx-r); background: var(--sx-accent-soft); }
.sx-payinfo.is-open { display: grid; gap: 0.8rem; }
.sx-payinfo p { font-size: 0.9375rem; white-space: pre-line; color: var(--sx-ink-3); }
.sx-copy { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0.9rem; background: #fff; border: 1px solid var(--sx-line-strong); border-radius: var(--sx-r-sm); }
.sx-copy b { font-size: 1.15rem; letter-spacing: 0.04em; }
.sx-copy button { background: none; border: 0; font-weight: 700; text-decoration: underline; cursor: pointer; color: var(--sx-ink); }

.sx-sum { display: grid; gap: 0.55rem; margin: 1.25rem 0; padding: 1.1rem; border-radius: var(--sx-r); background: var(--sx-sand); }
.sx-sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 1rem; color: var(--sx-ink-3); }
.sx-sum div b { color: var(--sx-ink); font-weight: 700; text-align: right; }
.sx-sum div small { color: var(--sx-muted); font-size: 0.8438rem; }
.sx-sum .is-discount b { color: var(--sx-ok); }
.sx-sum .is-total { margin-top: 0.3rem; padding-top: 0.8rem; border-top: 1px solid var(--sx-line-strong); }
.sx-sum .is-total span { font-weight: 700; color: var(--sx-ink); font-size: 1.0625rem; }
.sx-sum .is-total b { font-size: 1.875rem; font-weight: 800; line-height: 1; }
.sx-secure { margin-top: 0.8rem; text-align: center; font-size: 0.9375rem; font-weight: 600; color: var(--sx-ok); }
.sx-empty { text-align: center; padding: 2rem 1rem; }
.sx-empty h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.sx-empty p { color: var(--sx-muted); margin-bottom: 1.25rem; }

/* ---------- 8. Sticky order bar, floating buttons, chat ---------- */
.sx-bar { position: fixed; inset: auto 0 0 0; z-index: 940; display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem var(--sx-gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(12px); border-top: 1px solid var(--sx-line); box-shadow: 0 -12px 30px -20px rgba(20, 21, 26, 0.45); transition: transform .3s ease; }
.sx-bar__info { line-height: 1.15; min-width: 0; }
.sx-bar__info small { display: block; font-size: 0.8125rem; color: var(--sx-muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-bar__info b { font-size: 1.4375rem; font-weight: 800; }
.sx-bar .sx-btn { flex: 1; min-height: 50px; }
/* On the checkout page the bar already holds the confirm button. */
@media (max-width: 899.98px) { .sx-checkout .sx-sum .is-total { display: flex; } }

.sx-fabs { position: fixed; right: clamp(0.75rem, 3vw, 1.75rem); bottom: calc(var(--sx-bar-h) + env(safe-area-inset-bottom) + clamp(0.75rem, 3vw, 1.75rem)); z-index: 950; display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; pointer-events: none; }
.sx-fabs > * { pointer-events: auto; }
.sx-fabs__stack { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.sx-fab { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: var(--sx-sh); transition: transform .2s; color: #fff; }
.sx-fab:hover { transform: scale(1.07); color: #fff; }
.sx-fab svg { width: 25px; height: 25px; }
.sx-fab--chat { background: var(--sx-ink); }
.sx-fab--wa { background: #25D366; }
.sx-fab--msgr { background: linear-gradient(45deg, #0866FF, #A033FF 70%, #FF5C87); }
.sx-fab--top { display: none; width: 44px; height: 44px; background: #fff; color: var(--sx-ink); border: 1px solid var(--sx-line-strong); }
.sx-fab--top:hover { color: var(--sx-ink); }
.sx-fab--top.is-visible { display: grid; }
.sx-fab--top svg { width: 18px; height: 18px; }

.sx-chat { display: none; width: min(360px, calc(100vw - 1.5rem)); max-height: min(520px, 70vh); flex-direction: column; background: #fff; border-radius: var(--sx-r-lg); border: 1px solid var(--sx-line); box-shadow: var(--sx-sh-lg); overflow: hidden; }
.sx-chat.is-open { display: flex; }
.sx-chat__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1rem; background: var(--sx-ink); color: #fff; }
.sx-chat__head strong { display: block; font-size: 1rem; }
.sx-chat__head span { font-size: 0.8125rem; color: var(--sx-on-ink-soft); display: inline-flex; align-items: center; gap: 0.4rem; }
.sx-chat__head span i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; }
.sx-chat__close { background: none; border: 0; color: #fff; width: 34px; height: 34px; display: grid; place-content: center; cursor: pointer; }
.sx-chat__close svg { width: 20px; height: 20px; }
.sx-chat__identity { padding: 1rem; display: grid; gap: 0.7rem; }
.sx-chat__identity form { display: grid; gap: 0.6rem; }
.sx-chat.has-identity .sx-chat__identity { display: none; }
.sx-chat__body, .sx-chat__form { display: none; }
.sx-chat.has-identity .sx-chat__body { display: flex; }
.sx-chat.has-identity .sx-chat__form { display: flex; }
.sx-chat__body { flex: 1; flex-direction: column; gap: 0.5rem; padding: 1rem; overflow-y: auto; min-height: 180px; background: var(--sx-paper); }
.sx-chat__msg { align-self: flex-start; max-width: 85%; padding: 0.55rem 0.85rem; border-radius: 14px 14px 14px 4px; background: #fff; border: 1px solid var(--sx-line); font-size: 0.9375rem; line-height: 1.45; }
.sx-chat__msg--out { align-self: flex-end; background: var(--sx-ink); color: #fff; border-color: transparent; border-radius: 14px 14px 4px 14px; }
.sx-chat__form { gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--sx-line); }
.sx-chat .sx-input { min-height: 46px; font-size: 1rem; }
.sx-chat__form .sx-btn { min-height: 46px; width: 46px; padding: 0; flex: none; }

/* ---------- 9. Inner pages ---------- */
.sx-pagehead { padding-block: clamp(1.25rem, 3vw, 2rem) 0; }
.sx-pagehead h1 { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.75rem); font-weight: 800; }
.sx-pagehead p { color: var(--sx-muted); margin-top: 0.6rem; max-width: 40rem; }
.sx-panel { background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r-lg); padding: clamp(1.1rem, 3vw, 1.75rem); }
.sx-panel__title { font-size: 1.1875rem; margin-bottom: 1rem; }
.sx-panel .sx-sum { background: none; padding: 0; margin: 0; }
.sx-panel .sx-sum + .sx-sum { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--sx-line); }
.sx-two { display: grid; gap: 1rem; }

.sx-done { text-align: center; max-width: 40rem; margin: 0 auto 1.25rem; }
.sx-done__mark { width: 76px; height: 76px; border-radius: 50%; background: var(--sx-ok); color: #fff; display: grid; place-content: center; margin: 0 auto 1.25rem; box-shadow: 0 0 0 10px color-mix(in srgb, var(--sx-ok) 14%, transparent); }
.sx-done__mark svg { width: 36px; height: 36px; stroke-width: 2.6; }
.sx-done h1 { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.75rem); font-weight: 800; margin: 0.4rem 0 0.7rem; }
.sx-done h1 em { font-style: normal; color: var(--sx-accent-deep); }
.sx-done__no { display: inline-flex; flex-direction: column; gap: 0.15rem; margin-top: 1.25rem; padding: 0.8rem 1.5rem; border: 2px dashed var(--sx-line-strong); border-radius: var(--sx-r); background: #fff; }
.sx-done__no small { font-size: 0.8438rem; color: var(--sx-muted); font-weight: 600; }
.sx-done__no b { font-size: 1.5rem; letter-spacing: 0.06em; }
.sx-done__no button { background: none; border: 0; font-weight: 700; font-size: 0.875rem; text-decoration: underline; cursor: pointer; color: var(--sx-ink-3); }

.sx-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.sx-jump a { padding: 0.4rem 1rem; border-radius: var(--sx-r-pill); border: 2px solid var(--sx-line-strong); font-weight: 600; font-size: 0.9375rem; }
.sx-jump a:hover { border-color: var(--sx-ink); color: var(--sx-ink); }
.sx-legal article { margin-bottom: 1.5rem; scroll-margin-top: calc(var(--sx-header-h) + 16px); }
.sx-legal h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }

.sx-cards { display: grid; gap: 0.9rem; }
.sx-card { padding: 1.25rem; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r-lg); display: flex; flex-direction: column; gap: 0.35rem; }
.sx-card__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--sx-accent-soft); color: var(--sx-accent-deep); display: grid; place-content: center; font-size: 1.4rem; margin-bottom: 0.4rem; }
.sx-card h3 { font-size: 1.0938rem; }
.sx-card p { color: var(--sx-muted); font-size: 0.9688rem; word-break: break-word; }
.sx-card a, .sx-card button { margin-top: 0.4rem; align-self: flex-start; background: none; border: 0; padding: 0; font-weight: 700; color: var(--sx-ink); border-bottom: 2px solid var(--sx-accent); cursor: pointer; }
.sx-map { border-radius: var(--sx-r-lg); overflow: hidden; border: 1px solid var(--sx-line); aspect-ratio: 16 / 10; }
.sx-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 10. Account pages, cookie notice, toasts ---------- */
/* The sign-in, register and ticket templates keep their own markup; these
   rules dress it in the store's look. */
.account { padding: clamp(2rem, 6vw, 4rem) 1rem; }
.account .common__shape, .account .glove--base, .account .pattern-1, .account .logo { display: none; }
.account__inner { max-width: 520px; margin-inline: auto; }
.account__form-wrap { padding: clamp(1.25rem, 4vw, 2.25rem); background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-r-lg); box-shadow: var(--sx-sh); }
.account__subtitle { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sx-accent-deep); margin: 0 0 0.5rem; }
.account__title { font-size: 1.9rem; margin: 0 0 0.5rem; }
.form-control, .form--control, .form-select { min-height: 52px; border: 1.5px solid var(--sx-line-strong); border-radius: var(--sx-r-sm); font-family: var(--sx-font); }
.form-control:focus, .form--control:focus, .form-select:focus { border-color: var(--sx-ink); box-shadow: 0 0 0 4px rgba(20, 21, 26, 0.08); }
.btn--base, .btn.btn--base { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.6rem; background: var(--sx-accent); color: #fff !important; border: 0; border-radius: var(--sx-r-pill); font-weight: 700; }
.btn--base:hover { background: var(--sx-accent-deep); }
.account a:not(.btn), .text--base { color: var(--sx-accent-deep); }
.account .position-relative .toggle-password, .account .password-show-hide { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--sx-muted); cursor: pointer; }
.account .flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.social-list { display: flex; justify-content: center; gap: 0.75rem; list-style: none; padding: 0; margin: 0; }

.cookies-card { position: fixed; left: 0.75rem; bottom: calc(var(--sx-bar-h) + env(safe-area-inset-bottom) + 0.75rem); z-index: 960; width: min(400px, calc(100vw - 1.5rem)); padding: 1.1rem 1.2rem; text-align: left !important; background: #fff; color: var(--sx-ink-3); border: 1px solid var(--sx-line); border-radius: var(--sx-r); box-shadow: var(--sx-sh-lg); transition: transform .4s, opacity .4s; }
.cookies-card.hide { transform: translateY(20px); opacity: 0; pointer-events: none; }
.cookies-card__content { margin: 0; font-size: 0.875rem; line-height: 1.55; }
.cookies-card__content .text--base { text-decoration: underline; }
.cookies-card__content .btn { display: flex; min-height: 42px; margin: 0.8rem 0 0 !important; width: 100%; }
.iziToast { font-family: var(--sx-font); border-radius: var(--sx-r-sm) !important; }
.iziToast .iziToast-title { display: none; }
.iziToast > .iziToast-body .iziToast-message { color: var(--sx-ink-2) !important; font-weight: 500; }

/* Phones: the notice is one slim row and the floating buttons are smaller, so
   neither sits on top of the order button or the form. */
@media (max-width: 899.98px) {
  .cookies-card { left: 0.5rem; width: calc(100vw - 1rem); padding: 0.55rem 0.75rem; }
  .cookies-card__content { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; line-height: 1.4; }
  .cookies-card__content .text--base { white-space: nowrap; }
  .cookies-card__content .btn { width: auto; min-height: 36px; margin: 0 !important; padding: 0 1rem; flex: none; }
  .sx-fab { width: 46px; height: 46px; }
  .sx-fab svg { width: 22px; height: 22px; }
  .sx-fab--top, .sx-fab--top.is-visible { display: none; }
}

/* ---------- Wider screens ---------- */
@media (min-width: 600px) {
  .sx-benefit { grid-template-columns: 150px minmax(0, 1fr); }
  .sx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}

@media (min-width: 900px) {
  :root { --sx-header-h: 72px; }
  body { font-size: 1.0938rem; }
  body.has-bar { --sx-bar-h: 0px; padding-bottom: 0; }
  .sx-bar { display: none; }
  .sx-logo img { height: 34px; }
  .sx-nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
    .sx-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; }

  .sx-product { padding-top: clamp(1rem, 2vw, 1.5rem); }
  .sx-product__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
  .sx-product__gallery { position: sticky; top: calc(var(--sx-header-h) + 1.5rem); }
  .sx-thumbs { gap: 0.8rem; margin-top: 0.8rem; }
  .sx-trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sx-trust__item { padding: 1rem 1rem 1rem 0; }

  .sx-benefits { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
  .sx-benefit { grid-template-columns: 1fr; grid-column: span 2; padding: 0.9rem 0.9rem 1.4rem; align-items: start; align-content: start; }
  .sx-benefit:nth-child(-n + 2) { grid-column: span 3; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); align-items: center; padding: 0.9rem; gap: 1.5rem; }
  .sx-benefit:nth-child(n + 3) .sx-benefit__img { aspect-ratio: 4 / 3; }
  .sx-benefit:nth-child(n + 3) > div:last-child { padding-inline: 0.5rem; }
  .sx-benefit h3 { font-size: 1.375rem; }
  .sx-benefits--plain { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sx-benefits--plain .sx-benefit, .sx-benefits--plain .sx-benefit:nth-child(-n + 2) { grid-column: auto; grid-template-columns: minmax(0, 1fr); padding: 1.5rem; align-items: start; gap: 0; }
  .sx-benefits--plain .sx-benefit > div:last-child { padding-inline: 0; }


  .sx-packs { grid-template-columns: repeat(auto-fit, minmax(220px, 340px)); justify-content: center; align-items: stretch; gap: 1.25rem; }
  .sx-pack { grid-template-columns: 1fr; padding: 1.25rem; align-content: start; gap: 1rem; }
  .sx-pack.is-popular, .sx-pack.is-offer { margin-top: 0; transform: translateY(-10px); }
  .sx-pack__name { font-size: 1.75rem; }
  .sx-pack__price b { font-size: 2.25rem; }
  .sx-pack__foot { align-self: end; }

  .sx-size, .sx-returns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
  .sx-size--solo, .sx-returns--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .sx-size__img { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--sx-header-h) + 1.5rem); }
  .sx-returns__img { aspect-ratio: 4 / 3; }

  .sx-reviews { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 1.25rem; }
  .sx-charges { max-width: 34rem; margin-inline: auto; margin-bottom: 1.5rem; gap: 1.25rem; }
  .sx-charge { text-align: center; padding: 1.5rem; }
  .sx-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .sx-step { grid-template-columns: 1fr; }

  .sx-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
  .sx-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Combo offer popup ---------- */
html.sx-locked { overflow: hidden; }
.sx-offer { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.sx-offer[hidden] { display: none; }
.sx-offer__backdrop { position: absolute; inset: 0; background: rgba(20, 21, 26, 0.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.sx-offer__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); width: min(760px, 100%); max-height: calc(100dvh - 2rem); overflow: auto; background: var(--sx-surface); border-radius: var(--sx-r-lg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .25s, transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.sx-offer.is-open .sx-offer__backdrop { opacity: 1; }
.sx-offer.is-open .sx-offer__card { opacity: 1; transform: none; }
.sx-offer__x { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--sx-ink); box-shadow: var(--sx-sh-sm); cursor: pointer; }
.sx-offer__x svg { width: 18px; height: 18px; }
.sx-offer__art { position: relative; aspect-ratio: 16 / 9; background: var(--sx-sand); overflow: hidden; }
.sx-offer__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.sx-offer__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 21, 26, 0.25)); }
.sx-offer__burst { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: grid; place-items: center; align-content: center; width: 92px; height: 92px; border-radius: 50%; background: var(--sx-accent); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--sx-accent) 30%, transparent), 0 16px 30px -10px rgba(0, 0, 0, 0.45); transform: rotate(-10deg); animation: sx-pop 2.4s ease-in-out infinite; }
.sx-offer__burst b { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.sx-offer__burst small { font-size: 1rem; font-weight: 700; line-height: 1.1; }
@keyframes sx-pop { 0%, 100% { transform: rotate(-10deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.07); } }
.sx-offer__body { padding: 1.25rem 1.25rem 1.1rem; }
.sx-offer__eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.75rem; border-radius: var(--sx-r-pill); background: var(--sx-accent-soft); color: var(--sx-accent-deep); font-size: 0.8125rem; font-weight: 700; }
.sx-offer__eyebrow svg { width: 15px; height: 15px; }
.sx-offer__body h2 { margin: 0.6rem 0 0.8rem; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; }
.sx-offer__pairs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-bottom: 0.9rem; }
.sx-offer__sock { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--sx-sand); color: var(--sx-ink-3); }
.sx-offer__sock svg { width: 26px; height: 26px; }
.sx-offer__sock.is-many { width: auto; gap: 0.2rem; padding: 0 0.7rem; display: inline-flex; font-weight: 800; font-size: 1.125rem; color: var(--sx-ink); }
.sx-offer__sock.is-free { background: var(--sx-accent); color: #fff; box-shadow: 0 10px 20px -10px var(--sx-accent); }
.sx-offer__sock em { position: absolute; top: -0.55rem; right: -0.55rem; padding: 0 0.4rem; border-radius: var(--sx-r-pill); background: var(--sx-ok); color: #fff; font-style: normal; font-size: 0.6875rem; font-weight: 700; line-height: 1.5; }
.sx-offer__plus { font-size: 1.4rem; font-weight: 800; color: var(--sx-accent-deep); padding-inline: 0.15rem; }
.sx-offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.75rem; }
.sx-offer__price b { font-size: 2.25rem; font-weight: 800; line-height: 1; }
.sx-offer__price span { flex-basis: 100%; color: var(--sx-ink-3); font-weight: 600; }
.sx-offer__save { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 0.4rem; margin-top: 0.6rem; padding: 0.25rem 0.8rem; border-radius: var(--sx-r-pill); background: color-mix(in srgb, var(--sx-ok) 12%, #fff); color: var(--sx-ok); font-size: 0.9063rem; font-weight: 700; }
.sx-offer__save small { font-weight: 500; font-size: 0.8125rem; color: var(--sx-ink-3); }
.sx-offer__lead { margin: 0.8rem 0 1rem; font-size: 0.9688rem; color: var(--sx-muted); line-height: 1.5; }
.sx-offer__skip { display: block; width: 100%; margin-top: 0.4rem; padding: 0.6rem; border: 0; background: none; color: var(--sx-muted); font: 600 0.9375rem var(--sx-font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sx-offer__skip:hover { color: var(--sx-ink); }

/* The photo is a landscape flat lay, so the popup stays one column with the
   photo across the top at every width; it only gets a little roomier. */
@media (min-width: 700px) {
  .sx-offer__card { width: min(560px, 100%); }
  .sx-offer__burst { width: 112px; height: 112px; left: 1.25rem; bottom: 1.25rem; }
  .sx-offer__burst b { font-size: 2.3rem; }
  .sx-offer__body { padding: 1.5rem 1.75rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
