:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --brand: #ea580c;
  --brand-ink: #ffffff;
  --brand-soft: #fff1e6;
  --good: #16a34a;
  --ok: #65a30d;
  --warn: #d97706;
  --bad: #dc2626;
  --gem: #7c3aed;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.nav { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: url(img/logo.svg) center/cover; color: transparent; display: inline-block; font-size: 0; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s, box-shadow .15s, transform .05s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: #c2410c; }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #f1f5f9; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.eyebrow { display: inline-block; background: var(--brand-soft); color: var(--brand); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; margin: 0 auto 18px; max-width: 820px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.logos { display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; margin-top: 40px; color: var(--muted); font-size: 13px; font-weight: 600; }
.logos span { opacity: .8; }

/* Sections */
section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; letter-spacing: -0.01em; }
.section-title p { color: var(--muted); margin: 0 auto; max-width: 620px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature h3 { margin: 12px 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 20px; }
.steps { counter-reset: s; }
.step { position: relative; padding-left: 56px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 24px; top: 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.popular { border: 2px solid var(--brand); }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 18px; }
.price { font-size: 40px; font-weight: 800; margin: 10px 0 2px; letter-spacing: -0.02em; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: 14px; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--good); font-weight: 800; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 13px; background: var(--surface); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Forms */
.auth-box { max-width: 420px; margin: 56px auto; }
.tabs { display: flex; background: #eef0f4; border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.tabs button.active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
input, select { width: 100%; padding: 11px 12px; border: 1px solid #d1d5db; border-radius: 9px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); }
input:focus, select:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.msg { padding: 10px 12px; border-radius: 9px; font-size: 14px; margin-top: 14px; display: none; }
.msg.show { display: block; }
.msg.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.msg.ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* App */
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.app-head h1 { margin: 0; font-size: 24px; }
.usage { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-brand { background: var(--brand-soft); color: var(--brand); }
.pill-warn { background: #fef3c7; color: #92400e; }
.meter { width: 140px; height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--brand); }
.search-card .row { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; background: #f8fafc; border: 1px solid var(--line); padding: 7px 12px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.checks input { width: auto; }
.adv { margin-top: 16px; background: #f8fafc; border: 1px dashed #cbd5e1; }
.adv summary { font-size: 14px; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.actions { display: flex; justify-content: flex-end; margin-top: 18px; gap: 10px; align-items: center; }
.layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; margin-bottom: 48px; }
.history h3 { margin: 0 0 10px; font-size: 15px; }
.history a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--ink); font-size: 13px; }
.history a:hover { background: #f1f5f9; text-decoration: none; }
.history a small { display: block; color: var(--muted); font-size: 11px; }
.empty { color: var(--muted); font-size: 13px; }

/* Progress */
.progress { text-align: center; padding: 40px 20px; }
.spinner { width: 44px; height: 44px; border: 4px solid var(--brand-soft); border-top-color: var(--brand); border-radius: 50%; margin: 0 auto 16px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress ol { list-style: none; padding: 0; margin: 18px auto 0; max-width: 360px; text-align: left; font-size: 14px; }
.progress li { padding: 5px 0; color: var(--muted); }
.progress li.done { color: var(--good); }
.progress li.now { color: var(--ink); font-weight: 600; }

/* Results */
.res-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.res-head h2 { margin: 0; font-size: 20px; }
.res-meta { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.filters-line { background: var(--brand-soft); color: #7c2d12; border-radius: 8px; padding: 8px 12px; font-size: 12px; margin-bottom: 12px; }
.prod { display: grid; grid-template-columns: 76px 84px 1fr; gap: 16px; margin-bottom: 14px; }
.score { width: 60px; height: 60px; border-radius: 50%; border: 4px solid; display: grid; place-items: center; font-weight: 800; font-size: 20px; margin: 0 auto; }
.score-label { text-align: center; font-size: 11px; font-weight: 700; margin-top: 4px; }
.score-bd { text-align: center; font-size: 10px; color: #94a3b8; margin-top: 2px; line-height: 1.35; }
.thumb { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.prod h3 { margin: 4px 0; font-size: 15px; line-height: 1.35; }
.badges span { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; margin: 0 0 4px; margin-inline-end: 4px; }
.facts { color: var(--muted); font-size: 12px; }
.insights { font-size: 12px; margin-top: 4px; color: #334155; }
.why { font-size: 12px; margin-top: 6px; color: #334155; font-style: italic; }
.money { display: grid; grid-template-columns: repeat(6, auto); gap: 4px 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; justify-content: start; }
.money div small { display: block; color: var(--muted); font-size: 11px; }
.money b { font-size: 15px; }
.links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.links a { padding: 7px 12px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 600; }
.links a:hover { text-decoration: none; opacity: .9; }
.spark { display: inline-block; margin: 8px 0 0; margin-inline-end: 18px; vertical-align: bottom; }
.spark .bars { direction: ltr; }
.spark small { display: block; font-size: 10px; color: #94a3b8; }
.spark span.bars { display: inline-flex; align-items: flex-end; height: 24px; gap: 1px; }
.spark span.bars i { display: block; width: 5px; border-radius: 1px; }
.note { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .plans { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .money { grid-template-columns: repeat(3, auto); }
}
@media (max-width: 600px) {
  .nav-links .hide-sm { display: none; }
  .search-card .row { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .prod { grid-template-columns: 64px 1fr; }
  .prod .thumb-cell { display: none; }
  .score { width: 52px; height: 52px; font-size: 17px; }
  section { padding: 48px 0; }
}
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }

/* ---------- Arabic / RTL ---------- */
[data-lang] { }
html[lang="ar"] [data-lang="en"], html:not([lang="ar"]) [data-lang="ar"] { display: none !important; }
html[lang="ar"] body, html[lang="ar"] input, html[lang="ar"] select, html[lang="ar"] textarea, html[lang="ar"] button { font-family: 'Almarai', 'Inter', Tahoma, Arial, sans-serif; }
html[lang="ar"] body { line-height: 1.7; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; }
.lang-btn { font-weight: 700 !important; border: 1px solid currentColor; border-radius: 8px; padding: 4px 10px; font-size: 13px; }
html[dir="rtl"] .plan li { padding: 6px 26px 6px 0; }
html[dir="rtl"] .plan li::before { left: auto; right: 0; }
html[dir="rtl"] .step { padding-left: 24px; padding-right: 56px; }
html[dir="rtl"] .step::before { left: auto; right: 24px; }
html[dir="rtl"] .mock-row .pf { text-align: left; }
html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="password"] { direction: ltr; text-align: right; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
@media (max-width: 600px) {
  .nav .wrap { gap: 8px; }
  .logo { font-size: 15px; white-space: nowrap; gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .nav-links { gap: 10px; font-size: 13px; }
  .nav-links a { white-space: nowrap; }
  .nav-links .btn { padding: 8px 12px; font-size: 13px; }
  .lang-btn { padding: 3px 7px; font-size: 12px; }
}
@media (max-width: 380px) { .nav-links a[href="login.html"] { display: none; } }

.arb{margin-top:10px;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:8px 12px;font-size:13.5px;color:#7c2d12}.arb small{display:block;color:#9a3412;opacity:.85;margin-top:3px;font-size:12px}
.xp{display:grid;grid-template-columns:1fr 1.4fr;gap:14px}@media(max-width:640px){.xp{grid-template-columns:1fr}}
.links a.src-x{background:#475569}
/* Risk score, verdict and details panel */
.risk-chip{margin:6px auto 0;border:1.5px solid;border-radius:8px;padding:2px 4px;font-size:11px;font-weight:700;text-align:center;line-height:1.25;max-width:76px}
.risk-chip small{display:block;font-size:9.5px;font-weight:600;opacity:.9}
.verdict{margin-top:6px;font-size:13px;font-weight:600;color:#0f172a;background:#f1f5f9;border-radius:8px;padding:6px 10px}
.deep{margin-top:10px;border:1px solid #e2e8f0;border-radius:10px;background:#fbfcfe}
.deep summary{cursor:pointer;padding:8px 12px;font-size:13px;font-weight:600;color:#1e40af;list-style:none}
.deep summary::-webkit-details-marker{display:none}
.deep summary::after{content:' ▾';color:#64748b}
.deep[open] summary::after{content:' ▴'}
.deep-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:4px 12px 10px}
.deep h5{margin:8px 0 6px;font-size:12.5px;color:#0f172a}
.bdr{display:grid;grid-template-columns:118px 1fr 44px;align-items:center;gap:8px;font-size:12px;color:#475569;margin:5px 0}
.bdr i{display:block;height:7px;background:#e2e8f0;border-radius:6px;overflow:hidden}
.bdr i b{display:block;height:100%;border-radius:6px}
.bdr em{font-style:normal;font-size:11.5px;color:#64748b;text-align:end}
.risk-line{margin-top:10px;font-size:13px}
.fl{margin:0;padding:0;list-style:none;font-size:12.5px;line-height:1.5}
.fl li{position:relative;padding-inline-start:20px;margin:2px 0;color:#334155}
.fl li::before{position:absolute;inset-inline-start:0}
.fl-good li::before{content:'✅'}
.fl-bad li::before{content:'⚠️'}
.fl-note li{color:#64748b;font-size:12px}
.fl-note li::before{content:'ℹ️'}
.fl-none{font-size:12.5px;color:var(--good);margin:0}
.ai-box{margin:0 12px 12px;padding:10px 12px;background:#f5f3ff;border:1px solid #ddd6fe;border-radius:10px;font-size:13px;line-height:1.55;color:#1e293b}
.ai-box h5{margin:0 0 6px}
.ai-box p{margin:6px 0}
.ai-box ul{margin:4px 0 6px;padding-inline-start:20px}
.ai-box ul.chk{list-style:'☐  '}
.ai-box ul.qst{list-style:'❓ '}
@media (max-width:700px){.deep-grid{grid-template-columns:1fr;gap:4px;padding:2px 8px 8px}.bdr{grid-template-columns:minmax(0,1fr) 70px 38px;gap:6px}.deep summary{padding:8px}.ai-box{margin:0 8px 8px;padding:8px 10px}}
/* Daily winning products feed */
.fd-sec{padding:56px 0 24px}
.fd-head{text-align:center;max-width:760px;margin:0 auto 22px}
.fd-head h2{font-size:32px;letter-spacing:-.02em;margin:10px 0 8px}
.fd-head p{color:#475569;margin:0;line-height:1.6}
.fd-live{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.04em;color:#b91c1c;background:#fee2e2;border-radius:999px;padding:4px 12px}
.fd-live i{width:8px;height:8px;border-radius:50%;background:#dc2626;box-shadow:0 0 0 0 rgba(220,38,38,.6);animation:fdpulse 1.6s infinite}
@keyframes fdpulse{0%{box-shadow:0 0 0 0 rgba(220,38,38,.55)}70%{box-shadow:0 0 0 8px rgba(220,38,38,0)}100%{box-shadow:0 0 0 0 rgba(220,38,38,0)}}
.fd-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 18px}
.fd-stats:empty{display:none}
.fd-stat{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px 16px;text-align:center}
.fd-stat b{display:block;font-size:26px;font-weight:800;color:#0f172a;font-variant-numeric:tabular-nums}
.fd-stat span{font-size:12.5px;color:#64748b}
.fd-stat-note{grid-column:1/-1;margin:0;text-align:center;font-size:12px;color:#94a3b8;display:flex;align-items:center;justify-content:center;gap:6px}
.fd-stat-note i{width:7px;height:7px;border-radius:50%;background:#16a34a;display:inline-block}
.fd-dates{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:18px}
.fd-dates button{border:1px solid #e2e8f0;background:#fff;border-radius:999px;padding:6px 14px;font:inherit;font-size:13px;cursor:pointer;color:#334155}
.fd-dates button.on{background:#0f172a;color:#fff;border-color:#0f172a}
.fd-dates a{align-self:center;font-size:13px}
.fd-dates select{margin-inline-start:8px;padding:6px 10px;border-radius:8px;border:1px solid #cbd5e1;font:inherit}
.fd-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.fd-group{grid-column:1/-1;margin:18px 0 0;font-size:18px}
.fd-group small{font-weight:500;color:#64748b;font-size:13px}
.fd-empty{grid-column:1/-1;text-align:center;color:#64748b;padding:30px;background:#fff;border:1px dashed #cbd5e1;border-radius:14px}
.fd-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.fd-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.08)}
.fd-top{position:relative;height:170px;background:#f8fafc;display:flex;align-items:center;justify-content:center}
.fd-top img{max-width:80%;max-height:150px;object-fit:contain}
.fd-noimg{width:70px;height:70px;border-radius:12px;background:#e2e8f0}
.fd-ring{position:absolute;top:10px;inset-inline-start:10px;width:46px;height:46px;border-radius:50%;border:3px solid;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px}
.fd-gem{position:absolute;top:12px;inset-inline-end:10px;background:var(--gem);color:#fff;font-size:10.5px;font-weight:700;border-radius:999px;padding:3px 8px}
.fd-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;flex:1}
.fd-niche{font-size:11.5px;font-weight:700;color:#7c3aed;text-transform:uppercase;letter-spacing:.03em}
.fd-body h4{margin:0;font-size:14.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}
.fd-meta{font-size:12px;color:#64748b}
.fd-nums{display:flex;gap:16px;margin-top:2px}
.fd-nums small{display:block;font-size:11px;color:#94a3b8}
.fd-nums b{font-size:15px}
.fd-verdict{margin:2px 0 0;font-size:12.5px;color:#334155;background:#f1f5f9;border-radius:8px;padding:6px 8px}
.fd-lock{margin-top:auto;display:block;text-align:center;background:#fff7ed;border:1px dashed #fb923c;color:#c2410c;border-radius:10px;padding:8px;font-size:13px;font-weight:600;text-decoration:none}
.fd-lock:hover{background:#ffedd5}
.fd-view{font-size:12.5px;text-align:center;color:#475569}
.fd-more{text-align:center;margin:18px 0 0}
.fd-cta{margin-top:34px;text-align:center;background:#0f172a;color:#fff;border-radius:18px;padding:28px 20px}
.fd-cta h3{margin:0 0 6px;font-size:22px}
.fd-cta p{margin:0 0 16px;color:#cbd5e1}
@media (max-width:900px){.fd-grid{grid-template-columns:repeat(2,1fr)}.fd-stats{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.fd-grid{grid-template-columns:1fr}.fd-head h2{font-size:26px}.fd-stat b{font-size:22px}}

/* Homepage: eBay 1-click publish */
.eb-sec{padding:56px 0;background:linear-gradient(180deg,#f8fafc,#eef2ff)}
.eb-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.eb-new{display:inline-block;background:#16a34a;color:#fff;font-size:11.5px;font-weight:800;letter-spacing:.06em;border-radius:999px;padding:4px 10px}
.eb-sec h2{font-size:32px;letter-spacing:-.02em;margin:10px 0 10px;line-height:1.2}
.eb-lead{color:#475569;line-height:1.65;margin:0 0 18px}
.eb-steps{list-style:none;counter-reset:s;margin:0 0 22px;padding:0;display:grid;gap:10px}
.eb-steps li{counter-increment:s;display:grid;grid-template-columns:34px 1fr;column-gap:12px;align-items:start}
.eb-steps li::before{content:counter(s);grid-row:span 2;width:30px;height:30px;border-radius:50%;background:#0064d2;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}
.eb-steps b{font-size:15px}.eb-steps span{color:#64748b;font-size:13.5px}
.eb-btn{background:#0064d2;color:#fff!important;border:0}.eb-btn:hover{background:#0053ad}
.btn-glass-dark{border:1px solid #cbd5e1;background:#fff;color:#0f172a}
.eb-note{font-size:12.5px;color:#64748b;margin:12px 0 0}
.eb-mock{position:relative}
.eb-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:18px;box-shadow:0 20px 40px rgba(15,23,42,.08)}
.eb-card-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.eb-card-h em{font-style:normal;font-size:12.5px;color:#15803d;font-weight:700}
.eb-line{height:12px;border-radius:6px;background:#e2e8f0;margin:8px 0}.eb-line.w90{width:90%;background:#cbd5e1}.eb-line.w70{width:70%}
.eb-card ul{margin:12px 0;padding-inline-start:18px;color:#334155;font-size:13.5px;line-height:1.7}
.eb-row{display:flex;justify-content:space-between;font-weight:700;font-size:14px;border-top:1px dashed #e2e8f0;padding-top:10px}
.eb-pub{margin-top:12px;background:#16a34a;color:#fff;text-align:center;border-radius:10px;padding:10px;font-weight:800}
.eb-toast{position:absolute;bottom:-14px;inset-inline-end:-10px;background:#0f172a;color:#fff;border-radius:12px;padding:10px 14px;font-size:13.5px;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.eb-toast b{color:#4ade80}
.ebtop-logo{font-weight:800;font-size:15px;color:#0f172a;background:#e2e8f0;border-radius:8px;padding:4px 10px}
@media (max-width:860px){.eb-grid{grid-template-columns:1fr}.eb-sec h2{font-size:26px}.eb-toast{inset-inline-end:8px}}

.nav-links a.nav-ebay{background:linear-gradient(135deg,#7c3aed 0%,#a855f7 55%,#d946ef 100%);color:#fff!important;border:0;border-radius:10px;padding:8px 14px;font-weight:700;box-shadow:0 6px 18px rgba(168,85,247,.4);transition:transform .15s,box-shadow .15s,filter .15s}
.nav-links a.nav-ebay:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 8px 22px rgba(168,85,247,.55);background:linear-gradient(135deg,#7c3aed 0%,#a855f7 55%,#d946ef 100%)}

/* Keepa Pro filters */
.kp{margin-top:16px;border:1px solid #ddd6fe;background:linear-gradient(180deg,#faf5ff,#fff);border-radius:14px;padding:14px 16px}
.kp-h{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.kp-tag{font-size:11.5px;font-weight:700;color:#6d28d9;background:#ede9fe;border-radius:999px;padding:3px 10px}
.kp-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.kp-presets button{border:1px solid #c4b5fd;background:#fff;color:#4c1d95;border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.kp-presets button.on{background:linear-gradient(135deg,#7c3aed,#a855f7);color:#fff;border-color:transparent}
.kp-presets .kp-clear{border-style:dashed;color:#64748b;font-weight:500}
.kp-checks{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:8px}
.kp-checks label{display:flex;gap:8px;align-items:center;font-weight:500;font-size:14px}
.kp-checks input{width:auto}
.kp-help{margin:8px 0 0;font-size:12px}
.kp.locked .adv-grid,.kp.locked .kp-presets,.kp.locked .kp-checks{opacity:.45}
.kp-lock{margin-top:10px;font-size:13px;background:#fef3c7;color:#92400e;border-radius:8px;padding:8px 10px}

/* header: never wrap link text */
.nav-links a,.nav .logo{white-space:nowrap}
@media (max-width:1180px){.nav-links{gap:16px}}
@media (max-width:1060px){.nav-links a.hide-md{display:none}}

.dec-pill{display:inline-block;font-size:12.5px;font-weight:800;border-radius:999px;padding:3px 10px;margin:0 0 6px}.dec-pill small{font-weight:600;opacity:.8}
.dec-rules li{list-style:none}

.ebr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px}
@media (max-width:1100px) and (min-width:861px){.ebr-grid{grid-template-columns:1fr 1fr}}
.ebr-card{display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:1px solid #dbeafe;border-radius:18px;padding:20px 22px;box-shadow:0 10px 30px rgba(0,100,210,.07)}
.ebr-card h3{margin:10px 0 6px;font-size:19px}.ebr-card p{color:#475569;line-height:1.6;margin:0 0 14px;font-size:14.5px;flex:1}
@media (max-width:860px){.ebr-grid{grid-template-columns:1fr}}

.supm{display:grid;grid-template-columns:auto auto 1fr;gap:10px;align-items:center;margin-top:10px;border:1px solid #e2e8f0;border-radius:12px;padding:8px 10px;background:#f8fafc}
.supm-side{display:flex;flex-direction:column;align-items:center;gap:3px}.supm-side small{font-size:11px;color:#64748b;font-weight:700}
.supm-side img,.supm-noimg{width:64px;height:64px;object-fit:contain;background:#fff;border:1px solid #e2e8f0;border-radius:8px}.supm-noimg{display:grid;place-items:center;color:#94a3b8}
.supm-info{min-width:0}.supm-t{font-size:12.5px;color:#475569;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mt{display:inline-block;font-size:12.5px;font-weight:700;border-radius:8px;padding:3px 8px}.mt-ok{background:#dcfce7;color:#15803d}.mt-sim{background:#fef3c7;color:#92400e}.mt-chk{background:#e0f2fe;color:#075985}
.mt-lens{display:inline-block;margin-top:5px;font-size:12.5px;font-weight:700}
@media(max-width:560px){.supm{grid-template-columns:auto auto}.supm-info{grid-column:1/-1}}

@media (max-width:430px){.nav-links{gap:6px}.nav-links .btn{padding:7px 9px;font-size:12.5px}header.nav .logo{font-size:15px}}

.mgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,430px),1fr));gap:12px}.mgrid>*{min-width:0}
.mcard{display:grid;grid-template-columns:92px 1fr;gap:12px;padding:12px;margin:0}
.mc-img img{width:92px;height:92px;object-fit:contain;background:#fff;border:1px solid #e2e8f0;border-radius:10px}
.mc-body{min-width:0}.mc-body h4{margin:2px 0 4px;font-size:14.5px;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mc-why{font-size:12px;font-weight:800}
.mc-sup{display:flex;gap:8px;align-items:center;margin-top:8px;font-size:13px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:6px 8px}.mc-sup img{width:44px;height:44px;object-fit:contain;background:#fff;border-radius:6px}
.mcard .links{margin-top:8px}.mcard .links{gap:5px}.mcard .links a{font-size:11.5px;padding:5px 8px}
@media(max-width:430px){.mgrid{grid-template-columns:1fr}.mcard{grid-template-columns:70px 1fr}.mc-img img{width:70px;height:70px}}

/* Add to Chrome button in the header */
.nav-links a.nav-chrome{display:inline-flex;align-items:center;gap:8px;background:#fff;color:#0f172a!important;border:1px solid #e2e8f0;border-radius:10px;padding:7px 13px 7px 10px;font-weight:700;box-shadow:0 4px 14px rgba(15,23,42,.10);transition:transform .15s,box-shadow .15s}
.nav-links a.nav-chrome::before{content:"";width:20px;height:20px;flex:none;border-radius:50%;background:radial-gradient(circle,#4285f4 0 27%,#fff 28% 37%,transparent 38%),conic-gradient(from -60deg,#db4437 0 120deg,#f4b400 0 240deg,#0f9d58 0)}
.nav-links a.nav-chrome:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,23,42,.16);text-decoration:none}
[dir=rtl] .nav-links a.nav-chrome{padding:7px 10px 7px 13px}
@media (max-width:1180px){.nav-links a.nav-chrome{padding:7px 10px}}
@media (max-width:600px){.nav-links a.nav-chrome{display:none}}

/* header: hide less important links step by step on narrower screens */
@media (max-width:1430px){.nav-links a.hide-lg{display:none}}
@media (max-width:1080px){.nav-links a.hide-tb{display:none}}
@media (max-width:900px){.nav-links a.hide-nr,.nav-links a.nav-chrome.hide-nr{display:none}}

/* AI feed upgrade */
.fd-sec{background:radial-gradient(900px 400px at 50% 0,rgba(124,58,237,.08),transparent 70%)}
.fd-stat{position:relative;overflow:hidden}
.fd-stat::after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,#7c3aed,#f97316)}
.fd-dates .fd-topchip{border:0;color:#fff;background:linear-gradient(135deg,#7c3aed,#ea580c);box-shadow:0 6px 16px -6px rgba(124,58,237,.6)}
.fd-dates .fd-topchip:not(.on){opacity:.85}
.fd-status{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:-4px auto 18px;max-width:900px;padding:10px 14px;border-radius:14px;background:#0f172a;color:#cbd5e1;font-size:13.5px;text-align:center}
.fd-status:empty{display:none}.fd-status b{color:#fff}
.fd-bot{font-size:18px;animation:fdBot 2s ease-in-out infinite}
@keyframes fdBot{50%{transform:translateY(-3px)}}
.fd-dots{display:inline-flex;gap:3px}.fd-dots i{width:5px;height:5px;border-radius:50%;background:#a78bfa;animation:fdDot 1.2s infinite}.fd-dots i:nth-child(2){animation-delay:.2s}.fd-dots i:nth-child(3){animation-delay:.4s}
@keyframes fdDot{0%,80%,100%{opacity:.25}40%{opacity:1}}
.fd-grid{grid-template-columns:repeat(4,1fr)}
.fd-card{position:relative;border:1px solid #e9e5f5;box-shadow:0 1px 0 rgba(15,23,42,.03)}
.fd-card::before{content:'';position:absolute;inset:0;border-radius:16px;padding:1.5px;background:linear-gradient(135deg,#7c3aed,#f97316);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .2s;pointer-events:none}
.fd-card:hover::before{opacity:1}
.fd-card:hover{box-shadow:0 16px 32px -12px rgba(124,58,237,.35)}
.fd-top{height:160px;background:linear-gradient(180deg,#faf5ff,#fff);overflow:hidden}
.fd-scanl{position:absolute;left:0;right:0;top:-40%;height:40%;background:linear-gradient(180deg,transparent,rgba(124,58,237,.18),transparent);border-bottom:2px solid rgba(124,58,237,.5);opacity:0;pointer-events:none}
.fd-card:hover .fd-scanl{opacity:1;animation:fdScan 1.4s ease-in-out infinite}
@keyframes fdScan{to{top:100%}}
.fd-ring{flex-direction:column;line-height:1;box-shadow:0 4px 12px rgba(15,23,42,.12)}
.fd-ring em{font-style:normal;font-size:8.5px;font-weight:800;color:#7c3aed;margin-top:2px;letter-spacing:.04em}
.fd-gem{background:linear-gradient(135deg,#7c3aed,#c026d3)}
.fd-day{position:absolute;bottom:8px;inset-inline-start:10px;font-size:10.5px;font-weight:600;color:#475569;background:rgba(255,255,255,.9);border:1px solid #e2e8f0;border-radius:99px;padding:2px 8px}
.fd-niche{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.fd-aitag{font-size:10px;text-transform:none;letter-spacing:0;color:#6d28d9;background:linear-gradient(90deg,#ede9fe,#ffedd5);border-radius:99px;padding:2px 7px}
.fd-why{display:flex;flex-wrap:wrap;gap:4px}
.fd-why span{font-size:10.5px;font-weight:600;color:#334155;background:#f1f5f9;border-radius:99px;padding:2px 7px}
.fd-verdict{background:linear-gradient(135deg,#f5f3ff,#fff7ed);border:1px solid #ede9fe}
.fd-verdict b{color:#5b21b6}
.fd-more-h{margin-top:26px!important;color:#6d28d9}
.fd-ai-loading{grid-column:1/-1;text-align:center;font-weight:600;color:#6d28d9;padding:4px 0 2px}
.fd-skel{border:1px solid #ede9fe;border-radius:16px;padding:12px;background:#fff;display:flex;flex-direction:column;gap:8px}
.fd-skel i,.fd-skel b{display:block;border-radius:8px;background:linear-gradient(90deg,#f3f0ff 25%,#fde7d6 50%,#f3f0ff 75%);background-size:200% 100%;animation:fdSh 1.3s linear infinite}
.fd-skel i{height:120px}.fd-skel b{height:12px}.fd-skel b.s{width:60%}
@keyframes fdSh{to{background-position:-200% 0}}
@media (max-width:1100px){.fd-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){.fd-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.fd-grid{grid-template-columns:1fr}.fd-top{height:150px}}
@media (prefers-reduced-motion:reduce){.fd-bot,.fd-dots i,.fd-skel i,.fd-skel b,.fd-card:hover .fd-scanl{animation:none}}
.fd-showall{display:none}
@media (max-width:560px){.fd-clip .fd-card:nth-of-type(n+7),.fd-clip .fd-more-h{display:none}.fd-showall:not([hidden]){display:block;margin:14px auto 0;border:0;border-radius:12px;padding:12px 18px;font:inherit;font-weight:700;color:#fff;background:linear-gradient(135deg,#7c3aed,#ea580c)}}
/* Continue with Google */
.g-slot{margin:0 0 14px}
.g-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 14px;border-radius:12px;border:1px solid #cbd5e1;background:#fff;color:#1f2937;font:inherit;font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.06)}
.g-btn:hover{background:#f8fafc;border-color:#94a3b8}
.g-btn:disabled{opacity:.6;cursor:wait}
.g-btn svg{width:20px;height:20px;flex:none}
.g-or{display:flex;align-items:center;gap:10px;margin:14px 0 4px;color:#94a3b8;font-size:12.5px}
.g-or::before,.g-or::after{content:'';flex:1;height:1px;background:#e2e8f0}
