/* ALGA MOTO — mobile mockup design (Oct 2026) + desktop adaptation, light & dark.
   Loaded after app.css and /sf/design.css. Colours come from CSS variables, which Admin → Design can override. */

/* ---------- tokens ---------- */
:root { --bg: #f4f5f7; --surface: #ffffff; --surface-2: #eef0f3; --ink: #111318; --ink-2: #2f343c; --muted: #5f6672; --line: #e3e6eb; --line-2: #d2d6dd;
  --amber: #f5b42a; --amber-ink: #16181d; --tint: color-mix(in srgb, var(--red) 7%, var(--surface)); --tint-2: color-mix(in srgb, var(--red) 12%, var(--surface));
  --card-shadow: 0 1px 2px rgba(17,19,24,.05), 0 10px 28px -18px rgba(17,19,24,.28); --dark: #0e1014; --dark-2: #171a20; --dark-line: #2a2e36; --gutter: 16px; }
:root[data-theme="dark"] { --bg: #0d0f13; --surface: #171a20; --surface-2: #20242b; --ink: #f2f3f5; --ink-2: #c9cdd4; --muted: #9aa0aa; --line: #2a2e36; --line-2: #3a3f49;
  --plate: #f4f5f7; --plate-ink: #16181d; --tint: color-mix(in srgb, var(--red) 14%, var(--surface)); --tint-2: color-mix(in srgb, var(--red) 20%, var(--surface));
  --card-shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 30px -18px rgba(0,0,0,.8); color-scheme: dark; }
body { background: var(--bg); }
h1 em, h2 em, h3 em, .hero-h em { color: var(--red); font-style: inherit; }

/* ---------- announcement bar ---------- */
.announce { display: flex; align-items: center; gap: 12px; justify-content: flex-start; min-height: 50px; padding: 6px var(--gutter); background: #121419; color: #fff; text-decoration: none; text-align: start; border-radius: 0 0 14px 14px; }
.announce:hover { color: #fff; }
.announce .ann-ic { display: grid; place-items: center; flex: none; } .announce .ann-ic .ic { width: 28px; height: 28px; color: var(--red); stroke-width: 1.9; }
:root[data-theme="dark"] .announce .ann-ic .ic { color: var(--amber); }
.announce-track { flex: 1; min-width: 0; }
.announce p { margin: 0; display: flex; flex-direction: column; line-height: 1.25; }
.announce b { font-weight: 800; font-size: .95rem; } .announce .hl { color: var(--red); }
.announce small { font-size: .8rem; color: #c9cdd4; font-weight: 500; }
.announce .ann-go { width: 22px; height: 22px; color: #fff; flex: none; } [dir="rtl"] .announce .ann-go { transform: scaleX(-1); }

/* ---------- header ---------- */
.site-head { border-bottom: 0; }
/* dark header colour comes from lib/storefront-design.js so the glass opacity/blur settings also work in dark mode */
.head-row { position: relative; height: 68px; gap: 8px; }
.head-menu .ic { width: 28px; height: 28px; stroke-width: 2; }
.brand img.brand-logo { display: block; }
.cart-btn .ic, .head-tools .icon-btn .ic { width: 26px; height: 26px; stroke-width: 1.9; }
.cart-btn .count { background: var(--red); }
@media (max-width: 899px) {
  .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .head-tools { margin-inline-start: auto; }
}
@media (min-width: 900px) { .head-menu { display: none; } .head-row { height: 80px; } .main-nav a[aria-current="page"] { color: var(--red); } }

/* ---------- side menu ---------- */
.side-menu { backdrop-filter: blur(2px); }
.side-inner { width: min(88vw, 390px); padding: 18px 16px 22px; background: var(--surface); overflow-x: hidden; }
.side-inner::before { content: ""; position: absolute; top: -40px; inset-inline-start: -60px; width: 150px; height: 120px; background: var(--red); transform: rotate(-38deg); opacity: .95; pointer-events: none; }
.side-inner::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 180px; height: 150px; background: linear-gradient(135deg, transparent 55%, var(--red) 55%, var(--red) 64%, transparent 64%, transparent 70%, color-mix(in srgb, var(--red) 70%, transparent) 70%); pointer-events: none; opacity: .9; }
[dir="rtl"] .side-inner::after { transform: scaleX(-1); }
.side-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.side-top img.side-logo { width: 158px; height: auto; }
.side-x { width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; border: 0; background: var(--surface); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(0,0,0,.3); }
.side-x .ic { width: 24px; height: 24px; stroke-width: 2.2; }
.side-nav { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.side-nav .sm-item { display: flex; align-items: center; gap: 14px; padding: 7px 10px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 1.05rem; color: var(--ink); border-inline-start: 3px solid transparent; }
.side-nav .sm-item:hover { background: var(--tint); color: var(--ink); }
.side-nav .sm-item.is-active { background: var(--tint); border-inline-start-color: var(--red); }
.sm-ic { width: 50px; height: 50px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); }
.sm-ic .ic { width: 26px; height: 26px; color: var(--ink); stroke-width: 1.9; }
.sm-ic.is-cat .ic, .sm-item.is-active .sm-ic .ic, .sm-ic .ic { color: var(--red); }
.sm-item:not(.is-active) .sm-ic:not(.is-cat) .ic { color: var(--ink); }
.sm-label { flex: 1; min-width: 0; }
.sm-chev { width: 18px; height: 18px; color: var(--muted); } [dir="rtl"] .sm-chev { transform: scaleX(-1); }
.side-nav hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; width: 100%; }
.side-foot { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.side-lang { flex: 1; display: grid; gap: 8px; } .side-lang > span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.side-lang .seg { display: flex; padding: 4px; background: var(--surface-2); border-radius: 999px; }
.side-lang .seg a { flex: 1; text-align: center; padding: 8px 10px; border-radius: 999px; font-weight: 700; color: var(--muted); text-decoration: none; font-size: .95rem; }
.side-lang .seg a[aria-current="true"] { background: var(--red); color: #fff; }

/* ---------- section heads ---------- */
.block { margin-block: 34px; }
.block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.block-head h2 { margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.block-head h2::before { content: ""; display: block; width: 38px; height: 4px; border-radius: 3px; background: var(--red); margin-bottom: 10px; }
.block-sub { margin: 4px 0 0; color: var(--muted); font-size: 1rem; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; text-decoration: none; white-space: nowrap; font-size: .98rem; padding-bottom: 2px; }
.link-more .ic { width: 16px; height: 16px; stroke-width: 2.2; } [dir="rtl"] .link-more .ic { transform: scaleX(-1); }

/* ---------- hero ---------- */
.hero { padding: 0 0 6px; }
.hero .hero-grid { gap: 0; }
.hero .hero-media { border-radius: 22px; background: #0f1115; box-shadow: 0 18px 40px -26px rgba(0,0,0,.6); }
@media (max-width: 899px) { .hero .wrap.hero-grid { padding-inline: 0; } .hero .hero-media { margin-inline: 6px; } .hero-copy, .hero .checker-box { margin-inline: var(--gutter); } }
.hero-dots { bottom: 14px; } .hero-dots button { width: 26px; height: 5px; background: rgba(255,255,255,.55); } .hero-dots button[aria-current="true"] { background: var(--red); width: 36px; }
.hero-copy { position: relative; padding: 22px 0 6px; }
.hero-copy h1, .hero-copy .hero-h { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.6rem); line-height: 1; margin: 0; }
.hero-bar { display: block; width: 46px; height: 5px; border-radius: 3px; background: var(--red); margin: 10px 0 12px; }
.hero-copy p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.45; margin: 0 0 16px; max-width: 46ch; }
.hero-kicker { margin-bottom: 12px; }
.chip-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 4px 0 18px; }
.chip-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 4px 10px; border-radius: 16px; background: var(--tint); text-decoration: none; color: var(--ink); box-shadow: 0 6px 16px -14px rgba(237,28,46,.6); }
.chip-tile:hover { background: var(--tint-2); color: var(--ink); }
.ct-ic .ic { width: 34px; height: 34px; color: var(--red); stroke-width: 1.8; }
.chip-tile b { font-size: .84rem; line-height: 1.2; font-weight: 800; }
.chip-tile small { font-size: .74rem; color: var(--muted); line-height: 1.2; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-cta { min-height: 60px; padding: 0 10px 0 30px; gap: 18px; font-size: 1.22rem; border-radius: 999px; box-shadow: 0 14px 28px -14px rgba(237,28,46,.8); }
[dir="rtl"] .btn-cta { padding: 0 30px 0 10px; }
.btn-cta .cta-go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.btn-cta .cta-go .ic { width: 20px; height: 20px; stroke-width: 2.4; } [dir="rtl"] .btn-cta .cta-go .ic { transform: scaleX(-1); }
@media (max-width: 899px) { .btn-cta { min-width: 60%; justify-content: space-between; } }

/* delivery checker */
.hero .checker-box, .pdp-ship .checker-box, .modal .checker-box { border-radius: 22px; padding: 18px; border: 1px solid var(--line); box-shadow: var(--card-shadow); background: var(--surface); margin-top: 16px; }
.checker-box::before { display: none; }
.checker-q { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.checker-ic { width: 56px; height: 56px; border-radius: 14px; background: var(--amber); color: #16181d; flex: none; }
.checker-ic .ic { width: 30px; height: 30px; stroke-width: 2; }
.checker-q label { display: block; font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.checker-q small { display: block; color: var(--muted); font-size: .9rem; font-weight: 500; margin-top: 2px; }
.checker-row { grid-template-columns: 1fr !important; }
.checker-sel { position: relative; }
.checker-sel > .ic { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; color: var(--ink); pointer-events: none; }
.checker-sel .sel-chev { position: absolute; inset-inline-end: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--ink); pointer-events: none; }
.checker-sel select { width: 100%; appearance: none; height: 54px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--surface); padding-inline: 50px 44px; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.checker-out:not(.is-set):not(.is-none) { display: none; }
.checker-out span { background: var(--surface-2); }

/* rooms (categories) */
.rooms .cats { gap: 10px; }
.cat { border-radius: 14px; aspect-ratio: 4/3; background: #111; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 100%); pointer-events: none; }
.cat span { inset: auto 10px 8px 10px; background: none; color: #fff; padding: 0; z-index: 1; }
.cat b { font: 700 1rem/1.15 var(--f-display); font-style: normal; color: #fff; } html[lang="ar"] .cat b { font-size: .95rem; }
.cat small { color: rgba(255,255,255,.8); }
.cat .cat-go { position: absolute; z-index: 1; inset-inline-end: 8px; bottom: 10px; width: 18px; height: 18px; color: #fff; stroke-width: 2.4; } [dir="rtl"] .cat .cat-go { transform: scaleX(-1); }
@media (max-width: 899px) { .cats.car-m .cat { flex-basis: min(var(--room-w), 30vw); height: min(var(--room-h), 23vw); } }

/* how to order */
.steps-band { background: radial-gradient(70% 60% at 100% 0%, rgba(237,28,46,.35), transparent 70%), linear-gradient(180deg, #101217, #0b0d10); color: #fff; padding: 56px 0 48px; margin-block: 30px; overflow: hidden; }
.steps-band::before, .steps-band::after { background: repeating-conic-gradient(#fff 0 25%, #0b0d10 0 50%) 0 0 / 12px 12px; height: 12px; }
.steps-band .block-head h2 { color: #fff; } .steps-band .block-sub { color: #c3c7ce; }
.steps { grid-template-columns: 1fr !important; gap: 22px; margin-top: 22px; }
.steps li { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); min-height: 96px; }
.steps li::before { content: none !important; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 32px; bottom: -18px; width: 10px; height: 10px; border-inline-end: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(45deg); }
[dir="rtl"] .steps li:not(:last-child)::after { transform: rotate(-45deg); }
.st-n { width: 44px; height: 44px; border-radius: 9px; background: var(--red); color: #fff; display: grid; place-items: center; font: italic 800 1.55rem/1 var(--f-display); }
.st-ic { width: 54px; height: 54px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; background: rgba(255,255,255,.04); }
.st-ic .ic { width: 28px; height: 28px; color: var(--red); }
.st-tx b { display: block; font-size: 1.08rem; font-weight: 800; color: #fff; margin-bottom: 2px; } .st-tx p { margin: 0; color: #c3c7ce; font-size: .92rem; line-height: 1.4; opacity: 1; }
.st-art { width: 92px; height: 72px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 60% 50%, rgba(237,28,46,.45), transparent 65%); }
.st-art .ic { width: 50px; height: 50px; color: #fff; stroke-width: 1.4; filter: drop-shadow(0 4px 10px rgba(237,28,46,.7)); }
.st-art.has-img { background: none; } .st-art img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 420px) { .steps li { gap: 10px; padding: 12px 10px; } .st-ic { width: 46px; height: 46px; } .st-art { width: 64px; } .st-art .ic { width: 38px; height: 38px; } }

/* product cards */
.card { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.card-media { margin: 6px 6px 0; border-radius: 14px; background: #fff; }
.card-media img { padding: 0; object-fit: cover; }
.badges { top: 14px; inset-inline-start: 14px; } .badge { font-size: .8rem; padding: 4px 10px; border-radius: 7px; }
.b-new { background: var(--amber); color: #16181d; }
.heart { top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; background: #fff; color: #16181d; box-shadow: 0 4px 12px -4px rgba(0,0,0,.25); }
.card-body { padding: 10px 12px 12px; gap: 3px; }
.card-cat { font-size: .82rem; font-weight: 500; }
.card-title { font-weight: 600; font-size: 1rem; }
.card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; }
.card-price b { font: italic 800 1.3rem/1.15 var(--f-num, var(--f-display)); color: var(--ink); white-space: nowrap; }
.card-price.is-sale b { color: var(--red); }
.card-price s { color: var(--muted); font-size: .85rem; font-weight: 600; }
html[lang="ar"] .card-price b { font-family: var(--f-ar-num, var(--f-ar)); font-style: normal; font-size: 1.1rem; }
.card-rating .ic { width: 15px; height: 15px; color: var(--amber); } .card-rating .stars .on .ic { fill: var(--amber); }
.card-foot { padding-top: 8px; }
.card-cart, .card-go { position: relative; z-index: 1; width: 44px; height: 38px; border-radius: 9px; display: grid; place-items: center; border: 0; text-decoration: none; }
.card-cart { background: var(--red); color: #fff; } .card-cart:hover { background: var(--red-deep); color: #fff; }
.card-go { background: var(--surface-2); color: var(--ink); margin-inline-start: auto; } .card-go:hover { background: var(--ink); color: var(--bg); }
.card-cart .ic { width: 22px; height: 22px; } .card-go .ic { width: 18px; height: 18px; stroke-width: 2.2; } [dir="rtl"] .card-go .ic { transform: scaleX(-1); }
:root[data-theme="dark"] .card-go { background: #262a32; }

/* Compact premium product grid: no price plate, old price above sale price, cart-plus replaces arrow. */
.grid:not(.is-list) { gap: var(--card-grid-gap-desktop, 14px); }
.grid:not(.is-list) .card { border-radius: var(--card-border-radius-custom, 16px); }
.grid:not(.is-list) .card-media { margin: 4px 4px 0; height: var(--card-media-height-desktop, 280px); aspect-ratio: auto; border-radius: max(8px, calc(var(--card-border-radius-custom, 16px) - 4px)); }
.grid:not(.is-list) .card-media img { padding: 0; object-fit: contain; background: #fff; }
.grid:not(.is-list) .card-body { padding: var(--card-body-padding-desktop, 10px); gap: 4px; }
.grid:not(.is-list) .card-title { font-size: var(--card-title-size-desktop, 16px); line-height: 1.24; letter-spacing: -.01em; }
.grid:not(.is-list) .card-price { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; flex-wrap: nowrap; gap: 0; margin: 0; line-height: 1.05; min-width: 0; }
.grid:not(.is-list) .card-price s { display: block; order: -1; font-size: var(--card-compare-size-desktop, 12px); line-height: 1.1; font-weight: 500; color: var(--muted); white-space: nowrap; }
.grid:not(.is-list) .card-price b { display: block; font-size: var(--card-price-size-desktop, 21px); line-height: 1.1; font-weight: 850; font-style: italic; padding: 0; border: 0; background: none; white-space: nowrap; }
.grid:not(.is-list) .card-price.is-sale b { color: var(--red); }
.grid:not(.is-list) .card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; padding-top: 6px; margin-top: auto; min-height: var(--card-action-size-desktop, 42px); }
.grid:not(.is-list) .card-cart { position: relative; z-index: 1; flex: none; width: var(--card-action-size-desktop, 42px); height: var(--card-action-size-desktop, 42px); border-radius: 11px; display: grid; place-items: center; padding: 0; background: var(--ink); color: #fff; border: 0; text-decoration: none; box-shadow: 0 3px 9px rgba(10,12,16,.12); }
.grid:not(.is-list) .card-cart:hover { background: var(--red); color: #fff; }
.grid:not(.is-list) .card-cart .ic, .grid:not(.is-list) .card-cart .fa-configured { width: calc(var(--card-action-size-desktop, 42px) * .57); height: calc(var(--card-action-size-desktop, 42px) * .57); font-size: calc(var(--card-action-size-desktop, 42px) * .57); line-height: 1; }
.grid:not(.is-list) .card-cart svg { stroke-width: 1.8; }
.grid:not(.is-list) .card-go { display: none !important; }
.grid:not(.is-list) .heart { top: 8px; inset-inline-end: 8px; width: 34px; height: 34px; }
.grid:not(.is-list) .heart .ic { width: 19px; height: 19px; }
.grid:not(.is-list) .badges { top: 7px; inset-inline-start: 7px; gap: 3px; }
.grid:not(.is-list) .badge { border-radius: 7px; padding: 3px 7px; font-size: 11px; line-height: 1.15; }
.grid:not(.is-list) .card-rating { display: none; }
.grid:not(.is-list) .card-ship { font-size: 10px; line-height: 1.15; margin-top: 3px; }
@media (max-width: 699px) {
  .grid:not(.is-list) { gap: var(--card-grid-gap-mobile, 6px); }
  .grid:not(.is-list) .card.is-compact-mobile .card-media { height: var(--card-media-height-mobile, 140px); margin: var(--card-media-inset-mobile, 2px) var(--card-media-inset-mobile, 2px) 0; }
  .grid:not(.is-list) .card.is-compact-mobile .card-body { padding: var(--card-body-padding-mobile, 2px); gap: 2px; }
  .grid:not(.is-list) .card.is-compact-mobile .card-cat { font-size: 9px; line-height: 1.1; }
  .grid:not(.is-list) .card.is-compact-mobile .card-title { font-size: var(--card-title-size-mobile, 12px); line-height: 1.16; letter-spacing: -.01em; -webkit-line-clamp: 2; min-height: 0; }
  .grid:not(.is-list) .card.is-compact-mobile .card-price b { font-size: var(--card-price-size-mobile, 14px); }
  .grid:not(.is-list) .card.is-compact-mobile .card-price s { font-size: var(--card-compare-size-mobile, 9px); }
  .grid:not(.is-list) .card.is-compact-mobile .card-foot { min-height: var(--card-action-size-mobile, 30px); padding-top: 3px; gap: 3px; }
  .grid:not(.is-list) .card.is-compact-mobile .card-cart { width: var(--card-action-size-mobile, 30px); height: var(--card-action-size-mobile, 30px); border-radius: 8px; }
  .grid:not(.is-list) .card.is-compact-mobile .card-cart .ic, .grid:not(.is-list) .card.is-compact-mobile .card-cart .fa-configured { width: calc(var(--card-action-size-mobile, 30px) * .58); height: calc(var(--card-action-size-mobile, 30px) * .58); font-size: calc(var(--card-action-size-mobile, 30px) * .58); }
  .grid:not(.is-list) .card.is-compact-mobile .heart { top: 5px; inset-inline-end: 5px; width: 26px; height: 26px; }
  .grid:not(.is-list) .card.is-compact-mobile .heart .ic { width: 15px; height: 15px; }
  .grid:not(.is-list) .card.is-compact-mobile .badges { top: 4px; inset-inline-start: 4px; gap: 2px; }
  .grid:not(.is-list) .card.is-compact-mobile .badge { border-radius: 5px; padding: 2px 4px; font-size: 9px; }
  /* Turning off compact mode restores the conventional square, padded product tile. */
  .grid:not(.is-list) .card:not(.is-compact-mobile) .card-media { height: auto; aspect-ratio: 1; margin: 6px 6px 0; }
  .grid:not(.is-list) .card:not(.is-compact-mobile) .card-body { padding: 8px 9px 10px; gap: 3px; }
  .grid:not(.is-list) .card:not(.is-compact-mobile) .card-title { font-size: .94rem; line-height: 1.3; }
  .grid:not(.is-list) .card:not(.is-compact-mobile) .card-price b { font-size: .95rem; }
  .grid:not(.is-list) .card:not(.is-compact-mobile) .card-price s { font-size: .7rem; }
  .grid:not(.is-list) .card:not(.is-compact-mobile) .card-cart { width: 34px; height: 34px; border-radius: 9px; }
  .grid:not(.is-list) .card:not(.is-compact-mobile) .card-cart .ic, .grid:not(.is-list) .card:not(.is-compact-mobile) .card-cart .fa-configured { width: 20px; height: 20px; font-size: 20px; }
}
@media (min-width: 700px) {
  .grid:not(.is-list) { gap: var(--card-grid-gap-desktop, 14px); }
}
/* list view (shop toolbar) */
.grid.is-list { grid-template-columns: 1fr !important; }
.grid.is-list .card { flex-direction: row; }
.grid.is-list .card-media { flex: 0 0 38%; margin: 6px; aspect-ratio: 1; height: auto; }
.grid.is-list .badges { top: 12px; inset-inline-start: 12px; }

/* fitment teaser */
.fit-teaser { display: grid; grid-template-columns: 1.05fr 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); overflow: hidden; }
.fit-media { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(120deg, var(--surface-2) 0 40%, var(--red) 40% 55%, var(--surface-2) 55%); min-height: 100%; }
.fit-media > img { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: 16px; }
.fit-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 6px 0 0; }
.fit-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #fff; }
.fit-copy h2 { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.3rem); margin-bottom: .3em; }
.fit-copy p { color: var(--ink-2); margin: 0 0 14px; font-size: .98rem; }
.btn-pill { border-radius: 999px; min-height: 52px; padding: 0 18px; gap: 10px; font-weight: 700; }
.btn-pill .ic:last-child { width: 16px; height: 16px; } [dir="rtl"] .btn-pill .ic:last-child { transform: scaleX(-1); }
:root[data-theme="dark"] .btn-dark { --b: #f2f3f5; color: #111318; }
@media (max-width: 520px) { .fit-teaser { gap: 10px; padding: 10px; } .fit-copy h2 { font-size: 1.45rem; } .fit-copy p { font-size: .88rem; } .btn-pill { min-height: 46px; padding: 0 14px; font-size: .9rem; } }

/* FAQ */
.faq-block details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--card-shadow); padding: 0; }
.faq-block details.faq summary { display: flex; align-items: center; gap: 14px; padding: 10px 14px; list-style: none; cursor: pointer; font-weight: 700; font-size: 1.04rem; }
.faq-block details.faq summary::-webkit-details-marker { display: none; }
.faq-ic { width: 50px; height: 50px; flex: none; border-radius: 12px; background: var(--tint); display: grid; place-items: center; }
.faq-ic .ic { width: 26px; height: 26px; color: var(--red); }
.faq-q { flex: 1; } .faq-chev { width: 20px; height: 20px; color: var(--ink); transition: transform .2s; }
details.faq[open] .faq-chev { transform: rotate(180deg); }
.faq-block details.faq > div { padding: 0 18px 14px 78px; color: var(--ink-2); } [dir="rtl"] .faq-block details.faq > div { padding: 0 78px 14px 18px; }

/* newsletter */
.news { position: relative; display: grid; gap: 14px; margin: 0; padding: 26px 20px 22px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(115deg, var(--surface) 30%, color-mix(in srgb, var(--red) 12%, var(--surface)) 100%); box-shadow: var(--card-shadow); }
.news::after { content: ""; position: absolute; inset-block: 0; inset-inline-end: -10%; width: 55%; background: var(--news-img) center/cover no-repeat; -webkit-mask-image: linear-gradient(to left, #000 30%, transparent); mask-image: linear-gradient(to left, #000 30%, transparent); opacity: .55; pointer-events: none; }
[dir="rtl"] .news::after { -webkit-mask-image: linear-gradient(to right, #000 30%, transparent); mask-image: linear-gradient(to right, #000 30%, transparent); }
.news > * { position: relative; z-index: 1; }
.news h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); margin: 0 0 4px; } .news h2::before { content: ""; display: block; width: 38px; height: 4px; border-radius: 3px; background: var(--red); margin-bottom: 10px; }
.news p { color: var(--ink-2); margin: 0; font-size: 1.02rem; }
.news form { display: flex; gap: 10px; flex-wrap: nowrap; align-items: center; }
.news-in { position: relative; flex: 1; min-width: 0; }
.news-in .ic { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; width: 24px; height: 24px; color: var(--red); }
.news-in input { width: 100%; height: 56px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); padding-inline: 52px 16px; font-size: 1rem; }
.news .btn-red { min-height: 56px; padding: 0 22px; gap: 10px; flex: none; font-size: 1.05rem; box-shadow: 0 12px 24px -14px rgba(237,28,46,.9); }
.news .btn-red .ic { width: 20px; height: 20px; } [dir="rtl"] .news .btn-red .ic { transform: scaleX(-1); }
.news .form-msg { position: absolute; bottom: -24px; }

/* ---------- footer ---------- */
.site-foot { background: #0b0d10; color: #e9ebef; margin-top: 40px; position: relative; overflow: hidden; }
.site-foot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 30% at 100% 10%, rgba(237,28,46,.22), transparent 70%), radial-gradient(40% 25% at 0% 40%, rgba(237,28,46,.12), transparent 70%); pointer-events: none; }
.site-foot .checker { position: relative; background: repeating-conic-gradient(#0b0d10 0 25%, #f4f5f7 0 50%) 0 0 / 14px 14px; height: 14px; }
.foot-top { position: relative; display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: 34px 10px; }
.foot-emblem { width: min(240px, 60vw); height: auto; }
.foot-brand { display: grid; justify-items: center; } .foot-brand p { color: #c9cdd4; font-size: 1.02rem; margin: 10px 0 0; }
.foot-trust-box { width: 100%; max-width: 760px; border: 1px solid rgba(237,28,46,.55); border-radius: 16px; background: rgba(255,255,255,.02); padding: 14px 8px; }
.foot-trust-box ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.foot-trust-box li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 2px 8px; text-align: start; font-size: .88rem; color: #e9ebef; line-height: 1.25; }
.foot-trust-box li + li { border-inline-start: 1px solid #2c3038; }
.foot-trust-box li .ic { width: 32px; height: 32px; color: var(--amber); stroke-width: 1.8; }
.foot-trust-box li b { display: block; font-weight: 800; }
@media (max-width: 420px) { .foot-trust-box li { flex-direction: column; text-align: center; gap: 6px; font-size: .8rem; } }
.foot-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding-block: 28px 10px; }
.foot-col h2 { font: italic 800 1.65rem/1.1 var(--f-display); color: #fff; margin: 0 0 14px; }
.foot-col h2::after { content: ""; display: block; width: 32px; height: 4px; border-radius: 3px; background: var(--red); margin-top: 8px; }
html[lang="ar"] .foot-col h2 { font-family: var(--f-ar-display, var(--f-ar)); font-style: normal; font-size: 1.25rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: block; }
.foot-col li a { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #23262d; color: #d7dae0; text-decoration: none; font-size: 1rem; width: 100%; }
.foot-col li a:hover { color: #fff; } .foot-col li a > .ic:first-child { width: 24px; height: 24px; color: #c9cdd4; }
.foot-col li a span { flex: 1; min-width: 0; } .f-chev { width: 16px; height: 16px; color: #9aa0aa; } [dir="rtl"] .f-chev { transform: scaleX(-1); }
.foot-contact { grid-column: 1 / -1; } .foot-contact:not(:has(p)) { display: none; } .foot-contact p { margin: 0 0 8px; }
.foot-bottom { position: relative; display: grid; gap: 14px; padding-block: 22px 18px; border-top: 1px solid #23262d; margin-top: 14px; }
.foot-id { display: flex; align-items: center; justify-content: center; gap: 22px; }
.foot-id > img { width: 120px; height: auto; padding-inline-end: 22px; border-inline-end: 1px solid #2c3038; }
.site-foot .social { display: flex; gap: 12px; }
.site-foot .social a { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #2c3038; display: grid; place-items: center; color: #fff; }
.site-foot .social a:hover { border-color: var(--red); color: var(--red); } .site-foot .social .ic { width: 24px; height: 24px; }
.foot-legal { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; font-size: .9rem; color: #9aa0aa; }
.foot-legal p { margin: 0; } .foot-legal b { color: #e9ebef; } .foot-line { width: 40px; height: 2px; background: var(--red); grid-row: 1; }
.foot-tag { grid-column: 2; }
.foot-scene { position: relative; height: 130px; margin-top: -10px;
  background: linear-gradient(170deg, transparent 0 56%, rgba(237,28,46,.85) 56.3% 57%, transparent 57.4%), linear-gradient(172deg, transparent 0 66%, rgba(237,28,46,.5) 66.2% 66.8%, transparent 67%),
    linear-gradient(150deg, transparent 0 70%, rgba(237,28,46,.9) 70% 74%, transparent 74% 78%, rgba(237,28,46,.6) 78% 81%, transparent 81%), linear-gradient(180deg, #0b0d10, #15171c);
  background-size: cover; background-position: center bottom; }
.site-foot .foot-wa a.btn { color: #fff; }

/* ---------- bottom dock (mobile) ---------- */
.dock a, .dock button { font-weight: 600; color: var(--muted); gap: 4px; }
.dock .ic { stroke-width: 1.8; }
.dock [aria-current="page"] { font-weight: 800; } .dock [aria-current="page"] .ic { fill: currentColor; stroke: currentColor; }
.dock [aria-current="page"]::after { content: ""; position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 58%; height: 3px; border-radius: 2px; background: var(--red); }
.dock .count { top: 6px; inset-inline-end: calc(50% - 26px); background: var(--red); border: 2px solid var(--surface); min-width: 22px; height: 22px; line-height: 18px; border-radius: 11px; font-size: 12px; }

/* ---------- shop ---------- */
.shop-head { flex-direction: column; align-items: stretch; margin-bottom: 14px; }
.shop-head h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); margin-bottom: .15em; }
.shop-head p { margin: 0; font-size: 1.02rem; }
.shop-tools { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.pill-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 1rem; }
.shop-tools > .pill-btn:first-child { flex: 1 1 0; }
.shop-tools .sort { flex: 1.35 1 0; padding: 0 14px; }
.sort select { appearance: none; border: 0; background: transparent; font-weight: 600; color: inherit; flex: 1; min-width: 0; padding-inline-end: 22px; height: 100%; cursor: pointer; }
.sort .sel-chev { position: absolute; inset-inline-end: 16px; width: 18px; height: 18px; pointer-events: none; }
.pill-btn > .ic { width: 22px; height: 22px; }
.view-seg { display: flex; padding: 3px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--surface); flex: none; }
.view-seg button { width: 50px; height: 44px; border-radius: 12px; border: 0; background: none; color: var(--ink); display: grid; place-items: center; }
.view-seg button[aria-pressed="true"] { background: var(--red); color: #fff; } .view-seg .ic { width: 24px; height: 24px; }
[data-results] { font-size: .98rem; margin: 0 0 12px; }
@media (max-width: 420px) { .pill-btn { height: 48px; padding: 0 12px; font-size: .92rem; } .view-seg button { width: 42px; height: 40px; } }
@media (min-width: 900px) { .shop-head { flex-direction: row; align-items: flex-end; } .shop-tools { margin-top: 0; } .shop-tools .sort { min-width: 240px; } }
.crumbs .ic { color: var(--red); }

/* ---------- desktop adaptation ---------- */
@media (min-width: 900px) {
  .announce { border-radius: 0; justify-content: center; min-height: 44px; }
  .announce-track { flex: 0 1 auto; } .announce p { flex-direction: row; align-items: baseline; gap: 12px; }
  .announce small::before { content: "·"; margin-inline-end: 12px; color: #6b717c; }
  .hero { padding: 26px 0 10px; }
  .hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); grid-template-areas: "copy media" "check media"; gap: 18px 44px; align-items: start; }
  .hero .hero-media { margin: 0; align-self: stretch; }
  .hero-copy { padding-top: 26px; }
  .hero .checker-box { margin-top: 0; }
  .chip-row { max-width: 560px; }
  .block { margin-block: 56px; }
  .steps { grid-template-columns: 1fr 1fr !important; gap: 18px; }
  .steps li:not(:last-child)::after { display: none; }
  .st-art { width: 120px; height: 90px; }
  .fit-teaser { grid-template-columns: 1fr 1.1fr; padding: 18px; gap: 36px; }
  .news { grid-template-columns: 1fr 1fr; align-items: center; padding: 38px 40px; }
  .news::after { width: 40%; inset-inline-end: 34%; opacity: .3; }
  .faq-block { max-width: 920px; }
  .foot-top { grid-template-columns: auto 1fr; justify-items: start; text-align: start; gap: 40px; align-items: center; }
  .foot-brand { justify-items: start; } .foot-emblem { width: 220px; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .foot-contact { grid-column: auto; }
  .foot-bottom { grid-template-columns: auto 1fr; align-items: center; }
  .foot-id { justify-content: flex-start; }
  .foot-legal { justify-self: end; text-align: end; }
  .grid.is-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (min-width: 1100px) {
  .hero-copy h1, .hero-copy .hero-h { font-size: 4rem; }
  .steps { grid-template-columns: repeat(4, 1fr) !important; }
  .steps li { grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; align-content: start; min-height: 0; }
  .steps .st-tx { grid-column: 1 / -1; } .steps .st-art { grid-column: 1 / -1; width: 100%; height: 110px; order: -1; }
}

/* ---------- mobile density tuning (match mockup proportions) ---------- */
@media (max-width: 899px) {
  .announce b { font-size: .86rem; } .announce small { font-size: .76rem; }
  .hero-copy h1, .hero-copy .hero-h { font-size: 2.35rem; }
  .hero-copy p { font-size: 1rem; }
  .chip-row { gap: 6px; } .chip-tile { padding: 10px 2px 9px; border-radius: 14px; } .ct-ic .ic { width: 30px; height: 30px; }
  .chip-tile b { font-size: .76rem; white-space: nowrap; } .chip-tile small { font-size: .66rem; white-space: nowrap; }
  .cats.car-m .cat { flex-basis: min(var(--room-w), 27vw); height: min(var(--room-h), 21vw); }
  .cat b { font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: calc(100% - 16px); }
  .steps li { min-height: 84px; } .st-tx b { font-size: .98rem; } .st-tx p { font-size: .84rem; } .st-art { width: 72px; height: 62px; } .st-art .ic { width: 42px; height: 42px; }
  .dock a span:not(.count), .dock button span:not(.count) { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding-inline: 2px; }
  .news { padding: 22px 16px 26px; } .news .btn-red { padding: 0 16px; font-size: .98rem; } .news-in input { padding-inline: 46px 12px; } .news-in .ic { inset-inline-start: 14px; }
  .block-head h2 { font-size: 1.85rem; } .link-more { font-size: .92rem; }
  .faq-block details.faq summary { font-size: .98rem; }
}
.foot-id > img:only-child { border: 0; padding: 0; }
.side-inner::after { content: none; }
.side-foot::after { content: ""; position: absolute; inset-inline-start: -16px; bottom: -22px; width: 120px; height: 70px; background: linear-gradient(135deg, transparent 50%, var(--red) 50% 60%, transparent 60% 66%, color-mix(in srgb, var(--red) 60%, transparent) 66%); pointer-events: none; z-index: -1; opacity: .85; }
[dir="rtl"] .side-foot::after { transform: scaleX(-1); }
.side-nav .sm-item { padding: 5px 10px; font-size: 1rem; } .sm-ic { width: 44px; height: 44px; } .sm-ic .ic { width: 24px; height: 24px; }
.shop-head > *, .shop-tools, .shop-tools > * { min-width: 0; }
.shop-tools { width: 100%; } .sort select { width: 100%; min-width: 0; text-overflow: ellipsis; }
@media (min-width: 900px) { .shop-tools { width: auto; } }
@media (min-width: 900px) { .site-head .brand { flex: none; } .main-nav { margin-inline-start: 18px; } .fit-media > img { aspect-ratio: 16/10; max-height: 380px; } .fit-teaser { align-items: center; } }
.shop-tools > .pill-btn:first-child { flex: 0 0 auto; } .shop-tools .sort { flex: 1 1 auto; }


/* ---------- ALGA MOTO reference footer: compact, image-matched layout ---------- */
.site-foot { margin-top: 24px; background: #0b0d10; }
.site-foot .checker { height: 14px; background-size: 14px 14px; }
.site-foot .wrap { width: min(100% - 32px, 1180px); }
.foot-top { gap: 14px; padding-block: 24px 8px; }
.foot-emblem { width: min(220px, 58vw); }
.foot-brand p { margin-top: 8px; font-size: .94rem; line-height: 1.45; }
.foot-trust-box { max-width: 760px; padding: 10px 6px; border-radius: 18px; }
.foot-trust-box li { gap: 8px; padding: 2px 8px; font-size: .82rem; }
.foot-trust-box li .ic { width: 30px; height: 30px; flex: 0 0 auto; }
.foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; padding-block: 24px 8px; }
.foot-col h2 { font-size: clamp(1.35rem, 4vw, 1.65rem); margin-bottom: 10px; }
.foot-col h2::after { width: 36px; height: 4px; margin-top: 7px; }
.foot-col li a { gap: 10px; padding: 11px 0; font-size: .94rem; line-height: 1.3; }
.foot-col li a > .ic:first-child { width: 22px; height: 22px; flex: 0 0 22px; }
.foot-col li a span { overflow-wrap: anywhere; }
.f-chev { width: 14px; height: 14px; flex: 0 0 14px; }
/* Contact details remain accessible through the Aide links; keep the visual reference to two columns. */
.foot-contact { display: none !important; }
.foot-bottom { grid-template-columns: 1fr; gap: 12px; padding-block: 18px 12px; margin-top: 12px; }
.foot-id { gap: 18px; }
.foot-id > img { width: 112px; padding-inline-end: 18px; }
.site-foot .social { gap: 10px; flex-wrap: wrap; }
.site-foot .social a { width: 48px; height: 48px; }
.site-foot .social .ic { width: 22px; height: 22px; }
.foot-legal { grid-template-columns: 30px minmax(0,1fr); gap: 4px 10px; font-size: .82rem; line-height: 1.5; }
.foot-line { width: 30px; }
.foot-tag { grid-column: 2; }
.foot-scene { height: 100px; margin-top: -4px; }
@media (max-width: 420px) {
  .site-foot .wrap { width: calc(100% - 28px); }
  .foot-top { gap: 12px; padding-block: 20px 6px; }
  .foot-emblem { width: min(190px, 54vw); }
  .foot-brand p { font-size: .85rem; }
  .foot-trust-box { padding: 9px 4px; border-radius: 16px; }
  .foot-trust-box li { flex-direction: row; text-align: start; gap: 5px; padding: 2px 4px; font-size: .69rem; }
  .foot-trust-box li .ic { width: 24px; height: 24px; }
  .foot-grid { gap: 18px; padding-block: 20px 6px; }
  .foot-col h2 { font-size: 1.28rem; margin-bottom: 8px; }
  .foot-col li a { gap: 7px; padding: 10px 0; font-size: .82rem; }
  .foot-col li a > .ic:first-child { width: 19px; height: 19px; flex-basis: 19px; }
  .f-chev { width: 12px; height: 12px; flex-basis: 12px; }
  .foot-bottom { padding-block: 15px 10px; gap: 10px; }
  .foot-id { gap: 12px; }
  .foot-id > img { width: 94px; padding-inline-end: 12px; }
  .site-foot .social { gap: 7px; }
  .site-foot .social a { width: 40px; height: 40px; }
  .site-foot .social .ic { width: 19px; height: 19px; }
  .foot-legal { font-size: .76rem; gap: 4px 8px; }
  .foot-scene { height: 82px; }
}
@media (min-width: 900px) {
  .foot-top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; padding-block: 28px 8px; }
  .foot-brand { justify-items: center; }
  .foot-emblem { width: 210px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding-block: 26px 10px; }
  .foot-bottom { grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
  .foot-legal { justify-self: end; text-align: start; }
}

/* ---------- ALGA MOTO footer: reference-matched art + responsive layout ---------- */
.site-foot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 24px;
  color: #e9ebef;
  background-color: #0b0d10;
}
.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(54% 25% at 100% 12%, rgba(237,28,46,.16), transparent 72%),
    radial-gradient(40% 22% at 0% 35%, rgba(237,28,46,.11), transparent 72%),
    linear-gradient(134deg, transparent 0 8%, rgba(237,28,46,.10) 8.2% 8.6%, transparent 8.9% 100%),
    linear-gradient(134deg, transparent 0 77%, rgba(237,28,46,.10) 77.2% 77.6%, transparent 78% 100%);
}
.site-foot::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 14px;
  inset-inline-end: 0;
  width: min(23vw, 112px);
  aspect-ratio: 190 / 325;
  background: url('/img/footer-helmet-red.webp') center top / contain no-repeat;
  opacity: .92;
  mix-blend-mode: screen;
  pointer-events: none;
}
.site-foot > .checker,
.site-foot > .wrap,
.site-foot > .foot-scene {
  position: relative;
  z-index: 1;
}
.site-foot .checker { height: 14px; background-size: 14px 14px; }
.site-foot .foot-top { padding-block: 24px 8px; gap: 14px; }
.site-foot .foot-emblem { width: min(220px, 58vw); }
.site-foot .foot-brand p { margin-top: 8px; font-size: .94rem; line-height: 1.4; }
.site-foot .foot-trust-box { max-width: 760px; padding: 10px 6px; border-radius: 16px; background: rgba(12,14,18,.44); }
.site-foot .foot-trust-box li { gap: 8px; padding: 2px 8px; font-size: .82rem; line-height: 1.25; }
.site-foot .foot-trust-box li .ic { width: 30px; height: 30px; color: #ffb21b; flex: 0 0 auto; }
.site-foot .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; padding-block: 24px 8px; }
.site-foot .foot-col h2 { font-size: clamp(1.35rem, 4vw, 1.65rem); margin-bottom: 10px; }
.site-foot .foot-col h2::after { width: 36px; height: 4px; margin-top: 7px; }
.site-foot .foot-col li a { gap: 10px; padding: 11px 0; font-size: .94rem; line-height: 1.3; }
.site-foot .foot-col li a > .ic:first-child { width: 22px; height: 22px; flex: 0 0 22px; }
.site-foot .foot-col li a span { overflow-wrap: anywhere; }
.site-foot .f-chev { width: 14px; height: 14px; flex: 0 0 14px; }
.site-foot .foot-contact { display: none !important; }
.site-foot .foot-bottom { grid-template-columns: 1fr; gap: 12px; padding-block: 18px 12px; margin-top: 12px; border-color: #303139; }
.site-foot .foot-id { justify-content: center; gap: 18px; }
.site-foot .foot-id > img { width: 112px; padding-inline-end: 18px; }
.site-foot .social { gap: 10px; flex-wrap: wrap; }
.site-foot .social a { width: 48px; height: 48px; background: rgba(11,13,16,.42); }
.site-foot .social .ic { width: 22px; height: 22px; }
.site-foot .foot-legal { grid-template-columns: 30px minmax(0,1fr); gap: 4px 10px; font-size: .72rem; line-height: 1.5; }
.site-foot .foot-line { width: 30px; }
.site-foot .foot-tag { grid-column: 2; }
.site-foot .foot-scene { height: 80px; margin-top: -4px; background-image: linear-gradient(180deg, #0b0d10 0%, rgba(11,13,16,.18) 42%, rgba(11,13,16,.05) 100%), url('/img/footer-road-red.webp'); background-position: center bottom; background-size: cover; background-repeat: no-repeat; }
@media (max-width: 420px) {
  .site-foot .wrap { width: calc(100% - 28px); }
  .site-foot .foot-top { gap: 12px; padding-block: 20px 6px; }
  .site-foot .foot-emblem { width: min(190px, 54vw); }
  .site-foot .foot-brand p { font-size: .85rem; }
  .site-foot .foot-trust-box { padding: 9px 4px; border-radius: 14px; }
  .site-foot .foot-trust-box li { gap: 5px; padding: 2px 4px; font-size: .69rem; }
  .site-foot .foot-trust-box li .ic { width: 24px; height: 24px; }
  .site-foot .foot-grid { gap: 18px; padding-block: 20px 6px; }
  .site-foot .foot-col h2 { font-size: 1.28rem; margin-bottom: 8px; }
  .site-foot .foot-col li a { gap: 7px; padding: 10px 0; font-size: .82rem; }
  .site-foot .foot-col li a > .ic:first-child { width: 19px; height: 19px; flex-basis: 19px; }
  .site-foot .f-chev { width: 12px; height: 12px; flex-basis: 12px; }
  .site-foot .foot-bottom { padding-block: 15px 10px; gap: 10px; }
  .site-foot .foot-id { gap: 12px; }
  .site-foot .foot-id > img { width: 94px; padding-inline-end: 12px; }
  .site-foot .social { gap: 7px; }
  .site-foot .social a { width: 40px; height: 40px; }
  .site-foot .social .ic { width: 19px; height: 19px; }
  .site-foot .foot-legal { font-size: .66rem; gap: 4px 8px; }
  .site-foot .foot-scene { height: 76px; }
  .site-foot::after { width: min(24vw, 102px); }
}
@media (min-width: 900px) {
  .site-foot { margin-top: 32px; }
  .site-foot::after { top: 18px; width: min(17vw, 250px); opacity: .64; }
  .site-foot .wrap { width: min(calc(100% - 72px), 1240px); }
  .site-foot .foot-top { padding-block: 30px 10px; gap: 16px; }
  .site-foot .foot-emblem { width: 220px; }
  .site-foot .foot-brand p { max-width: 760px; font-size: 1rem; }
  .site-foot .foot-trust-box { max-width: 900px; padding: 12px; border-radius: 18px; }
  .site-foot .foot-trust-box li { gap: 14px; padding: 4px 18px; font-size: .98rem; }
  .site-foot .foot-trust-box li .ic { width: 38px; height: 38px; }
  .site-foot .foot-grid { width: min(calc(100% - 120px), 1040px) !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(64px, 10vw, 150px); padding-block: 32px 12px; }
  .site-foot .foot-col h2 { font-size: 1.9rem; margin-bottom: 14px; }
  .site-foot .foot-col h2::after { width: 44px; height: 5px; margin-top: 9px; }
  .site-foot .foot-col li a { gap: 14px; padding: 13px 0; font-size: 1rem; }
  .site-foot .foot-col li a > .ic:first-child { width: 25px; height: 25px; flex-basis: 25px; }
  .site-foot .f-chev { width: 16px; height: 16px; flex-basis: 16px; }
  .site-foot .foot-bottom { grid-template-columns: minmax(0,1fr) minmax(280px,.85fr); align-items: center; gap: 36px; padding-block: 22px 16px; margin-top: 18px; }
  .site-foot .foot-id { justify-content: flex-start; gap: 24px; }
  .site-foot .foot-id > img { width: 150px; padding-inline-end: 24px; }
  .site-foot .social { gap: 14px; }
  .site-foot .social a { width: 54px; height: 54px; }
  .site-foot .social .ic { width: 24px; height: 24px; }
  .site-foot .foot-legal { justify-self: end; width: 100%; max-width: 440px; font-size: .9rem; gap: 5px 14px; }
  .site-foot .foot-line { width: 40px; }
  .site-foot .foot-tag { grid-column: 2; }
  .site-foot .foot-scene { height: clamp(150px, 16vw, 220px); margin-top: -8px; }
}
@media (max-width: 899px) {
  .site-foot { background-position: center center, center bottom; }
}

/* ---------- Reference-matched compact homepage hero ----------
   The promotional TOUAREG artwork is a slide image; the scenic road is a separate,
   text-free background behind real HTML copy, shortcut cards, and CTA. */
.hero.hero-reference {
  padding: 0;
  margin: 0;
  background: #fff;
  overflow: clip;
}
.hero.hero-reference .wrap.hero-grid {
  width: 100%;
  max-width: 1400px;
  padding: 0 16px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "media" "copy";
  gap: 0;
}
.hero.hero-reference .hero-media {
  grid-area: media;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 853 / 550;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #090b0f;
  box-shadow: 0 9px 24px -18px rgba(0,0,0,.52);
}
.hero.hero-reference .hero-slide picture,
.hero.hero-reference .hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero.hero-reference .hero-media::after {
  background: linear-gradient(180deg, rgba(8,10,14,0) 72%, rgba(8,10,14,.12) 100%);
}
.hero.hero-reference .hero-copy {
  grid-area: copy;
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 22px 28px 24px;
  color: #16181d;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 42%, rgba(255,255,255,.16) 100%),
    url('/img/hero-roadscape.webp');
  background-size: 100% 100%, auto 100%;
  background-position: center, right bottom;
  background-repeat: no-repeat;
}
.hero.hero-reference .hero-text { max-width: 850px; }
.hero.hero-reference .hero-copy h1,
.hero.hero-reference .hero-copy .hero-h {
  margin: 0;
  color: #15171b;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 850;
}
.hero.hero-reference .hero-copy h1 em,
.hero.hero-reference .hero-copy .hero-h em { color: #f0182d; }
.hero.hero-reference .hero-bar {
  width: 46px;
  height: 5px;
  margin: 8px 0 10px;
  border-radius: 99px;
  background: #f0182d;
}
.hero.hero-reference .hero-copy p {
  max-width: 42ch;
  margin: 0 0 14px;
  color: #626b79;
  font-size: clamp(.98rem, 1.25vw, 1.12rem);
  line-height: 1.42;
  font-weight: 500;
}
.hero.hero-reference .chip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  margin: 14px 0 16px;
  max-width: 980px;
}
.hero.hero-reference .chip-tile {
  min-width: 0;
  min-height: 76px;
  padding: 10px 5px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(237,28,46,.035);
  border-radius: 18px;
  background: rgba(255,242,244,.92);
  box-shadow: 0 5px 14px -13px rgba(237,28,46,.34);
  color: #15171b;
  text-align: center;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease;
}
.hero.hero-reference .chip-tile:hover { transform: translateY(-2px); background: #fff0f2; color: #15171b; }
.hero.hero-reference .ct-ic { display: grid; place-items: center; min-height: 28px; }
.hero.hero-reference .ct-ic .ic { width: 27px; height: 27px; color: #f0182d; stroke-width: 2.2; }
.hero.hero-reference .chip-tile b {
  display: block;
  max-width: 100%;
  font-size: .78rem;
  line-height: 1.15;
  font-weight: 850;
  white-space: normal;
}
.hero.hero-reference .chip-tile small {
  display: block;
  max-width: 100%;
  color: #687284;
  font-size: .72rem;
  line-height: 1.16;
  white-space: normal;
}
.hero.hero-reference .hero-ctas { align-items: center; gap: 10px; margin-top: 14px; }
.hero.hero-reference .btn-cta {
  width: max-content;
  min-width: min(58%, 340px);
  min-height: 49px;
  padding: 0 10px 0 22px;
  gap: 14px;
  border: 1px solid #ff2939;
  border-radius: 999px;
  background: linear-gradient(105deg, #ff1428 0%, #f00620 66%, #ed001b 100%);
  box-shadow: 0 7px 16px -9px rgba(237,28,46,.82);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 850;
}
.hero.hero-reference .btn-cta:hover { background: #df001a; color: #fff; }
.hero.hero-reference .btn-cta .cta-go {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.17);
}
.hero.hero-reference .btn-cta .cta-go .ic { width: 18px; height: 18px; }
.hero.hero-reference .hero-dots { bottom: 12px; gap: 6px; }
.hero.hero-reference .hero-dots button { width: 22px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.6); }
.hero.hero-reference .hero-dots button[aria-current="true"] { width: 34px; background: #ff1930; }

/* Keep the category tiles compact and visible in one row on the homepage. */
.hero.hero-reference + .rooms { margin-top: 18px; margin-bottom: 32px; }
.hero.hero-reference + .rooms .block-head { margin-bottom: 12px; }
.hero.hero-reference + .rooms .cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.hero.hero-reference + .rooms .cat { aspect-ratio: 1.36 / 1; border-radius: 12px; }
.hero.hero-reference + .rooms .cat::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 42% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.75) 100%);
}
.hero.hero-reference + .rooms .cat span { inset: auto 7px 7px; z-index: 2; }
.hero.hero-reference + .rooms .cat b { max-width: calc(100% - 12px); font-size: .86rem; line-height: 1.08; }
.hero.hero-reference + .rooms .cat .cat-go { z-index: 2; width: 15px; height: 15px; inset-inline-end: 5px; bottom: 7px; }
/* Home must not display a calculator block or estimator controls inside home product cards. */
.pg-home .hero .checker-box,
.pg-home .card-ship { display: none !important; }

@media (max-width: 899px) {
  .hero.hero-reference .wrap.hero-grid { width: 100%; max-width: none; padding: 0; }
  .hero.hero-reference .hero-media {
    height: clamp(235px, 67vw, 365px);
    aspect-ratio: auto;
    border-radius: 22px;
    margin: 0;
  }
  .hero.hero-reference .hero-copy {
    padding: 15px 18px 20px;
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 44%, rgba(255,255,255,.14) 100%),
      url('/img/hero-roadscape-w720.webp');
  }
  .hero.hero-reference .hero-copy h1,
  .hero.hero-reference .hero-copy .hero-h {
    font-size: clamp(1.7rem, 7.2vw, 2.05rem);
    line-height: .98;
    letter-spacing: -.045em;
  }
  .hero.hero-reference .hero-bar { width: 24px; height: 4px; margin: 8px 0 9px; }
  .hero.hero-reference .hero-copy p { max-width: 38ch; font-size: .98rem; line-height: 1.36; margin-bottom: 12px; }
  .hero.hero-reference .chip-row { gap: 8px; margin: 12px 0 14px; }
  .hero.hero-reference .chip-tile { min-height: 68px; padding: 8px 3px 7px; border-radius: 16px; gap: 3px; }
  .hero.hero-reference .ct-ic { min-height: 25px; }
  .hero.hero-reference .ct-ic .ic { width: 24px; height: 24px; stroke-width: 2.1; }
  .hero.hero-reference .chip-tile b { font-size: .72rem; line-height: 1.12; }
  .hero.hero-reference .chip-tile small { font-size: .66rem; line-height: 1.12; }
  .hero.hero-reference .hero-ctas { margin-top: 12px; gap: 8px; }
  .hero.hero-reference .btn-cta { min-width: min(58%, 280px); min-height: 47px; padding-inline: 18px 8px; gap: 12px; font-size: 1.04rem; }
  .hero.hero-reference .btn-cta .cta-go { width: 30px; height: 30px; }
  .hero.hero-reference .hero-dots { bottom: 10px; gap: 5px; }
  .hero.hero-reference .hero-dots button { width: 18px; height: 4px; }
  .hero.hero-reference .hero-dots button[aria-current="true"] { width: 29px; }
  .hero.hero-reference + .rooms { margin-top: 18px; margin-bottom: 26px; }
  .hero.hero-reference + .rooms .block-head h2 { font-size: 1.62rem; }
  .hero.hero-reference + .rooms .block-head h2::before { width: 24px; height: 4px; margin-bottom: 6px; }
  .hero.hero-reference + .rooms .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .hero.hero-reference + .rooms .cat { aspect-ratio: 1.32 / 1; border-radius: 9px; }
  .hero.hero-reference + .rooms .cat span { inset: auto 5px 6px; }
  .hero.hero-reference + .rooms .cat b { font-size: .68rem; max-width: calc(100% - 10px); }
  .hero.hero-reference + .rooms .cat .cat-go { width: 12px; height: 12px; inset-inline-end: 3px; bottom: 5px; }
}
@media (max-width: 360px) {
  .hero.hero-reference .hero-copy { padding-inline: 14px; }
  .hero.hero-reference .chip-row { gap: 5px; }
  .hero.hero-reference .chip-tile { border-radius: 13px; }
  .hero.hero-reference .chip-tile b { font-size: .66rem; }
  .hero.hero-reference .chip-tile small { font-size: .6rem; }
  .hero.hero-reference + .rooms .cat b { font-size: .62rem; }
}
@media (min-width: 900px) {
  .hero.hero-reference .wrap.hero-grid { padding-inline: 24px; }
  .hero.hero-reference .hero-copy { padding: 24px 34px 28px; }
  .hero.hero-reference .hero-copy h1,
  .hero.hero-reference .hero-copy .hero-h { font-size: clamp(2.4rem, 3vw, 3.1rem); }
  .hero.hero-reference .chip-row { grid-template-columns: repeat(4, minmax(88px, 116px)); gap: 14px; }
  .hero.hero-reference .chip-tile { min-height: 84px; }
  .hero.hero-reference .chip-tile b { font-size: .86rem; }
  .hero.hero-reference .chip-tile small { font-size: .75rem; }
  .hero.hero-reference + .rooms { margin-top: 26px; }
  .hero.hero-reference + .rooms .cats { gap: 10px; }
}

/* =====================================================================
   Homepage — desktop + mobile mockup (Oct 2026)
   hero (copy + slider) · feature cards · category cards. Every text, image
   and link comes from Admin → Homepage; this block is layout only.
   ===================================================================== */
@media (min-width: 1280px) { :root { --wrap: 1480px; --gutter: 28px; } }
/* Vibe's floating cart / wishlist bubbles: the header cart, heart and the bottom dock already cover them */
.vibe-floating-container.vibe-cart-container, html body #vibe-wl-fab#vibe-wl-fab { display: none !important; }
/* Vibe's desktop checkout sheet sits 20px above the bottom edge, so its closed state peeked into view */
@media (min-width: 768px) { html body #vibe-checkout-slider:not(.vibe-active) { transform: translate(-50%, calc(100% + 48px)); } }

.hx { position: relative; padding: 18px 0 0; background: var(--bg); }
.hx-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "copy"; gap: 0; }
.hx-copy { grid-area: copy; position: relative; isolation: isolate; min-width: 0; padding: 18px 2px 4px; }
.hx-copy-bg { position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: center right / cover no-repeat; opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
[dir="rtl"] .hx-copy-bg { transform: scaleX(-1); }
:root[data-theme="dark"] .hx-copy-bg { opacity: .22; }
.hx .hero-text h1, .hx .hero-text .hero-h { margin: 0; color: var(--ink); font: italic 800 clamp(2rem, 7.4vw, 2.5rem)/.98 var(--f-display); letter-spacing: -.02em; text-transform: none; }
.hx .hero-text h1 em, .hx .hero-text .hero-h em { color: var(--red); }
.hx .hero-bar { width: 28px; height: 4px; margin: 10px 0 10px; border-radius: 99px; background: var(--red); }
.hx .hero-text p { max-width: 40ch; margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.42; font-weight: 500; }
.hx .hero-kicker { margin-bottom: 10px; }
.hx-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.hx-chips .chip-tile { min-width: 0; min-height: 72px; padding: 9px 3px 8px; gap: 3px; justify-content: center; border-radius: 16px; background: color-mix(in srgb, var(--red) 6%, var(--surface)); border: 1px solid color-mix(in srgb, var(--red) 7%, transparent); }
.hx-chips .ct-ic .ic { width: 25px; height: 25px; color: var(--red); stroke-width: 2.1; }
.hx-chips .chip-tile b { font-size: .74rem; line-height: 1.12; white-space: normal; max-width: 100%; text-wrap: balance; } .hx-chips .chip-tile small { font-size: .66rem; line-height: 1.12; white-space: normal; max-width: 100%; text-wrap: balance; }
.hx-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.hx-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 50px; min-width: min(64%, 300px); padding: 0 8px 0 24px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 1.04rem; text-decoration: none; box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--red) 85%, transparent); transition: background .15s, transform .15s; }
.hx-cta:hover { color: #fff; background: color-mix(in srgb, var(--red) 88%, #000); transform: translateY(-1px); }
.hx-cta i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); }
.hx-cta .ic { width: 18px; height: 18px; stroke-width: 2.4; } [dir="rtl"] .hx-cta .ic { transform: scaleX(-1); }
[dir="rtl"] .hx-cta { padding: 0 24px 0 8px; }

.hx-media { grid-area: media; aspect-ratio: auto; min-height: 0; position: relative; isolation: isolate; height: var(--hx-hm); border-radius: 22px; overflow: hidden; background: #0b0d11; }
.hx-media .hero-slide > picture, .hx-media .hero-slide > picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hx-media .hero-dots { bottom: 12px; gap: 6px; }
.hx-media .hero-dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.65); transition: width .2s, background .2s; }
.hx-media .hero-dots button[aria-current="true"] { width: 26px; background: var(--red); }
.hx-arrow { position: absolute; z-index: 4; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%; display: none; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.94); color: #15171b; box-shadow: 0 6px 18px -8px rgba(0,0,0,.45); transition: background .15s, transform .15s; }
.hx-arrow:hover { background: #fff; transform: scale(1.05); } .hx-arrow .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.hx-arrow.prev { inset-inline-start: 18px; } .hx-arrow.next { inset-inline-end: 18px; }
.hx-arrow.prev .ic { transform: scaleX(-1); } [dir="rtl"] .hx-arrow.prev .ic { transform: none; } [dir="rtl"] .hx-arrow.next .ic { transform: scaleX(-1); }

/* feature cards (desktop by default; Admin → Homepage → Feature cards can show them on mobile) */
.hx-usp { display: none; margin-top: 22px; }
.hx-usp.on-m { display: block; }
.hx-usp ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hx-usp li > a, .hx-usp li > div { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(17,19,24,.04); color: var(--ink); text-decoration: none; }
.hx-usp li > a:hover { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }
.hx-usp-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; color: var(--red); }
.hx-usp-ic .ic { width: 38px; height: 38px; stroke-width: 1.6; }
.hx-usp-tx { min-width: 0; display: grid; gap: 3px; } .hx-usp-tx b { font-size: 1rem; font-weight: 800; line-height: 1.2; } .hx-usp-tx small { color: var(--muted); font-size: .86rem; line-height: 1.3; }

/* categories */
.hx-block { margin-top: 26px; margin-bottom: 30px; }
.hx-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; }
.hx-head-bar { flex-basis: 100%; display: block; width: 26px; max-width: 26px; height: 4px; border-radius: 99px; background: var(--red); }
.hx-head h2 { flex: 1; margin: 0; font: italic 800 clamp(1.5rem, 6vw, 1.7rem)/1.05 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.hx-head-sub { flex-basis: 100%; order: 3; margin: 0; color: var(--muted); font-size: .92rem; display: none; }
.hx-more { display: inline-flex; align-items: center; gap: 4px; color: var(--red); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.hx-more .ic { width: 16px; height: 16px; stroke-width: 2.4; } [dir="rtl"] .hx-more .ic { transform: scaleX(-1); }
.hx-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.hx-cat { position: relative; display: block; min-width: 0; border-radius: 11px; overflow: hidden; background: #111; color: #fff; text-decoration: none; aspect-ratio: 1.3 / 1; }
.hx-cat-img { position: absolute; inset: 0; } .hx-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease, ease); }
.hx-cat:hover .hx-cat-img img { transform: scale(1.05); }
.hx-cat-cap { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 2px; padding: 6px 5px 6px 7px; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.78) 100%); }
.hx-cat-tx { min-width: 0; } .hx-cat-tx b { display: block; font-size: .7rem; line-height: 1.1; font-weight: 800; color: #fff; } .hx-cat-tx small { display: none; }
.hx-cat-go { display: grid; place-items: center; flex: none; color: #fff; } .hx-cat-go .ic { width: 12px; height: 12px; stroke-width: 2.6; } [dir="rtl"] .hx-cat-go .ic { transform: scaleX(-1); }

@media (min-width: 600px) and (max-width: 899px) {
  .hx-media { height: max(var(--hx-hm), 52vw); }
  .hx-cat-tx b { font-size: .86rem; }
}
@media (min-width: 900px) {
  .hx { padding-top: 22px; }
  .hx-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); grid-template-areas: "copy media"; gap: 30px; align-items: stretch; }
  .hx-copy { display: flex; flex-direction: column; justify-content: center; padding: 30px 0 30px 4px; }
  .hx-copy-bg { inset: 0 -40px 0 calc(var(--gutter) * -1); opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.65) 45%, #000 80%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.65) 45%, #000 80%, transparent 100%); }
  .hx .hero-text h1, .hx .hero-text .hero-h { font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .94; }
  .hx .hero-bar { display: none; }
  .hx .hero-text p { margin-top: 18px; font-size: clamp(1rem, 1.15vw, 1.18rem); max-width: 34ch; line-height: 1.5; color: var(--ink-2, #3b3f46); }
  /* Desktop: place the compact four-card shortcut row directly below the primary CTA. */
  .hx .hero-text { order: 1; }
  .hx-ctas { order: 2; margin-top: 22px; }
  .hx-chips { display: grid; order: 3; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; gap: 7px; margin: 14px 0 0; }
  .hx-chips .chip-tile { min-height: 78px; padding: 8px 3px 7px; gap: 4px; border-radius: 13px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 91%, var(--red) 9%), color-mix(in srgb, var(--surface) 95%, var(--red) 5%)); border: 1px solid color-mix(in srgb, var(--red) 8%, var(--line)); box-shadow: 0 7px 15px -13px color-mix(in srgb, var(--red) 45%, transparent); }
  .hx-chips .ct-ic { display: grid; place-items: center; width: 27px; height: 27px; }
  .hx-chips .ct-ic .ic { width: 27px; height: 27px; stroke-width: 2; }
  .hx-chips .chip-tile b { font-size: clamp(.61rem, .72vw, .72rem); line-height: 1.08; min-height: 2.15em; }
  .hx-chips .chip-tile small { font-size: clamp(.55rem, .61vw, .64rem); line-height: 1.08; }
  .hx-cta { min-width: 0; min-height: 54px; padding: 0 28px; gap: 12px; font-size: 1.08rem; justify-content: center; }
  .hx-cta i { width: auto; height: auto; background: none; }
  .hx-media { height: var(--hx-h); border-radius: 22px; }
  .hx-arrow { display: grid; }
  .hx-media .hero-dots { bottom: 18px; }
  .hx-usp, .hx-usp.on-m { display: block; margin-top: 24px; }
  .hx-usp ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .hx-usp li > a, .hx-usp li > div { padding: 20px 22px; min-height: 92px; }
  .hx-block { margin-top: 38px; margin-bottom: 44px; }
  .hx-head { margin-bottom: 18px; } .hx-head-bar { display: none; }
  .hx-head h2 { font-size: clamp(1.9rem, 2.3vw, 2.4rem); }
  .hx-more { font-size: 1rem; }
  .hx-cats { gap: 18px; }
  .hx-cat { aspect-ratio: auto; display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(17,19,24,.04); transition: box-shadow .2s, transform .2s; }
  .hx-cat:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -22px rgba(17,19,24,.45); }
  .hx-cat-img { position: relative; inset: auto; aspect-ratio: 16 / 9.6; background: #111; overflow: hidden; }
  .hx-cat-cap { position: static; background: none; align-items: center; padding: 16px 18px 18px; gap: 12px; }
  .hx-cat-tx { display: grid; gap: 4px; } .hx-cat-tx b { color: var(--ink); font-size: 1.12rem; } .hx-cat-tx small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.3; }
  .hx-cat-go { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2, #f1f2f4); color: var(--ink); transition: background .15s, color .15s; }
  .hx-cat-go .ic { width: 16px; height: 16px; }
  .hx-cat:hover .hx-cat-go { background: var(--red); color: #fff; }
}
@media (max-width: 360px) { .hx-chips { gap: 5px; } .hx-chips .chip-tile b { font-size: .66rem; } .hx-chips .chip-tile small { font-size: .6rem; } .hx-cat-tx b { font-size: .62rem; } }

/* header — mockup: category links with dropdowns, wide search pill */
.main-nav .nav-dd { position: relative; flex: none; }
.main-nav .nav-dd > a { display: inline-flex; align-items: center; gap: 4px; }
.main-nav .dd-ic { width: 15px; height: 15px; stroke-width: 2.4; opacity: .7; transition: transform .2s; }
.nav-pop { position: absolute; z-index: 60; top: calc(100% + 10px); inset-inline-start: 0; width: 300px; padding: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -24px rgba(17,19,24,.45); opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .18s, translate .18s, visibility 0s .18s; }
.nav-pop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-dd:hover .nav-pop, .nav-dd:focus-within .nav-pop { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .18s, translate .18s, visibility 0s; }
.nav-dd:hover .dd-ic { transform: rotate(180deg); }
.main-nav .nav-pop a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-weight: 600; font-size: .88rem; white-space: normal; color: var(--ink); }
.nav-pop img, .nav-pop .np-ph { width: 44px; height: 44px; flex: none; border-radius: 9px; object-fit: cover; background: var(--surface-2); }
.nav-pop .np-item span { min-width: 0; display: grid; gap: 1px; } .nav-pop .np-item b { font-weight: 700; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nav-pop .np-item small { color: var(--red); font-weight: 800; }
.main-nav .nav-pop .np-all { justify-content: space-between; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--red); font-weight: 800; padding-top: 10px; }
.nav-pop .np-all .ic { width: 16px; height: 16px; } [dir="rtl"] .nav-pop .np-all .ic { transform: scaleX(-1); }
@media (min-width: 900px) { .main-nav { overflow: visible; mask-image: none; -webkit-mask-image: none; } }
@media (min-width: 1280px) { .main-nav { gap: 2px; margin-inline-start: 16px; } .main-nav > a, .main-nav .nav-dd > a { font-size: .95rem; padding: 8px 10px; } .search input { width: 230px; } .search input:focus { width: 280px; } }
@media (min-width: 900px) and (max-width: 1279px) { .main-nav > a, .main-nav .nav-dd > a { padding: 8px 7px; font-size: .88rem; } .main-nav .dd-ic { display: none; } }
@media (max-width: 899px) {
  .hx { padding-top: 0; }
  .hx-media { margin-inline: calc(var(--gutter) * -1); border-radius: 0 0 26px 26px; }
}
.hx-head-bar { flex: 0 0 100%; width: auto; max-width: none; background: linear-gradient(var(--red), var(--red)) left / 26px 100% no-repeat; border-radius: 0; }
[dir="rtl"] .hx-head-bar { background-position: right; }
html[lang="ar"] .hx .hero-text h1, html[lang="ar"] .hx .hero-text .hero-h, html[lang="ar"] .hx-head h2 { font-style: normal; letter-spacing: 0; line-height: 1.15; }
@media (min-width: 900px) { html[lang="ar"] .hx .hero-text h1, html[lang="ar"] .hx .hero-text .hero-h { font-size: clamp(2.6rem, 4.4vw, 4.4rem); } }

/* category cards as a carousel (Admin → Homepage → Categories) — only when there are more than 4 cards */
.hx-cats + .hx-dots { display: none; }
@media (max-width: 899px) { .hx-cats.car-m { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; } .hx-cats.car-m::-webkit-scrollbar { display: none; }
  .hx-cats.car-m .hx-cat { flex: 0 0 var(--room-w); height: var(--room-h); aspect-ratio: auto; scroll-snap-align: start; } .hx-cats.car-m + .hx-dots { display: flex; } }
@media (min-width: 900px) { .hx-cats.car-d { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; } .hx-cats.car-d::-webkit-scrollbar { display: none; }
  .hx-cats.car-d .hx-cat { flex: 0 0 var(--room-w); scroll-snap-align: start; } .hx-cats.car-d .hx-cat-img { aspect-ratio: auto; height: var(--room-h); } .hx-cats.car-d + .hx-dots { display: flex; } }
/* product card over a hero slide (Admin → Homepage → Slider → product card) */
.hx .hero-card { z-index: 3; bottom: 44px; }
@media (min-width: 900px) { .hx .hero-card { bottom: 52px; inset-inline-end: 76px; } .hx.hero-card-start .hero-card { inset-inline: 76px auto; } }

.hx .hero-card img { width: 54px; height: 54px; flex: none; object-fit: cover; border-radius: 10px; }
.hx .hero-card span { min-width: 0; } .hx .hero-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* ---------- Editable COD order flow (Admin → Homepage → Order flow) ---------- */
.steps-band.how-order {
  --how-accent: #ed1c2e;
  --how-pad-d: 34px;
  --how-pad-m: 28px;
  --how-gap-d: 12px;
  --how-gap-m: 18px;
  --how-image-d: 116px;
  --how-image-m: 128px;
  --how-card-radius: 18px;
  --how-card-alpha: .05;
  --how-border-alpha: .2;
  --how-overlay: .72;
  --how-heading-size: 50px;
  --how-step-title-size: 22px;
  --how-step-text-size: 15px;
  --how-check-display: block;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: calc(var(--how-pad-d) + 12px) 0 calc(var(--how-pad-d) + 10px);
  color: #f7f8fb;
  background-color: #080a0e;
  background-image:
    linear-gradient(90deg, rgba(6, 7, 10, calc(var(--how-overlay) + .10)), rgba(6, 7, 10, var(--how-overlay))),
    var(--how-bg, none);
  background-size: cover, cover;
  background-position: center, 50% 44%;
  background-repeat: no-repeat;
}
.steps-band.how-order::before,
.steps-band.how-order::after {
  display: var(--how-check-display);
  z-index: 3;
  height: 10px;
  background: repeating-conic-gradient(#f3f4f7 0 25%, #080a0e 0 50%) 0 0 / 10px 10px;
}
.steps-band.how-order .how-order-wrap {
  max-width: 1180px;
  position: relative;
  z-index: 1;
}
.how-order-head {
  display: block;
  margin: 0 0 20px;
  padding-inline: 0;
}
.how-order-mark {
  display: block;
  width: 58px;
  height: 8px;
  border-radius: 99px;
  background: var(--how-accent);
  margin: 0 0 12px;
  box-shadow: 0 0 20px color-mix(in srgb, var(--how-accent) 42%, transparent);
}
.how-order-head h2 {
  color: #f7f8fb;
  font-family: var(--f-display, 'Manrope', sans-serif);
  font-size: var(--how-heading-size);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .98;
  margin: 0;
  text-wrap: balance;
}
.how-order-head h2 em {
  color: var(--how-accent);
  font-style: italic;
}
.how-order-sub {
  color: #b9bec7;
  font-size: clamp(14px, calc(var(--how-step-text-size) + 3px), 19px);
  line-height: 1.35;
  margin: 7px 0 0;
}
.how-order .steps {
  list-style: none;
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: var(--how-gap-d);
  margin: 0;
  padding: 0;
}
.how-order .steps > .how-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px 44px minmax(0, 1fr);
  grid-template-rows: 58px auto;
  align-items: center;
  gap: 7px 9px;
  min-width: 0;
  min-height: 166px;
  padding: 12px;
  border: 1px solid rgba(235, 238, 245, var(--how-border-alpha));
  border-radius: var(--how-card-radius);
  background: rgba(9, 11, 15, var(--how-card-alpha));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 12px 30px rgba(0,0,0,.13);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  overflow: visible;
}
.how-order .how-step .st-n {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 38px;
  border-radius: 9px;
  background: var(--how-accent);
  color: #fff;
  font: italic 900 25px/1 var(--f-display, 'Manrope', sans-serif);
  box-shadow: 0 5px 16px rgba(237,28,46,.24);
}
.how-order .st-ic {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(245,247,251,.23);
  background: rgba(6,8,12,.42);
}
.how-order .st-ic .ic {
  width: 29px;
  height: 29px;
  color: #f7f8fb;
  stroke-width: 1.8;
}
.how-order .st-art {
  position: absolute;
  z-index: 1;
  inset-inline-end: 7px;
  top: 7px;
  display: grid;
  place-items: center;
  width: min(var(--how-image-d), 49%);
  height: 79px;
  border-radius: 11px;
  overflow: hidden;
  background: radial-gradient(circle at 60% 50%, rgba(237,28,46,.26), transparent 68%);
  pointer-events: none;
}
.how-order .st-art.has-img { background: transparent; }
.how-order .st-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 5px 9px rgba(0,0,0,.35));
}
.how-order .st-tx {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  align-self: end;
  padding-top: 3px;
}
.how-order .st-tx b {
  color: #fff;
  font-family: var(--f, 'Manrope', sans-serif);
  font-size: clamp(15px, calc(var(--how-step-title-size) * .82), 20px);
  font-weight: 850;
  line-height: 1.18;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
.how-order .st-tx p {
  color: #c1c6cf;
  font-size: clamp(12px, calc(var(--how-step-text-size) * .9), 14px);
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}
.how-order .steps > .how-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset-inline-end: calc(var(--how-gap-d) * -.62);
  top: 42%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--how-accent);
  border-inline-end: 2px solid var(--how-accent);
  transform: rotate(45deg);
  pointer-events: none;
}
[dir="rtl"] .how-order .steps > .how-step:not(:last-child)::after { transform: rotate(-135deg); }
@media (max-width: 899px) {
  .steps-band.how-order {
    padding: calc(var(--how-pad-m) + 12px) 0 calc(var(--how-pad-m) + 10px);
    background-position: center, 62% 38%;
  }
  .how-order-head {
    margin-bottom: 20px;
  }
  .how-order-mark {
    width: 58px;
    height: 7px;
    margin: 0 0 11px;
    border-radius: 99px;
  }
  .how-order-head h2 {
    font-size: clamp(31px, calc(var(--how-heading-size) * .78), 43px);
    line-height: 1;
    letter-spacing: -.04em;
  }
  .how-order-sub {
    margin-top: 6px;
    font-size: clamp(14px, calc(var(--how-step-text-size) + 3px), 18px);
  }
  .how-order .steps {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--how-gap-m);
    margin-top: 0;
  }
  .how-order .steps > .how-step {
    grid-template-columns: 58px 88px minmax(100px, 1fr) clamp(72px, var(--how-image-m), 22vw);
    grid-template-rows: auto;
    align-items: center;
    gap: 10px;
    min-height: 112px;
    padding: 13px 12px;
    border-radius: var(--how-card-radius);
    background: rgba(7,9,13, max(.22, var(--how-card-alpha)));
  }
  .how-order .how-step .st-n {
    grid-column: 1;
    grid-row: 1;
    width: 52px;
    height: 54px;
    border-radius: 11px;
    font-size: 29px;
  }
  .how-order .st-n::after {
    content: "";
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    width: 2px;
    height: calc(var(--how-gap-m) + 12px);
    border-left: 2px dotted rgba(239,242,248,.45);
    transform: translateX(-50%);
  }
  .how-order .st-ic {
    grid-column: 2;
    grid-row: 1;
    width: 86px;
    height: 86px;
    border-radius: 19px;
  }
  .how-order .st-ic .ic { width: 48px; height: 48px; color: #fff; stroke-width: 1.65; }
  .how-order .st-art {
    position: relative;
    inset: auto;
    top: auto;
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
    width: min(var(--how-image-m), 22vw);
    height: 92px;
    max-width: 100%;
    border-radius: 10px;
  }
  .how-order .st-tx {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    padding: 0;
  }
  .how-order .st-tx b {
    font-size: clamp(15px, calc(var(--how-step-title-size) * .92), 21px);
    line-height: 1.2;
    margin-bottom: 5px;
  }
  .how-order .st-tx p {
    font-size: clamp(12px, calc(var(--how-step-text-size) * .96), 15px);
    line-height: 1.38;
  }
  .how-order .steps > .how-step:not(:last-child)::after {
    inset-inline-end: auto;
    inset-inline-start: 45px;
    top: auto;
    bottom: calc(var(--how-gap-m) * -1 + 1px);
    width: 11px;
    height: 11px;
    border-top: 0;
    border-inline-end: 3px solid var(--how-accent);
    border-bottom: 3px solid var(--how-accent);
    transform: rotate(45deg);
  }
  [dir="rtl"] .how-order .steps > .how-step:not(:last-child)::after { transform: rotate(-45deg); }
}
@media (max-width: 520px) {
  .how-order .steps > .how-step {
    grid-template-columns: 44px 58px minmax(70px, 1fr) clamp(66px, var(--how-image-m), 22vw);
    gap: 8px;
    min-height: 104px;
    padding: 11px 9px;
  }
  .how-order .how-step .st-n { width: 42px; height: 48px; border-radius: 9px; font-size: 25px; }
  .how-order .st-ic { width: 56px; height: 62px; border-radius: 15px; }
  .how-order .st-ic .ic { width: 34px; height: 34px; }
  .how-order .st-art { height: 82px; }
  .how-order .st-tx b { font-size: clamp(14px, calc(var(--how-step-title-size) * .78), 18px); }
  .how-order .st-tx p { font-size: clamp(11px, calc(var(--how-step-text-size) * .86), 13px); }
  .how-order .steps > .how-step:not(:last-child)::after { inset-inline-start: 33px; }
  .how-order .how-step:last-child .st-n::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .how-order .how-step, .how-order .how-step::after { scroll-behavior: auto; transition: none !important; }
}

/* v84 — reference-matched mobile feature tiles and image-led category cards. */
.hx-usp { margin-top: 18px; }
.hx-usp ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hx-usp li { min-width: 0; }
.hx-usp li > a, .hx-usp li > div {
  box-sizing: border-box; position: relative; display: flex; align-items: center; gap: 11px; height: 100%; min-height: 124px; padding: 14px 12px;
  border-radius: 17px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  box-shadow: 0 6px 18px -15px rgba(10,18,28,.32); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.hx-usp li > a:hover { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); transform: translateY(-1px); }
.hx-usp-ic { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 36px; border-radius: 0; background: transparent; color: var(--red); }
.hx-usp-ic .ic { display: block; width: 30px; height: 30px; stroke-width: 1.8; }
.hx-usp-tx { min-width: 0; flex: 1 1 auto; display: grid; gap: 4px; align-content: center; }
.hx-usp-tx b { color: var(--ink); font-size: .88rem; line-height: 1.13; font-weight: 800; overflow-wrap: anywhere; }
.hx-usp-tx small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.23; font-weight: 400; overflow-wrap: anywhere; }
.hx-usp-go { display: none; flex: none; color: var(--ink); }
.hx-usp-go .ic { display: block; width: 18px; height: 18px; stroke-width: 1.8; }

/* Category cards: photo on top; icon, title/count and round arrow in a white caption rail. */
.hx-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hx-cat { min-width: 0; position: relative; display: flex; flex-direction: column; aspect-ratio: auto; border-radius: 18px; overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none; border: 1px solid var(--line); box-shadow: 0 6px 20px -18px rgba(10,18,28,.35); }
.hx-cat-img { position: relative; inset: auto; display: block; flex: none; width: 100%; aspect-ratio: 1.5 / 1; background: #101115; overflow: hidden; }
.hx-cat-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hx-cat-cap { position: static; inset: auto; display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 76px; padding: 10px 10px; background: var(--surface); }
.hx-cat-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 15px; background: color-mix(in srgb, var(--red) 7%, var(--surface)); color: var(--red); }
.hx-cat-icon .ic { display: block; width: 30px; height: 30px; stroke-width: 2; }
.hx-cat-tx { min-width: 0; flex: 1 1 auto; display: grid; gap: 4px; }
.hx-cat-tx b { display: block; color: var(--ink); font-size: .92rem; line-height: 1.15; font-weight: 800; overflow-wrap: anywhere; }
.hx-cat-tx small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.2; }
.hx-cat-go { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2, #f1f2f4); color: var(--ink); }
.hx-cat-go .ic { display: block; width: 17px; height: 17px; stroke-width: 2; }
.hx-cat:hover .hx-cat-go { background: var(--red); color: #fff; }

@media (max-width: 599px) {
  .hx-usp { margin-top: 12px; }
  /* Mobile trust/features: one compact four-tile row, never a 2×2 wrap. */
  .hx-usp ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; align-items: stretch; }
  .hx-usp li { min-width: 0; }
  .hx-usp li > a, .hx-usp li > div { min-width: 0; min-height: 112px; padding: 8px 3px 7px; gap: 5px; border-radius: 13px; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; }
  .hx-usp-ic { flex: 0 0 25px; width: 25px; height: 25px; }
  .hx-usp-ic .ic, .hx-usp-ic .fa-configured { width: 22px; height: 22px; font-size: 22px; line-height: 22px; stroke-width: 1.85; }
  .hx-usp-tx { width: 100%; min-width: 0; gap: 3px; text-align: center; }
  .hx-usp-tx b { font-size: clamp(.55rem, 2.55vw, .68rem); line-height: 1.1; overflow-wrap: anywhere; }
  .hx-usp-tx small { font-size: clamp(.49rem, 2.2vw, .59rem); line-height: 1.12; overflow-wrap: anywhere; }
  .hx-usp-go { display: none; }
  .hx-block.hx-rooms { margin-top: 28px; }
  .hx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hx-cat { border-radius: 17px; }
  .hx-cat-img { aspect-ratio: 1.46 / 1; }
  .hx-cat-cap { min-height: 68px; padding: 8px; gap: 8px; }
  .hx-cat-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 13px; }
  .hx-cat-icon .ic { width: 28px; height: 28px; }
  .hx-cat-tx { gap: 3px; }
  .hx-cat-tx b { font-size: .82rem; line-height: 1.13; }
  .hx-cat-tx small { font-size: .7rem; line-height: 1.15; }
  .hx-cat-go { flex-basis: 30px; width: 30px; height: 30px; }
  .hx-cat-go .ic { width: 15px; height: 15px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .hx-usp li > a, .hx-usp li > div { min-height: 126px; padding: 15px; gap: 12px; }
  .hx-usp-ic { flex-basis: 56px; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--red) 7%, var(--surface)); }
  .hx-usp-ic .ic { width: 34px; height: 34px; }
  .hx-usp-tx b { font-size: 1rem; }
  .hx-usp-tx small { font-size: .86rem; }
  .hx-usp-go { display: block; }
  .hx-cat-cap { min-height: 84px; padding: 12px 14px; gap: 12px; }
  .hx-cat-icon { flex-basis: 56px; width: 56px; height: 56px; border-radius: 18px; }
  .hx-cat-icon .ic { width: 36px; height: 36px; }
  .hx-cat-tx b { font-size: 1rem; }
  .hx-cat-tx small { font-size: .86rem; }
  .hx-cat-go { flex-basis: 40px; width: 40px; height: 40px; }
}
@media (min-width: 900px) {
  .hx-usp { margin-top: 24px; }
  .hx-usp ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .hx-usp li > a, .hx-usp li > div { min-height: 92px; padding: 15px 16px; gap: 12px; border-radius: 18px; }
  .hx-usp-ic { flex-basis: 56px; width: 56px; height: 56px; border-radius: 17px; background: color-mix(in srgb, var(--red) 7%, var(--surface)); }
  .hx-usp-ic .ic { width: 36px; height: 36px; }
  .hx-usp-tx b { font-size: .96rem; }
  .hx-usp-tx small { font-size: .82rem; }
  .hx-usp-go { display: block; }
  .hx-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .hx-cat { border-radius: 18px; }
  .hx-cat-img { aspect-ratio: 1.5 / 1; }
  .hx-cat-cap { min-height: 86px; padding: 14px 14px; gap: 11px; }
  .hx-cat-icon { flex-basis: 58px; width: 58px; height: 58px; border-radius: 18px; }
  .hx-cat-icon .ic { width: 38px; height: 38px; }
  .hx-cat-tx b { font-size: 1.05rem; }
  .hx-cat-tx small { font-size: .86rem; }
  .hx-cat-go { flex-basis: 40px; width: 40px; height: 40px; }
}

/* Font Awesome overrides configured through Admin → Homepage → Icons. */
.fa-configured { display: inline-grid; place-items: center; flex: none; width: 1em; height: 1em; line-height: 1; font-style: normal; text-align: center; vertical-align: middle; }
.hx-usp-ic .fa-configured { color: currentColor; }
.hx-cat-icon .fa-configured { color: currentColor; }
.ct-ic .fa-configured { color: currentColor; }
.st-ic .fa-configured { color: currentColor; }

/* Font Awesome icons picked in Admin → Homepage → Icons are inline SVG (no icon font) */
svg.ic.fa-ic { fill: currentColor !important; stroke: none !important; overflow: visible; }
svg.ic.fa-ic path { fill: currentColor !important; stroke: none !important; }

/* =====================================================================
   Product cards (Admin → Design → Blocks → Product cards)
   Matches the reference phone screenshot: square photo, corner badges, heart,
   small uppercase category, 2-line title, inline price + crossed-out price,
   solid round cart button. Sizes are CSS variables from lib/card-spec.js:
   --pc-*-m (phone) and --pc-*-d (computer).
   pc-{soft|clean|outline|flat} pf-{contain|cover} pb-{icon|square|full}
   ph-{lift|zoom|none} pl-{inline|stacked} pp-ink
   ===================================================================== */
.grid:not(.is-list) .card.pc {
  --inset: var(--pc-inset-m, 6px); --pad: var(--pc-pad-m, 8px); --btn: var(--pc-btn-m, 33px); --btn-ic: var(--pc-btn-ic-m, 16px); --heart: var(--pc-heart-m, 28px); --badge: var(--pc-badge-m, 11px);
  --cat: var(--pc-cat-m, 9px); --title: var(--pc-title-m, 13px); --price: var(--pc-price-m, 19px); --old: var(--pc-old-m, 11px);
  position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0;
  border-radius: var(--pc-r, 11px); background: var(--surface); overflow: hidden; border: 0;
  box-shadow: 0 1px 2px rgba(17,19,24,calc(var(--pc-shadow, .1) * .6)), 0 6px 18px -8px rgba(17,19,24,calc(var(--pc-shadow, .1) * 1.6));
  transition: transform .2s var(--ease, ease), box-shadow .2s;
}
.grid:not(.is-list) .card.pc-clean { box-shadow: none; border: 1px solid var(--line); }
.grid:not(.is-list) .card.pc-outline { box-shadow: none; border: 1.5px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.grid:not(.is-list) .card.pc-flat { box-shadow: none; background: transparent; --inset: 0px; }
:root[data-theme="dark"] .grid:not(.is-list) .card.pc-soft { box-shadow: 0 0 0 1px var(--line); }
/* square photo with its own radius, inset from the card edge */
.grid:not(.is-list) .card.pc .card-mediabox { position: relative; margin: var(--inset) var(--inset) 0; border-radius: var(--pc-mr, 8px); overflow: hidden; background: var(--pc-media-bg, #fff); isolation: isolate; aspect-ratio: 1 / 1; }
.grid:not(.is-list) .card.pc .card-media { position: absolute; inset: 0; display: block; width: 100%; height: 100% !important; margin: 0 !important; aspect-ratio: auto; border-radius: 0; background: transparent; }
.grid:not(.is-list) .card.pc .card-media img { width: 100%; height: 100%; padding: 0; background: transparent; object-fit: cover; transition: transform .45s var(--ease, ease), opacity .3s; }
.grid:not(.is-list) .card.pc.pf-contain .card-media img { object-fit: contain; padding: 4%; }
:root[data-theme="dark"] .grid:not(.is-list) .card.pc .card-mediabox { background: color-mix(in srgb, var(--pc-media-bg, #fff) 10%, var(--surface-2)); }
/* badges flush in the photo's top corner */
.grid:not(.is-list) .card.pc .badges { position: absolute; top: 0; inset-inline-start: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; pointer-events: none; }
.grid:not(.is-list) .card.pc .badge { display: inline-block; margin: 0; padding: .32em .72em; border-radius: var(--pc-mr, 8px); font: 800 var(--badge)/1.15 var(--f-body); letter-spacing: .01em; box-shadow: none; }
.grid:not(.is-list) .card.pc .badges .badge + .badge { border-start-start-radius: calc(var(--pc-mr, 8px) * .75); }
.grid:not(.is-list) .card.pc .badge.b-sale { background: var(--pc-sale-bg, var(--red)); color: #fff; }
.grid:not(.is-list) .card.pc .badge.b-new { background: var(--pc-new-bg, #f7b51e); color: var(--pc-new-ink, #16181d); }
.grid:not(.is-list) .card.pc .badge.b-out { background: color-mix(in srgb, var(--ink) 60%, transparent); color: #fff; }
.grid:not(.is-list) .card.pc .badge.b-promo { background: var(--ink); color: var(--bg); }
/* heart: white circle in the photo's top corner */
.grid:not(.is-list) .card.pc .card-mediabox .heart, .grid:not(.is-list) .card.pc .card-mediabox button.vibe-wl-product-heart {
  position: absolute !important; top: 5px !important; bottom: auto !important; inset-inline-end: 5px !important; inset-inline-start: auto !important; z-index: 3; margin: 0 !important; padding: 0 !important;
  width: var(--heart) !important; height: var(--heart) !important; min-width: 0 !important; min-height: 0 !important; max-height: var(--heart) !important; line-height: 1 !important; box-sizing: border-box !important; display: grid !important; place-items: center; border: 0 !important; border-radius: 999px !important;
  background: #fff !important; color: #16181d; box-shadow: 0 2px 8px -2px rgba(0,0,0,.25); transition: transform .15s, color .15s; }
[dir="ltr"] .grid:not(.is-list) .card.pc .card-mediabox .heart { right: 5px !important; left: auto !important; } [dir="rtl"] .grid:not(.is-list) .card.pc .card-mediabox .heart { left: 5px !important; right: auto !important; }
.grid:not(.is-list) .card.pc .heart .ic { width: calc(var(--heart) * .52); height: calc(var(--heart) * .52); stroke-width: 2; }
.grid:not(.is-list) .card.pc .heart:hover, .grid:not(.is-list) .card.pc .heart[aria-pressed="true"] { color: var(--red); }
/* text */
.grid:not(.is-list) .card.pc .card-body { display: flex; flex-direction: column; flex: 1; gap: 2px; padding: calc(var(--pad) + 1px) var(--pad) var(--pad); min-width: 0; }
.grid:not(.is-list) .card.pc .card-cat { display: block; font: 700 var(--cat)/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ar"] .grid:not(.is-list) .card.pc .card-cat { letter-spacing: 0; font-size: calc(var(--cat) + 1px); }
.grid:not(.is-list) .card.pc .card-title { margin: 1px 0 0; font: 600 var(--title)/1.28 var(--f-body); letter-spacing: -.01em; color: var(--ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--pc-title-lines, 2); line-clamp: var(--pc-title-lines, 2); overflow: hidden; min-height: 0; }
.grid:not(.is-list) .card.pc .card-title a { color: inherit; text-decoration: none; } .grid:not(.is-list) .card.pc .card-title a:hover { color: var(--red); }
.grid:not(.is-list) .card.pc .card-rating { display: flex; align-items: center; gap: 3px; margin-top: 1px; } .grid:not(.is-list) .card.pc .card-rating .ic { width: 11px; height: 11px; } .grid:not(.is-list) .card.pc .card-rating small { font-size: 10px; }
.grid:not(.is-list) .card.pc .vibe-loop-promo-badges { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 0; }
.grid:not(.is-list) .card.pc .vibe-loop-promo-tag { direction: ltr; unicode-bidi: isolate; background: color-mix(in srgb, var(--red) 10%, var(--surface)) !important; color: var(--red) !important; border: 1px solid color-mix(in srgb, var(--red) 22%, transparent) !important; border-radius: 999px !important; padding: 0 7px !important; font: 800 calc(var(--cat) + 1px)/1.5 var(--f-body) !important; box-shadow: none !important; }
/* price + cart on one row */
.grid:not(.is-list) .card.pc .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: calc(var(--pad) * .6); min-height: var(--btn); }
.grid:not(.is-list) .card.pc .card-price { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: baseline; column-gap: 6px; overflow: hidden; row-gap: 0; min-width: 0; margin: 0; line-height: 1; }
.grid:not(.is-list) .card.pc .cp-now { display: inline-flex; align-items: baseline; gap: 2px 5px; min-width: 0; }
.grid:not(.is-list) .card.pc .card-price b { display: inline; font: italic 800 var(--price)/1.05 var(--f-num, var(--f-display)); letter-spacing: -.01em; color: var(--red); white-space: nowrap; padding: 0; background: none; border: 0; }
.grid:not(.is-list) .card.pc.pp-ink .card-price b { color: var(--ink); }
.grid:not(.is-list) .card.pc .card-price s { order: 2; display: inline; font: 500 var(--old)/1.1 var(--f-body); color: var(--muted); white-space: nowrap; text-decoration-thickness: 1px; min-width: 0; overflow: hidden; text-overflow: clip; flex: 0 1 auto; }
.grid:not(.is-list) .card.pc.pl-stacked .card-price { flex-direction: column; align-items: flex-start; } .grid:not(.is-list) .card.pc.pl-stacked .card-price s { order: -1; margin-bottom: 2px; }
.grid:not(.is-list) .card.pc .cp-now small { color: var(--muted); font-size: var(--old); font-weight: 600; }
.grid:not(.is-list) .card.pc .cp-off { font: 800 calc(var(--old) - 1px)/1 var(--f-body); font-style: normal; color: var(--red); background: color-mix(in srgb, var(--red) 10%, transparent); padding: 3px 5px; border-radius: 5px; align-self: center; }
html[lang="ar"] .grid:not(.is-list) .card.pc .card-price b { font-family: var(--f-ar-num, var(--f-ar)); font-style: normal; font-size: calc(var(--price) * .86); }
/* cart button: solid round (default) · dark square · full-width with text */
.grid:not(.is-list) .card.pc .card-cart { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: var(--btn) !important; height: var(--btn) !important; margin: 0; padding: 0; border: 0; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; box-shadow: 0 6px 14px -8px color-mix(in srgb, var(--red) 90%, transparent); transition: transform .15s, background .15s; }
.grid:not(.is-list) .card.pc .card-cart:hover { background: color-mix(in srgb, var(--red) 86%, #000); color: #fff; transform: translateY(-1px); }
.grid:not(.is-list) .card.pc .card-cart .ic { width: var(--btn-ic) !important; height: var(--btn-ic) !important; font-size: var(--btn-ic); }
.grid:not(.is-list) .card.pc.pb-square .card-cart { border-radius: 9px; background: var(--ink); color: var(--bg); box-shadow: none; } .grid:not(.is-list) .card.pc.pb-square .card-cart:hover { background: var(--red); color: #fff; }
.grid:not(.is-list) .card.pc.pb-full .card-foot { flex-direction: column; align-items: stretch; gap: 7px; }
.grid:not(.is-list) .card.pc.pb-full .card-cart { width: 100% !important; height: var(--btn) !important; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 8px; font: 800 calc(var(--title) - 1px)/1 var(--f-body); }
/* hover + sold out */
@media (hover: hover) {
  .grid:not(.is-list) .card.pc.ph-lift:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(17,19,24,.06), 0 18px 32px -18px rgba(17,19,24,.42); }
  .grid:not(.is-list) .card.pc.pc-flat.ph-lift:hover { box-shadow: none; }
  .grid:not(.is-list) .card.pc.ph-zoom:hover .card-media img:not(.alt) { transform: scale(1.06); }
  .grid:not(.is-list) .card.pc:hover .card-media .alt { opacity: 1; }
}
.grid:not(.is-list) .card.pc.is-out .card-media img { filter: grayscale(.7); opacity: .7; }
/* grid spacing: phone uses its own side margin, computer uses the page width */
.grid:not(.is-list):has(> .card.pc) { gap: var(--pc-gap-m, 7px); }
@media (max-width: 699px) { .wrap > .grid:not(.is-list):has(> .card.pc), .shop-layout .grid:not(.is-list):has(> .card.pc) { margin-inline: calc(var(--pc-side-m, 10px) - var(--gutter, 16px)); } }
@media (min-width: 700px) {
  .grid:not(.is-list):has(> .card.pc) { gap: var(--pc-gap-d, 16px); }
  .grid:not(.is-list) .card.pc { --inset: var(--pc-inset-d, 8px); --pad: var(--pc-pad-d, 12px); --btn: var(--pc-btn-d, 40px); --btn-ic: var(--pc-btn-ic-d, 19px); --heart: var(--pc-heart-d, 34px); --badge: var(--pc-badge-d, 12px); --cat: var(--pc-cat-d, 11px); --title: var(--pc-title-d, 15px); --price: var(--pc-price-d, 23px); --old: var(--pc-old-d, 13px); }
  .grid:not(.is-list) .card.pc .card-mediabox .heart { top: 8px !important; } [dir="ltr"] .grid:not(.is-list) .card.pc .card-mediabox .heart { right: 8px !important; } [dir="rtl"] .grid:not(.is-list) .card.pc .card-mediabox .heart { left: 8px !important; }
}
.grid.is-list .card.pc .card-mediabox { position: relative; flex: 0 0 38%; margin: 6px; aspect-ratio: 1; border-radius: var(--pc-mr, 8px); overflow: hidden; background: var(--pc-media-bg, #fff); }
.grid.is-list .card.pc .card-media { position: absolute; inset: 0; height: 100%; margin: 0; }
.grid .card.pc .badge.b-sale, .grid .card.pc .cp-off { direction: ltr; unicode-bidi: isolate; }

/* =====================================================================
   Product page (Admin → Design → Product page) — reference phone screenshot.
   Sizes/colours: lib/pdp-spec.js → --pd-*-m (phone) / --pd-*-d (computer).
   ===================================================================== */
.pg-product .crumbs { padding-block: 8px 0; font-size: var(--pd-text-m, 11px); gap: 6px; padding-inline: var(--pd-side-m, 16px); }
.pg-product .crumbs a { color: var(--muted); } .pg-product .crumbs .ic { width: 13px; height: 13px; color: var(--red); stroke-width: 2.6; }
[dir="rtl"] .pg-product .crumbs .ic { transform: scaleX(-1); }
.pdp.pd {
  --gap: var(--pd-gap-m, 9px); --cat: var(--pd-cat-m, 10px); --title: var(--pd-title-m, 19px); --txt: var(--pd-text-m, 11px); --price: var(--pd-price-m, 28px); --old: var(--pd-old-m, 12px);
  --pill: var(--pd-pill-m, 11px); --opt-h: var(--pd-opt-h-m, 28px); --opt-w: var(--pd-opt-w-m, 35px); --swz: var(--pd-swatch-m, 31px); --cta-h: var(--pd-cta-h-m, 36px); --cta-t: var(--pd-cta-text-m, 15px); --btn-h: var(--pd-btn-h-m, 34px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); padding: 10px var(--pd-side-m, 16px) 8px; max-width: var(--wrap); margin-inline: auto;
}
/* gallery: card with a square photo, sale badge, dots */
.pdp.pd .pd-gallery { min-width: 0; padding: var(--pd-g-pad, 6px); background: var(--surface); border-radius: var(--pd-g-r, 16px); box-shadow: 0 1px 2px rgba(17,19,24,.05), 0 8px 22px -14px rgba(17,19,24,.35); }
.pdp.pd .pd-main { position: relative; aspect-ratio: 1 / 1 !important; border: 0; border-radius: max(4px, calc(var(--pd-g-r, 16px) - var(--pd-g-pad, 6px))); overflow: hidden; background: #fff; touch-action: pan-y; }
.pdp.pd .g-slide { position: absolute; inset: 0; margin: 0; } .pdp.pd .g-slide img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
.pdp.pd .pd-gbadge { position: absolute; z-index: 2; top: 8px; inset-inline-start: 8px; padding: .28em .62em; border-radius: 999px; background: var(--red); color: #fff; font: 800 calc(var(--pill) + 1px)/1.1 var(--f-body); direction: ltr; unicode-bidi: isolate; box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--red) 80%, transparent); }
.pdp.pd .g-nav { display: none; }
.pdp.pd .pd-dots { display: flex; justify-content: center; align-items: center; gap: 5px; padding: 7px 0 3px; }
.pdp.pd .pd-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--ink) 18%, transparent); overflow: hidden; transition: width .2s, background .2s; }
.pdp.pd .pd-dots button img { display: none; }
.pdp.pd .pd-dots button[aria-selected="true"] { background: var(--red); }
.pdp.pd .pd-dots button:not([aria-selected="true"]):nth-child(2) { width: 26px; }
/* ---- gallery: open/zoom button on the main image ---- */
.pdp.pd .pd-gallery:has(.g-zoom) .g-main { cursor: zoom-in; }
.pdp.pd .g-zoom { position: absolute; z-index: 3; top: 8px; inset-inline-end: 8px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--surface) 84%, transparent); color: var(--ink); box-shadow: 0 2px 10px -3px rgba(17,19,24,.45); opacity: .9; cursor: zoom-in; transition: opacity .15s, transform .15s, background .15s; }
.pdp.pd .g-zoom:hover { opacity: 1; transform: scale(1.06); background: var(--surface); }
.pdp.pd .g-zoom .ic { width: 20px; height: 20px; }
/* ---- gallery: thumbnail filmstrip carousel ---- */
.pdp.pd .pd-film { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.pdp.pd .pd-film-track { position: relative; display: flex; gap: 8px; flex: 1 1 auto; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; padding: 2px; }
.pdp.pd .pd-film-track::-webkit-scrollbar { display: none; }
.pdp.pd .pd-film-thumb { flex: 0 0 auto; width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--surface); cursor: pointer; scroll-snap-align: center; transition: border-color .15s, transform .15s; }
.pdp.pd .pd-film-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp.pd .pd-film-thumb[aria-selected="true"] { border-color: var(--red); }
.pdp.pd .pd-film-thumb:hover { transform: translateY(-1px); }
.pdp.pd .pd-film-nav { flex: 0 0 auto; width: 30px; height: 30px; display: none; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: 0 2px 6px -3px rgba(17,19,24,.4); transition: opacity .15s; }
.pdp.pd .pd-film-nav .ic { width: 16px; height: 16px; }
.pdp.pd .pd-film-nav.prev .ic { transform: scaleX(-1); }
[dir="rtl"] .pdp.pd .pd-film-nav.prev .ic { transform: none; }
[dir="rtl"] .pdp.pd .pd-film-nav.next .ic { transform: scaleX(-1); }
.pdp.pd .pd-film.at-start .pd-film-nav.prev, .pdp.pd .pd-film.at-end .pd-film-nav.next { opacity: .3; pointer-events: none; }
@media (min-width: 700px) { .pdp.pd .pd-film:not(.no-scroll) .pd-film-nav { display: grid; } }
/* ---- fullscreen image viewer (open + zoom) ---- */
body.pd-lb-lock { overflow: hidden; }
.pd-lb { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s ease; touch-action: none; overscroll-behavior: contain; }
.pd-lb-thumbs { touch-action: pan-x; }
.pd-lb.is-gesturing .pd-lb-img { transition: none; }
.pd-lb.is-on { opacity: 1; }
.pd-lb[hidden] { display: none; }
.pd-lb-backdrop { position: absolute; inset: 0; background: rgba(8,10,14,.93); }
.pd-lb-stage { position: relative; z-index: 1; width: min(94vw, 1400px); height: min(86vh, 1400px); display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: grab; }
.pd-lb.is-zoomed .pd-lb-stage:active { cursor: grabbing; }
.pd-lb-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transform-origin: center center; transition: transform .08s ease-out; will-change: transform; }
.pd-lb-btn { position: absolute; z-index: 3; display: grid; place-items: center; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .15s, transform .15s; }
.pd-lb-btn:hover { background: rgba(255,255,255,.28); }
.pd-lb-btn .ic { width: 22px; height: 22px; color: #fff; }
.pd-lb-close { top: 16px; inset-inline-end: 16px; width: 46px; height: 46px; }
.pd-lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.pd-lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.pd-lb-nav.prev { inset-inline-start: 14px; }
.pd-lb-nav.next { inset-inline-end: 14px; }
.pd-lb-zoombar { position: absolute; z-index: 3; bottom: 92px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pd-lb-zoombar .pd-lb-btn { position: static; width: 38px; height: 38px; }
.pd-lb-count { color: #fff; font: 600 13px/1 var(--f-body, system-ui); min-width: 56px; text-align: center; font-variant-numeric: tabular-nums; }
.pd-lb-thumbs { position: absolute; z-index: 3; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; max-width: min(92vw, 760px); overflow-x: auto; padding: 4px; scrollbar-width: none; }
.pd-lb-thumbs::-webkit-scrollbar { display: none; }
.pd-lb-thumb { flex: 0 0 auto; width: 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #222; cursor: pointer; opacity: .55; transition: opacity .15s, border-color .15s; }
.pd-lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-lb-thumb[aria-current="true"] { opacity: 1; border-color: #fff; }
@media (max-width: 640px) { .pd-lb-nav { width: 40px; height: 40px; } .pd-lb-zoombar { bottom: 82px; } .pd-lb-thumb { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .pd-lb, .pd-lb-img, .pd-lb-btn, .pd-film-thumb, .pdp.pd .g-zoom { transition: none; } }
/* info column */
.pdp.pd .pd-info { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.pdp.pd .pd-cat { margin: 2px 0 calc(var(--gap) * -.55); font: 600 var(--cat)/1.2 var(--f-body); color: var(--muted); text-decoration: none; }
.pdp.pd .pd-title { margin: 0; font: italic 800 var(--title)/1.04 var(--f-display); letter-spacing: -.015em; color: var(--ink); text-transform: none; }
.pdp.pd .pd-title em { display: block; font-style: italic; color: var(--pd-accent, var(--red)); }
html[lang="ar"] .pdp.pd .pd-title { font-style: normal; line-height: 1.25; font-size: calc(var(--title) * .86); }
.pdp.pd .pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: calc(var(--gap) * -.3); font-size: var(--txt); color: var(--muted); }
.pdp.pd .pd-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.pdp.pd .pd-rating .stars .ic { width: calc(var(--txt) + 2px); height: calc(var(--txt) + 2px); color: #f5b301; } .pdp.pd .pd-rating .stars .on .ic { fill: #f5b301; }
.pdp.pd .pd-sep { width: 1px; height: 1.05em; background: var(--line-2, var(--line)); }
.pdp.pd .pd-sku b { font-weight: 500; color: var(--muted); }
/* price row + pills */
.pdp.pd .pd-pricerow { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.pdp.pd .pd-price { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin: 0; }
.pdp.pd .pd-price b { font: italic 800 var(--price)/1 var(--f-num, var(--f-display)); color: var(--red); letter-spacing: -.01em; white-space: nowrap; }
.pdp.pd .pd-price s { font: 500 var(--old)/1 var(--f-body); color: var(--muted); white-space: nowrap; text-decoration-thickness: 1.5px; }
html[lang="ar"] .pdp.pd .pd-price b { font-family: var(--f-ar-num, var(--f-ar)); font-style: normal; font-size: calc(var(--price) * .86); }
.pdp.pd .pd-pills { display: flex; gap: 6px; align-items: center; margin-inline-start: auto; }
.pdp.pd .pd-pill { display: inline-flex; align-items: center; gap: 5px; padding: .38em .8em; border-radius: 999px; font: 700 var(--pill)/1.1 var(--f-body); white-space: nowrap; }
.pdp.pd .pd-pill .ic { width: 1em; height: 1em; }
.pdp.pd .pd-off { background: var(--red); color: #fff; font-weight: 800; direction: ltr; unicode-bidi: isolate; }
.pdp.pd .pd-stock { background: var(--pd-stock-bg, #eaf8ee); color: var(--pd-stock-ink, #15803d); }
.pdp.pd .pd-out { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
.pdp.pd .promo-badges { margin: -4px 0 0; }
/* options: one attribute per row */
.pdp.pd .pd-opts { display: flex; flex-direction: column; gap: calc(var(--gap) * .9); }
.pdp.pd .vgroup { display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.pdp.pd .vgroup .vlabel { flex: 0 0 auto; min-width: calc(var(--txt) * 4.2); font: 700 var(--txt)/1.2 var(--f-body); color: var(--ink); }
.pdp.pd .vgroup .vlabel b { display: none; } .pdp.pd.pd-chosen-on .vgroup .vlabel b { display: inline; }
.pdp.pd .vpills, .pdp.pd .vswatches { display: flex; flex-wrap: wrap; gap: calc(var(--opt-h) * .3); }
.pdp.pd .vpill { min-width: var(--opt-w); height: var(--opt-h); padding: 0 10px; border-radius: calc(var(--pd-r, 12px) * .6); border: 1.5px solid var(--line-2, var(--line)); background: var(--surface); color: var(--ink); font: 600 calc(var(--txt) + 1px)/1 var(--f-body); }
.pdp.pd .vpill[aria-checked="true"] { background: #16181d; color: #fff; border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
:root[data-theme="dark"] .pdp.pd .vpill[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.pdp.pd .vsw { width: var(--swz); height: var(--swz); border-radius: 50%; background: var(--sw); border: 3px solid var(--surface); box-shadow: 0 0 0 1.5px var(--line-2, var(--line)); }
.pdp.pd .vsw[aria-checked="true"] { box-shadow: 0 0 0 2px var(--red); }
.pdp.pd .vgroup select { height: var(--opt-h); }
/* quantity */
.pdp.pd .pd-qty { display: flex; align-items: center; justify-content: flex-start; gap: 12px; }
.pdp.pd .pd-qty .vlabel { min-width: calc(var(--txt) * 4.2); font: 700 var(--txt)/1.2 var(--f-body); }
.pdp.pd .stepper { border: 1.5px solid var(--line-2, var(--line)); border-radius: 999px; background: var(--surface); height: var(--opt-h); }
.pdp.pd .stepper button { width: calc(var(--opt-h) * 1.15); height: 100%; } .pdp.pd .stepper .ic { width: calc(var(--txt) + 3px); height: calc(var(--txt) + 3px); stroke-width: 2.2; }
.pdp.pd .stepper input { width: calc(var(--opt-h) * 1.1); font: 700 calc(var(--txt) + 1px)/1 var(--f-body); }
/* order button */
.pdp.pd .pd-actions { display: flex; flex-direction: column; gap: calc(var(--gap) * .9); }
/* Order now + Add to cart share the top row, side by side. */
.pdp.pd .pd-primary { display: flex; align-items: stretch; gap: calc(var(--btn-h) * .28); }
.pdp.pd .pd-primary > .pd-cta { flex: 1 1 56%; width: auto; min-width: 0; }
.pdp.pd .pd-primary > .pd-addcart { flex: 1 1 44%; width: auto; min-width: 0; height: auto; min-height: var(--cta-h); }
.pdp.pd .pd-cta { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: calc(var(--cta-t) * .9); min-height: var(--cta-h); width: 100%; padding: 3px 14px; border: 0; border-radius: var(--pd-r, 12px); background: var(--red); color: #fff; box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--red) 90%, transparent); }
.pdp.pd .pd-cta:hover { background: color-mix(in srgb, var(--red) 88%, #000); }
.pdp.pd .pd-cta-ic .ic { width: calc(var(--cta-t) * 1.35); height: calc(var(--cta-t) * 1.35); }
.pdp.pd .pd-cta-tx { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.pdp.pd .pd-cta-t { font: italic 800 var(--cta-t)/1.08 var(--f-display); letter-spacing: .005em; }
.pdp.pd .pd-cta small { display: inline-flex; align-items: center; gap: 6px; font: 600 calc(var(--cta-t) * .62)/1.2 var(--f-body); opacity: .95; }
.pdp.pd .pd-cta small .ic { width: 1.3em; height: 1.3em; }
html[lang="ar"] .pdp.pd .pd-cta-t { font-style: normal; }
/* add to cart · heart · share · WhatsApp */
.pdp.pd .pd-row { display: flex; align-items: stretch; gap: calc(var(--btn-h) * .2); flex-wrap: nowrap; }
.pdp.pd .pd-addcart { flex: 1 1 0; min-width: 0; height: var(--btn-h); display: inline-flex; align-items: center; justify-content: center; gap: calc(var(--txt) * .8); padding: 0 8px; border-radius: 999px; border: 1.5px solid var(--line-2, var(--line)); background: var(--surface); color: var(--ink); font: 700 calc(var(--txt) + .5px)/1 var(--f-body); white-space: nowrap; }
.pdp.pd .pd-addcart .ic { width: calc(var(--btn-h) * .5); height: calc(var(--btn-h) * .5); } .pdp.pd .pd-addcart:hover { border-color: var(--ink); }
.pdp.pd .pd-round, .pdp.pd .pd-row button.vibe-wl-product-heart { flex: none; width: var(--btn-h) !important; height: var(--btn-h) !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; display: grid !important; place-items: center; border-radius: 999px !important; border: 1px solid var(--line) !important; background: var(--surface) !important; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(0,0,0,.2); position: relative !important; }
.pdp.pd .pd-round .ic, .pdp.pd .pd-row button.vibe-wl-product-heart svg { width: calc(var(--btn-h) * .5); height: calc(var(--btn-h) * .5); }
.pdp.pd .pd-row [data-wish], .pdp.pd .pd-row button.vibe-wl-product-heart { color: var(--red); }
.pdp.pd .pd-row [data-wish] .ic { fill: var(--red); stroke: var(--red); }
.pdp.pd .pd-wa { flex: 1 1 0; min-width: 0; height: var(--btn-h); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 10px; border-radius: 999px; background: var(--pd-wa, #1faa4b); color: #fff; text-decoration: none; font: 700 var(--txt)/1.15 var(--f-body); text-align: center; }
.pdp.pd .pd-wa .ic { width: calc(var(--btn-h) * .62); height: calc(var(--btn-h) * .62); flex: none; } .pdp.pd .pd-wa:hover { filter: brightness(.95); color: #fff; }
.pdp.pd .pd-wa span { max-width: 9.5em; }
/* delivery estimator */
.pdp.pd.pd-own-est .zr-shipping-estimator { display: none !important; }
.pdp.pd:not(.pd-vol-on) .vibe-product-promo-badges { display: none !important; }
.pdp.pd .pd-est { border: 1px solid color-mix(in srgb, var(--pd-est-ink, #15803d) 18%, var(--line)); border-radius: var(--pd-r, 12px); background: var(--surface); overflow: hidden; }
.pdp.pd .pd-est-head { width: 100%; display: flex; align-items: center; gap: 8px; padding: calc(var(--txt) * .45) 12px; border: 0; background: var(--pd-est-head, #eefbf1); color: var(--pd-est-ink, #15803d); text-align: start; cursor: pointer; }
.pdp.pd .pd-est-head b { flex: 1; font: 700 calc(var(--txt) - .5px)/1.25 var(--f-body); }
.pdp.pd .pd-est-ic .ic { width: calc(var(--txt) * 1.9); height: calc(var(--txt) * 1.9); color: #f59e0b; }
.pdp.pd .pd-est-chev { width: calc(var(--txt) + 3px); height: calc(var(--txt) + 3px); color: var(--ink); transition: transform .2s; } .pdp.pd .pd-est.is-open .pd-est-chev { transform: rotate(180deg); }
.pdp.pd .pd-est-body { display: none; padding: 7px 8px 8px; gap: 7px; flex-direction: column; } .pdp.pd .pd-est.is-open .pd-est-body { display: flex; }
.pdp.pd .pd-est-sel { position: relative; display: block; }
.pdp.pd .pd-est-sel > .ic:first-child { position: absolute; inset-inline-start: 10px; top: 50%; translate: 0 -50%; width: calc(var(--txt) + 4px); height: calc(var(--txt) + 4px); color: var(--ink); pointer-events: none; }
.pdp.pd .pd-est-sel .pd-sel-chev { position: absolute; inset-inline-end: 12px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.pdp.pd .pd-est-sel select { width: 100%; height: calc(var(--btn-h) * .72); appearance: none; -webkit-appearance: none; padding: 0 32px 0 34px; border-radius: calc(var(--pd-r, 12px) * .8); border: 1px solid var(--line-2, var(--line)); background: var(--surface); color: var(--ink); font: 500 calc(var(--txt) + 1px)/1 var(--f-body); }
[dir="rtl"] .pdp.pd .pd-est-sel select { padding: 0 34px 0 32px; }
.pdp.pd .pd-est-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; } .pdp.pd .pd-est-cards[hidden] { display: none; }
.pdp.pd .pd-est-card { display: flex; align-items: center; gap: 8px; padding: 5px 10px; min-height: calc(var(--txt) * 4.2); border-radius: calc(var(--pd-r, 12px) * .8); background: var(--pd-est-card, #fffbea); border: 1.5px solid var(--pd-est-border, #f1c44e); min-width: 0; }
.pdp.pd .pd-est-card[hidden] { display: none; }
.pdp.pd .pd-est-cic { flex: none; width: calc(var(--txt) * 2.4); height: calc(var(--txt) * 2.4); border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 6px -3px rgba(0,0,0,.25); }
.pdp.pd .pd-est-card[data-k="home"] .pd-est-cic .ic { color: var(--red); width: calc(var(--txt) * 1.5); height: calc(var(--txt) * 1.5); } .pdp.pd .pd-est-card[data-k="desk"] .pd-est-cic .ic { color: #1e3a8a; width: calc(var(--txt) * 1.4); height: calc(var(--txt) * 1.4); }
.pdp.pd .pd-est-card > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.pdp.pd .pd-est-card small { font: 500 calc(var(--txt) * .78)/1.2 var(--f-body); color: var(--ink); }
.pdp.pd .pd-est-card b { font: italic 800 calc(var(--txt) * 1.25)/1.15 var(--f-num, var(--f-display)); color: var(--ink); }
.pdp.pd .pd-est-card em { font: 500 calc(var(--txt) * .75)/1.2 var(--f-body); font-style: normal; color: var(--muted); direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] .pdp.pd .pd-est-card b { font-style: normal; font-family: var(--f-ar-num, var(--f-ar)); }
.pdp.pd .pd-est-none { margin: 0; color: var(--muted); font-size: var(--txt); }
/* Dark mode: the delivery-estimate cards keep their light amber background, so their
   label / price / delay text must stay dark instead of inheriting the light theme ink. */
:root[data-theme="dark"] .pdp.pd .pd-est-card small { color: #1b1f27; }
:root[data-theme="dark"] .pdp.pd .pd-est-card b { color: #111318; }
:root[data-theme="dark"] .pdp.pd .pd-est-card em { color: #5b6472; }
/* trust tiles */
.pdp.pd .pd-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 7px; }
.pdp.pd .pd-trust li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 6px 3px; min-height: calc(var(--txt) * 4.2); border-radius: var(--pd-r, 12px); background: var(--surface); box-shadow: 0 1px 2px rgba(17,19,24,.05), 0 6px 16px -12px rgba(17,19,24,.3); text-align: center; }
.pdp.pd .pd-trust .ic { width: calc(var(--txt) * 1.45); height: calc(var(--txt) * 1.45); color: var(--red); stroke-width: 1.8; }
.pdp.pd .pd-trust span { font: 600 calc(var(--txt) * .78)/1.2 var(--f-body); color: var(--ink); text-wrap: balance; }
/* accordions */
.pdp.pd .pd-acc { display: flex; flex-direction: column; gap: 6px; }
.pdp.pd .pd-acc details { border: 1px solid var(--line); border-radius: var(--pd-r, 12px); background: var(--surface); }
.pdp.pd .pd-acc summary { display: flex; align-items: center; gap: 10px; padding: calc(var(--txt) * .58) 12px; cursor: pointer; list-style: none; font: 500 var(--txt)/1.2 var(--f-body); color: var(--ink); }
.pdp.pd .pd-acc summary::-webkit-details-marker { display: none; }
.pdp.pd .pd-acc .pd-acc-ic { width: calc(var(--txt) * 1.25); height: calc(var(--txt) * 1.25); color: var(--ink); flex: none; } .pdp.pd .pd-acc summary span { flex: 1; }
.pdp.pd .pd-acc .pd-acc-chev { width: calc(var(--txt) * 1.2); height: calc(var(--txt) * 1.2); transition: transform .2s; } .pdp.pd .pd-acc details[open] .pd-acc-chev { transform: rotate(180deg); }
.pdp.pd .pd-acc .prose, .pdp.pd .pd-acc .specs { padding: 0 12px 12px; margin: 0; font-size: var(--txt); }
/* the separate legacy info block is now inside the page */
.pg-product .pdp-info { display: none; }
/* computer: photo left, details right */
@media (min-width: 900px) {
  .pg-product .crumbs { padding-inline: var(--gutter); }
  .pdp.pd { --gap: var(--pd-gap-d, 16px); --cat: var(--pd-cat-d, 14px); --title: var(--pd-title-d, 38px); --txt: var(--pd-text-d, 15px); --price: var(--pd-price-d, 40px); --old: var(--pd-old-d, 18px); --pill: var(--pd-pill-d, 14px); --opt-h: var(--pd-opt-h-d, 38px); --opt-w: var(--pd-opt-w-d, 50px); --swz: var(--pd-swatch-d, 36px); --cta-h: var(--pd-cta-h-d, 58px); --cta-t: var(--pd-cta-text-d, 21px); --btn-h: var(--pd-btn-h-d, 48px);
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 40px; padding: 18px var(--gutter) 10px; align-items: start; }
  .pdp.pd .pd-gallery { position: sticky; top: calc(var(--head-h, 80px) + 16px); }
  .pdp.pd .g-nav { display: grid; }
  .pdp.pd.pd-thumbs-on .pd-dots { justify-content: flex-start; gap: 8px; padding: 10px 2px 2px; }
  .pdp.pd.pd-thumbs-on .pd-dots button { width: 72px !important; height: 72px; border-radius: 10px; border: 2px solid transparent; background: #fff; }
  .pdp.pd.pd-thumbs-on .pd-dots button img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .pdp.pd.pd-thumbs-on .pd-dots button[aria-selected="true"] { border-color: var(--red); background: #fff; }
}
.pdp.pd form.vibe-host-cart { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: var(--gap) !important; width: 100%; margin: 0 !important; padding: 0 !important; }
.pdp.pd form.vibe-host-cart > * { width: 100%; max-width: none; margin: 0; }
.pdp.pd form.vibe-host-cart > .pd-qty { width: auto; }
/* the checkout plugin restyles its add-to-cart and wishlist buttons: keep the reference sizes */
.pdp.pd .pd-row .pd-addcart { height: var(--btn-h) !important; min-height: 0 !important; max-height: var(--btn-h) !important; line-height: 1 !important; margin: 0 !important; box-shadow: none !important; }
.pdp.pd .pd-row button.vibe-wl-product-heart { aspect-ratio: 1 / 1 !important; max-width: var(--btn-h) !important; flex: 0 0 var(--btn-h) !important; }
.pdp.pd .pd-row button.vibe-wl-product-heart.active svg, .pdp.pd .pd-row button.vibe-wl-product-heart[aria-pressed="true"] svg { fill: var(--red); }
/* checkout's floating Order button on product pages */
html.pd-no-float .vibe-floating-container.vibe-order-container { display: none !important; }
.vibe-floating-container.vibe-order-container { transition: opacity .25s, transform .25s; }
/* While the floating Order now button is hidden (its in-page twin is on screen), it must not
   catch clicks in the empty space it would occupy. The container alone is not enough: the plugin
   sets pointer-events:auto on #vibe-open-checkout-btn, so the invisible button stays clickable
   unless we disable it (and every descendant) explicitly. */
html.pd-float-wait .vibe-floating-container.vibe-order-container,
html.pd-float-wait .vibe-floating-container.vibe-order-container * { pointer-events: none !important; }
html.pd-float-wait .vibe-floating-container.vibe-order-container { opacity: 0 !important; transform: translateY(24px) !important; }
/* Keep the store-native WhatsApp floater visible whenever its admin setting is enabled.
   Vibe Checkout has its own separate trigger; presence of that widget must not hide this button. */

/* product cards: the photo area (heart, badges) sits above the title's full-card link so the heart is clickable */
.grid .card.pc .card-mediabox { z-index: 1; }
/* one-tap add to cart feedback */
.grid .card.pc .card-cart.is-busy { opacity: .65; pointer-events: none; }
.grid .card.pc .card-cart.is-added { animation: pc-added .5s var(--ease, ease); background: var(--ok, #1e7b4e) !important; }
@keyframes pc-added { 40% { transform: scale(1.15); } }

/* product page: Description / Specifications / Delivery span the full width under the photo + details (like Reviews) */
.pd-below { --txt: var(--pd-text-m, 11px); padding: 2px var(--pd-side-m, 16px) 4px; }
@media (min-width: 900px) { .pd-below { --txt: var(--pd-text-d, 14px); padding: 6px var(--gutter) 4px; } .pd-below .pd-acc summary { padding-block: 14px; } .pd-below .pd-acc .prose { max-width: 75ch; } }
.pd-below .pd-acc { display: flex; flex-direction: column; gap: 6px; }
.pd-below .pd-acc details { border: 1px solid var(--line); border-radius: var(--pd-r, 12px); background: var(--surface); }
.pd-below .pd-acc summary { display: flex; align-items: center; gap: 10px; padding: calc(var(--txt) * .58) 12px; cursor: pointer; list-style: none; font: 500 var(--txt)/1.2 var(--f-body); color: var(--ink); }
.pd-below .pd-acc summary::-webkit-details-marker { display: none; }
.pd-below .pd-acc .pd-acc-ic { width: calc(var(--txt) * 1.25); height: calc(var(--txt) * 1.25); color: var(--ink); flex: none; } .pd-below .pd-acc summary span { flex: 1; }
.pd-below .pd-acc .pd-acc-chev { width: calc(var(--txt) * 1.2); height: calc(var(--txt) * 1.2); transition: transform .2s; } .pd-below .pd-acc details[open] .pd-acc-chev { transform: rotate(180deg); }
.pd-below .pd-acc .prose, .pd-below .pd-acc .specs { padding: 0 12px 12px; margin: 0; font-size: var(--txt); }
@media (min-width: 900px) { .pd-below .pd-acc summary { padding: 14px 18px; gap: 12px; } .pd-below .pd-acc .prose, .pd-below .pd-acc .specs { padding: 0 18px 16px; } .pd-below .pd-acc { gap: 8px; } }

/* product page: title uses the whole free width; finer text sizes (Admin → Design → Product page) */
.pdp.pd, .pd-below { --crumb: var(--pd-crumb-m, 11px); --label: var(--pd-label-m, 11px); --optt: var(--pd-opt-text-m, 12px); --btnt: var(--pd-btn-text-m, 12px); --estt: var(--pd-est-text-m, 11px); --trustt: var(--pd-trust-text-m, 9px); --acct: var(--pd-acc-title-m, 12px); --desc: var(--pd-desc-m, 12px); }
@media (min-width: 900px) { .pdp.pd, .pd-below { --crumb: var(--pd-crumb-d, 13px); --label: var(--pd-label-d, 14px); --optt: var(--pd-opt-text-d, 15px); --btnt: var(--pd-btn-text-d, 15px); --estt: var(--pd-est-text-d, 14px); --trustt: var(--pd-trust-text-d, 12px); --acct: var(--pd-acc-title-d, 16px); --desc: var(--pd-desc-d, 15px); } .pg-product .crumbs { font-size: var(--pd-crumb-d, 13px); } }
.pg-product .crumbs { font-size: var(--pd-crumb-m, 11px); }
.pdp.pd .pd-title { width: 100%; max-width: none; text-wrap: pretty; }
.pdp.pd .pd-title em { display: inline; } .pdp.pd.pd-title-break .pd-title em { display: block; }
.pdp.pd .vgroup .vlabel, .pdp.pd .pd-qty .vlabel { font-size: var(--label); min-width: calc(var(--label) * 4.2); }
.pdp.pd .vpill, .pdp.pd .stepper input { font-size: var(--optt); }
.pdp.pd .pd-addcart, .pdp.pd .pd-wa { font-size: var(--btnt); }
.pdp.pd .pd-est { --txt: var(--estt); }
.pdp.pd .pd-trust span { font-size: var(--trustt); }
.pdp.pd .pd-acc summary, .pd-below .pd-acc summary { font-size: var(--acct); }
.pd-below .pd-acc .pd-acc-ic, .pd-below .pd-acc .pd-acc-chev { width: calc(var(--acct) * 1.25); height: calc(var(--acct) * 1.25); }
.pd-below .pd-acc .prose, .pd-below .pd-acc .specs { font-size: var(--desc); }

/* sticky header: overflow-x:hidden on <body> turned it into a scroll container and broke position:sticky — clip hides sideways overflow without that */
html body { overflow-x: clip; overflow-y: visible; }

/* =====================================================================
   Homepage categories (Admin → Homepage → Categories) — lib/cat-spec.js
   card style (photo + icon/title/subtitle/arrow) or tile style (title over the photo),
   2–6 cards per view, grid or carousel, separately for phone and computer. Photos are 1:1.
   ===================================================================== */
.cs { --pv: var(--cs-pv-m, 4); --gap: var(--cs-gap-m, 8px); --title: var(--cs-title-m, 12px); --sub: var(--cs-sub-m, 10px); --pad: var(--cs-pad-m, 8px); --icon: var(--cs-icon-m, 30px); --arrow: var(--cs-arrow-m, 26px); }
.cs .cs-viewport { position: relative; }
.cs .cs-track { display: grid; grid-template-columns: repeat(var(--pv), minmax(0, 1fr)); gap: var(--gap); }
.cs .cs-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--cs-r, 14px); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s var(--ease, ease), box-shadow .2s; }
.cs .cs-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cs-photo-bg, #fff); }
.cs .cs-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease, ease); }
.cs.cs-fit-contain .cs-media img { object-fit: contain; padding: 6%; }
.cs .cs-icon { flex: none; width: var(--icon); height: var(--icon); border-radius: 50%; place-items: center; background: var(--cs-icon-bg, color-mix(in srgb, var(--red) 9%, var(--surface))); color: var(--red); display: none; }
.cs .cs-icon .ic { width: 56%; height: 56%; }
.cs .cs-tx b { display: block; font: 800 var(--title)/1.15 var(--f-body); overflow: hidden; text-overflow: ellipsis; }
.cs .cs-go { flex: none; display: grid; place-items: center; transition: background .15s, color .15s; }
.cs .cs-go .ic { width: 46%; height: 46%; stroke-width: 2.4; } [dir="rtl"] .cs .cs-go .ic { transform: scaleX(-1); }
.cs.cs-no-icon .cs-icon, .cs.cs-no-sub .cs-tx small, .cs.cs-no-arrow .cs-go { display: none !important; }
@media (hover: hover) { .cs .cs-card:hover { transform: translateY(-2px); } .cs .cs-card:hover .cs-media img { transform: scale(1.05); } }
.cs .cs-nav { display: none; position: absolute; z-index: 2; top: 40%; translate: 0 -50%; width: 40px; height: 40px; border: 0; border-radius: 50%; place-items: center; background: rgba(255,255,255,.95); color: #16181d; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); cursor: pointer; }
.cs .cs-nav.prev { inset-inline-start: -14px; } .cs .cs-nav.next { inset-inline-end: -14px; }
.cs .cs-nav .ic { width: 18px; height: 18px; stroke-width: 2.4; } .cs .cs-nav.prev .ic { transform: scaleX(-1); } [dir="rtl"] .cs .cs-nav.prev .ic { transform: none; } [dir="rtl"] .cs .cs-nav.next .ic { transform: scaleX(-1); }
.cs .cs-nav[disabled] { opacity: 0; pointer-events: none; }
.cs .cs-dots { display: none; justify-content: center; gap: 6px; margin-top: 10px; }
.cs .cs-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: color-mix(in srgb, var(--ink) 20%, transparent); cursor: pointer; transition: width .2s, background .2s; }
.cs .cs-dots button[aria-current="true"] { width: 22px; background: var(--red); }
@media (max-width: 899px) {
.cs.cs-lm-card .cs-card { background: var(--cs-bg, var(--surface)); box-shadow: 0 1px 2px rgba(17,19,24,calc(var(--cs-shadow, .1) * .6)), 0 8px 20px -10px rgba(17,19,24,calc(var(--cs-shadow, .1) * 1.8)); }
.cs.cs-lm-card .cs-media { margin: var(--cs-inset, 6px) var(--cs-inset, 6px) 0; border-radius: max(4px, calc(var(--cs-r, 14px) - var(--cs-inset, 6px))); }
.cs.cs-lm-card .cs-cap { position: static; display: flex; align-items: center; gap: calc(var(--pad) * .9); padding: var(--pad); background: none; color: var(--ink); flex: 1; }
.cs.cs-lm-card .cs-icon { display: grid; }
.cs.cs-lm-card .cs-tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cs.cs-lm-card .cs-tx b { color: var(--ink); font-size: var(--title); }
.cs.cs-lm-card .cs-tx small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: var(--sub); line-height: 1.25; }
.cs.cs-lm-card .cs-go { width: var(--arrow); height: var(--arrow); border-radius: 50%; background: var(--surface-2, #eef0f3); color: var(--ink); }
.cs.cs-lm-card .cs-card:hover .cs-go { background: var(--red); color: #fff; }

.cs.cs-lm-tile .cs-card { background: #111; }
.cs.cs-lm-tile .cs-media { margin: 0; border-radius: var(--cs-r, 14px); }
.cs.cs-lm-tile .cs-cap { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; gap: 4px; padding: calc(var(--pad) * 2.4) var(--pad) var(--pad); border-radius: 0 0 var(--cs-r, 14px) var(--cs-r, 14px); background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,var(--cs-overlay, .7)) 100%); color: #fff; }
.cs.cs-lm-tile .cs-icon, .cs.cs-lm-tile .cs-tx small { display: none; }
.cs.cs-lm-tile .cs-tx { flex: 1; min-width: 0; }
.cs.cs-lm-tile .cs-tx b { color: #fff; font-size: var(--title); text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.cs.cs-lm-tile .cs-go { width: auto; height: auto; background: none; color: #fff; }
.cs.cs-lm-tile .cs-go .ic { width: calc(var(--title) + 2px); height: calc(var(--title) + 2px); }

.cs.cs-car-m .cs-track { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - (var(--pv) - 1) * var(--gap)) / var(--pv)); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.cs.cs-car-m .cs-track::-webkit-scrollbar { display: none; }
.cs.cs-car-m .cs-card { scroll-snap-align: start; }
.cs.cs-car-m:not(.cs-no-dots) .cs-dots { display: flex; }
}
@media (min-width: 900px) {
  .cs { --pv: var(--cs-pv-d, 4); --gap: var(--cs-gap-d, 18px); --title: var(--cs-title-d, 17px); --sub: var(--cs-sub-d, 13px); --pad: var(--cs-pad-d, 14px); --icon: var(--cs-icon-d, 40px); --arrow: var(--cs-arrow-d, 38px); }
.cs.cs-ld-card .cs-card { background: var(--cs-bg, var(--surface)); box-shadow: 0 1px 2px rgba(17,19,24,calc(var(--cs-shadow, .1) * .6)), 0 8px 20px -10px rgba(17,19,24,calc(var(--cs-shadow, .1) * 1.8)); }
.cs.cs-ld-card .cs-media { margin: var(--cs-inset, 6px) var(--cs-inset, 6px) 0; border-radius: max(4px, calc(var(--cs-r, 14px) - var(--cs-inset, 6px))); }
.cs.cs-ld-card .cs-cap { position: static; display: flex; align-items: center; gap: calc(var(--pad) * .9); padding: var(--pad); background: none; color: var(--ink); flex: 1; }
.cs.cs-ld-card .cs-icon { display: grid; }
.cs.cs-ld-card .cs-tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cs.cs-ld-card .cs-tx b { color: var(--ink); font-size: var(--title); }
.cs.cs-ld-card .cs-tx small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: var(--sub); line-height: 1.25; }
.cs.cs-ld-card .cs-go { width: var(--arrow); height: var(--arrow); border-radius: 50%; background: var(--surface-2, #eef0f3); color: var(--ink); }
.cs.cs-ld-card .cs-card:hover .cs-go { background: var(--red); color: #fff; }

.cs.cs-ld-tile .cs-card { background: #111; }
.cs.cs-ld-tile .cs-media { margin: 0; border-radius: var(--cs-r, 14px); }
.cs.cs-ld-tile .cs-cap { position: absolute; inset: auto 0 0 0; display: flex; align-items: flex-end; gap: 4px; padding: calc(var(--pad) * 2.4) var(--pad) var(--pad); border-radius: 0 0 var(--cs-r, 14px) var(--cs-r, 14px); background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,var(--cs-overlay, .7)) 100%); color: #fff; }
.cs.cs-ld-tile .cs-icon, .cs.cs-ld-tile .cs-tx small { display: none; }
.cs.cs-ld-tile .cs-tx { flex: 1; min-width: 0; }
.cs.cs-ld-tile .cs-tx b { color: #fff; font-size: var(--title); text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.cs.cs-ld-tile .cs-go { width: auto; height: auto; background: none; color: #fff; }
.cs.cs-ld-tile .cs-go .ic { width: calc(var(--title) + 2px); height: calc(var(--title) + 2px); }

.cs.cs-car-d .cs-track { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - (var(--pv) - 1) * var(--gap)) / var(--pv)); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.cs.cs-car-d .cs-track::-webkit-scrollbar { display: none; }
.cs.cs-car-d .cs-card { scroll-snap-align: start; }
.cs.cs-car-d:not(.cs-no-dots) .cs-dots { display: flex; }

.cs.cs-car-d:not(.cs-no-nav) .cs-nav { display: grid; }
}
@media (max-width: 899px) {
/* narrow cards (many per row): stack the caption, keep title + one subtitle line */
.cs.cs-dense-m.cs-lm-card .cs-cap { flex-direction: column; align-items: stretch; gap: 2px; padding: calc(var(--pad) * .8) var(--pad) var(--pad); }
.cs.cs-dense-m.cs-lm-card .cs-icon, .cs.cs-dense-m.cs-lm-card .cs-go { display: none; }
.cs.cs-dense-m.cs-lm-card .cs-tx b { white-space: nowrap; }
.cs.cs-dense-m.cs-lm-card .cs-tx small { -webkit-line-clamp: 1; }
}
@media (min-width: 900px) {
/* narrow cards (many per row): stack the caption, keep title + one subtitle line */
.cs.cs-dense-d.cs-ld-card .cs-cap { flex-direction: column; align-items: stretch; gap: 2px; padding: calc(var(--pad) * .8) var(--pad) var(--pad); }
.cs.cs-dense-d.cs-ld-card .cs-icon, .cs.cs-dense-d.cs-ld-card .cs-go { display: none; }
.cs.cs-dense-d.cs-ld-card .cs-tx b { white-space: nowrap; }
.cs.cs-dense-d.cs-ld-card .cs-tx small { -webkit-line-clamp: 1; }
}


/* ---------- Clean reference footer art: artwork is a background, never a screenshot of UI ---------- */
.site-foot.has-art-background {
  background-color: #0b0d10;
  background-position: center top;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.site-foot.has-art-background > .foot-scene { display: none !important; }
.site-foot.has-art-background > .checker { display: block !important; position: relative; z-index: 1; height: 14px; background-size: 14px 14px; }
.site-foot.has-art-background::before,
.site-foot.has-art-background::after { display: none !important; content: none !important; background: none !important; }
.site-foot.has-art-background .wrap { width: min(calc(100% - 28px), 1180px); }
.site-foot.has-art-background .foot-brand { justify-items: center; }
.site-foot.has-art-background .foot-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.site-foot.has-art-background .foot-trust-box { width: 100%; }
.site-foot.has-art-background .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-foot.has-art-background .foot-contact { display: none !important; }
.site-foot.has-art-background .foot-bottom { grid-template-columns: 1fr; }
.site-foot.has-art-background .foot-id { justify-content: center; }
.site-foot.has-art-background .foot-legal { justify-self: stretch; text-align: start; }
@media (min-width: 900px) {
  .site-foot.has-art-background .wrap { width: min(calc(100% - 64px), 1180px); }
  .site-foot.has-art-background .foot-top { grid-template-columns: 1fr; }
  .site-foot.has-art-background .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot.has-art-background .foot-bottom { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-foot.has-art-background .foot-id { justify-content: flex-start; }
  .site-foot.has-art-background .foot-legal { justify-self: end; }
}

/* ---------- Compact horizontal footer (single brand mark; delivery cards under it) ---------- */
.site-foot.compact-footer {
  margin-top: 18px;
  --footer-compact-brand-col: 260px;
  --footer-compact-gap-mobile: 12px;
  --footer-compact-gap-desktop: 28px;
  --footer-compact-top-mobile: 10px;
  --footer-compact-top-desktop: 16px;
  --footer-compact-logo-mobile: 112px;
  --footer-compact-logo-desktop: 136px;
  --footer-compact-trust-radius: 10px;
  --footer-compact-nav-gap-mobile: 12px;
  --footer-compact-nav-gap-desktop: 24px;
}
.site-foot.compact-footer .foot-layout {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(200px, var(--footer-compact-brand-col, 260px)) minmax(0, 1fr) !important;
  align-items: start;
  gap: var(--footer-compact-gap-desktop, 28px);
  padding-block: var(--footer-compact-top-desktop, 16px) 8px;
}
.site-foot.compact-footer .foot-brand {
  display: flex !important;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
}
.site-foot.compact-footer .foot-logo-link { display: flex; align-items: center; justify-content: center; width: 100%; line-height: 0; }
.site-foot.compact-footer .foot-emblem {
  display: block;
  width: min(var(--footer-compact-logo-desktop, 136px), 100%) !important;
  max-height: 92px;
  object-fit: contain;
  padding: 0;
  margin: 0;
}
.site-foot.compact-footer .foot-brand > p { display: none !important; }
.site-foot.compact-footer .foot-trust-box {
  width: 100% !important;
  max-width: none !important;
  margin: 0;
  padding: var(--footer-compact-trust-pad-desktop, 6px) 0 !important;
  border: 0;
  border-radius: var(--footer-compact-trust-radius, 10px) !important;
  background: transparent !important;
}
.site-foot.compact-footer .foot-trust-box ul {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 5px;
  margin: 0;
  padding: 0;
}
.site-foot.compact-footer .foot-trust-box li {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start;
  align-items: center;
  min-width: 0;
  gap: 8px !important;
  padding: 6px 8px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 9px;
  background: rgba(8,10,14,.62);
  text-align: start !important;
  font-size: var(--footer-compact-trust-text-desktop, 11px) !important;
  line-height: 1.2 !important;
}
.site-foot.compact-footer .foot-trust-box li + li { border-inline-start: 1px solid rgba(255,255,255,.12) !important; }
.site-foot.compact-footer .foot-trust-box li .ic {
  flex: 0 0 var(--footer-compact-trust-icon-desktop, 20px) !important;
  width: var(--footer-compact-trust-icon-desktop, 20px) !important;
  height: var(--footer-compact-trust-icon-desktop, 20px) !important;
  color: #ffb21b;
}
.site-foot.compact-footer .foot-trust-box li span { min-width: 0; overflow-wrap: anywhere; }
.site-foot.compact-footer .foot-trust-box li b { display: inline; font-weight: 800; }
.site-foot.compact-footer .foot-grid {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  align-items: start;
  gap: var(--footer-compact-nav-gap-desktop, 24px) !important;
  padding: 0 !important;
  margin: 0;
}
.site-foot.compact-footer .foot-col { min-width: 0; }
.site-foot.compact-footer .foot-col h2 {
  margin: 0 0 7px !important;
  font-size: var(--footer-compact-nav-head-desktop, 21px) !important;
  line-height: 1.08;
}
.site-foot.compact-footer .foot-col h2::after { width: 30px !important; height: 3px !important; margin-top: 6px !important; }
.site-foot.compact-footer .foot-col li a {
  gap: 7px !important;
  padding: var(--footer-compact-nav-row-desktop, 6px) 0 !important;
  font-size: var(--footer-compact-nav-text-desktop, 13px) !important;
  line-height: 1.25 !important;
}
.site-foot.compact-footer .foot-col li a > .ic:first-child {
  width: var(--footer-compact-nav-icon-desktop, 18px) !important;
  height: var(--footer-compact-nav-icon-desktop, 18px) !important;
  flex-basis: var(--footer-compact-nav-icon-desktop, 18px) !important;
}
.site-foot.compact-footer .foot-col li a .f-chev { width: 12px; height: 12px; flex: 0 0 12px; }
.site-foot.compact-footer .foot-bottom {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px !important;
  width: min(calc(100% - 28px), 1180px);
  padding-block: var(--footer-compact-bottom-pad, 6px) 8px !important;
  margin-top: 8px !important;
  border-top: 1px solid rgba(255,255,255,.18);
}
.site-foot.compact-footer .foot-id { display: flex; align-items: center; justify-content: flex-start !important; gap: 8px !important; min-width: 0; }
.site-foot.compact-footer .foot-id > img { display: none !important; }
.site-foot.compact-footer .social { display: flex; align-items: center; flex-wrap: wrap; gap: 7px !important; }
.site-foot.compact-footer .social a {
  width: var(--footer-compact-social-button-desktop, 36px) !important;
  height: var(--footer-compact-social-button-desktop, 36px) !important;
}
.site-foot.compact-footer .social .ic {
  width: var(--footer-compact-social-icon-desktop, 17px) !important;
  height: var(--footer-compact-social-icon-desktop, 17px) !important;
}
.site-foot.compact-footer .foot-legal {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  font-size: var(--footer-compact-legal-desktop, 11px) !important;
  line-height: 1.35 !important;
  text-align: end;
}
.site-foot.compact-footer .foot-line { width: 24px !important; height: 2px; flex: 0 0 24px; }
.site-foot.compact-footer .foot-tag { display: none !important; }
.site-foot.compact-footer .foot-scene { height: 46px; margin-top: -2px; }
@media (max-width: 899px) {
  .site-foot.compact-footer .foot-layout {
    grid-template-columns: minmax(0,1fr) !important;
    gap: var(--footer-compact-gap-mobile, 12px) !important;
    padding-block: var(--footer-compact-top-mobile, 10px) 4px !important;
  }
  .site-foot.compact-footer .foot-brand { gap: 6px; }
  .site-foot.compact-footer .foot-emblem {
    width: min(var(--footer-compact-logo-mobile, 112px), 100%) !important;
    max-height: 72px;
  }
  .site-foot.compact-footer .foot-trust-box { padding: var(--footer-compact-trust-pad-mobile, 5px) 0 !important; }
  .site-foot.compact-footer .foot-trust-box ul {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 4px;
  }
  .site-foot.compact-footer .foot-trust-box li {
    min-width: 0;
    min-height: 56px;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 4px !important;
    padding: 5px 3px !important;
    text-align: center !important;
    font-size: var(--footer-compact-trust-text-mobile, 10px) !important;
    border-radius: 8px;
    overflow-wrap: anywhere;
  }
  .site-foot.compact-footer .foot-trust-box li + li { border-inline-start: 1px solid rgba(255,255,255,.12) !important; }
  .site-foot.compact-footer .foot-trust-box li .ic {
    width: var(--footer-compact-trust-icon-mobile, 18px) !important;
    height: var(--footer-compact-trust-icon-mobile, 18px) !important;
    flex-basis: auto !important;
  }
  .site-foot.compact-footer .foot-trust-box li span { display: block; max-width: 100%; }
  .site-foot.compact-footer .foot-trust-box li b { display: block; }
  .site-foot.compact-footer .foot-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: var(--footer-compact-nav-gap-mobile, 12px) !important;
    padding: 0 !important;
  }
  .site-foot.compact-footer .foot-col h2 { font-size: var(--footer-compact-nav-head-mobile, 17px) !important; margin-bottom: 6px !important; }
  .site-foot.compact-footer .foot-col h2::after { width: 26px !important; height: 3px !important; margin-top: 5px !important; }
  .site-foot.compact-footer .foot-col li a {
    gap: 5px !important;
    padding: var(--footer-compact-nav-row-mobile, 5px) 0 !important;
    font-size: var(--footer-compact-nav-text-mobile, 12px) !important;
    line-height: 1.25 !important;
  }
  .site-foot.compact-footer .foot-col li a > .ic:first-child {
    width: var(--footer-compact-nav-icon-mobile, 16px) !important;
    height: var(--footer-compact-nav-icon-mobile, 16px) !important;
    flex-basis: var(--footer-compact-nav-icon-mobile, 16px) !important;
  }
  .site-foot.compact-footer .foot-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 7px !important;
    margin-top: 6px !important;
    padding-block: 6px 7px !important;
  }
  .site-foot.compact-footer .foot-id { justify-content: center !important; }
  .site-foot.compact-footer .social { justify-content: center; gap: 6px !important; }
  .site-foot.compact-footer .social a {
    width: var(--footer-compact-social-button-mobile, 32px) !important;
    height: var(--footer-compact-social-button-mobile, 32px) !important;
  }
  .site-foot.compact-footer .social .ic {
    width: var(--footer-compact-social-icon-mobile, 16px) !important;
    height: var(--footer-compact-social-icon-mobile, 16px) !important;
  }
  .site-foot.compact-footer .foot-legal {
    justify-content: center;
    text-align: center;
    font-size: var(--footer-compact-legal-mobile, 10px) !important;
  }
  .site-foot.compact-footer .foot-line { width: 18px !important; flex-basis: 18px; }
  .site-foot.compact-footer .foot-scene { height: 34px; }
}
@media (min-width: 900px) {
  .site-foot.compact-footer .foot-layout { gap: var(--footer-compact-gap-desktop, 28px) !important; }
  .site-foot.compact-footer .foot-trust-box { padding: var(--footer-compact-trust-pad-desktop, 6px) 0 !important; }
  .site-foot.compact-footer .foot-trust-box li { font-size: var(--footer-compact-trust-text-desktop, 11px) !important; }
}
/* Give the compact layout precedence over legacy inline design rules. */
.site-foot.compact-footer.has-art-background .foot-layout {
  grid-template-columns: minmax(200px, var(--footer-compact-brand-col,260px)) minmax(0,1fr) !important;
}
.site-foot.compact-footer.has-art-background .foot-layout > .foot-grid {
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: var(--footer-compact-nav-gap-desktop,24px) !important;
  padding: 0 !important;
  margin: 0 !important;
}
.site-foot.compact-footer.has-art-background .foot-layout .foot-logo-link .foot-emblem {
  width: min(var(--footer-compact-logo-desktop,136px),100%) !important;
  max-height: 92px;
}
.site-foot.compact-footer.has-art-background .foot-layout .foot-trust-box {
  width: 100% !important;
  max-width: none !important;
  padding: var(--footer-compact-trust-pad-desktop,6px) 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.site-foot.compact-footer.has-art-background .foot-layout .foot-trust-box ul {
  grid-template-columns: 1fr !important;
  gap: 5px !important;
}
.site-foot.compact-footer.has-art-background .foot-layout .foot-trust-box li {
  flex-direction: row !important;
  font-size: var(--footer-compact-trust-text-desktop,11px) !important;
  background: rgba(8,10,14,.62) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}
.site-foot.compact-footer.has-art-background .foot-layout .foot-trust-box li .ic {
  width: var(--footer-compact-trust-icon-desktop,20px) !important;
  height: var(--footer-compact-trust-icon-desktop,20px) !important;
  flex-basis: var(--footer-compact-trust-icon-desktop,20px) !important;
}
.site-foot.compact-footer.has-art-background .foot-layout .foot-grid .foot-col h2 {
  font-size: var(--footer-compact-nav-head-desktop,21px) !important;
}
.site-foot.compact-footer.has-art-background .foot-layout .foot-grid .foot-col li a {
  padding-block: var(--footer-compact-nav-row-desktop,6px) !important;
  font-size: var(--footer-compact-nav-text-desktop,13px) !important;
}
@media (max-width:899px) {
  .site-foot.compact-footer.has-art-background .foot-layout {
    grid-template-columns: minmax(0,1fr) !important;
    gap: var(--footer-compact-gap-mobile,12px) !important;
    padding-block: var(--footer-compact-top-mobile,10px) 4px !important;
  }
  .site-foot.compact-footer.has-art-background .foot-layout .foot-logo-link .foot-emblem {
    width: min(var(--footer-compact-logo-mobile,112px),100%) !important;
    max-height: 72px;
  }
  .site-foot.compact-footer.has-art-background .foot-layout .foot-trust-box {
    padding: var(--footer-compact-trust-pad-mobile,5px) 0 !important;
  }
  .site-foot.compact-footer.has-art-background .foot-layout .foot-trust-box ul {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 4px !important;
  }
  .site-foot.compact-footer.has-art-background .foot-layout .foot-trust-box li {
    flex-direction: column !important;
    font-size: var(--footer-compact-trust-text-mobile,10px) !important;
    text-align: center !important;
    min-height: 56px;
    padding: 5px 3px !important;
  }
  .site-foot.compact-footer.has-art-background .foot-layout .foot-trust-box li .ic {
    width: var(--footer-compact-trust-icon-mobile,18px) !important;
    height: var(--footer-compact-trust-icon-mobile,18px) !important;
    flex-basis: auto !important;
  }
  .site-foot.compact-footer.has-art-background .foot-layout .foot-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: var(--footer-compact-nav-gap-mobile,12px) !important;
  }
  .site-foot.compact-footer.has-art-background .foot-layout .foot-grid .foot-col h2 {
    font-size: var(--footer-compact-nav-head-mobile,17px) !important;
  }
  .site-foot.compact-footer.has-art-background .foot-layout .foot-grid .foot-col li a {
    padding-block: var(--footer-compact-nav-row-mobile,5px) !important;
    font-size: var(--footer-compact-nav-text-mobile,12px) !important;
  }
}

/* =====================================================================
   Product lists: load more / infinite scroll (shop, categories, brands, homepage "All products")
   ===================================================================== */
.ls-foot { display: grid; justify-items: center; gap: 10px; margin: 22px auto 6px; max-width: 420px; text-align: center; }
.ls-count { margin: 0; font-size: 13px; color: var(--muted); }
.ls-bar { width: min(240px, 70%); height: 4px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.ls-bar i { display: block; height: 100%; border-radius: inherit; background: var(--red); transition: width .4s var(--ease, ease); }
.ls-more { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--surface); font-weight: 800; text-decoration: none; }
.ls-more .ic { width: 18px; height: 18px; }
.ls-more:hover { background: var(--red); color: #fff; }
.ls-more[aria-busy="true"] { opacity: .6; pointer-events: none; }
.ls-more[hidden] { display: none; }
.ls-spin { display: inline-flex; gap: 6px; padding: 8px 0; }
.ls-spin[hidden] { display: none; }
.ls-spin i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: ls-dot 1s infinite ease-in-out; }
.ls-spin i:nth-child(2) { animation-delay: .15s; } .ls-spin i:nth-child(3) { animation-delay: .3s; }
@keyframes ls-dot { 0%, 80%, 100% { transform: scale(.5); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ls-spin i { animation: none; } }
.ls-sentinel { height: 1px; }
.ls-prev { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; font-weight: 700; }
.ls-prev .flip { transform: scaleX(-1); } [dir="rtl"] .ls-prev .flip { transform: none; }
[data-listing].is-loading [data-grid] { transition: opacity .2s; }
[data-shop].is-loading [data-grid] { opacity: .55; }

/* =====================================================================
   Product brands — sizes come from Admin → Catalogue → Brands → Display (lib/brand-spec.js)
   ===================================================================== */
.br-logo { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.br-gray .br-logo, .br-gray.br-logo { filter: grayscale(1); opacity: .78; transition: filter .2s, opacity .2s; }
.br-gray:hover .br-logo, a:hover .br-gray .br-logo, .card:hover .br-gray .br-logo { filter: none; opacity: 1; }
.br-name { font: 800 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
/* product card: same slot as the category line */
.card .card-brand { display: flex; align-items: center; height: var(--br-card-m, 16px); margin-bottom: 3px; min-width: 0; }
.card .card-brand .br-logo { object-position: left center; } [dir="rtl"] .card .card-brand .br-logo { object-position: right center; }
.card .card-brand .br-name { font-size: calc(var(--br-card-m, 16px) * .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .card-brand.is-name { height: auto; font: 800 var(--cat, 10px)/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .card-brandrow { display: flex; align-items: center; gap: 6px; min-width: 0; margin-bottom: 2px; }
.card .card-brandrow .card-brand { margin: 0; flex: 0 1 auto; max-width: 55%; }
.card .card-brandrow .card-cat { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) { .card .card-brand { height: var(--br-card-d, 20px); } .card .card-brand .br-name { font-size: calc(var(--br-card-d, 20px) * .66); } }
/* product page */
.pd-brand { display: inline-flex; align-items: center; height: var(--br-pdp, 28px); max-width: 60%; margin: 0 0 6px; text-decoration: none; }
.pd-brand .br-name { font-size: calc(var(--br-pdp, 28px) * .55); }
/* brand page header */
.shop-head .brand-hero { flex: 0 0 100%; display: flex; align-items: center; height: var(--br-page, 72px); padding: 10px 14px; margin-bottom: 4px; max-width: max-content; border-radius: 14px; background: var(--surface); box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 8px 22px -14px rgba(17,19,24,.25); box-sizing: content-box; }
/* shop brand filter */
.brand-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.brand-chip span { display: inline-flex; align-items: center; gap: 6px; }
.brand-chip img { height: 18px; width: auto; max-width: 54px; object-fit: contain; }
.brand-chip small { color: var(--muted); font-weight: 600; }
/* homepage strip (shares the category carousel engine) */
.brands-strip .cs-card.br-tile { display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 3 / 2; padding: 10px; border-radius: var(--cs-r, 14px); text-decoration: none; color: var(--ink); }
.brands-strip.bs-card .cs-card.br-tile { background: var(--surface); box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 8px 20px -12px rgba(17,19,24,.22); }
.brands-strip.bs-plain .cs-card.br-tile { background: none; box-shadow: none; }
.br-tile-logo { display: flex; align-items: center; justify-content: center; height: var(--br-strip, 46px); max-width: 100%; }
.br-tile-logo .br-name { font-size: calc(var(--br-strip, 46px) * .36); }
.br-tile-name { font: 700 12px/1.2 var(--f-body); color: var(--muted); }
.brands-strip .cs-card.br-tile:hover { transform: translateY(-2px); }
/* /brands page */
.brands-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.br-card { display: grid; justify-items: center; gap: 6px; padding: 18px 12px 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 8px 20px -12px rgba(17,19,24,.22); text-decoration: none; color: var(--ink); text-align: center; }
.br-card .br-tile-logo { height: 56px; }
.br-card small { color: var(--muted); }
.br-card:hover { box-shadow: 0 0 0 2px var(--red); }

/* =====================================================================
   Customer account (sign in / sign up / dashboard)
   ===================================================================== */
.acc { padding-block: 18px 40px; }
.acc .card-form { margin-top: 0; }
.acc h1 { margin: 0; font: italic 800 clamp(26px, 6vw, 36px)/1.05 var(--f-display); }
.acc h2 { margin: 0; font: 800 17px/1.2 var(--f-body); }
.acc .btn-block { width: 100%; justify-content: center; }
.acc .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acc .is-busy { opacity: .6; pointer-events: none; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-inline-end: 46px; }
.pw-eye { position: absolute; inset-inline-end: 4px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.pw-eye .ic, .pw-eye svg { width: 18px; height: 18px; }
.pw-eye[aria-pressed="true"] { color: var(--red); }
/* signed out */
.acc-out { display: grid; gap: 18px; max-width: 980px; }
@media (min-width: 900px) { .acc-out { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; padding-top: 34px; } }
.acc-auth { gap: 14px; padding: 20px; }
.acc-auth form { display: grid; gap: 12px; }
.acc-switch { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2, #eef0f3); }
.acc-switch[hidden] { display: none; }
.acc-switch button { min-height: 42px; border: 0; border-radius: 999px; background: none; font: 800 14px/1 var(--f-body); color: var(--muted); cursor: pointer; }
.acc-switch button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(17,19,24,.08), 0 4px 12px -6px rgba(17,19,24,.25); }
.acc-links { margin: 0; text-align: center; }
.acc-wa { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: color-mix(in srgb, #25d366 10%, var(--surface)); }
.acc-wa[hidden] { display: none; }
.acc-wa .btn { justify-self: start; gap: 8px; }
.acc-perks { padding: 20px; border-radius: var(--r-l, 16px); background: var(--ink); color: #fff; display: grid; gap: 12px; align-content: start; }
.acc-perks h2 { color: #fff; }
.acc-perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.acc-perks li .ic, .acc-perks li svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.1); color: var(--red); }
.acc-perks .muted { color: rgba(255,255,255,.7); }
.acc-perks .link { color: #fff; font-weight: 700; }
/* signed in */
.acc-in { display: grid; gap: 16px; max-width: 1100px; }
.acc-hero { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.acc-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font: 800 24px/1 var(--f-body); }
.acc-hi { flex: 1; min-width: 0; } .acc-hi p { margin: 4px 0 0; }
.acc-out-btn { gap: 8px; } .acc-out-btn .ic, .acc-out-btn svg { width: 16px; height: 16px; }
.acc-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: 16px; background: var(--surface); box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 8px 22px -16px rgba(17,19,24,.3); }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: none; font: 700 14px/1 var(--f-body); color: var(--muted); cursor: pointer; white-space: nowrap; }
.acc-tabs button .ic, .acc-tabs button svg { width: 18px; height: 18px; }
.acc-tabs button i { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--surface-2, #eef0f3); color: var(--ink); font-size: 11px; display: inline-grid; place-items: center; }
.acc-tabs button[aria-selected="true"] { background: var(--ink); color: var(--surface); }
.acc-tabs button[aria-selected="true"] i { background: var(--red); color: #fff; }
.acc-cards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acc-card { display: grid; gap: 8px; align-content: start; padding: 16px; border-radius: 16px; border: 0; background: var(--surface); color: var(--ink); text-align: start; box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 8px 22px -16px rgba(17,19,24,.3); }
.acc-card p { margin: 0; }
.acc-last, .acc-addr { grid-column: 1 / -1; }
.acc-last .btn, .acc-addr .link { justify-self: start; }
.acc-stat { cursor: pointer; font: inherit; }
.acc-stat .ic, .acc-stat svg { width: 22px; height: 22px; color: var(--red); }
.acc-stat b { font: 800 26px/1 var(--f-num, var(--f-body)); }
.acc-stat span { color: var(--muted); font-weight: 600; font-size: 13px; }
.acc-stat:hover { box-shadow: 0 0 0 2px var(--red); }
.acc .st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--surface-2, #eef0f3); }
@media (min-width: 900px) { .acc-cards { grid-template-columns: 2fr 1fr 1fr; } .acc-last { grid-column: auto; } .acc-addr { grid-column: 1 / -1; } }
.acc-form { max-width: 640px; }
.acc-pref { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.acc-pref legend { font-weight: 700; font-size: .84rem; margin-bottom: 6px; }
.acc-two { display: grid; gap: 16px; } @media (min-width: 900px) { .acc-two { grid-template-columns: 1fr 1fr; align-items: start; } }
.acc-panel[hidden] { display: none; }
/* signed-in dot on account links (header, dock, menus) */
.acc-dot { position: absolute; inset-block-start: 2px; inset-inline-end: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); color: #fff; font: 800 9px/16px var(--f-body); text-align: center; pointer-events: none; }
a.icon-btn[href$="/account"], .dock a[href$="/account"] { position: relative; }
.dock a[href$="/account"] .acc-dot { inset-inline-end: calc(50% - 22px); }
@media (max-width: 599px) {
  .acc-in h1 { font-size: clamp(22px, 6.4vw, 28px); }
  .acc-hero { flex-wrap: nowrap; gap: 12px; }
  .acc-avatar { width: 46px; height: 46px; font-size: 20px; }
  .acc-hi p { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .acc-out-btn { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .acc-out-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .acc-tabs button { padding: 0 12px; font-size: 13px; }
}

/* Light / dark switch (side menu): sun and moon side by side, the knob slides behind the active one */
.theme-switch { --ts-h: 38px; --ts-pad: 4px; position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; width: calc(var(--ts-h) * 2 - var(--ts-pad)); height: var(--ts-h); padding: 0 var(--ts-pad); border: 0; border-radius: 999px; background: var(--surface-2, #eef0f3); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent); cursor: pointer; flex: none; }
.theme-switch .ts-knob { position: absolute; top: var(--ts-pad); inset-inline-start: var(--ts-pad); width: calc(var(--ts-h) - var(--ts-pad) * 2); height: calc(var(--ts-h) - var(--ts-pad) * 2); border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 4px 10px -4px rgba(0,0,0,.35); transition: inset-inline-start .25s var(--ease, ease), background .25s; }
.theme-switch .ic { position: relative; z-index: 1; justify-self: center; width: calc(var(--ts-h) * .42); height: calc(var(--ts-h) * .42); color: var(--muted); transition: color .2s; }
.theme-switch .ts-sun { color: #e8a317; }
:root[data-theme="dark"] .theme-switch { background: #0c0e12; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
:root[data-theme="dark"] .theme-switch .ts-knob { inset-inline-start: calc(100% - var(--ts-h) + var(--ts-pad)); background: var(--red); }
:root[data-theme="dark"] .theme-switch .ts-sun { color: rgba(255,255,255,.45); }
:root[data-theme="dark"] .theme-switch .ts-moon { color: #fff; }
.theme-switch:focus-visible { outline: 2.5px solid var(--red); outline-offset: 2px; }

/* side-menu controls sized for the menu row */
.side-menu .theme-switch { --ts-h: clamp(30px, 8vw, 38px); }

/* footer WhatsApp button (Design → Footer → WhatsApp) */
.site-foot .foot-id { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.foot-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; background: #25d366; color: #fff !important; font-weight: 800; font-size: 14px; text-decoration: none; }
.foot-wa .ic, .foot-wa svg { width: 18px; height: 18px; }
.foot-wa:hover { background: #1ebe5a; }

/* ======================================================================== categories (Admin → Catalogue → Categories) */
/* category icon chosen as a picture */
.cat-ic-img { width: 26px; height: 26px; object-fit: contain; display: block; }
.sm-ic .cat-ic-img { width: 28px; height: 28px; } .foot-col li a > .cat-ic-img { width: 24px; height: 24px; flex: none; }
.sm-ic[style*="--cat"] .ic { color: var(--cat); } .sm-ic[style*="--cat"] { background: color-mix(in srgb, var(--cat) 12%, var(--surface)); }
/* side menu: sub-categories under their parent */
.side-nav .sm-item.is-sub { position: relative; margin-inline-start: calc(var(--sm-d, 1) * 26px); font-size: .96rem; font-weight: 600; }
.side-nav .sm-item.is-sub::before { content: ''; position: absolute; inset-inline-start: -14px; top: 6px; bottom: 6px; border-inline-start: 2px solid var(--line); border-radius: 2px; }
.side-nav .sm-item.is-sub .sm-ic { width: 38px; height: 38px; border-radius: 10px; } .side-nav .sm-item.is-sub .sm-ic .ic { width: 20px; height: 20px; }
/* header dropdown: sub-category links above the products */
.np-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.main-nav .nav-pop a.np-sub { gap: 8px; padding: 6px 8px; font-size: .84rem; }
.np-sub-ic { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: color-mix(in srgb, var(--cat, var(--red)) 10%, var(--surface)); }
.np-sub-ic .ic { width: 17px; height: 17px; color: var(--cat, var(--red)); } .np-sub-ic .cat-ic-img { width: 18px; height: 18px; }
/* category page header: icon + title, or a banner picture with the title over it */
.cat-top { padding-bottom: 0; }
.cat-hero { position: relative; display: flex; align-items: flex-end; margin: 4px 0 6px; border-radius: var(--r-l, 22px); overflow: hidden; }
.cat-hero-in { position: relative; display: flex; align-items: center; gap: 16px; padding: 4px 0; }
.cat-hero h1 { margin: 0 0 .15em; font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); }
.cat-hero p { margin: 0; color: var(--muted); font-size: 1.02rem; max-width: 70ch; }
.cat-hero-ic { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 18px; background: color-mix(in srgb, var(--cat, var(--red)) 12%, var(--surface)); }
.cat-hero-ic .ic { width: 32px; height: 32px; color: var(--cat, var(--red)); } .cat-hero-ic .cat-ic-img { width: 36px; height: 36px; }
.cat-hero.has-banner { min-height: clamp(180px, 26vw, 340px); background: #111; }
.cat-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero.has-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.12) 65%, transparent); }
.cat-hero.has-banner .cat-hero-in { z-index: 1; padding: clamp(16px, 3vw, 32px); }
.cat-hero.has-banner h1 { color: #fff; } .cat-hero.has-banner p { color: rgba(255,255,255,.86); }
.cat-hero.has-banner .cat-hero-ic { background: rgba(255,255,255,.92); }
.cat-hero[style*="--cat"]:not(.has-banner) { padding: 18px 20px; background: color-mix(in srgb, var(--cat) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--cat) 18%, var(--line)); }
.shop-head.is-cat > div:first-child:empty { display: none; }
@media (min-width: 900px) { .shop-head.is-cat { justify-content: flex-end; } }
/* sub-category tiles */
.cat-subs { margin-top: 14px; margin-bottom: 8px; }
.cat-subs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cat-tile { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-tile:hover { border-color: var(--cat, var(--red)); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--ink); }
.cat-tile-media { width: 64px; height: 64px; flex: none; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.cat-tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-tile-ic { display: grid; place-items: center; width: 100%; height: 100%; background: color-mix(in srgb, var(--cat, var(--red)) 11%, var(--surface)); }
.cat-tile-ic .ic { width: 30px; height: 30px; color: var(--cat, var(--red)); }
.cat-tile-txt { display: grid; gap: 2px; flex: 1; min-width: 0; } .cat-tile-txt b { font-size: 1rem; } .cat-tile-txt small { color: var(--muted); font-size: .85rem; }
.cat-tile-go { width: 18px; height: 18px; color: var(--muted); flex: none; } [dir="rtl"] .cat-tile-go { transform: scaleX(-1); }
.pg-cat-hub .cat-subs-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pg-cat-hub .cat-tile-media { width: 84px; height: 84px; }
@media (max-width: 560px) { .cat-subs-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .cat-tile { flex-direction: column; align-items: flex-start; padding: 8px; } .cat-tile-media { width: 100%; height: auto; aspect-ratio: 1; } .cat-tile-go { display: none; } .cat-hero-ic { width: 52px; height: 52px; border-radius: 14px; } .pg-cat-hub .cat-subs-grid { grid-template-columns: 1fr 1fr; } .pg-cat-hub .cat-tile-media { width: 100%; height: auto; } }
/* shop filter: sub-categories marked */
.chip.chip-sub span::before { content: '› '; opacity: .6; }

/* =====================================================================
   Account dashboard — compact ALGA MOTO racing-card reference
   Scoped to signed-in account pages so the rest of the shop is untouched.
   ===================================================================== */
body.account-dashboard-page {
  --bg: #050609;
  --surface: #0e1117;
  --surface-2: #171b23;
  --ink: #f4f6fa;
  --muted: #929aa8;
  --line: #252a34;
  --red: #ff1238;
  background: #050609 !important;
  color: #f4f6fa;
  min-height: 100vh;
}
body.account-dashboard-page #main {
  background: radial-gradient(95% 26rem at 100% 0%, rgba(139, 0, 27, .15), transparent 65%), #050609;
  color: #f4f6fa;
  min-height: 75vh;
}
.account-dashboard-page .acc-dashboard {
  width: min(calc(100% - 28px), 1040px);
  max-width: 1040px;
  padding: 4px 0 40px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
  color: #f4f6fa;
}
.account-dashboard-page .acc-brandmark {
  display: flex;
  width: 100%;
  height: 17px;
  align-items: center;
  justify-content: center;
  margin: 0 0 1px;
  line-height: 0;
}
.account-dashboard-page .acc-brandmark img { display: block; width: 104px; height: auto; max-height: 18px; object-fit: contain; }
.account-dashboard-page .acc-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 11px;
  min-width: 0;
  margin: 0;
  padding: 5px 0 7px;
  background-image: linear-gradient(90deg, rgba(5,6,9,0) 0%, rgba(5,6,9,.14) 56%, rgba(5,6,9,.1) 100%), url('/img/footer-helmet-red.webp');
  background-size: 100% 100%, auto 132px;
  background-repeat: no-repeat;
  background-position: center, right 43%;
}
.account-dashboard-page .acc-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: 0 0 46px;
  background: linear-gradient(145deg, #ff1641, #dd0029);
  color: #fff;
  box-shadow: 0 5px 18px rgba(255, 0, 44, .19);
  font: 800 21px/1 var(--f-body);
}
.account-dashboard-page .acc-hi { min-width: 0; flex: 1 1 auto; }
.account-dashboard-page .acc-hi h1 {
  max-width: 100%;
  margin: 0;
  color: #f8f8fb;
  font: italic 800 clamp(18px, 4.8vw, 23px)/1.06 var(--f-display);
  letter-spacing: -.035em;
}
.account-dashboard-page .acc-contact-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin: 7px 0 0;
  color: #aab0bd;
  font-size: 9.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.account-dashboard-page .acc-contact { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.account-dashboard-page .acc-contact > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.account-dashboard-page .acc-contact-icon { display: inline-flex; flex: 0 0 auto; color: #8993a2; }
.account-dashboard-page .acc-contact-icon .ic { width: 11px; height: 11px; }
.account-dashboard-page .acc-contact-sep { width: 1px; height: 12px; flex: 0 0 1px; background: #454b55; }
.account-dashboard-page .acc-out-btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  min-height: 37px;
  padding: 0;
  border: 1px solid #333b47;
  border-radius: 50%;
  background: rgba(8,10,14,.6);
  color: #e9edf4;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}
.account-dashboard-page .acc-out-btn .ic,
.account-dashboard-page .acc-out-btn svg { width: 17px; height: 17px; }
.account-dashboard-page .acc-out-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.account-dashboard-page .acc-tabs {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr 0fr 0fr;
  gap: 0;
  overflow: hidden;
  padding: 3px;
  border: 1px solid #272d37;
  border-radius: 15px;
  background: linear-gradient(180deg, #11151b, #090b0f);
  box-shadow: 0 4px 13px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.025);
}
.account-dashboard-page .acc-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 36px;
  height: 36px;
  padding: 0 7px;
  border: 0;
  border-inline-end: 1px solid #2a303a;
  border-radius: 10px;
  background: transparent;
  color: #c5cad4;
  font: 600 11px/1 var(--f-body);
  white-space: nowrap;
  box-shadow: none;
}
.account-dashboard-page .acc-tabs button:nth-child(3) { border-inline-end: 0; }
.account-dashboard-page .acc-tabs button[data-acc-tab="address"],
.account-dashboard-page .acc-tabs button[data-acc-tab="profile"] { display: none; }
.account-dashboard-page .acc-tabs button .ic,
.account-dashboard-page .acc-tabs button svg { flex: 0 0 auto; width: 15px; height: 15px; color: #d3d8e1; }
.account-dashboard-page .acc-tabs button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.account-dashboard-page .acc-tabs button i { flex: 0 0 auto; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #ff1238; color: #fff; font: 800 10px/1 var(--f-body); }
.account-dashboard-page .acc-tabs button[aria-selected="true"] {
  border: 1px solid #ff1238;
  border-radius: 10px;
  background: linear-gradient(115deg, #ff0634 0%, #e0002b 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(238,0,45,.18), inset 0 1px rgba(255,255,255,.18);
}
.account-dashboard-page .acc-tabs button[aria-selected="true"] .ic,
.account-dashboard-page .acc-tabs button[aria-selected="true"] svg { color: #fff; }
.account-dashboard-page .acc-panel { min-width: 0; }
.account-dashboard-page .acc-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.account-dashboard-page .acc-card {
  position: relative;
  min-width: 0;
  gap: 8px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #222832;
  border-radius: 13px;
  background: #0b0e13;
  color: #f4f6fa;
  text-align: start;
  box-shadow: 0 6px 15px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.018);
}
.account-dashboard-page .acc-last {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 11px;
  border-color: rgba(255, 18, 56, .66);
  background-color: #080b10;
  background-image: linear-gradient(90deg, rgba(6,8,12,.97) 0%, rgba(6,8,12,.94) 42%, rgba(6,8,12,.53) 100%), url('/img/how-order-bg.webp');
  background-size: 100% 100%, auto 142%;
  background-position: center, right 47%;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(255,18,56,.07), 0 0 22px rgba(255,0,43,.12), inset 0 1px rgba(255,255,255,.03);
}
.account-dashboard-page .acc-last-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.account-dashboard-page .acc-last-title { display: flex; align-items: center; gap: 9px; min-width: 0; }
.account-dashboard-page .acc-last-title > .ic,
.account-dashboard-page .acc-last-title > svg { width: 21px; height: 21px; color: #ff173f; flex: 0 0 auto; stroke-width: 2.1; }
.account-dashboard-page .acc-last h2 { color: #f6f7fa; font: italic 800 16px/1.1 var(--f-display); letter-spacing: -.02em; }
.account-dashboard-page .acc-last-arrow { display: grid; flex: 0 0 26px; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: transparent; color: #ff173f; cursor: pointer; }
.account-dashboard-page .acc-last-arrow .ic,
.account-dashboard-page .acc-last-arrow svg { width: 16px; height: 16px; }
.account-dashboard-page .acc-order-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid rgba(120,130,145,.18);
  border-radius: 11px;
  background: linear-gradient(110deg, rgba(9,12,17,.86), rgba(9,12,17,.68));
  overflow: hidden;
}
.account-dashboard-page .acc-order-cell { display: flex; min-width: 0; align-items: center; padding: 7px 9px; }
.account-dashboard-page .acc-order-cell > span:first-child:not(.acc-meta-icon) { color: #8e97a5; font-size: 9px; line-height: 1.1; }
.account-dashboard-page .acc-order-number,
.account-dashboard-page .acc-order-status { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 52px; }
.account-dashboard-page .acc-order-status { border-inline-start: 1px solid rgba(120,130,145,.2); }
.account-dashboard-page .acc-order-number b { color: #f7f8fa; font: 800 21px/1 var(--f-num, var(--f-body)); letter-spacing: -.03em; }
.account-dashboard-page .acc-order-cell .st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 4px 9px;
  border: 1px solid #684100;
  border-radius: 999px;
  background: rgba(67,42,0,.7);
  color: #ffb51b;
  font: 800 10px/1 var(--f-body);
  white-space: nowrap;
}
.account-dashboard-page .acc-status-clock { display: inline-flex; }
.account-dashboard-page .acc-status-clock .ic,
.account-dashboard-page .acc-status-clock svg { width: 12px; height: 12px; }
.account-dashboard-page .acc-order-date,
.account-dashboard-page .acc-order-total { gap: 8px; min-height: 46px; border-top: 1px solid rgba(120,130,145,.2); }
.account-dashboard-page .acc-order-total { border-inline-start: 1px solid rgba(120,130,145,.2); }
.account-dashboard-page .acc-meta-icon { display: inline-flex; flex: 0 0 auto; color: #e8edf5; }
.account-dashboard-page .acc-meta-icon .ic,
.account-dashboard-page .acc-meta-icon svg { width: 17px; height: 17px; }
.account-dashboard-page .acc-order-date > span:last-child,
.account-dashboard-page .acc-order-total > span:last-child { display: grid; gap: 2px; min-width: 0; }
.account-dashboard-page .acc-order-date small,
.account-dashboard-page .acc-order-total small { color: #8e97a5; font-size: 9px; line-height: 1.1; }
.account-dashboard-page .acc-order-date b,
.account-dashboard-page .acc-order-total b { color: #e5e9ef; font: 700 11px/1.2 var(--f-body); white-space: nowrap; }
.account-dashboard-page .acc-order-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 35px;
  margin-top: 0;
  padding: 0 13px;
  border: 1px solid rgba(255,38,70,.78);
  border-radius: 10px;
  background: linear-gradient(100deg, #ff0837 0%, #e3002c 100%);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 13px rgba(235,0,44,.16), inset 0 1px rgba(255,255,255,.16);
}
.account-dashboard-page .acc-order-cta > span { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; }
.account-dashboard-page .acc-order-cta > span > .ic,
.account-dashboard-page .acc-order-cta > span > svg { width: 16px; height: 16px; }
.account-dashboard-page .acc-order-cta > .ic,
.account-dashboard-page .acc-order-cta > svg { flex: 0 0 auto; width: 15px; height: 15px; }
.account-dashboard-page .acc-no-order { display: grid; gap: 10px; }
.account-dashboard-page .acc-no-order p { margin: 0; color: #9ca4b2; font-size: 12px; }
.account-dashboard-page .acc-stat {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  grid-template-rows: 25px auto;
  align-items: center;
  align-content: center;
  gap: 0 9px;
  min-height: 72px;
  padding: 9px 10px;
  border: 1px solid rgba(255,18,56,.45);
  border-radius: 12px;
  background: radial-gradient(100% 125% at 0% 100%, rgba(255,0,45,.11), transparent 65%), linear-gradient(125deg, #0d1016 0%, #080a0e 82%);
  color: #f6f7fa;
  text-align: start;
  box-shadow: inset 1px 0 rgba(255,18,56,.22), 0 0 14px rgba(255,0,45,.07);
  cursor: pointer;
}
.account-dashboard-page .acc-stat::before { content: ''; position: absolute; z-index: -1; inset-inline-start: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 3px; background: linear-gradient(180deg, transparent, #ff1238, transparent); }
.account-dashboard-page .acc-stat > .ic,
.account-dashboard-page .acc-stat > svg { position: relative; z-index: 1; grid-column: 1; grid-row: 1 / span 2; width: 24px; height: 24px; color: #ff1238; stroke-width: 1.9; }
.account-dashboard-page .acc-stat > b { position: relative; z-index: 1; grid-column: 2; grid-row: 1; align-self: center; color: #f7f8fb; font: 800 25px/.95 var(--f-num, var(--f-body)); letter-spacing: -.04em; }
.account-dashboard-page .acc-stat > span:not(.acc-stat-art) { position: relative; z-index: 1; grid-column: 2; grid-row: 2; align-self: start; color: #a4acb9; font: 500 10px/1.2 var(--f-body); white-space: nowrap; }
.account-dashboard-page .acc-stat-art { position: absolute; z-index: 0; top: 2px; inset-inline-end: -11px; width: 82px; height: 82px; display: grid; place-items: center; color: #76808e; opacity: .065; pointer-events: none; }
.account-dashboard-page .acc-stat-art .ic,
.account-dashboard-page .acc-stat-art svg { display: block; width: 82px; height: 82px; stroke-width: 1.2; }
.account-dashboard-page .acc-stat-wishlist .acc-stat-art { inset-inline-end: -8px; top: 1px; opacity: .055; }
.account-dashboard-page .acc-addr {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-color: #292f39;
  background-color: #080b10;
  background-image: linear-gradient(90deg, rgba(7,9,13,.96) 0%, rgba(7,9,13,.82) 45%, rgba(7,9,13,.4) 100%), url('/img/footer-road-red.webp');
  background-size: 100% 100%, cover;
  background-position: center, center 57%;
  box-shadow: 0 5px 16px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.02);
}
.account-dashboard-page .acc-addr h2 { display: flex; align-items: center; gap: 9px; color: #f5f6fa; font: italic 800 15px/1.1 var(--f-display); }
.account-dashboard-page .acc-addr-title-icon { display: inline-flex; color: #ff173f; }
.account-dashboard-page .acc-addr-title-icon .ic,
.account-dashboard-page .acc-addr-title-icon svg { width: 19px; height: 19px; }
.account-dashboard-page .acc-addr p { position: relative; z-index: 1; margin: 0; color: #9ba3b1; font-size: 11px; line-height: 1.35; }
.account-dashboard-page .acc-addr p.small { color: #b0b6c0; }
.account-dashboard-page .acc-address-action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  margin-top: 2px;
  padding: 0 12px;
  border: 1px dashed #4b535f;
  border-radius: 10px;
  background: rgba(5,7,10,.62);
  color: #f1f3f7;
  text-align: start;
  font: 700 11px/1.2 var(--f-body);
  cursor: pointer;
}
.account-dashboard-page .acc-address-action > .ic:first-child,
.account-dashboard-page .acc-address-action > svg:first-child { flex: 0 0 auto; width: 17px; height: 17px; color: #ff1238; stroke-width: 2.6; }
.account-dashboard-page .acc-address-action > span { flex: 1; }
.account-dashboard-page .acc-address-action > .ic:last-child,
.account-dashboard-page .acc-address-action > svg:last-child { width: 14px; height: 14px; color: #b7bdc7; }
.account-dashboard-page .acc-profile-link {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-self: end;
  padding: 2px 1px 0;
  border: 0;
  background: transparent;
  color: #9098a6;
  font: 600 10px/1.2 var(--f-body);
  cursor: pointer;
}
.account-dashboard-page .acc-profile-link .ic,
.account-dashboard-page .acc-profile-link svg { width: 12px; height: 12px; color: #ff3858; }
.account-dashboard-page .acc-profile-link .ic:last-child,
.account-dashboard-page .acc-profile-link svg:last-child { color: #7b8492; }
.account-dashboard-page .acc-last .btn,
.account-dashboard-page .acc-addr .link { justify-self: start; }
.account-dashboard-page .acc-form,
.account-dashboard-page .acc-two .card-form { border: 1px solid #262d37; border-radius: 13px; background: #0d1016; color: #f4f6fa; padding: 14px; }
.account-dashboard-page .acc-form h2,
.account-dashboard-page .acc-two .card-form h2 { color: #f5f6fa; }
.account-dashboard-page .acc-form input,
.account-dashboard-page .acc-form select,
.account-dashboard-page .acc-form textarea,
.account-dashboard-page .acc-two .card-form input { border-color: #303743; background: #080b10; color: #f4f6fa; }
.account-dashboard-page .acc-form .muted,
.account-dashboard-page .acc-two .card-form .muted { color: #929aa8; }
.account-dashboard-page .acc-panel[hidden] { display: none !important; }
@media (max-width: 599px) {
  /* Keep the real storefront header, footer and navigation visible on account pages. */
  .account-dashboard-page .acc-brandmark { display: none; }
  .account-dashboard-page .acc-dashboard { width: min(calc(100% - 28px), 430px); padding-top: 8px; padding-bottom: 100px; gap: 11px; }
  .account-dashboard-page .acc-hero { gap: 10px; padding-block: 3px 5px; }
  .account-dashboard-page .acc-contact-row { gap: 6px; font-size: clamp(8px, 2.25vw, 9.5px); }
  .account-dashboard-page .acc-tabs { grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr) 0 0; }
  .account-dashboard-page .acc-card { padding: 11px; }
  .account-dashboard-page .acc-last { padding: 10px; }
  .account-dashboard-page .acc-order-number,
  .account-dashboard-page .acc-order-status { min-height: 49px; }
  .account-dashboard-page .acc-order-date,
  .account-dashboard-page .acc-order-total { min-height: 43px; }
  .account-dashboard-page .acc-stat { min-height: 71px; padding: 8px 9px; grid-template-columns: 24px minmax(0,1fr); grid-template-rows: 24px auto; column-gap: 8px; }
  .account-dashboard-page .acc-addr { padding: 11px; }
}
@media (min-width: 600px) {
  .account-dashboard-page .acc-brandmark { display: none; }
  .account-dashboard-page .acc-dashboard { gap: 16px; padding-block: 20px 48px; }
  .account-dashboard-page .acc-cards { gap: 14px; }
  .account-dashboard-page .acc-last { padding: 16px; }
  .account-dashboard-page .acc-tabs button[data-acc-tab="address"],
  .account-dashboard-page .acc-tabs button[data-acc-tab="profile"] { display: inline-flex; }
  .account-dashboard-page .acc-tabs { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .account-dashboard-page .acc-order-detail { max-width: 650px; }
  .account-dashboard-page .acc-addr { min-height: 130px; }
}
/* Reference-spacing refinements for the top fold of the account dashboard. */
.account-dashboard-page .acc-brandmark { margin-bottom: -4px; }
.account-dashboard-page .acc-hero { margin-bottom: -5px; }
.account-dashboard-page .acc-order-number,
.account-dashboard-page .acc-order-status { min-height: 54px; }
.account-dashboard-page .acc-order-date,
.account-dashboard-page .acc-order-total { min-height: 48px; }
.account-dashboard-page .acc-addr h2 { position: relative; z-index: 2; }
.account-dashboard-page .acc-addr::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 21px;
  inset-inline-end: 30px;
  width: 19px;
  height: 19px;
  border-radius: 50% 50% 50% 0;
  background: #ff1238;
  transform: rotate(-45deg);
  box-shadow: 0 0 15px rgba(255,18,56,.68), 0 0 27px rgba(255,18,56,.32);
  pointer-events: none;
}
.account-dashboard-page .acc-addr::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 27px;
  inset-inline-end: 36px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
}
.account-dashboard-page .acc-profile-link { margin-top: auto; }
@media (max-width: 599px) {
  .account-dashboard-page .acc-addr { min-height: 410px; align-content: start; }
}


/* Orders panel — compact mobile card layout matched to the supplied reference.
   Scoped to the account orders panel; global storefront header/footer remain untouched. */
.account-dashboard-page .acc-orders-view { min-width: 0; width: 100%; }
.account-dashboard-page .acc-orders-heading { display: grid; justify-items: start; gap: 4px; margin: 5px 4px 12px; }
.account-dashboard-page .acc-orders-heading h1 { margin: 0; color: #f6f7fa; font: italic 800 23px/1.1 var(--f-display, var(--f-body)); letter-spacing: -.035em; }
.account-dashboard-page .acc-orders-underline { display: block; width: 29px; height: 3px; border-radius: 4px; background: #ff1238; box-shadow: 0 0 9px rgba(255,18,56,.35); }
.account-dashboard-page .acc-orders-heading p { margin: 2px 0 0; color: #a3abb8; font: 500 11px/1.4 var(--f-body); }
.account-dashboard-page .acc-order-list { display: grid; gap: 11px; min-width: 0; }
.account-dashboard-page .acc-order-card {
  position: relative; isolation: isolate; display: grid; gap: 9px; min-width: 0; padding: 11px 10px 10px;
  overflow: hidden; border: 1px solid rgba(255,18,56,.9); border-radius: 12px;
  background: radial-gradient(100% 140% at 100% 100%, rgba(255,18,56,.075), transparent 54%),
              linear-gradient(135deg, rgba(13,16,22,.99) 0%, rgba(6,8,12,.99) 76%);
  color: #f4f6fa; box-shadow: 0 0 0 1px rgba(255,18,56,.06), 0 0 17px rgba(255,0,45,.11), inset 0 1px rgba(255,255,255,.025);
}
.account-dashboard-page .acc-order-card::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.018), transparent 35%); }
.account-dashboard-page .acc-order-card-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 0; padding: 0 2px; }
.account-dashboard-page .acc-order-card-title { display: flex; align-items: center; gap: 9px; min-width: 0; color: #e8ebf1; font: 750 13px/1.2 var(--f-body); }
.account-dashboard-page .acc-order-card-title > .ic,
.account-dashboard-page .acc-order-card-title > svg { flex: 0 0 auto; width: 21px; height: 21px; color: #ff1238; stroke-width: 2; }
.account-dashboard-page .acc-order-card-title span { min-width: 0; overflow-wrap: anywhere; }
.account-dashboard-page .acc-order-card-title b { color: #ff173f; font: 850 13px/1.2 var(--f-num, var(--f-body)); letter-spacing: -.02em; white-space: nowrap; }
.account-dashboard-page .acc-order-status-pill { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: 0 0 auto; max-width: 48%; min-height: 23px; padding: 4px 9px; overflow: hidden; border: 1px solid rgba(2,206,137,.22); border-radius: 99px; background: rgba(0,111,76,.25); color: #65edbb; font: 750 10px/1 var(--f-body); text-overflow: ellipsis; white-space: nowrap; }
.account-dashboard-page .acc-order-status-pill i { display: block; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #00d69a; box-shadow: 0 0 7px rgba(0,214,154,.4); }
.account-dashboard-page .acc-order-pill-pending { color: #ffbf42; border-color: rgba(255,178,24,.23); background: rgba(107,65,0,.26); }
.account-dashboard-page .acc-order-pill-pending i { background: #ffb21b; box-shadow: 0 0 7px rgba(255,178,27,.4); }
.account-dashboard-page .acc-order-pill-shipped { color: #81c8ff; border-color: rgba(52,153,255,.24); background: rgba(9,67,113,.3); }
.account-dashboard-page .acc-order-pill-shipped i { background: #47b2ff; box-shadow: 0 0 7px rgba(71,178,255,.4); }
.account-dashboard-page .acc-order-pill-cancelled { color: #ff8798; border-color: rgba(255,18,56,.28); background: rgba(105,0,22,.27); }
.account-dashboard-page .acc-order-pill-cancelled i { background: #ff3155; box-shadow: 0 0 7px rgba(255,49,85,.4); }
.account-dashboard-page .acc-order-pill-returned { color: #c4c9d2; border-color: rgba(150,160,175,.23); background: rgba(75,82,94,.25); }
.account-dashboard-page .acc-order-pill-returned i { background: #9ba5b4; }
.account-dashboard-page .acc-order-card-info { display: grid; grid-template-columns: minmax(0,1fr) 82px; gap: 8px; min-width: 0; align-items: stretch; padding: 8px; border: 1px solid rgba(117,128,144,.13); border-radius: 10px; background: linear-gradient(110deg, rgba(18,22,29,.96), rgba(11,14,19,.92)); }
.account-dashboard-page .acc-order-info-list { display: grid; align-content: center; gap: 2px; min-width: 0; }
.account-dashboard-page .acc-order-info-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,auto); align-items: center; gap: 7px; min-width: 0; min-height: 21px; color: #e0e5ed; font: 500 10px/1.2 var(--f-body); }
.account-dashboard-page .acc-order-info-label { display: inline-flex; align-items: center; gap: 7px; min-width: 0; color: #aeb6c3; }
.account-dashboard-page .acc-order-info-label > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-dashboard-page .acc-order-info-label .ic,
.account-dashboard-page .acc-order-info-label svg { width: 14px; height: 14px; flex: 0 0 14px; color: #d6dce5; stroke-width: 1.9; }
.account-dashboard-page .acc-order-info-row > b { min-width: 0; overflow: hidden; color: #f1f3f7; font: 650 10px/1.2 var(--f-body); text-align: start; text-overflow: ellipsis; white-space: nowrap; }
.account-dashboard-page .acc-order-product-thumb { display: grid; place-items: center; width: 82px; min-height: 88px; overflow: hidden; border: 1px solid #29313b; border-radius: 8px; background: linear-gradient(145deg, #080b10, #1b222a); }
.account-dashboard-page .acc-order-product-thumb img { display: block; width: 100%; height: 88px; object-fit: contain; }
.account-dashboard-page .acc-order-product-thumb > span { display: grid; place-items: center; width: 100%; height: 88px; color: #687383; }
.account-dashboard-page .acc-order-product-thumb .ic,
.account-dashboard-page .acc-order-product-thumb svg { width: 31px; height: 31px; }
.account-dashboard-page .acc-order-card-actions { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.3fr) minmax(0,1fr); gap: 6px; min-width: 0; }
.account-dashboard-page .acc-order-action { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 33px; padding: 0 7px; border: 1px solid #586270; border-radius: 9px; background: linear-gradient(180deg, rgba(18,22,29,.9), rgba(9,11,16,.95)); color: #f0f2f6; text-align: center; text-decoration: none; font: 700 10px/1.1 var(--f-body); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.account-dashboard-page .acc-order-action:hover { border-color: #a0aab8; background: #171c24; }
.account-dashboard-page .acc-order-action:active { transform: translateY(1px); }
.account-dashboard-page .acc-order-action .ic,
.account-dashboard-page .acc-order-action svg { flex: 0 0 auto; width: 14px; height: 14px; stroke-width: 2; }
.account-dashboard-page .acc-order-action-view .ic,
.account-dashboard-page .acc-order-action-view svg { color: #c5ccd6; }
.account-dashboard-page .acc-order-action-cancel { border-color: #ff1238; background: rgba(75,0,17,.16); color: #ff2347; }
.account-dashboard-page .acc-order-action-cancel .ic,
.account-dashboard-page .acc-order-action-cancel svg { color: #ff2347; }
.account-dashboard-page .acc-order-action-cancel:hover { border-color: #ff526d; background: rgba(122,0,26,.24); }
.account-dashboard-page .acc-order-action-reorder .ic,
.account-dashboard-page .acc-order-action-reorder svg { color: #a9b2c0; }
.account-dashboard-page .acc-order-action:disabled { opacity: .55; cursor: wait; }
.account-dashboard-page .acc-orders-empty { display: grid; justify-items: center; gap: 10px; padding: 22px 14px; border: 1px solid #272e39; border-radius: 12px; background: #0c1016; text-align: center; }
.account-dashboard-page .acc-orders-empty > .ic,
.account-dashboard-page .acc-orders-empty > svg { width: 32px; height: 32px; color: #ff1238; }
.account-dashboard-page .acc-orders-empty p { margin: 0; color: #a6aebb; font-size: 12px; }
.account-dashboard-page .acc-orders-empty .btn { min-height: 34px; font-size: 11px; }
@media (max-width: 390px) {
  .account-dashboard-page .acc-order-card { padding: 9px 8px 8px; gap: 7px; }
  .account-dashboard-page .acc-order-card-title { gap: 6px; font-size: 12px; }
  .account-dashboard-page .acc-order-card-title > .ic,
  .account-dashboard-page .acc-order-card-title > svg { width: 19px; height: 19px; }
  .account-dashboard-page .acc-order-status-pill { padding-inline: 7px; max-width: 45%; font-size: 9px; }
  .account-dashboard-page .acc-order-card-info { grid-template-columns: minmax(0,1fr) 72px; gap: 6px; padding: 6px; }
  .account-dashboard-page .acc-order-product-thumb { width: 72px; }
  .account-dashboard-page .acc-order-info-row { gap: 4px; font-size: 9px; }
  .account-dashboard-page .acc-order-info-label { gap: 4px; }
  .account-dashboard-page .acc-order-info-label .ic,
  .account-dashboard-page .acc-order-info-label svg { width: 13px; height: 13px; flex-basis: 13px; }
  .account-dashboard-page .acc-order-info-row > b { font-size: 9px; }
  .account-dashboard-page .acc-order-action { gap: 4px; padding-inline: 5px; font-size: 9px; }
  .account-dashboard-page .acc-order-action .ic,
  .account-dashboard-page .acc-order-action svg { width: 12px; height: 12px; }
}
@media (min-width: 600px) {
  .account-dashboard-page .acc-orders-heading { margin: 4px 0 15px; }
  .account-dashboard-page .acc-orders-heading h1 { font-size: 28px; }
  .account-dashboard-page .acc-order-card { padding: 14px; gap: 11px; }
  .account-dashboard-page .acc-order-card-title { font-size: 15px; }
  .account-dashboard-page .acc-order-card-title b { font-size: 15px; }
  .account-dashboard-page .acc-order-card-info { grid-template-columns: minmax(0,1fr) 90px; }
  .account-dashboard-page .acc-order-product-thumb { width: 90px; }
  .account-dashboard-page .acc-order-product-thumb img { height: 100px; }
  .account-dashboard-page .acc-order-info-row { min-height: 24px; font-size: 12px; }
  .account-dashboard-page .acc-order-info-row > b { font-size: 12px; }
  .account-dashboard-page .acc-order-action { min-height: 38px; font-size: 12px; }
}

.account-dashboard-page .acc-order-action-cancel:disabled { opacity: .78; cursor: not-allowed; }

/* Order details — compact ALGA MOTO racing reference. Deliberately scoped to
   the single order page; the shared storefront header, footer and dock stay intact. */
body.order-detail-page #main {
  color: #f5f7fa;
  background: linear-gradient(180deg, #070a0d 0%, #080c10 58%, #06090c 100%);
}
body.order-detail-page .order-detail-layout {
  box-sizing: border-box;
  width: min(calc(100% - 36px), 940px);
  max-width: 940px;
  margin-inline: auto;
  padding: 13px 0 22px;
  color: #f4f6f8;
}
body.order-detail-page .order-thanks-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 78px;
  padding: 7px 8px 12px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(90deg, rgba(6,9,12,.98) 0%, rgba(6,9,12,.84) 48%, rgba(6,9,12,.18) 100%), url('/img/how-order-bg.webp') right 42% / cover no-repeat;
}
body.order-detail-page .order-thanks-hero h1 {
  margin: 0 0 3px;
  max-width: 80%;
  color: #f8f9fb;
  font: italic 900 clamp(27px, 4.4vw, 42px)/1.08 var(--f-display, sans-serif);
  letter-spacing: -.035em;
}
body.order-detail-page .order-thanks-name { color: #ff183d; font-style: inherit; }
body.order-detail-page .order-thanks-hero > p {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  color: #aab2bc;
  font-size: clamp(13px, 2.5vw, 17px);
  line-height: 1.3;
}
body.order-detail-page .order-thanks-hero > p b {
  color: #f7f8fa;
  font-size: clamp(19px, 3.4vw, 28px);
  font-weight: 850;
  letter-spacing: .015em;
}
body.order-detail-page .order-tracking-card {
  margin: 4px 0 10px;
  padding: 12px 10px 11px;
  border: 1px solid #3a4049;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(16,21,26,.97), rgba(7,11,14,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 6px 18px rgba(0,0,0,.12);
}
body.order-detail-page .order-progress.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.order-detail-page .order-progress.timeline li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
  padding: 0 2px;
  color: #c0c6ce;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
}
body.order-detail-page .order-progress.timeline li::before {
  content: '';
  position: absolute;
  top: 17px;
  inset-inline-end: 50%;
  width: 100%;
  height: 3px;
  border: 0;
  border-radius: 99px;
  background: #59616b;
  z-index: -1;
}
body.order-detail-page .order-progress.timeline li:first-child::before { display: none; }
body.order-detail-page .order-progress.timeline li[data-link="done"]::before { background: #00d768; }
body.order-detail-page .order-progress.timeline li[data-link="active"]::before { background: linear-gradient(90deg, #fa1237 0%, #fa1237 38%, #59616b 38%, #59616b 100%); }
body.order-detail-page .order-progress.timeline li[data-link="future"]::before { background: repeating-linear-gradient(90deg, #59616b 0 5px, transparent 5px 8px); }
body.order-detail-page .order-progress-node,
body.order-detail-page .order-progress.timeline li .order-progress-node {
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0 0 4px;
  padding: 0;
  border: 1px solid #59616b;
  border-radius: 50%;
  background: #454d56;
  color: #e0e5ea;
  box-shadow: none;
}
body.order-detail-page .order-progress.timeline li .order-progress-node .ic { width: 18px; height: 18px; stroke-width: 2.2; }
body.order-detail-page .order-progress.timeline li.done .order-progress-node { background: #00c85e; border-color: #00e26b; color: #fff; box-shadow: 0 0 18px rgba(0,220,100,.25); }
body.order-detail-page .order-progress.timeline li.now .order-progress-node { background: #13171c; border: 3px solid #ff1239; color: #fff; box-shadow: 0 0 0 3px rgba(255,18,57,.13), 0 0 18px rgba(255,18,57,.35); }
body.order-detail-page .order-progress.timeline li.future .order-progress-node { background: #58616a; border-color: #66707a; color: #e3e7ec; }
body.order-detail-page .order-progress.timeline li .order-progress-current-dot { display: block; flex: none; width: 12px; height: 12px; min-width: 12px; min-height: 12px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #f7f8fa; box-shadow: none; }
body.order-detail-page .order-progress-title { display: block; max-width: 100%; color: #f1f3f6; font-size: 12px; font-weight: 800; line-height: 1.18; overflow-wrap: anywhere; }
body.order-detail-page .order-progress-description { display: block; max-width: 100%; margin: 1px 0 0; color: #9ba5b0; font-size: 11px; font-weight: 500; line-height: 1.22; overflow-wrap: anywhere; }
body.order-detail-page .order-progress.timeline li.now .order-progress-title { color: #fff; }
body.order-detail-page .order-status-closed { margin: 0 auto; background: rgba(255,18,57,.12); color: #ff7d91; border: 1px solid rgba(255,18,57,.32); }
body.order-detail-page .order-confirm-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  box-sizing: border-box;
  margin: 10px 2px 16px;
  padding: 11px 16px;
  overflow: hidden;
  border: 1px solid #dfa300;
  border-radius: 13px;
  background-image: linear-gradient(90deg, rgba(35,25,0,.96) 0%, rgba(31,22,0,.88) 60%, rgba(20,16,4,.4) 100%), url('/img/footer-helmet-red.webp');
  background-size: cover, auto 100%;
  background-position: center, right center;
  background-repeat: no-repeat;
  color: #f6f3e8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
body.order-detail-page .order-confirm-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; color: #ffbd16; }
body.order-detail-page .order-confirm-icon .ic { width: 26px; height: 26px; stroke-width: 2.3; }
body.order-detail-page .order-confirm-banner p { max-width: 90%; margin: 0; font-size: clamp(13px, 2.6vw, 17px); font-weight: 650; line-height: 1.32; text-wrap: pretty; }
body.order-detail-page .order-shipping-tracking {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 2px 14px;
  padding: 10px 13px;
  border: 1px solid #35424a;
  border-radius: 11px;
  background: #0c1318;
  color: #dce3e8;
  font-size: 12px;
}
body.order-detail-page .order-shipping-tracking > .ic { width: 19px; height: 19px; color: #ff183d; }
body.order-detail-page .order-shipping-tracking b { color: #fff; }
body.order-detail-page .order-shipping-tracking small { color: #9aa5af; }
body.order-detail-page .order-items-section h2,
body.order-detail-page .order-delivery-section h2 {
  position: relative;
  display: table;
  width: auto;
  margin: 17px 5px 10px;
  padding: 0 0 7px;
  color: #f7f8fa;
  font: italic 900 24px/1.05 var(--f-display, sans-serif);
  letter-spacing: -.025em;
}
body.order-detail-page .order-items-section h2::after,
body.order-detail-page .order-delivery-section h2::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background: #ff123b;
  box-shadow: 0 0 10px rgba(255,18,59,.18);
}
body.order-detail-page .o-items.order-item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.order-detail-page .o-items.order-item-list li.order-item-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  box-sizing: border-box;
  padding: 6px 9px;
  border: 1px solid #363d45;
  border-radius: 11px;
  background: linear-gradient(120deg, rgba(17,22,27,.98), rgba(9,13,16,.98));
  color: #f5f7f9;
  overflow: hidden;
}
body.order-detail-page .order-item-media { display: grid; place-items: center; width: 90px; height: 54px; min-width: 0; overflow: hidden; border-radius: 7px; background: #fff; border: 1px solid #444c55; }
body.order-detail-page .o-items.order-item-list .order-item-media img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; border: 0; border-radius: 6px; background: #fff; }
body.order-detail-page .order-item-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #dce2e8; background: #10151a; }
body.order-detail-page .order-item-placeholder .ic { width: 26px; height: 26px; }
body.order-detail-page .order-item-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
body.order-detail-page .order-item-copy b { color: #f4f5f7; font-size: 14px; font-weight: 700; line-height: 1.28; overflow-wrap: anywhere; }
body.order-detail-page .order-item-copy small { color: #9aa5b0; font-size: 12px; font-weight: 650; line-height: 1.1; }
body.order-detail-page .order-item-price { align-self: center; color: #f6f7f8; font-size: 15px; font-weight: 850; white-space: nowrap; }
body.order-detail-page .o-items.order-item-list li.order-items-empty { display: block; padding: 16px; border: 1px solid #363d45; border-radius: 11px; color: #a8b1bc; background: #0d1216; }
body.order-detail-page .o-sum.order-total-card {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 10px 14px 0;
  border: 1px solid #383f48;
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(145deg, #11161b, #0b0f13);
  color: #f4f6f8;
}
body.order-detail-page .o-sum.order-total-card > div:not(.grand) { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 13px; line-height: 1.35; }
body.order-detail-page .o-sum.order-total-card dt { color: #d8dde3; font-weight: 500; }
body.order-detail-page .o-sum.order-total-card dd { margin: 0; color: #f7f8fa; font-size: 14px; font-weight: 800; white-space: nowrap; }
body.order-detail-page .o-sum.order-total-card dt small { color: #89939e; font-size: 11px; }
body.order-detail-page .o-sum.order-total-card .grand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 53px;
  margin: 9px -14px 0;
  padding: 8px 14px;
  border-top: 1px solid rgba(255,24,61,.42);
  border-radius: 0;
  background: linear-gradient(100deg, rgba(255,18,57,.1), rgba(40,10,17,.54));
  font-weight: 800;
}
body.order-detail-page .o-sum.order-total-card .grand dt { display: flex; align-items: center; gap: 8px; color: #f3f5f7; font-size: 13px; font-weight: 800; line-height: 1.25; }
body.order-detail-page .order-cod-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; color: #ff173c; }
body.order-detail-page .order-cod-icon .ic { width: 27px; height: 27px; }
body.order-detail-page .o-sum.order-total-card .grand dd { color: #ff1b41; font: italic 900 clamp(22px, 4vw, 28px)/1 var(--f-display, sans-serif); letter-spacing: -.025em; }
body.order-detail-page .order-delivery-section h2 { margin-top: 18px; }
body.order-detail-page .order-delivery-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 96px;
  padding: 10px 14px;
  overflow: hidden;
  border: 1px solid #373e47;
  border-radius: 12px;
  background-image: linear-gradient(90deg, rgba(9,13,17,.97) 0%, rgba(9,13,17,.86) 54%, rgba(9,13,17,.18) 100%), url('/img/footer-road-red.webp');
  background-position: center, center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #f4f6f9;
}
body.order-detail-page .order-delivery-card p { display: flex; align-items: center; gap: 11px; margin: 0; padding: 2px 0; min-height: 24px; font-size: 13px; line-height: 1.3; }
body.order-detail-page .order-delivery-icon { display: grid; place-items: center; width: 20px; height: 22px; flex: 0 0 20px; color: #f6f8fa; }
body.order-detail-page .order-delivery-icon .ic { width: 21px; height: 21px; stroke-width: 2; }
body.order-detail-page .order-delivery-card p:last-child .order-delivery-icon { color: #ff183d; }
body.order-detail-page .order-delivery-card p > span:last-child { max-width: 78%; overflow-wrap: anywhere; }
body.order-detail-page .order-detail-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "cancel reorder" "continue continue";
  gap: 8px;
  margin: 10px 0 0;
}
body.order-detail-page .order-detail-actions .vibe-customer-order-actions { display: contents !important; }
body.order-detail-page .order-detail-action {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: 0 !important;
  padding: 9px 8px !important;
  border: 1px solid #697782 !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, #11171c, #0a1014) !important;
  color: #f3f5f7 !important;
  font: 800 13px/1.22 var(--f-body, sans-serif) !important;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
body.order-detail-page .order-detail-action:hover:not(:disabled) { transform: translateY(-1px); border-color: #ff2044 !important; box-shadow: 0 5px 14px rgba(0,0,0,.18); }
body.order-detail-page .order-detail-cancel,
body.order-detail-page .order-detail-actions .vibe-order-cancel { grid-area: cancel; border-color: #ff173d !important; background: #f8f8f8 !important; color: #f01637 !important; }
body.order-detail-page .order-detail-reorder,
body.order-detail-page .order-detail-actions .vibe-order-reorder { grid-area: reorder; border-color: #687783 !important; background: linear-gradient(135deg, #0b161d, #080d11) !important; color: #f5f7f9 !important; }
body.order-detail-page .order-detail-continue { grid-area: continue; min-height: 43px; }
body.order-detail-page .order-action-icon { width: 20px; height: 20px; flex: 0 0 20px; }
body.order-detail-page .order-detail-cancel .order-action-icon,
body.order-detail-page .order-detail-actions .vibe-order-cancel .order-action-icon { width: 20px; height: 20px; }
body.order-detail-page .order-detail-cancel:disabled { opacity: .78; cursor: not-allowed; }
body.order-detail-page .order-detail-actions .vibe-order-action { min-height: 42px; padding: 9px 8px !important; }
body.order-detail-page .order-detail-actions .vibe-order-cancelled { opacity: .78; cursor: default; }
body.order-detail-page .order-detail-actions .vibe-order-cancel > span,
body.order-detail-page .order-detail-actions .vibe-order-reorder > span { display: inline-flex; align-items: center; }
body.order-detail-page .order-detail-actions .vibe-order-cancel .ic,
body.order-detail-page .order-detail-actions .vibe-order-reorder .ic { width: 20px; height: 20px; }
@media (max-width: 520px) {
  body.order-detail-page .order-detail-layout { width: min(calc(100% - 34px), 430px); padding-top: 10px; padding-bottom: 19px; }
  body.order-detail-page .order-thanks-hero { min-height: 78px; padding: 6px 5px 10px; background-position: right 42%; }
  body.order-detail-page .order-thanks-hero h1 { max-width: 88%; font-size: clamp(26px, 7.3vw, 34px); }
  body.order-detail-page .order-thanks-hero > p { font-size: 13px; }
  body.order-detail-page .order-thanks-hero > p b { font-size: 20px; }
  body.order-detail-page .order-tracking-card { padding: 12px 7px 10px; border-radius: 12px; }
  body.order-detail-page .order-progress.timeline li { gap: 4px; padding-inline: 1px; font-size: 11px; }
  body.order-detail-page .order-progress-node,
  body.order-detail-page .order-progress.timeline li .order-progress-node { flex-basis: 33px; width: 33px; height: 33px; }
  body.order-detail-page .order-progress.timeline li::before { top: 16px; }
  body.order-detail-page .order-progress-title { font-size: 11px; }
  body.order-detail-page .order-progress-description { font-size: 10px; }
  body.order-detail-page .order-confirm-banner { gap: 8px; min-height: 54px; margin: 9px 1px 14px; padding: 9px 10px; border-radius: 12px; }
  body.order-detail-page .order-confirm-icon { flex-basis: 28px; width: 28px; height: 28px; }
  body.order-detail-page .order-confirm-icon .ic { width: 23px; height: 23px; }
  body.order-detail-page .order-confirm-banner p { font-size: 13px; }
  body.order-detail-page .order-items-section h2,
  body.order-detail-page .order-delivery-section h2 { margin: 15px 4px 9px; font-size: 23px; }
  body.order-detail-page .o-items.order-item-list li.order-item-card { grid-template-columns: 90px minmax(0,1fr) auto; gap: 9px; min-height: 62px; padding: 5px 7px; }
  body.order-detail-page .order-item-media { width: 90px; height: 54px; }
  body.order-detail-page .order-item-copy b { font-size: 13px; }
  body.order-detail-page .order-item-copy small { font-size: 11px; }
  body.order-detail-page .order-item-price { font-size: 14px; }
  body.order-detail-page .o-sum.order-total-card { padding: 9px 12px 0; }
  body.order-detail-page .o-sum.order-total-card .grand { margin-inline: -12px; padding-inline: 12px; min-height: 51px; }
  body.order-detail-page .o-sum.order-total-card .grand dt { font-size: 12px; gap: 6px; }
  body.order-detail-page .order-cod-icon { width: 26px; height: 26px; flex-basis: 26px; }
  body.order-detail-page .order-cod-icon .ic { width: 24px; height: 24px; }
  body.order-detail-page .o-sum.order-total-card .grand dd { font-size: clamp(20px, 5.8vw, 25px); }
  body.order-detail-page .order-delivery-card { min-height: 95px; padding: 9px 11px; background-position: center, 62% center; }
  body.order-detail-page .order-delivery-card p { gap: 9px; font-size: 13px; }
  body.order-detail-page .order-detail-actions { gap: 7px; margin-top: 9px; }
  body.order-detail-page .order-detail-action { min-height: 42px; gap: 6px; padding: 8px 5px !important; font-size: 12px !important; border-radius: 10px !important; }
  body.order-detail-page .order-action-icon { width: 19px; height: 19px; flex-basis: 19px; }
}
@media (max-width: 365px) {
  body.order-detail-page .order-detail-layout { width: calc(100% - 24px); }
  body.order-detail-page .order-progress.timeline li .order-progress-node { flex-basis: 29px; width: 29px; height: 29px; }
  body.order-detail-page .order-progress.timeline li::before { top: 14px; }
  body.order-detail-page .o-items.order-item-list li.order-item-card { grid-template-columns: 72px minmax(0,1fr) auto; gap: 7px; }
  body.order-detail-page .order-item-media { width: 72px; height: 50px; }
  body.order-detail-page .order-item-price { font-size: 12px; }
  body.order-detail-page .order-detail-action { font-size: 11px !important; }
}

/* Account header: no picture behind the logout button. Phones: all five tabs in one swipeable row. */
.account-dashboard-page .acc-hero { background-image: none; }
@media (max-width: 599px) {
  .account-dashboard-page .acc-tabs,
  .account-dashboard-page .acc-dashboard[data-acc-current] .acc-tabs {
    display: flex; grid-template-columns: none; gap: 2px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    padding-inline: 6px;
  }
  .account-dashboard-page .acc-tabs::-webkit-scrollbar { display: none; }
  .account-dashboard-page .acc-tabs button,
  .account-dashboard-page .acc-dashboard[data-acc-current] .acc-tabs button,
  .account-dashboard-page .acc-tabs button[data-acc-tab="address"],
  .account-dashboard-page .acc-tabs button[data-acc-tab="profile"] {
    display: inline-flex; flex: 0 0 auto; padding: 0 12px; scroll-snap-align: center;
    border-inline-end: 0;
  }
  .account-dashboard-page .acc-tabs button span { overflow: visible; }
  .account-dashboard-page .acc-tabs button:not(:last-child)::after {
    content: ''; position: absolute; inset-inline-end: -1px; top: 10px; bottom: 10px; width: 1px; background: #2a303a; pointer-events: none;
  }
  .account-dashboard-page .acc-tabs button[aria-selected="true"]::after,
  .account-dashboard-page .acc-tabs button:has(+ [aria-selected="true"])::after { display: none; }
}

/* ---- Product page: one WhatsApp order button, on its own full-width line under "Order now";
        add to cart · heart · share share the line below. When Vibe Checkout's WhatsApp product button is on,
        it replaces the store's own WhatsApp link (one button, never two). */
.pdp.pd .pd-row { flex-wrap: wrap; row-gap: calc(var(--gap) * .9); }
.pdp.pd .pd-row:has(.vibe-waw-product-btn) .pd-wa { display: none !important; }
.pdp.pd .pd-row .pd-wa,
.pdp.pd .pd-row .vibe-waw-product-btn {
  order: -1; flex: 1 0 100% !important; width: 100% !important; max-width: none !important; margin: 0 !important;
  height: var(--btn-h) !important; min-height: var(--btn-h) !important; padding: 0 16px !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important;
  border: 0 !important; border-radius: 999px !important; background: var(--pd-wa, #1faa4b) !important; color: #fff !important;
  font: 700 var(--btnt, var(--txt))/1.1 var(--f-body) !important; white-space: nowrap !important; text-decoration: none !important;
  box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--pd-wa, #1faa4b) 80%, transparent) !important;
}
.pdp.pd .pd-row .pd-wa span { max-width: none; overflow: hidden; text-overflow: ellipsis; }
.pdp.pd .pd-row .vibe-waw-product-btn i, .pdp.pd .pd-row .vibe-waw-product-btn svg { font-size: calc(var(--btn-h) * .5) !important; width: auto; height: calc(var(--btn-h) * .5); flex: none; }
.pdp.pd .pd-row .vibe-waw-product-btn:hover, .pdp.pd .pd-row .pd-wa:hover { filter: brightness(.95); }
.pdp.pd .pd-row .pd-addcart { flex: 1 1 auto; }

@media (max-width: 899px) {
  /* ---- Bottom bar: on phones with a home-indicator area (iPhone, Chrome/Safari hiding their toolbar) the bar goes
          down to the screen edge and fills that area — no strip of page showing under it. Phones without that area
          keep the floating, rounded bar. */
  @supports (padding: env(safe-area-inset-bottom)) {
    .dock {
      bottom: max(0px, calc(var(--dock-bi, 0px) - 3 * env(safe-area-inset-bottom))) !important;
      inset-inline: max(0px, calc(var(--dock-si, 0px) - 3 * env(safe-area-inset-bottom))) !important;
      height: calc(var(--dock-hh, var(--dock-h)) + env(safe-area-inset-bottom)) !important;
      padding-bottom: env(safe-area-inset-bottom) !important;
      border-end-start-radius: max(0px, calc(var(--dock-rb, 0px) - 3 * env(safe-area-inset-bottom))) !important;
      border-end-end-radius: max(0px, calc(var(--dock-rb, 0px) - 3 * env(safe-area-inset-bottom))) !important;
    }
  }
  /* ---- Floating WhatsApp (Vibe Checkout widget): above the bottom bar, never on top of it */
  body:has(nav.dock) .vibe-waw { bottom: calc(var(--dock-h, 92px) + 14px + env(safe-area-inset-bottom)) !important; }
  body:has(nav.dock) .vibe-waw-popup { max-height: calc(100vh - var(--dock-h, 92px) - 120px - env(safe-area-inset-bottom)) !important; }
  /* The native store WhatsApp floater remains available alongside Vibe Checkout when enabled. */
}

/* ================================================================
   Mobile product CTA lane — keep the bottom dock flush to the screen
   edge and place WhatsApp / back-to-top beside a compact Order now CTA.
   Admin-controlled dock heights/insets remain the source of sizing.
   ================================================================ */
@media (max-width: 899px) {
  :root {
    --am-floating-row-bottom: calc(var(--dock-hh, var(--dock-h, 62px)) + max(var(--dock-bi, 0px), env(safe-area-inset-bottom)) + 10px);
  }

  body.pg-product nav.dock {
    position: fixed !important;
    bottom: 0 !important;
    z-index: 45 !important;
  }

  @supports (padding: env(safe-area-inset-bottom)) {
    body.pg-product nav.dock {
      height: calc(var(--dock-hh, var(--dock-h, 62px)) + env(safe-area-inset-bottom)) !important;
      padding-bottom: env(safe-area-inset-bottom) !important;
    }
  }

  /* Vibe Checkout's page-level CTA: a centered pill with room on both sides. */
  body.pg-product .vibe-floating-container.vibe-order-container {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    bottom: var(--am-floating-row-bottom) !important;
    transform: translateX(-50%) !important;
    width: min(58vw, 320px) !important;
    max-width: calc(100vw - 144px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
    z-index: 99998 !important;
  }

  body.pg-product #vibe-open-checkout-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 7px 10px !important;
    animation: none !important;
    white-space: normal !important;
    font-size: clamp(.76rem, 3.45vw, .92rem) !important;
    line-height: 1.12 !important;
    border-radius: 999px !important;
  }
  body.pg-product #vibe-open-checkout-btn .vibe-btn-text-group { margin-left: 5px !important; min-width: 0 !important; }
  body.pg-product #vibe-open-checkout-btn .vibe-btn-main-text { font-size: inherit !important; line-height: 1.1 !important; }
  body.pg-product #vibe-open-checkout-btn .vibe-btn-sub-text { font-size: .66rem !important; line-height: 1.05 !important; }

  /* Native Vibe cart floater gets its own small lane above the CTA. */
  body.pg-product .vibe-floating-container.vibe-cart-container {
    bottom: calc(var(--am-floating-row-bottom) + 60px) !important;
    left: auto !important;
    right: 14px !important;
    z-index: 99997 !important;
  }

  /* Floating WhatsApp: keep it clear of the storefront dock, but let its side (left/right),
     size and icon come from the Floating Widget Settings in the admin panel — so do NOT pin
     left/right here. */
  body.pg-product .vibe-waw {
    bottom: var(--am-floating-row-bottom) !important;
    z-index: 99999 !important;
  }
  body.pg-product .vibe-waw-popup {
    max-height: calc(100dvh - var(--am-floating-row-bottom) - 76px) !important;
  }
  /* Store-native WhatsApp floater: keep it visible when enabled; do not suppress it merely
     because Vibe Checkout also has a WhatsApp trigger. */
  body.pg-product .wa-float {
    bottom: var(--am-floating-row-bottom) !important;
    inset-inline: 14px auto !important;
    z-index: 99999 !important;
  }
  /* Back-to-top: on the right, level with (just past the right edge of) the Order now pill.
     Use physical right only — a trailing `inset-inline:auto` would re-map to `right` and cancel it. */
  body.pg-product .to-top {
    bottom: var(--am-floating-row-bottom) !important;
    right: 14px !important;
    left: auto !important;
    z-index: 99997 !important;
  }
  /* Home has no product-page Order Now node, but Back to Top shares its floating CTA lane. */
  body.pg-home .to-top {
    bottom: var(--am-floating-row-bottom) !important;
    right: 14px !important;
    left: auto !important;
    z-index: 99997 !important;
  }

  /* Match the compact lane if the store's native (non-Vibe) sticky CTA is active. */
  body.pg-product .sticky-buy {
    inset-inline: 0 !important;
    bottom: var(--am-floating-row-bottom) !important;
    z-index: 46 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }
  body.pg-product .sticky-buy > .checker,
  body.pg-product .sticky-buy .sb-name,
  body.pg-product .sticky-buy .wrap > b { display: none !important; }
  body.pg-product .sticky-buy .wrap {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 0 72px !important;
    justify-content: center !important;
    gap: 0 !important;
    pointer-events: none !important;
  }
  body.pg-product .sticky-buy .btn-order {
    flex: none !important;
    width: 100% !important;
    max-width: 320px !important;
    min-height: 52px !important;
    padding: 6px 10px !important;
    pointer-events: auto !important;
  }
}

/* ---------- Vibe WhatsApp floating widget — readable dark surfaces ----------
   The widget emits its own legacy light-mode CSS late in the document. These
   high-specificity theme overrides keep every cart/form surface readable when
   ALGA's site theme is dark (and when Vibe's Neon mode is selected). */
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw {
  --am-wa-panel: #151a21;
  --am-wa-card: #202731;
  --am-wa-card-raised: #252e39;
  --am-wa-text: #f1f5f9;
  --am-wa-muted: #b6c1cf;
  --am-wa-border: #3a4553;
  color-scheme: dark !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-popup {
  background: var(--am-wa-panel) !important;
  color: var(--am-wa-text) !important;
  border: 1px solid var(--am-wa-border) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .58), 0 5px 18px rgba(0, 0, 0, .34) !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-body {
  background: var(--am-wa-panel) !important;
  color: var(--am-wa-text) !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-head h4,
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-close {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-prod,
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-cart {
  background: var(--am-wa-card) !important;
  color: var(--am-wa-text) !important;
  border: 1px solid var(--am-wa-border) !important;
  box-shadow: none !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-prod {
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
  border-left-color: transparent !important;
  border-right: 3px solid #25d366 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-prod > span:not(.vibe-waw-prod-title),
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-greeting {
  color: var(--am-wa-muted) !important;
  -webkit-text-fill-color: var(--am-wa-muted) !important;
  opacity: 1 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-prod-title,
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-cart-head,
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw #vibe-waw-cart-items,
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-cart-item,
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-cart-item > div > span,
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-cart-item b {
  color: var(--am-wa-text) !important;
  -webkit-text-fill-color: var(--am-wa-text) !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-cart-item small {
  display: inline-block !important;
  margin-top: 2px !important;
  color: var(--am-wa-muted) !important;
  -webkit-text-fill-color: var(--am-wa-muted) !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-cart-item {
  border-bottom-color: rgba(226, 232, 240, .13) !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-cart-item:last-child {
  border-bottom-color: transparent !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-cart-rm {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border: 1px solid rgba(248, 113, 113, .32) !important;
  border-radius: 7px !important;
  background: rgba(248, 113, 113, .13) !important;
  color: #fca5a5 !important;
  -webkit-text-fill-color: #fca5a5 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-cart-img {
  background: #fff !important;
  border-color: var(--am-wa-border) !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-input {
  background: #202731 !important;
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  caret-color: #f1f5f9 !important;
  border: 1px solid #414d5c !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-input:focus {
  border-color: #25d366 !important;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, .15) !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-input::placeholder {
  color: #9eabba !important;
  -webkit-text-fill-color: #9eabba !important;
  opacity: 1 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-chips .vibe-waw-chip {
  background: var(--am-wa-card-raised) !important;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: #e2e8f0 !important;
  border: 1px solid #414d5c !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-chips .vibe-waw-chip:hover,
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-chips .vibe-waw-chip:focus-visible {
  background: #18372b !important;
  border-color: #25d366 !important;
  color: #baf7d0 !important;
  -webkit-text-fill-color: #baf7d0 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-accounts .vibe-waw-acc {
  background: var(--am-wa-card) !important;
  color: var(--am-wa-text) !important;
  border-color: var(--am-wa-border) !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-acc span:not(.vibe-waw-acc-dot) {
  color: var(--am-wa-text) !important;
  -webkit-text-fill-color: var(--am-wa-text) !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-accounts .vibe-waw-acc.active,
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-accounts .vibe-waw-acc:hover {
  background: #18372b !important;
  border-color: #25d366 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-add-cart-btn {
  background: #303b49 !important;
  color: #f8fafc !important;
  border: 1px solid #4a5666 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-send,
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-send * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-trigger {
  border: 1px solid rgba(255, 255, 255, .18) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .48), 0 0 0 3px rgba(255, 255, 255, .035) !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-trigger.active {
  background: #303947 !important;
  color: #f8fafc !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-tip {
  background: #0d1218 !important;
  color: #f1f5f9 !important;
  border: 1px solid #364150 !important;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .4) !important;
}
:root:is([data-theme="dark"], .vibe-ui-neon) #vibe-waw .vibe-waw-body::-webkit-scrollbar-thumb {
  background: #465263 !important;
  border: 2px solid var(--am-wa-panel) !important;
}

