/* =========================================================
   SmartTek.ma — design system
   ========================================================= */
:root {
  --ink: #0b1220;
  --ink-2: #16203a;
  --ink-3: #24304f;
  --sun: #ffb020;
  --sun-2: #ff7a18;
  --sun-soft: #fff4dc;
  --bg: #f5f6fa;
  --card: #ffffff;
  --line: #e5e8f0;
  --text: #121826;
  --muted: #5d6679;
  --green: #0fa968;
  --red: #ef4444;
  --wa: #25d366;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -8px rgba(16, 24, 40, .10);
  --shadow-lg: 0 24px 60px -20px rgba(11, 18, 32, .35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
#app:focus { outline: none; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.muted-light { color: #8b95ab; font-size: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; border: 1.5px solid transparent; }
.btn:active { transform: scale(.98); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-sun { background: linear-gradient(135deg, var(--sun), var(--sun-2)); color: #1b1200; box-shadow: 0 8px 20px -8px rgba(255, 122, 24, .7); }
.btn-sun:hover { box-shadow: 0 12px 28px -8px rgba(255, 122, 24, .85); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn-wa { background: var(--wa); color: #05290f; }
.btn-wa:hover { filter: brightness(1.05); }
.btn-icon { width: 46px; padding: 0; flex: none; }
.btn-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:disabled { opacity: .6; pointer-events: none; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: #d7dceb; font-size: 13px; }
.topbar-in { display: flex; justify-content: center; gap: 36px; height: 36px; align-items: center; }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(16, 24, 40, .25); }
.header-in { display: flex; align-items: center; gap: 28px; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; position: relative; overflow: hidden; }
.logo-mark::before { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 176, 32, .5) 85%, transparent); animation: spin 6s linear infinite; }
.logo-mark span { width: 18px; height: 18px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 176, 32, .25); position: relative; }
.logo-mark span::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--ink); }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.03em; color: var(--ink); }
.logo-text b { color: var(--sun-2); font-weight: 800; }
.logo-text small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 1px; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-mark { background: #1c2744; }
@keyframes spin { to { transform: rotate(360deg); } }

.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: #3a4357; transition: background .2s, color .2s; }
.nav a:hover { background: #eef0f6; color: var(--ink); }
.nav a.active { background: var(--ink); color: #fff; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search { display: flex; align-items: center; background: #eef0f6; border-radius: 999px; padding: 0 6px 0 16px; height: 44px; width: 260px; border: 1.5px solid transparent; transition: border-color .2s, background .2s; }
.search:focus-within { background: #fff; border-color: var(--sun); }
.search input { border: 0; background: none; outline: none; flex: 1; min-width: 0; font-size: 14px; }
.search button svg, .icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.search button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .2s; }
.icon-btn:hover { background: #eef0f6; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--sun-2); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.cart-count.show { transform: scale(1); }
.burger { display: none; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; position: absolute; left: 12px; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.x span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, #2a2f66 0%, transparent 60%), linear-gradient(180deg, #0b1220 0%, #0f1830 100%); color: #fff; overflow: hidden; }
.hero-glow { position: absolute; width: 720px; height: 720px; right: -160px; top: -260px; background: radial-gradient(circle, rgba(255, 176, 32, .45), rgba(255, 122, 24, .12) 40%, transparent 70%); filter: blur(10px); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #dfe4f2; font-weight: 500; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255, 176, 32, .25); }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; margin: 22px 0 20px; letter-spacing: -.035em; }
.grad { background: linear-gradient(90deg, #ffd27a, var(--sun) 40%, var(--sun-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: #b9c1d6; max-width: 560px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 36px; }
.hero-points li { display: flex; flex-direction: column; }
.hero-points b { font-family: var(--display); font-size: 26px; font-weight: 700; }
.hero-points span { color: #8f9ab4; font-size: 14px; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.hero-orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16); animation: spin 60s linear infinite; }
.hero-orbit::before { content: ''; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); top: 12%; left: 12%; box-shadow: 0 0 24px 6px rgba(255, 176, 32, .6); }
.hero-cam { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 70%); display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.hero-cam svg { width: 86%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero-card { position: absolute; left: -12%; bottom: -2%; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 2px; min-width: 230px; transition: transform .2s; }
.hero-card:hover { transform: translateY(-3px); }
.hero-card b { font-family: var(--display); font-size: 16px; }
.hero-card span { font-size: 13px; color: var(--muted); }
.hero-card .hero-card-price { font-size: 17px; color: var(--ink); font-weight: 700; margin-top: 4px; }
.hero-card s { color: #9aa3b5; font-weight: 500; font-size: 13px; margin-left: 6px; }
.hero-card-tag { align-self: flex-start; background: var(--sun-soft); color: #9a4b00 !important; font-weight: 700; font-size: 11px !important; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.hero-live { position: absolute; right: 0; top: 10%; display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(11, 18, 32, .75); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); border-radius: 999px; font-size: 12px; color: #dfe4f2; }
.hero-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -36px; position: relative; z-index: 2; }
.trust-item { display: flex; align-items: center; gap: 14px; background: var(--card); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.trust-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sun-soft); display: grid; place-items: center; font-size: 22px; flex: none; }
.trust-item b { display: block; font-size: 15px; }
.trust-item small { color: var(--muted); font-size: 13px; }
.shop + .trust { margin-top: 56px; margin-bottom: 0; }

/* ---------- sections ---------- */
.section { padding: 80px 20px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head.center { justify-content: center; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--sun-2); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
.link-more { font-weight: 600; color: var(--ink); white-space: nowrap; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(16, 24, 40, .3); border-color: #d8dce7; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff6e3; }
.card-media svg, .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media svg, .card:hover .card-media img { transform: scale(1.05); }
.tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.tag { background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 8px; }
.tag-sale { background: var(--red); }
.tag.big { position: absolute; top: 16px; left: 16px; font-size: 14px; padding: 7px 12px; }
.net { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 5px 9px; border-radius: 8px; text-transform: uppercase; }
.card-media .net { position: absolute; bottom: 12px; right: 12px; }
.net-4g { background: #e7f0ff; color: #1d4ed8; }
.net-wifi { background: #e5f8ef; color: #077a4a; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips span { font-size: 12px; font-weight: 600; color: var(--muted); background: #f1f3f8; padding: 3px 8px; border-radius: 6px; }
.card h3 { font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.card h3 a:hover { color: var(--sun-2); }
.stars { color: var(--sun); font-size: 14px; letter-spacing: 1px; }
.stars span { color: var(--muted); font-size: 12px; letter-spacing: 0; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.price b { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--ink); display: block; }
.price s { color: #9aa3b5; font-size: 13px; }
.stock { font-size: 12px; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.low { color: #d97706; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { height: 44px; }

/* reveal */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }
.card.rv.in:hover { transform: translateY(-4px); }

/* ---------- how ---------- */
.how { margin-top: 88px; padding: 80px 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.how::before { content: ''; position: absolute; width: 500px; height: 500px; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(255, 176, 32, .25), transparent 70%); }
.how .kicker { color: var(--sun); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: 30px 26px; }
.step-n { position: absolute; top: 18px; right: 22px; font-family: var(--display); font-size: 54px; font-weight: 800; color: rgba(255, 255, 255, .06); line-height: 1; }
.step-ico { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 176, 32, .25), rgba(255, 122, 24, .1)); display: grid; place-items: center; font-size: 28px; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: #aeb7cc; }

/* ---------- compare / uses ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.compare.single { grid-template-columns: 1fr; }
.compare-col:first-child { background: linear-gradient(160deg, #fff, var(--sun-soft)); border-color: #fbe2b0; }
.compare-col h3 { font-size: 24px; }
.compare-col p { margin: 0; color: var(--muted); }
.compare-col ul { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 8px; }
.compare-col li, .feat li { padding-left: 28px; position: relative; }
.compare-col li::before, .feat li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #dcf7ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230fa968' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.use { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, transform .2s; }
.use:hover { border-color: var(--sun); transform: translateY(-2px); }
.use span { font-size: 30px; margin-bottom: 6px; }
.use small { color: var(--muted); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 16px; color: #2b3345; flex: 1; }
.review figcaption { display: flex; flex-direction: column; font-size: 14px; }
.review figcaption span { color: var(--muted); font-size: 13px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: #f5c87a; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--sun-2); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* ---------- cta band ---------- */
.cta-band { margin: 80px 0; border-radius: 28px; padding: 44px 48px; background: linear-gradient(120deg, var(--ink), #1e2a52); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 176, 32, .5), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: 30px; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #b9c1d6; }

/* ---------- shop ---------- */
.page-hero { background: linear-gradient(180deg, #fff, var(--bg)); padding: 36px 0 24px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin: 10px 0 8px; }
.page-hero p { margin: 0; color: var(--muted); max-width: 640px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { color: var(--ink); }
.shop { padding-top: 24px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.filters { display: flex; gap: 22px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.filter-group > span { font-size: 13px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.pill { height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: all .2s; }
.pill:hover { border-color: var(--ink); }
.pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.sort select { height: 38px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; background: #fff; color: var(--ink); font-weight: 500; }
.result-note { margin: -8px 0 18px; color: var(--muted); }
.result-note a { color: var(--sun-2); font-weight: 600; }
.empty { text-align: center; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty p { color: var(--muted); margin: 0; }
.empty-ico { font-size: 44px; width: 88px; height: 88px; border-radius: 50%; background: var(--sun-soft); display: grid; place-items: center; }
.empty-page { padding: 60px 20px 100px; }
.empty-page h1 { font-size: 30px; }

/* ---------- product ---------- */
.product { padding-top: 24px; padding-bottom: 40px; }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; margin-top: 18px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); background: #fff6e3; }
.gallery-main svg, .gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; opacity: .7; transition: all .2s; }
.thumb svg, .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on, .thumb:hover { border-color: var(--sun-2); opacity: 1; }
.buybox h1 { font-size: clamp(26px, 3vw, 34px); margin: 12px 0 10px; }
.short { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.buy-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy-price b { font-family: var(--display); font-size: 36px; font-weight: 800; }
.buy-price s { color: #9aa3b5; font-size: 18px; }
.save { background: #fde8e8; color: #c02626; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 8px; }
.feat { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: 15px; }
.buy-row { display: flex; gap: 10px; margin-bottom: 10px; }
.buy-row .btn { flex: 1; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; height: 46px; overflow: hidden; }
.qty button { width: 42px; height: 100%; font-size: 20px; color: var(--ink); }
.qty button:hover { background: #f1f3f8; }
.qty input { width: 40px; text-align: center; border: 0; outline: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 32px; display: inline-flex; }
.qty.sm button { width: 30px; font-size: 16px; }
.qty.sm span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.buybox .btn-lg { margin-bottom: 10px; white-space: normal; text-align: center; line-height: 1.2; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.assure div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.assure b { font-size: 13px; }
.assure span { font-size: 12px; color: var(--muted); }

.tabs { margin-top: 56px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tab-heads { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-heads button { padding: 16px 22px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab-heads button.on { color: var(--ink); border-color: var(--sun-2); }
.tab-panel { display: none; padding: 24px; }
.tab-panel.on { display: block; }
.tab-panel p { margin: 0; color: #3a4357; max-width: 760px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.specs th { width: 34%; color: var(--muted); font-weight: 500; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs tr:nth-child(odd) { background: #fafbfd; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(16, 24, 40, .2); transform: translateY(100%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy b { font-family: var(--display); font-size: 18px; display: block; }
.sticky-buy small { color: var(--muted); font-size: 12px; }

/* ---------- checkout ---------- */
.checkout { padding-top: 24px; padding-bottom: 80px; }
.checkout h1 { font-size: clamp(28px, 3.4vw, 38px); margin: 12px 0 4px; }
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; margin-top: 24px; align-items: start; }
.form, .summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.form h2, .summary h2 { font-size: 20px; margin-bottom: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; margin-bottom: 14px; color: #2b3345; }
.form input:not([type=checkbox]), .form select, .form textarea { height: 50px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; background: #fbfcfe; font-weight: 400; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sun); background: #fff; box-shadow: 0 0 0 4px rgba(255, 176, 32, .18); }
.form label.err input, .form label.err select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.form label.err { color: var(--red); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--r-sm); background: var(--sun-soft); font-weight: 500; cursor: pointer; margin: 6px 0 18px; }
.check input { width: 20px; height: 20px; accent-color: var(--sun-2); margin: 1px 0 0; flex: none; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.summary { position: sticky; top: 96px; }
.sum-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-media { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.sum-media svg, .sum-media img { width: 100%; height: 100%; object-fit: cover; }
.sum-info { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.sum-line > span { font-weight: 600; white-space: nowrap; }
.sum-rows { display: grid; gap: 10px; padding-top: 16px; font-size: 15px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 10px; }
.sum-rows .ok { color: var(--green); font-weight: 600; }
.sum-total { border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 4px; align-items: baseline; }
.sum-total b { font-family: var(--display); font-size: 24px; }
.sum-trust { margin-top: 18px; padding: 12px; border-radius: var(--r-sm); background: #f1f3f8; font-size: 13px; text-align: center; color: #3a4357; }

.thanks { text-align: center; padding: 72px 20px 100px; }
.thanks-ico { width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; background: linear-gradient(135deg, #34d399, var(--green)); color: #fff; font-size: 44px; display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(15, 169, 104, .6); animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.thanks h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.thanks p { color: var(--muted); font-size: 17px; }
.thanks-box { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.thanks-box div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.thanks-box span { color: var(--muted); font-size: 13px; }
.thanks-box b { font-family: var(--display); font-size: 20px; }
.thanks-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.prose { padding-top: 32px; padding-bottom: 80px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p { color: #3a4357; margin: 0; }

/* ---------- drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(11, 18, 32, .5); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 60; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 61; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg); }
.drawer { visibility: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s; }
.drawer.open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot:empty { display: none; }
.d-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.d-media { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.d-media svg, .d-media img { width: 100%; height: 100%; object-fit: cover; }
.d-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.d-info a { font-weight: 600; font-size: 15px; }
.d-info small { color: var(--muted); font-size: 12px; }
.d-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.d-remove { width: 28px; height: 28px; border-radius: 50%; color: var(--muted); font-size: 20px; line-height: 1; }
.d-remove:hover { background: #fde8e8; color: var(--red); }
.d-total { display: flex; justify-content: space-between; align-items: baseline; }
.d-total b { font-family: var(--display); font-size: 24px; }
.d-note { display: block; color: var(--green); font-weight: 600; margin: 4px 0 14px; }

/* ---------- floating / toast ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 35; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transition: all .3s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--sun); font-weight: 700; margin-left: 8px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cfd5e4; padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; font-family: var(--font); letter-spacing: 0; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a:not(.logo) { font-size: 14px; color: #aeb7cc; transition: color .2s; }
.footer-grid a:not(.logo):hover { color: var(--sun); }
.footer-about { color: #8f9ab4; font-size: 14px; max-width: 320px; margin: 12px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #7d88a3; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .search { width: 200px; }
  .nav a { padding: 8px 10px; }
}
@media (max-width: 920px) {
  .burger { display: grid; }
  .nav { position: fixed; top: 108px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(16, 24, 40, .3); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .2s; }
  .header.scrolled .nav, .nav { top: 72px; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 12px; font-size: 16px; border-radius: 12px; }
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; text-align: left; }
  .hero-visual { max-width: 420px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .checkout-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery, .summary { position: static; }
  .sticky-buy { display: flex; }
  .steps, .reviews { grid-template-columns: 1fr; }
  .uses { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 16px 0; }
  .hide-sm { display: none; }
  .header-in { gap: 10px; height: 64px; }
  .nav, .header.scrolled .nav { top: 64px; }
  .logo-text { font-size: 19px; }
  .logo-mark { width: 34px; height: 34px; }
  .search { position: absolute; left: 16px; right: 16px; top: 64px; width: auto; display: none; }
  .header-actions { gap: 2px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; gap: 8px; }
  .card h3 { font-size: 14px; min-height: 39px; }
  .price b { font-size: 17px; }
  .stock { display: none; }
  .chips span:nth-child(3) { display: none; }
  .card-actions .btn-icon { display: none; }
  .card-actions .btn { height: 40px; font-size: 14px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 16px; }
  .hero-points { gap: 22px; }
  .hero-points b { font-size: 22px; }
  .hero-card { left: 0; min-width: 0; padding: 10px 14px; }
  .hero-live { display: none; }
  .hero-cta .btn { flex: 1; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .compare { grid-template-columns: 1fr; }
  .compare-col { padding: 22px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px 24px; margin: 60px 0; }
  .cta-band .btn { width: 100%; }
  .feat { grid-template-columns: 1fr; }
  .assure { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .form, .summary { padding: 20px; }
  .filters { gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .thanks-box { grid-template-columns: 1fr; }
  .wa-float { bottom: 84px; width: 52px; height: 52px; }
  body:not(:has(.sticky-buy)) .wa-float { bottom: 20px; }
}
/* ---------- loading ---------- */
.boot { min-height: 60vh; display: grid; place-items: center; }
.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #e5e8f0; border-top-color: var(--sun-2); animation: spin .8s linear infinite; }

/* ---------- stock out ---------- */
.out-box { background: #f1f3f8; color: var(--muted); font-weight: 700; text-align: center; padding: 12px; border-radius: var(--r-sm); margin-bottom: 10px; }
.buy-row.is-out { opacity: .5; pointer-events: none; }
.stock.out { color: var(--red); }

/* ---------- account ---------- */
#accountBtn { position: relative; }
.acc-dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); border: 2px solid #fff; transform: scale(0); transition: transform .2s; }
.acc-dot.show { transform: scale(1); }
.co-acc { margin: -8px 0 16px; font-size: 14px; color: var(--muted); }
.co-acc a { color: var(--sun-2); font-weight: 700; }

.auth-wrap { padding: 48px 20px 90px; display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px; box-shadow: var(--shadow); text-align: center; }
.auth-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: var(--sun-soft); display: grid; place-items: center; font-size: 30px; }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .form { text-align: start; margin-top: 18px; }
.auth-tabs { display: flex; gap: 4px; background: #eef0f6; border-radius: 999px; padding: 4px; margin-top: 20px; }
.auth-tabs a { flex: 1; text-align: center; padding: 9px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.auth-tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(16, 24, 40, .1); }
.auth-tabs.wide { max-width: 420px; margin: 0 0 22px; }
.form.flat { background: none; border: 0; padding: 0; }
.hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.auth-switch { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.auth-switch a { color: var(--sun-2); font-weight: 700; }

.acc-head { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.acc-head h1 { margin: 0 0 2px; font-size: clamp(24px, 3vw, 34px); }
.acc-head p { margin: 0; }
.acc-head .btn { margin-inline-start: auto; }
.acc-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--sun), var(--sun-2)); color: #1b1200; font-family: var(--display); font-weight: 800; font-size: 26px; display: grid; place-items: center; flex: none; }
.account { padding-top: 28px; padding-bottom: 80px; }
.account .form { max-width: 760px; }
.form-sub { font-size: 16px; margin: 10px 0 12px; color: var(--muted); }

.orders-list { display: grid; gap: 16px; }
.ocard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.ocard header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ocard header b { font-family: var(--display); font-size: 17px; display: block; }
.ocard header small { color: var(--muted); }
.badge-st { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.st-new { background: #e7f0ff; color: #1d4ed8; }
.st-confirmed { background: #f1e8ff; color: #6d28d9; }
.st-shipped { background: #fff4dc; color: #9a4b00; }
.st-delivered { background: #dcf7ea; color: #077a4a; }
.st-cancelled, .st-returned { background: #fde8e8; color: #c02626; }
.track { list-style: none; padding: 0; margin: 18px 0 6px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.track li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); position: relative; text-align: center; }
.track li::before { content: ''; position: absolute; top: 7px; inset-inline-start: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.track li:first-child::before { display: none; }
.track li.done::before { background: var(--green); }
.track i { width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 3px solid var(--line); position: relative; z-index: 1; }
.track li.done i { border-color: var(--green); background: var(--green); }
.track li.done span { color: var(--ink); font-weight: 600; }
.olines { list-style: none; padding: 12px 0; margin: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; }
.olines li { display: flex; justify-content: space-between; gap: 12px; }
.otrack { margin: 0 0 10px; font-size: 14px; color: #3a4357; }
.prose a { color: var(--sun-2); font-weight: 600; }
.ocard footer { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 12px; }
.ocard footer b { font-family: var(--display); font-size: 19px; }

@media (max-width: 680px) {
  .acc-head { flex-wrap: wrap; }
  .acc-head .btn { margin-inline-start: 0; width: 100%; }
  .auth-card { padding: 26px 18px; }
  .track span { font-size: 11px; }
}

/* ---------- product page: tiers + express order ---------- */
.buy-tags { display: flex; align-items: center; gap: 12px; }
.share-btn { margin-inline-start: auto; font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.share-btn:hover { color: var(--ink); border-color: var(--ink); }
/* no WhatsApp number set yet: hide every WhatsApp link */
.no-wa a[href^="https://wa.me"] { display: none !important; }
.no-wa .buy-alt { grid-template-columns: 1fr; }
.no-wa .cta-band { display: none; }
.tiers { margin: 18px 0 14px; display: grid; gap: 8px; }
.tiers-head { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.tier { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 4px 12px; text-align: start; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.tier:hover { border-color: #f5c87a; }
.tier.on { border-color: var(--sun-2); background: var(--sun-soft); box-shadow: 0 0 0 3px rgba(255, 122, 24, .12); }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9cfdb; position: relative; display: inline-block; flex: none; }
.tier.on .radio, .radio.on { border-color: var(--sun-2); }
.tier.on .radio::after, .radio.on::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--sun-2); }
.tier-name { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tier-name em { font-style: normal; font-size: 11px; font-weight: 700; background: var(--ink); color: #fff; padding: 2px 8px; border-radius: 999px; }
.tier-price { text-align: end; display: flex; flex-direction: column; line-height: 1.2; }
.tier-price b { font-family: var(--display); font-size: 17px; }
.tier-price small { color: var(--muted); font-size: 12px; }
.tier-save { grid-column: 2 / 4; font-size: 12px; font-weight: 700; color: var(--green); }
.qty-line { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 14px; font-weight: 600; }

.express { background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 20px; margin-bottom: 12px; box-shadow: 0 18px 40px -24px rgba(11, 18, 32, .45); }
.express-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.express-head b { font-family: var(--display); font-size: 18px; display: block; }
.express-head small { color: var(--muted); }
.cod-pill { white-space: nowrap; background: #dcf7ea; color: #077a4a; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.express label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; margin-bottom: 10px; color: #2b3345; }
.express input:not([type=checkbox]), .express select { height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; background: #fbfcfe; font-size: 15px; outline: none; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.express input:focus, .express select:focus { border-color: var(--sun); background: #fff; box-shadow: 0 0 0 4px rgba(255, 176, 32, .18); }
.express label.err input, .express label.err select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.express label.err { color: var(--red); }
.express .row2 { gap: 10px; }
.addr { margin: 0 0 10px; }
.addr summary { cursor: pointer; color: var(--sun-2); font-weight: 600; font-size: 14px; list-style: none; padding: 4px 0 8px; }
.addr summary::-webkit-details-marker { display: none; }
.express .check, .check.sm { flex-direction: row; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: var(--r-sm); background: var(--sun-soft); font-weight: 500; cursor: pointer; font-size: 13px; }
.express-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 2px; border-top: 1px dashed var(--line); margin-top: 4px; }
.express-total b { font-family: var(--display); font-size: 22px; }
.express .fine { margin-top: 10px; }
.buy-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.buy-alt .btn { height: 44px; font-size: 14px; }
.spinner.sm { width: 18px; height: 18px; border-width: 3px; vertical-align: middle; border-color: rgba(0, 0, 0, .15); border-top-color: #1b1200; }

.benefits { margin-top: 64px; }
.benefits h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ben { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.ben span { width: 48px; height: 48px; border-radius: 14px; background: var(--sun-soft); display: grid; place-items: center; font-size: 24px; margin-bottom: 12px; }
.ben h3 { font-size: 17px; margin-bottom: 6px; }
.ben p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- checkout ---------- */
.stepper { list-style: none; display: flex; align-items: center; gap: 8px; padding: 0; margin: 6px 0 22px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--muted); }
.stepper li:not(:last-child)::after { content: ''; width: 36px; height: 2px; background: var(--line); margin-inline-start: 4px; }
.stepper i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; background: #eef0f6; color: var(--muted); }
.stepper li.done i { background: var(--green); color: #fff; }
.stepper li.on { color: var(--ink); }
.stepper li.on i { background: var(--ink); color: #fff; }
.stepper li.done.on i { background: var(--green); }
.co-form { padding: 8px 28px 28px; }
.co-sec { padding: 20px 0; border-bottom: 1px solid var(--line); }
.co-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 14px; }
.co-sec h2 span { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: grid; place-items: center; flex: none; }
.co-form > .btn { margin-top: 22px; }
.eta { margin: -4px 0 14px; padding: 10px 14px; border-radius: var(--r-sm); background: #e7f8ef; color: #076b42; font-weight: 600; font-size: 14px; }
.bump { flex-direction: row !important; align-items: center !important; gap: 14px !important; padding: 16px; border: 2px dashed #f5c87a; border-radius: 16px; background: var(--sun-soft); cursor: pointer; margin: 0 !important; }
.bump input { width: 22px; height: 22px; accent-color: var(--sun-2); flex: none; }
.bump-ico { font-size: 26px; }
.bump-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.bump-txt small { font-weight: 400; color: var(--muted); }
.bump-price { font-family: var(--display); font-weight: 700; white-space: nowrap; }
.pay-opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 2px solid var(--green); border-radius: 16px; background: #f3fcf7; }
.pay-opt .radio { margin-top: 2px; border-color: var(--green); }
.pay-opt .radio::after { background: var(--green); }
.pay-opt small { display: block; color: var(--muted); }
.sum-info small { color: var(--muted); font-size: 12px; }
.sum-info small s { color: #9aa3b5; }
.nudge { font-size: 12px; font-weight: 600; color: #9a4b00; background: var(--sun-soft); border-radius: 8px; padding: 5px 8px; text-align: start; margin-top: 2px; }
.nudge:hover { background: #ffe6b3; }
.sum-rows .ok span { color: var(--green); font-weight: 600; }
ul.sum-trust { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: start; }
.co-bar { display: none; }

/* ---------- thank-you ---------- */
.thanks { text-align: center; padding: 36px 20px 90px; max-width: 980px; }
.thanks .stepper { justify-content: center; }
.ref-box { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px 10px 18px; margin: 6px 0 30px; }
.ref-box span { color: var(--muted); font-size: 14px; }
.ref-box b { font-family: var(--display); font-size: 20px; letter-spacing: .02em; }
.thanks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: start; margin-bottom: 28px; }
.next-steps, .thanks-sum { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.next-steps h2, .thanks-sum h2 { font-size: 18px; margin-bottom: 14px; }
.next-steps ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps li > span { width: 42px; height: 42px; border-radius: 12px; background: var(--sun-soft); display: grid; place-items: center; font-size: 20px; flex: none; }
.next-steps small { display: block; color: var(--muted); }
.ts-line { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; }
.ts-line .ok { color: var(--green); font-weight: 600; }
.ts-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; }
.ts-total b { font-family: var(--display); font-size: 22px; }
.ts-to { margin-top: 12px; font-size: 13px; color: var(--muted); }

@media (max-width: 920px) {
  .ben-grid { grid-template-columns: 1fr 1fr; }
  .thanks-grid { grid-template-columns: 1fr; }
  .co-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(16, 24, 40, .25); }
  .co-bar small { display: block; color: var(--muted); font-size: 12px; }
  .co-bar b { font-family: var(--display); font-size: 19px; }
  .checkout { padding-bottom: 110px; }
  body:has(.co-bar) .wa-float { bottom: 84px; }
}
@media (max-width: 680px) {
  .ben-grid { grid-template-columns: 1fr; }
  .co-form { padding: 4px 18px 20px; }
  .express { padding: 16px; }
  .express .row2 { grid-template-columns: 1fr; }
  .buy-alt { grid-template-columns: 1fr; }
  ul.sum-trust { grid-template-columns: 1fr; }
  .stepper li:not(:last-child)::after { width: 16px; }
  .ref-box { flex-wrap: wrap; justify-content: center; }
}

/* ---------- language switch ---------- */
.lang-switch { display: flex; background: #eef0f6; border-radius: 999px; padding: 3px; height: 40px; align-items: center; }
.lang-switch button { height: 34px; min-width: 38px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); transition: background .2s, color .2s; }
.lang-switch button[lang=ar] { font-family: 'Cairo', sans-serif; font-size: 16px; line-height: 1; }
.lang-switch button.on { background: var(--ink); color: #fff; }

/* ---------- Arabic (RTL) ---------- */
[dir=rtl] { --font: 'Cairo', 'Inter', system-ui, sans-serif; --display: 'Cairo', 'Sora', system-ui, sans-serif; }
[dir=rtl] body { line-height: 1.7; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3, [dir=rtl] h4, [dir=rtl] .hero h1 { letter-spacing: 0; line-height: 1.35; }
[dir=rtl] .kicker { letter-spacing: 0; }
[dir=rtl] .hero-glow { right: auto; left: -160px; }
[dir=rtl] .hero-card { left: auto; right: -12%; }
[dir=rtl] .hero-live { right: auto; left: 0; }
[dir=rtl] .hero-orbit::before { left: auto; right: 12%; }
[dir=rtl] .tags { left: auto; right: 12px; }
[dir=rtl] .card-media .net { right: auto; left: 12px; }
[dir=rtl] .tag.big { left: auto; right: 16px; }
[dir=rtl] .cart-count { right: auto; left: 0; }
[dir=rtl] .acc-dot { right: auto; left: 8px; }
[dir=rtl] .search { padding: 0 16px 0 6px; }
[dir=rtl] .compare-col li, [dir=rtl] .feat li { padding-left: 0; padding-right: 28px; }
[dir=rtl] .compare-col li::before, [dir=rtl] .feat li::before { left: auto; right: 0; top: 5px; }
[dir=rtl] .faq summary { padding: 18px 0 18px 30px; }
[dir=rtl] .faq summary::after { right: auto; left: 0; }
[dir=rtl] .specs th, [dir=rtl] .specs td { text-align: right; }
[dir=rtl] .step-n { right: auto; left: 22px; }
[dir=rtl] .how::before { left: auto; right: -200px; }
[dir=rtl] .cta-band::after { right: auto; left: -80px; }
[dir=rtl] .drawer { right: auto; left: 0; transform: translateX(-100%); }
[dir=rtl] .drawer.open { transform: none; }
[dir=rtl] .wa-float { right: auto; left: 20px; }
[dir=rtl] .hero-card s, [dir=rtl] .price s { margin: 0 6px 0 0; }
[dir=rtl] .card h3 { line-height: 1.55; min-height: 46px; }
[dir=rtl] .hp { left: auto; right: -9999px; }

@media (max-width: 680px) {
  .lang-switch { height: 36px; }
  .lang-switch button { height: 30px; min-width: 32px; padding: 0 8px; }
  [dir=rtl] .hero-card { right: 0; }
  [dir=rtl] .card h3 { min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
