/* ════════════════════════════════════════════════════════════════════
   ASHU storefront shell + shared components (all pages).
   Logical properties throughout → the same rules mirror correctly in RTL.
   Homepage-only sections live in home.css.
   ════════════════════════════════════════════════════════════════════ */

/* ── Shared section scaffolding ───────────────────────────────────── */
.section { padding-block: var(--section-y); }
.section--slim { padding-block: calc(var(--section-y) * .6); }
.section--tint { background: var(--bg-section-alt, var(--color-primary-tint)); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); margin-block-end: var(--space-6); }
.sec-title { font-size: var(--fs-xl); margin: 0; }
.sec-sub { color: var(--color-text-muted); margin: var(--space-2) 0 0; max-inline-size: 56ch; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--fw-bold); white-space: nowrap; text-decoration: none; color: var(--color-navy); padding-block: 6px; border-block-end: 2px solid var(--color-primary); }
.sec-link:hover { color: var(--color-primary-strong); }
.sub-title { font-size: var(--fs-md); margin-block: var(--space-7) var(--space-4); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 var(--space-2); font-size: var(--fs-xs); font-weight: var(--fw-bold);
  letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary-strong); }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: var(--fs-sm); }
.eyebrow--pill { background: var(--color-surface); border: 1px solid var(--color-border); padding: 6px 14px 6px 10px; border-radius: var(--radius-pill); box-shadow: var(--shadow-xs); color: var(--color-secondary-strong); }
.eyebrow--pill .icon { color: var(--color-secondary); }
.eyebrow--light { color: #bfeefe; }
.btn-lg { min-block-size: 54px; padding-inline: 28px; font-size: 1rem; }
.flash-wrap { padding-block-start: var(--space-4); }
.site-main { min-block-size: 50vh; }
.site-main:focus { outline: none; }

/* Mobile horizontal rail (swipe) – becomes a normal grid from 768px */
@media (max-width: 767.98px) {
  .rail-mobile { display: flex !important; gap: var(--space-3) !important; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-block-end: var(--space-2); scrollbar-width: none; }
  .rail-mobile::-webkit-scrollbar { display: none; }
  .rail-mobile > li { flex: 0 0 44%; scroll-snap-align: start; }
}

/* ── Announcement bar: continuous ticker (track duplicated once in the markup
   for a seamless loop – translateX(-50%) lands exactly on the clone). ──── */
.announce { background: var(--color-navy); color: #e3f1fb; font-size: var(--fs-sm); overflow: hidden; }
.announce__viewport { min-block-size: 38px; display: flex; align-items: center; overflow: hidden; }
.announce__track { display: flex; align-items: center; flex: none; white-space: nowrap; animation: announce-scroll 14s linear infinite; }
[dir="rtl"] .announce__track { animation-direction: reverse; }
@media (hover: hover) and (pointer: fine) { .announce:hover .announce__track, .announce:focus-within .announce__track { animation-play-state: paused; } }
.announce__group { display: flex; align-items: center; flex: none; }
.announce__item { display: inline-flex; align-items: center; gap: 10px; padding-inline-end: var(--space-6); color: inherit; text-decoration: none; line-height: 1; }
.announce__item--deal { cursor: pointer; }
.announce__item--deal:hover .announce__label, .announce__item--deal:focus-visible .announce__label { text-decoration: underline; text-underline-offset: 3px; }
.announce__badge { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 4px 8px; border: 1px solid rgba(111, 222, 230, .32); border-radius: var(--radius-pill);
  background: rgba(11, 158, 196, .20); color: #b6f2f2; font-size: .68rem; font-weight: var(--fw-bold); letter-spacing: .055em; }
.announce__label { color: #f3f8fc; }
.announce__price { color: #a8e8c7; font-weight: var(--fw-bold); }
.announce__item::after { content: ""; inline-size: 5px; block-size: 5px; border-radius: 50%; background: var(--color-secondary); margin-inline-start: var(--space-6); flex: none; }
.announce__item--deal:focus-visible { outline: 2px solid #b6f2f2; outline-offset: -3px; border-radius: var(--radius-pill); }
@media (max-width: 599.98px) {
  .announce { font-size: .76rem; }
  .announce__item { gap: 7px; padding-inline-end: var(--space-5); }
  .announce__badge { padding: 3px 7px; font-size: .61rem; letter-spacing: .025em; }
  .announce__item::after { margin-inline-start: var(--space-5); }
}
@keyframes announce-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .announce__track { animation: none; white-space: normal; flex-wrap: wrap; justify-content: center; }
  .announce__viewport { overflow: visible; }
  .announce__group[aria-hidden] { display: none; }
}

/* ── Floating controls: WhatsApp (right) + scroll-to-top (left) ─────
   Pinned to physical sides on purpose (not logical inline-start/end): both
   are global widgets whose position shouldn't flip between EN and AR. */
.fab { position: fixed; inset-block-end: max(20px, env(safe-area-inset-bottom)); z-index: 55; display: grid; place-items: center;
  inline-size: 56px; block-size: 56px; border-radius: 50%; border: none; text-decoration: none; cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(18, 63, 76, .38), 0 2px 8px rgba(18, 63, 76, .14);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) { .fab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 30px -10px rgba(18, 63, 76, .42), 0 3px 10px rgba(18, 63, 76, .16); } }
.fab__icon { inline-size: 26px; block-size: 26px; }
.fab-whatsapp { inset-inline-end: auto; right: 20px; background: #25d366; color: #fff;
  box-shadow: 0 0 0 4px rgba(11, 158, 196, .16), 0 12px 26px -10px rgba(18, 63, 76, .38), 0 2px 8px rgba(18, 63, 76, .14);
  animation: fab-pulse 3.6s ease-in-out 2s infinite; }
@keyframes fab-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(11, 158, 196, .16), 0 12px 26px -10px rgba(18, 63, 76, .38), 0 2px 8px rgba(18, 63, 76, .14); }
  50% { box-shadow: 0 0 0 9px rgba(11, 158, 196, .07), 0 12px 26px -10px rgba(18, 63, 76, .38), 0 2px 8px rgba(18, 63, 76, .14); } }

/* Scroll-to-top: a fixed circular progress indicator, not a show/hide fab.
   It stays put once scrolling starts (no repeated jumping in/out) — only its
   opacity (empty-ring state near the top) and ring fill react to scroll. */
.fab-top { inset-inline-start: auto; left: 20px; inline-size: 50px; block-size: 50px;
  background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-primary);
  opacity: .55; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.fab-top.is-active { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .fab-top:hover { transform: translateY(-3px) scale(1.06); } }
.fab-top .fab__icon, .fab-top__ring { grid-area: 1 / 1; }
.fab-top__ring { inline-size: 100%; block-size: 100%; transform: rotate(-90deg); }
.fab-top__ring-track { fill: none; stroke: rgba(18, 63, 76, .14); stroke-width: 3; }
.fab-top__ring-fill { fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 131.95; stroke-dashoffset: 131.95; }
@media (max-width: 599.98px) {
  .fab { inline-size: 48px; block-size: 48px; inset-block-end: max(14px, env(safe-area-inset-bottom)); }
  .fab__icon { inline-size: 22px; block-size: 22px; }
  .fab-whatsapp { right: 14px; }
  .fab-top { left: 14px; inline-size: 44px; block-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .fab-whatsapp { animation: none; }
  .fab, .fab-top { transition: none; }
}

/* ── Header ───────────────────────────────────────────────────────── */
.hdr { position: sticky; inset-block-start: 0; z-index: 60; background: rgba(248,251,250,.96); border-block-end: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur), background-color var(--dur); }
@supports (backdrop-filter: blur(8px)) { .hdr { background: rgba(248,251,250,.86); backdrop-filter: saturate(180%) blur(14px); } }
.hdr.is-scrolled { border-block-end-color: var(--color-border); box-shadow: 0 8px 24px -18px rgba(18,63,76,.30); }
.hdr__bar { display: flex; align-items: center; gap: var(--space-4); min-block-size: var(--header-h); }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { display: block; block-size: 66px; inline-size: auto; }
.hdr__icon { position: relative; display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: var(--radius-pill);
  border: 0; background: transparent; color: var(--color-navy); cursor: pointer; text-decoration: none; transition: background-color var(--dur-fast); }
.hdr__icon:hover { background: var(--color-primary-tint); color: var(--color-navy); }
.hdr__nav { display: none; }
.hdr__nav > ul { display: flex; align-items: center; gap: 2px; }
.hdr__nav a, .hdr__menu-btn { display: inline-flex; align-items: center; gap: 4px; min-block-size: 44px; padding-inline: 12px; border: 0; background: none;
  border-radius: var(--radius-pill); font-weight: var(--fw-semibold); font-size: .95rem; color: var(--color-text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.hdr__nav a:hover, .hdr__menu-btn:hover, .hdr__menu-btn[aria-expanded=true] { background: var(--color-primary-tint); color: var(--color-navy); }
.hdr__nav a[aria-current=page] { color: var(--color-navy); box-shadow: inset 0 -2px 0 var(--color-primary); border-radius: 0; }
.hdr__menu-btn .icon { transition: transform var(--dur) var(--ease); }
.hdr__menu-btn[aria-expanded=true] .icon { transform: rotate(180deg); }
.hdr__search { position: relative; display: none; flex: 1 1 200px; max-inline-size: 300px; margin-inline-start: auto; }
.hdr__search input { min-block-size: 44px !important; padding-block: 8px !important; padding-inline: 42px 14px !important; border-radius: var(--radius-pill) !important;
  background: var(--color-surface-2) !important; border-color: transparent !important; font-size: var(--fs-sm); }
.hdr__search input:focus { background: var(--color-surface) !important; border-color: var(--color-primary) !important; }
.hdr__search-icon { position: absolute; inset-inline-start: 14px; inset-block-start: 50%; transform: translateY(-50%); color: var(--color-text-muted); pointer-events: none; }
.hdr__tools { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.hdr__search + .hdr__tools { margin-inline-start: 0; }
.hdr__lang, .hdr__admin { display: none; align-items: center; gap: 6px; min-block-size: 44px; padding-inline: 12px; border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold); font-size: var(--fs-sm); color: var(--color-navy); text-decoration: none; }
.hdr__lang { border: 1px solid var(--color-border); }
.hdr__lang:hover, .hdr__admin:hover { background: var(--color-primary-tint); color: var(--color-navy); }
/* Language names: on English pages the word "العربية" uses a system Arabic font so the
   ~90 KB Arabic webfont is not downloaded just for one label (and vice-versa is free:
   Latin already comes from Plus Jakarta Sans on Arabic pages). */
html:lang(en) [lang=ar] { font-family: "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", system-ui, sans-serif; }
html:lang(ar) [lang=en] { font-family: var(--font-latin); }
.cart-badge { position: absolute; inset-block-start: 3px; inset-inline-end: 1px; min-inline-size: 19px; block-size: 19px; padding-inline: 5px; border-radius: var(--radius-pill);
  background: var(--color-secondary-strong); color: #fff; font-size: .7rem; font-weight: var(--fw-heavy); line-height: 19px; text-align: center; font-family: var(--font-latin); }
.hdr__search-panel { border-block-start: 1px solid var(--color-border); background: var(--color-surface); padding-block: var(--space-3); }
.hdr__search-panel form { display: flex; gap: var(--space-2); }
.hdr__search-panel input { min-block-size: 44px !important; }

@media (min-width: 640px)  { .hdr__lang { display: inline-flex; } }
@media (min-width: 768px)  { .hdr__search { display: block; } .hdr__search-toggle { display: none; } .hdr__search-panel { display: none !important; } }
@media (min-width: 1180px) {
  .hdr__burger { display: none; }
  .hdr__nav { display: block; margin-inline-start: var(--space-4); }
  .hdr__admin { display: inline-flex; }
  .hdr__search { max-inline-size: 240px; }
}
@media (min-width: 1360px) { .hdr__search { max-inline-size: 300px; } .hdr__nav a, .hdr__menu-btn { padding-inline: 14px; } }
@media (max-width: 1359.98px) { .hdr__logo img { block-size: 60px; } }
@media (max-width: 639.98px) { .hdr__bar { gap: 10px; } .hdr__logo img { block-size: 58px; } }
@media (max-width: 399.98px) { .hdr__logo img { block-size: 56px; } }
@media (max-width: 374.98px) { .hdr__bar, .hdr__tools { gap: 0; } .hdr__logo img { block-size: 54px; } }

/* Categories dropdown (desktop) */
.hdr__has-menu { position: relative; }
.mega { position: absolute; inset-block-start: calc(100% + 10px); inset-inline-start: -12px; z-index: 70; inline-size: 560px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-4); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__link { display: flex; align-items: center; gap: var(--space-3); padding: 8px 10px; border-radius: var(--radius-sm); color: var(--color-text) !important;
  font-weight: var(--fw-semibold) !important; min-block-size: 48px !important; }
.mega__link:hover { background: var(--color-primary-tint); }
.mega__icon { flex: none; display: grid; place-items: center; inline-size: 36px; block-size: 36px; border-radius: var(--radius-sm); background: var(--color-primary-tint); color: var(--color-primary-strong); }
.mega__icon svg { inline-size: 22px; block-size: 22px; }
.hdr__nav .mega__all { display: flex; justify-content: space-between; margin-block-start: var(--space-3); padding: 12px 14px; border-radius: var(--radius);
  background: var(--color-navy); color: #fff; box-shadow: none; }
.hdr__nav .mega__all:hover { background: var(--color-navy-700); color: #fff; }

/* Mobile drawer (native <dialog>: focus trap + Esc handled by the browser) */
.drawer { position: fixed; inset-block: 0; inset-inline-start: 0; inset-inline-end: auto; margin: 0; padding: 0; border: 0;
  inline-size: min(88vw, 380px); max-inline-size: none; block-size: 100dvh; max-block-size: none; background: var(--color-surface);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg); transform: translateX(-100%); transition: transform var(--dur-slow) var(--ease), display var(--dur-slow) allow-discrete, overlay var(--dur-slow) allow-discrete; }
[dir=rtl] .drawer { transform: translateX(100%); }
.drawer:not([open]) { display: none; }
.drawer[open] { transform: none; }
@starting-style { .drawer[open] { transform: translateX(-100%); } [dir=rtl] .drawer[open] { transform: translateX(100%); } }
.drawer::backdrop { background: rgba(11,39,48,.45); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-4); border-block-end: 1px solid var(--color-border); }
.drawer__head img { display: block; block-size: 56px; inline-size: auto; }
.drawer__nav { flex: 1; overflow-y: auto; padding: var(--space-3) var(--space-3) var(--space-5); }
.drawer__nav a { display: flex; align-items: center; gap: var(--space-3); min-block-size: 48px; padding-inline: var(--space-3); border-radius: var(--radius-sm);
  color: var(--color-text); font-weight: var(--fw-semibold); text-decoration: none; }
.drawer__nav a:hover, .drawer__nav a[aria-current=page] { background: var(--color-primary-tint); color: var(--color-navy); }
.drawer__label { margin: var(--space-5) var(--space-3) var(--space-2); font-size: var(--fs-xs); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .1em; color: var(--color-text-subtle); }
:lang(ar) .drawer__label { letter-spacing: 0; }
.drawer__cats a { font-weight: var(--fw-medium); }
.drawer__foot { display: grid; gap: var(--space-2); padding: var(--space-4); border-block-start: 1px solid var(--color-border); }
body.drawer-open { overflow: hidden; }

/* ── Product card ─────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (min-width: 768px)  { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-grid > li { display: flex; }
.pcard { position: relative; display: flex; flex-direction: column; inline-size: 100%; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur); }
/* Card hover = .is-hover set by store.js on mouse devices (always animates); plain :hover without JS. */
:is(.pcard.is-hover, html:not([data-card-hover]) .pcard:hover) { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--color-primary-tint-2); }
.pcard__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, var(--color-primary-tint-2) 0%, var(--color-primary-tint) 45%, #f7fbfd 100%); }
/* Packshots are 3:4 with the product filling ~75–90% of their height: contain (never crop a pump or label)
   with only a thin inner margin, so the product uses the full frame height. */
.pcard__media img { inline-size: 100%; block-size: 100%; object-fit: contain; padding: 3% 4% 1%; transition: transform var(--dur-slow) var(--ease); }
:is(.pcard.is-hover, html:not([data-card-hover]) .pcard:hover) .pcard__media img { transform: scale(1.04) translateY(-2%); }
/* Card renditions (uploads/products/card/): square, shadow-free, product already centred with an even
   built-in margin – fill the square frame edge to edge; a gentler hover zoom keeps caps and labels inside. */
.pcard__media img.pcard__img--card { padding: 0; object-position: center; }
:is(.pcard.is-hover, html:not([data-card-hover]) .pcard:hover) .pcard__media img.pcard__img--card { transform: scale(1.03); }
/* Secondary image (designed visual) – ONLY on the product card (.pcard), the homepage
   showcase tile (.tile) and the homepage category card (.cat-card). Each frame is the
   layer's positioning context, so it can never escape onto other sections, and it never
   takes pointer events. Crossfades in on real hover devices only; touch screens never
   render it, so it is never downloaded there. Same frame, no layout shift.
   The fade follows the .is-hover class from store.js (see the card rule above), keyboard focus
   shows it too; without JS plain :hover applies. */
.pcard__media.has-alt, .tile__media.has-alt, .cat-card__art.has-alt { position: relative; overflow: hidden; }
:is(.pcard__media, .tile__media, .cat-card__art).has-alt > img { transform: none; transition: opacity 300ms ease; }
:is(.pcard__media, .tile__media, .cat-card__art).has-alt > .card-alt { display: block; position: absolute; inset: 0; inline-size: 100%; block-size: 100%;
  padding: 0; object-fit: contain; mix-blend-mode: normal; opacity: 0; pointer-events: none; }
/* Designed visuals are square, full-bleed and centred: fill product frames edge to edge (square card = exact
   fit; the 4:5 showcase tile trims only background at the sides). */
:is(.pcard__media, .tile__media).has-alt > .card-alt { object-fit: cover; }
@media not all and (hover: hover) and (pointer: fine) {
  :is(.pcard__media, .tile__media, .cat-card__art).has-alt > .card-alt { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  :is(.pcard.is-hover, .pcard:focus-within, html:not([data-card-hover]) .pcard:hover) > .pcard__media.has-alt > img:first-child,
  :is(.tile.is-hover, .tile:focus-within, html:not([data-card-hover]) .tile:hover) > .tile__media.has-alt > img:first-child,
  :is(.cat-card.is-hover, .cat-card:focus-visible, html:not([data-card-hover]) .cat-card:hover) > .cat-card__art.has-alt > img:first-child { opacity: 0; transform: none; }
  :is(.pcard.is-hover, .pcard:focus-within, html:not([data-card-hover]) .pcard:hover) > .pcard__media.has-alt > .card-alt,
  :is(.tile.is-hover, .tile:focus-within, html:not([data-card-hover]) .tile:hover) > .tile__media.has-alt > .card-alt,
  :is(.cat-card.is-hover, .cat-card:focus-visible, html:not([data-card-hover]) .cat-card:hover) > .cat-card__art.has-alt > .card-alt { opacity: 1; transform: none; }
}
.pcard__badge { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: var(--fw-bold);
  background: var(--color-surface); color: var(--color-navy); box-shadow: var(--shadow-xs); }
.pcard__badge--offer { background: var(--color-navy); color: #fff; }
.pcard__badge--new { background: var(--color-secondary-strong); color: #fff; }
.pcard__badge--featured { background: var(--color-primary-strong); color: #fff; }
.pcard__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: var(--space-4); }
.pcard__cat { font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--color-primary-strong); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
:lang(ar) .pcard__cat { letter-spacing: 0; font-size: var(--fs-sm); }
.pcard__title { font-size: 1rem; font-weight: var(--fw-bold); margin: 0; line-height: 1.35; }
.pcard__title a { color: var(--color-text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }           /* whole card clickable */
.pcard__title a:hover { color: var(--color-navy); }
.pcard__variants { margin: 0; font-size: var(--fs-sm); color: var(--color-text-muted); }
.pcard__rating { margin: 0; font-size: var(--fs-sm); color: var(--color-warning); }
.pcard__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px var(--space-2); margin-block-start: auto; padding-block-start: var(--space-2); }
.pcard__cta { position: relative; z-index: 1; margin-block-start: var(--space-2); inline-size: 100%; }
.pcard__cat { position: relative; }
.pcard__cat { z-index: 1; }
.price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-variant-numeric: tabular-nums; }
.price__from { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--color-text-muted); }
.price__now { font-size: 1.12rem; font-weight: var(--fw-heavy); color: var(--brand-primary); }
.price__now--sale { color: var(--color-error); }
.price__was { font-size: var(--fs-sm); color: var(--color-text-subtle); }
.stock { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--color-success); }
.stock::before { content: ""; inline-size: 7px; block-size: 7px; border-radius: 50%; background: currentColor; }
.stock--low { color: var(--color-warning); }
.stock--out { color: var(--color-text-subtle); }
@media (max-width: 479.98px) {
  .pcard__body { padding: var(--space-3); }
  .pcard__title { font-size: .92rem; }
  .price__now { font-size: 1rem; }
  .pcard__cta { font-size: .8rem; padding-inline: 10px; }
  .pcard__cta .icon { display: none; }
}

/* ── Payment chips / admin preview notes ──────────────────────────── */
.pay-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pay-chips li { display: inline-flex; align-items: center; gap: 8px; min-block-size: 40px; padding-inline: 14px; border-radius: var(--radius-sm);
  background: var(--color-surface); border: 1px solid var(--color-border); font-weight: var(--fw-bold); font-size: var(--fs-sm); color: var(--color-navy); }
.pay-chips--dark li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.pay-chips--disabled li { color: var(--color-text-muted); border-style: dashed; }
.pay-chips__state { font-size: .7rem; font-weight: var(--fw-semibold); color: var(--color-warning); }
.preview-note { margin: 0; padding: 12px 16px; border-radius: var(--radius); background: var(--color-warning-bg); color: #5c3d00; border: 1px dashed #e2c36b; font-size: var(--fs-sm); }
.preview-note--dark { background: rgba(255,246,221,.12); color: #ffe7a3; border-color: rgba(255,231,163,.4); margin-block-start: var(--space-4); }

/* ── Footer ───────────────────────────────────────────────────────── */
.ftr { color: #cfe9ef; margin-block-start: var(--space-7); }
.ftr__wave { color: var(--color-navy); line-height: 0; }
.ftr__wave svg { inline-size: 100%; block-size: 40px; }
[dir=rtl] .ftr__wave svg { transform: scaleX(-1); }
.ftr__main { background: var(--color-navy); padding-block: var(--space-7) var(--space-6); }
.ftr__grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--space-7); } }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { color: #3bb4d6; text-decoration: underline; }  /* ASHU cyan, lightened so it clears AA contrast on the dark footer */
.ftr__logo { display: inline-block; margin-block-end: var(--space-4); }
.ftr__logo img { display: block; inline-size: clamp(132px, 13vw, 168px); block-size: auto; object-fit: contain; }
.ftr__brand p { max-inline-size: 40ch; margin: 0; color: #b8dce2; line-height: 1.7; }
.ftr__title { color: #fff; font-size: 1rem; margin-block: 0 var(--space-4); }
.ftr__title--sub { margin-block-start: var(--space-5); }
.ftr__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: #8fc7d4; margin-block: var(--space-4) var(--space-2); }
.ftr__col ul { display: grid; gap: 10px; }
.ftr__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr__contact .icon { margin-block-start: 3px; color: #7ed16c; }  /* ASHU green accent, as a small contrasting detail among the aqua/cyan */
.ftr__social { display: flex !important; flex-wrap: wrap; gap: var(--space-2) !important; }
.ftr__social a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-pill); }
.ftr__bottom { background: var(--color-navy-900); padding-block: var(--space-4); font-size: var(--fs-sm); color: #9fc9d6; }
.ftr__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.ftr__bottom p { margin: 0; }
.ftr__langs { display: inline-flex; gap: var(--space-2); }
.ftr__langs a[aria-current=true] { font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 4px; }

/* ── Simple pages: placeholder, CMS page, contact, auth, account ─── */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: var(--color-text-muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--color-text-subtle); }
.crumbs a { color: var(--color-text-muted); }
.placeholder { padding-block: var(--space-6) var(--space-8); }
.placeholder__card { max-inline-size: 640px; margin: var(--space-5) auto 0; text-align: center; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.placeholder__icon { display: inline-grid; place-items: center; inline-size: 72px; block-size: 72px; border-radius: 50%; background: var(--color-primary-tint); color: var(--color-primary-strong); margin-block-end: var(--space-4); }
.placeholder__icon svg { inline-size: 36px; block-size: 36px; }
.prose { max-inline-size: 760px; padding-block: var(--space-7); }
.contact-page { padding-block: var(--space-7) var(--space-8); }
.contact-cards { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-block-start: var(--space-6); }
.contact-card { display: grid; gap: 6px; block-size: 100%; padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  color: var(--color-text); text-decoration: none; transition: box-shadow var(--dur), border-color var(--dur); }
a.contact-card:hover { box-shadow: var(--shadow); border-color: var(--color-primary-tint-2); color: var(--color-text); }
.contact-card .icon { color: var(--color-primary-strong); inline-size: 28px; block-size: 28px; }
.contact-card strong { color: var(--color-navy); }
.auth { display: grid; place-items: center; padding-block: var(--space-7) var(--space-8); }
.auth__card { inline-size: 100%; max-inline-size: 480px; }
.auth__title { font-size: 1.5rem; text-align: center; }
.auth__alt { text-align: center; margin-block: 16px 0; color: var(--color-text-muted); }
.account { padding-block: var(--space-7) var(--space-8); }
.account .card { max-inline-size: 640px; }
.foundation { text-align: center; padding-block: var(--space-9); }

/* ── Quantity stepper (product page, cart) ───────────────────────── */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-pill); background: var(--color-surface); overflow: hidden; flex: none; }
.qty__btn { display: grid; place-items: center; inline-size: 44px; block-size: 52px; border: 0; background: none; color: var(--color-navy); cursor: pointer; }
.qty__btn:hover { background: var(--color-primary-tint); }
.qty__input { inline-size: 52px !important; min-block-size: 52px !important; padding: 0 !important; border: 0 !important; text-align: center; font-weight: var(--fw-bold); -moz-appearance: textfield; background: transparent !important; box-shadow: none !important; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__btn:disabled { color: var(--color-text-subtle); cursor: not-allowed; background: none; }
.qty--sm .qty__btn { inline-size: 40px; block-size: 44px; }
.qty--sm .qty__input { inline-size: 44px !important; min-block-size: 44px !important; }

/* ── Add-to-cart toast (all store pages) ─────────────────────────── */
.toast { position: fixed; inset-block-end: 20px; inset-inline: 16px; z-index: 90; display: flex; align-items: center; gap: var(--space-3); max-inline-size: 440px; margin-inline: auto;
  padding: 14px 16px; border-radius: var(--radius); background: var(--color-navy-900); color: #fff; box-shadow: var(--shadow-lg);
  transform: translateY(12px); opacity: 0; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.toast.is-on { transform: none; opacity: 1; }
.toast--error { background: var(--color-error); }
.toast__msg { flex: 1; font-weight: var(--fw-medium); font-size: var(--fs-sm); }
.toast__link { color: #fff; font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.toast__close { display: grid; place-items: center; inline-size: 32px; block-size: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
@media (min-width: 768px) { .toast { inset-inline: auto 24px; inset-block-end: 24px; margin: 0; } }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
.pcard__form { margin: 0; }
.pcard__form .pcard__cta { cursor: pointer; }
.alert-warn { background: var(--color-warning-bg); color: var(--color-warning); border-color: #f1d9a0; }
.auth__forgot { justify-self: end; font-size: var(--fs-sm); font-weight: 600; }
.auth__intro { text-align: center; margin: 0 0 16px; }

/* Phase 8 – real studio photos have a white background: blend it into the tinted
   product frames instead of showing a white box (colours on white are unchanged). */
.pcard__media img, .pdp__main, .pdp__thumb img, .hero__float img, .story__prod,
.tile__media img, .cat-card__art img, .cline__media img, .osum__media img { mix-blend-mode: multiply; }
/* Storefront palette. These semantic surfaces are shared by the homepage and
   internal pages; the admin continues to use the base tokens in tokens.css.
   Derived directly from the ASHU logo: fresh cyan, deeper blue, fresh green,
   white, deep blue-green – no beige/brown/gold. A deliberate, mostly-white
   section-background rhythm with light aqua/mint as the only tints (see
   home.css ".is-home" rules), not one tint repeated everywhere. */
:root {
  /* ── Section background rhythm ──────────────────────────────────── */
  --bg-page:       #f8fbfa;  /* near-white neutral: page base, trust strip, arrivals, deal, offers */
  --bg-section:    #ffffff;  /* white: new arrivals, deal wrapper, offers */
  --bg-section-alt:#eaf7fa;  /* light ASHU aqua: categories, shop-by-need, showcase, faq */
  --bg-neutral:    #f8fbfa;  /* alias of bg-page: trust strip, reviews/payment */
  --bg-green:      #eff8ee;  /* light ASHU mint: featured products, brand story / about teaser */
  --bg-promo:      #ffffff;  /* deal-of-the-day card surface */
  --bg-elevated:   #ffffff;  /* spotlight benefit tiles */
  --bg-card:       #ffffff;  /* product/info card surface */
  --bg-field:      #f2fafb;  /* form inputs: pale aqua */

  /* ── Borders & shadows (subtle only, never a hard outline) ────────── */
  --border:        rgba(18, 63, 76, .10);
  --border-strong: rgba(18, 63, 76, .22);
  --field-border:  rgba(18, 63, 76, .30);
  --shadow-soft: 0 4px 18px -14px rgba(18, 63, 76, .22);

  /* ── Text ──────────────────────────────────────────────────────── */
  --text-primary:   #183642;  /* main text */
  --text-secondary: #5e747c;  /* secondary text */
  --text-muted:     #5e747c;

  /* ── Brand (logo cyan / deeper blue / green / deep blue-green) ───── */
  --brand-primary:       #0a5f82;  /* CTA button fill: the logo's deeper blue (readable white text; the
                                       logo's brighter cyan #0b9ec4 is used below for icons/accents/links –
                                       as a solid button fill with white text it falls short of AA contrast) */
  --brand-primary-hover: #084d6a;
  --brand-secondary:     #2c8524;  /* AA-safe button/badge green, same family as the logo's #55b947 (which
                                       is reserved for larger fills/icons – white text on it also falls short) */
  --brand-soft:          #e3f6fa;  /* pale tint of the brand cyan */
  --footer-main:   #103e4b;        /* deep blue-green footer base */
  --footer-bottom: #0a303c;
  --cta-surface:   #123f4c;        /* final-CTA / strong dark-section surface */

  --color-bg: var(--bg-page);
  --color-surface: var(--bg-card);
  --color-surface-2: var(--bg-section-alt);   /* pale aqua: search field, input surfaces */
  --color-primary: #0b9ec4;            /* ASHU cyan: icons, active-nav underline, decorative accents (not small text) */
  --color-primary-hover: #0a8db0;
  --color-primary-strong: #07748f;     /* AA-safe text: labels, links, eyebrows, icons paired with text */
  --color-primary-tint: var(--brand-soft);
  --color-primary-tint-2: #cdeef6;
  --color-secondary: #55b947;          /* ASHU green: bright fill/icon (not small text) */
  --color-secondary-strong: var(--brand-secondary);
  --color-secondary-tint: #e6f5e3;
  --color-border: var(--border);
  --color-border-strong: var(--border-strong);
  --color-text: var(--text-primary);
  --color-text-muted: var(--text-secondary);
  --color-text-subtle: var(--text-muted);
  --color-navy: #123f4c;               /* deep blue-green: headings, strong buttons, footer */
  --color-navy-700: #1c5061;
  --color-navy-900: #0b2730;
  --shadow-xs: var(--shadow-soft);
  --shadow-sm: var(--shadow-soft);
  --shadow: 0 8px 22px -16px rgba(18, 63, 76, .26);
  --shadow-lg: 0 18px 38px -25px rgba(18, 63, 76, .34);
  --ring: 0 0 0 3px rgba(11, 158, 196, .35);
  --section-y: clamp(48px, 5vw, 72px);

  /* ── Convenience aliases (same values, names a future designer would expect) ── */
  --color-bg-main: var(--bg-page);
  --color-bg-alt: var(--bg-section-alt);
  --color-bg-warm: var(--bg-neutral);
  --color-brand-blue: var(--color-primary-strong);
  --color-brand-green: var(--color-secondary-strong);
  --color-primary-dark: var(--color-navy);
  --color-cta: var(--brand-primary);
}
.section--tint { background: var(--bg-section-alt); }
body:not(.is-home) .site-main > .section:not(.hero):not(.section--tint) { background: var(--bg-section); border-block: 1px solid var(--border); }
.site-main .btn-primary { --btn-bg: var(--brand-primary); }
.site-main .btn-primary:hover { --btn-bg: var(--brand-primary-hover); }
.site-main .btn-outline { --btn-bd: var(--border-strong); }
.site-main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea) { background: var(--bg-field); border-color: var(--field-border); }
.site-main :is(input, textarea)::placeholder { color: var(--text-muted); opacity: 1; }
.site-main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea):focus { border-color: var(--color-primary-strong); box-shadow: var(--ring); }
.site-main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea):disabled { background: var(--bg-neutral); color: var(--text-secondary); border-color: var(--field-border); opacity: 1; }
.site-main :is(.btn, .pdp__add, .co-place):disabled { --btn-bg: var(--bg-neutral); --btn-fg: var(--text-secondary); --btn-bd: var(--border-strong); opacity: 1; box-shadow: none; transform: none; cursor: not-allowed; }
.hdr__search input { background: var(--bg-field) !important; border-color: var(--field-border) !important; }
.hdr__search input:focus { background: var(--bg-elevated) !important; border-color: var(--color-primary-strong) !important; box-shadow: var(--ring); }
.card, .contact-card, .csum__card, .cline, .acc-nav, .acc-stats > div, .pdp-sec { background: var(--bg-card); border-color: var(--border); box-shadow: var(--shadow-soft); }
.site-main .btn { border-radius: 10px; }
.pcard { border-radius: 12px; background: var(--bg-card); border-color: var(--border); box-shadow: var(--shadow-soft); }
.pcard__media { background: #fff; border-block-end: 1px solid var(--color-border); }
.pcard:hover, a.contact-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.ftr { margin-block-start: 0; }
.ftr__wave { display: none; }
.ftr__main { background-color: var(--footer-main); background-image: linear-gradient(180deg, var(--footer-main) 0%, var(--footer-bottom) 140%); padding-block: 64px 48px; }
.ftr__bottom { background: var(--footer-bottom); }

/* ===== MOTION:BEGIN (storefront motion system – merged here to save two requests) ===== */
/* ASHU storefront motion system (storefront only – admin never loads this file).
   Restrained, transform/opacity-only. Progressive enhancement: reveal states exist ONLY
   under html.js-motion, which motion.js adds (and does not add when the visitor prefers
   reduced motion or IntersectionObserver is missing) – without it every element is simply visible.
   Reveal targets get data-m="up|start|end|scale|scale-sm|fade" at runtime; once revealed the
   attribute is removed again so each element's own hover/transition rules take over untouched. */
:root {
  --motion-fast: 180ms;
  --motion-normal: 560ms;
  --motion-slow: 760ms;
  --ease-premium: cubic-bezier(.22, .8, .24, 1);
  --reveal-distance: 24px;
  --reveal-x: 28px;
  --press-scale: .98;
  interpolate-size: allow-keywords;
}
@media (max-width: 767.98px) {
  :root { --motion-normal: 460ms; --motion-slow: 560ms; --reveal-distance: 14px; --reveal-x: 12px; }
}

/* ── Scroll reveal (IntersectionObserver adds .is-in; --md = stagger delay) ───────── */
/* Hidden state is applied INSTANTLY (no transition into it – otherwise every tagged element would run a
   visible→hidden animation right after first paint and compete with the hero image for compositing);
   the transition lives on the revealed state only. */
.js-motion [data-m] { opacity: 0; transition: none; }
.js-motion [data-m="up"]       { transform: translateY(var(--reveal-distance)); }
.js-motion [data-m="start"]    { transform: translateX(calc(var(--reveal-x) * -1)); }
.js-motion [data-m="end"]      { transform: translateX(var(--reveal-x)); }
[dir="rtl"].js-motion [data-m="start"] { transform: translateX(var(--reveal-x)); }
[dir="rtl"].js-motion [data-m="end"]   { transform: translateX(calc(var(--reveal-x) * -1)); }
.js-motion [data-m="scale"]    { transform: scale(.97); }
.js-motion [data-m="scale-sm"] { transform: scale(.982); }
.js-motion [data-m="fade"]     { transform: none; }
.js-motion [data-m].is-in      { opacity: 1; transform: none;
  transition: opacity var(--motion-normal) var(--ease-premium) var(--md, 0ms), transform var(--motion-normal) var(--ease-premium) var(--md, 0ms); }
.js-motion [data-m="scale"].is-in { transition-duration: var(--motion-slow); }

/* Child accents that ride on their parent's reveal (parent loses data-m afterwards, so no residue) */
.trust__icon, .need__icon { transition: transform var(--motion-fast) var(--ease-premium); }
.js-motion [data-m]:not(.is-in) :is(.trust__icon, .need__icon) { transform: scale(.9); transition: none; }
.js-motion [data-m].is-in :is(.trust__icon, .need__icon) { transition: transform var(--motion-normal) var(--ease-premium) calc(var(--md, 0ms) + 90ms); }

/* Deal of the Day: soft depth (individual `translate` – composes with any existing transform) */
.spotlight__image[data-parallax] { translate: 0 var(--py, 0px); }


/* ── Micro-interactions (pointer devices only where it is hover-based) ─────────────── */
/* Buttons: short press + arrow nudge (arrows use `translate`, so RTL mirroring via transform is untouched) */
.btn { transition: transform var(--dur-fast) var(--ease-premium), box-shadow var(--dur) var(--ease), background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.btn:active:not(:disabled) { transform: translateY(0) scale(var(--press-scale)); }
.sec-link .icon-dir, .btn .icon-dir, .cat-card__arrow, .need .icon-dir, .need__meta .icon-dir { transition: translate var(--motion-fast) var(--ease-premium); }
@media (hover: hover) and (pointer: fine) {
  :is(.sec-link, .btn, .cat-card, .need):is(:hover, :focus-visible) .icon-dir { translate: 3px 0; }
  [dir="rtl"] :is(.sec-link, .btn, .cat-card, .need):is(:hover, :focus-visible) .icon-dir { translate: -3px 0; }

  /* Shop by Category: lift + accent + gentle product zoom (alt-image crossfade stays the primary hover) */
  .cat-card { transition: border-color 150ms, translate var(--motion-fast) var(--ease-premium); }
  .cat-card:hover, .cat-card:focus-visible { translate: 0 -4px; }
  .cat-card__art:not(.has-alt) > img { transition: scale var(--motion-normal) var(--ease-premium); }
  .cat-card:hover .cat-card__art:not(.has-alt) > img { scale: 1.04; }
  .cat-card .cat-card__art { transition: border-color 180ms, box-shadow 180ms; }

  /* Shop by Need */
  .need:hover .need__icon { transform: scale(1.06); }

  /* Reviews: avatar/quote icon */
  .home-review__quote { transition: transform var(--motion-fast) var(--ease-premium); }
  .home-review:hover .home-review__quote { transform: scale(1.12); }

  /* Header icons */
  .hdr__icon .icon { transition: transform var(--motion-fast) var(--ease-premium); }
  .hdr__icon:hover .icon { transform: scale(1.1); }

  /* Footer links nudge */
  .ftr__col li > a { display: inline-block; transition: color var(--motion-fast), translate var(--motion-fast) var(--ease-premium); }
  .ftr__col li > a:hover { translate: 2px 0; }
  [dir="rtl"] .ftr__col li > a:hover { translate: -2px 0; }

  .rail-btn:hover:not(:disabled) { transform: translateY(-1px); }
}
.rail-btn { transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--motion-fast) var(--ease-premium); }
.rail-btn:active:not(:disabled) { transform: scale(.94); }
.ftr a { transition: color var(--motion-fast); }

/* Header: smooth underline for the active / hovered top-level link (no layout change) */
.hdr__nav > ul > li > a { position: relative; transition: background-color var(--motion-fast), color var(--motion-fast); }
.hdr__nav > ul > li > a::after { content: ""; position: absolute; inset-inline: 14px; inset-block-end: 5px; block-size: 2px; border-radius: 2px;
  background: var(--color-primary); transform: scaleX(0); transform-origin: center; transition: transform var(--motion-normal) var(--ease-premium); pointer-events: none; }
.hdr__nav > ul > li > a:hover::after, .hdr__nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__nav > ul > li > a[aria-current="page"] { box-shadow: none; border-radius: var(--radius-pill); }
/* Search: smooth focus glow */
.hdr__search input { transition: background-color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-normal) var(--ease-premium); }
.hdr__search input:focus { box-shadow: 0 0 0 3px rgba(11, 158, 196, .20); }

/* FAQ: smooth open/close (progressive: browsers without ::details-content just open instantly) */
.faq__chev { transition: transform var(--motion-normal) var(--ease-premium); }
@supports selector(::details-content) {
  .faq__item::details-content { block-size: 0; opacity: 0; overflow: clip;
    transition: block-size var(--motion-normal) var(--ease-premium), opacity var(--motion-fast) linear, content-visibility var(--motion-normal) allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; opacity: 1; }
}

/* Product page, cart, checkout: transitions only (no scroll animation on transactional pages) */
.pdp__thumb { transition: border-color var(--motion-fast), transform var(--motion-fast) var(--ease-premium), opacity var(--motion-fast); }
.pdp__thumb:active { transform: scale(.96); }
.opt__pill > span { transition: border-color var(--motion-fast), background-color var(--motion-fast), color var(--motion-fast), box-shadow var(--motion-fast); }
.pdp__main { transition: opacity var(--motion-fast) var(--ease-premium); }
.pdp__main.is-swapping { opacity: .25; }
.pdp__zoom { transition: transform var(--motion-fast) var(--ease-premium), opacity var(--motion-fast); }
.pdp__zoom:hover { transform: scale(1.02); }
.payopt { transition: border-color var(--motion-fast), background-color var(--motion-fast), box-shadow var(--motion-fast); }
@keyframes m-fade-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.field__error, .alert { animation: m-fade-in var(--motion-fast) var(--ease-premium); }
.cline { transition: opacity var(--motion-fast), transform var(--motion-normal) var(--ease-premium); }
.cline.is-removing { opacity: 0; transform: translateX(10px); pointer-events: none; }
[dir="rtl"] .cline.is-removing { transform: translateX(-10px); }
[data-cart-root][data-refresh] :is(.cart-lines, .csum) { animation: m-fade-in var(--motion-fast) var(--ease-premium); }

@media print { .js-motion [data-m] { opacity: 1 !important; transform: none !important; } }

/* ── Reduced motion: everything visible, nothing decorative moves ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-m] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .field__error, .alert, [data-cart-root][data-refresh] :is(.cart-lines, .csum) { animation: none !important; }
  .spotlight__image[data-parallax] { translate: none; }
  .cat-card, .cat-card:hover, .cat-card:focus-visible { translate: none !important; }
  .icon-dir, .ftr__col li > a { translate: none !important; }
  .btn:active, .rail-btn:active, .pdp__thumb:active { transform: none; }
  .faq__item::details-content, .faq__chev, .hdr__nav > ul > li > a::after, .need__icon, .trust__icon { transition-duration: .01ms !important; }
  .pdp__main.is-swapping { opacity: 1; }
  .cline.is-removing { transform: none; }
}
/* ===== MOTION:END ===== */
