/* Abolux storefront. Mobile first; logical properties (inline-start/end) so Arabic mirrors on its own.
   Look: international sportswear-store style. Monochrome (black, white, light greys), condensed uppercase
   display type for big headlines, full-bleed photos, square photo edges, pill buttons, one sale red. */
:root {
  --ink: #111111;
  --ink-2: #2b2b2b;
  --grey-1: #f5f5f5;
  --grey-2: #e5e5e5;
  --grey-3: #cacacb;
  --grey-4: #707072;
  --brand: #111111;
  --brand-soft: #f5f5f5;
  --sun: #ffffff;
  --sun-soft: #f5f5f5;
  --accent: #d43f21;
  --accent-dark: #b8321a;
  --green: #007d48;
  --bg: #ffffff;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --text: #111111;
  --muted: #707072;
  --line: #e5e5e5;
  --radius: 0px;
  --radius-sm: 8px;
  --shadow: none;
  --shadow-lg: 0 20px 50px -20px rgb(0 0 0 / 0.35);
  --font-display: 'Anton', 'Oswald', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --tabbar: 64px;
  color-scheme: light;
}
:lang(ar) {
  --font-display: 'Cairo', '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.55;
  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-body); line-height: 1.15; margin: 0 0 0.45em; font-weight: 500; letter-spacing: -0.01em; }
:lang(ar) :is(h1, h2, h3, .h1) { letter-spacing: 0; line-height: 1.4; font-weight: 700; }
/* Big statement headlines: condensed, uppercase, tight. */
h1, .h1, .display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 0.92; letter-spacing: 0; font-size: clamp(2.6rem, 11vw, 6rem); }
:lang(ar) :is(h1, .h1, .display) { font-weight: 900; line-height: 1.2; font-size: clamp(2.2rem, 8vw, 4.4rem); }
h2 { font-size: clamp(1.4rem, 3.6vw, 1.75rem); }
h3 { font-size: 1.05rem; }
.wrap { width: 100%; max-width: 1920px; margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 760px; }
.section { padding-block: 36px; }
.center { text-align: center; }
.lead { font-size: 1.05rem; 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: 2px solid var(--ink); outline-offset: 3px; }

.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 500; color: inherit; margin: 0 0 10px; }
.kicker .tick-star { display: none; }
.tick-star { width: 10px; height: 10px; flex: none; color: currentColor; }

/* Promo strip (top) */
.ticker { background: var(--grey-1); color: var(--ink); font-size: 0.8rem; font-weight: 500; overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--grey-2); }
.ticker-track { display: inline-flex; gap: 56px; padding: 9px 28px; animation: ticker 45s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 56px; }
.ticker .tick-star { width: 6px; height: 6px; color: var(--grey-4); order: 2; }
[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: #fff; transition: transform 0.3s var(--ease); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo-img { display: block; height: 58px; width: auto; }
.logo-img.logo-stacked { height: 120px; }
@media (max-width: 600px) { .top .logo-img { height: 46px; } }
.main-nav { display: none; gap: 4px; margin-inline: auto; }
.main-nav a { text-decoration: none; font-weight: 500; padding: 8px 12px; position: relative; }
.main-nav a::after { content: ''; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform 0.25s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.main-nav + .top-actions { margin-inline-start: 0; }
.top-search { display: none; align-items: center; background: var(--grey-1); border-radius: 999px; padding-inline: 4px 16px; transition: background 0.2s; }
.top-search:hover, .top-search:focus-within { background: var(--grey-2); }
.top-search input { order: 2; border: 0; background: none; min-height: 40px; width: 150px; padding: 0; box-shadow: none; }
.top-search input:focus { box-shadow: none; }
.top-search button { order: 1; border: 0; background: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.langs { display: flex; gap: 2px; }
.langs a { text-decoration: none; font-weight: 500; font-size: 0.8rem; padding: 6px 8px; border-radius: 999px; color: var(--muted); min-width: 32px; text-align: center; }
.langs a[aria-current] { color: var(--ink); background: var(--grey-1); }
.langs a:hover { color: var(--ink); }
.cart-link { position: relative; display: inline-flex; padding: 9px; border-radius: 50%; color: var(--ink); }
.cart-link:hover { background: var(--grey-2); }
.cart-count { position: absolute; top: 2px; inset-inline-end: -1px; background: var(--ink); color: #fff; font-size: 0.66rem; font-weight: 600; 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.45); } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; text-decoration: none; background: var(--surface); border: 1px solid var(--grey-3); padding: 7px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; white-space: nowrap; transition: border-color 0.2s; }
.chip:hover { border-color: var(--ink); }
.page-home .chips { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.btn:hover { background: var(--grey-4); border-color: var(--grey-4); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn .icon { display: none; }
.btn-accent { background: var(--ink); border-color: var(--ink); }
.btn-gold { background: #fff; border-color: #fff; color: var(--ink); }
.btn-gold:hover { background: var(--grey-3); border-color: var(--grey-3); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--grey-3); }
.btn-outline:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wa { background: #1fae55; border-color: #1fae55; }
.btn-wa:hover { background: #128c4b; border-color: #128c4b; }
.btn-wa .icon { display: inline; }
.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: full-bleed photo, giant condensed headline */
.hero { position: relative; height: min(calc(100svh - 104px - var(--tabbar)), 860px); min-height: 520px; overflow: hidden; background: var(--ink); color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.on { opacity: 1; visibility: visible; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.on img { transform: scale(1); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 40%, rgb(0 0 0 / 0.6) 100%); }
.slide-text { position: absolute; inset-inline: 0; bottom: 70px; z-index: 2; }
.slide-text > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.slide.on .slide-text > * { opacity: 1; transform: none; }
.slide.on .slide-text > :nth-child(2) { transition-delay: 0.1s; }
.slide.on .slide-text > :nth-child(3) { transition-delay: 0.2s; }
.slide.on .slide-text > :nth-child(4) { transition-delay: 0.3s; }
.slide .kicker { color: #fff; }
.slide h1, .slide .h1 { color: #fff; max-width: 11em; margin-bottom: 0.2em; text-wrap: balance; }
.slide .lead { color: #fff; max-width: 34em; margin: 0 0 22px; }
.hero-dots { position: absolute; inset-inline: 0; bottom: 26px; 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: 40px; height: 2px; background: rgb(255 255 255 / 0.4); overflow: hidden; position: relative; }
.hero-dots [aria-selected='true'] span::after { content: ''; position: absolute; inset: 0; background: #fff; 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 strip */
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.trust li { display: flex; gap: 14px; align-items: center; background: var(--grey-1); padding: 18px 20px; }
.trust .icon { color: var(--ink); flex: none; }
.trust strong { display: block; font-size: 0.98rem; font-weight: 500; }
.trust span { color: var(--muted); font-size: 0.86rem; }
.trust-wrap { padding-top: 0; }
.trust-float { gap: 0; border-bottom: 1px solid var(--line); }
.trust-float li { background: none; padding-inline: 0; }
.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: 20px; }
.section-head .kicker { width: 100%; color: var(--muted); font-size: 0.9rem; margin: 0; }
.section-head h2 { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.more .icon { display: none; }

/* Category tiles: big photo, label pill bottom corner */
.arches { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
.arches::-webkit-scrollbar { display: none; }
.arch { position: relative; flex: 0 0 72%; scroll-snap-align: start; text-decoration: none; }
.arch-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey-1); position: relative; }
.arch-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 0.3), transparent 40%); pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.arch:hover img { transform: scale(1.04); }
.arch-name { position: absolute; z-index: 1; bottom: 22px; inset-inline-start: 22px; background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 20px; font-weight: 500; font-size: 0.98rem; transition: background 0.2s; }
.arch:hover .arch-name { background: var(--grey-3); }

/* Product grid: grey tiles, no frames */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 8px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey-1); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.4s; }
.card-img .alt { opacity: 0; }
.card:hover .card-img .alt { opacity: 1; }
.card-body { padding: 12px 2px 0; }
.card h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 500; margin: 0 0 4px; line-height: 1.35; }
.card h3 a { text-decoration: none; }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; background: #fff; color: var(--accent); font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; z-index: 1; }
.badge.muted { color: var(--ink); }
.quick-add { position: absolute; z-index: 2; top: 0; margin-top: calc(125% - 56px); inset-inline-end: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, opacity 0.25s; }
.quick-add:hover { background: var(--ink); color: #fff; }
.quick-add.done { background: var(--green); color: #fff; }
@media (hover: hover) { .quick-add { opacity: 0; transform: translateY(6px); } .card:hover .quick-add, .quick-add:focus-visible, .quick-add.done { opacity: 1; transform: none; } }
.price { font-weight: 500; color: var(--ink); margin: 0; }
.price s { color: var(--muted); font-weight: 400; font-size: 0.92em; margin-inline-start: 8px; }
.card .price:has(s) { color: var(--ink); }
.price.big { font-size: 1.25rem; font-family: var(--font-body); font-weight: 500; }
.price .save { display: inline-block; vertical-align: middle; font-size: 0.85rem; font-weight: 600; color: var(--accent); background: none; padding: 0; margin-inline-start: 8px; }

/* Story: white, centred, statement type */
.story { background: #fff; color: var(--ink); position: relative; padding-block: 48px; }
.story-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.story-img { overflow: hidden; aspect-ratio: 4 / 5; width: 100%; background: var(--grey-1); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 7vw, 4.2rem); line-height: 0.95; }
:lang(ar) .story h2 { font-weight: 900; line-height: 1.25; }
.story p { color: var(--ink-2); font-size: 1.05rem; max-width: 34em; }
.story .kicker { color: var(--ink); }
.story .btn-outline-light { background: var(--ink); color: #fff; border-color: var(--ink); }
.story .btn-outline-light:hover { background: var(--grey-4); border-color: var(--grey-4); }

/* Banner: full-bleed photo with centred statement */
.banner { position: relative; min-height: 520px; 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.06); transition: transform 1.6s var(--ease); }
.banner.in > img { transform: scale(1); }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.35) 55%, rgb(0 0 0 / 0.1)); }
.banner-text { position: relative; z-index: 1; padding-block: 44px; text-align: center; display: grid; justify-items: center; }
.banner h2 { color: #fff; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 8vw, 5rem); line-height: 0.92; max-width: 12em; }
:lang(ar) .banner h2 { font-weight: 900; line-height: 1.25; }
.banner p { color: #fff; max-width: 32em; margin-top: 0; }
.banner .kicker { color: #fff; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { border-top: 1px solid var(--ink); padding: 20px 0 28px; position: relative; }
.step-n { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--ink); display: block; margin-bottom: 10px; }
.steps h3 { font-weight: 500; font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; }

/* Page hero (listing pages) */
.page-hero { position: relative; background: #fff; color: var(--ink); padding: 32px 0 20px; overflow: hidden; }
.page-hero.has-img { color: #fff; background: var(--ink); padding: 120px 0 36px; }
.page-hero.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0) 70%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin: 0; font-size: clamp(2.4rem, 9vw, 5rem); }
.page-hero .kicker { color: inherit; }
.page-hero .lead { color: inherit; opacity: 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(--grey-1); border-radius: 999px; padding-inline: 16px; }
.filters .search input { border: 0; padding: 0; box-shadow: none; background: none; }
.filters .search .icon { color: var(--ink); flex: none; }
.filters .sort { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.92rem; }
.filters .sort select { border-radius: 999px; min-height: 48px; padding-inline: 16px 34px; }
.count { color: var(--muted); font-size: 0.92rem; margin: 6px 0 18px; }

/* Forms */
input, select, textarea { font: inherit; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--grey-3); 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(--ink); box-shadow: 0 0 0 1px var(--ink); }
textarea { resize: vertical; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 0.93rem; }
.field-error, .form-error { color: var(--accent); font-size: 0.85rem; font-weight: 500; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.card-box { background: var(--surface); padding: 20px 0; }
.card-box h2 { font-size: 1.4rem; }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--muted); padding-block: 16px 4px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.product { display: grid; gap: 24px; padding-block: 8px 24px; }
.gallery { position: relative; margin-inline: -20px; }
.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(--grey-1); }
.thumbs { display: flex; gap: 8px; padding: 10px 20px 0; overflow-x: auto; }
.thumbs button { flex: none; border: 0; border-radius: 4px; padding: 0; overflow: hidden; cursor: pointer; width: 60px; opacity: 1; position: relative; background: var(--grey-1); }
.thumbs button::after { content: ''; position: absolute; inset: 0; background: rgb(0 0 0 / 0); transition: background 0.2s; }
.thumbs button:hover::after, .thumbs button.on::after { background: rgb(0 0 0 / 0.12); }
.thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product-info h1 { font-family: var(--font-body); text-transform: none; font-weight: 500; font-size: clamp(1.5rem, 4vw, 1.9rem); line-height: 1.2; margin-bottom: 8px; }
:lang(ar) .product-info h1 { font-weight: 700; }
.stock { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--green); margin: 6px 0 0; font-size: 0.92rem; }
.stock .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-low { color: var(--accent); }
.buy { margin-top: 24px; display: grid; gap: 18px; }
.options { border: 0; padding: 0; margin: 0; }
.options legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.options > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.options label { cursor: pointer; position: relative; }
.options input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.options span { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--grey-2); border-radius: 6px; background: var(--surface); font-weight: 400; transition: border-color 0.15s; }
.options span:hover { border-color: var(--ink); }
.options input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.options input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.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: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--grey-3); 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(--grey-1); }
.qty input { width: 48px; min-height: 46px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; box-shadow: none; }
.qty input:focus { 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: 500; }
.buy-buttons { display: grid; gap: 12px; }
.buy-buttons .btn { min-height: 60px; font-size: 1.02rem; }
.cod-line { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); background: var(--grey-1); padding: 14px 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: 500; font-size: 1.1rem; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ''; width: 9px; height: 9px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s; }
.accordion details[open] summary::after { transform: rotate(-135deg); }
.accordion details > div { padding-bottom: 22px; color: var(--ink-2); }
.you-save { display: inline-block; margin: -2px 0 4px; color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.eta { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 16px; border-radius: var(--radius-sm); background: var(--grey-1); color: var(--ink); }
.eta .icon { color: var(--ink); flex: none; margin-top: 1px; }
.eta strong { display: block; font-size: 0.95rem; font-weight: 500; }
.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: 8px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; background: var(--grey-1); border-radius: var(--radius-sm); padding: 14px 12px; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.perks .icon { color: var(--ink); flex: none; }
.perks strong { display: block; color: var(--ink); font-size: 0.9rem; font-weight: 500; 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: 500; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; background: var(--grey-1); color: var(--ink); cursor: pointer; padding: 0; transition: background 0.2s; }
.share-btn:hover { background: var(--grey-2); }
.about-hero .lead { 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; }
.about-steps strong, .promises strong { display: block; font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }
.promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.promises li { background: var(--grey-1); padding: 24px; }
.promises .icon { color: var(--ink); margin-bottom: 12px; }
.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: var(--grey-1); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 0.8rem; font-weight: 500; }
.pay-badge .icon { color: var(--ink); }
@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); } }
.desc-text { margin: 0 0 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(--grey-1); }
/* Rich description from the admin editor: text, headings, lists, tables, photos, GIFs, videos, embeds. */
.rich { color: var(--ink-2); overflow-wrap: anywhere; }
.rich::after { content: ''; display: table; clear: both; }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin: 0 0 12px; }
.rich h2, .rich h3, .rich h4 { font-family: var(--font-body); text-transform: none; color: var(--ink); margin: 22px 0 8px; line-height: 1.25; }
.rich h2 { font-size: 1.3rem; font-weight: 600; }
.rich h3 { font-size: 1.12rem; font-weight: 600; }
.rich h4 { font-size: 1rem; font-weight: 600; }
.rich ul, .rich ol { margin: 0 0 12px; padding-inline-start: 22px; }
.rich li { margin-bottom: 4px; }
.rich a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rich blockquote { margin: 16px 0; padding: 4px 0 4px 16px; border-inline-start: 3px solid var(--ink); color: var(--ink); font-size: 1.05rem; }
.rich hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.rich table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 0.92rem; display: block; overflow-x: auto; }
.rich th, .rich td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; vertical-align: top; }
.rich th { background: var(--grey-1); font-weight: 600; }
.rich img, .rich video, .rich iframe { display: block; max-width: 100%; height: auto; border-radius: var(--radius-sm); background: var(--grey-1); }
.rich video { width: 100%; background: #000; }
.rich iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.rich figure { margin: 16px 0; max-width: 100%; }
.rich figure img, .rich figure video, .rich figure iframe { width: 100%; }
.rich figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; text-align: center; }
.rich .w-25 { width: 25%; } .rich .w-50 { width: 50%; } .rich .w-75 { width: 75%; } .rich .w-100 { width: 100%; }
.rich .al-center { margin-inline: auto; }
.rich .al-left { float: left; margin: 4px 18px 12px 0; }
.rich .al-right { float: right; margin: 4px 0 12px 18px; }
@media (max-width: 599px) { .rich .w-25 { width: 50%; } .rich .al-left, .rich .al-right { float: none; margin-inline: auto; } }
.wa-inline { display: inline-flex; align-items: center; gap: 8px; color: #128c4b; font-weight: 500; 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 20px; background: #fff; 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.05rem; font-weight: 500; }
.buy-bar small { color: var(--muted); font-weight: 400; }
.buy-bar .btn { min-height: 46px; white-space: nowrap; padding-inline: 22px; }
.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: 1rem; } }

/* Cart & checkout */
.checkout-steps { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 0 0 28px; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.checkout-steps li { display: flex; align-items: center; gap: 6px; }
.checkout-steps li + li::before { content: ''; width: 22px; height: 1px; background: var(--grey-3); margin-inline-end: 6px; }
.checkout-steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--grey-3); 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(--ink); border-color: var(--ink); color: #fff; }
.lines, .totals { list-style: none; padding: 0; margin: 0; }
.line { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); animation: fadein 0.4s var(--ease) both; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }
.line img { width: 100px; height: 125px; object-fit: cover; background: var(--grey-1); }
.line-info { display: grid; gap: 4px; justify-items: start; }
.line-info a { text-decoration: none; font-weight: 500; }
.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: 500; font-size: 1.1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 6px; padding-block: 16px !important; }
.free-meter { margin: 14px 0 4px; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.free-meter .bar { height: 4px; border-radius: 4px; background: var(--grey-2); overflow: hidden; margin-top: 10px; }
.free-meter .bar span { display: block; height: 100%; background: var(--ink); 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: 56px; height: 56px; color: var(--ink); 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: var(--grey-1); padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; margin: 0; }
.cod-note .icon { color: var(--ink); flex: none; }
.skeleton { height: 125px; margin-bottom: 10px; background: linear-gradient(90deg, var(--grey-1), var(--grey-2), var(--grey-1)); 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; }
.thanks h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
.check-burst { position: relative; width: 96px; height: 96px; margin: 0 auto 18px; display: grid; place-items: center; }
.check-burst .burst-star { display: none; }
.check-burst > span { position: relative; width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; animation: pop 0.5s 0.1s 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: 500; 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: 1px; background: var(--grey-3); z-index: 0; }
.timeline li.done + li.done::before { background: var(--ink); }
.timeline span { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--grey-3); background: var(--surface); display: grid; place-items: center; }
.timeline .done { color: var(--ink); }
.timeline .done span { background: var(--ink); border-color: var(--ink); 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: 500; 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; }
.notfound .burst-star { width: 64px; height: 64px; color: var(--ink); margin: 0 auto 16px; }

/* Footer: white, quiet, grey links */
.foot { margin-top: 56px; background: #fff; color: var(--muted); position: relative; border-top: 1px solid var(--line); }
.foot-band { display: none; }
.foot-grid { display: grid; gap: 28px; padding-block: 40px 24px; }
.foot h3 { color: var(--ink); font-family: var(--font-body); font-size: 1rem; font-weight: 500; margin-bottom: 16px; }
:lang(ar) .foot h3 { font-size: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.foot a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.foot a:hover { color: var(--ink); }
.foot-brand p { margin: 12px 0 0; color: var(--muted); max-width: 26em; }
.foot-brand .logo { color: var(--ink); }
.foot .cod-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--grey-3); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 500; font-size: 0.88rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 18px 28px; font-size: 0.8rem; color: var(--muted); }
.foot-bottom .langs a { color: var(--muted); }
.foot-bottom .langs a[aria-current] { background: var(--grey-1); color: var(--ink); }

/* Mobile tab bar */
.tabbar { position: fixed; z-index: 26; inset-inline: 0; bottom: 0; display: flex; justify-content: space-around; background: rgb(255 255 255 / 0.97); backdrop-filter: blur(12px); border-top: 1px solid var(--line); 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: var(--muted); text-decoration: none; font-size: 0.7rem; font-weight: 500; }
.tabbar a[aria-current] { color: var(--ink); }
.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: 18px; }
.foot .socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background 0.2s; }
.foot .socials a:hover { background: var(--grey-4); color: #fff; }

/* 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 -8px rgb(0 0 0 / 0.35); 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 #fff; }
.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(0 0 0 / 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: 500; 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: 600; 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: #fff; color: var(--ink); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); 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(--ink); }
.consent-bar div { display: flex; gap: 8px; justify-content: flex-end; }
.consent-bar .btn { min-height: 42px; padding-inline: 18px; }
.foot .link-btn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: inherit; }

/* Legal pages */
.legal h1 { margin-bottom: 0.2em; font-size: clamp(2.2rem, 7vw, 3.6rem); }
.legal-updated { color: var(--muted); margin-top: 0; font-size: 0.92rem; }
.legal-draft { background: var(--grey-1); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 0.92rem; }
.legal-toc { background: var(--grey-1); border-radius: var(--radius-sm); padding: 18px 22px; margin: 20px 0 28px; }
.legal-toc ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; }
.legal-toc a { color: var(--ink); }
.legal section { scroll-margin-top: 90px; }
.legal h2 { font-size: 1.25rem; margin-top: 1.6em; }
.legal mark { background: #fff1b8; padding: 0 4px; border-radius: 4px; }
.legal ul { padding-inline-start: 22px; }
.legal li { margin-bottom: 4px; }
.legal-switch { margin-top: 32px; font-weight: 500; }
.consent { font-size: 0.82rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.consent a { color: var(--ink); }

.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 20px; border-radius: 999px; font-weight: 500; 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: #fff; 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(24px); transition: opacity 0.8s var(--ease), transform 0.8s 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: 36px 12px; }
  .trust-float { display: grid; grid-template-columns: repeat(3, 1fr); }
  .trust-float li { justify-content: center; }
  .trust-float li + li { border-top: 0; }
  .trust-row { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .arch { flex-basis: 44%; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
  .buy-buttons { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  :root { --tabbar: 0px; }
  .wrap { padding-inline: 48px; }
  .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: 56px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { height: min(88vh, 900px); }
  .slide-text { bottom: 100px; }
  .hero-dots { bottom: 44px; }
  .arches { margin-inline: -48px; padding-inline: 48px; }
  .arch { flex-basis: 32%; }
  .story { padding-block: 80px; }
  .story-grid { grid-template-columns: 1.2fr 1fr; gap: 72px; }
  .banner { min-height: 680px; }
  .banner-text { padding-block: 72px; }
  .page-hero { padding: 48px 0 28px; }
  .page-hero.has-img { padding: 220px 0 56px; }
  .product { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; padding-block: 16px 48px; }
  .product-info { max-width: 460px; }
  .gallery { margin-inline: 0; position: sticky; top: 90px; display: grid; grid-template-columns: 64px 1fr; gap: 16px; }
  .gallery-track { order: 2; border-radius: 8px; }
  .thumbs { order: 1; flex-direction: column; padding: 0; overflow: visible; }
  .thumbs button { width: 64px; }
  .gallery:not(:has(.thumbs)) { grid-template-columns: 1fr; }
  .checkout { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 64px; }
  .summary { position: sticky; top: 90px; }
  .toast, .page-product .toast { bottom: 28px; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .arch { flex-basis: 24%; }
  .arches { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
  .top-search input { width: 180px; }
}
@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; }
}

/* 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); }
