/* ==========================================================================
   CrazyOtels — Site v2 design system
   Premium, app-like front end. Loaded only by the v2 theme (views/themes/v2).
   Prefix: x-   (shell & shared components)      xh- (home page, in its view)
   ========================================================================== */

:root {
  --x-brand:      #ff7b00;
  --x-brand-2:    #ff5e3a;
  --x-brand-ink:  #c25400;
  --x-brand-soft: rgba(255,123,0,.10);
  --x-grad:       linear-gradient(135deg, #ff8a00 0%, #ff5e3a 100%);
  --x-grad-deep:  linear-gradient(160deg, #0b1324 0%, #16213b 60%, #1d1b3a 100%);
  --x-navy:       #0b1324;
  --x-ink:        #0f172a;
  --x-ink-2:      #334155;
  --x-muted:      #64748b;
  --x-faint:      #94a3b8;
  --x-line:       rgba(15,23,42,.07);
  --x-line-2:     rgba(15,23,42,.12);
  --x-bg:         #f5f6fa;
  --x-card:       #ffffff;
  --x-glass:      rgba(255,255,255,.72);
  --x-glass-2:    rgba(255,255,255,.86);
  --x-glass-bd:   rgba(255,255,255,.65);
  --x-blur:       saturate(180%) blur(20px);
  --x-r-sm: 12px; --x-r: 16px; --x-r-lg: 22px; --x-r-xl: 28px;
  --x-shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.04);
  --x-shadow:    0 10px 30px -12px rgba(15,23,42,.18), 0 2px 6px rgba(15,23,42,.04);
  --x-shadow-lg: 0 30px 60px -20px rgba(15,23,42,.30);
  --x-shadow-brand: 0 12px 26px -10px rgba(255,94,58,.55);
  --x-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --x-safe-b: env(safe-area-inset-bottom, 0px);
  --x-safe-t: env(safe-area-inset-top, 0px);
  --x-tab-h: 66px;
  --x-bar-h: 60px;
  --x-ease: cubic-bezier(.2,.8,.2,1);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html:has(body.x-v2), body.x-v2 { overflow-x: clip; } /* safety net: no sideways scroll on phones */
body.x-v2 {
  font-family: var(--x-font);
  background: var(--x-bg);
  color: var(--x-ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
body.x-v2.x-has-tabbar { padding-bottom: calc(var(--x-tab-h) + var(--x-safe-b)); }
body.x-v2.x-lock { overflow: hidden; }
/* :where() = zero specificity, so a page's own heading/link colours always win */
:where(.x-v2) :where(h1, h2, h3, h4, h5, h6) { font-family: var(--x-font); letter-spacing: -.015em; }
:where(.x-v2) a { color: var(--x-brand-ink); }
.x-v2 ::selection { background: rgba(255,123,0,.18); }
:where(.x-v2) img { max-width: 100%; }
.x-v2 .container, .x-v2 .container-lg, .x-v2 .container-xl { max-width: 1240px; }
.x-v2 :focus-visible { outline: 2px solid var(--x-brand); outline-offset: 2px; }

/* Ambient colour fields behind glass */
.x-ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.x-ambient::before, .x-ambient::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; }
.x-ambient::before { width: 520px; height: 520px; top: -200px; right: -160px; background: #ffd7b0; }
.x-ambient::after  { width: 460px; height: 460px; top: 40%; left: -220px; background: #dbe4ff; }

/* ── Desktop navigation (floating glass pill) ─────────────────────────── */
.x-nav { position: sticky; top: 0; z-index: 1030; padding: 12px 0 0; pointer-events: none; }
.x-nav-inner {
  pointer-events: auto;
  max-width: 1240px; margin: 0 auto; padding: 0 10px 0 18px; height: 64px;
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--x-glass); -webkit-backdrop-filter: var(--x-blur); backdrop-filter: var(--x-blur);
  border: 1px solid var(--x-glass-bd); border-radius: 999px;
  box-shadow: 0 8px 30px -14px rgba(15,23,42,.25), inset 0 1px 0 rgba(255,255,255,.7);
  transition: box-shadow .3s var(--x-ease), background .3s;
}
.x-nav.is-scrolled .x-nav-inner { background: var(--x-glass-2); box-shadow: 0 16px 40px -18px rgba(15,23,42,.35); }
.x-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.x-logo img { height: 40px; width: auto; display: block; }
.x-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; padding: 4px; list-style: none; border-radius: 999px; background: rgba(15,23,42,.04); }
.x-v2 .x-links a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px;
  font-size: .86rem; font-weight: 650; color: var(--x-ink-2); text-decoration: none; transition: background .2s, color .2s;
}
.x-v2 .x-links a:hover { color: var(--x-ink); background: rgba(255,255,255,.75); }
.x-v2 .x-links a.is-on { color: var(--x-ink); background: #fff; box-shadow: var(--x-shadow-sm); }
.x-links a.is-on i { color: var(--x-brand); }
.x-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.x-v2 .x-icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.8); color: var(--x-ink-2); font-size: 1rem; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--x-line); transition: transform .15s, color .2s;
}
.x-v2 .x-icon-btn:hover { color: var(--x-brand); transform: translateY(-1px); }
.x-badge {
  position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  display: none; align-items: center; justify-content: center; font-size: .62rem; font-weight: 800; line-height: 1;
  color: #fff; background: #ef4444; box-shadow: 0 0 0 2px #fff;
}
.x-v2 .x-cta {
  display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 1.15rem; border-radius: 999px; border: 0;
  background: var(--x-grad); color: #fff; font-size: .86rem; font-weight: 750; text-decoration: none; white-space: nowrap;
  box-shadow: var(--x-shadow-brand); transition: transform .15s, filter .2s;
}
.x-v2 .x-cta:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.05); }
.x-v2 .x-ghost {
  display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 1.05rem; border-radius: 999px;
  background: #fff; color: var(--x-ink); font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--x-line-2);
}
.x-v2 .x-ghost:hover { color: var(--x-brand-ink); }
.x-avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--x-grad); color: #fff; font-weight: 800; font-size: .82rem; flex-shrink: 0; }
.x-acct { padding: 0 .9rem 0 .3rem !important; }
.x-v2 .dropdown-menu.x-menu { border: 1px solid var(--x-line); border-radius: 18px; padding: .45rem; box-shadow: var(--x-shadow-lg); min-width: 230px; margin-top: .5rem !important; }
.x-v2 .x-menu .dropdown-item { border-radius: 12px; padding: .6rem .75rem; font-size: .88rem; font-weight: 600; color: var(--x-ink-2); display: flex; align-items: center; gap: .65rem; }
.x-v2 .x-menu .dropdown-item i { width: 18px; text-align: center; color: var(--x-faint); }
.x-v2 .x-menu .dropdown-item:hover { background: var(--x-brand-soft); color: var(--x-brand-ink); }
.x-v2 .x-menu .dropdown-item:hover i { color: var(--x-brand); }

/* ── Mobile app bar ───────────────────────────────────────────────────── */
.x-appbar { display: none; }
@media (max-width: 991.98px) {
  .x-nav { display: none; }
  .x-appbar {
    display: flex; align-items: center; gap: .5rem; position: sticky; top: 0; z-index: 1030;
    height: calc(var(--x-bar-h) + var(--x-safe-t)); padding: var(--x-safe-t) 12px 0 14px;
    background: var(--x-glass-2); -webkit-backdrop-filter: var(--x-blur); backdrop-filter: var(--x-blur);
    border-bottom: 1px solid var(--x-line); transition: box-shadow .3s;
  }
  .x-appbar.is-scrolled { box-shadow: 0 8px 24px -14px rgba(15,23,42,.35); }
  .x-appbar .x-logo img { height: 34px; }
  .x-appbar .x-actions { margin-left: auto; gap: .4rem; }
  .x-appbar .x-icon-btn { width: 40px; height: 40px; }
}

/* ── Bottom tab bar (mobile) ──────────────────────────────────────────── */
.x-tabbar { display: none; }
@media (max-width: 991.98px) {
  .x-tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 1035; left: 10px; right: 10px;
    bottom: calc(10px + var(--x-safe-b)); height: var(--x-tab-h); padding: 6px; border-radius: 24px;
    background: rgba(255,255,255,.82); -webkit-backdrop-filter: var(--x-blur); backdrop-filter: var(--x-blur);
    border: 1px solid var(--x-glass-bd); box-shadow: 0 18px 40px -16px rgba(15,23,42,.4), inset 0 1px 0 rgba(255,255,255,.8);
  }
  body.x-v2.x-has-tabbar { padding-bottom: calc(var(--x-tab-h) + 24px + var(--x-safe-b)); }
  .x-v2 .x-tab {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: none; border-radius: 18px; color: var(--x-faint); font-family: inherit; font-size: .64rem; font-weight: 700;
    letter-spacing: .01em; text-decoration: none; transition: color .2s, background .2s; -webkit-user-select: none; user-select: none;
  }
  .x-tab i { font-size: 1.12rem; line-height: 1; transition: transform .2s var(--x-ease); }
  .x-v2 .x-tab.is-on { color: var(--x-brand-ink); background: var(--x-brand-soft); }
  .x-tab.is-on i { transform: translateY(-1px); color: var(--x-brand); }
  .x-v2 .x-tab:active { transform: scale(.94); }
  .x-tab .x-badge { top: 4px; right: calc(50% - 22px); }
}

/* ── Menu sheet (mobile) ──────────────────────────────────────────────── */
.x-scrim { position: fixed; inset: 0; z-index: 1060; background: rgba(11,19,36,.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.x-sheet {
  position: fixed; z-index: 1070; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 16px calc(20px + var(--x-safe-b)); border-radius: 28px 28px 0 0;
  background: rgba(248,249,252,.94); -webkit-backdrop-filter: var(--x-blur); backdrop-filter: var(--x-blur);
  box-shadow: 0 -20px 50px -20px rgba(15,23,42,.45); transform: translateY(105%); transition: transform .38s var(--x-ease); visibility: hidden;
}
.x-sheet.is-open { transform: none; visibility: visible; }
.x-scrim.is-open { opacity: 1; visibility: visible; }
.x-grab { width: 42px; height: 5px; border-radius: 99px; background: rgba(15,23,42,.18); margin: 2px auto 14px; }
.x-sheet-user { display: flex; align-items: center; gap: .85rem; padding: 14px; border-radius: 20px; background: var(--x-grad-deep); color: #fff; margin-bottom: 14px; }
.x-sheet-user .x-avatar { width: 46px; height: 46px; font-size: 1rem; }
.x-sheet-user b { display: block; font-size: 1rem; }
.x-sheet-user small { color: rgba(255,255,255,.65); font-size: .78rem; }
.x-v2 .x-sheet-user a.x-cta { margin-left: auto; height: 38px; font-size: .8rem; }
.x-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.x-v2 .x-quick a, .x-v2 .x-quick button {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border: 0; border-radius: 18px;
  background: #fff; box-shadow: var(--x-shadow-sm); font-family: inherit; font-size: .7rem; font-weight: 700; color: var(--x-ink-2); text-decoration: none; position: relative;
}
.x-quick i { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; font-size: 1rem; }
.x-q1 { background: #fff1e5; color: #ff7b00; } .x-q2 { background: #ffe4e6; color: #e11d48; } .x-q3 { background: #e0f2fe; color: #0284c7; } .x-q4 { background: #dcfce7; color: #16a34a; }
.x-group { background: #fff; border-radius: 20px; box-shadow: var(--x-shadow-sm); overflow: hidden; margin-bottom: 12px; }
.x-group-t { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--x-faint); margin: 16px 6px 8px; }
.x-v2 .x-group a, .x-group summary {
  display: flex; align-items: center; gap: .8rem; padding: 14px 16px; font-size: .92rem; font-weight: 650; color: var(--x-ink); text-decoration: none;
  border-bottom: 1px solid var(--x-line); cursor: pointer; list-style: none;
}
.x-group summary::-webkit-details-marker { display: none; }
.x-group a:last-child, .x-group details:last-child summary { border-bottom: 0; }
.x-group a > i:first-child, .x-group summary > i:first-child { width: 20px; text-align: center; color: var(--x-faint); }
.x-group a .x-chev, .x-group summary .x-chev { margin-left: auto; font-size: .72rem; color: var(--x-faint); transition: transform .2s; }
.x-group details[open] summary .x-chev { transform: rotate(90deg); }
.x-group details > div { padding: 4px 0 6px; background: #fafbfd; }
.x-v2 .x-group details > div a { padding: 10px 16px 10px 52px; font-size: .84rem; font-weight: 600; color: var(--x-ink-2); border-bottom: 0; }
.x-v2 .x-group a.is-on { color: var(--x-brand-ink); }
.x-group a.is-on > i:first-child { color: var(--x-brand); }
.x-v2 .x-wa-wide { display: flex; align-items: center; justify-content: center; gap: .55rem; height: 52px; border-radius: 18px; background: #22c55e; color: #fff; font-weight: 750; text-decoration: none; box-shadow: 0 12px 24px -12px rgba(34,197,94,.7); margin-top: 14px; }
.x-v2 .x-wa-wide:hover { color: #fff; }

/* ── Floating WhatsApp ────────────────────────────────────────────────── */
.x-v2 .x-wa {
  position: fixed; z-index: 1025; right: 20px; bottom: 22px; width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; background: #22c55e; color: #fff; font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 14px 28px -10px rgba(34,197,94,.65); transition: transform .2s var(--x-ease);
}
.x-v2 .x-wa:hover { color: #fff; transform: translateY(-3px) rotate(-4deg); }
@media (max-width: 991.98px) { .x-v2 .x-wa { width: 50px; height: 50px; border-radius: 16px; font-size: 1.45rem; right: 16px; bottom: calc(var(--x-tab-h) + 22px + var(--x-safe-b)); } body.x-v2:not(.x-has-tabbar) .x-wa { bottom: calc(96px + var(--x-safe-b)); } }

/* ── Preview ribbon ───────────────────────────────────────────────────── */
.x-preview { position: fixed; z-index: 1080; left: 50%; top: calc(8px + var(--x-safe-t)); transform: translateX(-50%); display: flex; align-items: center; gap: .6rem; padding: .35rem .4rem .35rem .9rem; border-radius: 999px; background: var(--x-navy); color: #fff; font-size: .74rem; font-weight: 700; box-shadow: var(--x-shadow-lg); white-space: nowrap; }
.x-v2 .x-preview a { color: #0b1324; background: #fff; padding: .25rem .7rem; border-radius: 999px; text-decoration: none; }
@media (max-width: 991.98px) { .x-preview { top: auto; bottom: calc(var(--x-tab-h) + 26px + var(--x-safe-b)); } }

/* ── Footer ───────────────────────────────────────────────────────────── */
.x-foot { position: relative; margin-top: 4rem; background: var(--x-grad-deep); color: rgba(255,255,255,.72); overflow: hidden; }
.x-foot::before { content: ""; position: absolute; width: 520px; height: 520px; top: -260px; right: -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,123,0,.35), transparent); pointer-events: none; }
.x-foot-cta { position: relative; max-width: 1240px; margin: 0 auto; padding: 3rem 20px 0; }
.x-foot-cta-card { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 1.6rem 1.8rem; border-radius: 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.x-foot-cta-card h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.35rem; font-weight: 800; }
.x-foot-cta-card p { margin: 0; font-size: .9rem; }
.x-foot-cta-card .x-acts { display: flex; gap: .6rem; margin-left: auto; flex-wrap: wrap; }
.x-foot-main { position: relative; max-width: 1240px; margin: 0 auto; padding: 3rem 20px 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.x-foot-brand img { height: 46px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.x-foot-brand p { font-size: .88rem; line-height: 1.7; max-width: 340px; }
.x-socials { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.1rem; }
.x-v2 .x-socials a { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.x-v2 .x-socials a:hover { background: var(--x-brand); transform: translateY(-2px); color: #fff; }
.x-foot h6 { color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.x-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.x-v2 .x-foot ul a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .88rem; transition: color .2s; }
.x-v2 .x-foot ul a:hover { color: #fff; }
.x-foot .x-contact li { display: flex; gap: .7rem; font-size: .88rem; line-height: 1.5; }
.x-foot .x-contact i { color: var(--x-brand); margin-top: 4px; width: 16px; }
.x-foot-bottom { position: relative; border-top: 1px solid rgba(255,255,255,.08); }
.x-foot-bottom > div { max-width: 1240px; margin: 0 auto; padding: 1.2rem 20px; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; font-size: .8rem; }
.x-v2 .x-foot-bottom a { color: rgba(255,255,255,.72); text-decoration: none; }
.x-v2 .x-foot-bottom a:hover { color: #fff; }
.x-pay { display: flex; gap: .4rem; flex-wrap: wrap; }
.x-pay span { padding: .25rem .6rem; border-radius: 8px; background: rgba(255,255,255,.08); font-size: .7rem; font-weight: 800; letter-spacing: .04em; color: #fff; }
@media (max-width: 991.98px) {
  .x-foot { margin-top: 2.5rem; border-radius: 28px 28px 0 0; }
  .x-foot-cta { padding: 1.6rem 16px 0; }
  .x-foot-cta-card { padding: 1.25rem; border-radius: 22px; }
  .x-foot-cta-card .x-acts { margin-left: 0; width: 100%; }
  .x-foot-cta-card .x-acts a { flex: 1; justify-content: center; }
  .x-foot-main { grid-template-columns: 1fr 1fr; gap: 1.8rem 1.2rem; padding: 2rem 16px 1rem; }
  .x-foot-brand { grid-column: 1 / -1; }
  .x-foot-main .x-foot-contact { grid-column: 1 / -1; }
  .x-foot-bottom > div { padding: 1rem 16px; justify-content: center; text-align: center; }
}

/* ── Shared UI refresh for every page in v2 ───────────────────────────── */
.x-v2 .btn { border-radius: 14px; font-weight: 700; padding: .62rem 1.15rem; transition: transform .15s, filter .2s, box-shadow .2s; }
.x-v2 .btn:active { transform: scale(.98); }
.x-v2 .btn-primary, .x-v2 .btn-warning { background: var(--x-grad) !important; border: 0 !important; color: #fff !important; box-shadow: var(--x-shadow-brand); }
.x-v2 .btn-primary:hover, .x-v2 .btn-warning:hover { filter: brightness(1.05); }
.x-v2 .btn-outline-primary, .x-v2 .btn-outline-secondary { border-radius: 14px; border-color: var(--x-line-2); color: var(--x-ink); background: #fff; }
.x-v2 .btn-outline-primary:hover, .x-v2 .btn-outline-secondary:hover { border-color: var(--x-brand); color: var(--x-brand-ink); background: #fff; }
.x-v2 .btn-sm { border-radius: 11px; padding: .4rem .8rem; }
.x-v2 .btn-lg { border-radius: 16px; padding: .85rem 1.4rem; }
.x-v2 .form-control, .x-v2 .form-select {
  border-radius: 14px; border: 1px solid var(--x-line-2); padding: .7rem .95rem; font-size: .95rem; background-color: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.x-v2 .form-control:focus, .x-v2 .form-select:focus { border-color: rgba(255,123,0,.6); box-shadow: 0 0 0 4px rgba(255,123,0,.14); }
.x-v2 .form-label { font-size: .82rem; font-weight: 700; color: var(--x-ink-2); }
.x-v2 .form-check-input:checked { background-color: var(--x-brand); border-color: var(--x-brand); }
.x-v2 .card { border: 1px solid var(--x-line); border-radius: var(--x-r-lg); box-shadow: var(--x-shadow-sm); overflow: hidden; }
.x-v2 .modal-content { border: 0; border-radius: 26px; box-shadow: var(--x-shadow-lg); }
.x-v2 .alert { border-radius: 16px; border: 0; }
.x-v2 .badge { border-radius: 999px; font-weight: 700; }
.x-v2 .table { --bs-table-bg: transparent; }
.x-v2 .pagination .page-link { border-radius: 12px !important; margin: 0 3px; border: 0; color: var(--x-ink-2); box-shadow: inset 0 0 0 1px var(--x-line-2); }
.x-v2 .pagination .active .page-link { background: var(--x-grad); color: #fff; box-shadow: none; }
.x-v2 .breadcrumb { font-size: .82rem; }
.x-v2 .dropdown-menu { border-radius: 16px; border-color: var(--x-line); box-shadow: var(--x-shadow); }
@media (max-width: 575.98px) {
  .x-v2 .container, .x-v2 .container-fluid { padding-left: 16px; padding-right: 16px; }
  .x-v2 .form-control, .x-v2 .form-select { font-size: 16px; } /* no iOS zoom on focus */
}

/* Hide the v1 shell bits that pages may still print */
.x-v2 .wa-float, .x-v2 .scroll-to-top { display: none !important; }

/* No transform/opacity animation on <main>: an animated ancestor becomes the containing block
   for position:fixed descendants (lightbox, filter sheet, checkout bar) and traps their z-index. */
@media (prefers-reduced-motion: reduce) { .x-v2 *, .x-v2 *::before, .x-v2 *::after { transition: none !important; animation: none !important; } }
