/* ============================================================================
   MORVA · Crimson Streetwear Theme for Qumra Cloud
   ----------------------------------------------------------------------------
   DNA     : black + signal red + kinetic type + hairlines
   Palette : bg #0a0306 · panel #15040a · ink #f5f0eb · crimson #d11c3c
   Type    : Space Grotesk (display) · Manrope (body) · JetBrains Mono (labels)
             IBM Plex Sans Arabic for every role in Arabic
   Shape   : square corners · 1px hairlines · no rounded anything
   Prefix  : .mv-*
   ----------------------------------------------------------------------------
   ⚠️  ARABIC RULE — letter-spacing breaks Arabic joining. `.lang-ar *` zeroes
       every letter-spacing below, so Latin tracking can be written freely.
   ----------------------------------------------------------------------------
   SECTIONS
     01. Tokens                     12. Hero grid
     02. Reset & base               13. Kinetic strip
     03. Arabic mode                14. Lookbook
     04. Section primitives         15. Story
     05. Buttons, tag, qty, price   16. Newsletter
     06. Header                     17. Footer
     07. Mobile menu                18. Shop · pills · toolbar · filters
     08. Overlays · drawers         19. Product page
     09. Search panel               20. Quick view
     10. Cart drawer & lines        21. Cart page
     11. Product card & grids       22. Collections · blog · prose · FAQ · 404
                                    23. Toast · motion · utilities
   ========================================================================= */


/* ==========================================================================
   01. TOKENS
   Colour values are overridden from Theme Editor settings in layout.njk.
   ========================================================================== */
:root {
  --bg: #0a0306;
  --bg-2: #15040a;
  --panel: #15040a;
  --panel-2: #1c0610;
  --fg: #f5f0eb;
  --fg-muted: rgba(245, 240, 235, 0.62);
  --fg-soft: rgba(245, 240, 235, 0.85);
  --accent: #d11c3c;
  --accent-hot: #ed2546;
  --on-accent: #ffffff;
  --border: rgba(245, 208, 214, 0.14);
  --border-strong: rgba(245, 208, 214, 0.22);
  --topo: rgba(209, 28, 60, 0.4);
  --warn: #f0a030;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-sans: "Manrope", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-arabic: "IBM Plex Sans Arabic", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 24px);
  --header-h: 64px;
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 880px) {
  :root { --header-h: 60px; }
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

html,
body {
  max-width: 100vw;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-h);
}

a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; background: none; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 2px;
}

[x-cloak] { display: none !important; }

.mv-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mv-skip {
  position: absolute;
  inset-inline-start: var(--gutter);
  top: -64px;
  z-index: 300;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}
.mv-skip:focus { top: 12px; }

/* Fill-image slot — the parent must be position: relative. */
.mv-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark placeholder for missing product images. */
.mv-noimg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  color: var(--border-strong);
}
.mv-noimg svg { width: 34%; max-width: 120px; height: auto; }

/* Contour field (hero banner fallback, empty lookbook cells) */
.mv-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--topo);
  stroke-width: 0.7;
}

main { display: block; }


/* ==========================================================================
   03. ARABIC MODE
   Every font role resolves to the Arabic face and Latin tracking is removed
   so connected script is never broken apart.
   ========================================================================== */
/* html.lang-ar, not .lang-ar: layout.njk re-declares the font variables on
   :root after this file, and :root and a bare class tie on specificity. */
html.lang-ar,
.lang-ar {
  --font-display: var(--font-arabic);
  --font-sans: var(--font-arabic);
  --font-mono: var(--font-arabic);
}
.lang-ar * { letter-spacing: 0 !important; }


/* ==========================================================================
   04. SECTION PRIMITIVES
   ========================================================================== */
.mv-section {
  position: relative;
  padding: clamp(32px, 5vw, 56px) var(--gutter);
}

.mv-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.mv-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

.mv-h {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.lang-ar .mv-h { line-height: 1.12; }

.mv-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  text-transform: uppercase;
  max-width: 360px;
  line-height: 1.5;
  text-align: end;
}
.lang-ar .mv-sub { font-size: 13px; line-height: 1.8; }

@media (max-width: 640px) {
  .mv-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .mv-sub { text-align: start; }
}

.mv-viewall {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  border: 1px solid var(--border-strong);
  padding: 12px 18px;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mv-viewall:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 640px) { .mv-viewall { align-self: flex-start; } }

.mv-arrow { font-family: var(--font-mono); display: inline-block; }
[dir="rtl"] .mv-arrow { transform: scaleX(-1); }

.mv-empty {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  padding: 40px 0;
  text-align: center;
}
.mv-empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(40px, 7vw, 72px) var(--gutter);
  border: 1px solid var(--border);
  background: var(--panel);
  text-align: center;
}
.mv-empty-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mv-empty-text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  max-width: 340px;
  line-height: 1.6;
}
.lang-ar .mv-empty-text { font-size: 13px; line-height: 1.9; }

.mv-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  text-transform: uppercase;
}


/* ==========================================================================
   05. BUTTONS · TAG · QTY · PRICE
   ========================================================================== */
.mv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
}
.mv-btn:hover:not(:disabled) { background: var(--accent-hot); border-color: var(--accent-hot); }
.mv-btn:disabled,
.mv-btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }

.mv-btn--outline { background: transparent; color: var(--accent); }
.mv-btn--outline:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }

.mv-btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.mv-btn--ghost:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }

.mv-btn--sm { min-height: 38px; padding: 0 16px; font-size: 11px; letter-spacing: 0.12em; }
.mv-btn--block { width: 100%; }

.mv-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: mv-spin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes mv-spin { to { transform: rotate(360deg); } }

/* Product badge */
.mv-tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Quantity stepper */
.mv-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  flex: 0 0 auto;
}
.mv-qty button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--fg);
  font-size: 16px;
  transition: background 0.15s, color 0.15s;
}
.mv-qty button:hover:not(:disabled) { background: var(--accent); color: #fff; }
.mv-qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.mv-qty-val {
  min-width: 30px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  display: grid;
  place-items: center;
}
.mv-qty--lg button { width: 48px; height: 52px; font-size: 18px; }
.mv-qty--lg .mv-qty-val { min-width: 48px; height: 52px; font-size: 14px; }

/* Price — the struck-through compare price sits beside the live one */
.mv-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 7px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.mv-was {
  text-decoration: line-through;
  opacity: 0.5;
  font-size: 0.85em;
}


/* ==========================================================================
   06. HEADER
   ========================================================================== */
.mv-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  background: rgba(10, 3, 6, 0.72);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}
.mv-header.is-scrolled {
  background: rgba(10, 3, 6, 0.92);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-strong);
}

.mv-hgrid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  height: var(--header-h);
  padding: 0 var(--gutter);
}

.mv-hstart,
.mv-hend {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mv-hstart { color: var(--fg-soft); }
.mv-hend { justify-content: flex-end; }
.lang-ar .mv-hstart,
.lang-ar .mv-hend { font-size: 14px; }

.mv-util {
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  opacity: 0.85;
  white-space: nowrap;
  transition: opacity 0.15s, color 0.15s;
}
.mv-util:hover { opacity: 1; color: var(--accent); }
.mv-util-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.mv-hcenter {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-inline: 1px solid var(--border);
}

.mv-logo { display: inline-flex; align-items: center; }
.mv-logo img { height: var(--logo-h, 26px); width: auto; max-width: 180px; object-fit: contain; }
.mv-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.mv-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  overflow: hidden;
}
.mv-navlink {
  padding: 8px 0;
  color: var(--fg);
  opacity: 0.6;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: opacity 0.15s, border-color 0.15s;
}
.mv-navlink:hover { opacity: 1; }
.mv-navlink.is-active { opacity: 1; border-bottom-color: var(--accent); }

.mv-lang { display: contents; }
.mv-langbtn {
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  transition: border-color 0.15s, color 0.15s;
}
.mv-langbtn:hover { border-color: var(--accent); color: var(--accent); }
/* "ع" is always set in the Arabic face, wherever it appears */
.mv-langbtn[value="ar"] { font-family: var(--font-arabic); font-size: 13px; padding: 3px 10px 4px; }

/* Mobile bar: [burger | search | bag] ··· [logo]
   direction:ltr keeps it physically left-to-right in both languages */
.mv-hmobile { display: none; }

.mv-burger,
.mv-iconbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--fg);
  transition: color 0.15s;
}
.mv-burger { min-width: 48px; min-height: 48px; }
.mv-burger:hover,
.mv-iconbtn:hover { color: var(--accent); }

.mv-badge {
  position: absolute;
  top: 8px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.mv-mlogo {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 0 12px 0 8px;
}
.mv-mlogo img { height: var(--logo-h-m, 22px); width: auto; max-width: 140px; object-fit: contain; }
.mv-mlogo .mv-wordmark { font-size: 17px; }

@media (max-width: 880px) {
  .mv-hgrid { display: none; }
  .mv-hmobile {
    display: flex;
    align-items: center;
    height: var(--header-h);
    padding: 0 4px 0 0;
    direction: ltr;
  }
}


/* ==========================================================================
   07. MOBILE MENU
   ========================================================================== */
@keyframes mv-menu-in { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes mv-menu-in-rtl { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes mv-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.mv-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: rgba(10, 3, 6, 0.97);
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: mv-menu-in 0.3s var(--ease-out) both;
}
[dir="rtl"] .mv-menu { animation-name: mv-menu-in-rtl; }
@media (min-width: 881px) { .mv-menu { display: none !important; } }

.mv-menu-top {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter) 16px;
  border-bottom: 1px solid var(--border);
}

.mv-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  transition: border-color 0.15s, color 0.15s;
  flex: 0 0 auto;
}
.mv-close:hover { border-color: var(--accent); color: var(--accent); }

.mv-menu-body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 0 var(--gutter) 16px;
  overscroll-behavior: contain;
}
.mv-menu-body::-webkit-scrollbar { display: none; }

.mv-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--border);
}
.mv-menu-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 9vw, 48px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 4px 0;
  opacity: 0;
  animation: mv-rise 0.4s var(--ease-out) forwards;
  animation-delay: calc(0.08s + var(--i, 0) * 0.05s);
  transition: color 0.15s;
}
.lang-ar .mv-menu-link { line-height: 1.15; }
.mv-menu-link:hover,
.mv-menu-link:focus-visible { color: var(--accent); }

.mv-menu-sec {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  animation: mv-rise 0.4s var(--ease-out) 0.22s forwards;
}
.mv-menu-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.mv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mv-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border: 1px solid var(--border-strong);
  padding: 7px 14px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.lang-ar .mv-chip { font-size: 13px; }
.mv-chip:hover {
  color: var(--fg);
  border-color: var(--accent);
  background: rgba(209, 28, 60, 0.06);
}

.mv-mini-list { display: flex; flex-direction: column; gap: 10px; }
.mv-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 10px;
  transition: border-color 0.15s;
}
.mv-mini:hover { border-color: var(--border-strong); }
.mv-mini-img {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-2);
}
.mv-mini-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mv-mini-name {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mv-mini-name:hover { color: var(--accent); }
.mv-mini .mv-price { font-size: 11px; letter-spacing: 0.1em; color: var(--accent); }
.mv-mini-buy {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.15s;
}
.mv-mini-buy:hover { background: var(--accent-hot); }

.mv-menu-util {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  text-transform: uppercase;
  opacity: 0;
  animation: mv-rise 0.4s var(--ease-out) 0.32s forwards;
}
.mv-menu-util button { letter-spacing: inherit; text-transform: inherit; transition: color 0.15s; }
.mv-menu-util button:hover { color: var(--accent); }


/* ==========================================================================
   08. OVERLAYS · DRAWERS
   ========================================================================== */
.mv-backdrop {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(10, 3, 6, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mv-backdrop.is-open { opacity: 1; visibility: visible; }

.mv-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  z-index: 95;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border-inline-start: 1px solid var(--border-strong);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s var(--ease-out), visibility 0.4s;
}
[dir="rtl"] .mv-drawer { transform: translateX(-100%); box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5); }
.mv-drawer.is-open { transform: none; visibility: visible; }
.mv-drawer--start { inset-inline-end: auto; inset-inline-start: 0; border-inline-start: 0; border-inline-end: 1px solid var(--border-strong); transform: translateX(-100%); }
[dir="rtl"] .mv-drawer--start { transform: translateX(100%); }
.mv-drawer--start.is-open { transform: none; }

.mv-drawer-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--border);
}
.mv-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mv-drawer-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--accent);
  border: 1px solid var(--border-strong);
  padding: 2px 8px;
  font-variant-numeric: tabular-nums;
}
.mv-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.mv-drawer-foot {
  flex: 0 0 auto;
  border-top: 1px solid var(--border-strong);
  padding: 18px var(--gutter) 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* ==========================================================================
   09. SEARCH PANEL
   ========================================================================== */
.mv-search {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 95;
  max-height: 92vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.4s var(--ease-out), visibility 0.4s;
}
.mv-search.is-open { transform: none; visibility: visible; }

.mv-search-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) var(--gutter) clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mv-search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--border-strong);
  padding-bottom: 14px;
}
.mv-search-label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
@media (max-width: 480px) { .mv-search-label { display: none; } }

.mv-search-form { flex: 1; min-width: 0; display: flex; }
.mv-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.mv-search-input::placeholder { color: var(--fg-muted); }
.mv-search-input::-webkit-search-cancel-button,
.mv-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

.mv-search-clear {
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  transition: color 0.15s, border-color 0.15s;
}
.mv-search-clear:hover { color: var(--fg); border-color: var(--accent); }

.mv-search-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.mv-search-chips-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-inline-end: 6px;
}
.mv-pchip {
  border: 1px solid var(--border-strong);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mv-pchip:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.mv-search-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}
.mv-search-count { color: var(--accent); font-variant-numeric: tabular-nums; }
.mv-search-all { color: var(--fg); transition: color 0.15s; }
.mv-search-all:hover { color: var(--accent); }

.mv-search-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .mv-search-results { grid-template-columns: 1fr; } }

.mv-result {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 10px;
  transition: border-color 0.15s;
}
.mv-result:hover { border-color: var(--accent); }
.mv-result-img {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-2);
}
.mv-result-tag {
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  z-index: 1;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  padding: 2px 4px;
  text-transform: uppercase;
}
.mv-result-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mv-result-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mv-result .mv-price { font-size: 11px; letter-spacing: 0.12em; color: var(--accent); }

.mv-addsq {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  font-size: 18px;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mv-addsq:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
.mv-addsq:disabled { opacity: 0.5; cursor: wait; }

.mv-skel {
  background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%);
  background-size: 200% 100%;
  animation: mv-shimmer 1.4s linear infinite;
}
@keyframes mv-shimmer { to { background-position: -200% 0; } }
.mv-result--skel { height: 94px; border: 1px solid var(--border); }


/* ==========================================================================
   10. CART DRAWER & LINES
   ========================================================================== */
.mv-ship { padding: 14px var(--gutter); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.mv-ship-msg {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.lang-ar .mv-ship-msg { font-size: 12px; }
.mv-ship-msg.is-done { color: var(--accent); }
.mv-ship-track { height: 3px; background: var(--border-strong); overflow: hidden; }
.mv-ship-fill { display: block; height: 100%; background: var(--accent); transition: width 0.4s var(--ease); }

.mv-lines { display: flex; flex-direction: column; }

.mv-line {
  display: flex;
  gap: 14px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s ease;
}
.mv-line.is-removing,
.mv-line.removing { opacity: 0.35; pointer-events: none; }

.mv-line-img {
  position: relative;
  width: 84px;
  height: 96px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-2);
}
.mv-line-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.mv-line-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mv-line-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--fg);
  overflow-wrap: anywhere;
  transition: color 0.15s;
}
.mv-line-name:hover { color: var(--accent); }
.mv-line-remove {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.mv-line-remove:hover { color: var(--accent); }

.mv-line-opts { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.mv-line-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-ar .mv-line-opt { font-size: 12px; }
.mv-line-opt b { color: var(--fg); font-weight: 500; }
.mv-line-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(245, 240, 235, 0.3); display: inline-block; }

.mv-line-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--warn);
  line-height: 1.6;
}

.mv-line-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mv-line-money { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-family: var(--font-mono); text-align: end; }
.mv-line-unit { font-size: 10px; letter-spacing: 0.06em; color: var(--fg-muted); display: inline-flex; gap: 4px; }
.mv-line-total { font-size: 12px; letter-spacing: 0.06em; color: var(--accent); transition: opacity 0.2s; }
.mv-line-total.is-pending { opacity: 0.4; }
.mv-line-was { font-size: 10px; text-decoration: line-through; color: var(--fg-muted); }

.mv-line-confirm {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.mv-line-confirm-acts { display: flex; gap: 8px; }

.mv-sum { display: flex; flex-direction: column; gap: 8px; }
.mv-sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-ar .mv-sum-row { font-size: 13px; }
.mv-sum-row .mv-neg { color: var(--accent); }

.mv-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mv-subtotal-val {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.mv-shipnote {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.lang-ar .mv-shipnote { font-size: 12px; }
.mv-cart-actions { display: flex; gap: 10px; }
.mv-cart-actions > * { flex: 1; }
.mv-checkout.is-blocked { opacity: 0.4; cursor: not-allowed; }
.mv-blocked {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--warn);
  line-height: 1.6;
}

.mv-cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 40px var(--gutter);
}

@media (max-width: 480px) { .mv-drawer { width: 100%; } }


/* ==========================================================================
   11. PRODUCT CARD & GRIDS
   ⚠️ ui/product-card.njk and HayatCard.build() in main.js render the SAME
   markup. Styling lives only here, so the two can never drift visually.
   ========================================================================== */
.mv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  min-width: 0;
}

.mv-card-img {
  position: relative;
  display: block;
  aspect-ratio: var(--card-ratio, 1 / 1);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--panel-2);
}
.mv-card-img .mv-fill { transition: transform 0.35s ease, opacity 0.35s ease; }
.mv-card:hover .mv-card-img .mv-fill { transform: scale(1.03); }
.mv-card-img .mv-fill--alt { opacity: 0; }
@media (hover: hover) {
  .mv-card:hover .mv-card-img .mv-fill--alt { opacity: 1; }
}

.mv-card-oos {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.65);
  color: var(--warn);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 0;
}
.lang-ar .mv-card-oos { font-size: 12px; }

.mv-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin-top: auto;
}
.mv-card-info { min-width: 0; flex: 0 1 auto; max-width: 58%; }
.mv-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.15s;
}
.lang-ar .mv-card-name { line-height: 1.45; }
.mv-card-name:hover { color: var(--accent); }
.mv-card .mv-price {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
}
.mv-card .mv-price.is-sale > span:last-child { color: var(--accent); }

.mv-card-buy {
  flex: 1;
  min-width: 0;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s;
}
.lang-ar .mv-card-buy { font-size: 12px; }
.mv-card-buy:hover:not(:disabled) { background: var(--accent-hot); }
.mv-card-buy:disabled { opacity: 0.6; cursor: wait; }

.mv-card-soldout {
  flex: 1;
  min-width: 0;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: var(--warn);
  border: 1px solid rgba(240, 160, 48, 0.5);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.mv-card-soldout:hover { background: rgba(240, 160, 48, 0.1); border-color: var(--warn); }

.mv-card .mv-addsq { font-size: 20px; }
.mv-card .mv-addsq.is-done { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 14px; }

/* Hairline grid. Every card draws a 1px ring that overlaps its neighbour's
   across the 1px gap, so the lines read as single hairlines — and, unlike a
   border-coloured grid background, an unfilled last row stays empty instead
   of turning into a grey slab. A fixed column count keeps rows even. */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 1px;
  margin: 1px;
}
.mv-grid > * { box-shadow: 0 0 0 1px var(--border); }

@media (max-width: 1100px) { .mv-grid { --cols: 3; } }
@media (max-width: 880px) { .mv-grid { --cols: 2; } }
@media (max-width: 560px) { .mv-grid { --cols: 1; } }

/* 1–2 products: cap the width and centre the row */
.mv-grid--sparse {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 300px));
  justify-content: center;
  gap: 24px;
}
.mv-grid--four { gap: 12px; }
.mv-grid--four > * { box-shadow: none; border: 1px solid var(--border); }

/* skeleton card used while an empty picker auto-fills */
.mv-card--ph .mv-card-img { background: var(--panel-2); }
.mv-card--ph .mv-ph-line { height: 10px; background: var(--panel-2); margin: 4px 0; }
.mv-card--ph .mv-ph-line:first-child { width: 70%; }
.mv-card--ph .mv-ph-line:last-child { width: 40%; }


/* ==========================================================================
   12. HERO GRID
   Desktop: named rows — banner + video share column 2, the featured product
   and the slider span both content rows, the kinetic strip is row 3.
   Mobile: a flex column in the order banner → video → strip → card → slider.
   ========================================================================== */
@keyframes mv-hero-in { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

.mv-hero { position: relative; }

.mv-hero-grid {
  --strip-full-h: calc(2 * clamp(14px, 3vw, 34px) + 2 * clamp(68px, 12.2vw, 159px) + clamp(2px, 0.4vw, 6px) + 2px);
  --strip-peek: calc(var(--strip-full-h) * 0.28);
  --video-h: clamp(265px, 45vh, 470px);
  --col2-w: calc(var(--video-h) * 16 / 9);
  display: grid;
  grid-template-columns: 320px minmax(0, var(--col2-w)) minmax(0, 1fr);
  grid-template-rows:
    max(240px, calc(100dvh - var(--header-h) - var(--video-h) - var(--strip-peek)))
    var(--video-h)
    auto;
  border-bottom: 1px solid var(--border);
}
.mv-hero-grid > * { animation: mv-hero-in 0.85s var(--ease) both; }
.mv-hero-grid > :nth-child(1) { animation-delay: 0.05s; }
.mv-hero-grid > :nth-child(2) { animation-delay: 0.17s; }
.mv-hero-grid > :nth-child(3) { animation-delay: 0.29s; }
.mv-hero-grid > :nth-child(4) { animation-delay: 0.41s; }
.mv-hero-grid > :nth-child(5) { animation-delay: 0.53s; }

.mv-hero-feature {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  padding: 24px var(--gutter) 20px;
  border-inline-end: 1px solid var(--border);
}
.mv-hero-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.lang-ar .mv-hero-label { font-size: 12px; }

.mv-hcard {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  transition: border-color 0.15s;
}
.mv-hcard:hover { border-color: var(--accent); }
.mv-hcard-img {
  position: relative;
  display: block;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--panel-2);
}
.mv-hcard-img .mv-fill { transition: transform 0.45s ease; }
.mv-hcard:hover .mv-hcard-img .mv-fill { transform: scale(1.03); }
.mv-hcard-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
}
.mv-hcard-info { min-width: 0; }
.mv-hcard-name {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fg);
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lang-ar .mv-hcard-name { font-size: 14px; }
.mv-hcard-name:hover { color: var(--accent); }
.mv-hcard .mv-price { margin-top: 3px; font-size: 11px; letter-spacing: 0.14em; color: var(--accent); }
.mv-hcard-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; flex: 0 0 auto; }
.mv-hcard-buy {
  height: 32px;
  padding: 0 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.15s;
}
.lang-ar .mv-hcard-buy { font-size: 12px; }
.mv-hcard-buy:hover:not(:disabled) { background: var(--accent-hot); }
.mv-hcard-buy:disabled { opacity: 0.6; cursor: wait; }
.mv-hcard .mv-addsq { width: 32px; height: 32px; }
.mv-hcard--ph { pointer-events: none; }

.mv-hero-banner {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-inline-end: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mv-hero-banner > a { position: absolute; inset: 0; display: block; }

.mv-hero-video {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-inline-end: 1px solid var(--border);
}
.mv-hero-video video,
.mv-hero-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.mv-hero-slider {
  grid-column: 3;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  background: var(--panel);
}

.mv-hero-strip {
  grid-column: 1 / -1;
  grid-row: 3;
  border-top: 1px solid var(--border);
}
.mv-hero-strip .mv-strip { border-top: 0; border-bottom: 0; }

/* the carousel */
.mv-hp { position: absolute; inset: 0; display: flex; flex-direction: column; }
.mv-hp-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.mv-hp-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  direction: ltr;
}
.mv-hp-count .sep { color: var(--accent); }
.mv-hp-count .tot { color: var(--fg-muted); font-size: 10px; }

.mv-hp-track {
  flex: 1 1 auto;
  display: flex;
  gap: 12px;
  padding: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.mv-hp-track::-webkit-scrollbar { display: none; }

.mv-hp-card {
  flex: 0 0 auto;
  width: 78%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  scroll-snap-align: start;
  transition: border-color 0.15s;
}
.mv-hp-card:hover { border-color: var(--accent); }
.mv-hp-img {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--panel-2);
}
.mv-hp-img .mv-tag { top: 10px; inset-inline-start: 10px; font-size: 9px; padding: 3px 7px; }
.mv-hp-frame {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 10px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  mix-blend-mode: difference;
  direction: ltr;
}
.mv-hp-card .mv-hcard-row { flex: 0 0 auto; }

.mv-hp-controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}
.mv-hp-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.mv-hp-dot {
  width: 18px;
  height: 3px;
  padding: 0;
  background: var(--border-strong);
  transition: background 0.15s, width 0.15s;
}
.mv-hp-dot.is-active { background: var(--accent); width: 26px; }
.mv-hp-nav { display: flex; gap: 6px; }
.mv-hp-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 14px;
  transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.2s;
}
.mv-hp-arrow:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
.mv-hp-arrow:disabled { opacity: 0.35; cursor: default; }

@media (max-width: 880px) {
  .mv-hero-grid { display: flex; flex-direction: column; }
  .mv-hero-banner { order: 1; width: 100%; aspect-ratio: var(--banner-ratio-m, 2.69 / 1); flex-shrink: 0; border-inline-end: 0; }
  .mv-hero-video { order: 2; height: 220px; flex-shrink: 0; border-inline-end: 0; border-bottom: 1px solid var(--border); }
  .mv-hero-strip { order: 3; border-top: 0; }
  .mv-hero-feature { order: 4; height: 380px; flex-shrink: 0; border-inline-end: 0; border-bottom: 1px solid var(--border); }
  .mv-hero-slider { order: 5; flex-shrink: 0; border-top: 1px solid var(--border); }
  .mv-hp { position: relative; inset: auto; height: 460px; }
  .mv-hp-card { width: 64%; max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .mv-hero-grid > * { animation: none; }
}


/* ==========================================================================
   13. KINETIC STRIP
   Two rows drifting in opposite directions. Each row holds two identical
   halves, so translating by -50% is a seamless loop at any width.
   ========================================================================== */
@keyframes mv-marquee-fwd { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes mv-marquee-rev { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.mv-strip {
  /* LTR on the CONTAINER, not just the track: in an RTL page a flex column
     pins an over-wide child to the right edge, so the row's start sat far
     off-screen to the left and its END ran out mid-loop — a gap, then a jump. */
  direction: ltr;
  align-items: flex-start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.4vw, 6px);
  padding: clamp(14px, 3vw, 34px) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  user-select: none;
  -webkit-user-select: none;
}
.mv-strip-track {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  direction: ltr;
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 130px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--strip-color, var(--accent));
  text-transform: uppercase;
}
/* The GROUPS move, not the track: each is only a little wider than the
   viewport, so no single animated layer gets big enough for the GPU to
   refuse to paint it (retina doubles every width). */
.mv-strip-group { display: flex; flex: none; }
.mv-strip-group span { margin-inline-end: 0.3em; }
.mv-strip-fwd .mv-strip-group { animation: mv-marquee-fwd var(--strip-dur-a, 28s) linear infinite; }
.mv-strip-rev .mv-strip-group { animation: mv-marquee-rev var(--strip-dur-b, 22s) linear infinite; }

.mv-strip--muted { border-bottom: 0; }
.mv-strip--muted .mv-strip-track { font-size: clamp(48px, 8vw, 100px); color: var(--strip-color, var(--panel-2)); }

.mv-strip--single .mv-strip-rev { display: none; }

@media (prefers-reduced-motion: reduce) {
  .mv-strip-group { animation: none !important; }
}


/* ==========================================================================
   14. LOOKBOOK
   4 images → the signature asymmetric showcase · 1–3 → a uniform grid
   ========================================================================== */
.mv-look-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: minmax(220px, 1fr) minmax(160px, 1fr);
  gap: 12px;
  height: var(--look-h, 520px);
}
.mv-look {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
}
.mv-look .mv-fill { transition: transform 0.45s ease; }
.mv-look:hover .mv-fill { transform: scale(1.03); }
.mv-look--big { grid-column: 1; grid-row: 1 / span 2; }
.mv-look--tall { grid-column: 2; grid-row: 1 / span 2; }
.mv-look--wide { grid-column: 3; grid-row: 1; }
.mv-look--square { grid-column: 3; grid-row: 2; }

.mv-look-cap {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg);
  background: rgba(10, 3, 6, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  text-transform: uppercase;
}
.lang-ar .mv-look-cap { font-size: 12px; }

.mv-look-flow {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 360px));
  justify-content: start;
  gap: 12px;
}
.mv-look-flow .mv-look { aspect-ratio: 4 / 5; }

@media (max-width: 880px) {
  .mv-look-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .mv-look--big { grid-column: 1 / span 2; grid-row: 1; aspect-ratio: 16 / 9; }
  .mv-look--tall { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 5; }
  .mv-look--wide { grid-column: 2; grid-row: 2; aspect-ratio: 4 / 5; }
  .mv-look--square { grid-column: 1 / span 2; grid-row: 3; aspect-ratio: 16 / 9; }
}


/* ==========================================================================
   15. STORY
   ========================================================================== */
.mv-story {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 48px;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 40px;
}
.mv-story--flip .mv-story-img { order: 2; }
.mv-story-img {
  position: relative;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  background: var(--panel-2);
  border: 1px solid var(--border);
}
.mv-story-img .mv-fill { transform: scale(1.18) translateY(var(--py, -7%)); will-change: transform; }
.mv-story-text { display: flex; flex-direction: column; gap: 20px; }
.mv-story-body {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.lang-ar .mv-story-body { font-weight: 600; line-height: 1.55; }
.mv-story-sig {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
.lang-ar .mv-story-sig { font-size: 13px; }
.mv-story-cta { align-self: flex-start; }

@media (max-width: 880px) {
  .mv-story { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .mv-story--flip .mv-story-img { order: 0; }
  .mv-story-img { aspect-ratio: 1 / 1; }
}


/* ==========================================================================
   16. NEWSLETTER
   ========================================================================== */
.mv-news { padding: 0; background: var(--bg); border-top: 1px solid var(--border); }
.mv-news-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  padding: clamp(56px, 8vw, 80px) var(--gutter);
  border-bottom: 1px solid var(--border);
}
.mv-news-text { display: flex; flex-direction: column; gap: 14px; }
.mv-news-text .mv-h { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; }
.lang-ar .mv-news-text .mv-h { line-height: 1.25; }
.mv-news-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.lang-ar .mv-news-sub { font-size: 14px; }
.mv-news-form { display: flex; flex-direction: column; }
.mv-news-row { display: flex; border: 1px solid var(--border-strong); }
.mv-news-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 18px;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  outline: none;
  direction: ltr;
  text-align: start;
}
[dir="rtl"] .mv-news-input { text-align: right; }
.mv-news-input::placeholder { color: var(--fg-muted); }
.mv-news-input:focus-visible { outline: 2px solid var(--accent-hot); outline-offset: -2px; }
.mv-news-cta {
  flex: 0 0 auto;
  background: var(--accent);
  color: #fff;
  padding: 0 26px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.15s;
}
.mv-news-cta:hover:not(:disabled) { background: var(--accent-hot); }
.mv-news-cta:disabled { opacity: 0.6; }
.mv-news-msg {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-top: 8px;
  color: var(--fg-muted);
}
.mv-news-msg.is-error { color: var(--accent-hot); }
.mv-news-msg.is-ok { color: var(--fg); }
.lang-ar .mv-news-msg { font-size: 13px; }

@media (max-width: 880px) {
  .mv-news-inner { grid-template-columns: 1fr; gap: 28px; }
  .mv-news-row { flex-direction: column; }
  .mv-news-cta { padding: 18px 26px; }
}


/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.mv-footer { border-top: 1px solid var(--border); background: var(--footer-bg, var(--bg)); }

.mv-ftags {
  display: grid;
  grid-template-columns: repeat(var(--tags, 4), 1fr);
  border-bottom: 1px solid var(--border);
}
.mv-ftag {
  padding: 14px var(--gutter);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--fg);
  text-transform: uppercase;
  border-inline-end: 1px solid var(--border);
}
.mv-ftag:last-child { border-inline-end: 0; }
.mv-ftag:nth-child(even) { color: var(--accent); }

.mv-flinks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px var(--gutter);
  border-bottom: 1px solid var(--border);
}
.mv-fcol { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mv-fbrand { gap: 16px; }
.mv-flogo { display: inline-block; line-height: 0; }
.mv-flogo img { height: 28px; width: auto; max-width: 160px; object-fit: contain; }
.mv-flogo.is-mono img { filter: brightness(0) invert(1); }
.mv-fdesc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 260px;
}
.lang-ar .mv-fdesc { line-height: 1.9; }
.mv-fh {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.lang-ar .mv-fh { font-size: 14px; }
.mv-flink {
  width: fit-content;
  font-size: 14px;
  color: var(--fg-muted);
  padding: 4px 0;
  transition: color 0.15s;
}
.mv-flink:hover { color: var(--fg); }

.mv-fstrip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--border);
}
.mv-fdomain {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--fg-muted);
  text-transform: uppercase;
  transition: color 0.15s;
  width: fit-content;
}
.mv-fdomain:hover { color: var(--fg); }
.mv-social { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.mv-social a { display: inline-flex; color: var(--fg-muted); line-height: 0; transition: color 0.15s; }
.mv-social a:hover { color: var(--accent); }
.mv-social svg { width: 18px; height: 18px; }

.mv-legal {
  padding: 16px var(--gutter);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  text-transform: uppercase;
  text-align: center;
}
.lang-ar .mv-legal { font-size: 12px; }

@media (max-width: 880px) {
  .mv-ftags { grid-template-columns: 1fr 1fr; }
  .mv-ftag:nth-child(2n) { border-inline-end: 0; }
  .mv-ftag:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
  .mv-flinks { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px var(--gutter); }
  .mv-fbrand { grid-column: 1 / span 2; }
  .mv-fstrip { grid-template-columns: 1fr; gap: 14px; text-align: center; justify-items: center; }
  .mv-fdomain { font-size: 11px; letter-spacing: 0.2em; }
  .mv-social { justify-content: center; gap: 22px; }
}


/* ==========================================================================
   18. SHOP · PILLS · TOOLBAR · FILTERS · PAGER
   ========================================================================== */
.mv-shop-cover {
  position: relative;
  aspect-ratio: 3.2 / 1;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 28px;
  background: var(--panel);
}
@media (max-width: 640px) { .mv-shop-cover { aspect-ratio: 2 / 1; } }

.mv-shop-desc {
  margin-top: 10px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
}

.mv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: flex-end;
}
@media (max-width: 640px) {
  .mv-pills {
    align-self: stretch;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }
  .mv-pills::-webkit-scrollbar { display: none; }
}
.mv-pill {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  border: 1px solid var(--border-strong);
  padding: 8px 14px;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.lang-ar .mv-pill { font-size: 13px; }
.mv-pill:hover { border-color: var(--accent); }
.mv-pill.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mv-pill--x { display: inline-flex; align-items: center; gap: 8px; }

.mv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.mv-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-ar .mv-count { font-size: 13px; }
.mv-count b { color: var(--accent); font-weight: 400; font-variant-numeric: tabular-nums; }
.mv-tools { display: flex; align-items: center; gap: 8px; }
.mv-toolbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.15s, color 0.15s;
}
.lang-ar .mv-toolbtn { font-size: 13px; }
.mv-toolbtn:hover { border-color: var(--accent); }
.mv-toolbtn .mv-toolcount {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
}

.mv-sort { position: relative; }
.mv-sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  z-index: 20;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}
.mv-sort-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  text-align: start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, background 0.15s;
}
.lang-ar .mv-sort-menu button { font-size: 13px; }
.mv-sort-menu button:last-child { border-bottom: 0; }
.mv-sort-menu button:hover { color: var(--fg); background: rgba(209, 28, 60, 0.06); }
.mv-sort-menu button.is-active { color: var(--accent); }

.mv-chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.mv-stage { position: relative; min-height: 240px; transition: opacity 0.2s; }
.mv-stage.is-loading { opacity: 0.45; pointer-events: none; }
.mv-stage-spin { position: absolute; top: 80px; left: 50%; z-index: 3; color: var(--accent); width: 26px; height: 26px; margin-left: -13px; }

/* the shop-products widget renders into #products-grid-wrapper. A copy that
   lands anywhere else (server render outside the wrapper) stays hidden. */
.shop-products-content { display: none; }
[data-qumra-section] .shop-products-content { display: block; }

/* filter panel (inside the drawer) */
.mv-fgroup { border-bottom: 1px solid var(--border); }
.mv-fgroup-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  text-align: start;
}
.lang-ar .mv-fgroup-head { font-size: 14px; }
.mv-fgroup-head svg { transition: transform 0.2s; flex: 0 0 auto; }
.mv-fgroup-head[aria-expanded="true"] svg { transform: rotate(45deg); color: var(--accent); }
.mv-fgroup-body { padding: 0 var(--gutter) 18px; }
.mv-fopts { display: flex; flex-wrap: wrap; gap: 8px; }
.mv-fopt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-soft);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.lang-ar .mv-fopt { font-size: 13px; }
.mv-fopt input { position: absolute; opacity: 0; pointer-events: none; }
.mv-fopt:hover { border-color: var(--accent); }
.mv-fopt.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.mv-fopt:has(input:focus-visible) { outline: 2px solid var(--accent-hot); outline-offset: 2px; }
.mv-fopt-count { font-size: 10px; opacity: 0.6; }
.mv-fmore {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.mv-fprice { display: flex; align-items: center; gap: 10px; }
.mv-fprice span { color: var(--fg-muted); }
.mv-input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
}
.mv-input:focus { border-color: var(--accent); }
.mv-input::placeholder { color: var(--fg-muted); }
.mv-fnote { margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--warn); }

.mv-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.mv-pager-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mv-pager-btn:hover:not(:disabled):not(.is-active) { border-color: var(--accent); color: var(--accent); }
.mv-pager-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mv-pager-btn:disabled,
.mv-pager-btn.is-off { opacity: 0.35; cursor: default; pointer-events: none; }
.mv-pager-gap { color: var(--fg-muted); font-family: var(--font-mono); padding: 0 4px; }
[dir="rtl"] .mv-pager-btn .mv-flip { transform: scaleX(-1); }


/* ==========================================================================
   19. PRODUCT PAGE
   ========================================================================== */
.mv-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-ar .mv-crumb { font-size: 13px; }
.mv-crumb a { transition: color 0.15s; }
.mv-crumb a:hover { color: var(--accent); }
.mv-crumb [aria-current] { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.mv-crumb-sep { color: var(--accent); }

.mv-pdp {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.mv-pdp-media { position: sticky; top: calc(var(--header-h) + 16px); min-width: 0; }

.mv-gallery { display: flex; flex-direction: column; gap: 10px; }
/* Swiper's stylesheet loads non-blocking. Until it lands (and before the
   library boots) these few rules keep the slides in a row instead of a
   stack, so the first paint is already the first photo. */
.mv-gallery .swiper { position: relative; overflow: hidden; }
.mv-gallery .swiper-wrapper { display: flex; }
.mv-gallery .swiper-slide { flex-shrink: 0; }
.mv-gallery-main .swiper-slide { width: 100%; }
.mv-gallery-main {
  position: relative;
  border: 1px solid var(--border);
  background: var(--panel);
}
.mv-gallery-main .swiper { width: 100%; }
.mv-gallery-slide {
  position: relative;
  display: block;
  aspect-ratio: var(--pdp-ratio, 1 / 1);
  overflow: hidden;
  background: var(--panel-2);
}
.mv-gallery-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mv-gallery .swiper-button-next,
.mv-gallery .swiper-button-prev {
  --swiper-navigation-size: 15px;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  color: var(--fg-soft);
  transition: background 0.12s ease-out, border-color 0.12s ease-out, transform 0.12s ease-out, color 0.12s;
}
.mv-gallery .swiper-button-next::after,
.mv-gallery .swiper-button-prev::after { font-size: 15px; font-weight: 700; }
.mv-gallery .swiper-button-next:hover,
.mv-gallery .swiper-button-prev:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.mv-gallery .swiper-button-next:active,
.mv-gallery .swiper-button-prev:active { transform: scale(0.93); }
.mv-gallery .swiper-button-disabled { opacity: 0 !important; pointer-events: none; }

.mv-thumbs { width: 100%; }
.mv-thumbs .swiper-wrapper { justify-content: center; }
.mv-thumbs .swiper-slide {
  position: relative;
  width: 64px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-strong);
  opacity: 0.5;
  transition: opacity 0.15s, border-color 0.15s;
}
.mv-thumbs .swiper-slide:hover { opacity: 0.85; }
.mv-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--accent); }
.mv-thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.mv-pdp-info { display: flex; flex-direction: column; min-width: 0; }
.mv-pdp-head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 22px; }
.mv-pdp-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.lang-ar .mv-pdp-kicker { font-size: 13px; }
.mv-pdp-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.lang-ar .mv-pdp-name { line-height: 1.25; }
.mv-pdp-price { font-size: 22px; letter-spacing: 0.04em; color: var(--fg); }
.mv-pdp-price .mv-was { font-size: 0.7em; }
.mv-pdp-save {
  align-self: center;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
}
.mv-pdp-unit { font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); letter-spacing: 0.08em; display: flex; gap: 6px; }

.mv-pdp-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.mv-opt { display: flex; flex-direction: column; gap: 12px; }
.mv-opt-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-ar .mv-opt-label { font-size: 13px; }
.mv-opt-pick { color: var(--accent); }
.mv-opt-values { display: flex; flex-wrap: wrap; gap: 8px; }

.mv-optchip {
  min-width: 48px;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
}
.mv-optchip:hover:not(:disabled) { border-color: var(--accent); }
.mv-optchip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mv-optchip.is-off,
.mv-optchip:disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }

.mv-optchip--swatch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 9px;
}
[dir="rtl"] .mv-optchip--swatch { padding: 8px 9px 8px 14px; }
.mv-optchip--swatch.is-active { background: rgba(209, 28, 60, 0.08); color: var(--fg); }
.mv-swatch-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 235, 0.3);
  background: var(--border-strong);
  flex: 0 0 auto;
  overflow: hidden;
}
.mv-swatch-dot img { width: 100%; height: 100%; object-fit: cover; }

.mv-buyrow { display: flex; align-items: stretch; gap: 12px; }
.mv-buyrow .mv-btn { flex: 1; min-height: 54px; font-size: 14px; }
@media (max-width: 480px) {
  .mv-buyrow { flex-wrap: wrap; }
  .mv-buyrow .mv-qty { align-self: flex-start; }
  .mv-buyrow .mv-btn { flex: 1 1 100%; }
}

.mv-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-ar .mv-hint { font-size: 13px; }
.mv-form-error {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent-hot);
  line-height: 1.6;
}

.mv-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-ar .mv-stock { font-size: 13px; }
.mv-stock::before { content: ""; width: 6px; height: 6px; background: currentColor; flex: 0 0 auto; }
.mv-stock--in { color: var(--fg-soft); }
.mv-stock--low { color: var(--warn); }
.mv-stock--out { color: var(--accent-hot); }

.mv-oos-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(240, 160, 48, 0.25);
  background: rgba(240, 160, 48, 0.04);
}
.mv-oos-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warn);
  border: 1px solid rgba(240, 160, 48, 0.5);
  padding: 5px 10px;
  white-space: nowrap;
}
.mv-oos-text { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fg-muted); line-height: 1.75; }
.lang-ar .mv-oos-text { font-size: 12px; line-height: 1.9; }

.mv-desc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-ar .mv-desc-label { font-size: 13px; }

.mv-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-ar .mv-perks { font-size: 13px; }
.mv-perks li { display: flex; align-items: center; gap: 10px; }
.mv-perks li::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: 0 0 auto; }

.mv-panel { border-top: 1px solid var(--border); }
.mv-panel-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  text-align: start;
}
.lang-ar .mv-panel-head { font-size: 14px; }
.mv-panel-head svg { transition: transform 0.2s; flex: 0 0 auto; }
.mv-panel-head[aria-expanded="true"] svg { transform: rotate(45deg); color: var(--accent); }
.mv-panel-body { padding-bottom: 20px; }

.mv-pdp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-ar .mv-pdp-meta { font-size: 12px; }
.mv-share { color: var(--fg-muted); letter-spacing: inherit; text-transform: inherit; transition: color 0.15s; }
.mv-share:hover { color: var(--accent); }

.mv-related {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--border);
}

/* sticky buy bar */
.mv-stickybar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px var(--gutter);
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--border-strong);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mv-stickybar.is-on { transform: none; }
.mv-stickybar-info { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mv-stickybar-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mv-stickybar .mv-price { font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.mv-stickybar .mv-btn { min-height: 46px; flex: 0 0 auto; font-size: 12px; }

@media (max-width: 900px) {
  .mv-pdp { grid-template-columns: 1fr; gap: 24px; }
  .mv-pdp-media { position: static; }
}


/* ==========================================================================
   20. QUICK VIEW
   ========================================================================== */
.mv-qv {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}
.mv-qv-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
}
.mv-qv-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 5; background: var(--bg-2); }
.mv-qv-pad { padding: clamp(18px, 3vw, 32px); }
.mv-qv-loading { display: grid; place-items: center; min-height: 320px; color: var(--accent); }
.mv-qv-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.mv-qv-media { display: flex; flex-direction: column; gap: 8px; }
.mv-qv-main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-2);
}
.mv-qv-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.mv-qv-thumbs::-webkit-scrollbar { display: none; }
.mv-qv-thumb {
  position: relative;
  width: 56px;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  opacity: 0.5;
  transition: opacity 0.15s, border-color 0.15s;
}
.mv-qv-thumb.is-active { opacity: 1; border-color: var(--accent); }
.mv-qv .mv-pdp-name { font-size: clamp(24px, 2.6vw, 36px); }
.mv-qv-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.mv-qv-more:hover { color: var(--accent); }
@media (max-width: 720px) {
  .mv-qv { padding: 0; align-items: flex-end; }
  .mv-qv-panel { max-height: 92dvh; border-inline: 0; border-bottom: 0; }
  .mv-qv-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   21. CART PAGE
   ========================================================================== */
.mv-cartpage {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.mv-cartpage .mv-lines { border: 1px solid var(--border); background: var(--panel); }
.mv-cartpage .mv-line:last-child { border-bottom: 0; }
.mv-cartpage .mv-line-img { width: 110px; height: 126px; }
.mv-summary {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
}
.mv-summary-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.mv-continue {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: center;
  transition: color 0.15s;
}
.mv-continue:hover { color: var(--accent); }
@media (max-width: 900px) {
  .mv-cartpage { grid-template-columns: 1fr; }
  .mv-summary { position: static; }
}


/* ==========================================================================
   22. COLLECTIONS · BLOG · PROSE · FAQ · 404
   ========================================================================== */
.mv-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}
.mv-tile {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}
.mv-tile:hover { border-color: var(--accent); }
.mv-tile-img {
  position: relative;
  aspect-ratio: var(--tile-ratio, 1 / 1.2);
  overflow: hidden;
  background: var(--panel-2);
}
.mv-tile-img .mv-fill { transition: transform 0.45s ease; }
.mv-tile:hover .mv-tile-img .mv-fill { transform: scale(1.04); }
.mv-tile-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.mv-tile-name {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  min-width: 0;
}
.lang-ar .mv-tile-name { font-size: 15px; }
.mv-tile-count { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent); flex: 0 0 auto; }
.mv-tile-ex {
  padding: 0 14px 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mv-tile-date { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--fg-muted); text-transform: uppercase; }

/* Long-form page shell (static page, article, FAQ) */
.mv-page { max-width: 820px; }
.mv-page-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 32px;
  overflow-wrap: anywhere;
}
.lang-ar .mv-page-title { line-height: 1.3; }
.mv-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: -18px 0 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.mv-page-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 32px;
  background: var(--panel);
}

/* Rich text — merchant-authored HTML */
.mv-prose {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-soft);
  overflow-wrap: anywhere;
}
.lang-ar .mv-prose { line-height: 2; font-size: 16px; }
.mv-prose > * + * { margin-top: 0.9em; }
.mv-prose h1,
.mv-prose h2,
.mv-prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  text-transform: uppercase;
  margin-top: 1.6em;
}
.mv-prose h1 { font-size: clamp(24px, 2.6vw, 32px); }
.mv-prose h2 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.01em; }
.mv-prose h3 { font-size: clamp(17px, 1.8vw, 20px); }
.mv-prose h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.mv-prose strong,
.mv-prose b { color: var(--fg); font-weight: 700; }
.mv-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.mv-prose a:hover { color: var(--accent-hot); }
.mv-prose ul,
.mv-prose ol { display: flex; flex-direction: column; gap: 0.4em; padding-inline-start: 1.3em; }
.mv-prose ul { list-style: none; padding-inline-start: 0; }
.mv-prose ul li { position: relative; padding-inline-start: 1.2em; }
.mv-prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.mv-prose ol { list-style: decimal; }
.mv-prose ol li::marker { font-family: var(--font-mono); color: var(--accent); }
.mv-prose blockquote {
  border-inline-start: 2px solid var(--accent);
  padding: 2px 0;
  padding-inline-start: 16px;
  color: var(--fg);
  font-style: italic;
}
.mv-prose hr { border: 0; border-top: 1px solid var(--border); margin: 1.6em 0; }
.mv-prose img { height: auto; border: 1px solid var(--border); margin: 2em 0; }
.mv-prose iframe,
.mv-prose video { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.mv-prose table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mv-prose th,
.mv-prose td { border: 1px solid var(--border-strong); padding: 10px 12px; text-align: start; }
.mv-prose th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); background: var(--panel); }
.hy-scroll-x { overflow-x: auto; max-width: 100%; }

.mv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); }

/* FAQ accordion */
.mv-faq { max-width: 860px; }
.mv-faq-list { display: flex; flex-direction: column; }
.mv-faq-item { border-top: 1px solid var(--border); transition: border-color 0.2s; }
.mv-faq-item:last-child { border-bottom: 1px solid var(--border); }
.mv-faq-item.is-open { border-color: var(--border-strong); }
.mv-faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  padding: 22px 0;
  text-align: start;
  transition: background 0.2s;
}
.mv-faq-q:hover { background: rgba(245, 208, 214, 0.03); }
.mv-faq-item.is-open .mv-faq-q { background: rgba(209, 28, 60, 0.04); }
.mv-faq-qtext {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.4;
  padding-inline-start: 4px;
  transition: color 0.2s;
}
.lang-ar .mv-faq-qtext { font-size: 16px; line-height: 1.7; }
.mv-faq-q:hover .mv-faq-qtext,
.mv-faq-item.is-open .mv-faq-qtext { color: var(--accent); }
.mv-faq-icon { justify-self: center; color: var(--fg-muted); transition: color 0.2s, transform 0.3s var(--ease-out); }
.mv-faq-item.is-open .mv-faq-icon { color: var(--accent); transform: rotate(45deg); }
.mv-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}
.mv-faq-item.is-open .mv-faq-a { grid-template-rows: 1fr; }
.mv-faq-a > div { overflow: hidden; }
.mv-faq-a .mv-prose { padding: 4px 4px 24px; font-size: 14px; color: var(--fg-muted); }

/* 404 */
.mv-404 { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(32px, 6vw, 72px); }
.mv-404-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 26vw, 360px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--accent);
  direction: ltr;
}
.mv-404-text { max-width: 520px; color: var(--fg-muted); line-height: 1.8; }
.mv-404-links { display: flex; flex-wrap: wrap; gap: 10px; }


/* ==========================================================================
   23. TOAST · MOTION · UTILITIES
   ========================================================================== */
#toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  width: 100%;
  padding: 14px 18px;
  padding-inline-start: 14px;
  background: var(--bg-2);
  color: var(--fg);
  border: 1px solid rgba(209, 28, 60, 0.35);
  border-inline-start: 3px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(209, 28, 60, 0.12), 0 16px 48px rgba(0, 0, 0, 0.7);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  pointer-events: auto;
  animation: mv-toast-in 0.3s var(--ease-out) both;
}
.lang-ar .toast { font-size: 13px; }
.toast-error,
.toast-warning { border-color: rgba(245, 208, 214, 0.22); border-inline-start-color: rgba(245, 208, 214, 0.5); }
@keyframes mv-toast-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Page enter / exit — main fades and un-blurs in, out on internal links */
@keyframes mv-page-in { from { opacity: 0; filter: blur(8px); transform: translateY(32px); } to { opacity: 1; filter: none; transform: none; } }
.mv-main { animation: mv-page-in 0.52s var(--ease) both; }
.mv-main.is-leaving {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-32px);
  transition: opacity 0.32s cubic-bezier(0.55, 0.055, 0.675, 0.19), filter 0.32s, transform 0.32s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

/* Scroll reveal — main.js adds .reveal-init to <html> outside the editor,
   and .is-visible as each element enters the viewport. */
.reveal-init .reveal {
  opacity: 0;
  transform: translateY(var(--ry, 36px)) scale(var(--rs, 1));
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.1s);
}
.reveal-init .reveal.is-visible { opacity: 1; transform: none; }

/* body scroll lock while an overlay is open */
html.mv-locked { overflow: hidden; }

/* Lenis */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-init .reveal { opacity: 1; transform: none; }
}

/* Touch targets */
@media (pointer: coarse) {
  .mv-line-remove { width: 36px; height: 36px; }
  .mv-qty button { width: 42px; height: 42px; }
}
