/* Shop Hani storefront. Mobile first; logical properties (inline-start/end) so Arabic mirrors on its own.
   Palette: ink, bright blue, coral orange and a touch of sunny yellow on a cool light grey. */
:root {
  --ink: #111827;
  --ink-2: #1f2937;
  --brand: #2b50ee;
  --brand-dark: #1e3bc4;
  --brand-soft: #e9eeff;
  --sun: #ffc233;
  --sun-soft: #fff1c2;
  --accent: #ff6a3d;
  --accent-dark: #e8532a;
  --green: #16a34a;
  --bg: #f5f6fa;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(17 24 39 / 0.05), 0 10px 30px -10px rgb(17 24 39 / 0.14);
  --shadow-lg: 0 30px 60px -20px rgb(17 24 39 / 0.3);
  --font-display: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --tabbar: 64px;
  --dots: radial-gradient(circle, rgb(255 255 255 / 0.09) 1.2px, transparent 1.6px) 0 0 / 22px 22px;
  color-scheme: light;
}
:lang(ar) {
  --font-display: 'Alexandria', 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-bottom: calc(var(--tabbar) + 24px); scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, .h1 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.45em; font-weight: 700; letter-spacing: -0.02em; }
:lang(ar) :is(h1, h2, h3, .h1) { letter-spacing: 0; line-height: 1.35; }
h1, .h1 { font-size: clamp(2rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
h3 { font-size: 1.15rem; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 720px; }
.section { padding-block: 40px; }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.kicker { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 700; color: var(--brand); margin: 0 0 10px; }
:lang(ar) .kicker { letter-spacing: 0; font-size: 0.9rem; }
.tick-star { width: 12px; height: 12px; flex: none; color: var(--accent); }

/* Ticker */
.ticker { background: var(--brand); color: #fff; font-size: 0.8rem; font-weight: 600; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 36px; padding: 8px 18px; animation: ticker 38s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; }
.ticker .tick-star { color: var(--sun); }
[dir='rtl'] .ticker-track { animation-name: ticker-rtl; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ticker-rtl { to { transform: translateX(50%); } }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgb(229 231 235 / 0.8); }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--ink); letter-spacing: -0.02em; }
.logo-star { width: 26px; height: 26px; color: var(--brand); transition: transform 0.8s var(--ease); }
.logo:hover .logo-star { transform: rotate(90deg); }
.logo-light { color: #fff; }
.logo-light .logo-star { color: var(--sun); }
.logo-svg { display: block; height: 44px; width: auto; }
.logo-svg .lg-bag { fill: var(--brand); }
.logo-svg .lg-acc-s { stroke: var(--accent); }
.logo-svg .lg-word { fill: var(--ink); }
.logo-svg .lg-word2 { fill: var(--brand); }
.logo-light .logo-svg { height: 48px; }
.logo-light .logo-svg .lg-bag { fill: #5b78ff; }
.logo-light .logo-svg .lg-word { fill: #fff; }
.logo-light .logo-svg .lg-word2 { fill: #8ea4ff; }
@media (max-width: 600px) { .top .logo-svg { height: 36px; } }
.main-nav { display: none; gap: 4px; }
.main-nav a { text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; position: relative; }
.main-nav a::after { content: ''; position: absolute; inset-inline: 14px; bottom: 3px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.top-search { display: none; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding-inline: 14px 4px; }
.top-search input { border: 0; background: none; min-height: 40px; width: 180px; padding: 0; box-shadow: none; }
.top-search button { border: 0; background: none; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.langs { display: flex; gap: 2px; }
.langs a { text-decoration: none; font-weight: 700; font-size: 0.82rem; padding: 6px 8px; border-radius: 8px; color: var(--muted); min-width: 34px; text-align: center; }
.langs a[aria-current] { color: var(--ink); background: var(--line); }
.langs a:hover { color: var(--ink); }
.cart-link { position: relative; display: inline-flex; padding: 10px; border-radius: 12px; color: var(--ink); }
.cart-link:hover { background: var(--line); }
.cart-count { position: absolute; top: 3px; inset-inline-end: 0; background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding-inline: 4px; }
.cart-count.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; text-decoration: none; background: var(--surface); border: 1px solid var(--line); padding: 5px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.page-home .chips { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, color 0.2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgb(17 24 39 / 0.6); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
[dir='rtl'] .btn .icon { transform: scaleX(-1); }
[dir='rtl'] .btn:hover .icon { transform: scaleX(-1) translateX(4px); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-gold { background: #fff; border-color: #fff; color: var(--ink); }
.btn-gold:hover { background: var(--sun); border-color: var(--sun); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.7); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-wa { background: #1fae55; border-color: #1fae55; }
.btn-block { width: 100%; }
.btn-lg { min-height: 58px; font-size: 1.05rem; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 0.85rem; padding: 4px; }

/* Hero */
.hero { position: relative; height: min(calc(100svh - 96px - var(--tabbar)), 760px); min-height: 500px; overflow: hidden; background: var(--ink); color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.slide.on { opacity: 1; visibility: visible; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s ease-out; }
.slide.on img { transform: scale(1); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(17 24 39 / 0.15) 0%, rgb(17 24 39 / 0.25) 35%, rgb(17 24 39 / 0.85) 100%); }
.slide-text { position: absolute; inset-inline: 0; bottom: 74px; z-index: 2; }
.slide-text > * { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.slide.on .slide-text > * { opacity: 1; transform: none; }
.slide.on .slide-text > :nth-child(2) { transition-delay: 0.12s; }
.slide.on .slide-text > :nth-child(3) { transition-delay: 0.24s; }
.slide.on .slide-text > :nth-child(4) { transition-delay: 0.36s; }
.slide .kicker { color: var(--sun-soft); }
.slide h1, .slide .h1 { color: #fff; max-width: 13em; text-wrap: balance; text-shadow: 0 2px 30px rgb(0 0 0 / 0.3); }
.slide .lead { color: rgb(255 255 255 / 0.88); max-width: 32em; margin: 0 0 24px; }
.hero-dots { position: absolute; inset-inline: 0; bottom: 28px; z-index: 3; display: flex; gap: 8px; }
.hero-dots button { border: 0; background: none; padding: 8px 0; cursor: pointer; }
.hero-dots span { display: block; width: 34px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.35); overflow: hidden; position: relative; }
.hero-dots [aria-selected='true'] span::after { content: ''; position: absolute; inset: 0; background: var(--sun); transform-origin: left; animation: progress 6.5s linear forwards; }
[dir='rtl'] .hero-dots [aria-selected='true'] span::after { transform-origin: right; }
@keyframes progress { from { transform: scaleX(0); } }

/* Trust */
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.trust li { display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 16px 18px; }
.trust .icon { color: var(--accent); flex: none; }
.trust strong { display: block; font-size: 0.98rem; }
.trust span { color: var(--muted); font-size: 0.86rem; }
.trust-float { position: relative; z-index: 4; margin-top: -26px; box-shadow: var(--shadow); border-radius: var(--radius); background: var(--surface); gap: 0; }
.trust-float li { border-radius: 0; background: none; }
.trust-float li + li { border-top: 1px solid var(--line); }
.trust-row { margin-block: 24px; }

/* Section heads */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 4px 16px; margin-bottom: 22px; }
.section-head .kicker { width: 100%; }
.section-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--brand); }
[dir='rtl'] .more .icon { transform: scaleX(-1); }

/* Category arches */
.arches { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
.arches::-webkit-scrollbar { display: none; }
.arch { flex: 0 0 44%; scroll-snap-align: start; text-decoration: none; text-align: center; }
.arch-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--line); position: relative; box-shadow: var(--shadow); }
.arch-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(17 24 39 / 0.35), transparent 45%); pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.arch:hover img { transform: scale(1.07); }
.arch-name { display: block; margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.5s; }
.card-img .alt { opacity: 0; }
.card:hover .card-img img { transform: scale(1.05); }
.card:hover .card-img .alt { opacity: 1; }
.card-body { padding: 12px 4px 0; }
.card h3 { font-family: var(--font-body); font-size: 0.96rem; font-weight: 600; margin: 0 0 2px; line-height: 1.35; }
.card h3 a { text-decoration: none; }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--accent); color: #fff; font-size: 0.74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; z-index: 1; }
.badge.muted { background: rgb(17 24 39 / 0.75); }
.quick-add { position: absolute; z-index: 2; top: 0; margin-top: calc(125% - 54px); inset-inline-end: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.95); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: transform 0.25s var(--ease), background 0.2s; }
.quick-add:hover { transform: scale(1.08); background: var(--sun); }
.quick-add.done { background: var(--green); color: #fff; }
.price { font-weight: 800; color: var(--ink); margin: 0; }
.price s { color: var(--muted); font-weight: 500; font-size: 0.85em; margin-inline-start: 6px; }
.price.big { font-size: 1.8rem; font-family: var(--font-display); font-weight: 700; }
.price .save { display: inline-block; vertical-align: middle; font-family: var(--font-body); font-size: 0.8rem; font-weight: 800; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 10px; }

/* Story */
.story { background: var(--ink); color: #e5e7eb; position: relative; overflow: hidden; padding-block: 56px; }
.story::before { content: ''; position: absolute; inset: 0; background: var(--dots); }
.story-grid { position: relative; display: grid; gap: 32px; align-items: center; }
.story-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 420px; margin-inline: auto; width: 100%; box-shadow: var(--shadow-lg); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story h2 { color: #fff; }
.story p { color: rgb(243 236 224 / 0.82); font-size: 1.05rem; }
.story .kicker { color: var(--sun); }

/* Banner */
.banner { position: relative; min-height: 440px; display: grid; align-items: end; overflow: hidden; color: #fff; margin-block: 24px; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.banner.in > img { transform: scale(1); }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(17 24 39 / 0.9), rgb(17 24 39 / 0.1) 70%); }
.banner-text { position: relative; z-index: 1; padding-block: 40px; }
.banner h2 { color: #fff; }
.banner p { color: rgb(255 255 255 / 0.85); max-width: 30em; }
.banner .kicker { color: var(--sun-soft); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }
.step-n { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--sun); font-weight: 700; display: block; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

/* Page hero (listing) */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: 48px 0 40px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: var(--dots); }
.page-hero.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(17 24 39 / 0.85), rgb(17 24 39 / 0.25)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero .kicker { color: var(--sun-soft); }
.page-hero .lead { color: rgb(255 255 255 / 0.85); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.filters .search { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding-inline: 16px; }
.filters .search input { border: 0; padding: 0; box-shadow: none; background: none; }
.filters .search .icon { color: var(--muted); flex: none; }
.filters .sort { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; }
.filters .sort select { border-radius: 999px; min-height: 48px; padding-inline: 16px 34px; }
.count { color: var(--muted); font-size: 0.9rem; margin: 6px 0 18px; }

/* Forms */
input, select, textarea { font: inherit; width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
/* 16px or more: iOS Safari zooms the page into any smaller text box on focus. */
input, select, textarea { font-size: 16px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(43 80 238 / 0.12); }
textarea { resize: vertical; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.93rem; }
.field-error, .form-error { color: #b42318; font-size: 0.85rem; font-weight: 600; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.card-box { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card-box h2 { font-size: 1.35rem; }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted); padding-block: 14px 4px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.product { display: grid; gap: 22px; padding-block: 8px 24px; }
.gallery { position: relative; margin-inline: -16px; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: none; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; background: var(--line); }
.thumbs { display: flex; gap: 8px; padding: 10px 16px 0; overflow-x: auto; }
.thumbs button { flex: none; border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; cursor: pointer; width: 64px; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; background: none; }
.thumbs button.on { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product-info h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.stock { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green); margin: 6px 0 0; font-size: 0.92rem; }
.stock .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgb(22 163 74 / 0.18); animation: pulse 2s infinite; }
.stock-low { color: var(--accent); }
.stock-low .dot { box-shadow: 0 0 0 4px rgb(255 106 61 / 0.18); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }
.buy { margin-top: 20px; display: grid; gap: 16px; }
.options { border: 0; padding: 0; margin: 0; }
.options legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.options > div { display: flex; flex-wrap: wrap; gap: 8px; }
.options label { cursor: pointer; position: relative; }
.options input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.options span { display: inline-flex; min-width: 54px; min-height: 46px; align-items: center; justify-content: center; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 700; transition: all 0.2s; }
.options span:hover { border-color: var(--ink); }
.options input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.options input:focus-visible + span { box-shadow: 0 0 0 3px var(--sun); }
.shake { animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qty-row label { font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.qty button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--bg); }
.qty input { width: 48px; min-height: 46px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; box-shadow: none; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.small button { width: 34px; height: 34px; font-size: 1.1rem; }
.qty.small span { min-width: 26px; text-align: center; font-weight: 700; }
.buy-buttons { display: grid; gap: 10px; }
.cod-line { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--green); background: rgb(22 163 74 / 0.08); padding: 12px 16px; border-radius: var(--radius-sm); margin: 18px 0; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; font-weight: 700; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; transition: transform 0.25s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > div { padding-bottom: 16px; color: #374151; }
.you-save { display: inline-block; margin: -4px 0 4px; background: var(--sun-soft); color: #7a4b00; font-weight: 700; font-size: 0.88rem; padding: 4px 12px; border-radius: 999px; }
.eta { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--ink); }
.eta .icon { color: var(--brand); flex: none; margin-top: 1px; }
.eta strong { display: block; font-size: 0.95rem; }
.eta span { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.perks { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.perks .icon { color: var(--accent); flex: none; }
.perks strong { display: block; color: var(--ink); font-size: 0.9rem; margin-bottom: 2px; }
@media (max-width: 599px) { .perks li { align-items: center; padding: 12px 10px; } .perks li > span { font-size: 0; } .perks strong { font-size: 0.86rem; margin: 0; } }
.share-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.share-row .wa-inline { margin-top: 0; }
.share-btns { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; transition: border-color 0.2s, color 0.2s; }
.share-btn:hover { border-color: var(--brand); color: var(--brand); }
.about-hero .lead { color: rgb(255 255 255 / 0.85); max-width: 40em; margin: 12px 0 0; }
.about-intro { display: grid; gap: 28px; align-items: center; }
.about-intro p { font-size: 1.08rem; margin-top: 0; }
.about-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }
.about-steps strong, .promises strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.promises li { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.promises .icon { color: var(--brand); margin-bottom: 10px; }
.promises p { color: var(--muted); margin: 0; }
.about-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.foot-pay { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; }
.pay-badge { display: inline-flex; align-items: center; gap: 8px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); color: #e5e7eb; border-radius: 10px; padding: 8px 12px; font-size: 0.82rem; font-weight: 600; }
.pay-badge .icon { color: var(--sun); }
@media (min-width: 640px) { .promises { grid-template-columns: repeat(2, 1fr); } .steps.about-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .about-intro { grid-template-columns: 1fr 1fr; gap: 56px; } .promises, .steps.about-steps { grid-template-columns: repeat(4, 1fr); } }
.rich { line-height: 1.7; overflow-wrap: anywhere; }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin: 0 0 0.8em; }
.rich h2 { font-size: 1.3rem; margin: 1.2em 0 0.4em; color: var(--ink); }
.rich h3 { font-size: 1.08rem; margin: 1.1em 0 0.4em; color: var(--ink); }
.rich ul, .rich ol { padding-inline-start: 1.3em; margin: 0 0 0.8em; }
.rich li { margin-bottom: 0.25em; }
.rich blockquote { margin: 1em 0; padding: 8px 16px; border-inline-start: 4px solid var(--brand); background: var(--brand-soft); border-radius: 8px; color: var(--ink); }
.rich img, .rich video { display: block; max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 12px auto; }
.rich video { width: 100%; max-height: 80vh; background: #000; }
.rich hr { border: 0; border-top: 1px solid var(--line); margin: 1.4em 0; }
.rich a { color: var(--brand); }
.rich + .desc-media { margin-top: 12px; }
.desc-media { display: grid; gap: 12px; }
.desc-media img, .desc-media video { display: block; width: 100%; height: auto; max-height: 80vh; border-radius: var(--radius-sm); background: #000; object-fit: contain; }
.desc-media img { background: var(--surface); }
.wa-inline { display: inline-flex; align-items: center; gap: 8px; color: #128c4b; font-weight: 700; margin-top: 16px; text-decoration: none; }
.buy-bar { position: fixed; z-index: 25; inset-inline: 0; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgb(255 255 255 / 0.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.35s var(--ease); }
.buy-bar.show { transform: none; }
.buy-bar strong { display: block; font-size: 1.15rem; }
.buy-bar small { color: var(--green); font-weight: 600; }
.buy-bar .btn { min-height: 48px; white-space: nowrap; padding-inline: 20px; }
.buy-bar > div { min-width: 0; }
.buy-bar small { display: block; line-height: 1.25; }
@media (max-width: 400px) { .buy-bar .btn { padding-inline: 16px; } .buy-bar strong { font-size: 1.05rem; } }

/* Cart & checkout */
.checkout-steps { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 0 0 24px; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.checkout-steps li { display: flex; align-items: center; gap: 6px; }
.checkout-steps li + li::before { content: ''; width: 22px; height: 1.5px; background: var(--line); margin-inline-end: 6px; }
.checkout-steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: var(--surface); font-size: 0.8rem; }
.checkout-steps [aria-current] { color: var(--ink); }
.checkout-steps [aria-current] span { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 380px) { .checkout-steps { font-size: 0.78rem; gap: 4px; } .checkout-steps li + li::before { width: 10px; margin-inline-end: 4px; } }
.checkout-steps .done span { background: var(--green); border-color: var(--green); color: #fff; }
.lines, .totals { list-style: none; padding: 0; margin: 0; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fadein 0.4s var(--ease) both; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }
.line img { border-radius: 12px; width: 76px; height: 95px; object-fit: cover; background: var(--line); }
.line-info { display: grid; gap: 4px; justify-items: start; }
.line-info a { text-decoration: none; font-weight: 700; }
.line-info small { color: var(--muted); }
.line-end { display: grid; justify-items: end; gap: 4px; }
.totals li, .lines li:not(.line) { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.totals { margin-top: 10px; }
.total { font-weight: 800; font-size: 1.2rem; border-top: 1.5px solid var(--ink); margin-top: 4px; padding-top: 14px !important; }
.free-meter { margin: 14px 0 4px; font-size: 0.9rem; font-weight: 600; color: var(--green); }
.free-meter .bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 8px; }
.free-meter .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--sun), var(--green)); border-radius: inherit; transition: width 0.6s var(--ease); }
.cart .btn { margin-top: 18px; }
.cart-empty { text-align: center; padding: 30px 0; }
.cart-empty .burst-star { width: 64px; height: 64px; color: var(--sun); margin: 0 auto 12px; }
.checkout { display: grid; gap: 18px; }
.summary { display: grid; gap: 12px; align-content: start; }
.summary h2 { margin: 0; }
.cod-note { display: flex; gap: 10px; align-items: center; background: #fff7ed; border: 1px solid var(--sun-soft); padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; margin: 0; }
.cod-note .icon { color: var(--accent); flex: none; }
.skeleton { height: 92px; border-radius: 12px; margin-bottom: 10px; background: linear-gradient(90deg, var(--line), #f3f4f6, var(--line)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Order confirmation */
.thanks { text-align: center; padding: 8px 0 18px; }
.check-burst { position: relative; width: 120px; height: 120px; margin: 0 auto 14px; display: grid; place-items: center; }
.check-burst .burst-star { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--sun); animation: spin 18s linear infinite, pop 0.6s var(--ease) both; }
.check-burst > span { position: relative; width: 70px; height: 70px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; animation: pop 0.6s 0.2s var(--ease) both; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(0); opacity: 0; } }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0 0 20px; text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.timeline li { display: grid; justify-items: center; gap: 6px; position: relative; }
.timeline li + li::before { content: ''; position: absolute; top: 12px; inset-inline-end: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.timeline li.done + li.done::before { background: var(--green); }
.timeline span { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.timeline .done { color: var(--ink); }
.timeline .done span { background: var(--green); border-color: var(--green); color: #fff; }
.order-meta { display: grid; gap: 8px; margin: 0 0 8px; }
.order-meta div { display: flex; justify-content: space-between; gap: 12px; }
.order-meta dt { color: var(--muted); }
.order-meta dd { margin: 0; font-weight: 700; text-align: end; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

.credits { list-style: none; padding: 0; display: grid; gap: 10px; }
.credits li { display: flex; align-items: center; gap: 12px; }
.credits img { width: 48px; height: 60px; object-fit: cover; border-radius: 8px; }
.notfound .burst-star { width: 80px; height: 80px; color: var(--sun); margin: 0 auto 16px; }

/* Footer */
.foot { margin-top: 56px; background: var(--ink); color: #d1d5db; position: relative; }
.foot-band { height: 6px; background: linear-gradient(90deg, var(--brand), var(--accent) 60%, var(--sun)); }
.foot-grid { display: grid; gap: 28px; padding-block: 40px 20px; }
.foot h3 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px; }
:lang(ar) .foot h3 { letter-spacing: 0; font-size: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: #d1d5db; }
.foot a:hover { color: var(--sun); }
.foot-brand p { margin: 10px 0 0; color: #9ca3af; max-width: 26em; }
.foot .cod-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgb(255 194 51 / 0.4); color: var(--sun-soft); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 0.88rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid rgb(255 255 255 / 0.1); padding-block: 18px 28px; font-size: 0.85rem; color: #9ca3af; }
.foot-bottom .langs a { color: #9ca3af; }
.foot-bottom .langs a[aria-current] { background: rgb(255 255 255 / 0.1); color: #fff; }

/* Mobile tab bar */
.tabbar { position: fixed; z-index: 26; inset-inline: 0; bottom: 0; display: flex; justify-content: space-around; background: rgb(17 24 39 / 0.96); backdrop-filter: blur(12px); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { position: relative; flex: 1; display: grid; justify-items: center; gap: 2px; padding: 6px 0; color: #9ca3af; text-decoration: none; font-size: 0.7rem; font-weight: 600; }
.tabbar a[aria-current] { color: var(--sun); }
.tabbar .cart-count { top: 0; inset-inline-end: calc(50% - 22px); }
.tabbar a { -webkit-user-select: none; user-select: none; }

/* Social links in the footer */
.socials { display: flex; gap: 10px; margin-top: 16px; }
.foot .socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 0.16); color: #e5e7eb; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.foot .socials a:hover { color: #fff; border-color: transparent; }
.foot .socials .social-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.foot .socials .social-facebook:hover { background: #1877f2; }
.foot .socials .social-tiktok:hover { background: #111; }

/* Floating WhatsApp button and its panel. On phones it sits above the tab bar (and above the
   product page's order bar once that slides in), and hides while a text box has focus. */
.wa-widget { --wa-bottom: calc(var(--tabbar) + 14px + env(safe-area-inset-bottom)); position: fixed; z-index: 30; inset-inline-end: 14px; bottom: var(--wa-bottom); transition: bottom 0.35s var(--ease), opacity 0.2s, transform 0.2s; }
.bar-up .wa-widget { --wa-bottom: calc(var(--tabbar) + 82px + env(safe-area-inset-bottom)); }
.typing .wa-widget { opacity: 0; transform: scale(0.6); pointer-events: none; }
.wa-float { position: relative; width: 56px; height: 56px; border-radius: 50%; background: #1fae55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgb(31 174 85 / 0.65); transition: transform 0.25s var(--ease), background 0.2s; -webkit-tap-highlight-color: transparent; }
.wa-float:hover { transform: scale(1.06); }
.wa-float:active { transform: scale(0.94); }
.wa-widget.open .wa-float { background: #128c4b; }
.wa-ping { position: absolute; top: 2px; inset-inline-end: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }
.wa-ping::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; background: var(--accent); animation: wa-ping 1.8s ease-out infinite; }
.wa-widget.seen .wa-ping, .wa-widget.open .wa-ping { display: none; }
@keyframes wa-ping { to { transform: scale(2.6); opacity: 0; } }
.wa-panel { position: absolute; bottom: calc(100% + 12px); inset-inline-end: 0; width: min(340px, calc(100vw - 28px)); background: var(--bg-2); border-radius: 20px; box-shadow: var(--shadow-lg), 0 0 0 1px rgb(17 24 39 / 0.06); overflow: hidden; transform-origin: bottom right; animation: wa-in 0.28s var(--ease); }
[dir='rtl'] .wa-panel { transform-origin: bottom left; }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #128c4b; color: #fff; }
.wa-head strong { display: block; line-height: 1.2; }
.wa-head small { display: flex; align-items: center; gap: 6px; opacity: 0.9; font-size: 0.78rem; }
.wa-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgb(255 255 255 / 0.18); display: grid; place-items: center; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #7dfca5; box-shadow: 0 0 0 3px rgb(125 252 165 / 0.25); }
.wa-close { margin-inline-start: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.14); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.wa-body { padding: 16px; background: #eef1f6; }
.wa-bubble { margin: 0 0 12px; background: #fff; padding: 10px 14px; border-radius: 4px 16px 16px 16px; box-shadow: 0 1px 1px rgb(0 0 0 / 0.08); font-size: 0.92rem; max-width: 92%; }
[dir='rtl'] .wa-bubble { border-radius: 16px 4px 16px 16px; }
.wa-product { margin: 0 0 12px; font-size: 0.85rem; color: var(--muted); }
.wa-chips { display: grid; gap: 8px; }
.wa-chips a { display: block; background: #fff; border: 1.5px solid #bfe8cf; color: #0f6b39; text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; transition: background 0.2s, border-color 0.2s; }
.wa-chips a:hover, .wa-chips a:focus-visible { background: #e7f8ee; border-color: #1fae55; outline: none; }
.wa-start { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; background: #1fae55; color: #fff; font-weight: 700; text-decoration: none; }

/* Cookie consent (only when an ad pixel is set) */
.consent-bar { position: fixed; z-index: 45; inset-inline: 12px; bottom: calc(var(--tabbar) + 12px + env(safe-area-inset-bottom)); max-width: 560px; margin-inline: auto; background: var(--ink); color: #e5e7eb; border-radius: 18px; padding: 16px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; font-size: 0.9rem; animation: wa-in 0.3s var(--ease); }
.consent-bar[hidden] { display: none; }
.consent-bar p { margin: 0; }
.consent-bar a { color: var(--sun); }
.consent-bar div { display: flex; gap: 8px; justify-content: flex-end; }
.consent-bar .btn { min-height: 42px; padding-inline: 18px; }
.consent-bar .btn-outline { color: #e5e7eb; border-color: rgb(255 255 255 / 0.35); background: none; }
.consent-bar .btn:not(.btn-outline) { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.foot .link-btn { background: none; border: 0; padding: 0; color: #9ca3af; cursor: pointer; text-decoration: underline; font-size: inherit; }

/* Legal pages */
.legal h1 { margin-bottom: 0.2em; }
.legal-updated { color: var(--muted); margin-top: 0; font-size: 0.92rem; }
.legal-draft { background: #fff4d6; border: 1px solid var(--sun-soft); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 0.92rem; }
.legal-toc { background: var(--surface); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0 28px; box-shadow: var(--shadow); }
.legal-toc ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; }
.legal-toc a { text-decoration: none; color: var(--brand); }
.legal section { scroll-margin-top: 90px; }
.legal h2 { font-size: 1.25rem; margin-top: 1.6em; }
.legal mark { background: #ffe9a8; padding: 0 4px; border-radius: 4px; }
.legal ul { padding-inline-start: 22px; }
.legal li { margin-bottom: 4px; }
.legal-switch { margin-top: 32px; font-weight: 600; }
.consent { font-size: 0.82rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.consent a { color: var(--brand); }

.toast { position: fixed; z-index: 50; bottom: calc(var(--tabbar) + 16px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 14px 12px 18px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); display: flex; align-items: center; gap: 12px; animation: toast-in 0.35s var(--ease); }
.toast a { color: var(--sun); white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.page-product .toast { bottom: calc(var(--tabbar) + 86px + env(safe-area-inset-bottom)); }

/* Scroll reveal (only when JS is on: store.js adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .banner.reveal { transform: none; }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; }
  .trust-float { display: grid; grid-template-columns: repeat(3, 1fr); }
  .trust-float li + li { border-top: 0; border-inline-start: 1px solid var(--line); }
  .trust-row { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .arch { flex-basis: 30%; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
  .buy-buttons { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --tabbar: 0px; }
  .tabbar, .chips, .buy-bar { display: none; }
  .wa-widget, .bar-up .wa-widget { --wa-bottom: 24px; inset-inline-end: 24px; }
  .consent-bar { inset-inline-start: 24px; inset-inline-end: auto; bottom: 24px; margin: 0; }
  .wa-float { width: 60px; height: 60px; }
  .main-nav { display: flex; }
  .top-search { display: flex; }
  .section { padding-block: 64px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { height: min(86vh, 820px); }
  .slide-text { bottom: 110px; }
  .hero-dots { bottom: 46px; }
  .arches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; overflow: visible; margin: 0; padding: 0; }
  .story { padding-block: 90px; }
  .story-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .banner { min-height: 560px; margin-inline: 16px; border-radius: 28px; max-width: 1400px; margin-inline: auto; }
  .banner-text { padding-block: 64px; }
  .page-hero { padding: 80px 0 64px; }
  .product { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; padding-block: 12px 40px; }
  .gallery { margin-inline: 0; position: sticky; top: 90px; display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
  .gallery-track { order: 2; border-radius: var(--radius); }
  .thumbs { order: 1; flex-direction: column; padding: 0; overflow: visible; }
  .thumbs button { width: 76px; }
  .gallery:not(:has(.thumbs)) { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 28px; }
  .summary { position: sticky; top: 90px; }
  .card-box { padding: 28px; }
  .toast, .page-product .toast { bottom: 28px; }
}
@media (min-width: 1100px) {
  .top-search input { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide img { transform: none; }
}
/* Small phones: keep the full "عربية" label and the cart icon in the header. */
@media (max-width: 400px) {
  .top-actions { gap: 0; }
  .top .langs a { padding: 6px 6px; min-width: 0; font-size: 0.78rem; }
  .top .cart-link { padding: 8px; }
}
@media (max-width: 350px) { .top .logo-svg { height: 30px; } }

/* Visitor currency: the dirham amount actually paid, the note under the cart, the footer menu */
.price-mad { margin: -2px 0 6px; color: var(--muted); font-size: 0.9rem; }
.totals .pay-mad { border-bottom: 1px solid var(--line); padding-block: 12px !important; }
.totals .pay-mad strong { font-weight: 600; }
.cur-note { margin: 10px 0 0; font-size: 0.82rem; color: var(--muted); }
.cur-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cur-form label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.cur-form select { width: auto; min-height: 34px; padding: 4px 30px 4px 12px; border-radius: 999px; font-size: 0.82rem; }
.fx-credit { font-size: 0.72rem; color: var(--muted); }
