/* =====================================================================
   base.css — tokens, reset, layout, primitives shared by every page.
   RTL-first: logical properties only. Colours come from :root vars set in layout.jinja.
   ===================================================================== */
:root {
  --c-text: #111827;
  --c-muted: #6b7280;
  --c-border: #ececef;
  --c-bg: #ffffff;
  --c-surface: #f6f6f8;
  --c-danger: #dc2626;
  --c-success: #15803d;
  --c-warning: #d97706;
  --c-primary-soft: color-mix(in srgb, var(--c-primary) 10%, #fff);
  --c-primary-dark: color-mix(in srgb, var(--c-primary) 80%, #000);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 6%), 0 1px 3px rgb(16 24 40 / 6%);
  --shadow: 0 8px 24px rgb(16 24 40 / 10%);
  --shadow-lg: 0 18px 50px rgb(16 24 40 / 18%);
  --container: 1320px;
  --gutter: 16px;
  --gap: 16px;
  --s-gap: var(--s-gap-m, 24px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hd-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 24px; --gap: 20px; --s-gap: var(--s-gap-d, 24px); } }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(16px * var(--fs-scale, 1)); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100dvh; font-family: var(--font); font-size: .9375rem; line-height: 1.6;
  color: var(--c-text); background: var(--page-bg, var(--c-bg)); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.has-page-bg::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--page-bg-img) center / cover no-repeat; opacity: var(--page-bg-op, .1);
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.3; font-weight: 700; }
p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
del { color: var(--c-muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 1000; padding: 8px 14px; background: var(--c-text); color: #fff; border-radius: var(--radius-xs); }
.skip-link:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--c-muted); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; }
[dir="ltr"] .flip-ltr { transform: scaleX(-1); }
bdi { unicode-bidi: isolate; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--full { max-width: none; padding-inline: 0; }
.main { display: block; min-height: 40vh; scroll-margin-top: var(--hd-h, 72px); } /* skip link: land below the sticky header */

/* ---------- buttons, fields, chips ---------- */
.btn {
  --btn-bg: var(--c-surface); --btn-fg: var(--c-text); --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .55em 1.3em;
  border: 1px solid var(--btn-border); border-radius: var(--pill); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; line-height: 1.2; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { filter: brightness(.96); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.is-loading { opacity: .65; pointer-events: none; }
.btn--primary { --btn-bg: var(--c-primary); --btn-fg: var(--c-on-primary); }
.btn--dark { --btn-bg: var(--pc-btn-bg, var(--c-text)); --btn-fg: var(--pc-btn-fg, #fff); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-text); --btn-border: currentColor; }
.btn--outline:hover { --btn-bg: var(--c-text); --btn-fg: #fff; --btn-border: var(--c-text); filter: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--c-text); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 36px; padding: .4em 1em; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: .7em 1.6em; font-size: 1rem; }
.btn--square { border-radius: var(--radius-xs); }
.btn .ic { width: 1.15em; height: 1.15em; }
.is-loading::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner { display: inline-block; width: 28px; height: 28px; border: 3px solid var(--c-border); border-top-color: var(--c-primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.field { display: grid; gap: 6px; font-size: .875rem; }
.field > span { color: var(--c-muted); }
/* Zid's SDK popups (login phone/OTP, region) are MUI fields with their own box model: leave them alone.
   The exclusion sits in :where() so these selectors keep the specificity the rest of the theme overrides. */
input:is([type="text"], [type="email"], [type="tel"], [type="search"], [type="number"]):where(:not(.MuiInputBase-input, .MuiModal-root *)),
select:where(:not(.MuiInputBase-input, .MuiModal-root *)), textarea:where(:not(.MuiInputBase-input, .MuiModal-root *)) {
  width: 100%; min-height: 44px; padding: .55em .9em; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--c-text); transition: border-color .2s, box-shadow .2s; /* white field: never the container's light text */
}
:is(input, select, textarea):focus:where(:not(.MuiInputBase-input, .MuiModal-root *)) { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
/* iPhone Safari zooms the page into any focused field under 16px (body text is 15px, some fields 14px) */
@media (pointer: coarse) {
  input:is([type="text"], [type="email"], [type="tel"], [type="search"], [type="number"], [type="password"]):where(:not(.MuiInputBase-input, .MuiModal-root *)),
  select:where(:not(.MuiInputBase-input, .MuiModal-root *)), textarea:where(:not(.MuiInputBase-input, .MuiModal-root *)) { font-size: max(16px, 1em) !important; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--c-border); border-radius: var(--pill); font-size: .875rem; background: #fff; transition: border-color .2s, background .2s; }
.chip:hover, .chip.is-active { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary-dark); }
.badge-count { position: absolute; inset-block-start: -4px; inset-inline-end: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--pill); background: var(--c-primary); color: var(--c-on-primary); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.stars { display: inline-flex; gap: 2px; color: #d1d5db; }
.stars .ic { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.stars .is-on { color: #f5a524; }
.stars__count { margin-inline-start: 4px; color: var(--c-muted); font-size: .8125rem; }

/* ---------- home sections ---------- */
.s { position: relative; margin-block-start: var(--s-gap); }
.s--flush, .s--first.s--flush-first { margin-block-start: 0; }
.s--bg { padding-block: clamp(28px, 4vw, 56px); background: var(--s-bg, transparent) var(--s-bg-img, none) center / cover no-repeat; }
body.flush-first-m .s--first { margin-block-start: 0; }
@media (min-width: 768px) {
  body.flush-first-m .s--first { margin-block-start: var(--s-gap); }
  body.flush-first-d .s--first { margin-block-start: 0; }
}
.s__more { display: flex; justify-content: center; margin-block-start: 24px; }

/* section header */
.sh { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-block-end: clamp(18px, 2.5vw, 28px); text-align: center; }
.sh--start { align-items: flex-start; text-align: start; }
.sh__copy { display: grid; gap: 6px; justify-items: inherit; max-width: 760px; }
.sh--center .sh__copy { justify-items: center; }
.sh__eyebrow { color: var(--sh-eyebrow-l, var(--sh-eyebrow, var(--c-primary))); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.sh__title { color: var(--sh-title-l, var(--sh-title, var(--c-text))); font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem); }
.sh__title::after { content: ""; display: block; width: 44px; height: 3px; margin: 10px auto 0; border-radius: 3px; background: var(--sh-line, var(--c-primary)); }
.sh--start .sh__title::after { margin-inline: 0; }
.sh--plain .sh__title::after { display: none; }
.sh__text { color: var(--sh-text-l, var(--sh-text, var(--c-muted))); font-size: .9375rem; }
/* ui.fg_vars: on a dark page (body.page-dark) the dark-page variants */
body.page-dark .sh__eyebrow { color: var(--sh-eyebrow-d, var(--sh-eyebrow, var(--c-primary))); }
body.page-dark .sh__title { color: var(--sh-title-d, var(--sh-title, var(--c-text))); }
body.page-dark .sh__text { color: var(--sh-text-d, var(--sh-text, var(--c-muted))); }

/* view-all — style from body.va-* */
.va { --va-fg: var(--c-text); --va-bg: var(--c-primary); display: inline-flex; align-items: center; gap: 10px; color: var(--va-fg-l, var(--va-fg)); font-weight: 600; font-size: .9375rem; }
body.page-dark .va { color: var(--va-fg-d, var(--va-fg)); }
/* ui.fg_attrs: a text colour from settings, its light- or dark-page variant */
body [data-fg] { color: var(--fg-l, var(--fg)); }
body.page-dark [data-fg] { color: var(--fg-d, var(--fg)); }
.va__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; transition: transform .3s var(--ease), background .2s, color .2s; }
.va__icon .ic { width: 16px; height: 16px; }
.va:hover .va__icon { background: var(--va-bg); border-color: var(--va-bg); color: #fff; transform: translateX(-4px); }
[dir="ltr"] .va:hover .va__icon { transform: translateX(4px); }
body.va-simple_arrow .va__icon { width: auto; height: auto; border: 0; }
body.va-simple_arrow .va:hover .va__icon { background: none; color: inherit; }
body.va-underline .va { text-decoration: underline; text-underline-offset: 6px; }
body.va-underline .va__icon { display: none; }
body.va-button .va, body.va-button_outline .va { min-height: 44px; padding: .55em 1.5em; border-radius: var(--pill); }
body.va-button .va { background: var(--va-bg); color: var(--va-btn-fg, var(--c-on-primary)); } /* ui.view_all: readable on --va-bg */
body.va-button_outline .va { border: 1px solid var(--va-bg, var(--c-text)); }
body.va-button_outline .va:not([style*="--va-bg"]) { --va-bg: var(--c-text); }
body.va-button .va__icon, body.va-button_outline .va__icon { display: none; }
body.va-button_outline .va:hover { background: var(--va-bg); color: #fff; }

/* responsive grid helper: set --cols-xs/--cols-md/--cols-lg/--cols-xl inline */
.grid-r { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); --cols: var(--cols-xs, 2); }
@media (min-width: 768px) { .grid-r { --cols: var(--cols-md, var(--cols-xs, 2)); } }
@media (min-width: 992px) { .grid-r { --cols: var(--cols-lg, var(--cols-md, var(--cols-xs, 2))); } }
@media (min-width: 1200px) { .grid-r { --cols: var(--cols-xl, var(--cols-lg, var(--cols-md, var(--cols-xs, 2)))); } }

/* ---------- carousel (CSS scroll-snap; core.js adds arrows/dots/progress/autoplay) ---------- */
.cr { position: relative; --per: var(--per-xs, 1); --cr-gap: var(--gap); }
@media (min-width: 768px) { .cr { --per: var(--per-md, var(--per-xs, 1)); } }
@media (min-width: 992px) { .cr { --per: var(--per-lg, var(--per-md, var(--per-xs, 1))); } }
@media (min-width: 1200px) { .cr { --per: var(--per-xl, var(--per-lg, var(--per-md, var(--per-xs, 1)))); } }
.cr__track {
  display: grid; grid-auto-flow: column; gap: var(--cr-gap);
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--cr-gap)) / var(--per));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.cr__track::-webkit-scrollbar { display: none; }
.cr__track > * { min-width: 0; scroll-snap-align: start; }
.cr--rows2 .cr__track { grid-template-rows: repeat(2, auto); }
.cr--gapless { --cr-gap: 0px; }
.cr__arrow {
  position: absolute; z-index: 3; inset-block-start: min(var(--cr-arrow-top, 40%), 45vh); display: grid; place-items: center; /* min: a slider taller than the screen keeps its arrows on the first screen, clear of the floating buttons (ISSUE-007) */
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--c-text); box-shadow: var(--shadow);
  transform: translateY(-50%); transition: opacity .2s, background .2s, color .2s;
}
.cr__arrow:hover { background: var(--c-primary); color: var(--c-on-primary); }
.cr__arrow .ic { width: 20px; height: 20px; }
.cr__arrow--prev { inset-inline-start: -10px; }
.cr__arrow--next { inset-inline-end: -10px; }
/* product rows: arrows on the middle of the card image (a margin % is a share of the row's width), not at 40% of the row,
   which is the image's foot, where the cards' countdown sits (A-03); special products lay their cards out sideways */
@media (min-width: 768px) { .cr:has(> .cr__track .pc__media):not(.spp .cr) > .cr__arrow { inset-block-start: 0; margin-block-start: calc((100% - (var(--per) - 1) * var(--cr-gap)) / var(--per) * var(--pc-ratio, 1.3) / 2); } }
.cr__arrow[disabled] { opacity: 0; pointer-events: none; }
.cr.is-static .cr__arrow, .cr.is-static .cr__progress, .cr.is-static .cr__dots, .cr.is-static .cr__play { display: none; }
.cr.is-static:not(.cr--fade) > .cr__track { justify-content: safe center; } /* a short row sits centred, as the heading does; safe: an overflowing one stays at the start (all of it scrollable) */
.hide-arrows .cr__arrow { display: none; }
@media (max-width: 767px) { .hide-arrows-m .cr__arrow { display: none; } .cr__arrow--prev { inset-inline-start: 4px; } .cr__arrow--next { inset-inline-end: 4px; } }
.cr__progress { width: min(220px, 50%); height: 3px; margin: 22px auto 0; overflow: hidden; border-radius: 3px; background: var(--c-border); }
.cr__progress span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--c-primary); transform-origin: right; transform: scaleX(var(--p, .2)); transition: transform .25s; }
[dir="ltr"] .cr__progress span { transform-origin: left; }
.hide-scrollbar .cr__progress { display: none; }
/* 24px targets (WCAG 2.5.8) that paint the same 8px dots (content-box background); the margin and the translate keep
   the dots where the 8px row had them, in flow and in rows placed by inset-block-end */
.cr__dots { display: flex; justify-content: center; margin-block-start: -2px; translate: 0 8px; }
.cr__dot { width: 24px; height: 24px; padding: 8px; border-radius: var(--pill); background: color-mix(in srgb, var(--dots, var(--c-text)) 25%, transparent) content-box; transition: width .3s, background .3s; }
.cr__dot.is-active { width: 38px; background: var(--dots, var(--c-primary)) content-box; }
/* autoplay pause/play toggle (core.js; aria-pressed = stopped): nothing rotates under reduced motion */
.cr__play { position: absolute; z-index: 3; inset-block-end: 10px; inset-inline-end: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgb(0 0 0 / 55%); color: #fff; }
.cr:has(> .cr__progress) > .cr__play { inset-block-end: -14px; } /* in the progress row, off the slides */
.hide-scrollbar .cr > .cr__play { inset-block-end: 10px; }
.tb__slider > .cr__play { inset-block: 0; margin-block: auto; width: 24px; height: 24px; } /* one-line announcement bar */
.cr__play .ic { width: 14px; height: 14px; }
.cr__play .ic + .ic, .cr__play[aria-pressed="true"] .ic:first-child { display: none; }
.cr__play[aria-pressed="true"] .ic + .ic { display: block; }
@media (prefers-reduced-motion: reduce) { .cr__play { display: none; } }
.cr--fade .cr__track { grid-auto-flow: row; grid-auto-columns: auto; overflow: hidden; scroll-snap-type: none; }
.cr--fade .cr__track > * { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.cr--fade .cr__track > .is-active { opacity: 1; visibility: visible; }
.cr--fade .cr__track:not(:has(> .is-active)) > :first-child { opacity: 1; visibility: visible; } /* before core.js runs: the first slide is often the LCP and must not wait for JS */

/* ---------- countdown ---------- */
.cd { display: flex; gap: 8px; direction: rtl; }
[dir="ltr"] .cd { direction: ltr; }
.cd__unit { display: grid; min-width: 56px; padding: 8px 6px; border-radius: var(--radius-sm); background: var(--cd-bg, #fff); color: var(--cd-fg, var(--c-text)); text-align: center; line-height: 1.15; box-shadow: var(--shadow-sm); }
.cd__unit b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.cd__unit small { font-size: .6875rem; } /* retain the foreground's contrast at this small text size */
.cd--inline { gap: 6px; align-items: center; }
.cd--inline .cd__unit { min-width: auto; padding: 0; background: none; box-shadow: none; display: inline-flex; align-items: baseline; gap: 3px; }
.cd--inline .cd__unit b { font-size: 1em; }
.cd--inline .cd__unit + .cd__unit::before { content: ":"; margin-inline-end: 6px; opacity: .6; }
.cd--sm .cd__unit { min-width: 42px; padding: 5px 4px; }
.cd--sm .cd__unit b { font-size: 1rem; }
.cd--sm .cd__unit small { font-size: .625rem; }

/* ---------- marquee ---------- */
.mq { overflow: hidden; }
.mq__track { display: flex; align-items: center; width: max-content; animation: mq var(--mq-dur, 30s) linear infinite; }
.mq:hover .mq__track.is-pausable, .mq.is-paused .mq__track, .mq:focus-within .mq__track, .mq.is-offscreen .mq__track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(50%); } }
[dir="ltr"] .mq__track { animation-name: mq-ltr; }
@keyframes mq-ltr { to { transform: translateX(-50%); } }
.mq--reverse .mq__track { animation-direction: reverse; }

/* ---------- dialogs: drawer / modal ---------- */
dialog { padding: 0; border: 0; color: var(--c-text); background: var(--c-bg); max-width: none; max-height: none; }
dialog:focus { outline: none; } /* focused itself when opened by a tap (core.js openDialog) */
dialog::backdrop { background: rgb(10 12 18 / 50%); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.drawer { --from: 100%; position: fixed; margin: 0; inset-block: 0; inset-inline-start: 0; inset-inline-end: auto; width: min(var(--drawer-w, 420px), 92vw); height: 100%; max-height: 100dvh; flex-direction: column; }
@media (max-width: 767px) { .drawer { width: var(--drawer-w-m, 88vw); } }
.drawer--end { inset-inline-start: auto; inset-inline-end: 0; --from: -100%; }
[dir="ltr"] .drawer { --from: -100%; }
[dir="ltr"] .drawer--end { --from: 100%; }
.drawer[open] { display: flex; animation: drawer-in .35s var(--ease); }
/* closing needs its own keyframes: re-running the finished opening one in reverse just jumps to its end (no slide) */
.drawer.is-closing { animation: drawer-out .2s var(--ease) forwards; }
@keyframes drawer-in { from { transform: translateX(var(--from)); } }
@keyframes drawer-out { to { transform: translateX(var(--from)); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--c-border); }
.drawer__title { font-size: 1.125rem; font-weight: 700; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-border); background: var(--c-bg); }
.drawer__close, .modal__close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-surface); transition: background .2s, transform .2s; }
.drawer__close:hover, .modal__close:hover { background: var(--c-border); transform: rotate(90deg); }
.modal { width: min(var(--modal-w, 960px), calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 18px; overflow: auto; box-shadow: var(--shadow-lg); }
.modal[open] { animation: modal-in .3s var(--ease); }
.modal.is-closing { animation: modal-out .2s var(--ease) forwards; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; z-index: 5; }
.modal__title { margin-block-end: 6px; font-size: 1.25rem; font-weight: 700; }
html.is-locked { overflow: hidden; }

/* ---------- toasts ---------- */
.toasts { position: fixed; inset-block-start: 16px; inset-inline: 0; z-index: 2000; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.toasts[popover] { width: auto; height: auto; inset-block-end: auto; margin: 0; padding: 0; border: 0; overflow: visible; background: none; color: inherit; } /* top layer: above open modals */
.toast { display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--radius-sm); background: var(--c-text); color: #fff; box-shadow: var(--shadow); font-size: .875rem; pointer-events: auto; animation: toast-in .3s var(--ease); }
.toast--success .ic { color: #4ade80; }
.toast--error { background: var(--c-danger); }
.toast a { text-decoration: underline; font-weight: 600; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- reveal on scroll (home, body.reveal) ---------- */
body.reveal .s[data-reveal] { opacity: 0; transform: translateY(28px) scale(.99); }
body.reveal .s.is-in { opacity: 1; transform: none; transition: opacity var(--rv, .7s) ease, transform var(--rv, .7s) var(--ease); }
body.reveal-fast { --rv: .45s; }
body.reveal-slow { --rv: 1.1s; }
body.reveal-stagger .s:not(.is-in) [data-reveal-item] { opacity: 0; transform: translateY(16px); }
body.reveal-stagger .s.is-in [data-reveal-item] { transition: opacity .5s ease, transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
@media (max-width: 767px) { body.reveal-no-m .s[data-reveal], body.reveal-no-m .s [data-reveal-item] { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  body.reveal .s[data-reveal], body.reveal-stagger [data-reveal-item] { opacity: 1 !important; transform: none !important; }
}

/* ---------- content protection ---------- */
body.protect { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body.protect img { -webkit-user-drag: none; pointer-events: none; }
body.protect input, body.protect textarea { -webkit-user-select: text; user-select: text; }

/* ---------- rich text ---------- */
.rte { line-height: 1.8; overflow-wrap: anywhere; }
.rte > * + * { margin-block-start: .8em; }
.rte ul { list-style: disc; padding-inline-start: 1.3em; }
.rte ol { list-style: decimal; padding-inline-start: 1.3em; }
.rte a { color: var(--c-primary); text-decoration: underline; }
.rte img { border-radius: var(--radius-sm); }
/* a table wider than the text scrolls in its own box (the size guide has one already, product.css); cells keep whole
   words: anywhere let the auto layout squeeze columns mid-word */
.rte table { width: 100%; border-collapse: collapse; }
.rte:not(.pdp-sgd__table) table { display: block; max-width: 100%; overflow-x: auto; }
.rte__x { overflow-x: auto; } /* core.js wraps each table: it fills the column when it fits, scrolls in here when not */
.rte .rte__x > table { display: table; }
.rte th, .rte td { padding: 8px 10px; border: 1px solid var(--c-border); text-align: start; overflow-wrap: normal; }
