/* MAYAPRO Deal — storefront stylesheet (one responsive base; < 768px = mobile layouts). */
:root {
  --white: #ffffff;
  --bg: #f8fafc;
  --navy: #0a1f44;
  --navy-deep: #061231;
  --navy-mid: #0f2a5c;
  --navy-hover: #13306a;
  --blue: #1b5fd9;
  --blue-dark: #174fb8;
  --blue-soft: #eaf1fd;
  --blue-border: #bfd3f7;
  --gold: #ffd166;
  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #475569;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --soft: #f1f5f9;
  --green: #166534;
  --green-bg: #dcfce7;
  --red: #b91c1c;
  --red-bg: #fee2e2;
  --radius: 16px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-d: "Sora", "Plus Jakarta Sans", sans-serif;
  --gutter: 64px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 6px 18px rgba(15, 23, 42, 0.06);
  --ease: 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { box-sizing: border-box; }
/* the hidden attribute always wins, whatever display a class sets (menus, panels, bars) */
html [hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.5; }
body.page-gray { background: var(--bg); }
body.no-scroll { overflow: hidden; }
h1, h2, h3, .d { font-family: var(--font-d); letter-spacing: -0.02em; }
h1, h2, h3, p { margin: 0; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--blue); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* keyboard focus: one visible ring everywhere (mouse clicks keep the native look) */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.hero :focus-visible, .africa :focus-visible, .mainbar :focus-visible, .deptbar :focus-visible, .topbar :focus-visible, .mm-head :focus-visible { outline-color: var(--gold); }
.wrap { max-width: 1312px; width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.only-mobile { display: none !important; }
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tag.gold { color: var(--gold); }
.tag.blue { color: var(--blue); }

/* buttons (>= 44px) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; text-align: center; transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-primary { box-shadow: 0 6px 16px rgba(27, 95, 217, 0.28); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(27, 95, 217, 0.34); }
.btn.is-added { background: var(--green); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline-light { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.3); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #fff; border-radius: 10px; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- header ---------- */
.topbar { background: var(--navy-deep); color: #cbd5e1; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-msgs { display: flex; gap: 28px; }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.sel select { background: transparent; color: #cbd5e1; border: 0; font-weight: 600; cursor: pointer; padding: 6px 0; }
.sel select option { color: var(--text); }
.mainbar { background: var(--navy); }
.mainbar-in { display: flex; align-items: center; gap: 40px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { color: #fff; font-weight: 800; font-size: 22px; font-family: var(--font-d); letter-spacing: -0.02em; }
.logo-sub { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; margin-top: 4px; }
.search { flex: 1; display: flex; max-width: 760px; background: #fff; border-radius: 12px; overflow: hidden; height: 50px; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08); min-width: 0; }
.search select { border: 0; border-right: 1px solid var(--line); background: var(--bg); padding: 0 14px; font-size: 14px; font-weight: 600; color: #334155; max-width: 190px; }
.search input { flex: 1; border: 0; padding: 0 16px; font-size: 15px; outline: none; min-width: 0; }
.search input:focus { box-shadow: inset 0 0 0 2px var(--blue-soft); }
.search button { width: 60px; border: 0; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.search button:hover { background: var(--blue-dark); }
.account-nav { display: flex; gap: 30px; align-items: center; font-size: 13px; font-weight: 600; margin-left: auto; }
.hdr-link { display: flex; align-items: center; gap: 10px; color: #fff; min-height: 44px; }
.hdr-link:hover { color: var(--gold); }
.hdr-two { display: flex; flex-direction: column; line-height: 1.2; }
.hdr-small { color: #94a3b8; font-weight: 500; font-size: 11px; }
.cart-ico { position: relative; display: inline-flex; }
.cart-count { position: absolute; top: -9px; right: -10px; background: var(--gold); color: var(--navy); border-radius: 10px; font-size: 11px; padding: 1px 6px; font-weight: 800; }
.infobar { background: var(--navy-deep); color: #fff; font-size: 12px; padding: 8px 16px; display: flex; justify-content: space-between; gap: 12px; }
.mobile-search-row { padding-bottom: 12px; }
.search-mobile { height: 44px; border-radius: 10px; max-width: none; }
.search-mobile button { width: 48px; }

/* department bar + mega menu */
.deptbar { background: var(--navy-mid); position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.deptbar-in { display: flex; align-items: center; height: 52px; font-size: 14px; font-weight: 600; }
.deptbar a, .deptbar button { color: #fff; }
.deptbar a:hover { color: var(--gold); }
.alldepts { display: flex; align-items: center; gap: 10px; background: var(--blue); height: 52px; padding: 0 22px; margin-right: 16px; border: 0; font-weight: 700; font-size: 14px; flex: 0 0 auto; }
.alldepts:hover { background: var(--blue-dark); }
.deptlinks { display: flex; align-items: center; min-width: 0; overflow: hidden; }
.deptlinks a { padding: 0 16px; height: 52px; display: flex; align-items: center; white-space: nowrap; }
.deptlinks a.on { color: var(--gold); }
.africa-link { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 52px; color: var(--gold) !important; white-space: nowrap; }
.mega { position: absolute; left: 0; right: 0; top: 52px; z-index: 50; }
.mega-backdrop { position: fixed; inset: 0; background: rgba(11, 31, 58, 0.45); z-index: 40; }
.mega-panel { width: min(1100px, 100%); background: #fff; border-radius: 0 0 16px 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); display: flex; min-height: 460px; max-height: calc(100vh - 200px); overflow: hidden; }
.mega-side { width: 260px; flex: 0 0 260px; background: #f7f9fb; border-right: 1px solid var(--line); padding: 12px 0; display: flex; flex-direction: column; overflow-y: auto; }
.mega-side a { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; font-size: 15px; font-weight: 600; border-left: 3px solid transparent; color: var(--text); }
.mega-side a:hover, .mega-side a.on { background: var(--blue-soft); border-left-color: var(--blue); color: var(--text); }
.mega-main { flex: 1; padding: 28px 32px; display: grid; grid-template-columns: 1fr 260px; gap: 28px; overflow-y: auto; }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-content: start; }
.mega-cols .col a { display: block; padding: 6px 0; font-size: 14px; color: var(--muted-2); }
.mega-cols .col a:hover { color: var(--blue); }
.mega-feat { background: var(--navy); border-radius: 12px; padding: 20px; color: #fff; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; min-height: 260px; }
.mega-feat p { font-size: 13px; color: #c7d2e6; line-height: 1.5; }
.mega-feat-title { font-size: 22px; font-weight: 800; font-family: var(--font-d); }

/* mobile full-screen menu */
.mobile-menu { position: fixed; inset: 0; background: #fff; z-index: 100; display: flex; flex-direction: column; overflow-y: auto; }
.mm-head { background: var(--navy); padding: 10px 8px 10px 16px; display: flex; align-items: center; justify-content: space-between; color: #fff; position: sticky; top: 0; }
.mm-title { font-weight: 800; font-size: 18px; font-family: var(--font-d); }
.mm-langs { display: flex; border-bottom: 1px solid var(--line); }
.mm-lang { flex: 1; text-align: center; padding: 12px; font-size: 13px; font-weight: 700; border: 0; background: #fff; color: var(--muted); border-bottom: 3px solid transparent; min-height: 44px; }
.mm-lang.on { color: var(--text); border-bottom-color: var(--blue); }
.mm-list { flex: 1; }
.mm-row { display: flex; justify-content: space-between; align-items: stretch; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; background: #fff; }
.mm-row a { flex: 1; display: flex; align-items: center; padding: 0 16px; min-height: 52px; }
.mm-row button { width: 52px; border: 0; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; transition: transform 0.15s; }
.mm-row button.open { transform: rotate(90deg); color: var(--blue); }
.mm-row .muted { display: flex; align-items: center; padding-right: 16px; font-size: 13px; }
.mm-sub { background: #fafbfc; border-bottom: 1px solid var(--line); }
.mm-sub a { display: flex; align-items: center; padding: 0 16px 0 32px; min-height: 46px; border-bottom: 1px solid var(--soft); font-size: 14px; color: var(--muted-2); }
.mm-sub .mm-all { color: var(--blue); font-weight: 700; }
.mm-foot { background: var(--bg); border-top: 1px solid var(--line); padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.mm-foot a { display: flex; gap: 10px; align-items: center; min-height: 40px; font-weight: 600; }
.mm-foot svg { color: var(--blue); flex: 0 0 auto; }

/* ---------- layout blocks ---------- */
main { display: block; }
.page { padding-top: 32px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 56px; }
.page-tight { padding-top: 20px; padding-bottom: 48px; gap: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: 28px; font-weight: 800; }
.section-head a { font-weight: 700; color: var(--blue); white-space: nowrap; }
.section-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs strong { color: var(--text); }

/* hero grid */
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.hero { grid-column: span 8; background: radial-gradient(900px 420px at 85% 0%, rgba(27, 95, 217, 0.45), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(255, 209, 102, 0.12), transparent 60%), linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%); border-radius: 20px; padding: 48px 52px; color: #fff; display: flex; align-items: center; gap: 36px; min-height: 440px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent); }
.hero > * { position: relative; z-index: 1; }
.hero-text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-size: 44px; line-height: 1.08; font-weight: 800; }
.hero p { font-size: 17px; line-height: 1.6; color: #c7d2e6; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.hero-proofs { list-style: none; margin: 10px 0 0; padding: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-size: 13px; font-weight: 600; color: #e2e8f0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero-proofs li { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.hero-proofs svg { color: var(--gold); flex: 0 0 auto; }
/* the hero product: a real catalog product on a white card */
.hero-art { flex: 0 0 300px; display: flex; justify-content: center; }
.hero-art-skeleton { width: 280px; height: 320px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.hero-product { display: flex; flex-direction: column; width: 300px; background: #fff; border-radius: 18px; overflow: hidden; color: var(--text); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08); transition: transform var(--ease), box-shadow var(--ease); }
.hero-product:hover { transform: translateY(-4px); box-shadow: 0 36px 70px rgba(0, 0, 0, 0.4); color: var(--text); }
.hero-product-img { display: block; aspect-ratio: 1 / 1; background: #fff; padding: 18px; }
.hero-product-img img { width: 100%; height: 100%; object-fit: contain; }
.hero-product-meta { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px 16px; border-top: 1px solid var(--line); background: var(--bg); }
.hero-product-brand { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hero-product-name { font-weight: 700; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-product-price { font-family: var(--font-d); font-weight: 800; font-size: 20px; display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.hero-product-cta { font-size: 13px; font-weight: 700; color: var(--blue); }
/* spotlight cards (the two biggest savings) */
.hero-side { grid-column: span 4; display: flex; flex-direction: column; gap: 24px; }
.spot { flex: 1; display: flex; gap: 16px; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; color: var(--text); min-height: 0; }
.spot:hover { color: var(--text); border-color: var(--blue-border); }
.spot-img { position: relative; flex: 0 0 132px; width: 132px; aspect-ratio: 1 / 1; align-self: center; border-radius: 12px; background: #fff; border: 1px solid var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.spot-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.spot-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.spot-title { font-family: var(--font-d); font-size: 15px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot .price-now { font-size: 20px; }
.skeleton .spot-img { background: var(--soft); border: 0; }
.badge-off { position: absolute; top: 8px; right: 8px; z-index: 1; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 7px; border-radius: 7px; letter-spacing: 0.01em; box-shadow: 0 2px 6px rgba(185, 28, 28, 0.3); }
.card { transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
a.card:hover, .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
/* West Africa strip under the hero */
.africa-strip { display: flex; align-items: center; gap: 14px; background: var(--blue-soft); border: 1px solid var(--blue-border); border-radius: 14px; padding: 12px 18px; color: var(--navy); font-size: 14px; font-weight: 600; margin-top: -28px; }
.africa-strip:hover { background: #dfeafc; color: var(--navy); }
.africa-strip-flags { font-family: var(--font-d); font-weight: 800; letter-spacing: 0.06em; background: var(--navy); color: var(--gold); border-radius: 8px; padding: 6px 10px; font-size: 12px; white-space: nowrap; }
.africa-strip-text { flex: 1; min-width: 0; }
.africa-strip-cta { color: var(--blue); font-weight: 700; white-space: nowrap; }

.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.promise { padding: 22px 24px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.promise:last-child { border-right: 0; }
.promise-t { font-weight: 700; font-size: 14px; }
.promise-s { font-size: 13px; color: var(--muted); }

.dept-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.dept-tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; position: relative; color: var(--text); }
.dept-tile:hover { color: var(--text); border-color: var(--blue-border); }
.dept-media { width: 100%; aspect-ratio: 1 / 1; max-height: 128px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dept-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; mix-blend-mode: multiply; transition: transform var(--ease); }
.dept-tile:hover .dept-media img { transform: scale(1.05); }
.dept-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; width: 100%; }
.dept-tile .name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.dept-tile .count { font-size: 12px; color: var(--muted); }
.dept-arrow { position: absolute; top: 10px; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 22px; font-weight: 700; transition: background var(--ease), color var(--ease); }
.dept-tile:hover .dept-arrow { background: var(--blue); color: #fff; border-color: var(--blue); }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* product card */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-width: 0; box-shadow: var(--shadow-sm); }
.product-card.is-out { opacity: 0.85; }
.card-img { aspect-ratio: 1 / 1; width: 100%; background: #fff; border: 1px solid var(--soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform var(--ease); }
.product-card:hover .card-img img { transform: scale(1.04); }
.noimg { color: var(--muted); font-size: 13px; }
.ribbon { position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; z-index: 1; }
.card-brand { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; min-height: 16px; }
.card-name { font-weight: 700; font-size: 15px; line-height: 1.35; height: calc(2 * 1.35em); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-specs { font-size: 13px; color: var(--muted-2); min-height: 1.5em; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.stock { font-size: 13px; font-weight: 600; }
.stock.ok { color: var(--green); }
.stock.low { color: var(--blue); }
.stock.out { color: var(--red); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-now { font-family: var(--font-d); font-weight: 800; font-size: 22px; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.price-alt { color: var(--muted-2); font-size: 13px; font-weight: 600; }
.price-big .price-alt { font-size: 16px; }
.save { background: var(--green-bg); color: var(--green); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.price-big .price-now { font-size: 36px; }
.price-big .price-was { font-size: 18px; }
.product-card .price { margin-top: auto; }
.product-card .btn { min-height: 44px; }
.sk-line.sk-btn { height: 44px; border-radius: 10px; margin-top: auto; }
/* brand chips */
.brand-row { display: flex; gap: 10px; flex-wrap: wrap; }
.brand-chip { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.brand-chip:hover { border-color: var(--blue); color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow); }
.brand-name { font-family: var(--font-d); font-weight: 700; font-size: 15px; }
.brand-n { font-size: 12px; color: var(--muted); }
.skeleton .card-img { background: linear-gradient(90deg, #f1f5f9, #e9eef5, #f1f5f9); background-size: 200% 100%; animation: sk 1.2s infinite; }
.sk-line { height: 12px; border-radius: 6px; background: #eef2f7; animation: sk 1.2s infinite; }
.sk-line.w40 { width: 40%; } .sk-line.w70 { width: 70%; } .sk-line.w30 { width: 30%; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Africa block */
.africa { background: var(--navy); border-radius: 20px; padding: 48px 56px; color: #fff; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.africa h2 { font-size: 32px; line-height: 1.15; font-weight: 800; }
.africa p { font-size: 16px; line-height: 1.6; color: #c7d2e6; }
.africa-left { display: flex; flex-direction: column; gap: 16px; }
.pay-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-pills span { background: #fff; color: var(--navy); border-radius: 8px; padding: 9px 14px; font-size: 13px; font-weight: 700; }
.africa-right { display: flex; flex-direction: column; gap: 14px; }
.step { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; padding: 20px 22px; display: flex; gap: 16px; }
.step-n { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 44px; font-family: var(--font-d); position: relative; color: #fff; }
.step-i { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 11px; display: flex; align-items: center; justify-content: center; }
.africa-more { align-self: flex-start; margin-top: 4px; }
.step-t { font-weight: 700; font-size: 16px; }
.step-s { font-size: 14px; color: #c7d2e6; line-height: 1.5; margin-top: 4px; }

.reassure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.reassure > div { border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.reassure .d { font-size: 18px; font-weight: 700; }
.reassure p { font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.reassure a { font-weight: 700; color: var(--blue); }

/* ---------- footer ---------- */
#site-footer { background: var(--navy-deep); color: #94a3b8; padding: 48px 0 32px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-links a { color: #94a3b8; display: block; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: #fff; }
.footer-brand { color: #fff; font-weight: 800; font-size: 20px; font-family: var(--font-d); }
.footer-addr { line-height: 1.7; }
.footer-addr a { display: inline; }
.footer-h { color: #fff; font-weight: 700; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pay-badges span { border: 1px solid #334155; border-radius: 6px; padding: 5px 9px; font-size: 11px; font-weight: 700; color: #cbd5e1; }
.footer-bottom { margin-top: 28px; border-top: 1px solid #1e293b; padding-top: 18px; font-size: 12px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px 0 calc(8px + env(safe-area-inset-bottom)); z-index: 30; }
.bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--muted); min-height: 44px; justify-content: center; border: 0; background: transparent; }
.bottom-nav .on { color: var(--blue); font-weight: 700; }

/* ---------- shop page ---------- */
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.shop-head h1 { font-size: 30px; font-weight: 800; }
.shop-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }
.sort { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.sort label { color: var(--muted); }
.sort select, .select { height: 44px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 12px; background: #fff; font-size: 14px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; min-height: 20px; }
.chips-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-soft); color: var(--blue-dark); border: 1px solid var(--blue-border); border-radius: 20px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 36px; }
.chip:hover { background: #dbe7fb; }
.chip-clear { font-size: 13px; color: var(--blue); font-weight: 700; margin-left: 6px; background: none; border: 0; min-height: 36px; }
.shop-body { display: flex; gap: 24px; align-items: flex-start; }
.filters { width: 270px; flex: 0 0 270px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
.filters-head { font-weight: 800; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.filters-head span { font-size: 13px; color: var(--muted); font-weight: 600; }
.fgroup-t { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.filters label, .fpanel label { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 5px 0; cursor: pointer; min-height: 32px; }
.filters input[type="checkbox"], .fpanel input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; flex: 0 0 auto; }
.filters label .n, .fpanel label .n { color: var(--muted); margin-left: auto; font-size: 13px; }
.price-row { display: flex; gap: 8px; align-items: center; }
.price-row input { width: 80px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 10px; min-width: 0; flex: 1; }
.price-row button { height: 40px; border: 0; background: var(--navy); color: #fff; border-radius: 8px; padding: 0 12px; font-weight: 700; }
.fmore { background: none; border: 0; color: var(--blue); font-weight: 700; font-size: 13px; padding: 4px 0; }
.results { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.results .grid-3 .product-card { padding: 18px; border-radius: 14px; }
.pager { display: flex; justify-content: center; gap: 8px; padding-top: 12px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); font-weight: 700; padding: 0 12px; }
.pager button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager button:disabled { opacity: 0.45; cursor: default; }
.empty { background: #fff; border: 1px dashed var(--line-2); border-radius: 14px; padding: 40px; text-align: center; color: var(--muted); }
.grid-3 > .empty, .grid-4 > .empty { grid-column: 1 / -1; }
.mobile-filter-row { display: none; gap: 8px; padding: 10px 0; overflow-x: auto; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 20px; padding: 0 12px; font-size: 13px; font-weight: 600; background: #fff; min-height: 40px; white-space: nowrap; }
.pill.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.fpanel-backdrop { position: fixed; inset: 0; background: rgba(11, 31, 58, 0.5); z-index: 90; }
.fpanel { position: fixed; left: 0; right: 0; bottom: 0; height: min(78vh, 640px); background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25); display: flex; flex-direction: column; z-index: 95; }
.fpanel-grip { display: flex; justify-content: center; padding: 10px 0 0; }
.fpanel-grip span { width: 44px; height: 5px; border-radius: 3px; background: var(--line-2); }
.fpanel-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px 12px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 18px; }
.fpanel-body { flex: 1; overflow-y: auto; padding: 4px 16px; display: flex; flex-direction: column; gap: 10px; }
.fpanel-foot { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.fpanel-foot .btn { width: 100%; min-height: 50px; border-radius: 12px; font-size: 16px; }
.progress { font-size: 13px; color: var(--muted); }

/* ---------- product page ---------- */
.pdp { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.pdp-media { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pdp-main { background: #fff; border: 1px solid var(--line); border-radius: 16px; height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; touch-action: pan-y; }
.pdp-main img { max-height: 100%; max-width: 100%; object-fit: contain; }
.pdp-dots { display: none; position: absolute; bottom: 10px; left: 0; right: 0; justify-content: center; gap: 6px; }
.pdp-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.pdp-dots span.on { background: var(--blue); width: 18px; border-radius: 4px; }
.pdp-main .badge-off { top: 12px; left: 12px; right: auto; font-size: 13px; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.thumbs button { height: 80px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 4px; }
.thumbs button.on { border: 2px solid var(--blue); }
.thumbs img { max-height: 100%; object-fit: contain; }
.pdp-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pdp-brand { font-size: 13px; font-weight: 700; color: var(--blue); }
.pdp h1 { font-size: 28px; line-height: 1.2; font-weight: 800; }
.pdp-meta { display: flex; gap: 14px; align-items: center; font-size: 14px; flex-wrap: wrap; }
.xof-box { font-size: 14px; color: var(--muted-2); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.pdp-bullets { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--muted-2); }
fieldset.delivery { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
fieldset.delivery legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-size: 14px; background: #fff; min-height: 44px; }
.opt input { margin-top: 3px; accent-color: var(--blue); }
.opt.on { border-color: var(--blue); background: #f3f7fe; }
.opt .muted { color: var(--muted); }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row label { font-size: 14px; font-weight: 600; }
.qty { width: 70px; height: 48px; border: 1px solid var(--line-2); border-radius: 10px; text-align: center; font-size: 16px; }
.buy-row .btn-primary { flex: 1; min-width: 200px; font-size: 16px; font-weight: 800; }
.wa-btn { min-height: 48px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; background: #fff; }
.wa-btn svg { color: var(--green); }
.checks { display: flex; gap: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.options { display: flex; flex-direction: column; gap: 10px; }
.option-name { font-weight: 700; font-size: 14px; }
.option-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.option-choices button { min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; }
.option-choices button.on { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); }
.option-choices button.off { opacity: 0.45; text-decoration: line-through; }
.tabs { display: flex; border-bottom: 2px solid var(--line); font-size: 15px; font-weight: 700; overflow-x: auto; }
.tabs button { padding: 12px 20px; border: 0; background: none; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; min-height: 48px; }
.tabs button.on { color: var(--text); border-bottom-color: var(--blue); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.panel h2 { font-size: 20px; font-weight: 800; }
.panel p { font-size: 15px; line-height: 1.6; color: var(--muted-2); }
.spec-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table td:first-child { color: var(--muted); width: 34%; font-weight: 600; }
.mobile-buybar { display: none; }

/* ---------- cart page ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 12px; }
.line { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.line-img { width: 96px; height: 96px; background: var(--soft); border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.line-img img { max-height: 100%; object-fit: contain; }
.line-name { font-weight: 700; font-size: 15px; line-height: 1.35; }
.line-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.line-unit { font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.line-total { font-family: var(--font-d); font-weight: 800; font-size: 18px; }
.qty-ctl { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.qty-ctl button { width: 44px; height: 44px; border: 0; background: #fff; font-size: 18px; font-weight: 700; }
.qty-ctl button:hover { background: var(--soft); }
.qty-ctl input { width: 48px; height: 44px; border: 0; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); text-align: center; font-weight: 700; }
.remove-btn { background: none; border: 0; color: var(--muted); font-size: 13px; font-weight: 600; min-height: 36px; text-decoration: underline; }
.remove-btn:hover { color: var(--red); }
.summary { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 12px; }
.summary h2 { font-size: 20px; font-weight: 800; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.sum-row > :last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-row.total { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); padding-top: 12px; font-family: var(--font-d); }
.summary .btn { width: 100%; }
.summary .note { font-size: 12px; color: var(--muted); line-height: 1.5; }
.delivery-pick { display: flex; flex-direction: column; gap: 8px; }

/* ---------- info pages ---------- */
.info-page { max-width: 860px; display: flex; flex-direction: column; gap: 24px; }
.info-page h1 { font-size: 34px; font-weight: 800; }
.info-page h2 { font-size: 22px; font-weight: 800; margin-top: 8px; }
.info-page p, .info-page li { font-size: 15px; line-height: 1.7; color: var(--muted-2); }
.info-page ul { margin: 0; padding-left: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* ---------- toasts / alerts ---------- */
#mp-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 200; pointer-events: none; }
.toast { background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(10px); transition: opacity 0.25s, transform 0.25s; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.toast.show { opacity: 1; transform: translateY(0); }
.toast-err { background: var(--red); }
.alert { background: var(--red-bg); color: var(--red); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.notice { background: var(--blue-soft); color: var(--blue-dark); border-radius: 10px; padding: 12px 14px; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .results .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-column: span 12; }
  .hero-side { grid-column: span 12; flex-direction: row; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise:nth-child(2) { border-right: 0; }
  .promise:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .topbar-msgs span:last-child { display: none; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { padding-bottom: 72px; }
  .only-mobile { display: flex !important; }
  .only-desktop { display: none !important; }
  .topbar { display: none; }
  .mainbar-in { gap: 8px; padding-top: 10px; padding-bottom: 12px; justify-content: space-between; }
  .cart-count { right: -6px; top: -7px; }
  .mainbar-in .search { display: none; }
  .logo-name { font-size: 18px; }
  .logo-img { width: 38px; height: 38px; }
  .account-nav { margin-left: 0; gap: 0; }
  .mobile-search-row { display: block !important; }
  .page { padding-top: 16px; padding-bottom: 40px; gap: 24px; }
  .page-tight { padding-top: 12px; padding-bottom: 32px; gap: 14px; }
  .section-head { margin-bottom: 12px; }
  .section-head h2 { font-size: 18px; }
  .hero-grid { gap: 12px; }
  .hero { padding: 22px 18px 20px; min-height: 0; border-radius: 16px; flex-direction: column-reverse; gap: 18px; align-items: stretch; }
  .hero h1 { font-size: 27px; }
  .hero p { font-size: 14px; }
  .hero-actions .btn { flex: 1 1 auto; min-height: 48px; padding: 0 14px; font-size: 14px; }
  .hero-proofs { gap: 6px 10px; font-size: 12px; }
  .hero-art { flex: 0 0 auto; }
  .hero-art-skeleton { width: 100%; height: 220px; }
  .hero-product { width: 100%; flex-direction: row; align-items: stretch; }
  .hero-product-img { flex: 0 0 44%; aspect-ratio: auto; min-height: 150px; padding: 10px; }
  .hero-product-meta { flex: 1; border-top: 0; border-left: 1px solid var(--line); justify-content: center; padding: 12px 14px; }
  .hero-product-price { font-size: 18px; }
  .hero-side { flex-direction: column; gap: 12px; }
  .spot { padding: 12px; border-radius: 14px; gap: 12px; }
  .spot-img { flex-basis: 104px; width: 104px; }
  .spot-title { font-size: 14px; }
  .spot .price-now { font-size: 18px; }
  .africa-strip { margin-top: -12px; padding: 10px 12px; font-size: 13px; gap: 10px; flex-wrap: wrap; }
  .africa-strip-text { flex: 1 1 100%; order: 3; }
  .africa-strip-cta { margin-left: auto; }
  .section-sub { font-size: 13px; }
  .brand-chip { min-height: 48px; padding: 6px 14px; flex: 1 1 calc(33.333% - 7px); align-items: center; text-align: center; }
  .brand-name { font-size: 14px; }
  .brand-n { font-size: 11px; }
  .brand-row { gap: 8px; }
  .promises { grid-template-columns: 1fr; border-radius: 12px; }
  .promise { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .promise:last-child { border-bottom: 0; }
  .dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .dept-tile { padding: 8px 8px 10px; gap: 6px; border-radius: 12px; }
  .dept-media { max-height: 96px; border-radius: 10px; }
  .dept-media svg { width: 44px; height: 32px; }
  .dept-media img { padding: 6px; }
  .dept-arrow { display: none; }
  .dept-tile .name { font-size: 12px; }
  .dept-tile .count { font-size: 11px; }
  .grid-4, .results .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card, .results .grid-3 .product-card { padding: 10px; border-radius: 12px; gap: 6px; }
  .card-img, .results .card-img { border-radius: 8px; }
  .card-img img { padding: 6px; }
  .card-name { font-size: 13px; }
  .card-specs { font-size: 12px; }
  .price-now { font-size: 16px; }
  .card-brand { font-size: 11px; }
  .badge-off { font-size: 11px; padding: 3px 6px; }
  .product-card .btn { font-size: 13px; padding: 0 8px; gap: 6px; }
  .product-card .btn svg { width: 16px; height: 16px; }
  .stock { font-size: 12px; }
  .africa { padding: 20px; grid-template-columns: 1fr; gap: 20px; border-radius: 14px; }
  .africa h2 { font-size: 22px; }
  .reassure { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  /* shop */
  .shop-head h1 { font-size: 20px; }
  .sort { display: none; }
  .chips { display: none; }
  .mobile-filter-row { display: flex; }
  .filters { display: none; }
  .results { flex: 1 1 auto; width: 100%; }
  .pager button { min-width: 44px; height: 44px; }
  /* product */
  .pdp { gap: 14px; }
  .pdp-main { height: 280px; border-radius: 12px; }
  .pdp-dots { display: flex; }
  .thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .thumbs button { height: 56px; }
  .pdp h1 { font-size: 18px; }
  .price-big .price-now { font-size: 28px; }
  .price-big .price-was { font-size: 14px; }
  .buy-row { display: none; }
  .mobile-buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); gap: 10px; align-items: center; z-index: 60; }
  .mobile-buybar .wa-btn { width: 50px; height: 50px; padding: 0; justify-content: center; border-radius: 12px; flex: 0 0 50px; }
  .mobile-buybar .btn { flex: 1; min-height: 50px; border-radius: 12px; font-size: 15px; font-weight: 800; }
  .mobile-buybar .qty { height: 50px; width: 60px; }
  body.has-buybar { padding-bottom: 90px; }
  .bottom-nav { display: grid !important; }
  body.has-buybar .bottom-nav { display: none !important; }
  .panel { padding: 18px; }
  .tabs button { padding: 10px 12px; font-size: 14px; }
  /* cart */
  .cart-layout { grid-template-columns: 1fr; }
  .line { grid-template-columns: 72px minmax(0, 1fr); }
  .line-img { width: 72px; height: 72px; }
  .line-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .summary { position: static; padding: 18px; }
  .sum-row.total { font-size: 16px; flex-wrap: wrap; }
  .sum-row.total > :last-child { font-size: 20px; }
  .line { padding: 14px; gap: 12px; }
  .line-total { font-size: 17px; }
  .qty-ctl button { width: 40px; height: 40px; }
  .qty-ctl input { width: 40px; height: 40px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-page h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* misc */
.linklike { background: none; border: 0; font-weight: 700; color: var(--blue); font-size: inherit; padding: 0; min-height: 44px; font-family: inherit; }
.linklike:hover { color: var(--blue-dark); }
.fgroup-inline { margin-top: -10px; }
.info-html p { font-size: 15px; line-height: 1.6; color: var(--muted-2); }
.panel h3 { font-size: 16px; font-weight: 700; margin-top: 8px; }
@media (min-width: 768px) {
  .mobile-buybar, .mobile-menu, .fpanel, .fpanel-backdrop, .infobar, .mobile-search-row { display: none !important; }
}

/* ---------- member accounts ---------- */
/* header control: skeleton / "Sign in" / name + log out */
.hdr-account { display: flex; align-items: center; gap: 14px; min-width: 150px; min-height: 44px; }
.hdr-account .sk-line { width: 90px; background: rgba(255, 255, 255, 0.18); margin: 3px 0; }
.hdr-account .sk-line.w60 { width: 60px; }
.hdr-account .sk-dark { animation: pulse 1.4s ease-in-out infinite; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; object-fit: cover; flex: 0 0 auto; }
.avatar-sm { width: 22px; height: 22px; font-size: 11px; }
.hdr-logout { background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; border-radius: 8px; min-height: 36px; padding: 0 12px; font-weight: 600; font-size: 12px; }
.hdr-logout:hover { border-color: var(--gold); color: var(--gold); }
.bottom-nav .sk-line { width: 36px; height: 9px; }

/* auth page */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 40px; align-items: start; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: 24px; font-weight: 800; }
.auth-intro { font-size: 14px; color: var(--muted); line-height: 1.6; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 12px; padding: 4px; gap: 4px; }
.auth-tabs button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; font-weight: 700; color: var(--muted); font-size: 14px; }
.auth-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input { height: 48px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 0 14px; font-size: 15px; font-weight: 500; background: #fff; width: 100%; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field .hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 52px; }
.pw-toggle { position: absolute; top: 0; right: 0; height: 48px; width: 48px; border: 0; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--blue); outline: none; }
.pw-toggle .ico-eye-off { display: none; }
.pw-toggle[aria-pressed="true"] .ico-eye { display: none; }
.pw-toggle[aria-pressed="true"] .ico-eye-off { display: inline; }
.field-foot { display: flex; justify-content: flex-end; margin-top: -6px; }
.link-btn { background: none; border: 0; padding: 0 2px; min-height: 36px; color: var(--blue); font-weight: 700; font-size: 14px; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.form .btn { width: 100%; min-height: 50px; font-size: 16px; }
.form-switch { font-size: 14px; color: var(--muted); text-align: center; }
.form-switch button { background: none; border: 0; color: var(--blue); font-weight: 700; font-size: inherit; padding: 0 4px; min-height: 44px; }
.auth-aside { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.auth-aside h2 { font-size: 20px; font-weight: 800; }
.auth-aside ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.auth-aside li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted-2); line-height: 1.5; }
.auth-aside li svg { color: var(--blue); flex: 0 0 auto; margin-top: 3px; }

/* account page */
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.account-head { display: flex; align-items: center; gap: 16px; }
.account-head .avatar { width: 56px; height: 56px; font-size: 22px; }
.account-head h2 { font-size: 20px; font-weight: 800; }
.account-sub { font-size: 14px; color: var(--muted); }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: 14px; }
.kv dt { color: var(--muted); font-weight: 600; margin: 0; }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.account-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.account-skeleton { display: flex; flex-direction: column; gap: 12px; }
.account-skeleton .sk-line { height: 14px; }

/* account page: the checkout notice + the signed-in dot in the bottom bar */
.account-notice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; font-weight: 600; }
.account-notice svg { color: var(--green); flex: 0 0 auto; }
.account-notice span { flex: 1 1 200px; }
.account-notice .btn { min-height: 44px; }
#auth-reason { font-weight: 600; }
.bn-ico { position: relative; display: inline-flex; }
.online-dot { position: absolute; top: -2px; right: -4px; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.bottom-nav .bn-ico.online { color: var(--navy); }
@media (max-width: 767px) {
  .auth-wrap { grid-template-columns: 1fr; gap: 20px; }
  .auth-card { padding: 20px 16px; }
  .auth-aside { padding-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
}

/* account: why create an account (auth card) */
.auth-benefits { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.auth-benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted-2); line-height: 1.45; }
.auth-benefits li svg { color: var(--green); flex: 0 0 auto; margin-top: 2px; }
/* cart: account required before checkout */
.gate-banner { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--blue-border); }
.gate-banner strong { color: var(--navy); font-size: 15px; }
.gate-banner .btn { min-height: 44px; margin-top: 4px; }
/* account: the member's orders */
.orders-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 10px; }
.orders-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 700; padding: 6px 8px 8px 0; border-bottom: 1px solid var(--line); }
.orders-table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.orders-table tr:last-child td { border-bottom: 0; }
@media (max-width: 767px) {
  .orders-table thead { display: none; }
  .orders-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .orders-table td { padding: 0; border: 0; }
  .orders-table td:nth-child(2), .orders-table td:nth-child(4) { text-align: right; }
}

/* ---- Language / Country pickers (header) ------------------------------------------------------- */
.topbar-links { gap: 12px; }
.topbar-links > a { white-space: nowrap; }
.sel.pick { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.06); line-height: 1; }
.sel.pick .pick-lbl { font: 600 11px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: #cbd5e1; white-space: nowrap; }
.sel.pick select { font: 700 13px var(--font); color: #fff; padding: 4px 0; max-width: 170px; }
@media (max-width: 1600px) { .topbar-msgs > span:not(.mp-promo) { display: none; } }
.mm-pick { padding: 10px 16px 6px; border-bottom: 1px solid var(--line); }
.mm-pick .mm-langs { border-bottom: 0; gap: 8px; }
.mm-pick .mm-lang { border: 1px solid var(--line-2); border-radius: 10px; }
.mm-pick .mm-lang.on { border-color: var(--blue); background: var(--blue-soft); }
.mm-pick-lbl { display: block; font: 700 11px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 4px 0 8px; }
.mm-country { width: 100%; font: 600 15px var(--font); padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--text); min-height: 44px; }

/* ---- West Africa: strip, quote buttons and boxes ---------------------------------------------- */
.af-strip { background: linear-gradient(90deg, #0a1f44, #174fb8); color: #fff; font: 600 13px/1.35 var(--font); padding: 9px 0; }
.af-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; justify-content: center; text-align: center; }
.af-strip a { color: #ffd166; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.quote-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; font: 700 15px var(--font); padding: 12px 18px; text-decoration: none !important; cursor: pointer; border: 0; line-height: 1.1; }
.quote-btn svg { flex: none; }
.quote-btn.wa { background: #25d366; color: #062b12; }
.quote-btn.wa:hover { background: #1fbf5b; }
.quote-btn.mail { background: var(--navy); color: #fff; }
.quote-btn.mail:hover { background: var(--navy-hover); }
.quote-btn.sm { font-size: 13px; padding: 9px 12px; border-radius: 10px; width: 100%; }
.quote-box { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 6px; padding: 14px; border: 1px solid var(--blue-border); background: var(--blue-soft); border-radius: 14px; }
.quote-box .quote-t { font: 800 15px var(--font-d); color: var(--navy); }
.quote-box .quote-s { font: 500 13px var(--font); color: var(--muted-2); }
.quote-box .quote-row { display: flex; flex-wrap: wrap; gap: 10px; }
.quote-box .quote-row .quote-btn { flex: 1 1 200px; }
/* West Africa: the cart works, but no online payment — the cart ends with a quote request */
.mp-af #checkout, .mp-af #wa, .mp-af .summary .note, .mp-af .delivery-pick { display: none !important; }
.af-only { display: none; }
.mp-af .af-only { display: revert; }
.mp-af .us-only { display: none !important; }
.quote-box .quote-alt { font: 600 13px var(--font); color: var(--muted-2); margin: 2px 0 0; }
.quote-box .quote-alt a { color: var(--navy); font-weight: 700; }
.quote-code { display: flex; flex-direction: column; gap: 6px; }
.quote-code label { font: 700 13px var(--font); color: var(--navy); }
.quote-code-row { display: flex; gap: 8px; }
.quote-code-row input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 0 12px; font: 600 15px var(--font); text-transform: uppercase; letter-spacing: .03em; background: #fff; color: var(--text); }
.quote-code-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.quote-code-row .btn { min-height: 44px; padding: 0 16px; width: auto !important; flex: none; }
.mp-af #sum-xof { display: none; }
.quote-code-msg { font-size: 13px; line-height: 1.45; padding: 8px 10px; border-radius: 10px; background: #fff7df; color: #7a5300; }
.quote-code-msg.ok { background: var(--green-bg); color: var(--green); }
.quote-code-msg:empty { display: none; }
.quote-box .af-order { width: 100%; min-height: 50px; font-size: 16px; }
.quote-box .quote-or { display: flex; align-items: center; gap: 10px; font: 700 12px var(--font); color: var(--muted-2); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.quote-box .quote-or::before, .quote-box .quote-or::after { content: ""; flex: 1; height: 1px; background: var(--blue-border); }
.quote-total { display: flex; justify-content: space-between; gap: 10px; font: 800 15px var(--font-d); color: var(--navy); border-top: 1px dashed var(--blue-border); padding-top: 8px; }

/* ---- reCAPTCHA on the account form ------------------------------------------------------------- */
.captcha-box { display: flex; justify-content: center; margin: 4px 0; min-height: 78px; }
.captcha-box[hidden] { display: none; }
.captcha-hint { color: var(--navy); font-weight: 600; text-align: center; }
.captcha-inv:empty { display: none; }
.captcha-inv { display: flex; justify-content: center; }

/* ---- West Africa page ----------------------------------------------------------------------------- */
.sa-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.sa-cta .btn { flex: 1 1 240px; }
.info-grid.sa-steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.sa-pay li { font-weight: 600; }

/* ---- Government & Business page --------------------------------------------------------------------- */
.gb-page .gb-why { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.gb-page .gb-why h2 { font-size: 17px; margin: 0 0 6px; }
.gb-form { padding: 22px; scroll-margin-top: 90px; }
.gb-form select, .gb-form textarea { border: 1.5px solid var(--line-2); border-radius: 10px; padding: 12px 14px; font: 500 15px var(--font); background: #fff; width: 100%; color: var(--text); }
.gb-form select { height: 48px; padding: 0 12px; }
.gb-form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.gb-form select:focus, .gb-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.gb-checks { justify-content: flex-end; gap: 10px; font-weight: 500; }
.gb-checks label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.gb-checks input { width: 18px; height: 18px; }
.gb-note { text-align: center; margin: -4px 0 0; }
.gb-facts .kv { margin: 0; }
@media (max-width: 720px) { .gb-form .form-row { grid-template-columns: 1fr; } }
.gb-facts .kv { grid-template-columns: 210px 1fr; }
@media (max-width: 720px) { .gb-facts .kv { grid-template-columns: 1fr; gap: 2px 0; } .gb-facts .kv dd { margin-bottom: 8px; } }

/* ---- referral (parrainage) ---------------------------------------------------------------------- */
.ref-note { margin: 10px 0 2px; padding: 10px 12px; border-radius: 10px; background: #fff7df; color: #7a5300; font-size: 13.5px; line-height: 1.45; }
.ref-note.ok { background: var(--green-bg); color: var(--green); }
.mp-af .ref-note { display: none !important; }
.ref-card { grid-column: 1 / -1; }
.ref-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: end; margin: 14px 0 6px; }
.ref-code { display: flex; flex-direction: column; gap: 4px; background: var(--blue-soft); border: 1px dashed var(--blue-border); border-radius: 12px; padding: 10px 16px; }
.ref-code span { font-size: 12px; color: var(--muted-2); font-weight: 600; }
.ref-code strong { font: 800 20px/1.1 var(--font-d); letter-spacing: 0.04em; color: var(--navy); }
.ref-link { margin: 0; }
.ref-link-row { display: flex; gap: 8px; }
.ref-link-row input { flex: 1; min-width: 0; font-size: 14px; }
.ref-share { flex-wrap: wrap; }
.ref-share .quote-btn { display: inline-flex; align-items: center; gap: 8px; }
.ref-rules { margin: 14px 0 0; padding-left: 18px; color: var(--muted-2); font-size: 13.5px; line-height: 1.5; }
.ref-rules li + li { margin-top: 4px; }
@media (max-width: 640px) {
  .ref-box { grid-template-columns: 1fr; }
}

/* ---- policy pages (terms, returns, privacy, about): one bilingual page, shown in the visitor's language ---- */
html[lang="fr"] .lg-en, html:not([lang="fr"]) .lg-fr { display: none; }
.legal .lg-en, .legal .lg-fr { display: flex; flex-direction: column; gap: 20px; }
html[lang="fr"] .legal .lg-en, html:not([lang="fr"]) .legal .lg-fr { display: none; }
.legal h1 { margin-top: -8px; }
.legal h3 { font-size: 17px; font-weight: 800; }
.legal ol { margin: 0; padding-left: 22px; }
.legal ol li, .legal ul li { margin-bottom: 4px; }
.legal-lead { font-size: 17px !important; color: var(--text) !important; }
.legal-date { font-size: 13px !important; margin-top: -12px; }
.legal-toc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.legal-toc ol { columns: 2; column-gap: 28px; padding-left: 20px; }
.legal-toc li { font-size: 14px !important; break-inside: avoid; }
.legal-toc a { color: var(--navy); font-weight: 600; text-decoration: none; }
.legal-toc a:hover { color: var(--blue); text-decoration: underline; }
.legal-sec { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.legal-sec + .legal-sec { border-top: 1px solid var(--line); padding-top: 20px; }
.legal a:not(.btn) { color: var(--blue); }
.legal-more { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 20px; }
.legal-more a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--navy) !important; text-decoration: none; }
.legal-more a:hover { border-color: var(--blue); color: var(--blue) !important; }
.about-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.about-stats div { background: var(--navy); color: #fff; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.about-stats strong { font-family: Sora, sans-serif; font-size: 22px; color: var(--gold); }
.about-stats span { font-size: 13px; color: #cbd5e1; }
@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.legal .quote-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- 2026-10-18 quality pass: layout stability, lighter cards, mobile rails ------------------------ */
/* the header is drawn by script: reserve its exact height so nothing jumps when it appears (CLS) */
#site-header:empty { display: block; min-height: 177px; background: linear-gradient(var(--navy-deep) 0 38px, var(--navy) 38px 124px, var(--navy-mid) 124px); }
@media (max-width: 767px) { #site-header:empty { min-height: 156px; background: linear-gradient(var(--navy) 0 122px, var(--navy-deep) 122px); } }

/* product cards: a soft "Add to cart" instead of a heavy dark block on every card */
.btn-soft { background: var(--blue-soft); color: var(--blue-dark); border: 1px solid transparent; }
.btn-soft:hover { background: var(--blue); color: #fff; }
.btn-soft svg { color: currentColor; }
.product-card { transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.product-card:hover { border-color: var(--blue-border); }
.card-name { letter-spacing: -0.005em; }
.price-now { letter-spacing: -0.02em; }

/* product page: scroll bars of the tab row hidden, real spec lists, quieter meta line */
.tabs { scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.spec-head { font-weight: 700; color: var(--text); margin-top: 6px; }
.spec-list { margin: 4px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.spec-list li { break-inside: avoid; margin-bottom: 4px; }
.pdp-meta { font-size: 13px; color: var(--muted); }
.legal-toc a { display: inline-block; padding: 4px 0; }

@media (max-width: 767px) {
  /* hero: the promise first, then the product */
  .hero { flex-direction: column; }
  .hero h1 { font-size: 30px; line-height: 1.08; }
  /* the current product name is already the page title: the breadcrumb stops at its category */
  #crumbs .crumb-cur, #crumbs .sep:has(+ .crumb-cur) { display: none; }
  .spec-list { columns: 1; }
  /* departments and product rails scroll sideways instead of stacking 10 screens of cards */
  .dept-grid, #best-sellers, #deals-grid, #new-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 10px; scroll-padding: 0 16px; }
  .dept-grid::-webkit-scrollbar, #best-sellers::-webkit-scrollbar, #deals-grid::-webkit-scrollbar, #new-grid::-webkit-scrollbar { display: none; }
  .dept-grid > * { flex: 0 0 30%; scroll-snap-align: start; }
  #best-sellers > *, #deals-grid > *, #new-grid > * { flex: 0 0 46%; scroll-snap-align: start; }
  #best-sellers > .empty { flex-basis: 100%; }
}
/* no sideways jump when the page grows long enough for a scroll bar (Windows), footer kept below the fold while content loads */
html { scrollbar-gutter: stable; }
#main { min-height: 75vh; }
.shop-sub { min-height: 1.5em; }
