/* =====================================================================
   Mokaiteeb | المقيطيب — "Power Noir" design system
   Dark is the default theme; [data-theme="light"] switches to light.
   ===================================================================== */
:root, [data-theme="dark"], .dark-island, [data-theme="light"] :is(.hero, .page-hero, .cat-hero, .site-footer) {
  color-scheme: dark;
  --bg: #0c0b0a;
  --bg-2: #100e0c;
  --surface: #161411;
  --surface-2: #1c1915;
  --surface-3: #26221c;
  --elev: #1a1713;
  --line: rgba(255, 236, 210, .09);
  --line-2: rgba(255, 236, 210, .055);
  --line-3: rgba(255, 236, 210, .15);
  --text: #ede6da;
  --heading: #fffaf1;
  --muted: #ada395;
  --muted-2: #7a7266;
  --primary: #e8833a;
  --primary-2: #c96524;
  --primary-soft: rgba(232, 131, 58, .12);
  --primary-text: #f4a565;
  --accent: #f5b301;
  --accent-2: #dc9f00;
  --accent-ink: #1a1200;
  --accent-soft: rgba(245, 179, 1, .12);
  --accent-text: #ffd35c;
  --ok: #3ddc97; --ok-soft: rgba(61, 220, 151, .12);
  --warn: #ffb547; --warn-soft: rgba(255, 181, 71, .13);
  --bad: #ff6b6b; --bad-soft: rgba(255, 107, 107, .13);
  --wa: #25d366;
  --glass: rgba(18, 16, 13, .76);
  --media-bg: linear-gradient(160deg, #211d18, #151310);
  --grid-line: rgba(255, 220, 170, .045);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px -20px rgba(0, 0, 0, .75);
  --shadow-3: 0 40px 100px -30px rgba(0, 0, 0, .9);
  --glow: 0 0 0 1px rgba(232, 131, 58, .35), 0 12px 40px -10px rgba(232, 131, 58, .35);
  --img-blend: normal;
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #f3eee6;
  --bg-2: #ebe4d8;
  --surface: #fffcf7;
  --surface-2: #f6f0e6;
  --surface-3: #ebe3d5;
  --elev: #ffffff;
  --line: #e2d8c8;
  --line-2: #ece4d6;
  --line-3: #d2c5b0;
  --text: #2b241b;
  --heading: #17110a;
  --muted: #6b604f;
  --muted-2: #958a78;
  --primary: #b8561a;
  --primary-2: #96440f;
  --primary-soft: rgba(184, 86, 26, .1);
  --primary-text: #96440f;
  --accent: #f5b301;
  --accent-2: #dfa200;
  --accent-ink: #1a1200;
  --accent-soft: rgba(214, 150, 0, .12);
  --accent-text: #8a6200;
  --ok: #0f8f5a; --ok-soft: #e3f4ec;
  --warn: #b26b00; --warn-soft: #fbefd6;
  --bad: #c9372a; --bad-soft: #fbe7e4;
  --glass: rgba(250, 246, 239, .88);
  --media-bg: linear-gradient(160deg, #ffffff, #f6f0e6);
  --grid-line: rgba(60, 40, 15, .06);
  --shadow-1: 0 1px 2px rgba(40, 28, 12, .06), 0 6px 18px -12px rgba(40, 28, 12, .18);
  --shadow-2: 0 2px 6px rgba(40, 28, 12, .06), 0 22px 50px -24px rgba(40, 28, 12, .28);
  --shadow-3: 0 30px 80px -30px rgba(40, 28, 12, .35);
  --glow: 0 0 0 1px rgba(184, 86, 26, .35), 0 12px 34px -14px rgba(184, 86, 26, .35);
  --img-blend: multiply;
}
[data-theme="light"] :is(.hero, .page-hero, .cat-hero, .site-footer) { color: var(--text); }
[data-theme="light"] .p-card, [data-theme="light"] .bento-card, [data-theme="light"] .card, [data-theme="light"] .filters, [data-theme="light"] .res-head, [data-theme="light"] .tool-card, [data-theme="light"] .sol-card, [data-theme="light"] .step, [data-theme="light"] .branch-card { box-shadow: var(--shadow-1); }
[data-theme="light"] .btn-primary:not(:is(.hero, .page-hero, .cat-hero, .site-footer) *), [data-theme="light"] .cart-btn { background: #1d1812; color: #fff; box-shadow: 0 10px 26px -14px rgba(40, 28, 12, .6); }
[data-theme="light"] .btn-primary:not(:is(.hero, .page-hero, .cat-hero, .site-footer) *):hover, [data-theme="light"] .cart-btn:hover { background: #2e261c; }
[data-theme="light"] .cart-btn .cart-count { background: var(--accent); color: var(--accent-ink); }
[data-theme="light"] .p-add .btn-dark:hover { background: #1d1812; color: #fff; border-color: #1d1812; }
[data-theme="light"] .qty-step { border-color: #1d1812; background: var(--surface); }
[data-theme="light"] .qty-step button { color: #1d1812; }
[data-theme="light"] .announce { background: #1d1812; color: #ede6da; border-color: #1d1812; }
[data-theme="light"] .announce a { color: #f4a565; }
:root {
  --radius-sm: 10px; --radius: 14px; --radius-lg: 20px; --radius-xl: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Sora", "Readex Pro", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --container: 1360px;
}
html[lang="ar"], html[lang="ur"] { --font: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; --font-head: "Readex Pro", "IBM Plex Sans Arabic", sans-serif; }
html[lang="hi"] { --font: "Noto Sans Devanagari", "Inter", system-ui, sans-serif; --font-head: "Noto Sans Devanagari", "Sora", sans-serif; }
html[lang="ur"] body { line-height: 1.85; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; opacity: .5; }
svg { flex: 0 0 auto; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.2; letter-spacing: -.02em; color: var(--heading); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3 { letter-spacing: 0; line-height: 1.4; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--primary); color: #1a0d03; }
.mono { font-family: var(--mono); direction: ltr; unicode-bidi: isolate; }
bdi { unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.icon { width: 18px; height: 18px; }
.m-only { display: none !important; }
.grad { background: linear-gradient(100deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 10px; border: 2px solid var(--bg); }

/* ---------------- buttons ---------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 14.5px; white-space: nowrap; isolation: isolate; overflow: hidden; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s, filter .2s; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(245, 179, 1, .55); }
.btn-primary:hover { background: #ffcf5a; box-shadow: 0 14px 40px -10px rgba(245, 179, 1, .7); }
.btn-primary::after, .btn-electric::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::after, .btn-electric:hover::after { transform: translateX(120%); }
.btn-electric { background: linear-gradient(120deg, var(--primary), var(--primary-2)); color: #1a0d03; box-shadow: 0 10px 30px -10px rgba(232, 131, 58, .6); }
.btn-dark { background: var(--heading); color: var(--bg); }
.btn-dark:hover { filter: brightness(.9); }
.btn-outline { background: var(--surface); border-color: var(--line-3); color: var(--heading); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-text); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: var(--line-3); color: var(--heading); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
[data-theme="light"] .btn-ghost { background: rgba(6, 11, 22, .04); }
.btn-wa { background: var(--wa); color: #03210f; box-shadow: 0 10px 28px -12px rgba(37, 211, 102, .7); }
.btn-wa:hover { filter: brightness(1.06); }
.btn-soft { background: var(--primary-soft); color: var(--primary-text); }
.btn-soft:hover { background: rgba(232, 131, 58, .2); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 15px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--text); border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--line); color: var(--heading); }
.icon-btn svg { width: 20px; height: 20px; }
.link { color: var(--primary-text); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link svg { width: 16px; height: 16px; }

/* ---------------- forms ---------------- */
.field { display: block; }
.field > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field > span em { color: var(--bad); font-style: normal; }
.input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--heading); font-size: 15px; outline: 0; transition: border-color .15s, box-shadow .15s, background .15s; }
.input::placeholder { color: var(--muted-2); }
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
select.input { cursor: pointer; }
.input:focus { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-soft); }
.input.invalid { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hp { position: absolute; left: -9999px; }
.seg-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.seg-opts label { position: relative; }
.seg-opts input { position: absolute; opacity: 0; }
.seg-opts span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); font-size: 13.5px; font-weight: 600; text-align: center; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.seg-opts span svg { width: 18px; height: 18px; }
.seg-opts input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--heading); box-shadow: inset 0 0 0 1px var(--primary); }
.seg-opts input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------------- announcement + header ---------------- */
.announce { position: relative; background: linear-gradient(90deg, rgba(232, 131, 58, .14), rgba(245, 179, 1, .12)); border-bottom: 1px solid var(--line); color: var(--text); font-size: 13px; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; padding: 6px 0; text-align: center; }
.announce a { color: var(--primary-text); font-weight: 700; }
.announce .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex: 0 0 auto; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.site-header { position: sticky; top: 0; z-index: 60; background: var(--glass); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.hdr-main { display: flex; align-items: center; gap: 18px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-mark { width: 42px; height: 42px; filter: drop-shadow(0 6px 18px rgba(232, 131, 58, .35)); }
.logo-text b { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1.1; color: var(--heading); letter-spacing: -.01em; }
.logo-text small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
html[lang="ar"] .logo-text small, html[lang="ur"] .logo-text small { letter-spacing: .02em; font-size: 11.5px; }
.hdr-search { position: relative; flex: 1; max-width: 620px; margin-inline: auto; }
.search-field { display: flex; align-items: center; gap: 10px; height: 48px; padding-inline: 16px 6px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); transition: border-color .15s, background .15s, box-shadow .2s; }
.search-field:focus-within { background: var(--surface); border-color: var(--primary); box-shadow: var(--glow); }
.search-field > svg { width: 19px; height: 19px; color: var(--muted); }
.search-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 14.5px; color: var(--heading); }
.search-field input::placeholder { color: var(--muted-2); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field .btn { height: 38px; border-radius: 10px; padding: 0 16px; }
.kbd { font-family: var(--mono); font-size: 11px; min-width: 24px; height: 24px; display: inline-grid; place-items: center; padding: 0 7px; border-radius: 7px; border: 1px solid var(--line-3); color: var(--muted); background: var(--surface); }
.search-field:focus-within .kbd { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 6px; }
.pill-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600; font-size: 13.5px; color: var(--heading); transition: border-color .15s; }
.pill-btn:hover { border-color: var(--primary); }
.pill-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-sun { display: block; }
[data-theme="light"] .theme-btn .i-moon { display: none; }
.lang-wrap { position: relative; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 90; min-width: 190px; padding: 6px; border-radius: 14px; background: var(--elev); border: 1px solid var(--line); box-shadow: var(--shadow-3); animation: drop .18s var(--ease); }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.lang-menu a:hover { background: var(--surface-2); }
.lang-menu a.on { color: var(--primary-text); }
.lang-menu a small { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding-inline: 14px 16px; border-radius: 13px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; box-shadow: 0 10px 28px -12px rgba(245, 179, 1, .7); transition: transform .2s var(--ease), box-shadow .2s; }
.cart-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(245, 179, 1, .8); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent-ink); color: var(--accent); font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; font-family: var(--mono); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.hdr-nav { border-top: 1px solid var(--line-2); }
.hdr-nav .container { display: flex; align-items: center; gap: 2px; height: 50px; }
.nav-cats-btn { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-text); font-weight: 700; font-size: 13.5px; margin-inline-end: 10px; border: 1px solid rgba(232, 131, 58, .25); }
.nav-cats-btn svg { width: 17px; height: 17px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .15s, background .15s; }
.nav-link:hover { color: var(--heading); background: var(--surface-2); }
.nav-link.active { color: var(--heading); }
.nav-link.active::after { content: ""; position: absolute; bottom: -7px; inset-inline: 13px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.nav-right { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); }
.nav-right a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.nav-right a:hover { color: var(--heading); }
.nav-right svg { width: 16px; height: 16px; color: var(--primary-text); }

/* mega menu */
.mega { position: absolute; inset-inline: 0; top: 100%; z-index: 70; background: var(--elev); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-3); animation: drop .22s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 22px 0; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.mega a:hover { background: var(--surface-2); border-color: var(--line); }
.mega .ci { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: var(--primary-text); flex: 0 0 42px; overflow: hidden; }
.mega .ci img { width: 100%; height: 100%; object-fit: cover; }
.mega .ci svg { width: 20px; height: 20px; }
.mega b { display: block; font-size: 14px; font-weight: 600; color: var(--heading); }
.mega small { font-size: 12px; color: var(--muted-2); }
.mega-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }

/* search suggestions */
.suggest { position: absolute; top: calc(100% + 10px); inset-inline: 0; z-index: 80; max-height: min(72vh, 620px); overflow-y: auto; padding: 8px; border-radius: 18px; background: var(--elev); border: 1px solid var(--line); box-shadow: var(--shadow-3); animation: drop .18s var(--ease); color: var(--text); }
.sg-h { padding: 10px 10px 6px; font-size: 11px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; }
html[lang="ar"] .sg-h, html[lang="ur"] .sg-h { letter-spacing: 0; font-size: 12px; }
.sg-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; cursor: pointer; }
.sg-row:hover, .sg-row.kb { background: var(--surface-2); }
.sg-img { width: 46px; height: 46px; border-radius: 11px; background: var(--media-bg); display: grid; place-items: center; overflow: hidden; flex: 0 0 46px; color: var(--muted-2); border: 1px solid var(--line-2); }
.sg-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: var(--img-blend); }
.sg-img svg { width: 20px; height: 20px; }
.sg-t { flex: 1; min-width: 0; }
.sg-t b { display: block; font-size: 14px; font-weight: 600; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-t small { font-size: 12px; color: var(--muted); }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 10px; }
.sg-all { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-text); font-size: 13.5px; font-weight: 700; }
.sg-all:hover, .sg-all.kb { background: rgba(232, 131, 58, .2); }
.sg-all svg { width: 18px; height: 18px; }
mark { background: rgba(245, 179, 1, .25); color: inherit; border-radius: 3px; padding: 0 1px; }

/* chips & badges */
.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { border-color: var(--line-3); color: var(--heading); }
.chip.on { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.chip small { font-family: var(--mono); font-size: 11px; color: var(--muted-2); font-weight: 500; }
.chip.on small { color: var(--muted-2); }
.chip svg { width: 15px; height: 15px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.badge.in { background: var(--ok-soft); color: var(--ok); }
.badge.low { background: var(--warn-soft); color: var(--warn); }
.badge.out { background: var(--surface-3); color: var(--muted); }
.badge.out i { box-shadow: none; }
.badge.brand { background: var(--surface-3); color: var(--heading); letter-spacing: .06em; border: 1px solid var(--line); }
.badge.feat { background: var(--accent); color: var(--accent-ink); }
.badge.fam { background: var(--primary-soft); color: var(--primary-text); }

/* sections */
.section { position: relative; padding: 96px 0; }
.section-sm { padding: 52px 0; }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line-2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--primary-text); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] .eyebrow, html[lang="ur"] .eyebrow { letter-spacing: 0; font-size: 13px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.sec-head h2 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; }
.sec-head p { margin-top: 10px; color: var(--muted); max-width: 640px; font-size: 16px; }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 520px at 85% 0%, rgba(232, 131, 58, .18), transparent 60%), radial-gradient(700px 520px at 5% 100%, rgba(245, 179, 1, .09), transparent 60%), var(--bg); }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%); }
.hero-wires { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.hero-wires .w { fill: none; stroke: var(--line-3); stroke-width: 1; }
.hero-wires .pulse { fill: none; stroke: url(#wireGrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 60 900; animation: current 5s linear infinite; filter: drop-shadow(0 0 6px var(--primary)); }
.hero-wires .pulse.d2 { animation-delay: -1.7s; animation-duration: 6.5s; }
.hero-wires .pulse.d3 { animation-delay: -3.1s; animation-duration: 7.5s; }
@keyframes current { from { stroke-dashoffset: 960; } to { stroke-dashoffset: 0; } }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 84px 0 96px; }
.hero-in > * { min-width: 0; }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; line-height: 1.03; letter-spacing: -.045em; }
html[lang="ar"] .hero h1, html[lang="ur"] .hero h1 { line-height: 1.25; letter-spacing: -.01em; font-weight: 700; }
html[lang="hi"] .hero h1 { line-height: 1.3; letter-spacing: -.01em; }
.hero h1 span { display: block; }
.hero-lead { margin-top: 22px; max-width: 600px; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.85; }
.hero-search { margin-top: 32px; max-width: 640px; position: relative; }
.hero-search .search-field { height: 64px; border-radius: 18px; padding-inline: 20px 8px; background: var(--surface); border-color: var(--line-3); box-shadow: var(--shadow-2); }
.hero-search .search-field:focus-within { box-shadow: var(--glow), var(--shadow-2); }
.hero-search .search-field .btn { height: 48px; padding: 0 24px; font-size: 15px; border-radius: 13px; }
.hero-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted-2); }
.hero-pop a { height: 32px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 500; transition: border-color .15s, color .15s; }
.hero-pop a:hover { border-color: var(--primary); color: var(--primary-text); }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; max-width: 660px; border: 1px solid var(--line); border-radius: 18px; background: var(--glass); backdrop-filter: blur(10px); overflow: hidden; }
.hero-stats div { padding: 16px 18px; }
.hero-stats div + div { border-inline-start: 1px solid var(--line); }
.hero-stats b { display: block; font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; color: var(--heading); direction: ltr; text-align: start; }
[dir="rtl"] .hero-stats b { text-align: right; }
.hero-stats b em { font-style: normal; color: var(--accent-text); }
.hero-stats span { font-size: 12.5px; color: var(--muted); }

/* hero live panel */
.panel { position: relative; border-radius: var(--radius-xl); padding: 22px; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(140deg, rgba(232, 131, 58, .6), var(--line) 35%, var(--line) 65%, rgba(245, 179, 1, .5)) border-box; border: 1px solid transparent; box-shadow: var(--shadow-3); }
.panel::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(closest-side, rgba(232, 131, 58, .22), transparent); filter: blur(30px); }
.ph-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ph-head b { display: block; font-family: var(--font-head); font-size: 16px; color: var(--heading); }
.ph-head small { color: var(--muted); font-size: 12.5px; }
.live { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--ok-soft); font-size: 12px; color: var(--ok); font-weight: 700; }
.live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.meters { display: grid; gap: 10px; }
.meter { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); transition: border-color .2s, transform .2s var(--ease); }
.meter:hover { border-color: var(--primary); transform: translateX(-3px); }
[dir="ltr"] .meter:hover { transform: translateX(3px); }
.meter .mi { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); overflow: hidden; }
.meter .mi img { width: 100%; height: 100%; object-fit: cover; }
.meter .mi svg { width: 19px; height: 19px; }
.meter b { display: block; font-size: 13.5px; font-weight: 600; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter .bar { margin-top: 6px; height: 5px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.meter .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform-origin: left; animation: grow 1.4s var(--ease) both; }
[dir="rtl"] .meter .bar i { transform-origin: right; }
@keyframes grow { from { transform: scaleX(0); } }
.meter em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ph-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ph-foot div { padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line-3); font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.ph-foot svg { width: 20px; height: 20px; color: var(--accent-text); flex: 0 0 20px; }
.ph-foot b { display: block; color: var(--heading); font-size: 13px; }

/* trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 24px 20px; }
.trust-item + .trust-item { border-inline-start: 1px solid var(--line-2); }
.trust-item .ti { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--primary-text); flex: 0 0 46px; }
.trust-item .ti svg { width: 21px; height: 21px; }
.trust-item b { display: block; font-size: 14.5px; font-family: var(--font-head); color: var(--heading); }
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* spotlight hover (cards follow the cursor) */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 131, 58, .13), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.spot:hover::before { opacity: 1; }

/* category bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 14px; }
.bento-card { position: relative; display: flex; flex-direction: column; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.bento-card:hover { border-color: rgba(232, 131, 58, .45); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.bento-card .bc-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .6s var(--ease), opacity .3s; }
.bento-card:hover .bc-img { transform: scale(1.06); opacity: .7; }
.bento-card.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--surface) 8%, transparent 75%); }
.bento-card .bc-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line); color: var(--primary-text); }
.bento-card .bc-ico svg { width: 22px; height: 22px; }
.bento-card h3 { margin-top: auto; font-size: 17px; font-weight: 600; }
.bento-card small { margin-top: 4px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bento-card small svg { width: 16px; height: 16px; color: var(--primary-text); transition: transform .25s; }
.bento-card:hover small svg { transform: translateX(4px); }
[dir="rtl"] .bento-card:hover small svg { transform: translateX(-4px) scaleX(-1); }
.bento-card.big { grid-column: span 2; grid-row: span 2; padding: 30px; background: radial-gradient(600px 300px at 100% 0, rgba(232, 131, 58, .22), transparent 60%), radial-gradient(500px 300px at 0 100%, rgba(245, 179, 1, .14), transparent 60%), var(--surface); }
.bento-card.big h3 { font-size: clamp(24px, 2.4vw, 34px); }
.bento-card.big p { margin-top: 10px; color: var(--muted); max-width: 340px; }
.bento-card.big .btn { margin-top: 22px; align-self: flex-start; }
.bento-card.wide { grid-column: span 2; }
.bento-card.big.has-img::after { background: linear-gradient(0deg, var(--surface) 22%, color-mix(in srgb, var(--surface) 55%, transparent) 70%, color-mix(in srgb, var(--surface) 25%, transparent) 100%); }
.bento-card.big .bc-img { opacity: .75; }

/* product card */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.p-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; content-visibility: auto; contain-intrinsic-size: auto 420px; }
.p-card:hover { transform: translateY(-4px); border-color: rgba(232, 131, 58, .4); box-shadow: var(--shadow-2); }
.p-media { position: relative; aspect-ratio: 1 / .84; background: var(--media-bg); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.p-media img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: var(--img-blend); transition: transform .45s var(--ease); }
.p-media img.cat-fallback { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-ph { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 24px; background: var(--surface-3); color: var(--primary-text); border: 1px solid var(--line); box-shadow: 0 0 40px -6px rgba(232, 131, 58, .3); }
.p-ph svg { width: 36px; height: 36px; }
.p-tags { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.p-avail { position: absolute; top: 12px; inset-inline-end: 12px; }
.p-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 12px; flex: 1; }
.p-cat { font-size: 11px; font-weight: 700; color: var(--primary-text); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ar"] .p-cat, html[lang="ur"] .p-cat { letter-spacing: 0; font-size: 12px; }
.p-title { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--heading); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.p-title:hover { color: var(--primary-text); }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.p-meta span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; color: var(--text); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-meta span small { color: var(--muted-2); font-weight: 500; }
.p-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.p-sku { font-family: var(--mono); font-size: 11px; color: var(--muted-2); direction: ltr; }
.p-price { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--heading); line-height: 1.1; }
.p-price small { display: block; font-family: var(--font); font-size: 11.5px; font-weight: 500; color: var(--muted); }
.p-price s { font-size: 12px; color: var(--muted-2); font-weight: 500; margin-inline-start: 6px; }
.p-price.ask { font-size: 13px; color: var(--primary-text); font-family: var(--font); font-weight: 700; }
.p-add { display: flex; gap: 8px; padding: 0 16px 16px; }
.p-add .btn { flex: 1; height: 42px; }
.p-add .btn-dark { background: var(--surface-3); color: var(--heading); border: 1px solid var(--line); }
.p-add .btn-dark:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); filter: none; }
.qty-step { flex: 1; display: flex; align-items: center; height: 42px; border-radius: 12px; border: 1px solid var(--accent); background: var(--accent-soft); overflow: hidden; }
.qty-step button { width: 40px; height: 100%; display: grid; place-items: center; font-size: 18px; font-weight: 700; color: var(--accent-text); transition: background .15s; }
.qty-step button:hover { background: rgba(245, 179, 1, .15); }
.qty-step input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 15px; background: transparent; color: var(--heading); -moz-appearance: textfield; appearance: textfield; }
.qty-step input::-webkit-inner-spin-button, .qty-step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.p-card.in-cart { border-color: rgba(245, 179, 1, .55); box-shadow: 0 0 0 1px rgba(245, 179, 1, .35); }
.fam-strip { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--primary-text); font-weight: 700; }
.fam-strip svg { width: 15px; height: 15px; }

/* list view */
.p-grid.list { grid-template-columns: 1fr; gap: 10px; }
.p-grid.list .p-card { flex-direction: row; align-items: center; contain-intrinsic-size: auto 120px; }
.p-grid.list .p-media { width: 120px; flex: 0 0 120px; aspect-ratio: 1; border-bottom: 0; border-inline-end: 1px solid var(--line-2); }
.p-grid.list .p-tags, .p-grid.list .p-avail { display: none; }
.p-grid.list .p-body { padding: 12px 18px; }
.p-grid.list .p-title { min-height: 0; -webkit-line-clamp: 1; }
.p-grid.list .p-add { padding: 12px 18px; width: 250px; flex: 0 0 250px; }

/* spec table view (for pros) */
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec-table th { padding: 12px 14px; text-align: start; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
html[lang="ar"] .spec-table th, html[lang="ur"] .spec-table th { letter-spacing: 0; font-size: 12.5px; }
.spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr { transition: background .12s; }
.spec-table tbody tr:hover { background: var(--surface-2); }
.spec-table .st-name { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.spec-table .st-name .sg-img { width: 40px; height: 40px; flex-basis: 40px; }
.spec-table .st-name a { font-weight: 600; color: var(--heading); }
.spec-table .st-name a:hover { color: var(--primary-text); }
.spec-table .qty-step, .spec-table .btn { height: 36px; width: 140px; flex: 0 0 auto; }
.spec-table .qty-step button { width: 34px; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); }

/* skeleton */
.skel { background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: skel 1.3s ease-in-out infinite; border-radius: 10px; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.p-card.sk .p-media { background: var(--surface-2); }

/* brands */
.brand-strip { position: relative; overflow: hidden; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brand-track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.brand-strip:hover .brand-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-tile { display: grid; place-items: center; min-width: 176px; height: 86px; padding: 0 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .1em; color: var(--muted); transition: color .2s, border-color .2s, transform .2s var(--ease); }
.brand-tile:hover { color: var(--heading); border-color: var(--primary); transform: translateY(-2px); }
.brand-tile img { max-height: 44px; max-width: 130px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .7; transition: filter .2s, opacity .2s; }
[data-theme="light"] .brand-tile img { filter: grayscale(1); }
.brand-tile:hover img { filter: none; opacity: 1; }
.brand-tile small { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0; color: var(--muted-2); text-align: center; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.brands-grid .brand-tile { min-width: 0; height: 108px; flex-direction: column; gap: 4px; }

/* pro tools showcase */
.tools-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.tool-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; min-height: 320px; transition: border-color .25s; }
.tool-card:hover { border-color: rgba(232, 131, 58, .45); }
.tool-card h3 { font-size: 21px; }
.tool-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.tool-card .link { margin-top: auto; }
.tool-ui { margin-top: 6px; padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; direction: ltr; text-align: left; }
.tool-ui .row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 4px; border-bottom: 1px dashed var(--line); color: var(--muted); }
.tool-ui .row:last-child { border-bottom: 0; }
.tool-ui .row b { color: var(--accent-text); font-weight: 600; }
.tool-ui .ok { color: var(--ok); }
.wa-bubble { align-self: flex-start; max-width: 92%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #0b3d2a; color: #d6ffe9; font-size: 13px; line-height: 1.7; box-shadow: 0 12px 30px -14px rgba(37, 211, 102, .6); white-space: pre-line; }
[data-theme="light"] .wa-bubble { background: #dcf8c6; color: #0b2a17; }
.wa-bubble b { color: inherit; }
.track-ui { display: grid; gap: 8px; }
.track-ui div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.track-ui i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); flex: 0 0 22px; }
.track-ui i svg { width: 12px; height: 12px; }
.track-ui .done i { background: var(--ok); color: #03150c; }
.track-ui .cur i { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 5px var(--accent-soft); }
.track-ui .done, .track-ui .cur { color: var(--heading); }

/* solutions */
.sol-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sol-card { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.sol-card:hover { border-color: var(--line-3); transform: translateY(-3px); }
.sol-card .si { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, var(--primary), var(--primary-2)); color: #1a0d03; box-shadow: 0 12px 30px -10px rgba(232, 131, 58, .55); }
.sol-card .si svg { width: 25px; height: 25px; }
.sol-card h3 { margin-top: 20px; font-size: 18px; }
.sol-card p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.75; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.step .num { font-family: var(--font-head); font-size: 50px; font-weight: 800; line-height: 1; background: linear-gradient(180deg, var(--primary), transparent 110%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.step h3 { margin-top: 16px; font-size: 18px; }
.step p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.step .si { position: absolute; top: 26px; inset-inline-end: 26px; color: var(--accent-text); }
.step .si svg { width: 26px; height: 26px; }

/* branches */
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.branch-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.branch-card:hover { border-color: rgba(232, 131, 58, .45); transform: translateY(-3px); }
.branch-card .bi { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); }
.branch-card .bi svg { width: 22px; height: 22px; }
.branch-card h3 { font-size: 20px; }
.branch-card .reg { font-size: 13px; color: var(--muted); }
.branch-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.branch-card li { display: flex; gap: 8px; align-items: flex-start; }
.branch-card li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--muted-2); }
.branch-card .acts { display: flex; gap: 8px; margin-top: auto; }
.branch-card .acts .btn { flex: 1; height: 40px; font-size: 13px; }

/* CTA */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); padding: 60px; border: 1px solid var(--line); background: radial-gradient(700px 360px at 100% 0, rgba(232, 131, 58, .28), transparent 60%), radial-gradient(600px 320px at 0 100%, rgba(245, 179, 1, .2), transparent 60%), var(--surface); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 44px); }
.cta-band p { margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 560px; }
.cta-band .acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* page header / crumbs */
.page-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 90% 0, rgba(232, 131, 58, .16), transparent 60%), radial-gradient(500px 260px at 0 100%, rgba(245, 179, 1, .08), transparent 60%); }
.page-hero .container { padding: 44px 0 46px; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 46px); margin-top: 12px; }
.page-hero p { margin-top: 10px; color: var(--muted); max-width: 680px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--heading); }
.crumbs svg { width: 14px; height: 14px; color: var(--muted-2); }

/* ---------------- catalog ---------------- */
.cat-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.cat-hero .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .25; filter: saturate(.8); }
.cat-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 9, 13, .6) 100%), radial-gradient(700px 300px at 90% 0, rgba(232, 131, 58, .16), transparent 60%); }

.cat-hero .container { padding: 34px 0 26px; }
.cat-hero h1 { font-size: clamp(26px, 3.4vw, 42px); margin-top: 10px; }
.cat-hero p { margin-top: 6px; color: var(--muted); max-width: 720px; }
.cat-bar { position: sticky; top: var(--sticky-top, 124px); z-index: 30; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.cat-bar .container { display: flex; align-items: center; gap: 8px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.cat-bar .container::-webkit-scrollbar { display: none; }
.catalog { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 26px; align-items: start; padding: 26px 0 90px; }
.filters { position: sticky; top: calc(var(--sticky-top, 124px) + 74px); max-height: calc(100vh - var(--sticky-top, 124px) - 92px); overflow-y: auto; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); scrollbar-width: thin; }
.f-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line-2); position: sticky; top: 0; background: var(--surface); z-index: 2; }
.f-head b { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 16px; color: var(--heading); }
.f-head b svg { width: 18px; height: 18px; color: var(--primary-text); }
.f-head .x { display: none; }
.f-sec { border-bottom: 1px solid var(--line-2); }
.f-sec:last-child { border-bottom: 0; }
.f-sec > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 18px; font-size: 14px; font-weight: 700; color: var(--heading); text-align: start; }
.f-sec > button svg { width: 16px; height: 16px; color: var(--muted-2); transition: transform .2s; }
.f-sec.closed > button svg { transform: rotate(-90deg); }
[dir="rtl"] .f-sec.closed > button svg { transform: rotate(90deg); }
.f-sec.closed .f-body { display: none; }
.f-body { padding: 0 12px 14px; }
.f-body .input { height: 38px; font-size: 13px; margin-bottom: 8px; border-radius: 10px; }
.f-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border-radius: 9px; font-size: 13.5px; text-align: start; color: var(--text); transition: background .12s; }
.f-opt:hover { background: var(--surface-2); }
.f-opt .cb { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 5px; border: 1.5px solid var(--line-3); display: grid; place-items: center; color: transparent; transition: background .12s, border-color .12s; }
.f-opt .cb svg { width: 12px; height: 12px; }
.f-opt.on .cb { background: var(--primary); border-color: var(--primary); color: #1a0d03; }
.f-opt span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-opt small { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); }
.f-opt.on span { font-weight: 600; color: var(--heading); }
.f-opt.zero { opacity: .4; }
.f-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.f-pills .chip { height: 32px; font-size: 12.5px; padding: 0 11px; }
.f-more { margin: 6px 8px 0; font-size: 12.5px; font-weight: 700; color: var(--primary-text); }
.f-foot { display: none; }
.res-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.res-head h1 { font-size: 18px; }
.res-head p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.res-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.res-tools select { height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-2); color: var(--heading); font-size: 13.5px; cursor: pointer; outline: 0; }
.view-toggle { display: flex; padding: 3px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.view-toggle button { width: 38px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); }
.view-toggle button.on { background: var(--surface-3); color: var(--primary-text); box-shadow: var(--shadow-1); }
.view-toggle svg { width: 17px; height: 17px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch i { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-3); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: inset-inline-start .2s, background .2s; }
.switch input:checked + i { background: var(--primary); border-color: var(--primary); }
.switch input:checked + i::after { inset-inline-start: 16px; background: #1a0d03; }
.f-toggle { display: none; }
.active-f { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-f:empty { display: none; }
.active-f .chip { height: 32px; background: var(--primary-soft); border-color: rgba(232, 131, 58, .3); color: var(--primary-text); padding-inline: 12px 6px; }
.active-f .chip button { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; }
.active-f .chip button:hover { background: rgba(232, 131, 58, .2); }
.active-f .chip button svg { width: 13px; height: 13px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; font-family: var(--mono); font-size: 14px; }
.pager button:hover { border-color: var(--primary); }
.pager button.on { background: var(--primary); color: #1a0d03; border-color: var(--primary); }
.pager span { color: var(--muted-2); padding: 0 4px; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 70px 20px; border-radius: var(--radius-lg); border: 1.5px dashed var(--line-3); background: var(--surface); }
.empty .ei { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); }
.empty .ei svg { width: 32px; height: 32px; }
.empty h3 { font-size: 20px; }
.empty p { color: var(--muted); max-width: 460px; }
.empty .acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---------------- product page ---------------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; padding: 28px 0 60px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--sticky-top, 124px) + 20px); }
.pd-main-img { position: relative; aspect-ratio: 1; border-radius: var(--radius-xl); background: var(--media-bg); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; cursor: zoom-in; }
.pd-main-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at 50% 0, rgba(232, 131, 58, .1), transparent 60%); }
.pd-main-img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: var(--img-blend); transition: transform .3s var(--ease); }
.pd-main-img img.cat-fallback { width: 100%; height: 100%; object-fit: cover; }
.pd-main-img.zoom img { transform: scale(1.8); cursor: zoom-out; }
.pd-main-img .p-ph { width: 150px; height: 150px; border-radius: 40px; }
.pd-main-img .p-ph svg { width: 64px; height: 64px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs button { width: 76px; height: 76px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); overflow: hidden; display: grid; place-items: center; }
.pd-thumbs button.on { border-color: var(--primary); }
.pd-thumbs img { width: 80%; height: 80%; object-fit: contain; }
.pd-info .crumbs { margin-bottom: 16px; }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-info h1 { margin-top: 14px; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; }
.pd-sub { margin-top: 8px; color: var(--muted); font-size: 15px; }
.pd-ids { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.pd-ids b { color: var(--heading); font-family: var(--mono); font-weight: 600; }
.pd-ids button { display: inline-flex; align-items: center; gap: 4px; color: var(--muted-2); }
.pd-ids button svg { width: 14px; height: 14px; }
.pd-box { margin-top: 22px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.pd-price b { font-family: var(--font-head); font-size: 36px; color: var(--heading); }
.pd-price s { color: var(--muted-2); }
.pd-price small { color: var(--muted); }
.pd-quote-note { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-text); font-size: 13.5px; margin-bottom: 16px; }
.pd-quote-note svg { width: 22px; height: 22px; flex: 0 0 22px; }
.pd-buy { display: grid; grid-template-columns: 160px 1fr; gap: 10px; }
.pd-buy .qty-step { height: 54px; }
.pd-buy .btn { height: 54px; }
.pd-note { margin-top: 10px; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.pd-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.pd-perks div { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.pd-perks svg { width: 20px; height: 20px; color: var(--primary-text); }
.pd-perks b { color: var(--heading); font-size: 13px; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table th, .specs-table td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--line-2); }
.specs-table th { width: 38%; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.specs-table td { color: var(--heading); }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: 0; }
.card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.card-h h2, .card-h h3 { font-size: 17px; }
.card-b { padding: 20px; }
.variants { width: 100%; border-collapse: collapse; font-size: 14px; }
.variants th { padding: 11px 16px; background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--muted); text-align: start; white-space: nowrap; }
.variants td { padding: 10px 16px; border-top: 1px solid var(--line-2); vertical-align: middle; color: var(--text); }
.variants tr:hover td { background: var(--surface-2); }
.variants tr.cur td { background: var(--primary-soft); }
.variants .btn { height: 36px; }
.variants .qty-step { height: 36px; width: 130px; flex: 0 0 auto; }
.variants .qty-step button { width: 32px; }
.table-wrap { overflow-x: auto; }

/* ---------------- basket & checkout ---------------- */
.steps-bar { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.steps-bar span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.steps-bar span i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 12px; border: 1px solid var(--line-3); }
.steps-bar span.on { color: var(--heading); }
.steps-bar span.on i { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.steps-bar span.done i { background: var(--primary); color: #1a0d03; border-color: var(--primary); }
.steps-bar b { width: 28px; height: 1px; background: var(--line-3); }
.q-layout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 24px; align-items: start; padding: 30px 0 90px; }
.q-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.q-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; }
.q-tabs button.on { background: var(--surface-3); color: var(--heading); }
.q-tabs svg { width: 18px; height: 18px; }
.q-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); align-items: center; }
.q-item:last-child { border-bottom: 0; }
.q-img { width: 76px; height: 76px; border-radius: 14px; background: var(--media-bg); border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; color: var(--primary-text); }
.q-img img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: var(--img-blend); }
.q-img img.cat-fallback { width: 100%; height: 100%; object-fit: cover; }
.q-img svg { width: 28px; height: 28px; }
.q-name b { display: block; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--heading); }
.q-name small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.q-name .note-in { margin-top: 8px; height: 36px; font-size: 13px; border-radius: 9px; }
.q-line-price { margin-top: 6px; font-size: 13px; color: var(--accent-text); font-weight: 600; }
.q-ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.q-ctrl .qty-step { width: 140px; height: 40px; flex: 0 0 auto; }
.q-ctrl .unit { font-size: 12px; color: var(--muted); }
.q-del { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.q-del:hover { color: var(--bad); }
.q-del svg { width: 14px; height: 14px; }
.q-summary { position: sticky; top: calc(var(--sticky-top, 124px) + 20px); }
.sum-rows { display: grid; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 10px; }
.sum-rows span { color: var(--muted); }
.sum-rows b { font-family: var(--mono); color: var(--heading); }
.sum-rows .grand { padding-top: 10px; border-top: 1px dashed var(--line-3); font-size: 18px; }
.sum-rows .grand b { color: var(--accent-text); }
.sum-note { font-size: 12.5px; color: var(--primary-text); display: flex; gap: 8px; align-items: flex-start; }
.sum-note svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; }
.q-form { display: grid; gap: 14px; padding: 20px; }
.q-form h4 { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
html[lang="ar"] .q-form h4, html[lang="ur"] .q-form h4 { letter-spacing: 0; }
.success { text-align: center; padding: 56px 24px; }
.success .si { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); box-shadow: 0 0 0 14px rgba(61, 220, 151, .06), 0 0 60px rgba(61, 220, 151, .35); }
.success .si svg { width: 42px; height: 42px; }
.success h2 { margin-top: 24px; font-size: 30px; }
.success p { margin-top: 10px; color: var(--muted); }
.code-box { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 22px; border-radius: 16px; border: 1.5px dashed var(--primary); color: var(--heading); font-family: var(--mono); font-size: 24px; font-weight: 600; letter-spacing: .08em; direction: ltr; background: var(--primary-soft); }
.success .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.wa-countdown { margin-top: 14px; font-size: 13px; color: var(--muted); }
.qo-preview { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-height: 340px; overflow-y: auto; }
.qo-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) 80px; gap: 10px; padding: 10px 14px; font-size: 13.5px; border-bottom: 1px solid var(--line-2); align-items: center; }
.qo-row:last-child { border-bottom: 0; }
.qo-row.bad { background: var(--bad-soft); color: var(--bad); }
.qo-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }

/* track */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; top: 30px; bottom: 0; inset-inline-start: 14px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .tdot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--muted-2); flex: 0 0 30px; z-index: 1; }
.timeline .tdot svg { width: 15px; height: 15px; }
.timeline li.done .tdot { background: var(--primary); color: #1a0d03; }
.timeline li.cur .tdot { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--accent-soft); }
.timeline b { display: block; font-size: 14.5px; color: var(--heading); }
.timeline small { color: var(--muted); font-size: 12.5px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 13px; }
.st-new, .st-reviewing { background: var(--accent-soft); color: var(--accent-text); }
.st-priced, .st-sent { background: var(--primary-soft); color: var(--primary-text); }
.st-won { background: var(--ok-soft); color: var(--ok); }
.st-lost, .st-cancelled { background: var(--surface-3); color: var(--muted); }

/* content pages */
.prose { max-width: 760px; font-size: 16.5px; line-height: 1.95; color: var(--text); }
.prose p + p { margin-top: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.stat-card b { display: block; font-family: var(--font-head); font-size: 40px; color: var(--heading); direction: ltr; text-align: start; }
[dir="rtl"] .stat-card b { text-align: right; }
.stat-card span { color: var(--muted); font-size: 14px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.c-list { display: grid; gap: 12px; }
.c-item { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.c-item:hover { border-color: var(--primary); }
.c-item .ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); flex: 0 0 48px; }
.c-item .ci svg { width: 22px; height: 22px; }
.c-item b { display: block; font-size: 15px; color: var(--heading); }
.c-item span { color: var(--muted); font-size: 13.5px; }

/* footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--muted); }
.ft-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 36px 0; border-bottom: 1px solid var(--line-2); }
.ft-cta h3 { font-size: 24px; }
.ft-cta p { font-size: 14px; margin-top: 4px; }
.ft-main { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 56px 0 40px; }
.ft-main p { margin-top: 16px; font-size: 14px; line-height: 1.85; max-width: 360px; }
.ft-main h4 { color: var(--heading); font-size: 15px; margin-bottom: 16px; }
.ft-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.ft-main a:hover { color: var(--primary-text); }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); transition: background .15s, color .15s, border-color .15s; }
.social a:hover { background: var(--primary); border-color: var(--primary); color: #1a0d03; }
.social svg { width: 18px; height: 18px; }
.ft-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted-2); }
.ft-bottom .tools { display: flex; gap: 8px; }

/* drawers, toasts, fab, sticky basket */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 95; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--elev); border-inline-start: 1px solid var(--line); box-shadow: var(--shadow-3); transform: translateX(105%); transition: transform .35s var(--ease); }
[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.open { transform: none !important; }
.drawer.start { inset-inline-end: auto; inset-inline-start: 0; border-inline-start: 0; border-inline-end: 1px solid var(--line); transform: translateX(-105%); }
[dir="rtl"] .drawer.start { transform: translateX(105%); }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.dr-head h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.dr-body { flex: 1; overflow-y: auto; }
.dr-foot { padding: 16px 20px; border-top: 1px solid var(--line-2); display: grid; gap: 10px; }
.mini-item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line-2); }
.mini-item .q-img { width: 58px; height: 58px; border-radius: 12px; }
.mini-item b { font-size: 13.5px; font-weight: 600; color: var(--heading); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-item small { font-size: 12px; color: var(--muted); }
.mini-item .qty { font-family: var(--mono); font-weight: 600; font-size: 13px; padding: 4px 10px; border-radius: 8px; background: var(--surface-2); color: var(--heading); }
.mnav { display: grid; gap: 2px; padding: 12px; }
.mnav a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 12px; font-weight: 600; color: var(--text); }
.mnav a:hover { background: var(--surface-2); }
.mnav svg { width: 20px; height: 20px; color: var(--muted); }
.mnav hr { border: 0; border-top: 1px solid var(--line-2); margin: 8px 0; }
.toasts { position: fixed; z-index: 120; bottom: 24px; inset-inline-start: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
[dir="rtl"] .toasts { transform: translateX(50%); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--elev); border: 1px solid var(--line-3); color: var(--heading); box-shadow: var(--shadow-3); font-size: 14px; pointer-events: auto; animation: toastIn .3s var(--ease); }
.toast svg { width: 20px; height: 20px; color: var(--accent-text); flex: 0 0 20px; }
.toast.err svg { color: var(--bad); }
.toast span { flex: 1; }
.toast button { color: var(--primary-text); font-weight: 700; font-size: 13px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.wa-fab { position: fixed; z-index: 55; bottom: 22px; inset-inline-start: 22px; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 16px 34px -12px rgba(37, 211, 102, .7); transition: transform .2s var(--ease); }
.wa-fab:hover { transform: translateY(-3px) scale(1.04); }
.wa-fab svg { width: 28px; height: 28px; }
.basket-bar { position: fixed; z-index: 56; bottom: 20px; inset-inline-end: 22px; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 18px; background: var(--elev); border: 1px solid var(--line-3); box-shadow: var(--shadow-3); animation: toastIn .35s var(--ease); }
[dir="rtl"] .basket-bar { padding: 8px 18px 8px 8px; }
.basket-bar .bb-t { font-size: 13px; color: var(--muted); }
.basket-bar .bb-t b { display: block; color: var(--heading); font-size: 14.5px; }
.basket-bar .btn { height: 44px; }
.bnav { display: none; }
.fly { position: fixed; z-index: 130; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(245, 179, 1, .3), 0 0 20px var(--accent); pointer-events: none; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1200px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sol-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid .tool-card:first-child { grid-column: span 2; }
  .mega-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .q-layout { grid-template-columns: minmax(0, 1fr) 380px; }
  .nav-right .hide-md { display: none; }
}
@media (max-width: 980px) {
  .hdr-nav { display: none; }
  .hdr-search { display: none; }
  .hdr-search.open { display: block; position: absolute; top: 100%; inset-inline: 0; max-width: none; padding: 10px 16px; background: var(--elev); border-bottom: 1px solid var(--line); }
  .m-only { display: inline-grid !important; }
  .hide-sm { display: none !important; }
  .hero-in { grid-template-columns: 1fr; padding: 52px 0 64px; gap: 40px; }
  .trust-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 95; width: min(380px, 92%); max-height: none; border-radius: 0; transform: translateX(-105%); transition: transform .3s var(--ease); display: flex; flex-direction: column; }
  [dir="rtl"] .filters { transform: translateX(105%); }
  .filters.open { transform: none !important; }
  .filters .f-scroll { flex: 1; overflow-y: auto; }
  .f-head .x { display: inline-grid; }
  .f-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line-2); }
  .f-toggle { display: inline-flex; }
  .pd { grid-template-columns: 1fr; gap: 26px; }
  .pd-gallery { position: static; }
  .q-layout { grid-template-columns: 1fr; }
  .q-summary { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 36px; }
  .cta-band .acts { justify-content: flex-start; }
  .ft-main { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 58; bottom: 0; inset-inline: 0; height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .bnav a, .bnav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); }
  .bnav a.on { color: var(--primary-text); }
  .bnav svg { width: 22px; height: 22px; }
  .bnav .cart-count { position: absolute; top: 6px; inset-inline-start: calc(50% + 4px); min-width: 18px; height: 18px; font-size: 10.5px; background: var(--accent); color: var(--accent-ink); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .wa-fab { bottom: calc(82px + env(safe-area-inset-bottom)); width: 50px; height: 50px; border-radius: 16px; }
  .basket-bar { display: none; }
  .toasts { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .cart-btn .lbl { display: none; }
  .cart-btn { padding: 0 12px; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { width: calc(100% - 32px); }
  .hdr-main { height: 64px; gap: 8px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text b { font-size: 17px; }
  .logo-text small { display: none; }
  .pill-btn { height: 38px; padding: 0 9px; }
  .pill-btn .lbl { display: none; }
  .section { padding: 60px 0; }
  .hero h1 { font-size: 38px; }
  .hero-search .search-field { height: 58px; padding-inline: 14px 6px; }
  .hero-search .search-field .btn { padding: 0 16px; height: 46px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(3) { border-inline-start: 0; }
  .hero-stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hero-pop a:nth-child(n + 5) { display: none; }
  .trust-item { padding: 16px 10px; gap: 10px; }
  .trust-item .ti { width: 38px; height: 38px; flex-basis: 38px; }
  .trust-item span { display: none; }
  .bento-card.big { grid-column: span 2; grid-row: span 1; padding: 22px; }
  .bento-card.big p { display: none; }
  .bento-card.wide { grid-column: span 1; }
  .tools-grid { grid-template-columns: 1fr; }
  .tools-grid .tool-card:first-child { grid-column: auto; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-body { padding: 12px; gap: 6px; }
  .p-title { font-size: 13.5px; }
  .p-meta span:nth-child(n + 2) { display: none; }
  .p-add { padding: 0 12px 12px; }
  .p-add .btn { height: 40px; font-size: 13px; padding: 0 10px; }
  .p-add .btn .lbl { display: none; }
  .p-avail { display: none; }
  .qty-step button { width: 32px; }
  .p-grid.list .p-card { flex-wrap: wrap; }
  .p-grid.list .p-media { width: 92px; flex-basis: 92px; }
  .p-grid.list .p-body { flex: 1; min-width: 0; }
  .p-grid.list .p-add { width: 100%; flex-basis: 100%; padding-top: 0; }
  .sol-grid, .steps { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .ft-main { grid-template-columns: 1fr; gap: 28px; }
  .pd-buy { grid-template-columns: 1fr; }
  .pd-perks { grid-template-columns: 1fr; }
  .q-item { grid-template-columns: 62px minmax(0, 1fr); padding: 14px 16px; }
  .q-img { width: 62px; height: 62px; }
  .q-ctrl { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-band { padding: 28px 22px; }
  .res-tools .view-toggle { display: none; }
  .code-box { font-size: 19px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .steps-bar b { width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .announce, .bnav, .wa-fab, .toasts, .basket-bar, .no-print { display: none !important; }
  :root, [data-theme] { --bg: #fff; --surface: #fff; --text: #000; --heading: #000; --muted: #444; --line: #ccc; }
}

/* ================= v3 additions: navigation, accounts, shipping ================= */
/* quick-find command palette (Ctrl/⌘ + K) */
.cmdk-bg { position: fixed; inset: 0; z-index: 140; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 9vh 16px 16px; animation: fadeIn .15s; }
@keyframes fadeIn { from { opacity: 0; } }
.cmdk { width: min(720px, 100%); max-height: 80vh; display: flex; flex-direction: column; border-radius: 22px; background: var(--elev); border: 1px solid var(--line-3); box-shadow: var(--shadow-3); overflow: hidden; animation: drop .2s var(--ease); }
.cmdk-in { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 64px; border-bottom: 1px solid var(--line); }
.cmdk-in svg { width: 22px; height: 22px; color: var(--primary-text); }
.cmdk-in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; color: var(--heading); }
.cmdk-in .kbd { cursor: pointer; }
.cmdk-body { overflow-y: auto; padding: 10px; }
.cmdk-body .suggest { position: static; max-height: none; box-shadow: none; border: 0; padding: 0; background: none; animation: none; }
.cmdk-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; padding: 4px; }
.cmdk-cats a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--heading); }
.cmdk-cats a:hover { border-color: var(--primary); }
.cmdk-cats a span.ci { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); flex: 0 0 34px; overflow: hidden; }
.cmdk-cats a span.ci img { width: 100%; height: 100%; object-fit: cover; }
.cmdk-cats a span.ci svg { width: 18px; height: 18px; }
.cmdk-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted-2); }
.cmdk-foot .kbd { margin-inline-end: 4px; }

/* back to top */
.to-top { position: fixed; z-index: 54; bottom: 90px; inset-inline-start: 22px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--elev); border: 1px solid var(--line-3); color: var(--heading); box-shadow: var(--shadow-2); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }

/* quick category rail on home (under the hero) */
.quick-rail { position: relative; z-index: 3; margin-top: -34px; }
.quick-rail .rail { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px 12px; }
.quick-rail .rail::-webkit-scrollbar { display: none; }
.quick-rail a { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 118px; height: 108px; border-radius: 18px; background: var(--elev); border: 1px solid var(--line); box-shadow: var(--shadow-2); text-align: center; font-size: 12.5px; font-weight: 600; color: var(--heading); padding: 10px; transition: transform .2s var(--ease), border-color .2s; }
.quick-rail a:hover { transform: translateY(-3px); border-color: var(--primary); }
.quick-rail a .qi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); overflow: hidden; }
.quick-rail a .qi img { width: 100%; height: 100%; object-fit: cover; }
.quick-rail a .qi svg { width: 22px; height: 22px; }

/* need-based shortcuts */
.needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.need { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, transform .25s var(--ease); }
.need:hover { border-color: var(--primary); transform: translateY(-3px); }
.need .ni { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.need .ni svg { width: 24px; height: 24px; }
.need h3 { font-size: 17px; }
.need p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.need .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.need .tags span { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); }

/* account */
.acct-wrap { padding: 34px 0 90px; }
.auth-box { width: min(480px, 100%); margin: 0 auto; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; }
.auth-tabs button { height: 44px; border-radius: 10px; font-weight: 700; color: var(--muted); }
.auth-tabs button.on { background: var(--surface-3); color: var(--heading); }
.acct-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.acct-side { position: sticky; top: calc(var(--sticky-top, 124px) + 20px); }
.acct-me { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line-2); }
.acct-me .av { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(140deg, var(--primary), var(--accent)); color: #1a0d03; font-family: var(--font-head); font-weight: 800; font-size: 20px; flex: 0 0 48px; }
.acct-me b { display: block; color: var(--heading); }
.acct-me small { color: var(--muted); font-size: 12.5px; word-break: break-all; }
.acct-nav { display: grid; padding: 8px; }
.acct-nav button { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 11px; font-weight: 600; color: var(--muted); text-align: start; }
.acct-nav button:hover { background: var(--surface-2); color: var(--heading); }
.acct-nav button.on { background: var(--primary-soft); color: var(--primary-text); }
.acct-nav svg { width: 19px; height: 19px; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.order-row:last-child { border-bottom: 0; }
.order-row b { font-family: var(--mono); color: var(--heading); }
.order-row small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.order-row .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hdr-user { position: relative; }
.hdr-user .av { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(140deg, var(--primary), var(--accent)); color: #1a0d03; font-weight: 800; font-size: 12px; }
.login-hint { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-text); font-size: 13.5px; margin-bottom: 16px; }
.login-hint svg { width: 20px; height: 20px; flex: 0 0 20px; }
.login-hint a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ship-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--accent-text); font-weight: 600; }
.ship-line svg { width: 16px; height: 16px; }

@media (max-width: 980px) {
  .needs { grid-template-columns: 1fr 1fr; }
  .acct-grid { grid-template-columns: 1fr; }
  .acct-side { position: static; }
  .to-top { bottom: calc(146px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
  .quick-rail { margin-top: -26px; }
}
@media (max-width: 640px) {
  .needs { grid-template-columns: 1fr; }
  .quick-rail a { width: 96px; height: 94px; font-size: 11.5px; }
  .cmdk-bg { padding: 0; }
  .cmdk { max-height: 100vh; height: 100%; border-radius: 0; }
  .order-row { grid-template-columns: 1fr; }
  .order-row .acts { justify-content: flex-start; }
}
/* ---------- v4: order tracking (progress, shipment, inline order view) ---------- */
.ov-prog { position: relative; padding-top: 4px; }
.ov-prog .ov-bar { position: absolute; top: 22px; inset-inline: 10%; height: 4px; border-radius: 4px; background: var(--line-3); overflow: hidden; }
.ov-prog .ov-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p); background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 4px; transition: width .6s ease; }
[dir="rtl"] .ov-prog .ov-bar i { background: linear-gradient(270deg, var(--primary), var(--accent)); }
.ov-prog ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.ov-prog li { display: grid; justify-items: center; gap: 8px; text-align: center; }
.ov-prog li span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--muted-2); border: 2px solid var(--line-3); transition: .3s; }
.ov-prog li span svg { width: 18px; height: 18px; }
.ov-prog li b { font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.35; }
.ov-prog li.done span { background: var(--primary); border-color: var(--primary); color: #1a0d03; }
.ov-prog li.done b { color: var(--text); }
.ov-prog li.cur span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--accent-soft); animation: ovPulse 2s ease-in-out infinite; }
.ov-prog li.cur b { color: var(--heading); font-weight: 800; }
@keyframes ovPulse { 50% { box-shadow: 0 0 0 10px transparent; } }
.ov-prog.sm .ov-bar { top: 13px; height: 3px; }
.ov-prog.sm li span { width: 26px; height: 26px; border-width: 1.5px; }
.ov-prog.sm li span svg { width: 13px; height: 13px; }
.ov-prog.sm li b { font-size: 11px; }
.ov-prog.sm li.cur span { box-shadow: 0 0 0 4px var(--accent-soft); }
.ov-closed { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface-3); color: var(--muted); }
.ov-closed svg { width: 18px; height: 18px; }
.ov-ship { padding: 18px 20px; display: grid; gap: 14px; }
.ov-ship.muted { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13.5px; }
.ov-ship.muted p { margin: 0; }
.ov-ship.muted svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--primary-text); }
.ov-ship-h { display: flex; gap: 12px; align-items: center; }
.ov-ship-h b { display: block; font-size: 15px; color: var(--heading); }
.ov-ship-h small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.ov-ship-i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: 0 0 auto; }
.ov-ship-i svg { width: 22px; height: 22px; }
.ov-kv { display: grid; gap: 8px; font-size: 13.5px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); }
.ov-kv:empty { display: none; }
.ov-kv > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ov-kv span { color: var(--muted); }
.ov-kv b { color: var(--heading); font-weight: 700; text-align: end; display: inline-flex; align-items: center; gap: 6px; }
.ov-copy { width: 26px; height: 26px; border-radius: 7px; display: inline-grid; place-items: center; color: var(--muted); background: var(--surface-3); }
.ov-copy svg { width: 13px; height: 13px; }
.ov-copy:hover { color: var(--heading); }
.ov-wrap { display: grid; gap: 16px; }
.ov-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ov-items { display: grid; }
.ov-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line-2); }
.ov-item:last-child { border-bottom: 0; }
.ov-img { width: 52px; height: 52px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; color: var(--muted-2); }
.ov-img img { width: 100%; height: 100%; object-fit: contain; }
.ov-img svg { width: 22px; height: 22px; }
.ov-item b { display: block; font-size: 14px; color: var(--heading); font-weight: 600; line-height: 1.5; }
.ov-item b a:hover { color: var(--primary-text); }
.ov-item small { display: block; color: var(--muted); font-size: 12px; }
.ov-item > .mono { text-align: end; font-size: 13.5px; color: var(--heading); }
.ov-item > .mono small { font-size: 12px; margin-top: 2px; }
.ov-hist li { padding-bottom: 16px; }
.order-card { border-bottom: 1px solid var(--line-2); }
.order-card:last-child { border-bottom: 0; }
.ship-chip { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text) !important; font-size: 12px; width: fit-content; }
.ship-chip svg { width: 13px; height: 13px; }
@media (max-width: 860px) { .ov-cols { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ov-prog li b { font-size: 10.5px; } .ov-prog li span { width: 34px; height: 34px; } .ov-prog .ov-bar { top: 19px; } .ov-prog.sm li b { display: none; } .ov-item { padding: 10px 14px; } }
.q-layout > *, .ov-cols > *, .acct-grid > * { min-width: 0; }
.table-wrap { overflow-x: auto; max-width: 100%; }
@media (max-width: 440px) { .hdr-actions > .theme-btn, .hdr-actions > .lang-wrap { display: none; } .hdr-actions { gap: 6px; } }
.ov-img { position: relative; } .ov-img img { position: absolute; inset: 0; background: var(--surface-2); }

/* ---------- v5: SEO pages (categories, brands, guides, FAQ, shipping) ---------- */
.seo-hero h1 { max-width: 900px; }
.seo-hero p { max-width: 860px; line-height: 1.9; }
.seo-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.seo-stats span { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.seo-stats b { font-family: var(--mono); font-size: 18px; color: var(--accent-text); }
.seo-hero-b { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.seo-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.seo-meta span + span::before { content: "•"; margin-inline-end: 18px; opacity: .5; }
.seo-body { padding-block: 30px 80px; display: grid; gap: 38px; }
.seo-sec h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 16px; color: var(--heading); }
.seo-lead { color: var(--muted); line-height: 1.95; font-size: 15.5px; margin: 0; max-width: 900px; }
.seo-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.seo-points li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 14.5px; line-height: 1.6; }
.seo-points svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--accent-text); margin-top: 3px; }
.seo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-chips a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 13.5px; font-weight: 600; transition: border-color .15s, color .15s; }
.seo-chips a:hover { border-color: var(--primary); color: var(--primary-text); }
.seo-chips small { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); }
.seo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.seo-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.seo-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.seo-img { position: relative; width: 64px; height: 64px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; color: var(--muted-2); }
.seo-img svg { width: 24px; height: 24px; }
.seo-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--surface-2); }
.seo-card-b { min-width: 0; display: grid; gap: 4px; }
.seo-card-b b { font-size: 14px; line-height: 1.5; color: var(--heading); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seo-card-b small { color: var(--muted); font-size: 12px; }
.seo-card-b em { font-style: normal; font-size: 12.5px; color: var(--accent-text); font-weight: 700; }
.seo-sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.seo-sizes i { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--surface-3); color: var(--muted); font-family: var(--mono); direction: ltr; }
.seo-more { margin: 18px 0 0; text-align: center; }
.seo-faq { display: grid; gap: 10px; }
.seo-faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.seo-faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; color: var(--heading); display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--primary-text); transition: transform .2s; }
.seo-faq details[open] summary::after { transform: rotate(45deg); }
.seo-faq p { margin: 0; padding: 0 18px 18px; color: var(--muted); line-height: 1.9; font-size: 14.5px; }
.seo-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 28px; border-radius: 22px; background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft)); border: 1px solid var(--line-3); }
.seo-cta h2 { margin: 0 0 6px; font-size: 22px; color: var(--heading); }
.seo-cta p { margin: 0; color: var(--muted); max-width: 620px; line-height: 1.8; }
.seo-cta-b { display: flex; gap: 10px; flex-wrap: wrap; }
.seo-cta-b svg { width: 18px; height: 18px; }
.seo-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.seo-guide { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.seo-guide:hover { border-color: var(--primary); transform: translateY(-2px); }
.seo-guide > span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-text); }
.seo-guide > span svg { width: 21px; height: 21px; }
.seo-guide > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.seo-guide b { color: var(--heading); font-size: 15.5px; line-height: 1.55; }
.seo-guide small { color: var(--muted); font-size: 13px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.seo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; counter-reset: s; }
.seo-steps li { counter-increment: s; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.seo-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-family: var(--mono); }
.seo-steps b { color: var(--heading); }
.seo-steps small { color: var(--muted); font-size: 13px; line-height: 1.7; }
.seo-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.seo-regions a { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s; }
.seo-regions a:hover { border-color: var(--primary); }
.seo-regions svg { grid-row: span 3; width: 26px; height: 26px; color: var(--primary-text); }
.seo-regions b { color: var(--heading); font-size: 14.5px; }
.seo-regions small { color: var(--muted); font-size: 12px; }
.seo-regions em { font-style: normal; font-family: var(--mono); font-size: 12.5px; color: var(--accent-text); direction: ltr; text-align: start; }
.seo-table, .prose-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 14px; overflow: hidden; font-size: 14px; }
.seo-table th, .seo-table td, .prose-table th, .prose-table td { padding: 11px 14px; text-align: start; border-bottom: 1px solid var(--line-2); }
.seo-table th, .prose-table th { background: var(--surface-2); color: var(--muted); font-size: 12.5px; font-weight: 700; }
.seo-table b { font-family: var(--mono); color: var(--heading); }
.seo-note { margin: 12px 0 0; color: var(--accent-text); font-size: 14px; }
.seo-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.seo-aside { position: sticky; top: 96px; display: grid; gap: 12px; }
.seo-toc { padding: 18px; }
.seo-toc b { display: block; margin-bottom: 10px; color: var(--heading); }
.seo-toc ol { margin: 0; padding-inline-start: 18px; display: grid; gap: 8px; font-size: 13.5px; }
.seo-toc a { color: var(--muted); }
.seo-toc a:hover { color: var(--primary-text); }
.seo-aside-cat { display: grid; gap: 4px; padding: 16px 18px; position: relative; }
.seo-aside-cat small { color: var(--muted); font-size: 12px; }
.seo-aside-cat b { color: var(--heading); }
.seo-aside-cat svg { position: absolute; inset-inline-end: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--primary-text); }
[dir="rtl"] .seo-aside-cat svg, [dir="rtl"] .seo-hero-b svg, [dir="rtl"] .seo-more svg { transform: scaleX(-1); }
.seo-hero-b svg, .seo-more svg { width: 18px; height: 18px; }
.prose { font-size: 16px; line-height: 2; color: var(--text); max-width: 820px; }
.prose h2 { font-size: 23px; margin: 34px 0 12px; color: var(--heading); scroll-margin-top: 90px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; color: var(--heading); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-inline-start: 22px; display: grid; gap: 6px; }
.prose strong { color: var(--heading); }
.prose a { color: var(--primary-text); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 0 0 18px; padding: 14px 18px; border-inline-start: 4px solid var(--accent); background: var(--accent-soft); border-radius: 10px; color: var(--text); }
.prose code { font-family: var(--mono); font-size: 13.5px; padding: 2px 6px; border-radius: 6px; background: var(--surface-3); }
.prose .table-wrap { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.prose-cover { width: 100%; border-radius: 18px; margin-bottom: 22px; }
@media (max-width: 960px) { .seo-article { grid-template-columns: 1fr; } .seo-aside { position: static; order: -1; } .seo-toc { display: none; } }
@media (max-width: 560px) { .seo-grid { grid-template-columns: 1fr; } .seo-cta { padding: 20px; } .seo-body { gap: 30px; } .prose { font-size: 15.5px; } }

/* ---------- v6: copper identity touches + simple checkout ---------- */
.site-header::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, #b8561a 15%, #e8833a 40%, #f5b301 60%, #e8833a 80%, transparent); opacity: .55; pointer-events: none; }
.site-header { position: sticky; }
.q-simple { gap: 14px; }
.q-simple .field > span { font-size: 13px; font-weight: 600; }
.q-simple .hint { color: var(--muted-2); font-size: 12px; }
.login-hint { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-text); font-size: 13px; font-weight: 600; }
.login-hint > svg { width: 18px; height: 18px; flex: 0 0 auto; }
.login-hint > span { flex: 1; }
.seg-opts.pay label span { font-size: 13px; }
.pickup-card { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--line-3); }
.pickup-card svg { width: 22px; height: 22px; color: var(--primary-text); flex: 0 0 auto; }
.pickup-card b { display: block; font-size: 14px; color: var(--heading); }
.pickup-card a { font-size: 12.5px; color: var(--primary-text); text-decoration: underline; text-underline-offset: 3px; }
.q-more { border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); padding: 0 14px; }
.q-more > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.q-more > summary::-webkit-details-marker { display: none; }
.q-more > summary svg { width: 16px; height: 16px; transition: transform .2s; }
.q-more[open] > summary svg { transform: rotate(45deg); }
.q-more[open] { padding-bottom: 14px; }
.q-privacy { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 12px; color: var(--muted-2); }
.q-privacy svg { width: 14px; height: 14px; }
.gov-pick { position: relative; }
.gov-pick .gp-ico { position: absolute; inset-inline-start: 12px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted-2); pointer-events: none; }
.gov-pick .gp-ico svg { width: 18px; height: 18px; display: block; }
.gov-pick .gp-in { padding-inline-start: 38px; }
.gov-pick .gp-in.invalid { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
.gp-list { position: absolute; z-index: 40; inset-inline: 0; top: calc(100% + 6px); max-height: 300px; overflow: auto; background: var(--elev); border: 1px solid var(--line-3); border-radius: 14px; box-shadow: var(--shadow-3); padding: 6px; }
.gp-list button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-align: start; color: var(--text); font-size: 14px; }
.gp-list button small { color: var(--muted-2); font-size: 11.5px; }
.gp-list button.on, .gp-list button:hover { background: var(--primary-soft); color: var(--heading); }
.gp-list button.sel b::after { content: " ✓"; color: var(--primary-text); }
.gp-list p { margin: 0; padding: 14px; color: var(--muted); font-size: 13px; text-align: center; }
.hp { position: absolute !important; left: auto !important; right: auto !important; inset-inline-start: 0 !important; top: 0 !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; pointer-events: none !important; }
html, body { overflow-x: clip; }

/* ---------- v7: mobile side menu ---------- */
.mdrawer { width: min(360px, 88vw); }
.mdrawer .dr-head { padding: 14px 16px; }
.mdrawer .dr-body { padding: 14px 14px 8px; display: grid; gap: 16px; align-content: start; }
.md-search { display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; padding: 0 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted-2); font-size: 14px; text-align: start; }
.md-search svg { width: 18px; height: 18px; flex: 0 0 auto; }
.md-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.md-quick a { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 700; color: var(--text); text-align: center; line-height: 1.3; }
.md-quick a svg { width: 21px; height: 21px; color: var(--primary-text); }
.md-quick a:active { background: var(--primary-soft); }
.md-sec h4 { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--muted-2); text-transform: uppercase; }
.md-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.md-cats a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.md-cats a svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--accent-text); }
.md-cats a span { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.md-cats a.more { display: none; }
.md-cats.all a.more { display: flex; }
.md-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 8px; height: 38px; border-radius: 10px; color: var(--primary-text); font-size: 13px; font-weight: 700; }
.md-more svg { width: 16px; height: 16px; transition: transform .2s; }
.md-more.on svg { transform: rotate(180deg); }
.md-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.md-links a { display: flex; align-items: center; gap: 8px; padding: 10px 6px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.md-links a svg { width: 17px; height: 17px; flex: 0 0 auto; }
.md-links a:active { background: var(--surface-2); color: var(--heading); }
.md-foot { display: flex; align-items: center; gap: 8px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); background: var(--surface); }
.md-langs { display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); }
.md-langs a { min-width: 34px; height: 32px; padding: 0 6px; display: grid; place-items: center; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.md-langs a.on { background: var(--primary); color: #1a0d03; }
.md-foot .icon-btn { width: 38px; height: 38px; }
.md-wa { margin-inline-start: auto; height: 38px; padding: 0 12px; font-size: 12.5px; }
.md-wa svg { width: 17px; height: 17px; }
@media (max-width: 360px) { .md-wa span { display: none; } }

/* ---------- v7: popup ads ---------- */
.pop { position: fixed; inset: 0; z-index: 140; pointer-events: none; }
.pop-bg { position: absolute; inset: 0; background: rgba(8, 6, 4, .62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; pointer-events: auto; }
.pop.in .pop-bg { opacity: 1; }
.pop-card { position: absolute; pointer-events: auto; background: var(--elev); color: var(--text); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s, transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.pop-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, #f5b301, #e8833a 45%, rgba(232, 131, 58, .15)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; }
.pop.in .pop-card { opacity: 1; }
.pop-center .pop-card, .pop-image .pop-card { left: 50%; top: 50%; width: min(440px, calc(100vw - 32px)); transform: translate(-50%, -46%) scale(.96); }
.pop-center.in .pop-card, .pop-image.in .pop-card { transform: translate(-50%, -50%) scale(1); }
.pop-image .pop-card { width: min(520px, calc(100vw - 32px)); background: transparent; }
.pop-bottom .pop-card { inset-inline: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; transform: translateY(30px); display: flex; }
.pop-bottom.in .pop-card { transform: none; }
.pop-bottom .pop-media { width: 120px; flex: 0 0 auto; aspect-ratio: auto; }
.pop-bottom .pop-b { padding: 16px 18px; }
.pop-corner .pop-card { inset-inline-end: 18px; bottom: 18px; width: min(330px, calc(100vw - 32px)); transform: translateY(24px); }
.pop-corner.in .pop-card { transform: none; }
.pop-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); }
.pop-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pop-b { padding: 22px 24px 24px; display: grid; gap: 10px; }
.pop-b h3 { margin: 0; font-size: 22px; line-height: 1.35; color: var(--heading); }
.pop-b p { margin: 0; color: var(--muted); line-height: 1.85; font-size: 14.5px; }
.pop-cta { margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; background: linear-gradient(135deg, #f5b301, #e8833a); color: #1a0d03; font-weight: 800; font-size: 15px; box-shadow: 0 14px 34px -14px rgba(232, 131, 58, .9); }
.pop-cta svg { width: 18px; height: 18px; }
.pop-x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 11, 10, .55); color: #fff; backdrop-filter: blur(6px); }
.pop-x svg { width: 16px; height: 16px; }
.pop-imglink { display: block; }
.pop-imglink img { width: 100%; display: block; border-radius: 24px; }
.pop-imglink b { display: block; padding: 40px 24px; font-size: 22px; text-align: center; background: var(--elev); border-radius: 24px; }
.pop-t-dark .pop-card { background: #151311; color: #ede6da; }
.pop-t-dark .pop-b h3 { color: #fffaf1; }
.pop-t-light .pop-card { background: #fffcf7; color: #2b241b; }
.pop-t-light .pop-b h3 { color: #17110a; }
.pop-t-light .pop-b p { color: #6b604f; }
.pop-t-brand .pop-card { background: radial-gradient(120% 80% at 100% 0%, rgba(245, 179, 1, .14), transparent 60%), var(--elev); }
@media (max-width: 560px) { .pop-bottom .pop-media { width: 92px; } .pop-b h3 { font-size: 19px; } .pop-corner .pop-card { inset-inline: 16px; width: auto; } }
.md-quick a.md-acct { background: linear-gradient(145deg, rgba(245, 179, 1, .2), rgba(232, 131, 58, .14)); border: 1.5px solid #e8833a; color: var(--heading); box-shadow: 0 8px 22px -12px rgba(232, 131, 58, .8); position: relative; }
.md-quick a.md-acct svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: linear-gradient(135deg, #f5b301, #e8833a); color: #1a0d03; }
