:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #0e1a33;
  --muted: #667085;
  --line: #e6e9f0;
  --primary: #0f2557;
  --primary-2: #1d4ea3;
  --gold: #c9a24d;
  --gold-dark: #846623; /* gold text: readable on white and light backgrounds (WCAG AA) */
  --gold-soft: #f7f0de;
  --silver: #eef1f6;
  --danger: #c0392b;
  --green: #177a43; /* readable on white and on pale green (WCAG AA) */
  --radius: 16px;
  --shadow: 0 6px 24px rgba(15, 37, 87, .08);
  --shadow-lg: 0 18px 50px rgba(15, 37, 87, .18);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --tabbar-h: 0px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Tajawal", -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { touch-action: manipulation; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: var(--safe-t);
}
.topbar-inner { display: flex; align-items: center; gap: 18px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 10px rgba(15,37,87,.18); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 20px; color: var(--primary); font-weight: 800; }
.brand-text small { color: var(--gold-dark); font-size: 11px; letter-spacing: .5px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; color: var(--muted); transition: .2s; }
.nav a:hover { color: var(--ink); background: var(--silver); }
.nav a.active { color: var(--primary); background: var(--gold-soft); font-weight: 700; }
.search { flex: 1; }
.search input {
  width: 100%; max-width: 340px; margin-inline-start: auto; display: block;
  padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); outline: none; transition: .2s; font-size: 16px;
}
.search input:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px var(--gold-soft); }
.icon-btn {
  border: 0; background: transparent; cursor: pointer; font-size: 20px;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  position: relative; transition: .2s; flex-shrink: 0;
}
.icon-btn:hover { background: var(--silver); }
.badge {
  position: absolute; top: 2px; inset-inline-end: 2px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; font-style: normal;
  display: grid; place-items: center; line-height: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; min-height: 46px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); }
.btn-gold { background: linear-gradient(135deg, #d8b562, #b88f36); color: #fff; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-danger { background: #fdecea; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 12px; min-height: 38px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { filter: brightness(1.05); }

/* ---------- Hero ---------- */
.hero {
  margin-top: 24px; border-radius: 28px; overflow: hidden; position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(201,162,77,.35), transparent 40%),
    linear-gradient(135deg, #0a1a40, #0f2557 55%, #1d4ea3);
  color: #fff; padding: 56px 48px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(201,162,77,.25); pointer-events: none;
}
.hero h1 { font-size: clamp(28px, 4.5vw, 50px); font-weight: 800; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 18px; opacity: .88; max-width: 520px; margin: 0; }
.hero .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }

/* ---------- Info strip ---------- */

.info { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.info b { display: block; font-size: 15px; }
.info span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { margin-top: 48px; }
.page-title { margin: 20px 0 6px; font-size: 30px; color: var(--primary); }
.crumbs { color: var(--muted); font-size: 14px; margin-top: 20px; }
.crumbs a:hover { color: var(--primary); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 14px; text-align: center; transition: .25s; display: block;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.cat-icon { width: 68px; height: 68px; border-radius: 20px; margin: 0 auto 10px; display: grid; place-items: center; font-size: 34px; overflow: hidden; }
.cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-card h3 { font-size: 16px; margin: 0; }
.cat-card small { color: var(--muted); }

/* ---------- Chips / filters ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; }
.chip {
  padding: 8px 16px; min-height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-weight: 500; transition: .2s; white-space: nowrap;
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar select { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 16px; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: .25s; display: flex; flex-direction: column; min-width: 0;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 1 / 1; position: relative; overflow: hidden; cursor: pointer; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 72px; }
.tag {
  position: absolute; top: 10px; inset-inline-start: 10px; background: var(--gold); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 16px; font-weight: 700; margin: 0; cursor: pointer; line-height: 1.35; }
.card-title:hover { color: var(--primary-2); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size {
  padding: 5px 10px; min-height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg);
  font-size: 13px; cursor: pointer; transition: .15s; font-weight: 500;
}
.size:hover { border-color: var(--gold); }
.size.active { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-dark); font-weight: 700; }
.price { font-size: 20px; font-weight: 800; color: var(--primary); }
.price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.price.ask { font-size: 15px; color: var(--gold-dark); }

/* ---------- Product detail ---------- */

.label { font-weight: 700; margin: 16px 0 10px; display: block; }
.size-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 15px; }
.size-table th, .size-table td { padding: 10px; border-bottom: 1px solid var(--line); text-align: start; }
.size-table th { color: var(--muted); font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: var(--bg); cursor: pointer; font-size: 18px; }
.qty button:hover { background: var(--gold-soft); }
.qty span { min-width: 44px; text-align: center; font-weight: 700; }
.perks { display: grid; gap: 8px; margin-top: 20px; padding: 14px; background: var(--bg); border-radius: 14px; font-size: 14px; }
.sticky-buy { display: none; }

/* ---------- Empty ---------- */
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty .big { font-size: 56px; }

/* ---------- Drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(10, 20, 40, .5); opacity: 0; pointer-events: none; transition: .25s; z-index: 50; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(440px, 100%);
  background: #fff; z-index: 60; transform: translateX(-100%); transition: transform .3s ease;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  padding-top: var(--safe-t);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; color: var(--primary); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; -webkit-overflow-scrolling: touch; }
.drawer-foot { padding: 16px 20px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.cart-thumb img, .cart-thumb .ph { width: 100%; height: 100%; object-fit: cover; font-size: 30px; }
.cart-item b { display: block; font-size: 15px; line-height: 1.3; }
.cart-item small { color: var(--muted); }
.cart-item .qty button { width: 34px; height: 34px; font-size: 15px; }
.cart-item .qty span { min-width: 30px; font-size: 14px; }
.remove-x { border: 0; background: none; color: var(--danger); cursor: pointer; font-size: 14px; padding: 6px 0; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); }
.total-row { display: flex; justify-content: space-between; font-size: 19px; font-weight: 800; color: var(--primary); }
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.zone label { border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; cursor: pointer; font-size: 14px; }
.zone input { display: none; }
.zone label:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); font-weight: 700; }
.free-note { font-size: 13px; color: var(--green); text-align: center; }

/* ---------- Settings ---------- */
.settings { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin-top: 16px; align-items: start; }
.tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; display: grid; gap: 4px; position: sticky; top: 96px; }
.tab { padding: 12px 14px; min-height: 46px; border-radius: 10px; border: 0; background: none; cursor: pointer; text-align: start; font-weight: 500; display: flex; gap: 8px; align-items: center; }
.tab:hover { background: var(--bg); }
.tab.active { background: var(--primary); color: #fff; }
.row-actions { display: flex; gap: 6px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  outline: none; transition: .2s; width: 100%; font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px var(--gold-soft); }
.field textarea { min-height: 90px; resize: vertical; }
.hint { font-size: 13px; color: var(--muted); }
.upload { border: 2px dashed var(--line); border-radius: 14px; padding: 14px; display: flex; gap: 14px; align-items: center; cursor: pointer; transition: .2s; }
.upload:hover { border-color: var(--gold); background: #ffffff; }
.upload .preview { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--bg); display: grid; place-items: center; font-size: 34px; }
.upload .preview img { width: 100%; height: 100%; object-fit: cover; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.switch input { width: 22px; height: 22px; accent-color: var(--gold); }
.icon-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-pick button { width: 44px; height: 44px; font-size: 22px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.icon-pick button.active { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px var(--gold-soft); }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(10,20,40,.55); padding: 16px; opacity: 0; pointer-events: none; transition: .2s; }
.modal-wrap.show { opacity: 1; pointer-events: auto; }
.modal { background: #fff; border-radius: 20px; width: min(640px, 100%); max-height: 90vh; max-height: 90dvh; overflow: auto; padding: 24px; transform: translateY(10px); transition: .2s; -webkit-overflow-scrolling: touch; }
.modal-wrap.show .modal { transform: none; }
.modal.small { width: min(420px, 100%); text-align: center; }
.modal.viewer { width: min(900px, 100%); padding: 10px; background: #fff; text-align: center; }
.modal.viewer img { width: 100%; height: auto; border-radius: 12px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-head h3 { margin: 0; font-size: 20px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: calc(24px + var(--tabbar-h) + var(--safe-b)); left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; max-width: calc(100% - 32px);
  opacity: 0; pointer-events: none; transition: .25s; z-index: 80; font-weight: 500; box-shadow: var(--shadow-lg); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.footer { margin-top: 70px; background: var(--primary); color: #fff; padding: 32px 0 calc(32px + var(--tabbar-h) + var(--safe-b)); }
.footer .muted { color: rgba(255,255,255,.75); }
.footer p { margin: 4px 0 0; }

/* ---------- Language + stock ---------- */
.lang-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0 14px; height: 40px;
  font-weight: 800; color: var(--primary); cursor: pointer; flex-shrink: 0; font-size: 14px;
}
.lang-btn:hover { border-color: var(--gold); background: var(--gold-soft); }
.size.out { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.tag-out { background: #6b7280; }
.card.is-out .card-media img { filter: grayscale(.7); opacity: .7; }
.out-note { color: var(--danger); font-weight: 700; margin: 0 0 8px; }
.row-out td { color: var(--muted); text-decoration: line-through; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.tabbar em { font-style: normal; }

/* ---------- Header groups + side menu ---------- */
.tb-start { display: none; }
.tb-end { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.menu-overlay { position: fixed; inset: 0; background: rgba(10,20,40,.5); opacity: 0; pointer-events: none; transition: .25s; z-index: 55; }
.menu-overlay.show { opacity: 1; pointer-events: auto; }
.menu-drawer {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: 340px; z-index: 56;
  background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  transform: translateX(-105%); transition: transform .3s ease; padding-top: var(--safe-t);
}
[dir="rtl"] .menu-drawer { transform: translateX(105%); }
.menu-drawer.open, [dir="rtl"] .menu-drawer.open { transform: none; }
.menu-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--primary); color: #fff; }
.menu-head img { width: 44px; height: 44px; border-radius: 50%; }
.menu-head strong { flex: 1; font-size: 17px; }
.menu-head .icon-btn { color: #fff; }
.menu-head .icon-btn:hover { background: rgba(255,255,255,.12); }
.menu-body { flex: 1; overflow-y: auto; padding: 6px 10px calc(20px + var(--safe-b)); -webkit-overflow-scrolling: touch; }
.menu-section { font-size: 12px; font-weight: 800; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .5px; padding: 16px 8px 6px; }
.menu-link { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-radius: 12px; font-weight: 500; color: var(--ink); }
.menu-link:hover { background: var(--bg); }
.menu-link.active { background: var(--gold-soft); color: var(--primary); font-weight: 800; }
.menu-link > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: var(--bg); flex-shrink: 0; }
.menu-link small { margin-inline-start: auto; color: var(--muted); font-size: 12px; }
.menu-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 8px; }
.menu-lang button { padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.menu-lang button.on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* product card: gold "⚡ Commander" */

/* ---------- Tab bar (phones) ---------- */
.tabbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 36px 26px; }
  .settings { grid-template-columns: 1fr; }
  .tabs { position: static; grid-template-columns: repeat(3, 1fr); }
  .tab { justify-content: center; }
}

@media (max-width: 760px) {
  :root { --tabbar-h: 0px; }
  .container { width: calc(100% - 24px); }
  .nav { display: none; }
  /* header: [☰ 🔍]   [logo]   [🧺] */
  .topbar { background: #f2f3f6; }
  .topbar-inner { height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; }
  .tb-start { display: flex; gap: 2px; justify-self: start; }
  .tb-end { display: flex; justify-self: end; }
  .tb-end .lang-btn { display: none; }
  .brand { justify-self: center; }
  .brand-text { display: none; }
  .brand-logo { width: 56px; height: 56px; }
  .hd-icon { color: var(--ink); width: 46px; height: 46px; }
  .cart-btn { display: grid; }
  .cart-btn .badge { top: 4px; inset-inline-end: 2px; }
  /* search bar slides open under the header when 🔍 is tapped */
  .search { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 10px 12px; background: #f2f3f6; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(15,37,87,.08); }
  .search.open { display: block; }
  .search input { max-width: none; padding: 11px 16px; background: #fff; }
  .tabbar { display: none !important; }

  .hero { margin-top: 14px; border-radius: 22px; padding: 26px 20px 22px; gap: 18px; }
  .hero p { font-size: 15px; }

  .info { padding: 10px; gap: 8px; flex-direction: column; text-align: center; }
  .info b { font-size: 14px; }
  .info span { font-size: 12px; }

  .section { margin-top: 32px; }
  .page-title { font-size: 24px; }

  /* horizontal scroll rows */
  .cat-grid.scroll, .chips {
    display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -12px; padding-inline: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cat-grid.scroll::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
  .cat-grid.scroll .cat-card { flex: 0 0 116px; scroll-snap-align: start; padding: 14px 8px; }
  .cat-grid:not(.scroll) { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-icon { width: 58px; height: 58px; font-size: 28px; border-radius: 16px; }
  .cat-card h3 { font-size: 14px; }
  .cat-card small { font-size: 12px; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 14px; }
  .card-body { padding: 10px; gap: 6px; }
  .card-title { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sizes { gap: 4px; }
  .card .size { padding: 3px 7px; min-height: 28px; font-size: 12px; }
  .card .sizes { max-height: 64px; overflow: hidden; }
  .price { font-size: 17px; }
  .price.ask { font-size: 13px; }
  .tag { font-size: 11px; padding: 3px 8px; top: 8px; inset-inline-start: 8px; }

  .sticky-buy {
    display: flex; gap: 8px; position: fixed; z-index: 45; left: 0; right: 0;
    bottom: calc(var(--tabbar-h) + var(--safe-b));
    padding: 10px 12px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -6px 20px rgba(15,37,87,.08);
  }
  .sticky-buy .btn { flex: 1; padding: 10px; }
  /* ⚡ Commander = main action: big, bright gold, glowing */
  .sticky-buy .sb-order {
    flex: 1 1 auto; min-height: 52px; font-size: 17px; font-weight: 800; letter-spacing: .2px;
    background: linear-gradient(135deg, #e4c36f, #c9a24d 55%, #a9832f); color: #0f2557;
    border: 0; border-radius: 14px; box-shadow: 0 6px 18px rgba(201,162,77,.45);
    animation: sbPulse 2.4s ease-in-out infinite;
  }
  .sticky-buy .sb-order:disabled { animation: none; box-shadow: none; }
  /* add to cart = small secondary button */

  @keyframes sbPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
  @media (prefers-reduced-motion: reduce) { .sticky-buy .sb-order { animation: none; } }
  body.has-sticky .footer { padding-bottom: calc(110px + var(--tabbar-h) + var(--safe-b)); }

  .tabs { grid-template-columns: repeat(3, 1fr); padding: 6px; }
  .tab { padding: 10px 6px; font-size: 14px; }

  .modal-wrap { align-items: end; padding: 0; }
  .modal { border-radius: 22px 22px 0 0; width: 100%; max-height: 92dvh; padding: 20px 16px calc(20px + var(--safe-b)); transform: translateY(40px); }
  .modal.small { width: 100%; }
  .modal.viewer { padding: 8px 8px calc(8px + var(--safe-b)); }
  .drawer { width: 100%; }

  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 46;
    height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .tabbar a, .tabbar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    font-size: 11px; color: var(--muted); border: 0; background: none; cursor: pointer; font-weight: 500;
  }
  .tabbar span { font-size: 21px; line-height: 1; position: relative; filter: grayscale(.6); }
  .tabbar .badge { top: -6px; inset-inline-end: -12px; min-width: 18px; height: 18px; font-size: 11px; }
  .tabbar a.active { color: var(--primary); font-weight: 800; }
  .tabbar a.active span { filter: none; }
  .lang-btn { height: 38px; padding: 0 12px; }
  .menu-drawer { width: min(320px, 86%); }
}

/* ---------- Product cards: photo, name, price, old price (clean shop style) ---------- */
.card { border: 0; border-radius: 14px; background: #fff; box-shadow: none; }
.card:hover { box-shadow: var(--shadow); }
.card-media { border-radius: 12px; background: #f6f6f6; }
.card .card-body { padding: 10px 4px 6px; gap: 4px; cursor: pointer; }
.card .card-title {
  font-size: 15px; font-weight: 700; line-height: 1.35; margin: 0; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 15px; color: #555; }
.card-price b { font-weight: 600; color: var(--ink); }
.card-price small { font-size: 12px; color: var(--muted); margin-inline-end: -4px; }
.card-price.sale b { color: #e53935; }
.card-price s { color: #6b6b6b; font-size: 14px; }
.tag-sale { background: #e53935; font-size: 12px; font-weight: 800; }
/* product page: old price + % */

@media (max-width: 760px) {
  .grid { gap: 14px 10px; }
  .card .card-title { font-size: 14px; }
  .card-price { font-size: 14px; gap: 6px; }
  .card-price s { font-size: 13px; }
}

/* =========================================================
   Boutique v4 — announce bar, home, product page, Commander form,
   reviews, footer + social icons, WhatsApp bubble
   ========================================================= */
:root { --red: #d62d2d; --red-dark: #b71f1f; }

/* announcement bar (scrolling) */
.announce { background: #0b1220; color: #fff; overflow: hidden; height: 34px; display: flex; align-items: center; font-size: 13px; font-weight: 700; }
.announce-track { display: flex; width: max-content; animation: annScroll 28s linear infinite; }
.announce-track > div { display: flex; flex-shrink: 0; }
.announce-track span { padding: 0 18px; white-space: nowrap; }
.announce-track i { font-style: normal; opacity: .6; }
@keyframes annScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } }

/* home hero */
.hb { margin-top: 18px; border-radius: 22px; background: linear-gradient(160deg, #f4f5f8 0%, #e9edf5 100%); display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; align-items: center; padding: 34px 38px; overflow: hidden; position: relative; }
.hb-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--primary-2); font-weight: 800; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
.hb-kicker::before { content: ""; width: 26px; height: 2px; background: var(--primary-2); }
.hb h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 14px 0 12px; color: #0b1220; font-weight: 800; }
.hb h1 span { color: var(--primary-2); }
.hb-line { display: block; width: 34px; height: 2px; background: var(--primary-2); margin-bottom: 12px; }
.hb p { margin: 0 0 22px; color: #3a4357; max-width: 420px; font-size: 15px; }
.hb-btn { background: var(--primary); color: #fff; border-radius: 999px; padding: 14px 34px; font-weight: 800; font-size: 16px; box-shadow: 0 10px 24px rgba(15,37,87,.25); }
.hb-btn:hover { background: var(--primary-2); }
.hb-art { position: relative; min-height: 300px; }
.hb-img { position: absolute; display: block; transition: transform .3s; }
.hb-img { mix-blend-mode: multiply; }
.hb-img:hover { transform: translateY(-4px); }
.hb-img img { width: 100%; height: 100%; object-fit: contain; }
.hb-art.n1 .i0 { inset: 0; }
.hb-art.n2 .i0 { width: 70%; height: 80%; top: 0; inset-inline-start: 0; } .hb-art.n2 .i1 { width: 55%; height: 60%; bottom: 0; inset-inline-end: 0; }
.hb-art.n3 .i0 { width: 62%; height: 72%; top: 0; inset-inline-start: 18%; z-index: 2; }
.hb-art.n3 .i1 { width: 44%; height: 50%; bottom: 0; inset-inline-start: 0; }
.hb-art.n3 .i2 { width: 44%; height: 50%; bottom: 0; inset-inline-end: 0; }

/* section heads ("Voir plus ›") */
.sec2-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.sec2-head h2 { margin: 0; font-size: 28px; font-weight: 800; color: #0b1220; }
.see-more { display: inline-flex; align-items: center; gap: 8px; color: #3a4357; font-weight: 600; font-size: 15px; width: fit-content; }
.see-more i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--silver); display: grid; place-items: center; font-size: 18px; line-height: 1; transition: .2s; }
[dir="rtl"] .see-more i { transform: scaleX(-1); }
.see-more:hover i { background: var(--primary); color: #fff; }

/* category tiles */
.cat2-row { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cat2-row::-webkit-scrollbar { display: none; }
.cat2 { scroll-snap-align: start; text-align: center; }
.cat2-img { aspect-ratio: 1; border-radius: 18px; overflow: hidden; display: grid; place-items: center; font-size: 46px; margin-bottom: 8px; border: 1px solid var(--line); }
.cat2-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; transition: transform .3s; }
.cat2:hover .cat2-img img { transform: scale(1.06); }
.cat2 b { font-size: 14px; line-height: 1.3; display: block; }

/* trust badges */
.trust { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; text-align: center; }
.trust-ic { font-size: 30px; width: 60px; height: 60px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; margin: 0 auto 10px; }
.trust-item b { display: block; font-size: 16px; color: #0b1220; }
.trust-item p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* product page */
.pp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; margin-top: 14px; align-items: start; }
.pp-media { position: sticky; top: 100px; }
.pp-gallery { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.pp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pp-track::-webkit-scrollbar { display: none; }
.pp-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; display: grid; place-items: center; cursor: zoom-in; background: #fff; }
.pp-slide img { width: 100%; height: 100%; object-fit: contain; }
.pp-slide .ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 140px; }
.pp-zoom { position: absolute; top: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); display: grid; place-items: center; cursor: pointer; color: #0b1220; }
.pp-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; background: rgba(255,255,255,.92); padding: 7px 12px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.pp-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: #c9ced8; cursor: pointer; transition: .2s; }
.pp-dots button.on { background: #0b1220; transform: scale(1.25); }
.pp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pp-thumbs button { flex: 0 0 72px; height: 72px; border-radius: 12px; border: 2px solid transparent; background: #fff; padding: 3px; cursor: pointer; opacity: .65; }
.pp-thumbs button.on { border-color: var(--primary); opacity: 1; }
.pp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pp-vendor { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.pp-title { font-size: 30px; font-weight: 700; color: #0b1220; line-height: 1.25; margin: 0 0 8px; }
.pp-rate { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.pp-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 6px 0 4px; }
.pp-price .price { font-size: 26px; color: #0b1220; font-weight: 700; }
.pp-old { display: inline-flex; align-items: center; gap: 10px; }
.pp-old s { color: var(--muted); font-size: 17px; }
.save-pill { background: var(--red); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.qty2 { display: inline-flex; align-items: center; border: 1px solid #cfd4de; border-radius: 999px; overflow: hidden; background: #fff; height: 48px; }
.qty2 button { width: 48px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 22px; color: #0b1220; }
.qty2 span { min-width: 34px; text-align: center; font-weight: 700; font-size: 17px; }
.pp-buy { display: grid; gap: 12px; margin: 24px 0 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.pp-add, .pp-order, .sb-order { width: 100%; min-height: 56px; border-radius: 14px; font-size: 18px; font-weight: 800; border: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.pp-add { background: var(--primary); color: #fff; }
.pp-add:hover { background: var(--primary-2); }
.pp-order, .sb-order { background: var(--red); color: #fff; animation: ppPulse 2.2s ease-in-out infinite; box-shadow: 0 8px 22px rgba(214,45,45,.35); }
.pp-order:hover, .sb-order:hover { background: var(--red-dark); }
.pp-order:disabled, .sb-order:disabled { animation: none; box-shadow: none; background: #9aa1ad; }
@keyframes ppPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .pp-order, .sb-order { animation: none; } }
.pp-video { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; cursor: pointer; margin-bottom: 20px; }
.pp-video img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.pp-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; color: #ff0000; }
.yt-play svg { width: 74px; height: 74px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.pp-desc { font-size: 16px; line-height: 1.75; color: #2a3346; }
.pp-desc p { margin: 0 0 12px; }
.pp-desc ul { margin: 0 0 14px; padding-inline-start: 20px; }
.pp-desc li { margin-bottom: 6px; }
.pp-desc b { color: #0b1220; }
.pp-bottom { margin-top: 30px; display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.pp-bottom img { width: 100%; height: auto; border-radius: 16px; cursor: zoom-in; background: #fff; }

/* sticky Commander (shows when the main button is off screen) */
.sticky-buy { display: block !important; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + var(--safe-b)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15,37,87,.08); transform: translateY(110%); transition: transform .25s; }
body.sb-show .sticky-buy { transform: none; }
.sticky-buy .sb-order { max-width: 640px; margin: 0 auto; min-height: 54px; background: var(--red); color: #fff; border-radius: 14px; font-size: 18px; box-shadow: 0 8px 22px rgba(214,45,45,.35); animation: ppPulse 2.2s ease-in-out infinite; }
.sticky-buy .sb-order:disabled { background: #9aa1ad; animation: none; box-shadow: none; }
.sticky-buy .sb-order b { font-weight: 700; opacity: .9; font-size: 15px; }
.sticky-buy .sb-order b:not(:empty)::before { content: "— "; }
body.has-sticky .footer { padding-bottom: calc(100px + var(--safe-b)); }

/* reviews */
.pp-reviews { border-top: 1px solid var(--line); padding-top: 30px; }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.rv-head h2 { font-size: 26px; margin: 0 0 4px; color: #0b1220; }
.rv-avg { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.rv-avg b { font-size: 28px; color: #0b1220; }
.stars { display: inline-flex; gap: 1px; font-size: 17px; line-height: 1; direction: ltr; }
.stars i { font-style: normal; color: #d6dae2; }
.stars i.on { color: #f5a623; }
.rv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.rv { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.rv-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rv-av { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.rv-who { flex: 1; min-width: 0; line-height: 1.3; }
.rv-who small { display: block; color: var(--muted); font-size: 12px; }
.rv p { margin: 0 0 10px; color: #2a3346; white-space: pre-line; }
.rv img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 12px; cursor: zoom-in; }
.rv-ok { display: inline-block; margin-top: 8px; color: var(--green); font-size: 13px; font-weight: 700; }
.rv-modal { text-align: start !important; }
.rv-prod { display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 12px; padding: 8px; }
.rv-prod img, .rv-prod .ph { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: #fff; flex-shrink: 0; }
.star-pick { display: flex; gap: 6px; }
.star-pick button { border: 0; background: none; font-size: 34px; line-height: 1; color: #d6dae2; cursor: pointer; padding: 0; }
.star-pick button.on { color: #f5a623; }
.rv-photo { display: flex; align-items: center; gap: 10px; border: 2px dashed var(--line); border-radius: 12px; padding: 12px; cursor: pointer; font-weight: 600; color: var(--primary); }
.rv-photo img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; }

/* Commander form (COD) */
.modal.co-modal { width: min(460px, 100%); padding: 20px 18px; }
.co-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.co-head h3 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.35; }
.co-items { display: grid; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); max-height: 210px; overflow: auto; }
.co-item { display: flex; align-items: center; gap: 12px; }
.co-thumb { position: relative; width: 58px; height: 58px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.co-thumb img, .co-thumb .ph { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; font-size: 26px; display: grid; place-items: center; }
.co-thumb span { position: absolute; top: -8px; inset-inline-end: -8px; min-width: 22px; height: 22px; border-radius: 999px; background: #6b7280; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.co-name { flex: 1; min-width: 0; line-height: 1.3; }
.co-name b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-name small { color: var(--muted); }
.co-lp { white-space: nowrap; }
.co-sum { margin: 14px 0; background: #f6f7fa; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; }
.co-sum > div { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.co-sum .co-total { border-top: 1px solid var(--line); padding-top: 8px; font-size: 17px; }
.co-sum .co-total b { font-size: 21px; }
.co-form { display: grid; gap: 12px; }
.co-ship-title { font-weight: 800; font-size: 16px; }
.co-field { display: flex; align-items: stretch; border: 1px solid #cfd4de; border-radius: 10px; overflow: hidden; background: #fff; }
.co-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,78,163,.12); }
.co-ic { width: 46px; flex-shrink: 0; display: grid; place-items: center; background: #eceef2; color: #3a4357; }
.co-field input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 13px 12px; font-size: 16px; background: none; }
.co-buy { border: 0; border-radius: 12px; background: var(--primary); color: #fff; padding: 12px; cursor: pointer; display: grid; gap: 2px; box-shadow: 0 8px 20px rgba(15,37,87,.25); }
.co-buy span { font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .4px; }
.co-buy small { font-size: 15px; font-weight: 600; opacity: .95; }
.co-buy:hover { background: var(--primary-2); }
.co-buy:disabled { opacity: .6; }
.co-wa { display: flex; align-items: center; justify-content: center; gap: 8px; }
.co-wa svg { width: 22px; height: 22px; }
.co-cod { text-align: center; color: var(--muted); font-size: 14px; }
.co-cod.co-call { font-size: 12px; margin-top: -4px; }

/* footer */
.footer { background: #0b1220; padding-bottom: calc(18px + var(--safe-b)); }
.foot2 { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 26px; }
.f-col h2 { margin: 0 0 12px; font-size: 16px; color: #fff; }
.f-col p { color: rgba(255,255,255,.72); font-size: 14px; margin: 0; }
.f-col > a { display: block; color: rgba(255,255,255,.8); margin-bottom: 8px; font-size: 15px; }
.f-col > a:hover { color: var(--gold); }
#footContact { color: rgba(255,255,255,.8); font-size: 15px; line-height: 2; }
.f-logo { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 12px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; text-align: center; color: rgba(255,255,255,.55); font-size: 13px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.soc { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .2s; }
.soc:hover { transform: translateY(-3px); }
.soc-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.soc-tiktok { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.soc-youtube { background: #ff0000; }
.soc-facebook { background: #1877f2; }
.menu-socials { padding: 6px 16px 18px; }

/* WhatsApp bubble */
.wa-float { position: fixed; z-index: 44; bottom: calc(18px + var(--safe-b)); inset-inline-end: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(37,211,102,.45); transition: bottom .25s, transform .2s; }
.wa-float:hover { transform: scale(1.06); }
body.sb-show .wa-float { bottom: calc(92px + var(--safe-b)); }

@media (max-width: 900px) {
  .pp { grid-template-columns: 1fr; gap: 18px; }
  .pp-media { position: static; margin-inline: -16px; }
  .pp-gallery { border-radius: 0; border-inline: 0; }
  .pp-thumbs { display: none; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .foot2 { grid-template-columns: 1fr 1fr; }
  .f-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hb { grid-template-columns: 1fr; padding: 26px 20px 10px; margin-inline: -4px; }
  .hb-art { min-height: 240px; }
  .hb h1 { font-size: 38px; }
  .sec2-head h2 { font-size: 24px; }
  .cat2-row { grid-auto-columns: 108px; gap: 10px; }
  .pp-title { font-size: 24px; }
  .pp-price .price { font-size: 22px; }
  .trust { grid-template-columns: 1fr; gap: 10px; }
  .trust-item { display: grid; grid-template-columns: 54px 1fr; text-align: start; align-items: center; column-gap: 12px; padding: 14px; }
  .trust-ic { grid-row: span 2; margin: 0; width: 50px; height: 50px; font-size: 24px; }
  .trust-item p { margin: 0; }
  .rv-list { grid-template-columns: 1fr; }
  .modal-wrap:has(.co-modal) { padding: 10px; }
  .wa-float { width: 54px; height: 54px; bottom: calc(16px + var(--safe-b)); inset-inline-end: 14px; }
}
.co-items { grid-template-columns: minmax(0, 1fr); padding-top: 16px; overflow-x: hidden; }
.co-item { min-width: 0; }

/* =========================================================
   Brand theme — أواني النخبة navy #0f2557 + gold #c9a24d
   ========================================================= */
:root {
  --bg: #f7f8fa; --ink: #0f1d3d; --line: #e7e9ee;
  --navy-deep: #0a1a40; --gold-light: #e6c97e;
  --gold-grad: linear-gradient(135deg, #e8cd85 0%, #c9a24d 50%, #a8822f 100%);
  --navy-grad: linear-gradient(135deg, #16306e 0%, #0f2557 55%, #0a1a40 100%);
  --red: #c9a24d; --red-dark: #a8822f;
}
body { background: var(--bg); }

/* header + announce */
.announce { background: var(--navy-grad); color: #f4e6c2; border-bottom: 1px solid rgba(201,162,77,.35); }
.announce-track i { color: var(--gold); opacity: 1; }
.topbar { background: rgba(255,255,255,.96); border-bottom: 0; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(15,37,87,.05); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.hd-icon, .cart-btn { color: var(--primary); }
.badge { background: var(--gold-grad) !important; color: var(--navy-deep) !important; font-weight: 800; }
.brand-logo { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--gold), 0 4px 12px rgba(15,37,87,.18); }

/* hero */
.hb { background: radial-gradient(circle at 85% 20%, rgba(201,162,77,.22), transparent 45%), linear-gradient(160deg, #ffffff 0%, #f3f4f7 100%); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(15,37,87,.06); }
.hb::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 1.5px solid rgba(201,162,77,.35); inset-inline-end: -90px; bottom: -120px; pointer-events: none; }
.hb-kicker { color: var(--gold-dark); }
.hb-kicker::before, .hb-line { background: var(--gold); }
.hb h1 { color: var(--primary); }
.hb h1 span { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }
.hb p { color: #4a5470; }
.hb-btn { background: var(--navy-grad); color: #fff; border: 1px solid rgba(201,162,77,.5); box-shadow: 0 10px 24px rgba(15,37,87,.28); }
.hb-btn::after { content: " →"; color: var(--gold-light); }
[dir="rtl"] .hb-btn::after { content: " ←"; }

/* section titles */
.sec2-head h2 { color: var(--primary); position: relative; padding-bottom: 8px; }
.sec2-head h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--gold-grad); }
.see-more { color: var(--gold-dark); font-weight: 700; }
.see-more i { background: var(--gold-soft); color: var(--gold-dark); }
.see-more:hover i { background: var(--primary); color: var(--gold-light); }

/* categories */
.cat2-img { border: 1px solid var(--line); background: #fff !important; box-shadow: 0 4px 14px rgba(15,37,87,.06); transition: .25s; }
.cat2:hover .cat2-img { border-color: var(--gold); box-shadow: 0 8px 22px rgba(201,162,77,.25); }
.cat2 b { color: var(--primary); }

/* product cards */
.card { border: 1px solid var(--line); border-radius: 16px; padding: 6px; transition: .25s; }
.card:hover { border-color: rgba(201,162,77,.6); box-shadow: 0 12px 28px rgba(15,37,87,.10); transform: translateY(-2px); }
.card-media { background: #fff; border-radius: 12px; }
.card .card-body { padding: 10px 6px 6px; }
.card .card-title { color: var(--primary); }
.card-price b { color: var(--primary); font-weight: 800; }
.card-price.sale b { color: var(--gold-dark); }
.tag-sale { background: var(--gold-grad); color: var(--navy-deep); border-radius: 8px; }

/* product page */
.pp-gallery { border-color: var(--line); box-shadow: 0 8px 24px rgba(15,37,87,.06); }
.pp-zoom { color: var(--primary); box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(15,37,87,.12); }
.pp-dots button.on { background: var(--gold); }
.pp-thumbs button.on { border-color: var(--gold); }
.pp-vendor { color: var(--gold-dark); font-weight: 700; letter-spacing: .4px; text-transform: uppercase; font-size: 13px; }
.pp-title { color: var(--primary); font-weight: 800; }
.pp-price .price { color: var(--primary); font-weight: 800; }
.save-pill { background: var(--gold-soft); color: var(--gold-dark); border: 1px solid rgba(201,162,77,.5); }
.size.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.qty2 { border-color: var(--line); }
.qty2 button { color: var(--primary); }
.qty2 button:hover { background: var(--gold-soft); }
.pp-buy { border-top-color: var(--line); }
.pp-add { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.pp-add:hover { background: var(--primary); color: #fff; }
.pp-order, .sb-order, .sticky-buy .sb-order { background: var(--navy-grad); color: #fff; border: 1px solid rgba(201,162,77,.6); box-shadow: 0 8px 22px rgba(15,37,87,.32); }
.pp-order svg, .sb-order svg { color: var(--gold-light); }
.pp-order:hover, .sb-order:hover { background: var(--primary-2); }
.sticky-buy .sb-order b { color: var(--gold-light); }
.pp-order::before, .sb-order::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(230,201,126,.35) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3s ease-in-out infinite; pointer-events: none; }
.pp-order, .sb-order { position: relative; overflow: hidden; }
@keyframes shine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .pp-order::before, .sb-order::before { animation: none; } }
.pp-desc b { color: var(--primary); }
.pp-desc li::marker { color: var(--gold); }
.size-table th { color: var(--gold-dark); }

/* trust band */
.trust { background: var(--navy-grad); border-radius: 22px; padding: 26px; gap: 14px; box-shadow: 0 14px 34px rgba(15,37,87,.18); }
.trust-item { background: rgba(255,255,255,.06); border: 1px solid rgba(201,162,77,.3); }
.trust-ic { background: var(--gold-grad); box-shadow: 0 6px 16px rgba(201,162,77,.35); }
.trust-item b { color: #fff; }
.trust-item p { color: rgba(255,255,255,.72); }

/* reviews */
.rv-head h2 { color: var(--primary); }
.rv-avg b { color: var(--primary); }
.stars i.on, .star-pick button.on { color: var(--gold); }
.rv { border-color: var(--line); box-shadow: 0 4px 14px rgba(15,37,87,.04); }
.rv-av { background: var(--navy-grad); color: var(--gold-light); }
.rv-ok { color: var(--gold-dark); }
[data-review] { border-color: var(--gold) !important; color: var(--gold-dark); font-weight: 700; }

/* Commander form */
.co-head h3 { color: var(--primary); }
.co-sum { background: #f8f9fb; border-color: var(--line); }
.co-sum .co-total b { color: var(--primary); }
.co-field { border-color: var(--line); }
.co-ic { background: var(--gold-soft); color: var(--gold-dark); }
.co-buy { background: var(--navy-grad); border: 1px solid rgba(201,162,77,.6); }
.co-buy small { color: var(--gold-light); }
.co-thumb span { background: var(--primary); color: var(--gold-light); }

/* footer */
.footer { background: var(--navy-grad); border-top: 3px solid var(--gold); }
.f-col h2 { color: var(--gold-light); }
.f-logo { box-shadow: 0 0 0 2px var(--gold); }
.f-bottom { border-top-color: rgba(201,162,77,.25); }

/* side menu + cart touches */
.menu-head { background: var(--navy-grad); color: #fff; }
.menu-head strong { color: var(--gold-light); }
.menu-head .icon-btn { color: #fff; }
#checkoutBtn { background: var(--navy-grad); color: #fff; border: 1px solid rgba(201,162,77,.6); }
.toast { background: var(--primary); color: #fff; border: 1px solid rgba(201,162,77,.5); }

@media (max-width: 760px) {
  .trust { padding: 16px; border-radius: 18px; margin-inline: -4px; }
  .card { padding: 4px; }
}

/* =========================================================
   Customer screenshots carousel + animations
   ========================================================= */
.proof-strip { margin-inline: -16px; padding: 34px 0 30px; background: linear-gradient(180deg, #ffffff, #f3f4f7); border-block: 1px solid var(--line); overflow: hidden; }
.proof-head { text-align: center; padding: 0 16px 18px; }
.proof-head h2 { color: var(--primary); font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.proof-head p { color: #4a5470; margin: 0 auto 8px; max-width: 520px; }
.proof-stars .stars { font-size: 22px; gap: 3px; }
.proof-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.proof-track { display: flex; gap: 16px; width: max-content; padding: 10px 8px 16px; animation: proofScroll calc(var(--n) * 5.5s) linear infinite; }
.proof-viewport:hover .proof-track, .proof-viewport:active .proof-track { animation-play-state: paused; }
@keyframes proofScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.proof { flex: 0 0 auto; width: 210px; height: 330px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #0b141a; cursor: zoom-in; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(201,162,77,.55), 0 12px 26px rgba(15,37,87,.18); transition: transform .3s, box-shadow .3s; }
.proof:nth-child(odd) { transform: rotate(-1.5deg); }
.proof:nth-child(even) { transform: rotate(1.5deg) translateY(10px); }
.proof:hover { transform: rotate(0) scale(1.04); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold), 0 18px 34px rgba(15,37,87,.28); }
.proof img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.modal.viewer img { max-height: 82vh; max-height: 82dvh; object-fit: contain; }
@media (max-width: 760px) { .proof { width: 168px; height: 270px; } .proof-head h2 { font-size: 22px; } }

/* reveal on scroll */
.rvl { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.rvl.in { opacity: 1; transform: none; }
.card.rvl.in:hover { transform: translateY(-3px); transition-delay: 0ms; }
/* page change */
/* hero entrance + floating products */
.hb-kicker, .hb h1, .hb-line, .hb p, .hb-btn { animation: heroUp .7s cubic-bezier(.2,.7,.2,1) both; }
.hb h1 { animation-delay: .08s; } .hb-line { animation-delay: .16s; } .hb p { animation-delay: .22s; } .hb-btn { animation-delay: .3s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hb-img { animation: floaty 5s ease-in-out infinite; }
.hb-img.i1 { animation-delay: -1.6s; } .hb-img.i2 { animation-delay: -3.2s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hb::before { animation: spinSlow 40s linear infinite; }
@keyframes spinSlow { to { rotate: 360deg; } }
.hb h1 span { background-size: 200% auto; animation: goldShift 4s ease-in-out infinite; }
@keyframes goldShift { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
/* cart badge pop */
.pop { animation: pop .45s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
/* WhatsApp bubble pulse ring */
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
/* gallery image fade */
.pp-slide img { animation: fadeIn .5s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .proof-track, .hb-img, .hb::before, .hb h1 span, .wa-float::after, .hb-kicker, .hb h1, .hb-line, .hb p, .hb-btn { animation: none !important; }
  .rvl { opacity: 1; transform: none; }
}
/* text shown to Google (and before the shop loads) */
.ssr { padding: 24px 0; color: var(--muted); }
.ssr h1 { color: var(--primary); font-size: 24px; }
.ssr h2 { color: var(--primary); font-size: 18px; margin-top: 18px; }
.ssr ul { padding-inline-start: 18px; }
.ssr a { color: var(--primary-2); }
.ssr img { max-width: 220px; height: auto; display: inline-block; margin: 6px; border-radius: 12px; }

/* ---------- promo + low stock ---------- */

@keyframes leftPulse { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
@keyframes leftGrow { from { width: 0; } }

/* ---------- v9: logo size, menu fold-outs, policy pages, fixed Commander ---------- */
.brand-logo { width: var(--logo-size, 54px); height: var(--logo-size, 54px); }
@media (max-width: 760px) { .brand-logo { width: var(--logo-size, 56px); height: var(--logo-size, 56px); } }
.logo-square .brand-logo, .logo-square .f-logo, .logo-square .menu-head img { border-radius: 10px; object-fit: contain; background: #fff; }
.topbar-inner { min-height: 76px; height: auto; }
.menu-fold { border-radius: 14px; }
.menu-fold > summary { list-style: none; cursor: pointer; }
.menu-fold > summary::-webkit-details-marker { display: none; }
.menu-fold .fold-ar { font-style: normal; margin-inline-start: auto; transition: transform .25s; color: var(--gold-dark); font-size: 18px; }
.menu-fold[open] .fold-ar { transform: rotate(180deg); }
.menu-fold > summary small { margin-inline-start: 6px; }
.menu-fold-body { padding-inline-start: 10px; animation: fadeIn .25s ease both; }
.menu-link.sub { font-size: 15px; padding-block: 8px; }
.policy { max-width: 760px; margin: 18px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; }
.policy h1 { display: flex; align-items: center; gap: 12px; color: var(--primary); font-size: 26px; }
.policy h1 span { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); display: grid; place-items: center; font-size: 24px; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.policy-nav a { padding: 8px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--primary); font-size: 14px; font-weight: 600; }
#footPolicies a { display: block; color: rgba(255,255,255,.8); margin-bottom: 8px; font-size: 15px; }
#footPolicies a:hover { color: var(--gold); }
body.sb-show .sticky-buy { transform: none !important; }
@media (max-width: 900px) { .foot2 { grid-template-columns: 1fr 1fr; } }
/* page fade must not use transform: it would stop the Commander bar from staying fixed */
/* ---------- no sideways scrolling on phones ---------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { position: relative; width: 100%; }
@media (max-width: 900px) {
  .pp-media { margin-inline: calc((100vw - 100%) / -2); }
}
.proof-strip { margin-inline: calc((100vw - 100%) / -2); }
@media (min-width: 1232px) { .proof-strip { margin-inline: 0; border-radius: 22px; } }
/* ---------- professional line icons in the menu ---------- */
.menu-link > span { background: #f2f4f9; color: var(--primary); border: 1px solid #e6e9f2; width: 36px; height: 36px; }
.menu-link.active > span, .menu-link:hover > span { background: var(--primary); color: var(--gold-light); border-color: var(--primary); }
.menu-link > span svg { display: block; }
.menu-link > .mi-img { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #e6e9f2; flex-shrink: 0; display: block; }
.menu-link > .mi-img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.menu-link.sub > span { width: 32px; height: 32px; }
.menu-link.sub > .mi-img { width: 32px; height: 32px; }
.policy h1 span { color: var(--primary); }
.policy h1 span svg { width: 24px; height: 24px; }
.policy-nav a { display: inline-flex; align-items: center; gap: 6px; }
.policy-nav a svg { width: 16px; height: 16px; }

/* ---------- v15: FAQ, contact, cities, category intro ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 15px 0; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { margin-inline-start: auto; font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; transition: transform .25s; flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p { margin: 0 0 16px; color: #3a4357; line-height: 1.7; }
.contact-cta { display: grid; gap: 10px; margin: 18px 0 6px; }
.contact-cta .btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; font-weight: 800; }
.contact-cta .btn svg { width: 22px; height: 22px; }
.city-table { margin-top: 14px; max-height: 520px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
.city-table table { margin: 0; }
#footInfo a { display: block; color: rgba(255,255,255,.8); margin-bottom: 8px; font-size: 15px; }
#footInfo a:hover { color: var(--gold); }
.cat-intro { color: #4a5470; max-width: 820px; margin: -4px 0 16px; line-height: 1.7; }

/* product cards: no quick add-to-cart button (tap the card to open the product) */

/* ---------- animated home banner (photos) ---------- */
.hero2 { position: relative; margin-top: 18px; border-radius: 24px; overflow: hidden; min-height: 520px; display: flex; align-items: center; background: #0a1a40; box-shadow: 0 18px 40px rgba(15,37,87,.18); isolation: isolate; }
.h2-slides { position: absolute; inset: 0; z-index: -2; }
.h2-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 1.4s ease; }
.h2-slides img.on { opacity: 1; animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.h2-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,26,64,.86) 0%, rgba(10,26,64,.55) 45%, rgba(10,26,64,0) 75%); }
[dir="rtl"] .h2-shade { background: linear-gradient(270deg, rgba(10,26,64,.86) 0%, rgba(10,26,64,.55) 45%, rgba(10,26,64,0) 75%); }
.h2-text { position: relative; max-width: 560px; padding: 48px 44px; color: #fff; }
.h2-text .hb-kicker { color: var(--gold-light, #e6c97e); animation: heroUp .7s cubic-bezier(.2,.7,.2,1) both; }
.h2-text .hb-kicker::before { background: var(--gold); }
.h2-text h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; margin: 14px 0 14px; font-weight: 800; animation: heroUp .7s .1s cubic-bezier(.2,.7,.2,1) both; }
.h2-text h1 span { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; background-size: 200% auto; animation: goldShift 4s ease-in-out infinite; }
.h2-text p { color: rgba(255,255,255,.88); font-size: 16px; margin: 0 0 24px; max-width: 440px; animation: heroUp .7s .2s cubic-bezier(.2,.7,.2,1) both; }
.h2-text .hb-btn { background: var(--gold-grad); color: #0a1a40; border: 0; box-shadow: 0 10px 26px rgba(201,162,77,.45); animation: heroUp .7s .3s cubic-bezier(.2,.7,.2,1) both; }
.h2-text .hb-btn::after { color: #0a1a40; }
.h2-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.h2-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s, background .3s; }
.h2-dots button.on { width: 26px; background: var(--gold); }
@media (max-width: 760px) {
  .hero2 { min-height: 480px; border-radius: 20px; margin-inline: -4px; align-items: flex-end; }
  .h2-shade, [dir="rtl"] .h2-shade { background: linear-gradient(0deg, rgba(10,26,64,.92) 0%, rgba(10,26,64,.6) 50%, rgba(10,26,64,.05) 85%); }
  .h2-text { padding: 26px 22px 46px; }
  .h2-text h1 { font-size: 32px; }
  .h2-text p { font-size: 15px; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .h2-slides img.on { animation: none; } .h2-slides img { transition: none; } }

/* =========================================================
   Design v3 — refined "maison" look
   ========================================================= */
:root {
  --ff-display: "Playfair Display", "Tajawal", Georgia, serif;
  --r-lg: 20px; --r-md: 14px;
  --sh-1: 0 1px 2px rgba(15,37,87,.05), 0 8px 24px rgba(15,37,87,.06);
  --sh-2: 0 2px 6px rgba(15,37,87,.06), 0 20px 44px rgba(15,37,87,.13);
  --stage: radial-gradient(120% 90% at 50% 35%, #ffffff 0%, #f5f6f8 68%, #eceef2 100%);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* elegant serif for French headlines (Arabic keeps Tajawal) */
html[lang="fr"] .h2-text h1, html[lang="fr"] .hb h1, html[lang="fr"] .sec2-head h2, html[lang="fr"] .pp-title,
html[lang="fr"] .policy h1, html[lang="fr"] .proof-head h2, html[lang="fr"] .rv-head h2, html[lang="fr"] .page-title {
  font-family: var(--ff-display); font-weight: 700; letter-spacing: -.2px;
}
html[lang="fr"] .h2-text h1 { letter-spacing: -.6px; line-height: 1.05; }

/* section heads: title and link on one line */
.sec2-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec2-head h2 { font-size: 26px; line-height: 1.2; padding-bottom: 10px; }
.see-more { flex-shrink: 0; font-size: 14px; padding-bottom: 12px; white-space: nowrap; }
.see-more i { width: 24px; height: 24px; font-size: 16px; }

/* product cards: one soft "stage" behind every photo */
.grid { gap: 18px; }
.card { border: 0; padding: 0; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.card-media { border-radius: 0; aspect-ratio: 1 / 1; background: var(--stage); }
.card-media img { object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.06); }
.card .card-body { padding: 12px 14px 16px; gap: 6px; }
.card .card-title { font-size: 15px; font-weight: 700; color: var(--primary); min-height: 2.7em; line-height: 1.35; }
.card-price { font-size: 13px; align-items: baseline; gap: 6px; }
.card-price small { color: var(--muted); }
.card-price b { font-size: 18px; font-weight: 800; color: var(--primary); letter-spacing: -.2px; }
.card-price.sale b { color: var(--gold-dark); }
.card-price s { font-size: 13px; color: #6b7280; }
.tag-sale { top: 10px; inset-inline-start: 10px; padding: 4px 10px; font-size: 12px; font-weight: 800; border-radius: 999px;
  background: var(--primary) !important; color: #e6c97e !important; box-shadow: 0 4px 12px rgba(15,37,87,.22); }
.tag-out { border-radius: 999px; }

/* categories: round "story" tiles with a gold ring */
.cat2-row { grid-auto-columns: 92px; gap: 14px; padding: 4px 2px 10px; }
.cat2-img { border-radius: 50% !important; aspect-ratio: 1; padding: 3px; border: 0 !important; margin-bottom: 8px;
  background: conic-gradient(from 200deg, #e6c97e, #a8822f, #f1dca3, #c9a24d, #e6c97e) !important; box-shadow: 0 8px 18px rgba(15,37,87,.10) !important; }
.cat2-img img { border-radius: 50%; background: radial-gradient(circle at 50% 40%, #ffffff, #f0f1f4); padding: 16%; }
.cat2-img > span { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 34px; }
.cat2:hover .cat2-img { transform: translateY(-2px); }
.cat2 b { font-size: 13px; font-weight: 700; color: var(--primary); }
@media (min-width: 901px) { .cat2-row { grid-auto-columns: 118px; justify-content: center; gap: 22px; } }

/* product page */
.pp-slide { background: var(--stage); }
.pp-slide img { mix-blend-mode: multiply; padding: 6%; }
.pp-gallery { border: 0; box-shadow: var(--sh-1); border-radius: 24px; }
.pp-title { font-size: 30px; line-height: 1.2; }
.pp-price .price { font-size: 30px; letter-spacing: -.4px; }
.pp-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: -6px 0 22px; }
.pp-assure div { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px 6px;
  border-radius: 14px; background: #f7f8fa; border: 1px solid #eceef2; font-size: 12.5px; font-weight: 700; color: var(--primary); line-height: 1.3; }
.pp-assure svg { color: var(--gold-dark); }
@media (min-width: 901px) {
  .pp { gap: 44px; }
  .pp-info { background: #fff; border-radius: 24px; padding: 30px 30px 24px; box-shadow: var(--sh-1); }
  .sticky-buy { display: none !important; }
  body.sb-show .wa-float { bottom: calc(18px + var(--safe-b)); }
  body.has-sticky .footer { padding-bottom: calc(18px + var(--safe-b)); }
  .pp-title { font-size: 34px; }
}
@media (max-width: 760px) {
  .sec2-head h2 { font-size: 22px; }
  .card .card-body { padding: 10px 12px 14px; }
  .card .card-title { font-size: 14px; }
  .card-price b { font-size: 16px; }
  .pp-title { font-size: 25px; }
  .pp-price .price { font-size: 26px; }
}

/* product cards are links */
.card-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.card-link:focus-visible { outline: 3px solid #c9a24d; outline-offset: 3px; border-radius: inherit; }
/* home banner: trust line */
.h2-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.92); animation: heroUp .7s .4s cubic-bezier(.2,.7,.2,1) both; }
.h2-trust span { display: inline-flex; align-items: center; gap: 6px; }
.h2-trust svg { color: #e6c97e; width: 18px; height: 18px; }
@media (max-width: 760px) {
  /* phones: photo on top (products fully visible), text and buttons below — shorter, clearer, faster */
  .hero2 { display: block; min-height: 0; align-items: initial; background: linear-gradient(160deg, #13306f, #0a1a40); }
  .h2-slides { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; overflow: hidden; }
  .h2-slides picture { position: absolute; inset: 0; }
  .h2-slides img { animation-duration: 9s; }
  .h2-shade, [dir="rtl"] .h2-shade { display: none; }
  .h2-text { padding: 18px 18px 22px; }
  .h2-text h1 { font-size: 27px; margin: 8px 0 8px; }
  .h2-text p { font-size: 14.5px; margin-bottom: 16px; }
  .h2-text .hb-btn { width: 100%; justify-content: center; }
  .h2-trust { justify-content: center; margin-top: 14px; font-size: 13px; }
  .h2-dots { top: calc((100vw - 24px) * .75 - 26px); bottom: auto; }
}
/* product page: how ordering works (cash on delivery) */
.pp-steps { margin: -8px 0 22px; padding: 14px 16px; border-radius: 14px; background: #f4f7fd; border: 1px solid #dfe6f5; }
.pp-steps b { display: block; font-size: 14.5px; color: var(--primary); margin-bottom: 8px; }
.pp-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 7px; }
.pp-steps li { counter-increment: st; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.pp-steps li::before { content: counter(st); flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #e6c97e; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.pp-vendor b { color: var(--primary); }
.hero2:not(.started) .h2-slides img.on { transition: none; }

/* checkout: delivery price by city */
.co-ship-title small { font-weight: 600; color: var(--muted, #6b7488); font-size: 13px; }
.co-zone { display: flex; align-items: center; gap: 8px; border: 1px solid #e2e5ea; border-radius: 12px; padding: 12px; font-weight: 600; font-size: 14px; background: #fff; transition: border-color .2s, background .2s; }
.co-zone span:nth-child(2) { flex: 1; }
.co-zone b { white-space: nowrap; }
.co-zone.on { border-color: #c9a24d; background: #f5f6f8; }
.co-zone-hint { display: block; margin: -2px 2px 2px; color: #8a6d2a; font-size: 13px; font-weight: 600; }
.co-sum .co-total small { font-size: 14px; font-weight: 600; color: var(--muted, #6b7488); }

/* checkout: Moroccan phone check */
.co-field.bad { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,.12); }
.co-field.good .co-ic { color: var(--green); }
.co-err { display: block; margin: -4px 2px 2px; color: #c0392b; font-size: 13px; font-weight: 600; line-height: 1.4; }
.co-err[hidden] { display: none; }

/* first visit: the text written for Google stays in the page but is hidden;
   visitors see a clean loading screen (logo) until the shop is ready */
.ssr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
#app:has(> .ssr) { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; align-content: center; gap: 18px; }
#app:has(> .ssr)::before { content: ""; width: 92px; height: 92px; border-radius: 50%; background: #fff url("/images/logo-s.webp") center / 86% no-repeat;
  box-shadow: 0 0 0 3px #c9a24d, 0 14px 30px rgba(15,37,87,.18); animation: ssrPulse 1.3s ease-in-out infinite; }
#app:has(> .ssr)::after { content: ""; width: 120px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #c9a24d, transparent); background-size: 200% 100%; animation: ssrBar 1.1s linear infinite; }
@keyframes ssrPulse { 50% { transform: scale(.94); opacity: .8; } }
@keyframes ssrBar { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* thank-you screen */
.modal.thx-modal { width: min(460px, 100%); padding: 0; overflow-x: hidden; }
.thx-top { position: relative; text-align: center; padding: 30px 22px 24px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #22468f 0%, #0f2557 55%, #0a1a40 100%); }
.thx-top h2 { margin: 12px 0 6px; font-size: 27px; color: #fff; animation: heroUp .6s .35s both; }
html[lang="fr"] .thx-top h2 { font-family: var(--ff-display, "Playfair Display", serif); }
.thx-top p { margin: 0 auto; max-width: 330px; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.5; animation: heroUp .6s .45s both; }
.thx-no { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(230,201,126,.16); border: 1px solid rgba(230,201,126,.45); color: #f3dc9b; font-size: 14px; animation: heroUp .6s .55s both; }
.thx-no b { color: #fff; letter-spacing: .5px; }
.thx-check { width: 84px; height: 84px; display: block; margin: 0 auto; }
.thx-check circle { fill: rgba(230,201,126,.14); stroke: #e6c97e; stroke-width: 3; stroke-dasharray: 230; stroke-dashoffset: 230; animation: thxDraw .7s ease forwards; }
.thx-check path { fill: none; stroke: #e6c97e; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: thxDraw .45s .55s ease forwards; }
@keyframes thxDraw { to { stroke-dashoffset: 0; } }
.thx-conf { position: absolute; inset: 0; pointer-events: none; }
.thx-conf i { position: absolute; top: -12px; left: var(--x); width: 7px; height: 12px; border-radius: 2px; background: #e6c97e; opacity: 0; transform: rotate(var(--r));
  animation: thxFall 1.8s var(--d) ease-in forwards; }
.thx-conf i:nth-child(3n) { background: #fff; } .thx-conf i:nth-child(4n) { background: #c9a24d; width: 6px; height: 6px; border-radius: 50%; }
@keyframes thxFall { 0% { opacity: 1; transform: translateY(0) rotate(var(--r)); } 100% { opacity: 0; transform: translateY(240px) rotate(calc(var(--r) + 220deg)); } }
.thx-body { padding: 20px 20px 22px; }
.thx-body h3 { margin: 0 0 12px; font-size: 17px; color: var(--primary); }
.thx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.thx-steps li { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.thx-steps li:not(:last-child)::before { content: ""; position: absolute; top: 34px; bottom: 2px; inset-inline-start: 16px; width: 2px; background: #e2e5ea; }
.thx-steps li.done:not(:last-child)::before { background: linear-gradient(#c9a24d, #e2e5ea); }
.thx-ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: #f2f3f6; border: 1px solid #e2e5ea; }
.thx-steps li.done .thx-ic { background: #1f8a4c; border-color: #1f8a4c; color: #fff; font-weight: 800; }
.thx-steps li.next .thx-ic { background: #fff7e3; border-color: #c9a24d; box-shadow: 0 0 0 4px rgba(201,162,77,.18); animation: ppPulse 1.6s ease-in-out infinite; }
.thx-steps b { display: block; font-size: 15px; color: var(--primary); }
.thx-steps small { display: block; color: #5d667b; font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.thx-steps small b { display: inline-block; direction: ltr; unicode-bidi: isolate; color: var(--primary); font-size: 14px; }
.thx-tip { margin: 2px 0 16px; padding: 11px 14px; border-radius: 12px; background: #eef4ff; color: #22468f; font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.thx-sum { border: 1px solid #e7e9ee; background: #f8f9fb; border-radius: 16px; padding: 12px 14px; display: grid; gap: 10px; }
.thx-item { display: flex; align-items: center; gap: 10px; }
.thx-item > div { flex: 1; min-width: 0; }
.thx-item b { font-size: 14px; color: var(--primary); }
.thx-item small { display: block; color: #6b7488; font-size: 12.5px; }
.thx-th { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #e7e9ee; display: block; }
.thx-th img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.thx-line, .thx-total { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: #5d667b; }
.thx-total { border-top: 1px dashed #dccfae; padding-top: 10px; color: var(--primary); font-weight: 700; align-items: baseline; }
.thx-total b { font-size: 22px; }
.thx-back { margin-top: 16px; }
.thx-wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: var(--green); font-weight: 700; font-size: 14px; text-decoration: none; text-align: center; }
.thx-wa svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .thx-conf { display: none; } .thx-check circle, .thx-check path { animation: none; stroke-dashoffset: 0; } }

/* product cards: photos that have their own background fill the frame */
.card-media img.full { object-fit: cover; padding: 0; mix-blend-mode: normal; }

/* checkout: delivery prices as plain text */
.co-zones-txt { font-size: 15px; font-weight: 600; color: var(--primary, #0f2557); margin: -2px 2px 4px; }
.co-zones-txt b { color: var(--gold-dark); white-space: nowrap; }
.co-zone-hint[hidden] { display: none; }

/* product page: when a size slides the gallery into view, keep its top clear of the sticky header */
.pp-media { scroll-margin-top: 84px; }

/* phones: show the photo previews under the gallery too (a sideways strip) */
@media (max-width: 900px) {
  .pp { grid-template-columns: minmax(0, 1fr); } /* the long strip must not widen the page */
  .pp-thumbs { display: flex; gap: 8px; margin-top: 10px; padding: 2px 16px 4px; -webkit-overflow-scrolling: touch; }
  .pp-thumbs::-webkit-scrollbar { display: none; }
  .pp-thumbs button { flex: 0 0 62px; height: 62px; border-radius: 12px; padding: 2px; }
}

/* ---------- speed + comfort (Nov 2026) ---------- */
/* sections further down are laid out only when they come near the screen (much less work when the page opens) */
#app > section:nth-of-type(n+4) { content-visibility: auto; contain-intrinsic-size: auto 640px; }
/* photo dots: same small dot, but a finger-sized button around it */
.pp-dots { gap: 0; padding: 0 4px; }
.pp-dots button, .pp-dots button.on { width: 24px; height: 24px; background: none; position: relative; transform: none; }
.pp-dots button::after { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-radius: 50%; background: #c9ced8; transition: .2s; }
.pp-dots button.on::after { background: var(--gold); transform: scale(1.3); }
.f-col h2 { margin: 0 0 12px; font-size: 16px; }

/* =========================================================
   Audit Nov 2026: search results, order tracking, « not found », cart bar, share, back to top, page change
   ========================================================= */
body.modal-open { overflow: hidden; }
/* search: clear button + results under the field */
#searchInput::-webkit-search-cancel-button { display: none; }
@media (min-width: 761px) { .search { position: relative; } .search input { padding-inline-end: 40px; } }
.search-x { position: absolute; inset-inline-end: 6px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; font-size: 14px; }
.search-x:hover { background: var(--silver); color: var(--ink); }
.search-x[hidden], .sug[hidden], .to-top[hidden] { display: none; }
.sug { position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  max-height: min(70vh, 460px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; animation: sugIn .16s ease-out; }
@keyframes sugIn { from { opacity: 0; transform: translateY(-6px); } }
.sug a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.sug a:hover, .sug a.on { background: var(--gold-soft); }
.sug-im { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #f6f6f6; display: block; }
.sug-im img, .sug-im .ph { width: 100%; height: 100%; object-fit: contain; display: grid; place-items: center; }
.sug-tx { flex: 1; min-width: 0; display: grid; }
.sug-tx b { font-size: 14.5px; color: var(--primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-tx small { color: var(--gold-dark); font-weight: 700; font-size: 13.5px; }
.sug a.sug-all { justify-content: center; gap: 6px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--primary); font-weight: 800; font-size: 14.5px; padding: 12px; }
.sug-all i { font-style: normal; font-size: 18px; line-height: 1; }
html[dir="rtl"] .sug-all i, html[dir="rtl"] .see-more i { transform: scaleX(-1); }
.sug-none { padding: 18px 14px; text-align: center; display: grid; gap: 4px; }
.sug-none b { color: var(--primary); } .sug-none small { color: var(--muted); }
@media (max-width: 760px) {
  .search.open { display: block; }
  .search .search-x { top: 31px; inset-inline-end: 18px; }
  .search input { padding-inline-end: 44px; }
  .sug { position: static; margin-top: 8px; box-shadow: none; max-height: 62vh; max-height: 62dvh; }
}
.q-x { border: 0; background: var(--silver); color: var(--ink); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 12px; margin-inline-start: 4px; }
/* toast with a button */
.toast.act { pointer-events: auto; display: flex; align-items: center; gap: 14px; text-align: start; }
.toast button { border: 0; background: none; color: #f3dc9b; font-weight: 800; cursor: pointer; padding: 4px 2px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
/* cart: how far from free delivery */
.free-bar { display: grid; gap: 6px; }
.fb-track { height: 6px; border-radius: 6px; background: var(--silver); overflow: hidden; }
.fb-track i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #d8b562, #b88f36); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.free-bar.ok .fb-track i { background: var(--green); }
.free-bar.ok .free-note { font-weight: 800; }
/* product page: brand line + share */
.pp-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.pp-topline .pp-vendor { margin: 0; }
.pp-share { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--primary); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.pp-share:hover { border-color: var(--gold); }
.pp-share svg { width: 17px; height: 17px; }
/* order tracking */
.trk { max-width: 520px; margin: 18px auto 40px; }
.trk-head { text-align: center; margin-bottom: 18px; }
.trk-ic { width: 60px; height: 60px; border-radius: 18px; background: var(--gold-soft); color: var(--primary); display: inline-grid; place-items: center; margin-bottom: 10px; }
.trk-ic svg { width: 30px; height: 30px; }
.trk-head h1 { color: var(--primary); font-size: 26px; margin: 0 0 6px; }
.trk-head p { color: var(--muted); margin: 0; }
.trk-form { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.trk-form .co-ic b { font-size: 18px; }
.trk-card { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 16px; animation: heroUp .4s ease-out; }
.trk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.trk-top .thx-no { margin: 0; background: var(--gold-soft); border-color: #e6d6a8; color: var(--gold-dark); font-weight: 700; }
.trk-top .thx-no b { color: var(--primary); }
.trk-city { color: var(--muted); font-size: 14px; font-weight: 600; }
.trk-steps li:last-child { padding-bottom: 0; }
.trk-end { text-align: center; background: #fdf3f1; border: 1px solid #f3d2cc; color: #a5281b; border-radius: 14px; padding: 14px; display: grid; gap: 4px; }
.trk-end small { color: #7a4a44; }
.trk-parcel { display: flex; align-items: center; gap: 12px; background: #f4f7fd; border: 1px solid #dfe6f5; border-radius: 14px; padding: 12px 14px; color: var(--primary); }
.trk-parcel svg { width: 26px; height: 26px; flex-shrink: 0; }
.trk-parcel b { display: block; font-size: 14.5px; } .trk-parcel b span { font-weight: 800; }
.trk-parcel small { color: #5d667b; font-size: 13px; }
.thx-track { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.thx-track + .thx-back { margin-top: 8px; }
/* page not found */
.nf { text-align: center; padding: 34px 16px 10px; }
.nf-no { font-size: 84px; font-weight: 800; line-height: 1; letter-spacing: 2px; background: linear-gradient(135deg, #d8b562, #846623); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { color: var(--primary); font-size: 26px; margin: 10px 0 6px; }
.nf p { color: var(--muted); margin: 0 0 18px; }
.nf-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
/* back to top */
.to-top { position: fixed; z-index: 44; bottom: calc(22px + var(--safe-b)); inset-inline-start: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.96); color: var(--primary); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(15,37,87,.16); animation: sugIn .2s ease-out; }
.to-top:hover { border-color: var(--gold); }
body.sb-show .to-top { bottom: calc(96px + var(--safe-b)); }
@media (min-width: 901px) { body.sb-show .to-top { bottom: calc(22px + var(--safe-b)); } }
/* photos: a soft moving light while they load, then they fade in (photos of the first screen show at once) */
.card-media:not(:has(img.ld)):not(:has(.ph)) { background-image: linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 70%); background-size: 220% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -100% 0; } }
.card-media img[loading="lazy"] { opacity: 0; transition: opacity .35s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.card-media img[loading="lazy"].ld { opacity: 1; }
.card.is-out .card-media img.ld { opacity: .7; } /* sold out: stays dimmed */
.modal:focus { outline: none; }
/* page change: the two pages cross-fade; a tapped product photo glides to its place on the product page */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .24s; }
::view-transition-group(pimg) { animation-duration: .38s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
::view-transition-old(pimg), ::view-transition-new(pimg) { height: 100%; width: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .card-media:not(:has(img.ld)) { animation: none; } .card-media img[loading="lazy"] { opacity: 1; transition: none; } .sug, .to-top, .trk-card { animation: none; } }

/* ---------- product page: sizes by diameter — a small table: one slim row per diameter, one column per model ---------- */
.mx-label { margin-bottom: 2px; }
.mx-hint { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.mx { display: grid; gap: 8px; margin-bottom: 4px; max-width: 440px; }
.mx-grid { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.mx-h { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 2px 2px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.25; }
.mx-h img { width: 30px; height: 30px; object-fit: contain; flex: none; mix-blend-mode: multiply; }
.mx-h em { font-style: normal; }
.mx-d { display: flex; align-items: baseline; justify-content: center; align-content: center; flex-wrap: wrap; gap: 0 3px; padding: 4px 2px; border-radius: 12px; background: var(--gold-soft); border: 1px solid rgba(201,162,77,.4); color: var(--primary); align-self: stretch; }
.mx-d b { font-size: 17px; font-weight: 800; letter-spacing: -.2px; }
.mx-d i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--gold-dark); }
.mx-o { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; text-align: start;
  transition: border-color .15s, box-shadow .15s, transform .12s; }
.mx-o:hover { border-color: var(--gold); }
.mx-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mx-t b { font-size: 15px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.mx-t strong { font-size: 12.5px; font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.mx-o.on { background: var(--navy-grad); border-color: var(--primary); box-shadow: 0 6px 14px rgba(15,37,87,.2); }
.mx-o.on .mx-t b { color: #fff; } .mx-o.on .mx-t strong { color: var(--gold-light); }
.mx-o[disabled] { opacity: .45; cursor: not-allowed; }
.mx-o:active:not([disabled]), .mx-all:active { transform: scale(.98); }
.mx-na { display: grid; place-items: center; color: #c3cad8; border: 1px dashed var(--line); border-radius: 12px; }
.mx .tick { flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #c3cad8; background: #fff; display: grid; place-items: center; }
.mx .tick::after { content: "✓"; font-style: normal; font-size: 11.5px; font-weight: 900; color: var(--primary); line-height: 1; opacity: 0; }
.mx .on > .tick { border-color: var(--gold-light); background: var(--gold-light); }
.mx .on > .tick::after { opacity: 1; }
.mx [disabled] > .tick { visibility: hidden; }
.mx-all { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 7px 12px; border: 1px solid rgba(201,162,77,.7); border-radius: 12px; background: #fffdf6; cursor: pointer; font: inherit; text-align: start; transition: transform .12s; }
.mx-all .bt { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; line-height: 1.35; }
.mx-all .bt b { font-size: 13.5px; font-weight: 800; color: var(--primary); }
.mx-all .bt small { font-size: 12.5px; font-weight: 700; color: var(--gold-dark); }
.mx-all.on { background: var(--navy-grad); border-color: var(--primary); }
.mx-all.on .bt b { color: #fff; } .mx-all.on .bt small { color: var(--gold-light); }
.mx-picked { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; background: #eef7f1; border: 1px solid #cfe9d8; border-radius: 10px; padding: 7px 10px; font-size: 13.5px; }
.mx-picked:empty { display: none; }
.mx-picked span { color: var(--green); font-weight: 800; }
.mx-picked b { color: var(--primary); font-weight: 700; flex: 1; min-width: 0; }
.mx-picked em { font-style: normal; font-weight: 800; color: var(--primary); white-space: nowrap; }
#qtyWrap[hidden] { display: none; }
@media (max-width: 380px) { .mx-grid { grid-template-columns: 50px minmax(0, 1fr) minmax(0, 1fr); } .mx-o { padding: 6px 8px; gap: 6px; } .mx-t b { font-size: 14px; } }

.f-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* ---------- category pages: price list ---------- */
.cat-guide h2 { font-size: 20px; color: var(--primary); margin-bottom: 12px; }
.cat-guide .size-table td:first-child { text-align: start; }
.cat-guide .size-table td:last-child { white-space: nowrap; }
.cat-guide a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(201,162,77,.6); text-underline-offset: 3px; }
.cat-guide p { margin-top: 10px; font-size: 14px; }

/* ---------- customers' voice messages: a WhatsApp chat (wallpaper, white bubble with its tail, wave, mic on the photo) ---------- */
.vn-box { max-width: 400px; margin: 14px auto 16px; padding: 14px 14px 12px 20px; border-radius: 18px; background-color: #efeae2;
  background-image: radial-gradient(rgba(84,101,111,.09) 1px, transparent 1.2px); background-size: 15px 15px; display: grid; gap: 10px; text-align: left; box-shadow: inset 0 0 0 1px rgba(11,20,26,.05); }
.vn-title { display: grid; gap: 2px; text-align: center; margin-inline-start: -6px; margin-bottom: 2px; }
.vn-title b { font-size: 15.5px; color: #111b21; font-weight: 800; }
.vn-title small { font-size: 12.5px; color: #54656f; line-height: 1.45; }
.vn-item { display: grid; gap: 4px; justify-items: start; }
.vn { position: relative; display: flex; align-items: center; gap: 8px; width: min(100%, 330px); background: #fff; border-radius: 0 12px 12px 12px; padding: 7px 9px 5px 6px; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.vn::before { content: ""; position: absolute; top: 0; left: -8px; border-style: solid; border-width: 0 9px 11px 0; border-color: transparent #fff transparent transparent; }
.vn-play { width: 38px; height: 40px; flex: none; border: 0; background: none; color: #8696a0; cursor: pointer; display: grid; place-items: center; padding: 0; }
.vn-play svg { width: 30px; height: 30px; fill: currentColor; }
.vn.playing .vn-play { color: #54656f; }
.vn-mid { flex: 1; min-width: 0; }
.vn-wave { display: flex; align-items: center; gap: 2px; height: 30px; cursor: pointer; }
.vn-wave i { flex: 1; min-width: 2px; max-width: 4px; border-radius: 2px; background: #c9d0d4; transition: background-color .12s; }
.vn-wave i.on { background: #25d366; }
.vn.heard .vn-wave i.on { background: #53bdeb; }
.vn-meta { display: flex; justify-content: space-between; margin-top: 1px; font-size: 11px; color: #667781; font-variant-numeric: tabular-nums; }
.vn-av { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #dfe5e7; color: #fff; display: grid; place-items: center; }
.vn-av > svg { width: 30px; height: 30px; fill: currentColor; }
.vn-av i { position: absolute; left: -5px; bottom: -3px; color: #25d366; display: grid; }
.vn-av i svg { width: 18px; height: 18px; fill: currentColor; }
.vn.heard .vn-av i { color: #53bdeb; }
.vn-av[hidden], .vn-speed[hidden] { display: none; }
.vn-speed { width: 44px; height: 26px; flex: none; border: 0; border-radius: 13px; background: #667781; color: #fff; font: inherit; font-weight: 700; font-size: 12.5px; cursor: pointer; margin-block: 9px; }
.vn-cap { display: grid; gap: 1px; font-size: 13px; color: #3b4a54; padding-inline: 4px; max-width: 330px; }
.vn-cap b { color: #111b21; font-size: 13px; }

/* voice messages, the human touches: the day (WhatsApp date chip), who is speaking, a first letter on the photo, a thank-you from the shop */
.vn-day { justify-self: center; background: #fff; color: #54656f; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 8px; box-shadow: 0 1px .5px rgba(11,20,26,.13); margin-inline-start: -6px; }
.vn.named { flex-wrap: wrap; row-gap: 0; padding-top: 6px; }
.vn-who { flex: 1 1 100%; font-size: 12.5px; font-weight: 700; color: #1f7aec; padding: 0 4px 1px; text-align: left; }
.vn-av em { font-style: normal; font-size: 19px; font-weight: 800; color: #fff; }
.vn-cap span { font-style: italic; line-height: 1.5; }
.vn.playing .vn-wave i.on { animation: vnBeat .9s ease-in-out infinite alternate; }
.vn.playing .vn-wave i.on:nth-child(3n) { animation-delay: .25s; } .vn.playing .vn-wave i.on:nth-child(3n + 1) { animation-delay: .5s; }
@keyframes vnBeat { from { transform: scaleY(.82); } to { transform: scaleY(1.08); } }
@media (prefers-reduced-motion: reduce) { .vn.playing .vn-wave i.on { animation: none; } }
.vn-thanks { justify-self: end; max-width: 300px; background: #d9fdd3; color: #111b21; font-size: 13.5px; line-height: 1.45; padding: 6px 10px; border-radius: 12px 0 12px 12px; box-shadow: 0 1px .5px rgba(11,20,26,.13); position: relative; margin-top: 2px; }
.vn-thanks::after { content: ""; position: absolute; top: 0; right: -8px; border-style: solid; border-width: 0 0 11px 9px; border-color: transparent transparent transparent #d9fdd3; }

/* a folded list inside a description (« المميزات » / « Points forts »): closed by default, one tap opens it */
details.fold { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0 0 12px; overflow: hidden; }
details.fold > summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary b { flex: 1; font-size: 16px; font-weight: 800; }
details.fold > summary small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
details.fold > summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft, #f7f0de); color: #846623; font-size: 19px; font-weight: 700; line-height: 26px; text-align: center; }
details.fold[open] > summary::after { content: "−"; }
details.fold[open] > summary small { display: none; }
details.fold > ul { margin: 0; padding-block: 0 12px; padding-inline: 34px 14px; }
.pp-desc details.fold > summary b { color: var(--primary); }

/* ---------- customer comments: a person talking (coloured first letter, « 3 days ago », words in a bubble, the original WhatsApp message) ---------- */
.rv { display: grid; gap: 10px; align-content: start; }
.rv-top { margin-bottom: 0; }
.rv-av { background: var(--primary); font-size: 16px; }
.rv-who b { font-size: 15px; }
.rv p.rv-say { position: relative; margin: 0; background: #f4f6fb; border-radius: 4px 16px 16px 16px; padding: 10px 13px; font-size: 15.5px; line-height: 1.65; color: #1c2740; white-space: pre-line; }
.rv-wa p.rv-say { background: #e9fbe7; }
.rv-shot { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 6px 12px 6px 6px; cursor: zoom-in; font: inherit; color: var(--primary); font-weight: 700; font-size: 13.5px; width: fit-content; text-align: start; }
.rv-shot:hover { border-color: var(--gold); }
.rv .rv-shot img { width: 46px; height: 46px; max-height: none; object-fit: cover; border-radius: 8px; }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.rv-src { display: inline-flex; align-items: center; gap: 5px; color: #128c4a; font-size: 12.5px; font-weight: 700; background: #e9fbe7; border-radius: 999px; padding: 3px 10px; }
.rv-ok { margin-top: 0; }
.rv-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.rv-quick button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--primary); cursor: pointer; }
.rv-quick button.on { background: var(--gold-soft); border-color: var(--gold); }
details.fold > p { margin: 0; padding: 0 14px 12px; }
details.fold.fold-table { margin-top: 14px; }
details.fold.fold-table > .size-table { margin: 0 12px 12px; width: calc(100% - 24px); }
.pp-info > details.fold summary b { color: var(--primary); }

/* product gallery: always a square frame, whatever the photo shape (a tall 9:16 photo made every slide 1117 px high, 2026-11-19) */
.pp-track { align-items: flex-start; }
.pp-slide { position: relative; overflow: hidden; }
.pp-slide > img { position: absolute; inset: 0; }

/* category pages (ad traffic): products first, the intro text under them; compact top on phones (2026-11-19) */
.cat-about { margin-top: 26px; }
.cat-about .cat-intro { margin: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
@media (max-width: 640px) {
  .crumbs { margin-top: 10px; font-size: 13px; }
  .page-title { margin: 6px 0 4px; }
  .chips { margin: 8px -12px 10px; }
  .chip { min-height: 36px; padding: 6px 14px; font-size: 14px; }
  .toolbar { margin-bottom: 10px !important; }
  .toolbar select { padding: 7px 12px; }
  .cat-about { margin-top: 18px; }
  .cat-about .cat-intro { font-size: 14.5px; padding: 14px; }
}

/* category price table: a small photo before each product name (2026-11-20) */
.cat-guide .cg-prod { display: flex; align-items: center; gap: 10px; }
.cat-guide .cg-prod img { width: 48px; height: 48px; flex: none; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
@media (max-width: 640px) { .cat-guide .cg-prod img { width: 42px; height: 42px; } }
.cat-guide details.fold .city-table { max-height: none; margin: 0 12px 10px; border: 0; }
.cat-guide details.fold > .muted { margin: 0 14px 14px; }
@media (max-width: 640px) {
  .cat-guide .size-table { font-size: 13.5px; }
  .cat-guide .size-table th, .cat-guide .size-table td { padding: 9px 6px; }
  .cat-guide .cg-prod { gap: 8px; }
  .cat-guide .cg-prod span { text-decoration: none; }
}

/* category intro box: photos of all the products of the category on top of the text (2026-11-20) */
.cat-about .cat-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; padding: 14px 14px 0; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; }
.cat-about .cat-pics + .cat-intro { border-top: 0; border-radius: 0 0 16px 16px; }
.cat-about .cat-pics a { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--stage, #f6f4ef); display: block; }
.cat-about .cat-pics img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cat-about .cat-pics a:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .cat-about .cat-pics { grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px 12px 0; } }
.cat-about .cat-pics a { border: 1px solid var(--line); }

/* product page: « ★★★★★ Voir les avis de nos clients » under the price, like the landing pages (2026-11-20) */
.pp-rateline { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px; color: var(--muted); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.pp-rateline span { color: #e0a526; letter-spacing: 1px; text-decoration: none; font-size: 15px; }
.proof-strip, #reviews { scroll-margin-top: 90px; }
/* product page size buttons a bit bigger (user 2026-11-20); the small ones on product cards stay as they were */
.sizes { gap: 8px; }
.size { padding: 9px 18px; min-height: 44px; min-width: 64px; font-size: 16px; font-weight: 600; border-radius: 12px; }
.card .sizes { gap: 4px; }
.card .size { padding: 3px 8px; min-height: 28px; min-width: 0; font-size: 12px; font-weight: 500; border-radius: 8px; }

/* product page « Retour » button (2026-11-20) */
.pp-backrow { margin: 14px 0 4px; }
.pp-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; min-height: 42px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--primary); font-weight: 700; font-size: 15px; box-shadow: 0 2px 8px rgba(15,37,87,.06); }
.pp-back:hover { border-color: var(--gold); }
.pp-back svg { flex: none; }
html[dir="rtl"] .pp-back svg { transform: scaleX(-1); }
@media (max-width: 640px) { .pp-backrow { margin: 10px 0 8px; } .pp-crumbs { display: none; } }

/* voice notes, one card per client (2026-11-20): a small WhatsApp chat each — header with her colour, name line, day and time */
.vn-box.cards { background: #f0f2f5; background-image: none; padding: 14px; gap: 12px; }
.vn-box.cards .vn-title { margin-inline-start: 0; }
.vn-card { border-radius: 14px; overflow: hidden; background-color: #efeae2; background-image: radial-gradient(rgba(84,101,111,.09) 1px, transparent 1.2px); background-size: 15px 15px; box-shadow: 0 1px 2px rgba(11,20,26,.14); }
.vn-chead { display: flex; align-items: center; gap: 10px; background: #fff; padding: 8px 12px; border-bottom: 1px solid #e9edef; }
.vn-cav { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.vn-cav svg { width: 24px; height: 24px; fill: currentColor; }
.vn-cav em { font-style: normal; font-weight: 800; font-size: 16px; }
.vn-cwho { display: grid; line-height: 1.3; min-width: 0; text-align: start; }
.vn-cwho b { font-size: 14.5px; color: #111b21; font-weight: 700; }
.vn-cwho small { font-size: 11.5px; color: #667781; }
.vn-cbody { padding: 10px 12px 10px 20px; display: grid; }
.vn-card .vn-who { display: none; }
.vn-card .vn-cap { margin-top: 4px; }
/* waiting for the audio: a green ring turns around ▶ */
.vn-play { position: relative; }
.vn.loading .vn-play::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 2.5px solid #25d366; border-top-color: transparent; animation: vnSpin .8s linear infinite; }
@keyframes vnSpin { to { transform: rotate(360deg); } }

/* categories page: photo cards (2026-11-20) */
.cat-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.cat-ph { position: relative; display: grid; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 4px 16px rgba(15,37,87,.06); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat-ph:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.cat-ph-img { aspect-ratio: 1; background: var(--stage, #f6f4ef); display: grid; place-items: center; overflow: hidden; }
.cat-ph-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-ph:hover .cat-ph-img img { transform: scale(1.04); }
.cat-ph-img i { font-style: normal; font-size: 48px; }
.cat-ph-txt { display: grid; gap: 2px; padding: 12px 44px 14px 14px; }
html[dir="rtl"] .cat-ph-txt { padding: 12px 14px 14px 44px; }
.cat-ph-txt b { font-size: 16px; color: var(--primary); line-height: 1.3; }
.cat-ph-txt small { color: var(--muted); font-size: 13px; }
.cat-ph-go { position: absolute; bottom: 16px; inset-inline-end: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft, #f7f0de); color: #846623; display: grid; place-items: center; font-size: 20px; font-weight: 700; line-height: 1; }
html[dir="rtl"] .cat-ph-go { transform: scaleX(-1); }
@media (max-width: 640px) {
  .cat-photos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-ph { border-radius: 16px; }
  .cat-ph-txt { padding: 10px 36px 12px 12px; } html[dir="rtl"] .cat-ph-txt { padding: 10px 12px 12px 36px; }
  .cat-ph-txt b { font-size: 14.5px; }
  .cat-ph-go { width: 24px; height: 24px; font-size: 17px; bottom: 14px; inset-inline-end: 9px; }
}
.cat-ph-img { background: #fff; } .cat-ph-img img { object-fit: contain; padding: 9%; } /* product-only photos: a little white space around them */

/* product page: the opening sentence under the price, like the landing pages (2026-11-20) */
.pp-lead { color: var(--muted, #5d6785); font-size: 16px; line-height: 1.75; margin: 4px 0 14px; }
@media (max-width: 640px) { .pp-lead { font-size: 15.5px; } }

/* ad category page (Autocuiseurs, 2026-11-20): promise + trust chips, sizes and badge on cards, size guide */
.cat-pitch { margin: 2px 0 10px; color: #3d4766; font-size: 15.5px; line-height: 1.6; max-width: 760px; }
.cat-trust { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.cat-trust span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--primary); }
.cat-trust svg { width: 16px; height: 16px; color: #b8913a; }
.card-sizes { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: -2px 0 4px; }
.tag.tag-badge { left: auto; right: 10px; background: #b8913a; color: #fff; }
html[dir="rtl"] .tag.tag-badge { right: auto; left: 10px; }
.choose h2 { margin-bottom: 12px; }
.choose-list { display: grid; gap: 10px; }
.choose-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, transform .2s; }
.choose-row:hover { border-color: var(--gold); transform: translateY(-1px); }
.choose-row img { width: 64px; height: 64px; flex: none; border-radius: 12px; object-fit: cover; background: #f6f4ef; }
.choose-txt { flex: 1; display: grid; gap: 2px; min-width: 0; }
.choose-txt b { font-size: 15.5px; color: var(--primary); }
.choose-txt small { font-size: 13px; color: var(--muted); }
.choose-price { flex: none; text-align: end; font-weight: 800; color: #8a6a24; font-size: 16px; display: grid; }
.choose-price small { font-weight: 600; font-size: 11.5px; color: var(--muted); }

/* product page « take both sizes » suggestion (2026-11-20) */
.upsell { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 10px 12px; background: #fffaf0; border: 1.5px dashed #d9bd7a; border-radius: 16px; transition: border-color .2s, transform .2s; }
.upsell:hover { border-color: #b8913a; transform: translateY(-1px); }
.upsell img { width: 72px; height: 72px; flex: none; border-radius: 12px; object-fit: contain; background: #fff; }
.upsell-txt { flex: 1; display: grid; gap: 2px; min-width: 0; }
.upsell-txt b { font-size: 15px; color: var(--primary); line-height: 1.35; }
.upsell-txt small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.upsell-txt em { font-style: normal; font-weight: 800; color: #8a6a24; font-size: 15px; }
.upsell-txt em i { font-style: normal; font-weight: 600; color: var(--muted); font-size: 13px; }
.upsell-go { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #b8913a; color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 700; line-height: 1; }
html[dir="rtl"] .upsell-go { transform: scaleX(-1); }

/* free delivery from N articles (2026-11-20) */
.cat-trust .ct-gift { background: #fff6dc; border-color: #ecd391; color: #7a5a14; }
.pp-gift { margin: -4px 0 14px; padding: 9px 12px; border-radius: 12px; background: #fff6dc; border: 1px solid #ecd391; color: #7a5a14; font-weight: 700; font-size: 14.5px; }

/* thank-you page: the order card (2026-11-20) */
.oc { margin: 16px 0 14px; padding: 18px 16px 16px; border-radius: 20px; background: linear-gradient(180deg, #fffaf0, #fff); border: 1.5px solid #ecd391; text-align: center; box-shadow: 0 8px 24px rgba(15,37,87,.07); }
.oc-lbl { font-size: 13.5px; font-weight: 700; color: #7a5a14; letter-spacing: .3px; }
.oc-no { font: 800 44px/1.1 "Poppins", system-ui, sans-serif; color: #0f2557; margin: 4px 0 12px; letter-spacing: 1px; }
.oc-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.oc-b { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 8px 4px; border-radius: 14px; border: 1px solid #e6dcc2; background: #fff; color: #0f2557; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.25; cursor: pointer; text-decoration: none; }
.oc-b:hover { border-color: #b8913a; }
.oc-b.done { background: #e9f8ef; border-color: #7fcf9b; color: #16794a; }
.oc-wa { color: #128c4b; }
.oc-hint { margin: 12px 4px 12px; font-size: 13px; color: #6b7591; line-height: 1.55; }
.oc-track { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px; background: #0f2557; color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; box-shadow: 0 6px 16px rgba(15,37,87,.22); }
.oc-track:hover { background: #142f6e; }

/* Arabic pages: Cairo, the landing-page font (user 2026-11-20), a little bigger and darker so it reads easily on a phone */
html[lang="ar"] body, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] select, html[lang="ar"] textarea { font-family: "Cairo", "Tajawal", -apple-system, system-ui, sans-serif; }
html[lang="ar"] { --muted: #555f78; }
html[lang="ar"] .pp-title { line-height: 1.45; }
html[lang="ar"] .pp-lead { font-size: 17px; color: #39435e; line-height: 1.8; }
html[lang="ar"] .pp-desc { font-size: 17px; color: #222b3f; line-height: 1.85; }
html[lang="ar"] .cat-pitch { font-size: 16.5px; color: #2f3a57; }
html[lang="ar"] .cat-intro { font-size: 16px; color: #39435e; }
html[lang="ar"] .card-title { font-size: 16.5px; line-height: 1.45; }
html[lang="ar"] .card-sizes { font-size: 13.5px; color: #4f5a74; }
html[lang="ar"] .choose-txt small, html[lang="ar"] .upsell-txt small, html[lang="ar"] .oc-hint { font-size: 14px; color: #4f5a74; }
html[lang="ar"] .crumbs { font-size: 14px; }

/* batch 3 (2026-11-20): the page area stays one screen tall, like the loading screen, so short pages (/suivi, empty cart) do not make the footer jump */
#app { min-height: 100vh; min-height: 100svh; }

/* home categories strip (2026-11-20): slides sideways only, never up and down; no « lift » left behind by a tap */
.cat2-row { overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; touch-action: pan-x pan-y; padding: 6px 4px 8px; scroll-padding-inline: 4px; align-items: start; }
.cat2 { -webkit-tap-highlight-color: transparent; }
.cat2 b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
@media (hover: none) { .cat2:hover .cat2-img { transform: none; } .cat2:hover .cat2-img img { transform: none; } }
.cat2:active .cat2-img { transform: scale(.96); transition: transform .12s; }
@media (max-width: 760px) { .cat2-row { grid-auto-columns: 84px; gap: 12px; } .cat2 b { font-size: 12.5px; } }

/* category pages: every product shows at once, no fade-in one by one (user 2026-11-20) */
.cat-grid .card.rvl { opacity: 1; transform: none; transition: none; }
/* Autocuiseurs: last grid card opens « Casseroles & sets » (user 2026-11-22) */
.card-also { border: 2px dashed var(--gold); background: #fffaf0; }
.card-also .card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-also-sub { margin: 6px 0 10px; color: #6b7280; font-size: 13.5px; line-height: 1.4; }
.card-also-go { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: #fff; font-weight: 700; font-size: 14px; }
.cat-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy, #0f2557); font-weight: 700; font-size: 14px; }
/* categories page as an ad landing + way back on category pages (user 2026-11-22) */
.cats-hero { margin-bottom: 6px; }
.cats-sub { color: var(--muted); margin: 4px 0 12px; font-size: 15px; }
.cat-photos .rvl { opacity: 1; transform: none; transition: none; }
.cat-ph-price { font-style: normal; font-weight: 800; color: #846623; font-size: 14px; margin-top: 2px; }
.cat-ph-go { background: var(--gold); color: #fff; }
.cat-backs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.cat-backs .cat-back { margin: 0; }
@media (max-width: 760px) { .cats-sub { font-size: 14px; } .cat-ph-price { font-size: 13px; } }
.cat-ph-txt b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
