/* عربيتنا · the shop (SPEC §22.3, §32.5). The landing's night-road world (DESIGN.md): asphalt ground, road-paint
   cream type, hairlines, paint stamps, tail-light red only for the action that moves the order on. No glow, no
   gradient fills, no dashed lines. A product is framed like a code in a phone's scanner (corner brackets, `.brk`), the
   stock is a mark plus words, the order's progress is a lane with posts. */

@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 500 900; font-display: swap; src: url('../fonts/landing/alexandria-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 500 900; font-display: swap; src: url('../fonts/landing/alexandria-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/landing/plex-arabic-400.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/landing/plex-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/landing/plex-arabic-500.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/landing/plex-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/landing/plex-arabic-600.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/landing/plex-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/landing/plex-arabic-700.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/landing/plex-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    color-scheme: dark;

    --ground: #0e0e0f;
    --road: #1a1a1b;
    --surface: #151516;
    --raised: #1c1c1e;
    --line: #29292c;
    --line-2: #3a3a3e;
    --ink: #f3efe7;
    --ink-2: #c9c4ba;
    --ink-3: #9a958c;
    --paint: #e9e4d8;
    --sticker: #f5f2ee;
    --red: #e3262f;
    --red-hi: #ee2f38;
    --red-ink: #ffd9db;
    --amber: #f2b93b;
    --amber-ink: #ffd98a;

    --f-display: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
    --f-text: 'IBM Plex Sans Arabic', system-ui, sans-serif;

    --maxw: 1180px;
    --gutter: 16px;
    --sec-pad: 56px;
    --bar-h: 62px;

    --quick: 150ms;
    --fast: 250ms;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; --sec-pad: 72px; --bar-h: 68px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --sec-pad: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); background: var(--ground); scrollbar-color: #3a3a3e var(--ground); }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ink-2);
    /* the page ground: the landing's asphalt tile under the same dark wash */
    background: linear-gradient(rgba(14, 14, 15, 0.42), rgba(14, 14, 15, 0.42)), var(--ground) url('../img/landing/asphalt.webp') repeat;
    background-size: auto, 512px 512px;
    font: 400 16px/1.8 var(--f-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
@media (min-width: 640px) { body { font-size: 17px; } }
main { flex: 1; }
::selection { background: var(--red); color: #fff; }
img, svg { display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--paint); outline-offset: 3px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; text-wrap: balance; }
p, li, dd, small { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; z-index: 100; top: 8px; right: 8px; padding: 10px 16px; border-radius: 8px; background: var(--paint); color: var(--ground); font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform var(--fast) var(--ease); }
.skip:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.sec { position: relative; padding-block: var(--sec-pad); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec h2 { font: 800 clamp(26px, 2.6vw + 14px, 46px) / 1.36 var(--f-display); }
.sec-head { max-width: 680px; }
.sec-lede { margin-top: 14px; max-width: 36em; font-size: clamp(16px, 0.5vw + 14px, 18px); line-height: 1.85; }
.demo-note { margin-top: 12px; color: var(--ink-3); font-size: 13px; }

/* ── the bar: brand, the store, the cart ──────────────────────────────────────────────────── */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(14, 14, 15, 0.94); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 16px; height: var(--bar-h); }
.brand { display: inline-flex; flex: none; color: var(--ink); }
.brand .wordmark-svg { width: auto; height: 26px; --livery: var(--red); }
.bar-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.bar-nav a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color var(--quick) var(--ease), background-color var(--quick) var(--ease); }
.bar-nav a:hover { color: var(--ink); background: rgba(233, 228, 216, 0.06); }
.bar-nav a[aria-current="page"] { color: var(--ink); }
.bar-nav .ic { font-size: 19px; }
.bar-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: 700 12.5px/1 var(--f-display); }
.bar-count.is-full { background: var(--paint); box-shadow: none; color: var(--ground); }
/* the link to the sticker's own page (/stickers): the short name on narrow phones */
.bar-stickers .bar-short { display: none; }
@media (max-width: 399.98px) {
    .bar-stickers .bar-long { display: none; }
    .bar-stickers .bar-short { display: inline; }
}

/* ── buttons, stamps, plates ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: none;
    font: 600 16px/1.2 var(--f-text);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--quick) var(--ease), border-color var(--quick) var(--ease), color var(--quick) var(--ease), scale var(--quick) var(--ease);
}
.btn:active { scale: 0.96; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 2px 6px rgba(0, 0, 0, 0.45); }
.btn-red:hover { background: var(--red-hi); color: #fff; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: rgba(14, 14, 15, 0.4); }
.btn-line:hover { border-color: #5a5a60; background: rgba(233, 228, 216, 0.06); }
.btn-paint { background: var(--paint); color: var(--ground); }
.btn-paint:hover { background: #fff; color: var(--ground); }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
.btn-wide { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; scale: 1; }
.btn .arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--fast) var(--ease); }
.btn:hover .arr { transform: translateX(-3px); }
.btn .ic { font-size: 19px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: #fff; }

.stamp { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border: 1.5px solid var(--paint); border-radius: 5px; color: var(--paint); font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; rotate: -2deg; }
.stamp .ic { font-size: 15px; stroke-width: 2.2; }
.stamp-red { border-color: rgba(227, 38, 47, 0.7); color: var(--red-ink); }
.stamp-amber { border-color: rgba(242, 185, 59, 0.75); color: var(--amber-ink); }
.flag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.flag-amber::before { background: var(--amber); }
.flag-red { border-color: rgba(227, 38, 47, 0.6); color: var(--red-ink); }
.flag-red::before { background: var(--red); }
.flag-ok { border-color: var(--paint); color: var(--paint); }
.flag-ok::before { background: var(--paint); }
.plate { display: inline-flex; flex-direction: column; flex: none; overflow: hidden; border-radius: 4px; background: var(--sticker); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); text-align: center; }
.plate .band { background: var(--red); color: #fff; font: 700 9px/1 var(--f-text); padding: 3px 8px 2px; white-space: nowrap; }
.plate .pn { color: #0b0b0c; font: 700 13px/1.3 var(--f-display); padding: 1px 8px 2px; white-space: nowrap; }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { position: relative; padding-inline-start: 30px; color: var(--ink); font-size: 15.5px; line-height: 1.65; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.8em; width: 16px; height: 3px; border-radius: 1px; background: var(--paint); opacity: 0.85; }
.price { color: var(--ink); font: 800 26px/1.2 var(--f-display); white-space: nowrap; }
.price small { font: 500 14px var(--f-text); color: var(--ink-3); }
.price s { margin-inline-start: 8px; color: var(--ink-3); font: 500 15px var(--f-display); text-decoration-thickness: 1.5px; }

/* ── the drawn sticker: as printed (cream, the red band, the QR, the code) ─────────────────── */
.stk-pile { position: relative; display: inline-grid; place-items: center; flex: none; }
.stk-pile > .stk { grid-area: 1 / 1; }
.stk {
    --w: 132px;
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: calc(var(--w) * 0.045);
    width: var(--w);
    min-height: calc(var(--w) * 1.32);
    padding-bottom: calc(var(--w) * 0.07);
    overflow: hidden;
    border-radius: calc(var(--w) * 0.08);
    background: var(--sticker);
    color: #0b0b0c;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 14px 26px -14px rgba(0, 0, 0, 0.9);
    rotate: -3deg;
}
.stk-band { width: 100%; padding: calc(var(--w) * 0.035) 0 calc(var(--w) * 0.03); background: var(--red); color: #fff; font: 800 calc(var(--w) * 0.078) / 1.2 var(--f-display); text-align: center; }
.stk-qr { width: 64%; height: auto; aspect-ratio: 1; margin-top: calc(var(--w) * 0.04); color: #0b0b0c; }
.stk-code { font: 700 calc(var(--w) * 0.088) / 1 var(--f-display); letter-spacing: 0.06em; direction: ltr; }
.stk-hint { padding-inline: 6px; color: #55524e; font-size: calc(var(--w) * 0.063); font-weight: 600; line-height: 1.35; text-align: center; }
.stk--back { background: #e7e2d7; }
/* a bundle fans out towards the text side (physical left of the RTL row), inside its art box */
.stk-pile[data-layers="2"] .stk--back-2 { rotate: 4deg; translate: -11% 2%; }
.stk-pile[data-layers="3"] .stk--back-3 { rotate: 8deg; translate: -17% 5%; background: #dcd6ca; }
.stk-pile[data-layers="3"] .stk--back-2 { rotate: 3deg; translate: -8% 2%; }
.stk-count { position: absolute; z-index: 2; bottom: -8px; inset-inline-start: -6px; padding: 3px 9px; border-radius: 6px; background: var(--ground); box-shadow: inset 0 0 0 1.5px var(--paint); color: var(--paint); font: 800 15px/1.2 var(--f-display); rotate: -4deg; }
.stk-pile--lg .stk { --w: 214px; }
.stk-pile--md .stk { --w: 118px; }
.stk-pile--sm .stk { --w: 62px; }
.stk-pile--sm .stk-hint, .stk-pile--sm .stk-code { display: none; }
.stk-pile--sm .stk-count { font-size: 12px; padding: 1px 6px; bottom: -6px; inset-inline-start: -6px; }

/* the SMS subscription, drawn as the message it buys */
.smsc { --w: 156px; display: inline-grid; gap: 10px; justify-items: start; width: var(--w); flex: none; }
.smsc-msg { display: grid; gap: 4px; width: 100%; padding: calc(var(--w) * 0.07); border-radius: calc(var(--w) * 0.1); background: #232326; box-shadow: inset 0 0 0 1px #34343a, 0 14px 26px -16px rgba(0, 0, 0, 0.9); }
.smsc-from { display: flex; align-items: center; gap: 6px; color: var(--ink); font: 700 calc(var(--w) * 0.075) / 1.3 var(--f-display); }
.smsc-from .ic { font-size: 1.15em; color: var(--ink-3); }
.smsc-from small { margin-inline-start: auto; color: var(--ink-3); font: 500 calc(var(--w) * 0.062) var(--f-text); }
.smsc-text { color: var(--ink-2); font-size: calc(var(--w) * 0.074); line-height: 1.55; }
.smsc-term { padding: 1px 9px; border: 1.5px solid var(--paint); border-radius: 5px; color: var(--paint); font: 800 calc(var(--w) * 0.09) / 1.4 var(--f-display); rotate: -2deg; }
.smsc--lg { --w: 220px; }
.smsc--sm { --w: 86px; gap: 6px; }
.smsc--sm .smsc-text { display: none; }
.smsc--sm .smsc-term { font-size: 12px; }

.art-img { width: 132px; aspect-ratio: 1; height: auto; border-radius: 10px; object-fit: contain; background: var(--raised); box-shadow: 0 0 0 1px var(--line); }
.art-img--lg { width: min(100%, 280px); }
.art-img--sm { width: 64px; }
.box-art { display: grid; place-items: center; flex: none; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink-3); }
.box-art .ic { stroke-width: 1.4; }
.box-art--sm { width: 52px; height: 52px; font-size: 24px; }
.box-art--md { width: 92px; height: 92px; font-size: 40px; }
.box-art--lg { width: 160px; height: 160px; font-size: 64px; }

/* ── notices ──────────────────────────────────────────────────────────────────────────────── */
.notice { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(21, 21, 22, 0.95); color: var(--ink); font-size: 15px; }
.notice .ic { font-size: 19px; color: var(--paint); }
.notice-err { border-color: rgba(227, 38, 47, 0.55); color: var(--red-ink); }
.notice-err .ic { color: var(--red); }
.notice-warn { border-color: rgba(242, 185, 59, 0.5); color: #f5d792; }
.notice-warn .ic { color: var(--amber); }
.notice a, .notice .link-btn { margin-inline-start: auto; white-space: nowrap; }
.errors { margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(227, 38, 47, 0.55); border-radius: 10px; color: var(--red-ink); font-size: 15px; }
.errors li + li { margin-top: 4px; }

/* ── brackets: the frame of a picture, like the corners a phone's QR scanner draws around a code ────────── */
.brk { position: relative; }
.brk::before {
    content: "";
    position: absolute;
    inset: 9px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 15V1h14' fill='none' stroke='%23e9e4d8' stroke-width='2'/%3E%3C/svg%3E") left top / 16px 16px no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 1h14v14' fill='none' stroke='%23e9e4d8' stroke-width='2'/%3E%3C/svg%3E") right top / 16px 16px no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 1v14h14' fill='none' stroke='%23e9e4d8' stroke-width='2'/%3E%3C/svg%3E") left bottom / 16px 16px no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M15 1v14H1' fill='none' stroke='%23e9e4d8' stroke-width='2'/%3E%3C/svg%3E") right bottom / 16px 16px no-repeat;
    transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}

/* ── the shop home: the masthead ──────────────────────────────────────────────────────────── */
.shop-hero { padding-block: 32px 8px; }
.shop-hero-grid { display: grid; gap: 28px; align-items: center; }
.shop-hero h1 { font: 900 clamp(34px, 2.6vw + 22px, 52px) / 1.4 var(--f-display); }
.lede { margin-top: 18px; max-width: 32em; font-size: clamp(16.5px, 0.5vw + 14px, 19px); line-height: 1.9; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14.5px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ic { font-size: 17px; color: var(--paint); }
/* the photo of the sticker on a windshield: desktop only (on a phone the products are the first thing under the text) */
.shop-photo { display: none; margin: 0; background: var(--surface); }
.shop-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* ── sections of the shop ─────────────────────────────────────────────────────────────────── */
.shop { padding-top: 40px; }
.how-grid { display: grid; gap: 28px; align-items: start; }
.steps { position: relative; display: grid; counter-reset: step; }
.steps::before { /* the lane the three posts sit on */
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    inset-inline-start: 15px;
    width: 2px;
    background: var(--line-2);
}
.steps li { position: relative; display: grid; gap: 2px; padding: 4px 0 22px; padding-inline-start: 50px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 2px; display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--paint); border-radius: 50%; background: var(--ground); color: var(--paint); font: 700 14px/1 var(--f-display); }
.steps b { color: var(--ink); font: 700 18px/1.5 var(--f-display); }
.steps span { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.privacy-line { display: flex; align-items: flex-start; gap: 10px; margin-top: 28px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(21, 21, 22, 0.9); color: var(--ink); font-size: 15px; line-height: 1.7; }
.privacy-line .ic { margin-top: 4px; font-size: 18px; color: var(--paint); }
.privacy-line a { color: var(--ink); font-weight: 600; }

/* the categories: one row of links, the page's own marked with the paint plate */
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cat { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(14, 14, 15, 0.4); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color var(--quick) var(--ease), border-color var(--quick) var(--ease); }
.cat:hover { border-color: #5a5a60; background: rgba(233, 228, 216, 0.06); color: var(--ink); }
.cat[aria-current="page"] { border-color: var(--paint); background: var(--paint); color: var(--ground); }
.cat-n { color: var(--ink-3); font: 700 13px/1 var(--f-display); }
.cat[aria-current="page"] .cat-n { color: #4a4744; }

/* ── the product grid: every product framed like a code in a scanner ─────────────────────── */
.grid { --n: 4; --max: 260px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; margin-top: 28px; }
.grid[data-cols="1"] { --n: 1; --max: 320px; grid-template-columns: minmax(0, 320px); }
.grid[data-cols="2"] { --n: 2; --max: 300px; }
.grid[data-cols="3"] { --n: 3; }
.grid[data-cols="5"] { --n: 5; }
.tile { min-width: 0; }
.tile-link { display: grid; gap: 14px; align-content: start; color: inherit; text-decoration: none; }
.tile-stage { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.tile-img, .tile-draw { position: absolute; inset: 0; }
.tile-img { width: 100%; height: 100%; padding: 9%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.55)); transition: transform var(--fast) var(--ease); }
.tile-img.is-wide { padding: 0; filter: none; }
.tile-draw { display: grid; place-items: center; }
.tile-link:hover .brk::before, .tile-link:focus-visible .brk::before { opacity: 1; transform: scale(0.965); }
.tile-link:hover .tile-img { transform: translateY(-3px); }
.tile-badge { position: absolute; z-index: 3; top: 0; inset-inline-start: 34px; padding: 2px 10px 3px; border-radius: 0 0 6px 6px; background: var(--paint); color: var(--ground); font: 800 12.5px/1.45 var(--f-display); }
.tile-out { position: absolute; z-index: 3; top: 50%; left: 50%; padding: 4px 16px 6px; border: 2px solid var(--paint); border-radius: 6px; background: var(--ground); color: var(--paint); font: 800 20px/1.3 var(--f-display); translate: -50% -50%; rotate: -8deg; }
.tile.is-out .tile-img, .tile.is-out .tile-draw { filter: grayscale(1); opacity: 0.45; }
.tile-body { display: grid; gap: 4px; min-width: 0; }
.tile-name { color: var(--ink); font: 700 clamp(15.5px, 0.4vw + 14px, 18px) / 1.5 var(--f-display); text-wrap: balance; }
.tile-sub { display: -webkit-box; overflow: hidden; color: var(--ink-3); font-size: 13.5px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; }
.tile-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin-top: 4px; }
.tile .price { font-size: 19px; }
.tile .price s { margin-inline-start: 6px; font-size: 13.5px; }
.empty-shop, .shelf-empty { display: grid; justify-items: start; gap: 14px; margin-top: 32px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2); }

/* the stock: a mark and the words, never colour alone (a filled dot, a hollow ring, the amber of «soon») */
.stock { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font: 600 13.5px/1.4 var(--f-text); white-space: nowrap; }
.stock::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--paint); }
.stock--low { color: var(--amber-ink); }
.stock--low::before { background: var(--amber); }
.stock--out { color: var(--ink-3); }
.stock--out::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.stock--pre::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--amber); }

/* a category page */
.coll-head h1 { font: 900 clamp(30px, 3vw + 18px, 52px) / 1.4 var(--f-display); }
.coll-deal { margin-top: 56px; max-width: 760px; }

/* the SMS subscription: one panel, the terms side by side (no identical boxes) */
.sms-grid { display: grid; gap: 40px; align-items: start; }
.plans { display: grid; border: 1px solid var(--line); border-radius: 14px; background: rgba(21, 21, 22, 0.95); overflow: hidden; }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.plan + .plan { border-top: 1px solid var(--line); }
.plan h3 { font: 700 19px/1.45 var(--f-display); }
/* «الأوفر» hangs from the paint line of the cheaper month, like a tab */
.plan .stamp { position: absolute; top: 0; inset-inline-end: 22px; padding: 1px 10px 3px; border: 0; border-radius: 0 0 6px 6px; background: var(--paint); color: var(--ground); rotate: 0deg; }
.plan .price { margin-top: 6px; font-size: 34px; }
.plan-note { color: var(--ink-3); font-size: 14px; }
.plan > form, .plan > .in-cart { margin-top: auto; padding-top: 8px; }
.plan.is-best::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--paint); }
.plans-foot { margin-top: 16px; color: var(--ink-3); font-size: 14px; line-height: 1.8; }
.sms-visual { display: flex; justify-content: center; margin-bottom: 28px; }
.sms-visual .smsc { rotate: -2deg; }

/* faq: native disclosure, no script needed */
.faq-grid { display: grid; gap: 32px; }
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--ink); font: 600 16.5px/1.6 var(--f-text); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { font-size: 20px; color: var(--ink-3); transition: transform var(--fast) var(--ease); }
.qa[open] summary .ic { transform: scaleY(-1); }
.qa summary:hover { color: #fff; }
.qa p { padding: 0 0 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.85; max-width: 42em; }
.qa p a { color: var(--ink); }

/* ── a product page ───────────────────────────────────────────────────────────────────────── */
.pdp-page { padding-top: 16px; }
.crumbs { margin-bottom: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--line-2); }
.crumbs a { padding-block: 12px; color: var(--ink-2); }
.crumbs span { color: var(--ink); }

.pdp { display: grid; gap: 26px; margin-top: 6px; }
.gal-stage { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.gal-track { display: flex; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { outline-offset: -4px; }
.gal-slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.gal-slide img { width: 100%; height: 100%; padding: 8%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.55)); }
.gal-slide img.is-wide { padding: 0; filter: none; }
.gal-draw { position: absolute; inset: 0; display: grid; place-items: center; }
.gal-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gal-thumb { display: block; width: 64px; height: 64px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow var(--quick) var(--ease); }
.gal-thumb img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.gal-thumb:hover { box-shadow: inset 0 0 0 1px #5a5a60; }
.gal-thumb[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--paint); }

.pdp-buy { min-width: 0; }
.pdp-name { font: 900 clamp(26px, 1.6vw + 19px, 38px) / 1.4 var(--f-display); }
.pdp-sub { margin-top: 6px; color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.pdp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 18px; }
.price--xl { font-size: 36px; }
.price--xl small { font-size: 15px; }
.price--xl s { font-size: 18px; }
.pdp-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }

.swatches { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.swatches h2 { margin-bottom: 14px; color: var(--ink-2); font: 700 15px/1.4 var(--f-display); }
.sw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.sw-link { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px transparent; color: var(--ink-2); text-decoration: none; transition: box-shadow var(--quick) var(--ease); }
.sw-link:hover { box-shadow: inset 0 0 0 1px #5a5a60; color: var(--ink); }
.sw.is-current .sw-link { box-shadow: inset 0 0 0 2px var(--paint); color: var(--ink); }
.sw-thumb { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.sw-thumb img { width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.sw-draw { display: grid; place-items: center; }
.sw.is-out .sw-thumb img, .sw.is-out .sw-draw { filter: grayscale(1); opacity: 0.45; }
.sw-name { font-size: 12.5px; font-weight: 600; line-height: 1.4; text-align: center; text-wrap: balance; }
.sw-out { color: var(--ink-3); font-size: 12px; font-weight: 600; }

.buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin-top: 28px; }
.stepper { display: grid; gap: 6px; }
.stepper-label { color: var(--ink-3); font-size: 13.5px; }
.stepper-box { display: inline-flex; align-items: stretch; height: 52px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(14, 14, 15, 0.55); overflow: hidden; }
.stepper-box:focus-within { outline: 2px solid var(--paint); outline-offset: 3px; }
.stepper-input { width: 64px; padding: 0; border: 0; background: transparent; color: var(--ink); font: 700 18px var(--f-display); text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper-input:focus { outline: none; }
.js .stepper-input::-webkit-outer-spin-button, .js .stepper-input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; appearance: none; }
.stepper-btn { display: grid; place-items: center; width: 46px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; transition: color var(--quick) var(--ease), background-color var(--quick) var(--ease); }
.stepper-btn:hover { background: rgba(233, 228, 216, 0.06); color: var(--ink); }
.stepper-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.stepper-btn .ic { font-size: 20px; }
.stepper-note { color: var(--amber-ink); font-size: 13px; }
.btn-buy { flex: 1 1 200px; min-height: 52px; }
.buy-note { margin-top: 12px; color: var(--ink-3); font-size: 14px; }
.in-cart { margin-top: 12px; color: var(--ink-3); font-size: 14px; }
.in-cart a { color: var(--ink); font-weight: 600; }
.soldout { display: grid; justify-items: start; gap: 14px; margin-top: 26px; padding: 18px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(21, 21, 22, 0.9); color: var(--ink-2); }
.soldout b { color: var(--ink); }
.pdp-ship { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; line-height: 1.7; }
.pdp-ship .ic { align-self: center; font-size: 18px; color: var(--paint); }
.pdp-ship b { color: var(--ink-2); font-family: var(--f-display); }

.pdp-more { display: grid; gap: 40px; margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--line); }
.pdp-more h2, .pdp-faq h2 { margin-bottom: 14px; font: 800 clamp(22px, 1vw + 17px, 28px) / 1.4 var(--f-display); }
.pdp-text > p + p { margin-top: 12px; }
.pdp-text p { max-width: 40em; color: var(--ink-2); font-size: 16.5px; line-height: 1.9; }
.pdp-text .ticks { margin-top: 20px; }
.pdp-faq { margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--line); }
.pdp-faq .qa-list { max-width: 760px; }

/* delivery and payment, as ruled rows */
.deal { margin: 0; border-top: 1px solid var(--line); }
.deal-row { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.deal dt { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 16px/1.5 var(--f-display); }
.deal dt .ic { font-size: 20px; color: var(--paint); }
.deal dd { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.deal dd small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 13.5px; line-height: 1.7; }
.deal b { color: var(--ink); font-family: var(--f-display); font-weight: 700; }

/* ── cart ─────────────────────────────────────────────────────────────────────────────────── */
.qty { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(14, 14, 15, 0.55); }
.qty select { appearance: none; height: 100%; padding-inline: 14px 30px; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a958c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 10px center / 14px; color: var(--ink); font: 700 16px var(--f-display); cursor: pointer; }
.qty select:focus { outline: none; }
.qty:focus-within { outline: 2px solid var(--paint); outline-offset: 3px; }
.qty select option { background: var(--raised); color: var(--ink); }
.item-sub { margin-top: 2px; color: var(--ink-2); font-size: 15px; }
.line-note { margin-top: 2px; color: var(--ink-3); font-size: 13.5px; line-height: 1.6; }
.line-note--low { color: var(--amber-ink); }
.sum-lines .line-note { display: block; }
.page { padding-top: 40px; padding-bottom: var(--sec-pad); }
.page-head h1 { font: 900 clamp(30px, 3vw + 18px, 52px) / 1.4 var(--f-display); }
.page-head p { margin-top: 10px; max-width: 36em; }
.page-grid { display: grid; gap: 36px; margin-top: 32px; align-items: start; }
.lines { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "art info" "art ctrl"; gap: 10px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-art { grid-area: art; display: grid; place-items: center; width: 76px; min-height: 84px; }
.line-info { grid-area: info; min-width: 0; }
.line-info h2 { font: 700 17px/1.5 var(--f-display); }
.line-info p { color: var(--ink-3); font-size: 14px; }
.line-ctrl { grid-area: ctrl; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.line-ctrl form { display: flex; align-items: center; gap: 8px; }
.line-ctrl .qty { height: 44px; }
.line-total { margin-inline-start: auto; color: var(--ink); font: 700 18px var(--f-display); white-space: nowrap; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 8px; background: none; color: var(--ink-3); cursor: pointer; transition: color var(--quick) var(--ease), border-color var(--quick) var(--ease); }
.icon-btn:hover { color: var(--red-ink); border-color: rgba(227, 38, 47, 0.6); }
.icon-btn .ic { font-size: 18px; }
.js .js-hide { display: none !important; }

.summary { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(21, 21, 22, 0.96); }
.summary h2 { font: 700 18px/1.4 var(--f-display); }
.sum-lines { margin-top: 14px; display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 14.5px; }
.sum-lines li span:last-child { color: var(--ink); white-space: nowrap; }
.sum { margin: 14px 0 0; display: grid; gap: 10px; }
.sum div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sum dt { color: var(--ink-2); font-size: 15px; }
.sum dd { margin: 0; color: var(--ink); font: 600 16px var(--f-display); white-space: nowrap; }
.sum dd small { font: 500 13px var(--f-text); color: var(--ink-3); }
.sum .sum-total { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.sum .sum-total dt { color: var(--ink); font-weight: 600; }
.sum .sum-total dd { font: 800 26px/1.2 var(--f-display); }
.sum-hint { margin-top: 12px; color: var(--ink-3); font-size: 13.5px; line-height: 1.7; }
.free-bar { margin-top: 14px; }
.free-bar p { color: var(--ink-2); font-size: 14px; }
.free-track { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--raised); overflow: hidden; }
.free-track i { display: block; height: 100%; background: var(--paint); border-radius: 3px; }
.summary .btn { margin-top: 18px; }
.empty { display: grid; justify-items: start; gap: 16px; margin-top: 32px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ── checkout ─────────────────────────────────────────────────────────────────────────────── */
.co-form { display: grid; gap: 36px; }
.step { display: grid; gap: 18px; }
.step-head { display: flex; align-items: center; gap: 12px; }
.step-head .n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 1.5px solid var(--paint); border-radius: 50%; color: var(--paint); font: 700 14px/1 var(--f-display); }
.step-head h2 { font: 700 clamp(19px, 0.6vw + 16px, 23px) / 1.45 var(--f-display); }
.fields { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > label, .field > .label { color: var(--ink); font-size: 14.5px; font-weight: 600; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field-hint { color: var(--ink-3); font-size: 13px; line-height: 1.6; }
.field-err { color: var(--red-ink); font-size: 13.5px; }
.input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: rgba(14, 14, 15, 0.7);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
    transition: border-color var(--quick) var(--ease);
}
.input::placeholder { color: #6f6b64; }
.input:hover { border-color: #4a4a50; }
.input:focus { outline: none; border-color: var(--paint); box-shadow: 0 0 0 1px var(--paint); }
.input[aria-invalid="true"] { border-color: rgba(227, 38, 47, 0.8); }
textarea.input { min-height: 96px; resize: vertical; }
select.input { appearance: none; padding-inline-end: 40px; background: rgba(14, 14, 15, 0.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a958c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center / 16px; cursor: pointer; }
select.input option, select.input optgroup { background: var(--raised); color: var(--ink); }
select.input:disabled { opacity: 0.45; cursor: not-allowed; }
.input.ltr, .input[type="tel"], .input[inputmode="numeric"] { direction: ltr; text-align: right; font-family: var(--f-display); letter-spacing: 0.02em; }
.two { display: grid; gap: 16px; }

.phone-row { display: flex; gap: 10px; }
.phone-row .input { flex: 1; min-width: 0; }
.phone-row .btn { flex: none; }
.code-row { display: flex; gap: 10px; }
.code-row .input { flex: 1; min-width: 0; max-width: 220px; font-size: 20px; letter-spacing: 0.3em; text-align: center; }
.otp-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--ink-2); font-size: 14.5px; }
.verified { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; }
.verified b { color: var(--ink); font: 700 17px var(--f-display); direction: ltr; }

.methods { display: grid; min-width: 0; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.method { position: relative; display: grid; grid-template-columns: auto auto 1fr; align-items: start; gap: 4px 12px; padding: 16px; cursor: pointer; transition: background-color var(--quick) var(--ease); }
.method + .method { border-top: 1px solid var(--line); }
.method:hover { background: rgba(233, 228, 216, 0.035); }
.method input { appearance: none; display: grid; place-items: center; width: 20px; height: 20px; margin: 3px 0 0; border: 1.5px solid var(--line-2); border-radius: 50%; background: var(--ground); cursor: pointer; }
.method input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); scale: 0; transition: scale var(--quick) var(--ease); }
.method input:checked { border-color: var(--red); }
.method input:checked::after { scale: 1; }
.method input:focus-visible { outline: 2px solid var(--paint); outline-offset: 3px; }
.method .ic { font-size: 22px; margin-top: 1px; color: var(--ink-2); }
.method b { color: var(--ink); font-weight: 600; font-size: 16px; }
.method small { grid-column: 3; color: var(--ink-3); font-size: 14px; line-height: 1.65; }
.method:has(input:checked) { background: rgba(227, 38, 47, 0.05); box-shadow: inset 0 0 0 1px rgba(227, 38, 47, 0.75); }
.method-off { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14px; }
.terms-note { margin-top: 12px; color: var(--ink-3); font-size: 13px; line-height: 1.7; }
.terms-note a { color: var(--ink-2); }

/* ── order page: the timeline is a lane with a post per step ──────────────────────────────── */
.order-head { display: grid; gap: 14px; }
.order-head h1 { font: 900 clamp(28px, 2.6vw + 18px, 48px) / 1.4 var(--f-display); }
.order-head h1 .num { display: inline-block; direction: ltr; }
.order-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--ink-3); font-size: 14.5px; }
.thanks { display: grid; gap: 6px; margin-top: 24px; padding: 18px 20px; border: 1px solid var(--paint); border-radius: 12px; background: rgba(233, 228, 216, 0.04); }
.thanks b { color: var(--ink); font: 700 19px/1.5 var(--f-display); }
.order-grid { display: grid; gap: 40px; margin-top: 36px; align-items: start; }
.block + .block, .order-side > * + * { margin-top: 40px; }
.block h2 { font: 700 20px/1.45 var(--f-display); }
.block-lede { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

.timeline { position: relative; margin-top: 18px; }
.timeline::before { /* the lane */
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    inset-inline-start: 6px;
    width: 2px;
    background: var(--line-2);
}
.tl { position: relative; display: grid; gap: 2px; padding: 0 0 22px; padding-inline-start: 36px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { /* the post: a delineator with a red reflector once passed */
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: 5px;
    width: 10px;
    height: 20px;
    border-radius: 3px;
    background: #2a2a2e;
    box-shadow: inset 0 0 0 1px var(--line-2);
}
.tl.is-done::before { background: var(--paint); box-shadow: 0 3px 4px rgba(0, 0, 0, 0.6); }
.tl.is-done::after { /* the red reflector on the post's head */
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: 5px;
    width: 10px;
    height: 6px;
    border-radius: 3px 3px 0 0;
    background: var(--red);
}
.tl.is-now::before { background: var(--paint); box-shadow: 0 0 0 4px rgba(233, 228, 216, 0.14); }
.tl.is-stop::before { background: var(--red); }
.tl b { color: var(--ink-3); font: 700 16px/1.5 var(--f-display); }
.tl.is-done b, .tl.is-now b { color: var(--ink); }
.tl.is-stop b { color: var(--red-ink); }
.tl small { color: var(--ink-3); font-size: 13.5px; }
.tl p { margin-top: 2px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.tl .ltr { font-family: var(--f-display); }

.pay { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(21, 21, 22, 0.96); }
.pay > * + * { margin-top: 14px; }
.pay > .notice:first-child { margin-top: 0; }
.pay-amount { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; color: var(--ink-2); font-size: 15px; }
.pay-amount b { color: var(--ink); font: 800 28px/1.2 var(--f-display); }
.dest { border-top: 1px solid var(--line); }
.dest-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.dest-row .k { color: var(--ink-3); font-size: 13px; }
.dest-row .v { grid-column: 1; color: var(--ink); font: 600 16px/1.5 var(--f-display); overflow-wrap: anywhere; }
.dest-row .v.text { font-family: var(--f-text); font-weight: 600; }
.dest-row .v[dir="ltr"] { text-align: right; }
.dest-row .copy { grid-row: 1 / span 2; grid-column: 2; }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: none; color: var(--ink); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.copy:hover { border-color: #5a5a60; }
.copy .ic { font-size: 16px; }
.copy.is-copied { border-color: var(--paint); color: var(--paint); }
html:not(.js) .copy { display: none; }
.dest-title { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink); font-weight: 600; font-size: 15px; }
.dest-title .ic { font-size: 19px; color: var(--ink-3); }
.upload { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.file { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink-2); font-size: 14.5px; cursor: pointer; }
.file:hover { border-color: #5a5a60; }
.file:focus-within { outline: 2px solid var(--paint); outline-offset: 3px; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file .ic { font-size: 24px; color: var(--paint); }
.file b { display: block; color: var(--ink); font-weight: 600; }
.file-name { color: var(--paint); font-weight: 600; overflow-wrap: anywhere; }
.paid-mark { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

.details { margin: 18px 0 0; border-top: 1px solid var(--line); }
.details div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--ink-3); font-size: 14px; }
.details dd { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.help { margin-top: 18px; color: var(--ink-3); font-size: 14px; line-height: 1.8; }
.help a { color: var(--ink); }

/* the payment return and the missing order */
.result { display: grid; justify-items: start; gap: 16px; max-width: 640px; padding-block: 56px var(--sec-pad); }
.result h1 { font: 900 clamp(30px, 3vw + 18px, 52px) / 1.4 var(--f-display); }
.result p { font-size: 17px; line-height: 1.9; }
.result .actions-row { margin-top: 10px; }

/* footer: the end of the road */
.foot { position: relative; margin-top: auto; padding: 44px 0 36px; background: #0a0a0b; }
.foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--line-2); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.foot .brand .wordmark-svg { height: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav a { color: var(--ink-3); font-size: 14.5px; text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { width: 100%; display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.foot-base a { color: var(--ink-2); }

/* ── larger screens ───────────────────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 22px; }
    .grid[data-cols="1"] { grid-template-columns: minmax(0, 320px); }
    .grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 300px)); }
    .tile .price { font-size: 20px; }
    .stk-pile--md .stk { --w: 128px; }
    .two { grid-template-columns: 1fr 1fr; }
    .plans { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .plan + .plan { border-top: 0; border-inline-start: 1px solid var(--line); }
    .line { grid-template-columns: auto 1fr auto; grid-template-areas: "art info ctrl"; align-items: center; }
    .line-ctrl { justify-content: flex-end; }
    .deal-row { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 900px) {
    /* a shop with one product shows it as a featured row (picture, then name, price and stock) instead of one lonely tile */
    .grid[data-cols="1"], .grid[data-cols="1"][data-cols] { grid-template-columns: minmax(0, 780px); }
    .grid[data-cols="1"] .tile-link { grid-template-columns: 300px minmax(0, 1fr); align-items: center; gap: 40px; }
    .grid[data-cols="1"] .tile-body { gap: 8px; }
    .grid[data-cols="1"] .tile-meta { justify-content: flex-start; gap: 6px 28px; }
    .grid[data-cols="1"] .tile-name { font-size: 26px; }
    .grid[data-cols="1"] .tile-sub { -webkit-line-clamp: 2; line-clamp: 2; font-size: 15px; }
    .grid[data-cols="1"] .tile .price { font-size: 32px; }
    .pdp { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 56px; align-items: start; }
    .pdp-buy { position: sticky; top: calc(var(--bar-h) + 24px); }
    .pdp-more { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; }
}
@media (min-width: 1024px) {
    .shop-hero { padding-top: 56px; padding-bottom: 16px; }
    .shop-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; }
    .shop-photo { display: block; }
    .grid, .grid[data-cols] { grid-template-columns: repeat(var(--n), minmax(0, var(--max))); justify-content: start; gap: 48px 26px; }
    .stk-pile--md .stk { --w: 138px; }
    .how-grid { grid-template-columns: 0.75fr 1.25fr; gap: 72px; }
    .sms-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
    .faq-grid { grid-template-columns: 0.75fr 1.25fr; gap: 72px; }
    .faq-grid .sec-head { position: sticky; top: calc(var(--bar-h) + 24px); align-self: start; }
    .page-grid { grid-template-columns: 1fr 360px; gap: 48px; }
    .page-grid .summary { position: sticky; top: calc(var(--bar-h) + 20px); }
    .order-grid { grid-template-columns: 1fr 380px; gap: 56px; }
}

/* ── phones ───────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 639.98px) {
    .brand .wordmark-svg { height: 23px; }
    .bar-nav a { padding: 0 10px; }
    .shop-hero { padding-top: 24px; }
    .actions-row .btn { width: 100%; }
    .stk-pile--md .stk { --w: 96px; }
    .stk-pile--lg .stk { --w: 178px; }
    .smsc--md { --w: 112px; }
    .phone-row { flex-wrap: wrap; }
    .phone-row .btn { width: 100%; }
    .details div { grid-template-columns: 1fr; gap: 0; }
    .buy .stepper, .buy .btn-buy { flex: 1 1 100%; }
    .stepper-box { width: 100%; }
    .stepper-input { flex: 1; }
}
@media (max-width: 359.98px) {
    .bar-nav .bar-label { display: none; }
    .code-row { flex-wrap: wrap; }
    .code-row .input { max-width: none; }
}

/* ── the packing slip (admin, printed on white paper) ─────────────────────────────────────── */
.slip-page { color-scheme: light; background: #fff; color: #141414; font-size: 14px; }
.slip { width: min(100% - 32px, 760px); margin: 24px auto; }
.slip-tools { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.slip-tools .btn { min-height: 40px; border-color: #c9c4ba; color: #141414; background: #fff; }
.slip header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid #141414; }
.slip header .wordmark-svg { height: 30px; width: auto; color: #141414; --livery: #e3262f; }
.slip h1 { color: #141414; font: 900 26px/1.3 var(--f-display); }
.slip h1 .num { direction: ltr; display: inline-block; }
.slip h2 { margin-top: 22px; color: #141414; font: 700 15px/1.4 var(--f-display); }
.slip p, .slip dd, .slip td, .slip th { color: #141414; }
.slip-meta { color: #4a4744; font-size: 13px; }
.slip dl { margin: 10px 0 0; display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; }
.slip dt { color: #4a4744; }
.slip dd { margin: 0; font-weight: 600; }
.slip dd[dir="ltr"] { text-align: right; }
.slip table { width: 100%; margin-top: 10px; border-collapse: collapse; }
.slip th, .slip td { padding: 8px 6px; border-bottom: 1px solid #d8d4cd; text-align: start; font-size: 14px; }
.slip th { color: #4a4744; font-weight: 600; font-size: 12.5px; }
.slip .box { display: inline-block; width: 16px; height: 16px; border: 1.5px solid #141414; border-radius: 3px; vertical-align: middle; }
.slip-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.slip-codes span { padding: 8px 10px; border: 1px solid #141414; border-radius: 6px; font: 700 16px/1 var(--f-display); letter-spacing: 0.06em; direction: ltr; text-align: center; }
.slip-pay { margin-top: 18px; padding: 12px 14px; border: 2px solid #141414; border-radius: 8px; font-weight: 700; font-size: 16px; }
.slip-note { margin-top: 10px; padding: 10px 12px; background: #f6f5f3; border-radius: 6px; }
@media print {
    .slip-tools { display: none; }
    .slip { width: 100%; margin: 0; }
    @page { size: A4; margin: 14mm; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* === search === */
/* The shop's search, sort and pager (SPEC §32.5, follow-up «search»). Appended; the markers bracket everything this block owns. */

.shopbar { display: grid; gap: 12px; margin-top: 28px; }
.shopbar-search { display: flex; flex-wrap: wrap; gap: 10px; }
.shopbar-field { position: relative; flex: 1 1 200px; min-width: 0; }
.shopbar-field .ic { position: absolute; top: 50%; inset-inline-start: 15px; translate: 0 -50%; font-size: 20px; color: var(--ink-3); pointer-events: none; }
.shopbar-field .input { -webkit-appearance: none; appearance: none; padding-inline-start: 46px; }
.shopbar-field .input::-webkit-search-decoration, .shopbar-field .input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.shopbar-go { flex: 1 1 96px; }
.shopbar-sort { display: flex; align-items: center; gap: 10px; }
.shopbar-sort label { color: var(--ink-3); font-size: 14px; font-weight: 600; white-space: nowrap; }
.shopbar-sort .input { flex: 1; min-width: 0; }

/* what is shown: «لقينا 7 منتجات لـ «تحذير»  شيل البحث», «عرض 25–48 من 60 منتج» */
.shelf-note { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 18px; color: var(--ink-3); font-size: 14.5px; }
.shelf-note b { color: var(--ink); font-weight: 600; }
.shelf-note a { color: var(--ink); font-weight: 600; }
.shelf-note + .grid { margin-top: 22px; }

/* a search that found nothing */
.shelf-none { display: grid; justify-items: start; gap: 12px; margin-top: 28px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shelf-none h3 { font: 800 clamp(20px, 1vw + 16px, 26px) / 1.45 var(--f-display); overflow-wrap: anywhere; }
.shelf-none p { color: var(--ink-2); }
.shelf-none .actions-row { margin-top: 4px; }
.shelf-none .cats { margin-top: 10px; }

/* the pager: plain numbered links, the current page is the paint plate */
.pager { display: grid; justify-items: center; gap: 14px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.pager-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pg { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(14, 14, 15, 0.4); color: var(--ink); font: 700 15px/1 var(--f-display); text-decoration: none; transition: background-color var(--quick) var(--ease), border-color var(--quick) var(--ease); }
a.pg:hover { border-color: #5a5a60; background: rgba(233, 228, 216, 0.06); color: var(--ink); }
.pg.is-current { border-color: var(--paint); background: var(--paint); color: var(--ground); }
.pg-step { padding-inline: 14px; font: 600 15px/1 var(--f-text); }
.pg-step .ic { font-size: 18px; }
.pg.is-off { opacity: 0.32; }
.pg-gap { min-width: 28px; padding: 0; border-color: transparent; background: none; color: var(--ink-3); }
.pager-note { color: var(--ink-3); font-size: 14px; }
.pager-note b { color: var(--ink-2); font-weight: 600; }

@media (min-width: 900px) {
    .shopbar { grid-template-columns: minmax(0, 560px) minmax(0, 270px); justify-content: space-between; align-items: center; gap: 12px 24px; }
    .shopbar-go { flex: 0 0 auto; }
}
@media (max-width: 479.98px) {
    /* a phone: the step links keep their words for a screen reader and show only their arrow */
    .pg-step { padding-inline: 0; min-width: 44px; }
    .pg-step span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    .pg.is-off { display: none; }
}
/* === /search === */

/* === coupons === */
/* The coupon box (SPEC §33): closed until needed, a stamp for the code that is on, one line of what it does. Flat, hairlines, no
   gradient; the red stays on the order button. */
.coupon { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.coupon-box > summary { display: flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line-2); }
.coupon-box > summary::-webkit-details-marker { display: none; }
.coupon-box > summary:hover { text-decoration-color: var(--paint); }
.coupon-box[open] > summary { text-decoration: none; }
.coupon-row { display: flex; gap: 10px; margin-top: 6px; }
.coupon-row .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.06em; }
.coupon-row .input::placeholder { text-transform: none; }
.coupon-row .btn { flex: none; min-height: 50px; margin-top: 0; padding: 0 18px; }
.summary .coupon-row .btn { margin-top: 0; }
.coupon .field-err { margin-top: 8px; }
.coupon-held { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 44px; }
.coupon-held .stamp { rotate: 0deg; }
.coupon-what { flex: 1 1 0; min-width: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.coupon-held form { margin: 0; }
.coupon-held .link-btn { min-height: 44px; padding-inline: 4px; font-size: 14.5px; }
.coupon-hint { margin-top: 6px; color: var(--amber-ink); font-size: 13.5px; line-height: 1.7; }
.sum .sum-discount dt { color: var(--ink); }
.sum .sum-discount dd { color: var(--paint); }
.sum-saved { color: var(--paint); font: 600 15px var(--f-text); }
.notice-coupon { margin-top: 14px; }
@media (max-width: 359.98px) {
    .coupon-row { flex-wrap: wrap; }
    .coupon-row .input { flex: 1 1 100%; }
    .coupon-row .btn { flex: 1 1 100%; }
}
/* === /coupons === */
