/* ALGA MOTO storefront — rebuilt for Algeria · cash on delivery.
   Direction: "pit lane". Light workshop greys, racing red for action, signal amber for delivery cues,
   condensed italic display type, prices as number plates, a checkered strip where an order is decided. */

@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin.woff2?v=1') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-024F, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Cairo'; src: url('/fonts/cairo-arabic.woff2?v=1') format('woff2'); font-weight: 200 1000; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+0000-007F; }

:root {
  --bg: #f4f5f7; --surface: #ffffff; --surface-2: #eceef2; --ink: #16181d; --ink-2: #3a3f48; --muted: #5b6270; --line: #dfe2e8; --line-2: #c9ced8;
  --red: #e3192b; --red-ink: #ffffff; --red-deep: #b70f1f; --amber: #f5a524; --amber-ink: #3b2600; --ok: #148a4b; --ok-bg: #e5f5ec; --warn-bg: #fff4e0; --err: #c6162a; --err-bg: #fdeaec;
  --wa: #1fae55; --plate: #ffffff; --plate-ink: #16181d; --shadow: 0 1px 2px rgba(22,24,29,.06), 0 8px 24px -12px rgba(22,24,29,.18);
  --overlay: rgba(14,16,20,.52);
  --r-s: 8px; --r-m: 14px; --r-l: 22px;
  --wrap: 1240px; --gutter: 16px; --head-h: 64px; --dock-h: 0px;
  --f-display: 'Saira Condensed', 'Arial Narrow', 'Roboto Condensed', 'Manrope', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-ar: 'Cairo', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #14161b; --surface: #1c1f26; --surface-2: #232730; --ink: #f1f2f4; --ink-2: #cfd3da; --muted: #9aa1ad; --line: #2c3039; --line-2: #3a3f4a; --plate: #f4f5f7; --ok-bg: #12301f; --warn-bg: #33270f; --err-bg: #3a1419; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -16px rgba(0,0,0,.6); --overlay: rgba(0,0,0,.66); color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #14161b; --surface: #1c1f26; --surface-2: #232730; --ink: #f1f2f4; --ink-2: #cfd3da; --muted: #9aa1ad; --line: #2c3039; --line-2: #3a3f4a; --plate: #f4f5f7; --ok-bg: #12301f; --warn-bg: #33270f; --err-bg: #3a1419; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -16px rgba(0,0,0,.6); --overlay: rgba(0,0,0,.66); color-scheme: dark; }
@media (max-width: 899px) { :root { --dock-h: 62px; --head-h: 58px; } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: var(--dock-h); }
html[lang="ar"] body { font-family: var(--f-ar); font-size: 16px; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); } .small { font-size: .9em; } .tiny { font-size: .78rem; } .center { text-align: center; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] .ic-flip, [dir="rtl"] .card-add .ic, [dir="rtl"] .crumbs .ic, [dir="rtl"] .side-menu nav .ic:not(:first-child) { transform: scaleX(-1); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; font-style: italic; letter-spacing: -.005em; line-height: 1.02; margin: 0 0 .4em; text-wrap: balance; }
html[lang="ar"] :is(h1, h2, h3) { font-family: var(--f-ar); font-style: normal; font-weight: 800; line-height: 1.3; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.prose { max-width: 72ch; } .prose :is(h2, h3) { margin-top: 1.4em; } .prose ul { padding-inline-start: 1.2em; } .prose li { margin: .3em 0; }
.link { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { color: var(--red); }

/* ---------- signature: checkered strip ---------- */
.checker { height: 12px; background: repeating-conic-gradient(var(--ink) 0 25%, var(--surface) 0 50%) 0 0 / 12px 12px; }
.checker.thin { height: 8px; background-size: 8px 8px; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--b); background: var(--b); color: var(--bg); font-weight: 800; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: transform .12s var(--ease), background .15s, border-color .15s, color .15s; }
.btn:hover { color: var(--bg); background: color-mix(in srgb, var(--b) 86%, var(--red)); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-red { --b: var(--red); color: var(--red-ink); } .btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn-dark { --b: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); } .btn-ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--ink); }
.btn-wa { --b: var(--wa); color: #fff; } .btn-wa:hover { background: #17924a; border-color: #17924a; color: #fff; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn-icon { width: 46px; padding: 0; }
.btn .ic { width: 19px; height: 19px; }
/* Primary order action: red, condensed, with the "pay on delivery" line under it. */
.btn-order { --b: var(--red); color: #fff; flex-direction: column; gap: 0; border-radius: var(--r-m); min-height: 58px; line-height: 1.15; padding: 8px 22px; width: 100%; }
.btn-order > span { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 1.32rem; letter-spacing: .01em; }
html[lang="ar"] .btn-order > span { font-family: var(--f-ar); font-style: normal; font-size: 1.12rem; }
.btn-order small { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; opacity: .92; }
.btn-order small .ic { width: 15px; height: 15px; }
.btn-order:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn-order.is-loading { pointer-events: none; }
.btn-order.is-loading > span::after { content: ''; display: inline-block; width: 14px; height: 14px; margin-inline-start: 10px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -1px; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: transparent; border: 0; color: var(--ink); }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 800 11px/18px var(--f-body); text-align: center; }

/* ---------- number-plate price ---------- */
.plate { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plate b { display: inline-block; background: var(--plate); color: var(--plate-ink); border: 2px solid var(--plate-ink); border-radius: 6px; padding: 1px 9px 0; font: italic 800 1.18rem/1.35 var(--f-display); letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: inset 0 0 0 2px var(--plate); }
html[lang="ar"] .plate b { font-family: var(--f-ar); font-style: normal; font-size: 1.02rem; line-height: 1.55; }
.plate small { color: var(--muted); font-weight: 700; font-size: .78rem; }
.plate s { color: var(--muted); font-size: .88rem; font-weight: 600; text-decoration-thickness: 1.5px; }
.plate-sale b { border-color: var(--red); color: var(--red); }
.plate-lg b { font-size: 1.85rem; padding: 2px 14px 0; border-width: 2.5px; border-radius: 8px; }
html[lang="ar"] .plate-lg b { font-size: 1.5rem; }

/* ---------- announcement + header ---------- */
.announce { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: var(--bg); font-size: .86rem; font-weight: 600; min-height: 36px; padding: 6px var(--gutter); text-align: center; }
.announce .ic { color: var(--amber); width: 18px; height: 18px; }
.announce p { margin: 0; animation: fadeIn .4s var(--ease); } .announce a { color: inherit; text-decoration: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 14px; height: var(--head-h); }
.brand { flex: none; display: block; }
.brand { min-width: 0; } .brand img { height: auto; width: min(200px, 48vw); }
@media (max-width: 899px) { .head-row { gap: 4px; } .head-tools { gap: 0; } }
@media (min-width: 900px) { .brand img { width: auto; height: 30px; } }
.i-sun { display: none; } :root[data-theme="dark"] .i-sun { display: block; } :root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }
.main-nav { display: flex; gap: 2px; margin-inline-start: 10px; min-width: 0; flex: 1 1 auto; overflow: hidden; mask-image: linear-gradient(to var(--fade-dir, right), #000 88%, transparent); }
[dir="rtl"] .main-nav { --fade-dir: left; }
.main-nav a { white-space: nowrap; flex: none; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: .93rem; text-decoration: none; color: var(--ink-2); }
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.head-tools { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; margin-inline: 6px; }
.langs a { min-width: 32px; text-align: center; padding: 3px 8px; border-radius: 999px; font-weight: 800; font-size: .78rem; text-decoration: none; color: var(--muted); }
.langs a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.search { position: relative; }
.search input { width: 230px; height: 40px; padding-inline: 38px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); transition: width .2s var(--ease), border-color .2s; }
.search input:focus { width: 300px; border-color: var(--ink); outline: none; }
.search > .ic { position: absolute; inset-inline-start: 12px; top: 10px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-pop { position: absolute; top: calc(100% + 6px); inset-inline: 0; min-width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 6px; z-index: 50; max-height: 70vh; overflow: auto; }
.search-pop a { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 6px; border-radius: var(--r-s); text-decoration: none; }
.search-pop a:hover, .search-pop a.is-active { background: var(--surface-2); color: var(--ink); }
.search-pop img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.search-pop b { font-weight: 700; font-size: .9rem; line-height: 1.3; } .search-pop small { color: var(--muted); display: block; }
.search-pop .sp-all { display: block; text-align: center; font-weight: 800; padding: 10px; }
.search-pop p { margin: 8px; color: var(--muted); }
.sheet-search { position: sticky; top: var(--head-h); z-index: 39; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px var(--gutter); }
.sheet-search form { position: relative; display: flex; gap: 6px; }
.sheet-search input { flex: 1; height: 44px; border-radius: 999px; border: 1px solid var(--ink); padding-inline: 16px; background: var(--surface); }
.sheet-search .search-pop { min-width: 0; }
.only-d { display: none !important; }
@media (min-width: 900px) { .only-d { display: flex !important; } .only-m { display: none !important; } }
@media (min-width: 900px) and (max-width: 1120px) { .search input { width: 170px; } .search input:focus { width: 220px; } .main-nav a { padding: 8px 9px; } }

.side-menu { position: fixed; inset: 0; z-index: 80; background: var(--overlay); }
.side-inner { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(86vw, 360px); background: var(--surface); display: flex; flex-direction: column; padding: 14px; overflow-y: auto; animation: slideIn .28s var(--ease); }
[dir="rtl"] .side-inner { animation-name: slideInR; }
@keyframes slideIn { from { transform: translateX(-100%); } } @keyframes slideInR { from { transform: translateX(100%); } }
.side-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .side-top img { height: 24px; width: auto; }
.side-menu nav { display: flex; flex-direction: column; }
.side-menu nav a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-radius: var(--r-s); text-decoration: none; font-weight: 700; }
.side-menu nav a:hover { background: var(--surface-2); color: var(--ink); }
.side-menu hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; width: 100%; }
.side-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; } .side-menu .langs { margin: 0; }

/* bottom dock (mobile) */
.dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; height: var(--dock-h); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.dock a, .dock button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: none; border: 0; font-size: .7rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.dock [aria-current="page"] { color: var(--red); }
.dock .count { top: 4px; inset-inline-end: calc(50% - 22px); }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- home ---------- */
.hero { padding: 18px 0 8px; }
.hero-grid { display: grid; gap: 16px; grid-template-areas: "media" "copy" "check"; }
.hero-copy { grid-area: copy; }
.hero-copy h1 { margin-bottom: .25em; }
.hero-copy p { color: var(--ink-2); font-size: 1.06rem; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-media { grid-area: media; display: block; border-radius: var(--r-l); overflow: hidden; background: #0f1115; aspect-ratio: 16/10; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.checker-box { grid-area: check; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.checker-box::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 6px; background: repeating-conic-gradient(var(--ink) 0 25%, var(--surface) 0 50%) 0 0 / 6px 6px; }
.checker-q { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; font-weight: 800; }
.checker-q label { font-size: 1.02rem; }
.checker-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--amber); color: var(--amber-ink); }
.checker-row { display: grid; gap: 10px; }
.checker-row select { height: 48px; border-radius: var(--r-s); border: 1.5px solid var(--line-2); background: var(--bg); padding-inline: 12px; font-weight: 700; }
.checker-out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checker-out span { display: flex; flex-direction: column; background: var(--bg); border-radius: var(--r-s); padding: 8px 12px; border: 1px dashed var(--line-2); }
.checker-out small { color: var(--muted); font-weight: 700; font-size: .75rem; }
.checker-out b { font: italic 800 1.25rem/1.25 var(--f-display); font-variant-numeric: tabular-nums; }
html[lang="ar"] .checker-out b { font-family: var(--f-ar); font-style: normal; font-size: 1.05rem; }
.checker-out.is-set span { border-style: solid; border-color: var(--amber); background: color-mix(in srgb, var(--amber) 9%, var(--surface)); }
.checker-out .eta { color: var(--muted); font: 600 .74rem var(--f-body); }
.checker-out.is-none { grid-template-columns: 1fr; } .checker-out.is-none span { border-color: var(--err); }
@media (min-width: 900px) {
  .hero { padding: 28px 0 10px; }
  .hero-grid { grid-template-columns: 1fr 1.25fr; grid-template-areas: "copy media" "check media"; align-items: end; gap: 22px 36px; }
  .hero-copy { align-self: center; padding-block: 18px; }
  .hero-media { aspect-ratio: auto; height: 100%; min-height: 470px; }
  .checker-row { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
}
.trust { margin-block: 18px 8px; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.trust li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; line-height: 1.3; }
.trust li .ic { color: var(--red); width: 22px; height: 22px; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }
.block { margin-block: 44px; }
.block-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.block-head h1, .block-head h2 { margin: 0; }
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); aspect-ratio: 1; text-decoration: none; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat:hover img { transform: scale(1.04); }
.cat span { position: absolute; inset-inline: 8px; bottom: 8px; display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border-radius: var(--r-s); padding: 8px 12px; }
.cat b { font: italic 800 1.2rem/1.1 var(--f-display); } html[lang="ar"] .cat b { font-family: var(--f-ar); font-style: normal; font-size: 1.02rem; }
.cat small { color: var(--muted); font-weight: 600; font-size: .78rem; }
@media (min-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.steps-band { background: var(--ink); color: var(--bg); padding: 44px 0; margin-block: 44px; position: relative; }
.steps-band::before, .steps-band::after { content: ''; position: absolute; inset-inline: 0; height: 10px; background: repeating-conic-gradient(var(--bg) 0 25%, var(--ink) 0 50%) 0 0 / 10px 10px; }
.steps-band::before { top: 0; } .steps-band::after { bottom: 0; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 64px; border: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); border-radius: var(--r-m); }
[dir="rtl"] .steps li { padding: 16px 64px 16px 16px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 16px; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--plate); color: var(--plate-ink); border-radius: 6px; font: italic 800 1.25rem/1 var(--f-display); }
.steps b { display: block; font-size: 1.02rem; margin-bottom: 2px; } .steps p { margin: 0; opacity: .78; font-size: .92rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.fit-teaser { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 14px; text-decoration: none; }
.fit-teaser img { border-radius: var(--r-m); aspect-ratio: 1; object-fit: cover; }
.fit-teaser h2 { font-size: 1.45rem; margin-bottom: .2em; } .fit-teaser p { color: var(--muted); margin-bottom: 10px; }
.fit-teaser:hover { color: var(--ink); border-color: var(--ink); }
@media (min-width: 900px) { .fit-teaser { grid-template-columns: 220px 1fr; padding: 20px; gap: 28px; } }
.quotes { display: grid; gap: 12px; } @media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.quote blockquote { margin: 0; font-size: 1rem; } .quote figcaption { color: var(--muted); font-size: .88rem; margin-top: auto; } .quote figcaption b { color: var(--ink); }
.stars { display: inline-flex; gap: 1px; color: var(--line-2); } .stars i { display: inline-flex; } .stars .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; } .stars .on { color: var(--amber); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 2px; font-weight: 800; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s var(--ease); } .faq[open] summary .ic { transform: rotate(180deg); }
.faq > div { padding: 0 2px 16px; color: var(--ink-2); }
.news { display: grid; gap: 14px; margin-block: 44px; padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.news h2 { margin-bottom: .2em; } .news p { color: var(--muted); margin: 0; }
.news form { display: flex; flex-wrap: wrap; gap: 8px; align-items: start; }
.news input { flex: 1 1 220px; height: 48px; border-radius: 999px; border: 1.5px solid var(--line-2); padding-inline: 16px; background: var(--bg); }
.news .form-msg { flex-basis: 100%; }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr; align-items: center; padding: 30px; } }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .pg-shop .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-m); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.card-media .alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) { .card:hover .card-media .alt { opacity: 1; } .card:hover .card-media img:first-child:not(:only-child) { opacity: 0; } .card:hover .card-media img:only-child { transform: scale(1.04); } }
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--line-2); } .ph .ic { width: 40%; height: 40%; stroke-width: 1; }
.is-out .card-media img { filter: grayscale(.7); opacity: .7; }
.badges { position: absolute; top: 8px; inset-inline-start: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; pointer-events: none; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 6px; font: 800 .74rem/1.3 var(--f-body); background: var(--ink); color: var(--bg); }
.b-sale { background: var(--red); color: #fff; } .b-new { background: var(--amber); color: var(--amber-ink); } .b-out { background: var(--muted); color: #fff; } .b-promo { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); }
.heart { position: absolute; top: 6px; inset-inline-end: 6px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); }
.heart[aria-pressed="true"], [data-wish][aria-pressed="true"] { color: var(--red); } .heart[aria-pressed="true"] .ic, [data-wish][aria-pressed="true"] .ic { fill: currentColor; }
.heart.pop .ic { animation: pop .35s var(--ease); } @keyframes pop { 50% { transform: scale(1.35); } }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.card-cat { color: var(--muted); font-size: .72rem; font-weight: 700; }
.card-title { font: 700 .95rem/1.3 var(--f-body); margin: 0; font-style: normal; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[lang="ar"] .card-title { font-family: var(--f-ar); font-size: .95rem; line-height: 1.45; }
.card-title a { text-decoration: none; } .card-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.card-rating { display: flex; align-items: center; gap: 4px; } .card-rating small { color: var(--muted); font-size: .74rem; } .card-rating .ic { width: 13px; height: 13px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.card-foot .plate b { font-size: 1.02rem; padding: 0 7px; }
html[lang="ar"] .card-foot .plate b { font-size: .92rem; }
.card-foot .plate s { font-size: .76rem; }
.card-add { position: relative; z-index: 1; flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--bg); border: 0; text-decoration: none; }
.card-add:hover { background: var(--red); color: #fff; }
.card-ship { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; background: none; border: 0; padding: 0; color: var(--muted); font-size: .76rem; font-weight: 700; }
.card-ship .ic { width: 15px; height: 15px; color: var(--amber); }
.heart, .badges { z-index: 1; }
@media (max-width: 420px) { .card-body { padding: 8px 9px 10px; } .card-foot .plate b { font-size: .92rem; padding: 0 5px; } .card-add { width: 34px; height: 34px; } }

/* ---------- crumbs / shop ---------- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding-block: 14px 0; color: var(--muted); font-size: .84rem; }
.crumbs a { text-decoration: none; } .crumbs .ic { width: 14px; height: 14px; }
.shop { padding-block: 10px 40px; }
.shop-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.shop-head h1 { margin: 0; } .shop-head p { margin: 4px 0 0; max-width: 60ch; }
.shop-tools { display: flex; gap: 8px; }
.sort select { height: 44px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); padding-inline: 14px; font-weight: 700; }
.shop-layout { display: grid; gap: 24px; }
@media (min-width: 900px) { .shop-layout { grid-template-columns: 250px 1fr; align-items: start; } }
.filters { display: flex; flex-direction: column; gap: 18px; }
.filters fieldset { border: 0; margin: 0; padding: 0; } .filters legend { font-weight: 800; margin-bottom: 8px; font-size: .92rem; }
.filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
@media (min-width: 900px) { .filters { position: sticky; top: calc(var(--head-h) + 16px); } }
@media (max-width: 899px) {
  .filters { position: fixed; inset: auto 0 0 0; z-index: 85; max-height: 86vh; overflow-y: auto; background: var(--surface); border-radius: var(--r-l) var(--r-l) 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px rgba(0,0,0,.25); transform: translateY(102%); transition: transform .3s var(--ease); }
  .filters.is-open { transform: none; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; }
  .filters-foot { position: sticky; bottom: -16px; background: var(--surface); padding-block: 12px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; } .chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: .86rem; background: var(--surface); cursor: pointer; }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2.5px solid var(--red); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw input { position: absolute; opacity: 0; } .sw span { display: block; width: 30px; height: 30px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); cursor: pointer; border: 3px solid var(--bg); outline: 2px solid transparent; }
.sw input:checked + span { outline-color: var(--ink); } .sw input:focus-visible + span { outline-color: var(--red); }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; cursor: pointer; }
.toggle input { appearance: none; width: 40px; height: 24px; border-radius: 12px; background: var(--line-2); position: relative; transition: background .2s; flex: none; margin: 0; cursor: pointer; }
.toggle input::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s var(--ease); }
.toggle input:checked { background: var(--ink); } .toggle input:checked::after { inset-inline-start: 19px; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ---------- fields ---------- */
.fld { position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fld > span { font-weight: 700; font-size: .84rem; color: var(--ink-2); } .fld .opt { color: var(--muted); font-weight: 500; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; border-radius: var(--r-s); border: 1.5px solid var(--line-2); background: var(--surface); padding: 10px 12px; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.fld textarea { min-height: 84px; resize: vertical; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 34px; }
[dir="rtl"] .fld select { background-position: 13px 21px, 18px 21px; }
[dir="rtl"] .fld input[dir="ltr"] { text-align: right; }
[dir="rtl"] .fld:has(.fi) input[dir="ltr"] { padding-left: 38px; padding-right: 12px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.fld .fi { position: absolute; inset-inline-end: 12px; top: 37px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.fld:has(select) .fi { display: none; }
.fld:has(.fi) input { padding-inline-end: 38px; }
.fld em { display: none; color: var(--err); font-style: normal; font-weight: 700; font-size: .8rem; }
.fld.is-err input, .fld.is-err select, .fld.is-err textarea { border-color: var(--err); background: var(--err-bg); }
.fld.is-err em { display: block; }
.fld.is-ok input, .fld.is-ok select { border-color: var(--ok); }
.fld select:disabled { opacity: .6; }
.row2, .row3 { display: grid; gap: 10px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 1fr 1.4fr .7fr; } }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 6px 0 0; font-weight: 700; min-height: 1.4em; } .form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--err); }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 20px; padding-block: 14px 10px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: start; } .buybox { position: sticky; top: calc(var(--head-h) + 16px); } }
.gallery { min-width: 0; }
.g-main { position: relative; aspect-ratio: 1; background: #fff; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); touch-action: pan-y; }
.g-slide { margin: 0; position: absolute; inset: 0; } .g-slide img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.g-badge { position: absolute; top: 14px; inset-inline-start: 14px; font-size: .9rem; padding: 4px 10px; }
.g-nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--surface) 90%, transparent); box-shadow: var(--shadow); display: grid; place-items: center; color: #16181d; }
.g-nav.prev { inset-inline-start: 10px; } .g-nav.next { inset-inline-end: 10px; } .g-nav.prev .ic { transform: scaleX(-1); } [dir="rtl"] .g-nav.prev .ic { transform: none; } [dir="rtl"] .g-nav.next .ic { transform: scaleX(-1); }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.g-thumbs button { flex: none; width: 70px; height: 70px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; }
.g-thumbs button[aria-selected="true"] { border-color: var(--ink); } .g-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buybox { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.buybox h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin: 0; }
.pdp-cat { color: var(--muted); font-weight: 700; font-size: .85rem; text-decoration: none; }
.pdp-rating { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: .88rem; text-decoration: none; }
.pdp-short { color: var(--ink-2); margin: 0; }
.promo-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.promo-badges li { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: var(--r-s); background: var(--warn-bg); font-weight: 700; font-size: .88rem; }
.promo-badges b { margin-inline-start: auto; font-variant-numeric: tabular-nums; color: var(--red); }
.vgroup { display: flex; flex-direction: column; gap: 8px; }
.vlabel { font-weight: 800; font-size: .9rem; } .vlabel b { font-weight: 600; color: var(--muted); }
.vpills, .vswatches { display: flex; flex-wrap: wrap; gap: 8px; }
.vpill { min-width: 52px; height: 44px; padding: 0 14px; border-radius: var(--r-s); border: 1.5px solid var(--line-2); background: var(--surface); font-weight: 800; }
.vpill[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.vsw { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); border: 3px solid var(--bg); box-shadow: 0 0 0 1.5px var(--line-2), inset 0 0 0 1px rgba(0,0,0,.15); padding: 0; }
.vsw[aria-checked="true"] { box-shadow: 0 0 0 2.5px var(--ink); }
.vpill.is-out, .vsw.is-out, .vpill.is-locked, .vsw.is-locked { opacity: .4; position: relative; background-image: linear-gradient(to top right, transparent calc(50% - 1px), var(--muted) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.vgroup.is-err .vlabel { color: var(--err); } .vgroup.is-err .vpills, .vgroup.is-err .vswatches { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.vgroup select { height: 46px; border-radius: var(--r-s); border: 1.5px solid var(--line-2); background: var(--surface); padding-inline: 12px; font-weight: 700; }
.stock-note { margin: 0; font-weight: 800; color: var(--red); font-size: .9rem; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.stepper button { width: 42px; height: 42px; border: 0; background: none; border-radius: 999px; display: grid; place-items: center; } .stepper button:hover { background: var(--surface-2); }
.stepper input { width: 42px; text-align: center; border: 0; background: none; font-weight: 800; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.stepper.sm button { width: 32px; height: 32px; } .stepper.sm input { width: 28px; font-size: .92rem; } .stepper.sm .ic { width: 16px; height: 16px; }
.buy-actions { display: flex; flex-direction: column; gap: 8px; }
.buy-sub { display: flex; gap: 8px; } .buy-sub .btn:first-child:not(.btn-icon) { flex: 1; }
.pdp-out { padding: 14px; border-radius: var(--r-m); background: var(--surface-2); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; } .pdp-out p { margin: 0; font-weight: 800; }
.pdp-ship .checker-box { box-shadow: none; padding: 14px; } .pdp-ship .checker-row { grid-template-columns: 1fr; }
.pdp-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pdp-trust li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .9rem; } .pdp-trust .ic { color: var(--red); }
.pdp-wa { display: inline-flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 800; text-decoration: none; } .pdp-wa:hover { color: #17924a; }
.pdp-info { margin-block: 26px 0; }
.pdp-info details { border-top: 1px solid var(--line); } .pdp-info details:last-child { border-bottom: 1px solid var(--line); }
.pdp-info summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; font: italic 800 1.3rem/1.1 var(--f-display); cursor: pointer; }
html[lang="ar"] .pdp-info summary { font-family: var(--f-ar); font-style: normal; font-size: 1.08rem; }
.pdp-info summary::-webkit-details-marker { display: none; } .pdp-info details[open] summary .ic { transform: rotate(180deg); }
.pdp-info details > :not(summary) { padding-bottom: 18px; }
.specs { display: grid; gap: 0; margin: 0; } .specs div { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); } .specs dt { color: var(--muted); font-weight: 700; } .specs dd { margin: 0; font-weight: 600; }
.sticky-buy { position: fixed; inset-inline: 0; bottom: var(--dock-h); z-index: 44; background: var(--surface); box-shadow: 0 -8px 30px rgba(0,0,0,.12); transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.sb-name { flex: 1; min-width: 0; font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy b { font: italic 800 1.2rem var(--f-display); white-space: nowrap; } html[lang="ar"] .sticky-buy b { font-family: var(--f-ar); font-style: normal; font-size: 1rem; }
.sticky-buy .btn-order { width: auto; min-height: 48px; padding: 4px 18px; } .sticky-buy .btn-order > span { font-size: 1.08rem; } .sticky-buy .btn-order small { font-size: .68rem; }
@media (max-width: 520px) { .sb-name { display: none; } .sticky-buy .btn-order { flex: 1; } }

/* reviews */
.rv-grid { display: grid; gap: 22px; } @media (min-width: 900px) { .rv-grid { grid-template-columns: 300px 1fr; gap: 40px; align-items: start; } }
.rv-summary { display: flex; flex-direction: column; gap: 8px; }
.rv-avg { font: italic 800 3.4rem/1 var(--f-display); } .rv-summary .stars .ic { width: 20px; height: 20px; }
.rv-dist { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 4px; }
.rv-dist li { display: grid; grid-template-columns: 30px 1fr 26px; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); font-weight: 700; }
.rv-dist i { height: 8px; border-radius: 4px; background: var(--surface-2); position: relative; overflow: hidden; } .rv-dist i::after { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); background: var(--amber); }
.rv-write summary { list-style: none; width: fit-content; } .rv-write summary::-webkit-details-marker { display: none; }
.rv-write form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.rate-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
[dir="rtl"] .rate-input { flex-direction: row-reverse; }
.rate-input input { position: absolute; opacity: 0; }
.rate-input label { cursor: pointer; color: var(--line-2); } .rate-input .ic { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.rate-input label:hover, .rate-input label:hover ~ label, .rate-input input:checked ~ label { color: var(--amber); }
.rate-input input:focus-visible + label { outline: 2px solid var(--red); border-radius: 4px; }
.rv-list { display: flex; flex-direction: column; }
.rv { padding: 16px 0; border-bottom: 1px solid var(--line); } .rv h3 { font: 800 1rem var(--f-body); margin: 6px 0 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } html[lang="ar"] .rv h3 { font-family: var(--f-ar); }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-size: .76rem; font-weight: 800; } .verified .ic { width: 14px; height: 14px; }
.rv p { margin: 0 0 8px; color: var(--ink-2); }
.rv-photos { display: flex; gap: 6px; margin-bottom: 8px; } .rv-photos img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.rv-reply { margin: 8px 0; padding: 10px 14px; border-inline-start: 3px solid var(--red); background: var(--surface-2); border-radius: 0 var(--r-s) var(--r-s) 0; } .rv-reply p { margin: 0; font-size: .92rem; }

/* ---------- footer ---------- */
.site-foot { background: #101216; color: #e9ebef; margin-top: 60px; }
.site-foot .checker { background: repeating-conic-gradient(#101216 0 25%, #f4f5f7 0 50%) 0 0 / 12px 12px; }
.foot-grid { display: grid; gap: 28px; padding-block: 40px 28px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; } }
.site-foot h2 { font: italic 800 1.15rem var(--f-display); color: #fff; margin-bottom: 12px; } html[lang="ar"] .site-foot h2 { font-family: var(--f-ar); font-style: normal; font-size: 1rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: #c6cad2; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; } .site-foot a:hover { color: #fff; }
.site-foot p { color: #a9afba; font-size: .92rem; }
.foot-brand img { max-width: 230px; height: auto; margin-bottom: 14px; }
.foot-trust li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .9rem; } .foot-trust .ic { color: var(--amber); }
.social { display: flex; gap: 8px; margin-top: 10px; } .social a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid #2c3039; justify-content: center; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-block: 16px 22px; border-top: 1px solid #23262d; font-size: .8rem; color: #868d99; }

/* ---------- floating WhatsApp / cookie / toast ---------- */
.wa-float { position: fixed; z-index: 42; inset-inline-end: 16px; bottom: calc(var(--dock-h) + 16px + env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 999px; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 26px -8px rgba(31,174,85,.7); }
.wa-float.start { inset-inline: 16px auto; } .wa-float .ic { width: 28px; height: 28px; } .wa-float:hover { color: #fff; transform: scale(1.05); }
@media (max-width: 899px) { .wa-float.no-m { display: none; } .pg-product .wa-float { bottom: calc(var(--dock-h) + 80px); } }
.cookie { position: fixed; z-index: 70; inset-inline: 12px; bottom: calc(var(--dock-h) + 12px); max-width: 520px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--ink); color: var(--bg); border-radius: var(--r-m); box-shadow: var(--shadow); font-size: .88rem; }
.cookie p { margin: 0; flex: 1; } .cookie .btn { --b: var(--bg); color: var(--ink); min-height: 38px; }
.toast { position: fixed; z-index: 120; inset-inline: 0; margin-inline: auto; bottom: calc(var(--dock-h) + 20px); width: fit-content; max-width: calc(100vw - 32px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); animation: fadeIn .25s var(--ease); }
.toast button { background: none; border: 0; color: var(--amber); font-weight: 800; padding: 0; }

/* ---------- COD drawer (Vibe slide-up checkout) ---------- */
.dw-overlay { position: fixed; inset: 0; z-index: 90; background: var(--overlay); animation: fadeIn .2s; }
.drawer { --dw-bg: var(--surface); position: fixed; z-index: 91; inset-inline: 0; bottom: 0; max-height: 94dvh; display: flex; flex-direction: column; background: var(--dw-bg); border-radius: var(--r-l) var(--r-l) 0 0; box-shadow: 0 -24px 60px rgba(0,0,0,.3); animation: up .32s var(--ease); }
@keyframes up { from { transform: translateY(100%); } }
@media (min-width: 900px) {
  .drawer { inset-block: 0; inset-inline: auto 0; width: 480px; max-height: none; border-radius: 0; animation-name: side; }
  [dir="rtl"] .drawer { inset-inline: 0 auto; animation-name: sideR; }
  @keyframes side { from { transform: translateX(100%); } } @keyframes sideR { from { transform: translateX(-100%); } }
}
.dw-head { position: relative; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 6px; padding: 14px 12px 10px; border-bottom: 1px solid var(--line); }
.dw-grip { position: absolute; top: 6px; inset-inline: 0; margin: auto; width: 44px; height: 4px; border-radius: 2px; background: var(--line-2); }
@media (min-width: 900px) { .dw-grip { display: none; } }
.dw-title { text-align: center; min-width: 0; }
.dw-title h2 { font-size: 1.35rem; margin: 0; } html[lang="ar"] .dw-title h2 { font-size: 1.1rem; }
.dw-total { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.dw-total b { font: italic 800 1.1rem var(--f-display); font-variant-numeric: tabular-nums; } html[lang="ar"] .dw-total b { font-family: var(--f-ar); font-style: normal; font-size: .98rem; }
.cod-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 7px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-weight: 800; font-size: .72rem; } .cod-pill .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.dw-wl-toggle[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.dw-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px 0; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.dw-promo:empty, .dw-welcome:empty { display: none; }
.dw-welcome { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-m); background: var(--surface-2); font-weight: 700; font-size: .9rem; }
.dw-lines { display: flex; flex-direction: column; gap: 8px; }
.line { display: grid; grid-template-columns: auto 60px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--surface); transition: opacity .2s, border-color .2s; }
.line.is-off { opacity: .55; border-style: dashed; }
.line.is-err { border-color: var(--err); background: var(--err-bg); }
.line-check { width: 22px; height: 22px; accent-color: var(--red); margin: 0; }
.line img, .line .ph { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; background: #fff; }
.line-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.line-name { font-weight: 800; font-size: .9rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; }
.line-var { color: var(--muted); font-size: .78rem; font-weight: 600; }
.line-note { color: var(--red); font-size: .76rem; font-weight: 800; }
.line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line-price { font: italic 800 1.02rem var(--f-display); white-space: nowrap; font-variant-numeric: tabular-nums; } html[lang="ar"] .line-price { font-family: var(--f-ar); font-style: normal; font-size: .9rem; }
.line-rm { background: none; border: 0; color: var(--muted); padding: 2px; } .line-rm:hover { color: var(--err); } .line-rm .ic { width: 17px; height: 17px; }
.line-ctrl { display: flex; align-items: center; gap: 6px; }
.dw-info { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.info-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-m); border: 1.5px solid var(--ok); background: var(--ok-bg); text-align: start; width: 100%; }
.info-card .ic-ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; } .info-card .ic-ok .ic { width: 16px; height: 16px; stroke-width: 3; }
.info-card b { display: block; font-size: .95rem; } .info-card small { color: var(--ink-2); font-weight: 600; }
.info-edit { font-weight: 800; font-size: .84rem; text-decoration: underline; }
.info-fields { display: flex; flex-direction: column; gap: 10px; }
.note-toggle { font-size: .88rem; align-self: flex-start; } .note-toggle .ic { width: 16px; height: 16px; }
.dw-ship { display: flex; flex-direction: column; gap: 8px; }
.dw-ship h3, .dw-upsell h3 { font: 800 .92rem var(--f-body); margin: 0; letter-spacing: 0; } html[lang="ar"] :is(.dw-ship, .dw-upsell) h3 { font-family: var(--f-ar); }
.ship-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ship-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; padding-inline-end: 34px; border-radius: var(--r-m); border: 1.5px solid var(--line-2); background: var(--surface); text-align: start; min-height: 86px; }
.ship-card .ic { width: 22px; height: 22px; color: var(--muted); margin-bottom: 2px; }
.ship-card b { font-size: .9rem; line-height: 1.25; } .ship-card .sc-price { font: italic 800 1.15rem var(--f-display); color: var(--ink); } html[lang="ar"] .ship-card .sc-price { font-family: var(--f-ar); font-style: normal; font-size: .98rem; }
.ship-card small { color: var(--muted); font-size: .74rem; font-weight: 600; }
.ship-card::after { content: ''; position: absolute; top: 12px; inset-inline-end: 12px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); }
.ship-card[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: color-mix(in srgb, var(--amber) 10%, var(--surface)); }
.ship-card[aria-checked="true"] .ic { color: var(--amber); }
.ship-card[aria-checked="true"]::after { border-color: var(--ink); background: radial-gradient(var(--ink) 0 4px, transparent 5px); }
.ship-card.is-free .sc-price { color: var(--ok); }
.ship-card.is-off { opacity: .5; pointer-events: none; }
.ship-more { justify-self: start; font-size: .84rem; }
.ship-err { padding: 10px 12px; border-radius: var(--r-s); background: var(--err-bg); color: var(--err); font-weight: 700; font-size: .88rem; }
.coupon-row { display: flex; gap: 8px; margin-top: 8px; } .coupon-row input { flex: 1; min-width: 0; height: 44px; border-radius: var(--r-s); border: 1.5px solid var(--line-2); background: var(--surface); padding-inline: 12px; text-transform: uppercase; font-weight: 700; }
.coupon-row .btn { min-height: 44px; }
.coupon-msg { margin: 6px 0 0; font-size: .84rem; font-weight: 700; } .coupon-msg:empty { display: none; } .coupon-msg.ok { color: var(--ok); } .coupon-msg.err { color: var(--err); }
.coupon-on { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-s); background: var(--ok-bg); color: var(--ok); font-weight: 800; font-size: .88rem; }
.coupon-on button { background: none; border: 0; color: inherit; text-decoration: underline; font-weight: 700; }
.dw-sum { margin: 0; padding: 12px 14px; border-radius: var(--r-m); background: var(--bg); display: grid; gap: 6px; }
.dw-sum div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; } .dw-sum dt { color: var(--ink-2); } .dw-sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dw-sum .neg dd { color: var(--ok); }
.dw-sum .grand { padding-top: 8px; margin-top: 2px; border-top: 1.5px dashed var(--line-2); font-size: 1.05rem; } .dw-sum .grand dt { font-weight: 800; color: var(--ink); } .dw-sum .grand dd { font: italic 800 1.4rem var(--f-display); } html[lang="ar"] .dw-sum .grand dd { font-family: var(--f-ar); font-style: normal; font-size: 1.15rem; }
.dw-error { margin: 0; padding: 10px 12px; border-radius: var(--r-s); background: var(--err-bg); color: var(--err); font-weight: 700; font-size: .9rem; }
.dw-actions { position: sticky; bottom: 0; margin-inline: -14px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); background: var(--dw-bg); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 -10px 20px -14px rgba(0,0,0,.25); }
.dw-actions .checker { margin: -10px -14px 2px; border-radius: 0; }
.dw-sub-actions { display: flex; gap: 8px; } .dw-sub-actions .btn { flex: 1; min-height: 44px; font-size: .88rem; }
.dw-actions p { margin: 0; text-align: center; }
.dw-empty { text-align: center; padding: 30px 0; } .dw-empty p { color: var(--muted); font-weight: 700; }
/* promotions widgets */
.promo { padding: 10px 12px; border-radius: var(--r-m); background: var(--warn-bg); font-size: .86rem; font-weight: 700; display: flex; flex-direction: column; gap: 6px; }
.promo + .promo { margin-top: 6px; }
.promo.ok { background: var(--ok-bg); color: var(--ok); }
.bar { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; } .bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--amber), var(--red)); border-radius: 4px; transition: width .5s var(--ease); } .promo.ok .bar i { background: var(--ok); }
.tiers { display: flex; gap: 6px; flex-wrap: wrap; } .tiers span { padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: .76rem; } .tiers .on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.promo .cd { font-variant-numeric: tabular-nums; color: var(--red); }
/* upsell carousel */
.up-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; margin-top: 8px; }
.up-track::-webkit-scrollbar { display: none; }
.up { scroll-snap-align: start; flex: 0 0 150px; display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); }
.up img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 8px; }
.up a { font-size: .8rem; font-weight: 700; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.up b { font: italic 800 .98rem var(--f-display); } html[lang="ar"] .up b { font-family: var(--f-ar); font-style: normal; font-size: .86rem; }
.up .btn { min-height: 34px; font-size: .78rem; padding: 0 10px; }
/* wishlist inside the drawer */
.dw-wishlist { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.wl-bar { display: flex; align-items: center; gap: 10px; } .wl-bar b { flex: 1; } .wl-bar select { height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); padding-inline: 10px; font-size: .84rem; }
.wl-list { display: flex; flex-direction: column; gap: 8px; }
.wl-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r-m); border: 1px solid var(--line); }
.wl-item img { width: 60px; height: 60px; object-fit: contain; background: #fff; border-radius: 10px; }
.wl-item .tag { display: inline-block; font-size: .72rem; font-weight: 800; color: var(--ok); } .wl-item .tag.low { color: var(--red); }
.wl-item .btn { min-height: 36px; padding: 0 12px; font-size: .8rem; }
.wl-foot { position: sticky; bottom: -12px; background: var(--surface); padding-block: 10px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; } .wl-foot > div:first-child { display: flex; justify-content: space-between; font-weight: 800; } .wl-actions { display: flex; gap: 8px; } .wl-actions .btn { flex: 1; }
/* UI modes (Vibe: classic / glass / neon / soft) */
.drawer.ui-glass { --dw-bg: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.drawer.ui-neon { --dw-bg: #0f1116; color: #f1f2f4; --surface: #171a21; --bg: #0b0d11; --line: #262a33; --line-2: #343946; --ink: #f1f2f4; --ink-2: #c9ced8; --muted: #8d95a3; box-shadow: 0 0 0 1px var(--ui-accent, #ff2d55), 0 0 40px -6px var(--ui-accent, #ff2d55); }
.drawer.ui-neon .btn-order { box-shadow: 0 0 22px -2px var(--ui-accent, #ff2d55); }
.drawer.ui-neon .ship-card[aria-checked="true"] { border-color: var(--ui-accent-2, #ffd60a); box-shadow: 0 0 14px -4px var(--ui-accent-2, #ffd60a); }
.drawer.ui-soft { --dw-bg: #fff8f3; } .drawer.ui-soft :is(.line, .ship-card, .fld input, .fld select) { border-radius: 18px; } .drawer.ui-soft .btn-order { border-radius: 999px; }
:root[data-theme="dark"] .drawer.ui-soft { --dw-bg: #241d1a; }
/* modal (provider list / success / confirm) */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; background: var(--overlay); animation: fadeIn .2s; }
.modal-card { position: relative; width: min(100%, 460px); max-height: 90dvh; overflow-y: auto; background: var(--surface); border-radius: var(--r-l); padding: 22px; box-shadow: var(--shadow); }
.modal-card h2 { font-size: 1.6rem; } .modal-close { position: absolute; top: 10px; inset-inline-end: 10px; }
.prov-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.prov { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px; border-radius: var(--r-m); border: 1.5px solid var(--line-2); background: var(--surface); text-align: start; }
.prov[aria-checked="true"] { border-color: var(--ink); background: color-mix(in srgb, var(--amber) 10%, var(--surface)); }
.prov b { font-size: .92rem; } .prov span { font: italic 800 1.05rem var(--f-display); } .prov small { grid-column: 1 / -1; color: var(--muted); }
.prov .rec { display: inline-block; margin-inline-start: 6px; padding: 1px 6px; border-radius: 4px; background: var(--amber); color: var(--amber-ink); font: 800 .66rem var(--f-body); vertical-align: 2px; }
.success { text-align: center; }
.success-mark { width: 160px; margin: 0 auto 8px; }
.success h2 { margin-bottom: .2em; } .success .num { display: inline-block; margin: 6px 0 14px; padding: 4px 14px; border: 2px solid var(--ink); border-radius: 6px; font: italic 800 1.3rem var(--f-display); letter-spacing: .04em; }
.success-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.creds { margin: 12px 0 0; padding: 12px; border-radius: var(--r-m); background: var(--warn-bg); text-align: start; font-size: .9rem; }
.creds dl { margin: 8px 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; } .creds dt { color: var(--muted); font-weight: 700; } .creds dd { margin: 0; font-weight: 800; font-family: ui-monospace, Menlo, monospace; direction: ltr; text-align: start; }
.creds p { margin: 0; font-size: .8rem; color: var(--ink-2); }
canvas.confetti { position: fixed; inset: 0; z-index: 115; pointer-events: none; }

/* ---------- utility pages ---------- */
.form-page { padding-block: 26px 40px; }
.card-form { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px; margin-top: 16px; }
.card-form .btn { align-self: flex-start; } @media (max-width: 559px) { .card-form .btn { align-self: stretch; } }
.contact-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-intro { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: center; } .fit-intro img { border-radius: var(--r-m); }
@media (min-width: 700px) { .fit-intro { grid-template-columns: 160px 1fr; } }
.pill-note { display: inline-flex; gap: 8px; align-items: center; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-weight: 700; font-size: .88rem; margin: 0; }
.content { padding-block: 20px 40px; }
.map { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--r-l); margin-top: 20px; }
.big404 { font-size: clamp(5rem, 20vw, 9rem); color: var(--red); margin: 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; } .row-actions input { flex: 1 1 200px; height: 46px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); padding-inline: 16px; }
.center .row-actions { justify-content: center; }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-m); background: var(--warn-bg); font-weight: 600; } .callout .ic { color: var(--amber); flex: none; margin-top: 2px; }
.order-page { padding-block: 26px 40px; } .order-page h2 { font-size: 1.4rem; margin-top: 28px; }
.timeline { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; counter-reset: t; }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); }
.timeline li span { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--line-2); }
.timeline li::before { content: ''; position: absolute; top: 15px; inset-inline-end: 50%; width: 100%; height: 3px; background: var(--line-2); }
.timeline li:first-child::before { display: none; }
.timeline .done span, .timeline .now span { background: var(--ok); border-color: var(--ok); color: #fff; } .timeline .done::before, .timeline .now::before { background: var(--ok); }
.timeline .now { color: var(--ink); } .timeline .now span { box-shadow: 0 0 0 5px var(--ok-bg); }
.timeline .ic { width: 16px; height: 16px; stroke-width: 3; }
.status-closed { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--err-bg); color: var(--err); font-weight: 800; }
.o-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.o-items li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; } .o-items img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); } .o-items small { color: var(--muted); }
.o-sum { margin: 14px 0 0; padding: 14px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; } .o-sum div { display: flex; justify-content: space-between; gap: 10px; } .o-sum dd { margin: 0; font-weight: 700; } .o-sum small { color: var(--muted); }
.o-sum .grand { border-top: 1.5px dashed var(--line-2); padding-top: 8px; font-weight: 800; } .o-sum .grand dd { font: italic 800 1.3rem var(--f-display); }
.account { padding-block: 26px 40px; }
.acc-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
.acc-order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; margin-top: 10px; display: grid; gap: 8px; }
.acc-order header { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; } .acc-order header b { font: italic 800 1.1rem var(--f-display); letter-spacing: .03em; }
.acc-order .st { padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; background: var(--surface-2); }
.st-pending { background: var(--warn-bg) !important; color: #8a5a00; } .st-delivered { background: var(--ok-bg) !important; color: var(--ok); } .st-cancelled, .st-returned { background: var(--err-bg) !important; color: var(--err); } .st-shipped, .st-confirmed { background: #e6efff !important; color: #1d4fbf; }
:root[data-theme="dark"] .st-shipped, :root[data-theme="dark"] .st-confirmed { background: #172540 !important; color: #8fb2ff; }
.acc-order .thumbs { display: flex; gap: 6px; } .acc-order .thumbs img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.acc-order footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .88rem; } .acc-order footer .btn { min-height: 36px; padding: 0 14px; font-size: .82rem; }
.acc-pw { margin-top: 26px; } .acc-pw summary { font-weight: 800; cursor: pointer; }
.track-card { margin-top: 18px; } .track-card h2 { font-size: 1.3rem; }
.review-page { padding-block: 26px 40px; } .review-page form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.rp-item, .rp-overall { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.rp-overall { grid-template-columns: 1fr; } .rp-item legend, .rp-overall legend { font-weight: 800; padding: 0; float: left; width: 100%; margin-bottom: 6px; }
.rp-item img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: #fff; }
.rp-item > div { display: flex; flex-direction: column; gap: 8px; } .rp-item textarea, .rp-overall textarea { width: 100%; border-radius: var(--r-s); border: 1.5px solid var(--line-2); background: var(--bg); padding: 10px; }
.yn { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: .9rem; } .yn > span { flex: 1 1 200px; }
.maint { display: grid; min-height: 100dvh; place-items: center; }
.maint main { display: flex; flex-direction: column; align-items: center; gap: 12px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print { .site-head, .dock, .site-foot, .wa-float, .drawer, .announce, .cookie { display: none !important; } body { padding: 0; } }

/* Accessible quantity / bulk-buy calculator */
.bulk-calculator{margin:1rem 0;padding:1rem;border:1px solid var(--line,#ddd);border-radius:1rem;background:var(--surface,#fff)}
.bulk-calculator h3{margin:0 0 .75rem;font-size:1rem}
.bulk-controls{display:flex;gap:.5rem;align-items:center;margin:.4rem 0}
.bulk-controls input{width:6rem;min-width:0;padding:.65rem;border:1px solid var(--line,#ccc);border-radius:.6rem;background:var(--bg,#fff);color:inherit}
.bulk-calculator [data-bulk-result]{margin:.5rem 0 0;font-size:.9rem;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:480px){.bulk-controls{align-items:stretch;flex-wrap:wrap}.bulk-controls input{flex:0 0 5rem}.bulk-controls button{flex:1;min-width:8rem}}
