/* ============================================================
   SAABA STORE — warm boutique identity (logo brown #8f441a)
   ============================================================ */
:root {
  /* color — Sandy Store 18: SHEIN-style black / white / orange */
  --bg: #ffffff; --bg-alt: #f5f5f5; --surface: #ffffff;
  --text: #222222; --text-muted: #767676; --text-muted-2: #999999;
  --accent: #000000; --accent-hover: #222222; --accent-tint: rgba(0, 0, 0, .06);
  --cta: #000000; --cta-hover: #222222;
  --sale: #fa6338; --sale-bg: #fff1ec;
  --gold: #fa6338; --gold-soft: #ffe2d6; --brown-deep: #000000;
  --success: #16a34a; --success-bg: #e7f6ec;
  --danger: #fa6338; --danger-bg: #fff1ec;
  --warn: #b45309; --warn-bg: #fdf0d9;
  --border: #e5e5e5;
  /* shape — SHEIN reads sharp / low-radius */
  --radius: 4px; --radius-lg: 8px; --radius-sm: 3px; --pill: 980px;
  --shadow: 0 1px 6px rgba(0, 0, 0, .06);
  --shadow-hover: 0 6px 20px rgba(0, 0, 0, .12);
  --ring: 0 0 0 3px rgba(0, 0, 0, .18);
  /* chrome */
  --nav-bg: rgba(255, 255, 255, .88); --blur: saturate(180%) blur(20px);
  --container: 1024px; --container-text: 692px; --container-grid: 1280px;
  /* type */
  --font-sans: "Manrope", "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.65; letter-spacing: 0;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -.015em; margin: 0 0 14px; }
h2 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -.012em; margin: 0 0 8px; }
h3 { font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -.01em; margin: 0 0 8px; }
.lead { font-size: 21px; line-height: 1.4; font-weight: 400; color: var(--text-muted); margin: 0; }
.eyebrow { font-size: 19px; font-weight: 600; color: var(--accent); letter-spacing: .004em; margin: 0 0 8px; }
.hairline { height: 0; border: 0; border-block-start: .5px solid var(--border); margin: 0; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.tabnum { font-variant-numeric: tabular-nums; }

/* ----------------------------- layout helpers */
.container { max-inline-size: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: 80px; background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-block-end: 48px; }
.section__head .lead { max-inline-size: 600px; margin: 10px auto 0; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mt-2 { margin-block-start: 12px; } .mt-3 { margin-block-start: 22px; } .mb-2 { margin-block-end: 12px; }

/* ----------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 24px; border: none; border-radius: var(--pill);
  font: 400 17px/1 var(--font-sans); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .25s ease, transform .1s ease, box-shadow .2s ease;
}
.btn--primary, .btn-primary, .btn-accent { background: var(--cta); color: #fff; font-weight: 700; }
.btn--primary:hover, .btn-primary:hover, .btn-accent:hover { background: var(--cta-hover); color: #fff; }
.btn--secondary, .btn-ghost { background: var(--bg-alt); color: var(--text); }
.btn--secondary:hover, .btn-ghost:hover { background: #ececec; }
.btn--lg, .btn-lg { padding: 14px 28px; font-size: 19px; min-height: 50px; }
.btn--block, .btn-block { width: 100%; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:disabled, .btn[disabled] { opacity: .45; pointer-events: none; }

.link { display: inline-flex; align-items: center; color: var(--accent); font-size: 17px; text-decoration: none; white-space: nowrap; }
.link::after { content: "\00A0\203A"; transition: margin-inline-start .2s ease; }
.link:hover { text-decoration: underline; }
.link:hover::after { margin-inline-start: 2px; }
[dir=rtl] .link::after { content: "\00A0\2039"; }

/* ----------------------------- nav */
.nav {
  position: sticky; inset-block-start: 0; z-index: 9000;
  display: flex; align-items: center; gap: 24px; height: 48px; padding-inline: 22px;
  background: var(--nav-bg); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-block-end: .5px solid var(--border);
}
.nav__brand { font-size: 17px; font-weight: 600; letter-spacing: .02em; color: var(--text); display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; flex: none; box-shadow: 0 2px 8px rgba(94, 46, 18, .25); }
.brand-mark img { width: 24px; height: 24px; object-fit: contain; }
.nav__brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
/* footer brand logo lockup */
.footer__logo { width: 96px; height: 96px; border-radius: 16px; background: var(--accent); display: grid; place-items: center; margin-block-end: 14px; box-shadow: var(--shadow); }
.footer__logo img { width: 70px; height: 70px; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a { font-size: 12px; color: var(--text-muted); transition: color .2s ease; }
.nav__links a:hover { color: var(--text); }
.nav__right { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; }
.nav__search { position: relative; display: flex; align-items: center; }
.nav__search svg { position: absolute; inset-inline-start: 11px; color: var(--text-muted-2); pointer-events: none; }
.input--search { border: 0; border-radius: var(--pill); background: var(--bg-alt); color: var(--text); padding: 6px 14px 6px 32px; font-size: 12px; width: 170px; height: 30px; outline: none; }
.input--search:focus { box-shadow: 0 0 0 3px var(--accent-tint); }
.nav__cta { font-size: 12px; color: var(--accent); white-space: nowrap; }
.nav__menu { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }
[dir=rtl] .nav__search svg { inset-inline-start: auto; inset-inline-end: 11px; }
[dir=rtl] .input--search { padding: 6px 32px 6px 14px; }

/* ----------------------------- hero */
.hero { text-align: center; padding-block: 90px 80px; padding-inline: 22px; background: var(--bg); }
.hero .lead { max-inline-size: 600px; margin: 0 auto 28px; }
.hero__actions { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero__visual {
  margin: 56px auto 0; background: var(--bg-alt); border-radius: var(--radius-lg);
  max-inline-size: 980px; padding: 40px 28px; display: grid; gap: 14px;
}
.hero__chip { display: flex; align-items: center; gap: 16px; background: var(--surface); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); text-align: start; }
.hero__chip .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-alt); display: grid; place-items: center; font-size: 1.5rem; }
.hero__chip .m { flex: 1; } .hero__chip .m .t { font-weight: 600; } .hero__chip .m .s { color: var(--text-muted); font-size: 14px; }
.hero__chip .p { font-weight: 600; }

/* ----------------------------- product grid + card */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px 10px; max-inline-size: var(--container-grid); margin-inline: auto; padding-inline: 12px; }
.card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card__media { position: relative; aspect-ratio: 4/3; width: 100%; display: grid; place-items: center; background: var(--bg-alt); border-radius: var(--radius); margin-block-end: 16px; font-size: 44px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .badge { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: var(--pill); letter-spacing: .02em; }
.card__media .stockchip { position: absolute; inset-block-end: 10px; inset-inline-end: 10px; background: rgba(255,255,255,.92); color: var(--text-muted); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: var(--pill); }
.card__media .stockchip.out { color: var(--danger); }
.card__eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.card__title { font-size: 18px; font-weight: 700; letter-spacing: 0; margin: 0; line-height: 1.35; }
.card__price { font-size: 22px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; margin: 2px 0 0; }
.card__actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-block-start: 14px; width: 100%; }
.card__actions .btn { flex: 1; }

/* ----------------------------- shop filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-block-end: 40px; }
.tag { display: inline-block; border-radius: var(--pill); background: var(--surface); border: .5px solid var(--border); color: var(--text); font-size: 13px; font-weight: 600; padding: 6px 15px; cursor: pointer; transition: all .2s ease; }
.tag:hover { border-color: var(--text-muted); }
.tag--active { background: var(--accent); border-color: var(--accent); color: #fff; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-inline-size: 900px; margin: 0 auto 30px; padding-inline: 22px; }
/* status chip variants (admin + order) */
.tag.delivered, .tag.success { background: var(--success-bg); border-color: transparent; color: var(--success); cursor: default; }
.tag.paid { background: var(--accent-tint); border-color: transparent; color: var(--accent); cursor: default; }
.tag.pending { background: var(--warn-bg); border-color: transparent; color: var(--warn); cursor: default; }
.tag.failed { background: var(--danger-bg); border-color: transparent; color: var(--danger); cursor: default; }

/* ----------------------------- product detail */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding-block: 80px; }
.product__media { position: sticky; inset-block-start: 80px; background: var(--bg-alt); border-radius: var(--radius-lg); aspect-ratio: 4/3; display: grid; place-items: center; font-size: 96px; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__info .price { font-size: 28px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; margin: 6px 0 18px; display: flex; align-items: baseline; gap: 14px; }
.product__info .desc { color: var(--text-muted); white-space: pre-wrap; font-size: 17px; }
.buy-box { background: var(--surface); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); margin-block-start: 24px; }
.buy-box label { display: block; font-size: 14px; font-weight: 600; color: var(--text-muted); margin-block-end: 8px; }
.buy-box .note { color: var(--text-muted); font-size: 14px; margin-block-start: 12px; text-align: center; }
.feature-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.feature-list li { display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: "\2713"; color: var(--accent); font-weight: 600; }
.trust { display: flex; gap: 20px; flex-wrap: wrap; margin-block-start: 20px; }
.trust .t { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 13px; }
.trust .t svg { color: var(--text-muted-2); }

/* delivery / warranty signal chips (PDP) */
.signal-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.signal { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  color: var(--text-muted); background: var(--bg-alt); border-radius: var(--pill); padding: 6px 13px; }
.signal svg { color: var(--text-muted-2); }
.signal--ok { color: var(--success); background: var(--success-bg); }
.signal--ok svg { color: var(--success); }
.signal--shield { color: var(--accent); background: var(--accent-tint); }
.signal--shield svg { color: var(--accent); }

/* card delivery label */
.card__deliver { font-size: 12px; font-weight: 600; color: var(--text-muted); margin: 2px 0 0; }
.card__deliver--ok { color: var(--success); }

/* SAABA Guarantee box + trust strip */
.guarantee { display: flex; align-items: flex-start; gap: 12px; margin-block-start: 20px;
  background: linear-gradient(135deg, var(--accent-tint), rgba(176,125,75,.10));
  border: 1px solid var(--gold-soft); border-radius: var(--radius-lg); padding: 16px 18px; }
.guarantee__badge { flex: none; display: inline-grid; place-items: center; inline-size: 42px; block-size: 42px;
  border-radius: 50%; background: var(--accent); color: #fff; }
.guarantee__title { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--brown-deep); }
.guarantee__desc { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-muted); }
.trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin-block-start: 16px; }
.trust-strip .ts { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.trust-strip .ts svg { flex: none; color: var(--accent); }

/* store-wide social-proof band (home) */
.proof-band { padding: 24px 20px 0; }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-inline-size: var(--container-grid);
  margin: 0 auto; }
.proof__item { display: flex; align-items: center; gap: 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.proof__ic { font-size: 26px; line-height: 1; flex: none; }
.proof__t { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--text); }
.proof__s { font-size: 12.5px; color: var(--text-muted); margin-block-start: 2px; }
@media (max-width: 860px) { .proof { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .proof { grid-template-columns: 1fr; } .trust-strip { grid-template-columns: 1fr; } }

/* confirm receipt / report a problem (order page) */
.confirm-box { margin-block-start: 22px; padding: 18px; background: var(--bg-alt); border-radius: var(--radius-lg); text-align: center; }
.confirm-q { font-weight: 700; margin: 0 0 12px; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; align-items: flex-start; }
.confirm-done { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-weight: 700; background: var(--success-bg); padding: 10px 16px; border-radius: var(--pill); }
.confirm-done svg { color: var(--success); }
.report-d { text-align: start; }
.report-d > summary { list-style: none; cursor: pointer; }
.report-d > summary::-webkit-details-marker { display: none; }
.report-form { display: flex; flex-direction: column; gap: 8px; margin-block-start: 10px; min-inline-size: 260px; }
.issue-note { margin-block-start: 12px; color: var(--warn); background: var(--warn-bg); padding: 12px 14px; border-radius: var(--radius); font-size: 14px; }

/* warranty pill + dispute reason chips + clean-source trust (market-gap pass) */
/* manual payment "how to pay" panel */
.pay-amount { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-block-start: 14px; padding: 14px 16px; background: var(--accent-tint); border-radius: var(--radius-lg); }
.pay-amount__label { color: var(--text-muted); font-size: 13px; font-weight: 600; }
.pay-amount__val { font-size: 26px; font-weight: 800; color: var(--accent); }
.pay-rails { display: flex; flex-direction: column; gap: 10px; margin-block-start: 14px; }
.pay-rail { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.pay-rail__head { font-weight: 700; margin-block-end: 6px; }
.pay-rail__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-rail__row .copy-btn { min-height: auto; padding: 4px 10px; font-size: 12px; }
.pay-amount .copy-btn { min-height: auto; padding: 5px 12px; font-size: 12px; }
.pay-review { margin-block-start: 14px; padding: 14px 16px; background: var(--bg-alt); border-radius: var(--radius-lg); font-size: 14px; line-height: 1.6; }

.warranty-pill { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 14px; padding: 8px 14px; border-radius: var(--pill); background: var(--success-bg); color: var(--success); font-weight: 700; font-size: 14px; }
.warranty-pill svg { flex: none; }
.warranty-pill--off { background: var(--bg-alt); color: var(--text-muted); }
.report-reasons { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 4px; }
.reason-chip { position: relative; cursor: pointer; }
.reason-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.reason-chip span { display: inline-block; padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--pill); font-size: 13px; font-weight: 600; background: var(--surface); transition: .15s; }
.reason-chip input:checked + span { background: var(--accent); color: #fff; border-color: var(--accent); }
.trust-line { display: flex; align-items: flex-start; gap: 8px; color: var(--success); background: var(--success-bg); padding: 10px 13px; border-radius: var(--radius); font-size: 13.5px; font-weight: 600; margin-block-start: 10px; }
.trust-line svg { flex: none; margin-block-start: 1px; }
.allin-line { color: var(--text-muted); font-size: 13px; margin: 8px 0 0; display: flex; align-items: center; gap: 6px; }
.antiphish { border: 1px dashed var(--border); border-radius: var(--radius); padding: 12px 14px; margin-block-start: 18px; font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }
.antiphish b { color: var(--text); }
.meta-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; }
.meta-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: var(--pill); background: var(--bg-alt); color: var(--text); font-size: 12.5px; font-weight: 600; }
.meta-badge--safe { background: var(--success-bg); color: var(--success); }

/* sale price, review histogram/sort, store reply, secure checklist (market-gap #2) */
.compare-at { color: var(--text-muted); text-decoration: line-through; font-size: .8em; margin-inline-start: 8px; font-weight: 600; }
.off-badge { display: inline-block; background: var(--danger); color: #fff; font-size: .72em; font-weight: 800; padding: 2px 8px; border-radius: var(--pill); margin-inline-start: 6px; vertical-align: middle; }
.rating-hist { display: flex; flex-direction: column; gap: 5px; margin: 4px 0 14px; max-inline-size: 360px; }
.hist-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.hist-star { inline-size: 28px; color: var(--text-muted); }
.hist-bar { flex: 1; block-size: 8px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.hist-bar > span { display: block; block-size: 100%; background: var(--gold, #b07d4b); border-radius: 999px; }
.hist-n { inline-size: 26px; text-align: end; }
.review-sort { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 16px; }
.review-sort .chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--pill); color: var(--text-muted); background: var(--surface); }
.review-sort .chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.store-reply { margin-block-start: 8px; padding: 10px 13px; background: var(--accent-tint); border-radius: var(--radius); font-size: 13.5px; }
.store-reply b { color: var(--accent); }
.secure-box { margin-block-start: 18px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.secure-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.secure-list label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; line-height: 1.45; }
.secure-list input { margin-block-start: 3px; inline-size: 17px; block-size: 17px; flex: none; accent-color: var(--accent); }
.secure-list input:checked + span { color: var(--text-muted); text-decoration: line-through; }
.secure-box--shared { background: var(--warn-bg, #fbf3e6); border-color: var(--gold, #b07d4b); }
.secure-list--dont li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.dont-x { color: var(--danger, #b3261e); font-weight: 800; flex: none; }
.variant-list { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 16px; }
.variant { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: .15s; }
.variant.on, .variant:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.variant input { accent-color: var(--accent); flex: none; }
.variant__name { font-weight: 600; }
.variant__price { margin-inline-start: auto; font-weight: 700; }
.variant.is-out { opacity: .55; cursor: not-allowed; }
.variant.is-out .variant__price { color: var(--text-muted); font-weight: 600; }
.about-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0 26px; }
.about-stat { flex: 1; min-inline-size: 130px; background: var(--bg-alt); border-radius: var(--radius); padding: 16px; text-align: center; }
.about-stat b { display: block; font-size: 26px; color: var(--accent); }
.about-stat span { font-size: 13px; color: var(--text-muted); }

/* customer accounts: login + account page */
.auth-wrap { max-inline-size: 460px; margin: 0 auto; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.auth-form { margin-block-start: 16px; display: flex; flex-direction: column; gap: 10px; }
.auth-form label { font-weight: 600; font-size: 14px; color: var(--text-muted); }
.account-wrap { max-inline-size: 760px; margin: 0 auto; }
.acc-orders { display: flex; flex-direction: column; gap: 12px; }
.acc-order { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.acc-order__title { font-weight: 700; }
.acc-order__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* wishlist heart */
.card { position: relative; }
.wish { position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-end: 10px;
  inline-size: 34px; block-size: 34px; display: inline-grid; place-items: center; cursor: pointer;
  border: none; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(74,40,16,.12); transition: transform .15s ease, color .15s ease; }
.wish:hover { transform: scale(1.08); color: var(--accent); }
.wish.on { color: var(--accent); }
.wish.on svg { fill: var(--accent); }
.wish-btn { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin-block-end: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--pill);
  padding: 9px 16px; font-weight: 600; font-size: 14px; color: var(--text); font-family: inherit; transition: all .15s ease; }
.wish-btn:hover { border-color: var(--accent); color: var(--accent); }
.wish-btn.on { color: var(--accent); border-color: var(--accent); background: var(--accent-tint); }
.wish-btn.on svg { fill: var(--accent); }
.wish-btn__added { display: none; }
.wish-btn.on .wish-btn__add { display: none; }
.wish-btn.on .wish-btn__added { display: inline; }
.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-block-end: 18px; }
.pdp-actions .wish-btn { margin-block-end: 0; }

/* add-to-cart on cards */
.card__actions { display: flex; gap: 8px; align-items: stretch; }
.card__actions .btn--primary { flex: 1; }
.card__addcart { flex: none; padding-inline: 12px; display: inline-grid; place-items: center; }

/* nav cart button + count badge */
.nav__cart { position: relative; background: none; border: none; cursor: pointer; color: var(--text);
  display: inline-grid; place-items: center; padding: 6px; border-radius: 8px; }
.nav__cart:hover { color: var(--accent); }
.nav__cart-count { position: absolute; inset-block-start: -2px; inset-inline-end: -2px; min-inline-size: 17px; block-size: 17px;
  padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; }

/* cart drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(40,20,8,.4); z-index: 60; }
.cart-drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 61; inline-size: min(400px, 92vw);
  background: var(--bg); box-shadow: -8px 0 40px rgba(74,40,16,.18); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s ease; padding: 18px; overflow-y: auto; }
html[dir="rtl"] .cart-drawer { transform: translateX(-100%); }
.cart-drawer.open, html[dir="rtl"] .cart-drawer.open { transform: translateX(0); }
.cart-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-block-end: 14px; }
.cart-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-muted); line-height: 1; }
.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.cart-row__title { font-weight: 600; font-size: 14px; }
.cart-row__price { color: var(--text-muted); font-size: 13px; margin-block-start: 2px; }
.cart-qty { display: flex; align-items: center; gap: 4px; }
.cart-qty button { inline-size: 28px; block-size: 28px; border: 1px solid var(--border); background: var(--bg);
  border-radius: 8px; cursor: pointer; font-size: 16px; line-height: 1; color: var(--text); }
.cart-qty__n { min-inline-size: 22px; text-align: center; font-weight: 600; }
.cart-rm { color: var(--danger) !important; border-color: transparent !important; }
.cart-empty { text-align: center; padding: 40px 0; }
.cart-foot { margin-block-start: auto; padding-block-start: 16px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; margin-block-end: 12px;
  font-family: var(--font-display); }
.cart-pm { margin-block-start: 8px; }

/* order line items */
.order-lines { margin-block-start: 16px; border-block-start: 1px solid var(--border); padding-block-start: 14px; }
.order-lines .label { font-weight: 700; font-size: 13px; color: var(--text-muted); margin-block-end: 8px; }
.order-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding-block: 4px; }

/* instant search suggestions */
.nav__search { position: relative; }
.suggest { position: absolute; inset-block-start: calc(100% + 6px); inset-inline-end: 0; z-index: 70;
  inline-size: max(100%, 300px); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-hover); overflow: hidden; }
.suggest__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--text);
  text-decoration: none; border-block-end: 1px solid var(--border); }
.suggest__item:last-child { border-block-end: none; }
.suggest__item:hover { background: var(--bg-alt); }
.suggest__ic { font-size: 18px; flex: none; }
.suggest__t { flex: 1; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__p { color: var(--text-muted); font-size: 13px; flex: none; }

/* product gallery (PDP) */
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-block-start: 12px; }
.thumb { inline-size: 64px; block-size: 64px; padding: 0; border: 2px solid var(--border); border-radius: 10px;
  overflow: hidden; cursor: pointer; background: var(--bg-alt); }
.thumb img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }
.thumb.on { border-color: var(--accent); }

/* shop secondary filter row (price + in-stock) */
.shop-filters2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-end: 22px; }
.shop-filters2 .filter-label { font-size: 14px; font-weight: 600; margin-inline-end: 4px; }

/* store-credit wallet */
.wallet-card { display: flex; justify-content: space-between; align-items: center; margin-block: 16px;
  background: linear-gradient(135deg, var(--accent-tint), rgba(176,125,75,.12));
  border: 1px solid var(--gold-soft); border-radius: var(--radius-lg); padding: 16px 20px; }
.wallet-card__label { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.wallet-card__bal { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--brown-deep); margin-block-start: 2px; }
.wallet-history { margin-block-end: 8px; }
.wallet-ledger { margin-block-start: 10px; display: flex; flex-direction: column; gap: 6px; }
.wallet-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-block-end: 1px solid var(--border); }
.wallet-opt { display: flex; align-items: center; gap: 8px; margin-block-start: 12px; font-weight: 600; font-size: 14px;
  color: var(--accent); background: var(--accent-tint); padding: 10px 14px; border-radius: var(--radius); cursor: pointer; }

/* order-tracking timeline (stepper) */
.track-head { margin: 0 0 4px; }
.track-eta { color: var(--text-muted); font-size: 14px; margin: 0 0 6px; line-height: 1.5; }
.stepper { list-style: none; margin: 16px 0; padding: 0; }
.step { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-block-end: 18px; }
.step:last-child { padding-block-end: 0; }
.step__dot { flex: none; inline-size: 26px; block-size: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--border); background: var(--surface); color: #fff; z-index: 1; }
.step:not(:last-child)::before { content: ""; position: absolute; inset-block-start: 24px; inset-block-end: 2px;
  inset-inline-start: 12px; inline-size: 2px; background: var(--border); }
.step--done .step__dot { background: var(--success); border-color: var(--success); }
.step--done::before { background: var(--success); }
.step--active .step__dot { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.step--active .step__label { color: var(--accent); font-weight: 700; }
.step__body { display: flex; flex-direction: column; gap: 2px; padding-block-start: 2px; }
.step__label { font-weight: 600; }
.step--todo .step__label { color: var(--text-muted-2); }
.step__ts { font-size: 12px; color: var(--text-muted); }
.track-terminal { text-align: center; padding: 8px 0 4px; }
.track-terminal .tt-ic { inline-size: 52px; block-size: 52px; border-radius: 50%; display: inline-grid; place-items: center;
  font-size: 26px; margin-block-end: 10px; }
.track-terminal--refunded .tt-ic { background: var(--warn-bg); color: var(--warn); }
.track-terminal--cancelled .tt-ic { background: var(--bg-alt); color: var(--text-muted); }

/* admin gallery management */
.gallery-admin { display: flex; flex-wrap: wrap; gap: 12px; }
.gallery-admin__item { position: relative; inline-size: 90px; block-size: 90px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.gallery-admin__item img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }
.gallery-admin__del { position: absolute; inset-block-start: 4px; inset-inline-end: 4px; inline-size: 22px; block-size: 22px;
  border: none; border-radius: 50%; background: rgba(180,51,42,.92); color: #fff; cursor: pointer; font-size: 12px; line-height: 1; }

/* ----------------------------- inputs */
.input { width: 100%; border: .5px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 12px 14px; font-family: inherit; font-size: 17px; transition: border-color .2s ease, box-shadow .2s ease; }
.input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
textarea.input { resize: vertical; min-height: 120px; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }

/* ----------------------------- order / delivery */
.order-wrap { max-inline-size: 560px; margin-inline: auto; padding-block: 80px; }
.order-card { background: var(--surface); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); text-align: center; }
.success-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--success-bg); display: grid; place-items: center; color: var(--success); margin: 0 auto 18px; }
.order-card .lead { margin-block-end: 6px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 26px 0; text-align: start; font-size: 15px; }
.kv .k { color: var(--text-muted); }
.kv .v { font-weight: 600; text-align: end; }
.deliver { margin-block-start: 24px; text-align: start; }
.deliver .label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-block-end: 10px; }
.cred-box { position: relative; background: var(--bg-alt); border-radius: var(--radius); padding: 18px 18px; padding-inline-end: 70px; font: 15px/1.6 var(--font-mono); font-variant-numeric: tabular-nums; text-align: start; word-break: break-word; white-space: pre-wrap; }
.cred-box .copy-btn { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; min-height: auto; padding: 6px 12px; font-size: 13px; }

/* ----------------------------- flash + banner */
.flash { padding: 13px 16px; border-radius: var(--radius); margin: 16px 0; font-size: 15px; font-weight: 500; }
.flash.error { background: var(--danger-bg); color: var(--danger); }
.flash.success { background: var(--success-bg); color: var(--success); }
.promo-bar { background: var(--bg-alt); color: var(--text-muted); text-align: center; font-size: 12px; padding: 9px 16px; border-block-end: .5px solid var(--border); }
.promo-bar a { color: var(--accent); }

/* ----------------------------- footer */
.footer { background: var(--bg-alt); padding-block: 40px; padding-inline: 22px; border-block-start: .5px solid var(--border); }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; max-inline-size: var(--container-grid); margin-inline: auto; }
.footer__intro { max-inline-size: 300px; }
.footer__head { font-size: 13px; font-weight: 600; color: var(--text); margin-block-end: 12px; }
.footer__link { display: block; font-size: 12px; color: var(--text-muted-2); line-height: 2; }
.footer__link:hover { color: var(--text); text-decoration: underline; }
.footer__bottom { max-inline-size: var(--container-grid); margin: 24px auto 0; padding-block-start: 18px; border-block-start: .5px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--text-muted-2); }

/* ----------------------------- admin (shared primitives, light) */
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 48px); }
.admin-side { background: var(--bg-alt); border-inline-end: .5px solid var(--border); padding: 26px 16px; }
.admin-side h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted-2); margin: 0 0 10px; font-weight: 600; }
.admin-side a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--text-muted); font-size: 15px; margin-block-end: 3px; transition: background .15s, color .15s; }
.admin-side a:hover, .admin-side a.active { background: var(--surface); color: var(--text); }
.admin-main { padding: 36px 40px; max-width: 1080px; }
.admin-main h1 { font-size: 34px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-block-end: 26px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; }
.stat .n { font-size: 34px; font-weight: 600; letter-spacing: -.012em; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--text-muted); font-size: 13px; margin-block-start: 2px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-block-end: 22px; }
.panel h3 { margin: 0 0 14px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: start; padding: 12px 14px; border-block-end: 1px solid var(--border); }
.table th { color: var(--text-muted); font-weight: 600; }
.table tr:last-child td { border-block-end: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row { margin-block-end: 16px; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { display: block; font-size: 14px; font-weight: 600; color: var(--text-muted); margin-block-end: 6px; }
.login-wrap { max-inline-size: 400px; margin: 90px auto; }

/* ----------------------------- responsive */
@media (max-width: 980px) {
  .product { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; }
  .product__media { position: relative; inset-block-start: auto; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { border-inline-end: none; border-block-end: .5px solid var(--border); display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-side h3 { width: 100%; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: 56px; }
  .hero { padding-block: 64px 56px; }
}
@media (max-width: 740px) {
  .nav__links { display: none; }
  .nav__search { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-main { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .card:hover { transform: none; }
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   Professional-upgrade components
   ============================================================ */

/* form select */
.select { border: .5px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 10px 14px; font-family: inherit; font-size: 15px; cursor: pointer; }
.select:focus { outline: 0; border-color: var(--accent); }

/* star ratings */
.stars { display: inline-flex; align-items: center; gap: 1px; color: #e3a008; line-height: 1; }
.stars .star { color: var(--border); }
.stars .star.on { color: #f5a623; }
.stars--sm { font-size: 13px; }
.stars--md { font-size: 18px; }
.stars__n { color: var(--text-muted); font-size: .82em; margin-inline-start: 5px; }
.card__sold { font-size: 12px; color: var(--text-muted); margin: 0; }

/* recent-sales ticker */
.ticker { overflow: hidden; border-block: .5px solid var(--border); background: var(--surface); padding: 10px 0; }
.ticker__track { display: inline-flex; gap: 40px; white-space: nowrap; animation: ticker 30s linear infinite; }
.ticker__item { font-size: 13px; color: var(--text-muted); font-weight: 500; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* shop toolbar + sort */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-inline-size: var(--container-grid); margin: 0 auto 36px; padding-inline: 22px; }
.shop-toolbar .filters { margin: 0; justify-content: flex-start; }
.sort-form { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* coupon */
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; }
.coupon-result { margin-block-start: 10px; font-size: 14px; font-weight: 600; }
.coupon-result.ok { color: var(--success); }
.coupon-result.bad { color: var(--danger); }

/* reviews */
.reviews { padding-block: 40px; border-block-start: .5px solid var(--border); margin-block-start: 20px; }
.review-list { display: flex; flex-direction: column; gap: 18px; }
.review { background: var(--surface); border: .5px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.review__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review__body { margin: 8px 0 0; color: var(--text); }
.verified { font-size: 12px; font-weight: 600; color: var(--success); background: var(--success-bg); padding: 2px 8px; border-radius: var(--pill); }
.review-cta { margin-block-start: 22px; padding: 18px; border-radius: var(--radius); background: var(--bg-alt); }
.review-cta .label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-block-end: 10px; }
.rating-input { display: inline-flex; gap: 4px; margin-block-end: 10px; font-size: 26px; cursor: pointer; }
.rating-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating-input .star { color: var(--border); transition: color .15s; }
.rating-input label:hover .star, .rating-input .star.on { color: #f5a623; }

/* legal / prose pages */
.legal { max-inline-size: var(--container-text); margin-inline: auto; padding-inline: 22px; }
.legal h1 { margin-block-end: 8px; }
.legal h3 { margin-block: 28px 8px; }
.legal p { color: var(--text); }
.legal .lead { margin-block-end: 8px; }

/* FAQ accordion */
.accordion { margin-block-start: 28px; border-block-start: .5px solid var(--border); }
.accordion details { border-block-end: .5px solid var(--border); }
.accordion summary { cursor: pointer; padding: 20px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--text-muted); font-weight: 400; font-size: 24px; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: 0 0 20px; color: var(--text-muted); }

/* newsletter (footer) */
.newsletter { display: flex; gap: 8px; margin-block-start: 14px; max-inline-size: 300px; }
.newsletter .input { padding: 9px 12px; font-size: 14px; }
.newsletter .btn { min-height: auto; padding: 9px 16px; }

/* payment strip */
.pay-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-inline-size: var(--container-grid); margin: 28px auto 0; padding: 16px 0 0; border-block-start: .5px solid var(--border); font-size: 12px; color: var(--text-muted-2); }
.pay-badge { border: .5px solid var(--border); border-radius: 6px; padding: 4px 10px; font-weight: 600; color: var(--text-muted); background: var(--surface); }

/* cookie banner */
.cookie { position: fixed; inset-block-end: 16px; inset-inline: 16px; max-inline-size: 560px; margin-inline: auto; background: var(--text); color: #fff; border-radius: var(--radius); padding: 16px 18px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-hover); z-index: 9500; font-size: 14px; }
.cookie[hidden] { display: none; }
.cookie .link { color: #6cb6ff; }
.cookie .btn { white-space: nowrap; min-height: auto; padding: 8px 18px; }

/* dashboard chart + two-col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-block: 8px; }
.chart__bar { flex: 1; display: flex; align-items: flex-end; min-width: 3px; }
.chart__fill { width: 100%; background: var(--accent); border-radius: 3px 3px 0 0; transition: height .3s ease; min-height: 4px; }
.chart__bar:hover .chart__fill { background: var(--accent-hover); }

/* admin order actions */
.order-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-actions form { margin: 0; }
.linkbtn { background: none; border: 0; color: var(--accent); font-size: 14px; cursor: pointer; padding: 0; font-family: inherit; }
.linkbtn:hover { text-decoration: underline; }
.linkbtn.danger { color: var(--danger); }
.note-details summary { list-style: none; }
.note-details summary::-webkit-details-marker { display: none; }
.note-form { display: flex; gap: 6px; margin-block-start: 8px; }
.note-form .input { font-size: 13px; padding: 6px 10px; }
.admin-side__logout { background: none; border: 0; color: var(--text-muted); font-size: 15px; cursor: pointer; padding: 9px 12px; font-family: inherit; width: 100%; text-align: start; border-radius: var(--radius-sm); }
.admin-side__logout:hover { background: var(--surface); color: var(--text); }

@media (max-width: 740px) {
  .two-col { grid-template-columns: 1fr; }
  .shop-toolbar { flex-direction: column; align-items: flex-start; }
}

/* payment method selector */
.paymethods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block-start: 8px; }
.paymethod { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.paymethod input { accent-color: var(--accent); margin: 0; }
.paymethod:hover { border-color: var(--text-muted); }
.paymethod:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.paymethod .pm-ic { font-size: 20px; }
.paymethod .pm-t { font-size: 14px; font-weight: 600; line-height: 1.2; }
.paymethod .pm-t small { font-weight: 400; color: var(--text-muted); font-size: 11px; }
@media (max-width: 420px) { .paymethods { grid-template-columns: 1fr; } }

/* language toggle */
.lang-toggle { font-size: 12px; color: var(--text-muted); white-space: nowrap; font-weight: 500; }
.lang-toggle:hover { color: var(--text); }
@media (max-width: 740px) { .lang-toggle { display: none; } }
/* RTL: nudge the search icon already handled via logical props */

/* product image upload preview */
.img-preview { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); margin-block-end: 10px; background: var(--bg-alt); }
input[type=file].input { padding: 9px 12px; font-size: 14px; cursor: pointer; }

/* setup / settings status */
.setup-status { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 16px 22px; }
.setup-stat { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--pill); font-size: 14px; border: 1px solid var(--border); background: var(--surface); }
.setup-stat .dot2 { width: 9px; height: 9px; border-radius: 50%; background: var(--text-muted-2); }
.setup-stat.on { background: var(--success-bg); border-color: transparent; color: var(--success); }
.setup-stat.on .dot2 { background: var(--success); }
.setup-stat.off { color: var(--text-muted); }
.badge-status { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--pill); margin-inline-start: 8px; vertical-align: middle; }
.badge-status.ok { background: var(--success-bg); color: var(--success); }
.badge-status.no { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }

/* ============================================================
   Polish pass — display font, mobile menu, visuals, social
   ============================================================ */
:root { --font-display: "Tajawal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3, .nav__brand, .eyebrow, .footer__head, .stat .n, .hero h1 { font-family: var(--font-display); }
h1, .hero h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
.nav__brand { font-weight: 700; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3, [dir=rtl] .hero h1 { letter-spacing: 0; line-height: 1.25; }

/* nav: larger logo, hamburger */
.brand-mark { width: 38px; height: 38px; border-radius: 10px; }
.brand-mark img { width: 27px; height: 27px; }
.nav { height: 56px; }
.nav__menu { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; }
.nav__menu:hover { background: var(--bg-alt); }

/* mobile drawer */
.nav__drawer { display: none; }
.nav__drawer.open { display: block; position: sticky; inset-block-start: 56px; z-index: 8990;
  background: var(--bg); border-block-end: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 12px 22px 18px; }
.nav__drawer a { display: block; padding: 13px 4px; font-size: 17px; font-weight: 600; color: var(--text); border-block-end: .5px solid var(--border); }
.nav__drawer a:last-child { border-block-end: 0; }
.nav__search--m { width: 100%; margin-block-end: 8px; }
.nav__search--m .input--search { width: 100%; height: 42px; font-size: 15px; }

/* floating WhatsApp */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 9400;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.08); }

/* Brand-aware SVG cover tiles (artwork.py) fill the media box edge-to-edge;
   the container's border-radius + overflow:hidden already frame/clip them. */
.tile-art { width: 100%; height: 100%; display: block; }
.card__media { font-size: 52px; }
.card__media > span { filter: drop-shadow(0 6px 12px rgba(94,46,18,.18)); }
.footer__tm { color: var(--text-muted-2); font-size: 11px; line-height: 1.5; text-align: center; max-inline-size: 760px; margin: 16px auto 0; opacity: .85; }

/* ── Uploaded photos: show the WHOLE image (no crop) over a blurred backdrop ── */
.media-photo { position: absolute; inset: 0; display: block; overflow: hidden; }
.media-photo::before { content: ""; position: absolute; inset: -8%; background: var(--img) center / cover no-repeat; filter: blur(20px) brightness(.62) saturate(1.15); transform: scale(1.12); }
.media-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* ── Interactivity: keep the page alive with tasteful micro-motion ── */
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover, .card.reveal:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card__media { z-index: 0; }
.card__media .badge, .card__media .stockchip, .card .wish { z-index: 2; }
.card__media .tile-art, .card__media .media-photo img { transition: transform .45s ease; }
.card:hover .card__media .tile-art, .card:hover .card__media .media-photo img { transform: scale(1.06); }
/* shine sweep across the media on hover */
.card__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 58%); transform: translateX(-120%); transition: transform .65s ease; }
.card:hover .card__media::after { transform: translateX(120%); }
/* heart pop when saved */
@keyframes saba-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.wish.on svg, .wish-btn.on svg { animation: saba-pop .35s ease; }
/* add-to-cart tap pulse (class toggled in main.js) */
@keyframes saba-pulse { 0% { transform: scale(1); } 50% { transform: scale(.88); } 100% { transform: scale(1); } }
.added-pulse { animation: saba-pulse .3s ease; }
/* product page: subtle zoom on the main image */
.product__media .media-photo img { transition: transform .5s ease; }
.product__media:hover .media-photo img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .card:hover, .card.reveal:hover { transform: none; }
  .card__media::after, .card:hover .card__media .tile-art, .card:hover .card__media .media-photo img,
  .wish.on svg, .wish-btn.on svg, .added-pulse, .product__media:hover .media-photo img { animation: none; transform: none; transition: none; }
}

/* social row + brand-tile icons */
.socials { display: flex; gap: 10px; margin-block: 14px 4px; }
.social { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 18px; transition: transform .12s ease, border-color .15s; }
.social:hover { transform: translateY(-2px); border-color: var(--accent); }
.pay-badge--zc { background: var(--accent); color: #fff; border-color: transparent; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__search { display: none; }
  .lang-toggle { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__brand { font-size: 16px; }
  .paymethods { grid-template-columns: 1fr; }
  .wa-float { inset-block-end: 16px; inset-inline-end: 16px; width: 52px; height: 52px; }
}

/* ═══ Easy-mode: simpler, bigger, friendlier for low-literacy buyers ═══ */

/* WhatsApp green action button (product "order on WhatsApp", order page proof) */
.btn--wa { background: #1faa54; color: #fff; }
.btn--wa:hover { background: #178a44; }

/* Header WhatsApp number — a real, visible human contact = trust */
.nav__wa { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  color: #fff; background: #1faa54; padding: 7px 13px; border-radius: var(--pill); white-space: nowrap; }
.nav__wa:hover { background: #178a44; }
@media (max-width: 560px) { .nav__wa .tabnum { display: none; } .nav__wa { padding: 9px; } }

/* Optional collapsible fields (email / coupon) — quiet "+ link" summary */
.opt-d { margin-block-start: 14px; }
.opt-d > summary { list-style: none; cursor: pointer; color: var(--accent); font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; }
.opt-d > summary::-webkit-details-marker { display: none; }
.opt-d > summary::before { content: "+"; font-weight: 800; font-size: 17px; }
.opt-d[open] > summary::before { content: "–"; }

/* Numbered pay steps 1-2-3 on the order page */
.pay-step { display: flex; gap: 14px; align-items: flex-start; margin-block-start: 16px;
  padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.pay-step__n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff;
  font-weight: 800; font-size: 19px; display: grid; place-items: center; }
.pay-step__body { flex: 1; min-width: 0; }
.pay-step__title { font-size: 18px; font-weight: 700; margin-block-end: 8px; }

/* Big, unmistakable copy buttons for the amount & number */
.copy-btn.btn--block { min-height: 50px; font-size: 16px; font-weight: 700; margin-block-start: 10px; }

/* Payment under-review summary card */
.pay-review { padding: 16px; background: var(--warn-bg); border-radius: var(--radius-lg); }
.pay-review__top { font-size: 18px; font-weight: 700; margin-block-end: 10px; }
.kv--tight { margin: 0; }

/* Inline field error next to the WhatsApp number */
.input--bad { border-color: var(--danger) !important; box-shadow: 0 0 0 3px var(--danger-bg) !important; }
.field-err { color: var(--danger); font-size: 14px; margin: 6px 0 0; text-align: start; }

/* Bigger touch targets + more legible Arabic on cheap phones */
.btn { min-height: 48px; }
.btn--lg, .btn-lg { min-height: 54px; }
[dir=rtl] body { font-size: 18px; line-height: 1.75; }
@media (max-width: 740px) {
  .input { padding: 14px; font-size: 16px; min-height: 52px; }
  input[type=file].input { min-height: 52px; }
  .paymethod { padding: 16px; }
  .pay-step { padding: 14px; }
}

/* ============================================================
   ✦ PREMIUM PASS — million-dollar craft (light theme)
   depth · hero · trust rail · proof · steps · cards · chrome
   Appended last so it wins the cascade. CSP-safe (CSS only).
   ============================================================ */
:root {
  /* cooler, calmer premium base */
  --bg: #f4f6fb; --bg-alt: #eaeef7; --surface: #ffffff;
  --border: #e7eaf2; --border-strong: #d6dcea;
  /* layered, soft, expensive shadows */
  --shadow-xs: 0 1px 2px rgba(16,24,40,.05);
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 24px -10px rgba(16,24,40,.14);
  --shadow-md: 0 2px 6px rgba(16,24,40,.05), 0 18px 40px -14px rgba(16,24,40,.18);
  --shadow-hover: 0 6px 14px rgba(16,24,40,.06), 0 30px 60px -18px rgba(31,58,138,.28);
  --shadow-cta: 0 8px 22px -6px rgba(245,158,11,.55), 0 2px 6px rgba(245,158,11,.25);
  --ring: 0 0 0 4px rgba(31,58,138,.18);
  --accent-soft: rgba(31,58,138,.10);
  --grad-accent: linear-gradient(135deg, #2742a0 0%, #1f3a8a 55%, #182d6b 100%);
  --grad-cta: linear-gradient(180deg, #fbb43d 0%, #f59e0b 100%);
}
html { scroll-behavior: smooth; }
::selection { background: rgba(31,58,138,.18); }
body { background:
  radial-gradient(1200px 420px at 50% -160px, rgba(31,58,138,.06), transparent 70%),
  var(--bg); }

/* refined type rhythm */
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.section__head .lead { font-size: 18px; }

/* ---- premium CTA: amber gradient + glow ---- */
.btn--primary, .btn-primary, .btn-accent {
  background: var(--grad-cta); color: #2a1a02; font-weight: 800;
  box-shadow: var(--shadow-cta); letter-spacing: .005em;
}
.btn--primary:hover, .btn-primary:hover, .btn-accent:hover {
  background: linear-gradient(180deg, #fbbe55 0%, #ea8f06 100%); color: #2a1a02;
  box-shadow: 0 12px 30px -6px rgba(245,158,11,.62), 0 2px 6px rgba(245,158,11,.3);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0) scale(.98); }
/* ghost / secondary — quiet, refined */
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow-xs); font-weight: 700; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--surface); }

/* ---- brand mark + nav polish ---- */
.nav { border-block-end: 1px solid var(--border); }
.brand-mark { background: var(--grad-accent); box-shadow: 0 4px 12px -2px rgba(31,58,138,.45); border-radius: 11px; }
.nav__brand { letter-spacing: .01em; }
.footer__logo { background: var(--grad-accent); }

/* ============================================================
   HERO — contained aurora, tight rhythm, integrated trust rail
   ============================================================ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: 92px 76px;
  background:
    radial-gradient(58% 46% at 50% -6%, rgba(31,58,138,.13), transparent 68%),
    radial-gradient(40% 38% at 88% 4%, rgba(245,158,11,.10), transparent 66%),
    radial-gradient(40% 38% at 12% 8%, rgba(31,58,138,.07), transparent 66%),
    var(--bg);
}
/* faint dotted lattice for depth — masked to fade out */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(31,58,138,.10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(62% 60% at 50% 28%, #000 0%, transparent 75%);
          mask-image: radial-gradient(62% 60% at 50% 28%, #000 0%, transparent 75%);
  opacity: .55;
}
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--accent); padding: 7px 15px; border-radius: var(--pill);
  box-shadow: var(--shadow-xs); margin-block-end: 22px; }
.hero .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 0 4px var(--success-bg); }
.hero h1 { max-inline-size: 16ch; margin-inline: auto; }
.hero .lead { font-size: 20px; max-inline-size: 540px; margin: 0 auto 30px; }
.hero__actions { gap: 14px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px; margin: 34px auto 0; padding: 0; max-inline-size: 720px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; color: var(--text-muted); }
.hero__trust svg { flex: none; color: var(--accent); }
.hero__trust .ok { color: var(--success); }

/* ============================================================
   crafted SVG icon chips (replace emoji everywhere on home)
   ============================================================ */
.ic-chip { flex: none; display: inline-grid; place-items: center;
  inline-size: 48px; block-size: 48px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent); }
.ic-chip svg { inline-size: 24px; block-size: 24px; }
.ic-chip--gold { background: rgba(245,158,11,.14); color: var(--cta-hover); }
.ic-chip--green { background: var(--success-bg); color: var(--success); }

/* ---- social-proof band → premium cards ---- */
.proof-band { padding: 8px 20px 0; }
.proof { gap: 16px; padding-inline: 22px; }
.proof__item { border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px 20px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.proof__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.proof__ic { display: inline-grid; place-items: center; inline-size: 46px; block-size: 46px;
  border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-size: 0; }
.proof__ic svg { inline-size: 23px; block-size: 23px; }
.proof__t { font-size: 16px; }
.proof__s { font-size: 13px; }

/* ============================================================
   HOW IT WORKS — numbered steps with icon, connecting rail
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-inline-size: 1024px; margin-inline: auto; padding-inline: 22px; }
.step-card { position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow);
  text-align: start; transition: transform .25s ease, box-shadow .25s ease; }
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-card__top { display: flex; align-items: center; justify-content: space-between; margin-block-end: 16px; }
.step-card__n { font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--accent); background: var(--accent-soft); inline-size: 30px; block-size: 30px;
  border-radius: 50%; display: grid; place-items: center; }
.step-card h3 { font-size: 20px; margin: 0 0 6px; }
.step-card p { margin: 0; font-size: 15px; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   PRODUCT CARD — refined frame, depth, hairline
   ============================================================ */
.card { border: 1px solid var(--border); box-shadow: var(--shadow); padding: 16px; gap: 5px; }
.card:hover, .card.reveal:hover { box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.card__media { margin-block-end: 14px; box-shadow: inset 0 0 0 1px rgba(16,24,40,.04); }
.card__eyebrow { letter-spacing: .07em; color: var(--accent); opacity: .9; }
.card__title { font-size: 17px; }
.card__title a:hover { color: var(--accent); }
.card__price { font-size: 23px; }
.card__actions { gap: 8px; margin-block-start: 12px; }

/* product grid: center the tracks so a small catalog (even 2 items) reads as
   intentional & balanced instead of orphaned to one side. Fixed-max tracks
   (not 1fr) let justify-content actually center the row. */
.grid { grid-template-columns: repeat(auto-fill, minmax(258px, 300px)); justify-content: center; }

/* premium category chips */
.cat-chips { gap: 8px; }
.cat-chips .tag { padding: 8px 17px; box-shadow: var(--shadow-xs); }
.cat-chips .tag--active { box-shadow: 0 6px 16px -6px rgba(31,58,138,.5); }

/* refined section heads */
.section__head h2 { letter-spacing: -.01em; }
.section { padding-block: 76px; }
@media (max-width: 740px) { .section { padding-block: 52px; } .hero { padding-block: 60px 52px; } }

/* hairline divider helper for premium rhythm */
.soft-divide { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); max-inline-size: var(--container-grid); margin-inline: auto; }

/* premium error / empty pages */
.err-wrap { max-inline-size: 520px; margin-inline: auto; }
.err-ic { inline-size: 72px; block-size: 72px; border-radius: 20px; margin: 0 auto; }
.err-ic svg { inline-size: 36px; block-size: 36px; }
.err-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 9vw, 68px); line-height: 1; color: var(--accent); letter-spacing: -.02em; margin-block: 14px 2px; }
.err-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-block-start: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn--primary:hover, .proof__item:hover, .step-card:hover { transform: none; }
}

/* ============================================================
   PREMIUM FOOTER — deep-indigo anchor (luxury close)
   scoped entirely to .footer so it can't leak into the app
   ============================================================ */
.footer {
  position: relative; isolation: isolate; color: #c7cfe6;
  background:
    radial-gradient(80% 120% at 12% 0%, rgba(245,158,11,.10), transparent 55%),
    radial-gradient(70% 120% at 92% 0%, rgba(99,128,220,.16), transparent 55%),
    linear-gradient(180deg, #182a5e 0%, #111d44 60%, #0d1736 100%);
  border-block-start: 0; padding-block: 56px 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.footer .footer__logo { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.footer .footer__head { color: #fff; letter-spacing: .01em; }
.footer .footer__link { color: rgba(255,255,255,.6); transition: color .15s ease; }
.footer .footer__link:hover { color: #fff; text-decoration: none; }
.footer .footer__intro .footer__link { color: rgba(255,255,255,.72); }
.footer .socials .social { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.footer .socials .social:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.footer .newsletter .input {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
}
.footer .newsletter .input::placeholder { color: rgba(255,255,255,.5); }
.footer .newsletter .input:focus { border-color: rgba(245,158,11,.7); box-shadow: 0 0 0 3px rgba(245,158,11,.18); }
.footer .antiphish {
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04); color: rgba(255,255,255,.66); margin-block-start: 24px;
}
.footer .antiphish b { color: #fff; }
.footer .pay-strip { border-block-start: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); margin-block-start: 26px; }
.footer .pay-badge { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.78); }
.footer .pay-badge--zc { background: var(--cta); border-color: transparent; color: #2a1a02; font-weight: 800; }
.footer .footer__tm { color: rgba(255,255,255,.42); }
.footer .footer__bottom { border-block-start: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); }

/* ============================================================
   ✦ DARK MODE — refined deep-indigo (opt-in via data-theme=dark)
   Cookie-driven: the server renders <html data-theme="dark"> so there's
   no flash. Token-level overrides + a few component-specific fixes.
   ============================================================ */
.theme-toggle { background: none; border: 0; cursor: pointer; color: var(--text-muted);
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; padding: 0;
  transition: color .15s ease, background-color .15s ease; }
.theme-toggle:hover { color: var(--accent); background: var(--bg-alt); }
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
html[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
@media (max-width: 560px) { .theme-toggle { width: 32px; height: 32px; } }

html[data-theme="dark"] {
  --bg: #0d1430; --bg-alt: #151e44; --surface: #18224c;
  --text: #eaeefb; --text-muted: #a7b2d6; --text-muted-2: #7884b0;
  --accent: #7e98f6; --accent-hover: #97abf9; --accent-tint: rgba(126,152,246,.16); --accent-soft: rgba(126,152,246,.16);
  --cta: #f59e0b; --cta-hover: #fbb43d;
  --gold: #f59e0b; --gold-soft: #3a4576; --brown-deep: #cdd6f5;
  --success: #34d399; --success-bg: rgba(52,211,153,.15);
  --danger: #fb7185; --danger-bg: rgba(251,113,133,.16);
  --warn: #fbbf24; --warn-bg: rgba(251,191,36,.15);
  --border: #2b3563; --border-strong: #3b4677;
  --nav-bg: rgba(13,20,48,.82);
  --shadow-xs: 0 1px 2px rgba(0,0,0,.45);
  --shadow: 0 2px 4px rgba(0,0,0,.35), 0 12px 28px -10px rgba(0,0,0,.6);
  --shadow-md: 0 4px 10px rgba(0,0,0,.4), 0 20px 44px -14px rgba(0,0,0,.66);
  --shadow-hover: 0 8px 18px rgba(0,0,0,.45), 0 32px 64px -18px rgba(0,0,0,.72);
  --shadow-cta: 0 8px 22px -6px rgba(245,158,11,.5), 0 2px 6px rgba(245,158,11,.22);
  --ring: 0 0 0 4px rgba(126,152,246,.3);
  --grad-accent: linear-gradient(135deg, #4f64c6 0%, #3b4ea6 55%, #2d3d84 100%);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(1200px 460px at 50% -160px, rgba(126,152,246,.12), transparent 70%),
    var(--bg);
}
html[data-theme="dark"] .hero {
  background:
    radial-gradient(58% 46% at 50% -6%, rgba(126,152,246,.18), transparent 68%),
    radial-gradient(40% 38% at 88% 4%, rgba(245,158,11,.10), transparent 66%),
    radial-gradient(40% 38% at 12% 8%, rgba(126,152,246,.10), transparent 66%),
    var(--bg);
}
html[data-theme="dark"] .hero::before {
  background-image: radial-gradient(rgba(126,152,246,.16) 1px, transparent 1.4px);
}
html[data-theme="dark"] .hero .eyebrow { background: var(--surface); border-color: var(--border); }
html[data-theme="dark"] .nav { border-block-end-color: var(--border); }
html[data-theme="dark"] .promo-bar { background: var(--bg-alt); }
/* inputs/selects: lift off the page so fields read as fillable */
html[data-theme="dark"] .input,
html[data-theme="dark"] .select,
html[data-theme="dark"] textarea.input { background: #121a3e; }
/* white stock pill → dark glass on dark cards */
html[data-theme="dark"] .card__media .stockchip { background: rgba(18,26,58,.92); color: var(--text-muted); }
html[data-theme="dark"] .card__media .stockchip.out { color: var(--danger); }
html[data-theme="dark"] .wish { background: rgba(18,26,58,.92); color: var(--text-muted); }
/* cookie banner stays a readable dark slab (it uses --text as bg in light) */
html[data-theme="dark"] .cookie { background: #1b2550; color: #fff; box-shadow: var(--shadow-hover); }
/* warm-tinted boxes → neutral indigo tint in dark */
html[data-theme="dark"] .guarantee,
html[data-theme="dark"] .wallet-card { background: var(--accent-tint); border-color: var(--border); }
/* dashed anti-phish dividers etc. inherit vars; flash messages inherit too */
html[data-theme="dark"] .pay-badge { color: var(--text-muted); }
/* the footer is already deep-indigo in BOTH themes — leave it as-is */


/* ============================================================
   ★ SAABA $1M UPGRADE — NEW TOKENS (append-only, last wins)
   Adds gaming-energy gradients, glow, and premium depth on top
   of the existing indigo(#1f3a8a)+amber(#f59e0b) trust base.
   Light values here; dark overrides in [data-theme=dark] block.
   ============================================================ */
:root {
  /* energetic-but-tasteful gradients (reuse brand hues only) */
  --grad-hero: linear-gradient(135deg, #2742a0 0%, #1f3a8a 46%, #f59e0b 140%);
  --grad-heading: linear-gradient(92deg, #1f3a8a 0%, #2c4cc0 46%, #d97706 118%);
  --grad-edge: linear-gradient(90deg, #1f3a8a, #f59e0b);
  --grad-cta-sheen: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.55) 50%, transparent 75%);

  /* premium "expensive" shadows + brand glows */
  --shadow-glow-accent: 0 18px 50px -18px rgba(31,58,138,.45);
  --shadow-glow-cta: 0 16px 40px -14px rgba(245,158,11,.55);
  --shadow-card-rise: 0 10px 22px rgba(16,24,40,.07), 0 34px 70px -22px rgba(31,58,138,.30);

  /* hero aurora colors (drive the animated glow) */
  --aurora-1: rgba(31,58,138,.16);
  --aurora-2: rgba(245,158,11,.13);
  --aurora-3: rgba(44,76,192,.14);

  /* media spotlight on product cards */
  --media-spot: radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.7), transparent 60%);
  --media-spot-hot: radial-gradient(120% 95% at 50% -10%, rgba(245,158,11,.16), transparent 62%);

  /* motion system — consistent, snappy, premium */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.32,.64,1);
  --dur-fast: .16s; --dur-base: .24s; --dur-slow: .32s;
}

[data-theme="dark"] {
  --grad-hero: linear-gradient(135deg, #4f64c6 0%, #3b4ea6 46%, #f59e0b 150%);
  --grad-heading: linear-gradient(92deg, #aebcff 0%, #c7d2ff 42%, #fbbf24 118%);
  --grad-edge: linear-gradient(90deg, #7e98f6, #fbb43d);
  --shadow-glow-accent: 0 18px 54px -16px rgba(0,0,0,.7);
  --shadow-glow-cta: 0 16px 42px -12px rgba(245,158,11,.5);
  --shadow-card-rise: 0 10px 24px rgba(0,0,0,.5), 0 36px 76px -22px rgba(0,0,0,.7);
  --aurora-1: rgba(126,152,246,.22);
  --aurora-2: rgba(245,158,11,.14);
  --aurora-3: rgba(99,128,220,.20);
  --media-spot: radial-gradient(120% 90% at 50% -10%, rgba(126,152,246,.14), transparent 60%);
  --media-spot-hot: radial-gradient(120% 95% at 50% -10%, rgba(245,158,11,.18), transparent 62%);
}

/* ============================================================
   ★ SAABA $1M UPGRADE — COMPONENT POLISH (append-only)
   Safe to append: only adds depth/motion/glow; no layout changes.
   RTL-safe (logical props), dark-parity, reduced-motion guarded.
   ============================================================ */

/* ---------- HERO: breathing aurora + display H1 ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
/* animated conic glow that slowly breathes behind the headline.
   z-index keeps it under content & under the existing ::before lattice. */
.hero::after {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  inset-block-start: -38%; inset-inline-start: 50%; translate: -50% 0;
  inline-size: min(1100px, 130%); block-size: 720px; border-radius: 50%;
  background:
    radial-gradient(38% 42% at 32% 38%, var(--aurora-1), transparent 70%),
    radial-gradient(34% 38% at 70% 30%, var(--aurora-2), transparent 70%),
    radial-gradient(40% 42% at 52% 66%, var(--aurora-3), transparent 72%);
  filter: blur(14px); opacity: .9;
  animation: saaba-aurora 18s var(--ease-out) infinite alternate;
}
@keyframes saaba-aurora {
  0%   { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(22px) scale(1.08) rotate(8deg); }
}
/* display-grade headline; opt-in gradient accent via <span class="grad"> in H1 */
.hero h1 { font-weight: 800; letter-spacing: -.022em; }
.hero h1 .grad, .grad-text {
  background: var(--grad-heading); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* live pulse dot on the eyebrow already exists — add a soft ring pulse */
.hero .eyebrow::before { animation: saaba-pulse 2.4s var(--ease-out) infinite; }
@keyframes saaba-pulse {
  0%,100% { box-shadow: 0 0 0 4px var(--success-bg); }
  55%     { box-shadow: 0 0 0 7px color-mix(in srgb, var(--success) 14%, transparent); }
}

/* ---------- PRIMARY CTA: amber glow + shine sweep ---------- */
.btn--primary, .btn-primary, .btn-accent { position: relative; overflow: hidden; box-shadow: var(--shadow-glow-cta); }
.btn--primary::after, .btn-primary::after, .btn-accent::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--grad-cta-sheen); background-size: 220% 100%;
  background-position: 180% 0; opacity: 0; transition: opacity var(--dur-fast) ease;
}
.btn--primary:hover::after, .btn-primary:hover::after, .btn-accent:hover::after {
  opacity: .9; animation: saaba-sheen .6s var(--ease-out);
}
@keyframes saaba-sheen { from { background-position: 180% 0; } to { background-position: -80% 0; } }
.btn--primary:hover, .btn-primary:hover, .btn-accent:hover {
  box-shadow: 0 20px 46px -12px rgba(245,158,11,.62); transform: translateY(-2px);
}
/* ghost CTA: subtle indigo wash on hover */
.btn--ghost:hover, .btn-ghost:hover { box-shadow: var(--shadow-glow-accent); }
/* focus polish everywhere (a11y) */
.btn:focus-visible { outline: none; box-shadow: var(--ring), var(--shadow-glow-cta); }

/* ---------- NAV: scrolled depth + animated link underline ---------- */
.nav { transition: box-shadow var(--dur-base) ease, background-color var(--dur-base) ease; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; inset-block-end: -3px; inset-inline-start: 0;
  inline-size: 100%; block-size: 2px; border-radius: 2px;
  background: var(--grad-edge); transform: scaleX(0); transform-origin: inline-start;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
[dir="rtl"] .nav__links a::after { transform-origin: inline-end; }
.brand-mark { transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) ease; }
.nav__brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); box-shadow: var(--shadow-glow-accent); }
.nav__cart-count { box-shadow: 0 0 0 3px var(--surface); }

/* ---------- PRODUCT CARD: game-shelf depth + ignite edge ---------- */
.card { position: relative; transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) ease, border-color var(--dur-base) ease; }
/* amber top-edge that ignites on hover */
.card::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 3px;
  border-start-start-radius: var(--radius-lg); border-start-end-radius: var(--radius-lg);
  background: var(--grad-edge); opacity: 0; transition: opacity var(--dur-base) ease; z-index: 1;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-rise); }
.card:hover::before { opacity: 1; }
/* media: soft spotlight that warms to amber on hover; image gently scales */
.card__media { background-image: var(--media-spot); transition: background-image var(--dur-slow) ease; }
.card:hover .card__media { background-image: var(--media-spot-hot); }
.card__media img { transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .card__media img { transform: scale(1.045); }
.card__media .badge { box-shadow: var(--shadow-glow-accent); background: var(--grad-accent); }
.card__price { letter-spacing: -.01em; }
/* add-to-cart icon button: spring press */
.card__addcart:active { transform: scale(.92); }

/* ---------- PROOF BAND: indigo-glow icons ---------- */
.proof__ic { box-shadow: inset 0 0 0 1px var(--border), 0 6px 16px -8px rgba(31,58,138,.35);
  transition: transform var(--dur-base) var(--ease-spring); }
.proof__item:hover .proof__ic { transform: translateY(-2px) scale(1.05); }
.proof__t { letter-spacing: -.005em; }

/* ---------- HOW IT WORKS: glow chips + connecting rail ---------- */
.steps { position: relative; }
.steps::before {
  content: ""; position: absolute; inset-block-start: 48px; inset-inline: 14%;
  block-size: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 18px);
}
@media (max-width: 760px) { .steps::before { display: none; } }
.step-card { z-index: 1; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow-accent); }
.ic-chip { box-shadow: 0 6px 18px -8px rgba(31,58,138,.4); transition: transform var(--dur-base) var(--ease-spring); }
.step-card:hover .ic-chip { transform: scale(1.08) rotate(-4deg); }
.step-card__n { box-shadow: inset 0 0 0 1px var(--accent-soft); }

/* ---------- CATEGORY CHIPS: lively active state ---------- */
.cat-chips .tag { transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) ease, background-color var(--dur-base) ease, color var(--dur-base) ease; }
.cat-chips .tag:hover { transform: translateY(-1px); }
.cat-chips .tag--active { background: var(--grad-accent); box-shadow: var(--shadow-glow-accent); }

/* ---------- PRODUCT DETAIL (CRO) buy-box lift ---------- */
.buy-box { box-shadow: var(--shadow-card-rise); }
.product__media .badge, .pay-amount__val { letter-spacing: -.01em; }

/* ============================================================
   RESPONSIVE — keep the energy calm on small screens
   ============================================================ */
@media (max-width: 740px) {
  .hero::after { block-size: 480px; filter: blur(10px); }
  .card:hover { transform: translateY(-4px); }
}

/* ============================================================
   ACCESSIBILITY — honor reduced motion (kills all the new motion)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
  .hero .eyebrow::before { animation: none; }
  .btn--primary:hover::after, .btn-primary:hover::after, .btn-accent:hover::after { animation: none; opacity: 0; }
  .card, .card:hover, .card__media img, .card:hover .card__media img,
  .step-card, .step-card:hover, .ic-chip, .step-card:hover .ic-chip,
  .proof__item:hover .proof__ic, .brand-mark, .nav__brand:hover .brand-mark,
  .btn--primary:hover, .btn-primary:hover, .btn-accent:hover,
  .cat-chips .tag:hover, .cat-chips .tag--active { transform: none; animation: none; }
  .nav__links a::after { transition: none; }
}

/* ============================================================
   ★ SAABA $1M UPGRADE — homepage trust sections (append-only)
   ============================================================ */
.guarantee-band { text-align: center; }
.guarantee-band .shield {
  inline-size: 52px; block-size: 52px; display: inline-grid; place-items: center;
  border-radius: 50%; background: var(--success-bg); color: var(--success);
  margin-block-end: 16px; box-shadow: var(--shadow-glow-accent);
}
.guarantee-band h2 { margin: 0 0 10px; }
.guarantee-band p { max-inline-size: 620px; margin: 0 auto 20px; color: var(--text-muted); }

/* Hero sub-trust delivered line */
.hero__delivered { margin-block-start: 16px; font-size: 14px; color: var(--text-muted); }
.hero__delivered .tabnum { font-weight: 800; color: var(--text); }

/* Homepage reviews use the shared .grid; give cards a comfortable min */
.reviews-grid .review { text-align: start; box-shadow: var(--shadow); }

/* ---- "or" divider between WhatsApp (primary) and on-site checkout ---- */
.pay-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--text-muted-2); font-size: 13px; font-weight: 700; }
.pay-or > span { flex: none; }
.pay-or::before, .pay-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---- Sandy Store 18: fashion size×colour picker (PDP) ---- */
.picker { margin: 16px 0 4px; }
.picker__head { display: flex; align-items: center; gap: 10px; margin-block-end: 9px; }
.picker__label { font-weight: 700; font-size: 15px; }
.picker__chosen { color: var(--text-muted); font-size: 14px; }
.picker__guide { margin-inline-start: auto; font-size: 13px; cursor: pointer; background: none; border: none; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { inline-size: 40px; block-size: 40px; padding: 3px; border-radius: 50%; border: 2px solid transparent; background: none; cursor: pointer; transition: border-color .15s; }
.swatch > span { display: block; inline-size: 100%; block-size: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.swatch:hover { border-color: var(--border); }
.swatch.on { border-color: var(--text); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pill { min-inline-size: 46px; padding: 10px 14px; border: 1.5px solid var(--border); background: var(--surface, #fff); color: var(--text); border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; transition: .15s; }
.size-pill:hover:not(:disabled) { border-color: var(--text); }
.size-pill.on { border-color: var(--text); background: var(--text); color: var(--surface, #fff); }
.size-pill.is-out, .size-pill:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.picker__err { color: var(--danger); font-size: 13.5px; margin: 9px 0 0; }

/* ---- Sandy Store 18: variant-aware cart rows ---- */
.cart-row { align-items: flex-start; gap: 10px; }
.cart-row__img { inline-size: 46px; block-size: 58px; object-fit: cover; border-radius: 8px; flex: none; background: var(--surface-2, #f3f3f3); }
.cart-row__opt { font-size: 12.5px; color: var(--text-muted); margin-block-start: 2px; }

/* ---- Sandy Store 18: checkout / bag page ---- */
.checkout { max-width: 980px; padding-block: 24px 60px; }
.checkout__h { font-size: 26px; margin: 0 0 18px; }
.checkout__grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
@media (min-width: 860px) { .checkout__grid { grid-template-columns: 1.4fr 1fr; } }
.ck-card { background: var(--card, #fff); border: 1px solid var(--border); border-radius: 16px; padding: 18px; margin-block-end: 16px; }
.ck-card__h { font-size: 17px; margin: 0 0 14px; }
.ck-field { margin-block-end: 12px; }
.ck-field label { display: block; font-size: 13px; font-weight: 600; margin-block-end: 6px; }
.ck-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ck-summary { position: sticky; top: 80px; }
.ck-lines { display: flex; flex-direction: column; gap: 12px; }
.ck-line { display: flex; align-items: center; gap: 10px; }
.ck-line__img { inline-size: 44px; block-size: 56px; object-fit: cover; border-radius: 8px; flex: none; background: var(--surface-2,#f3f3f3); }
.ck-line__info { flex: 1; min-width: 0; }
.ck-line__t { font-weight: 600; font-size: 14px; }
.ck-line__opt { font-size: 12.5px; color: var(--text-muted); }
.ck-line__q { font-size: 12.5px; }
.ck-line__p { font-weight: 700; white-space: nowrap; }
.ck-tot { display: flex; justify-content: space-between; margin-block-start: 10px; font-size: 14.5px; }
.ck-tot--grand { font-size: 18px; font-weight: 800; border-block-start: 1px solid var(--border); padding-block-start: 10px; margin-block-start: 12px; }

/* ============================================================
   Sandy Store 18 — SHEIN-style product cards + dense grid
   ============================================================ */
.card { position: relative; background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; transform: none; }
.card:hover { transform: none; box-shadow: none; }
.card__media { position: relative; display: block; aspect-ratio: 3/4; inline-size: 100%; background: var(--bg-alt); border-radius: var(--radius-sm); overflow: hidden; margin: 0; place-items: stretch; }
.card__media .media-photo { display: block; inline-size: 100%; block-size: 100%; }
.card__media img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card .wish { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; z-index: 2; inline-size: 30px; block-size: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #222; display: grid; place-items: center; cursor: pointer; }
.card .wish.on { color: var(--sale); }
.card__add { position: absolute; inset-block-end: 8px; inset-inline-end: 8px; z-index: 2; inline-size: 32px; block-size: 32px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.20); }
.card__add:hover { background: #000; color: #fff; }
.off-badge--corner { position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 2; background: var(--sale); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 7px; border-end-end-radius: 6px; }
.card__soldout { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.62); color: #222; font-weight: 700; font-size: 13px; }
.card__body { padding: 7px 2px 2px; }
.card__price { margin: 0; font-size: 16px; font-weight: 800; color: var(--text); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card__price .price--sale { color: var(--sale); }
.card__price .compare-at { font-size: 12px; font-weight: 500; color: var(--text-muted-2); text-decoration: line-through; margin: 0; }
.card__title { margin: 3px 0 0; font-size: 13px; font-weight: 400; line-height: 1.35; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { color: inherit; }
.card__rate { margin-block-start: 3px; font-size: 12px; }
@media (max-width: 520px) { .card__title { font-size: 12.5px; } .card__price { font-size: 15px; } }

/* ---- mobile bottom nav (SHEIN-style) ---- */
.botnav { display: none; }
@media (max-width: 860px) {
  .botnav { display: flex; position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60;
            background: #fff; border-block-start: 1px solid var(--border);
            padding-block: 6px; padding-block-end: max(6px, env(safe-area-inset-bottom)); }
  .botnav a, .botnav button { flex: 1; background: none; border: 0; display: flex; flex-direction: column;
            align-items: center; gap: 2px; font-size: 10px; color: var(--text-muted); cursor: pointer;
            text-decoration: none; position: relative; }
  .botnav a.on { color: #000; }
  .botnav svg { inline-size: 22px; block-size: 22px; }
  .botnav__badge { position: absolute; inset-block-start: -3px; inset-inline-start: 58%; background: var(--sale);
            color: #fff; font-size: 9px; min-inline-size: 15px; block-size: 15px; border-radius: 9px;
            display: grid; place-items: center; padding: 0 3px; }
  body { padding-block-end: 62px; }
}

/* ============================================================
   Sandy Store 18 — SHEIN-style homepage
   ============================================================ */
.hero-banner { background: linear-gradient(120deg, #161616 0%, #3a2730 55%, #fa6338 130%); color: #fff; padding: 52px 22px; text-align: center; }
.hero-banner__inner { max-inline-size: 760px; margin-inline: auto; }
.hero-banner__kicker { letter-spacing: .22em; text-transform: uppercase; font-size: 12px; opacity: .85; margin: 0 0 10px; }
.hero-banner__title { font-size: clamp(28px, 5.5vw, 50px); font-weight: 800; line-height: 1.1; margin: 0 0 12px; color: #fff; letter-spacing: -.01em; }
.hero-banner__sub { opacity: .92; margin: 0 0 22px; font-size: 16px; }
.hero-banner .btn--primary { background: #fff; color: #000; }
.hero-banner .btn--primary:hover { background: #f0f0f0; color: #000; }

.benefits { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; padding: 16px 12px; border-block-end: 1px solid var(--border); }
.benefit { display: flex; align-items: center; gap: 9px; }
.benefit > span { font-size: 22px; }
.benefit b { display: block; font-size: 13px; }
.benefit small { color: var(--text-muted); font-size: 12px; }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 12px; max-inline-size: 760px; margin: 24px auto; padding-inline: 12px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--text); }
.cat-tile__ic { inline-size: 64px; block-size: 64px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; font-size: 28px; transition: background .2s; }
.cat-tile:hover .cat-tile__ic { background: #ececec; }
.cat-tile__t { font-size: 13px; font-weight: 600; }

.home-feed, .home-reviews { max-inline-size: var(--container-grid); margin-inline: auto; padding: 14px 0 40px; }
.home-feed__head { text-align: center; padding: 20px 12px 16px; }
.home-feed__head h2 { font-size: 24px; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; padding-inline: 12px; }
.rev-card { background: var(--bg-alt); border-radius: 8px; padding: 16px; }
.rev-card p { margin: 8px 0; font-size: 14px; line-height: 1.5; }

/* ============================================================
   Sandy Store 18 — professional polish (ui-ux-pro-max pass)
   ============================================================ */
.topbar { background: #000; color: #fff; text-align: center; font-size: 12px; letter-spacing: .02em; padding: 7px 12px; font-weight: 500; }

/* hero with real photo + legibility overlay */
.hero-banner { position: relative; background: #161616; color: #fff; padding: 64px 22px; text-align: center; overflow: hidden; }
.hero-banner::before { content: ""; position: absolute; inset: 0; background-image: var(--hero); background-size: cover; background-position: center 22%; opacity: .6; }
.hero-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.58)); }
.hero-banner__inner { position: relative; z-index: 1; max-inline-size: 760px; margin-inline: auto; }
.hero-banner__title { text-shadow: 0 2px 18px rgba(0,0,0,.35); }

/* benefit SVG icons (no emoji) */
.benefit > svg { inline-size: 24px; block-size: 24px; color: #111; flex: none; }

/* category tiles rendered as round real photos */
.cat-tile__ic { background-size: cover; background-position: center; background-color: var(--bg-alt); }

/* polish: pointer + visible focus + subtle card frame + reduced-motion */
button, a, .card, .swatch, .size-pill, [data-add-cart], [data-cart-open], [role="button"] { cursor: pointer; }
a:focus-visible, button:focus-visible, .swatch:focus-visible, .size-pill:focus-visible, .card__media:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.card__media { box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

/* override the legacy SAABA amber-gradient button → SHEIN solid black */
.btn--primary, .btn-primary, .btn-accent { background: #000 !important; color: #fff !important; box-shadow: none; }
.btn--primary:hover, .btn-primary:hover, .btn-accent:hover { background: #222 !important; color: #fff !important; }
.hero-banner .btn--primary { background: #fff !important; color: #000 !important; }
.hero-banner .btn--primary:hover { background: #efefef !important; color: #000 !important; }
.buy-box:empty { display: none; }
