:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #0e1a33;
  --muted: #667085;
  --line: #e6e9f0;
  --primary: #0f2557;
  --primary-2: #1d4ea3;
  --gold: #c9a24d;
  --gold-dark: #9c7a2e;
  --gold-soft: #f7f0de;
  --silver: #eef1f6;
  --danger: #c0392b;
  --green: #1f8a4c;
  --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-logo { width: 84px; height: 84px; border-radius: 50%; margin-bottom: 18px; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.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-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.hero-badges span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.hero-art { position: relative; z-index: 1; }
.hero-art img { border-radius: 22px; box-shadow: 0 25px 60px rgba(0,0,0,.4); aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 440px; margin-inline: auto; }

/* ---------- Info strip ---------- */
.info-strip {
  margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.info { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.info .fi { font-size: 24px; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; flex-shrink: 0; }
.info b { display: block; font-size: 15px; }
.info span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { margin-top: 48px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { font-size: 26px; margin: 0; color: var(--primary); }
.section-head p { margin: 2px 0 0; }
.link-more { color: var(--primary-2); font-weight: 700; white-space: nowrap; }
.link-more:hover { color: var(--gold-dark); }
.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-cat { font-size: 13px; color: var(--gold-dark); font-weight: 700; }
.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; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 8px; padding-top: 4px; }
.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 ---------- */
.detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px;
}
.detail-media { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); cursor: zoom-in; position: relative; }
.detail-media img { width: 100%; height: auto; }
.detail-media .zoom-hint { position: absolute; bottom: 10px; inset-inline-end: 10px; background: rgba(15,37,87,.8); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.detail-media .ph { font-size: 140px; aspect-ratio: 1; }
.detail h1 { font-size: 28px; color: var(--primary); }
.detail .price { font-size: 30px; margin: 6px 0 14px; }
.label { font-weight: 700; margin: 16px 0 10px; display: block; }
.detail .size { padding: 10px 16px; min-height: 44px; font-size: 15px; border-radius: 12px; }
.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; }
.buy-row { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; }
.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; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; font-size: 22px; }
.admin-list { display: grid; gap: 10px; }
.admin-row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
  padding: 10px; border: 1px solid var(--line); border-radius: 12px; transition: .15s;
}
.admin-row:hover { border-color: var(--gold); background: #fffdf8; }
.admin-row .thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; }
.admin-row .thumb img, .admin-row .thumb .ph { width: 100%; height: 100%; object-fit: cover; font-size: 26px; }
.admin-row b { display: block; line-height: 1.3; }
.admin-row small { color: var(--muted); }
.row-actions { display: flex; gap: 6px; }
.admin-filter { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.admin-filter input, .admin-filter select { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); flex: 1; min-width: 150px; font-size: 16px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; 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); }
.size-rows { display: grid; gap: 8px; }
.size-row { display: grid; grid-template-columns: 1fr 1fr 44px; gap: 8px; }
.size-row input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); width: 100%; font-size: 16px; min-width: 0; }
.size-row .icon-btn { color: var(--danger); font-size: 16px; }
.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: #fffdf8; }
.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; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--bg); border-radius: 12px; padding: 14px; }
.stat b { font-size: 24px; color: var(--primary); display: block; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- 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-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer p { margin: 4px 0 0; }
.foot-admin { font-size: 13px; }

/* ---------- 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" */
.card-order {
  background: linear-gradient(135deg, #e4c36f, #c9a24d 55%, #a9832f); color: #0f2557; border: 0;
  font-weight: 800; box-shadow: 0 4px 12px rgba(201,162,77,.35);
}
.card-order:hover { filter: brightness(1.05); }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 36px 26px; }
  .hero-art img { max-width: 340px; }
  .info-strip { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
  .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-logo { width: 60px; height: 60px; margin-bottom: 12px; }
  .hero p { font-size: 15px; }
  .hero-actions .btn { flex: 1; }
  .hero-art img { max-width: 230px; border-radius: 16px; }

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

  .section { margin-top: 32px; }
  .section-head h2 { font-size: 21px; }
  .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-cat { font-size: 11px; }
  .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; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 6px; }
  .card-foot .btn { width: 100%; }
  .tag { font-size: 11px; padding: 3px 8px; top: 8px; inset-inline-start: 8px; }

  .detail { border-radius: 18px; margin-inline: -4px; }
  .detail h1 { font-size: 22px; }
  .detail .price { font-size: 26px; }
  .detail .buy-row { display: none; }
  .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 */
  .sticky-buy .sb-add {
    flex: 0 0 54px; min-height: 52px; padding: 0; font-size: 20px; border-radius: 14px;
    position: relative;
  }
  .sticky-buy .sb-add span {
    position: absolute; top: 6px; inset-inline-end: 7px; font-size: 13px; font-weight: 800; color: var(--gold);
  }
  @keyframes sbPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
  @media (prefers-reduced-motion: reduce) { .sticky-buy .sb-order { animation: none; } }
  .sticky-buy .sb-price { display: flex; flex-direction: column; justify-content: center; min-width: 84px; line-height: 1.2; flex: 0 0 auto; }
  .sticky-buy .sb-price small { color: var(--muted); font-size: 12px; }
  .sticky-buy .sb-price b { color: var(--primary); font-size: 18px; }
  body.has-sticky .footer { padding-bottom: calc(110px + var(--tabbar-h) + var(--safe-b)); }

  .form-grid { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: repeat(3, 1fr); padding: 6px; }
  .tab { padding: 10px 6px; font-size: 14px; }
  .panel { padding: 16px; }
  .admin-row { grid-template-columns: 48px 1fr; }
  .admin-row .thumb { width: 48px; height: 48px; }
  .admin-row .row-actions { grid-column: 1 / -1; }
  .admin-row .row-actions .btn { flex: 1; }
  .stat b { font-size: 20px; }

  .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%; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .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; }
.card-cart {
  position: absolute; bottom: 10px; inset-inline-end: 10px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 0; color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.15); transition: .15s;
}
.card-cart:hover { transform: scale(1.06); }
/* product page: old price + % */
.old-row { display: flex; align-items: center; gap: 10px; margin: -8px 0 12px; }
.old-row:empty { display: none; }
.old-row s { color: var(--muted); font-size: 18px; }
.sale-pill { background: #e53935; color: #fff; font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
@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; }
  .card-cart { width: 40px; height: 40px; bottom: 8px; inset-inline-end: 8px; }
}

/* =========================================================
   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-ship { display: flex; align-items: center; gap: 12px; border: 1px solid #cfd4de; border-radius: 12px; padding: 14px; font-weight: 600; }
.co-ship input { width: 20px; height: 20px; accent-color: #0b1220; margin: 0; }
.co-ship span { flex: 1; }
.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; }

/* 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 h4 { 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: #faf8f3; --ink: #0f1d3d; --line: #ece6d8;
  --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, #fffdf8 0%, #f6efdf 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; }
.card-cart { background: var(--primary); color: var(--gold-light); box-shadow: 0 4px 12px rgba(15,37,87,.3); }
.card-cart:hover { background: var(--gold); color: var(--navy-deep); }

/* 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: #fbf8f0; border-color: var(--line); }
.co-sum .co-total b { color: var(--primary); }
.co-ship { border-color: var(--gold); background: var(--gold-soft); }
.co-ship input { accent-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 h4 { 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, #fffdf8, #f5eedd); 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 */
#app.page-in { animation: pageIn .45s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* 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, #app.page-in, .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 ---------- */
.left-tag { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 800; color: #b3261e; background: #fdecea; border-radius: 999px; padding: 2px 9px; width: fit-content; animation: leftPulse 1.8s ease-in-out infinite; }
.stock-left:empty { display: none; }
.stock-left { margin: 8px 0 2px; color: #b3261e; font-size: 15px; }
.stock-left b { display: block; margin-bottom: 6px; }
.left-bar { display: block; height: 7px; border-radius: 99px; background: #f3e3e1; overflow: hidden; max-width: 320px; }
.left-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #e53935, #c9a24d); animation: leftGrow 1.2s ease both; }
@keyframes leftPulse { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
@keyframes leftGrow { from { width: 0; } }
@media (prefers-reduced-motion: reduce) { .left-tag, .left-bar i { animation: none; } }

/* ---------- 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 */
#app.page-in { animation: pageFade .35s ease; }
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
/* ---------- 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) */
.card-cart { display: none !important; }

/* ---------- 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; } }
