/* ==========================================================================
   بشاير — Main Stylesheet v4 (متجر حديث مشرق: أبيض · أسود محايد · أصفر ذهبي)
   الشكل كله من docs/design-system.md: زوايا دائرية كبيرة، كبسولات ودوائر، مساحات واسعة،
   ولمسات بخط رفيع من روح اللوجو (نجمة رباعية · سنبلة · ورقة · نقط · خطوط متقطعة)
   Stack: HTML5 · CSS3 (no framework) · Vanilla JS · Swiper 11
   --------------------------------------------------------------------------
   01 tokens · 02 base · 03 utilities · 04 ticker · 05 header/mobile nav
   06 hero · 07 trust · 08 products + toast + cart · 09 features (bento) · 10 steps
   11 why · 12 videos + slider controls · 13 shots · 14 faq · 15 footer
   16 whatsapp float + panel · 17 product page · 18 hadith banner · 19 promo popup
   20 responsive
   ========================================================================== */

/* 01. Design tokens ------------------------------------------------------- */
:root {
  --c-dark: #1c1c1c;
  --c-dark-deep: #111111;
  --c-dark-light: #333333;
  --c-brand: #f7bd1a;
  --c-brand-dark: #e3a90b; /* borders, hover fills and rating stars only — never text or icons on a light background */
  --c-brand-light: #fbd35c;
  --c-brand-soft: #fef5dd; /* very light yellow: notices, coloured cards */
  --c-brand-tint: #fdebba; /* light yellow: quiet chips, the active menu item */
  --c-soft: #f5f5f4;
  --c-soft-2: #ebebe8;
  --c-page: #ffffff;
  --c-white: #ffffff;
  --c-ink: #1c1c1c;
  --c-muted: #6b6b6b;
  --c-line: #e6e6e3;
  --c-success: #2e7d4f;
  --c-danger: #b23a2f;
  --c-wa: #25d366;
  --grad-brand: linear-gradient(135deg, #fbd35c, #f7bd1a); /* soft yellow gradient: rare accents only */

  --f-head: "Beiruti", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Beiruti", Tahoma, sans-serif;
  --ws-head: 0.12em; /* Beiruti's own word space is narrow: every rule that sets --f-head also sets this word-spacing */

  --radius: 22px;      /* cards */
  --radius-sm: 14px;   /* small elements: inputs, tiles, thumbs */
  --radius-lg: 28px;   /* photos, big panels */
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(17, 17, 17, 0.07);
  --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.05);
  --shadow-lg: 0 24px 60px rgba(17, 17, 17, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.25s;
  --t-med: 0.5s;

  --container: 1240px;
  --gutter: 20px;
  --inset: clamp(10px, 1.6vw, 24px); /* side margin of the rounded colour panels (soft / dark sections, footer) */
  --header-h: 140px;                 /* desktop header: white row (86 + 1px line) + menu strip (52) */
  --ticker-duration: 28s; /* WordPress: من لوحة التحكم */

  /* four-point star (the logo's star) as a mask for CSS-only accents */
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c.8 6.2 4.8 10.2 11 11-6.2.8-10.2 4.8-11 11-.8-6.2-4.8-10.2-11-11 6.2-.8 10.2-4.8 11-11z'/%3E%3C/svg%3E");
}

/* 02. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: clip (not hidden): hidden on both html and body makes body a second scroller — while only this file was
   loaded that showed a second scrollbar and shifted the whole page sideways (CLS) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
#products, main > .section[id] { scroll-margin-top: calc(var(--header-h) + 12px); } /* a button that jumps to a home section («اطلب ذبيحتك», «كيف نعمل؟», «من نحن») lands with its title below the sticky header, not under it */
body { margin: 0; background: var(--c-page); color: var(--c-ink); font-family: var(--f-body); font-size: 16px; line-height: 1.8; text-align: right; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; line-height: 1.25; color: var(--c-dark); }
p, ul, ol, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--c-dark); outline-offset: 3px; }
::selection { background: var(--c-brand); color: var(--c-dark-deep); }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }
/* Font Awesome icons as inline SVG (functions/fa-icons.php): the same box as Font Awesome's <i> — 1.25em wide, 1em
   high, glyph centred, sitting 0.125em below the baseline like the font */
.fa-svg { display: inline-block; width: 1.25em; height: 1em; vertical-align: -0.125em; overflow: visible; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* line accents from the sprite (i-wheat / i-spark / i-quote) */
.deco-wheat { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.deco-fill { fill: currentColor; stroke: none; }

/* 03. Utilities ----------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
/* every section after the first one is far below the first screen: the browser skips its layout/paint until the
   visitor scrolls near it ("auto" keeps the real height once it has been drawn) */
main > .section ~ .section { content-visibility: auto; contain-intrinsic-size: auto 760px; }
/* set by main.js before a jump to a section: every section gets its real height first, otherwise the jump measures
   the guessed 760px and stops short or on the next section */
html.cv-all main > .section ~ .section { content-visibility: visible; }
.section--white { background: var(--c-white); }
/* colour sections are rounded panels set in from the screen edges (not full-width bands) */
.section--soft, .section--dark { margin-inline: var(--inset); border-radius: clamp(26px, 3vw, 40px); }
.section--soft { background: var(--c-soft); }
.section--dark { background: var(--c-dark); color: var(--c-soft); position: relative; }
.section--dark h2, .section--dark h3 { color: var(--c-white); }
:is(.section--soft, .section--dark) + :is(.section--soft, .section--dark) { margin-top: 16px; }
main > section:is(.section--soft, .section--dark):last-of-type { margin-bottom: 8px; }

/* small label above a title: plain muted text led by a short yellow rule (no pill, no star).
   The markup comes from bshayr_ornament() in functions/helpers.php (<p class="sec-chip …"><i></i> text <i></i></p>):
   the class name is the helper's — the first <i> is the rule, the second is not shown */
.sec-chip { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: none; color: var(--c-muted); font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 16px; line-height: 1.6; }
.sec-chip::before, .sec-chip::after { content: none; }
.sec-chip i { display: none; }
.sec-chip i:first-child { display: block; flex: none; width: 34px; height: 3px; margin: 0; border-radius: 2px; background: var(--c-brand-dark); }
.section--dark .sec-chip { color: rgba(245, 245, 244, 0.7); }
.section--dark .sec-chip i:first-child { background: var(--c-brand); }

/* section head: always starts at the right; --split = text right + action / slider arrows left */
.section-head { max-width: 760px; margin: 0 0 44px; text-align: right; }
.section-head__label { margin-bottom: 14px; }
.section-head__title { font-size: 42px; }
.section-head__title--sm { font-size: 34px; }
.section-head__text { color: var(--c-muted); margin-top: 12px; font-size: 17px; max-width: 620px; }
.section--dark .section-head__text { color: rgba(245, 245, 244, 0.72); }
.section-head--start { margin-right: 0; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--split > :first-child { min-width: 0; }
.section-head__action { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-pill); border: 1.5px solid var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 16px; color: var(--c-dark); white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.section-head__action:hover { background: var(--c-dark); color: var(--c-white); }

/* buttons: pills */
.btn { --bg: var(--c-dark); --fg: var(--c-white); --bd: var(--c-dark); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); border-radius: var(--radius-pill); font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 17px; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast); position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(17, 17, 17, 0.14); }
.btn .icon { font-size: 20px; }
.btn--brand { --bg: var(--c-brand); --fg: var(--c-dark); --bd: var(--c-brand-dark); }
.btn--brand:hover { --bg: var(--c-brand-light); --bd: var(--c-brand-dark); box-shadow: 0 8px 20px rgba(17, 17, 17, 0.12); }
.btn--outline { --bg: transparent; --fg: var(--c-dark); --bd: var(--c-dark); }
.btn--outline:hover { --bg: var(--c-dark); --fg: var(--c-white); --bd: var(--c-dark); }
.btn--outline-light { --bg: transparent; --fg: var(--c-white); --bd: rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { --bg: var(--c-white); --fg: var(--c-dark); --bd: var(--c-white); }
.btn--whatsapp { --bg: var(--c-wa); --fg: #fff; --bd: var(--c-wa); }
.btn--whatsapp:hover { --bg: #1fbe5b; --bd: #1fbe5b; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }
.btn--block { width: 100%; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 19px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15.5px; }
.btn--icon { width: 48px; min-height: 48px; padding: 0; border-radius: 50%; }
/* encouraging "buy now": shine sweep + soft pulse */
.btn--pulse { animation: btnPulse 2.4s ease-in-out infinite; }
.btn--pulse::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent); transform: skewX(-20deg); animation: btnShine 2.4s ease-in-out infinite; }
@keyframes btnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(247, 189, 26, 0.55); } 50% { box-shadow: 0 0 0 10px rgba(247, 189, 26, 0); } }
@keyframes btnShine { 0% { left: -60%; } 60%, 100% { left: 130%; } }

.badge-promo { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--c-dark); color: var(--c-white); font-size: 12.5px; font-weight: 600; line-height: 1.6; }
.badge-promo .icon { color: var(--c-brand); font-size: 14px; }
.badge-discount { background: var(--c-brand); color: var(--c-dark); box-shadow: inset 0 0 0 1px var(--c-brand-dark); }
.badge-discount .icon { color: var(--c-dark); }

.rating { display: inline-flex; align-items: center; gap: 5px; color: var(--c-dark); font-weight: 600; font-size: 13.5px; }
.rating__stars { display: inline-flex; gap: 1px; color: var(--c-brand-dark); }
.rating__stars .icon { font-size: 15px; }
.rating__count { color: var(--c-muted); font-weight: 400; margin-right: 4px; }

.price { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--f-head); word-spacing: var(--ws-head); }
.price__now { font-size: 28px; font-weight: 800; color: var(--c-dark); line-height: 1.1; }
.price__old { font-size: 16px; color: var(--c-muted); text-decoration: line-through; }
.price__cur { font-size: 14px; font-weight: 700; color: var(--c-muted); }

[data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--delay, 0s); }
[data-reveal="zoom"] { transform: scale(0.96); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

.ph { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--c-soft-2); color: var(--c-muted); }
.ph .icon { width: 40%; height: 40%; stroke-width: 1.2; }
.ph--dark { background: var(--c-dark-light); color: var(--c-brand); }

/* 04. Ticker -------------------------------------------------------------- */
/* the bar itself is LTR so the (wider-than-screen) track starts at the LEFT edge and slides left;
   items stay RTL. --ticker-duration is computed in JS from the set width ÷ speed (px/s) */
.ticker { background: var(--c-brand); color: var(--c-dark); overflow: hidden; direction: ltr; }
.ticker__track { display: flex; width: max-content; direction: ltr; animation: ticker var(--ticker-duration) linear infinite; will-change: transform; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; direction: ltr; flex: none; }
.ticker__item { display: inline-flex; align-items: center; gap: 14px; direction: rtl; padding: 0 0 0 14px; height: 40px; font-family: var(--f-head); word-spacing: var(--ws-head); font-size: 15.5px; font-weight: 700; white-space: nowrap; }
.ticker__item strong { font-weight: 800; }
.ticker__sep { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--c-dark); opacity: 0.45; }
.ticker__code { display: inline-flex; align-items: center; gap: 6px; padding: 2px 13px; border-radius: var(--radius-pill); background: var(--c-dark); color: var(--c-brand); font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 14.5px; line-height: 1.6; letter-spacing: 0.06em; cursor: pointer; transition: background var(--t-fast); }
.ticker__code:hover { background: var(--c-dark-light); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 05. Header -------------------------------------------------------------- */
/* desktop: two tiers that stay at the top together — a white row (logo · a wide search bar that opens the search
   popup · account / cart / order button) and a charcoal strip with the menu centred. Phones: one compact white row */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-white); transition: box-shadow var(--t-fast); }
.site-header.is-sticky { box-shadow: 0 10px 26px rgba(17, 17, 17, 0.1); }
.header-top { border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 86px; }
.header-search { display: flex; flex: 1 1 auto; align-items: center; gap: 12px; max-width: 600px; height: 52px; margin-inline: auto; padding: 0 18px 0 5px; border: 1.5px solid var(--c-line); border-radius: 14px; background: var(--c-soft); color: var(--c-muted); font-size: 15px; line-height: 1.4; text-align: right; cursor: text; transition: border-color var(--t-fast), background var(--t-fast); }
.header-search:hover { border-color: var(--c-dark); background: var(--c-white); }
.header-search__text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.header-search__go { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--c-dark); color: var(--c-brand); font-size: 19px; }
.header-search__go .icon { stroke-width: 2.2; }
/* logo: the uploaded image (a wide lockup, about 3:1) keeps its own shape (no circle / frame, never cropped) —
   64px high on desktop, 46px on phones.
   Final sizes live here (not in wordpress.css, which loads later): a size change while loading shifted the header.
   Without an uploaded logo: the placeholder mark + the site name as text */
.site-logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.site-logo__mark { display: block; flex: none; height: 48px; }
.site-logo__mark img { display: block; height: 100%; width: auto; max-width: 260px; object-fit: contain; }
.site-logo--image .site-logo__mark { height: 64px; }
.site-logo__name { font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 25px; color: var(--c-dark); white-space: nowrap; line-height: 1; }

/* second tier: the menu as a centred row on a charcoal strip; the current page is a yellow tab */
.header-nav { background: var(--c-dark); }
.main-nav ul { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 52px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 18px; border-radius: 10px; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 16.5px; color: rgba(255, 255, 255, 0.84); white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.main-nav a:hover { background: rgba(255, 255, 255, 0.09); color: var(--c-white); }
.main-nav li.is-active a { background: var(--c-brand); color: var(--c-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions > [data-search-open] { display: none; } /* desktop: the search bar opens the popup */
.header-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1.5px solid var(--c-line); border-radius: 14px; background: var(--c-white); color: var(--c-dark); transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.header-icon:hover { border-color: var(--c-dark); background: var(--c-soft); }
.header-icon--user { border-color: var(--c-dark); }
.header-icon .icon { font-size: 21px; }
.header-icon__count { position: absolute; top: -7px; left: -7px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 7px; background: var(--c-brand); color: var(--c-dark); font-size: 11.5px; font-weight: 700; line-height: 1; display: grid; place-items: center; border: 2px solid var(--c-page); }
.header-cta.btn { min-height: 48px; margin-right: 4px; padding: 0 24px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--c-dark); color: var(--c-white); place-items: center; }
.menu-toggle .icon { font-size: 22px; }

/* mobile menu: a rounded sheet that slides in from the right, set in from the screen edges */
.mobile-nav { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; visibility: hidden; transition: visibility 0s var(--t-med); }
.mobile-nav.is-open { visibility: visible; transition-delay: 0s; pointer-events: auto; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.5); opacity: 0; transition: opacity var(--t-med); }
.mobile-nav__panel { position: absolute; top: 10px; right: 10px; bottom: 10px; width: min(calc(100% - 20px), 370px); background: var(--c-page); border-radius: var(--radius-lg); padding: 18px; transform: translateX(calc(100% + 14px)); transition: transform var(--t-med) var(--ease); display: flex; flex-direction: column; gap: 16px; overflow: auto; box-shadow: var(--shadow-lg); }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.mobile-nav__close { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--c-soft); display: grid; place-items: center; font-size: 20px; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-sm); font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 18.5px; color: var(--c-dark); transition: background var(--t-fast); }
.mobile-nav ul a:hover { background: var(--c-soft); }
.mobile-nav ul li.is-active a { background: var(--c-dark); color: var(--c-white); }
.mobile-nav ul li.is-active a::before { content: ""; flex: none; width: 4px; height: 18px; border-radius: 2px; background: var(--c-brand); }
.mobile-nav__contact { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 6px; }
/* the verified-store pill floats above everything (its own z-index): it steps aside while a menu or popup locks the page */
body.is-locked .sbc:not(.is-open) { visibility: hidden; }

/* 06. Hero slider --------------------------------------------------------- */
/* light two-column hero: text on the right, the photo in a plain rounded frame on the left (no blobs, chips or dots).
   Every slide keeps one fixed height (--hero-h) so the page never jumps between slides */
.hero { position: relative; --hero-h: 600px; padding: 8px 0 76px; background: linear-gradient(180deg, var(--c-page) 0%, var(--c-soft) 100%); overflow: hidden; }
.hero .swiper-slide { height: var(--hero-h); }
.hero-slide { position: relative; height: var(--hero-h); display: flex; align-items: center; }
.hero-slide .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 72px; height: 100%; padding-top: 30px; padding-bottom: 62px; }
.hero__kicker { display: flex; align-items: center; gap: 12px; max-width: 100%; margin-bottom: 18px; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 17px; line-height: 1.6; color: var(--c-muted); }
.hero__kicker::before { content: ""; flex: none; width: 34px; height: 3px; border-radius: 2px; background: var(--c-brand-dark); }
.hero__title { font-size: 60px; line-height: 1.3; margin-bottom: 18px; }
.hero__title em { font-style: normal; padding: 0 0.16em; border-radius: 0.24em; background: var(--c-brand); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__text { font-size: 18px; color: var(--c-muted); max-width: 540px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 0; }
.hero__card { position: relative; width: min(100%, 520px); height: min(100%, 500px); }
.hero__photo { position: relative; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-soft-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
/* image-only slide: the banner sits in a rounded card inside the container (same fixed height, centre crop) */
.hero .hero-slide--image { display: block; width: min(100% - var(--gutter) * 2, var(--container)); height: calc(var(--hero-h) - 62px); margin: 10px auto 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-soft-2); box-shadow: var(--shadow); }
.hero-slide--image picture { display: block; height: 100%; }
.hero .hero-slide--image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* dots = short rounded dashes; each one is a 24px-high tap area (image slides are links, so spacing alone is not enough) */
.hero .hero__pagination { position: absolute; z-index: 5; top: auto; bottom: 14px; left: 0; right: 0; width: auto; display: flex; justify-content: center; gap: 0; }
.hero__pagination .swiper-pagination-bullet { position: relative; width: 30px; height: 24px; margin: 0 !important; background: none; opacity: 1; border-radius: 0; transition: width var(--t-fast) var(--ease); }
.hero__pagination .swiper-pagination-bullet::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 5px; background: var(--c-dark); opacity: 0.18; transition: background var(--t-fast), opacity var(--t-fast); }
.hero__pagination .swiper-pagination-bullet-active { width: 48px; }
.hero__pagination .swiper-pagination-bullet-active::before { background: var(--c-brand); box-shadow: inset 0 0 0 1px var(--c-brand-dark); opacity: 1; }
/* slider arrows (hero, videos, shots, related, product thumbs): charcoal rounded squares with a white chevron,
   yellow on hover; on the dark panels they turn white */
.hero__nav { position: absolute; z-index: 5; bottom: 2px; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--c-dark); color: var(--c-white); display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast); }
.hero__nav:hover { background: var(--c-brand); color: var(--c-dark); }
.hero__nav--next { left: max(var(--gutter), 50% - var(--container) / 2); }
.hero__nav--prev { left: calc(max(var(--gutter), 50% - var(--container) / 2) + 54px); }
.hero__nav .icon { font-size: 20px; stroke-width: 2.2; }

/* 07. Trust strip (dark rounded bar, half over the hero's bottom edge) ------ */
.trust { position: relative; z-index: 2; margin-top: 24px; }
.hero + .trust { margin-top: -46px; }
.trust__grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 8px; border-radius: 26px; background: var(--c-dark); box-shadow: var(--shadow-lg); }
.trust__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 20px; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 17.5px; line-height: 1.35; color: var(--c-white); }
.trust__item + .trust__item::before { content: ""; position: absolute; right: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255, 255, 255, 0.13); }
.trust__icon { width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(247, 189, 26, 0.16); color: var(--c-brand); display: grid; place-items: center; font-size: 23px; }

/* 08. Products ------------------------------------------------------------ */
/* four cards per row on desktop (owner's request), three from 992 to 1199, two below */
.products__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (min-width: 1200px) { .products__grid .product-card__title { font-size: 19px; } .products__grid .product-card .btn { padding-inline: 14px; } }
/* the lift on hover uses `translate`, which is separate from the reveal's `transform`: the lift stays quick while
   the reveal keeps its own slow timing and delay */
.product-card { position: relative; display: flex; flex-direction: column; padding: 12px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); transition: opacity 0.7s var(--ease) var(--delay, 0s), transform 0.7s var(--ease) var(--delay, 0s), translate var(--t-fast) var(--ease), border-color var(--t-fast), box-shadow var(--t-fast); }
.product-card:hover { translate: 0 -6px; border-color: var(--c-brand-dark); box-shadow: var(--shadow); }
.product-card__media { position: relative; }
.product-card__img { display: block; aspect-ratio: 600 / 560; border-radius: 16px; overflow: hidden; background: var(--c-soft); } /* the "product-card" image size (600×560): the photo fills the frame, nothing is cut */
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__media .badge-promo { top: 12px; right: 12px; }
.product-card .product-card__wish { top: 12px; left: 12px; }
.product-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 8px 6px; flex: 1; }
.product-card__cat { font-size: 13px; color: var(--c-muted); font-weight: 600; }
.product-card__title { font-size: 21px; line-height: 1.4; }
.product-card__title a:hover { text-decoration: underline; text-decoration-color: var(--c-brand-dark); text-decoration-thickness: 3px; text-underline-offset: 0.22em; }
.product-card__sub { font-size: 14px; color: var(--c-muted); line-height: 1.6; }
/* the shop-wide fixed line (إعدادات المتجر › السطر الثابت): a quiet line of text under the title (no chip) */
.product-card .product-card__line { display: flex; align-items: flex-start; gap: 7px; width: auto; max-width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--c-muted); font-family: var(--f-body); word-spacing: normal; font-weight: 500; font-size: 13.5px; line-height: 1.6; }
.product-card .product-card__line .icon { width: 15px; height: 15px; margin-top: 3px; padding: 0; border-radius: 0; background: none; color: var(--c-dark); font-size: 15px; }
.product-card__specs { display: flex; gap: 14px; padding: 8px 0; border-top: 1px dashed var(--c-line); font-size: 13px; color: var(--c-muted); }
.product-card__specs span { display: inline-flex; align-items: center; gap: 5px; }
.product-card__specs .icon { font-size: 15px; color: var(--c-dark); }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card__meta .rating { padding: 0; background: none; }
.product-card__footer { margin-top: auto; padding-top: 8px; }
.product-card__footer .btn { width: 100%; min-height: 50px; font-size: 16.5px; }

/* add-to-cart toast */
.toast { position: fixed; top: 16px; left: 16px; z-index: 110; width: min(370px, calc(100% - 32px)); background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(-16px); opacity: 0; visibility: hidden; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast), visibility 0s var(--t-fast); }
.toast.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.toast__bar { height: 4px; background: var(--c-soft); }
.toast__bar i { display: block; height: 100%; width: 100%; background: var(--c-brand); transform-origin: right; }
.toast.is-open .toast__bar i { animation: toastBar 5s linear forwards; }
@keyframes toastBar { to { transform: scaleX(0); } }
.toast__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 10px; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; color: var(--c-success); font-size: 15.5px; }
.toast__head .icon { font-size: 18px; }
.toast__close { width: 30px; height: 30px; border-radius: 50%; background: var(--c-soft); color: var(--c-dark); display: grid; place-items: center; }
.toast__body { display: flex; gap: 12px; padding: 0 16px 12px; align-items: center; }
.toast__img { width: 62px; height: 62px; border-radius: var(--radius-sm); object-fit: cover; flex: none; background: var(--c-soft); }
.toast__name { font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 16px; color: var(--c-dark); line-height: 1.4; }
.toast__price { font-size: 13.5px; color: var(--c-muted); }
.toast__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
.toast__actions .btn { min-height: 42px; font-size: 14.5px; padding: 0 10px; }

/* cart page */
.cart { padding: 26px 0 60px; }
.cart__grid { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.cart__title { font-size: 32px; margin-bottom: 20px; display: flex; align-items: baseline; gap: 10px; }
.cart__title small { font-size: 14px; color: var(--c-muted); font-weight: 400; }
.cart-item { border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-white); margin-bottom: 16px; overflow: hidden; }
.cart-item__top { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 16px; }
.cart-item__img { width: 96px; height: 96px; border-radius: var(--radius-sm); object-fit: cover; background: var(--c-soft); }
.cart-item__name { font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 19px; color: var(--c-dark); }
.cart-item__sub { font-size: 13px; color: var(--c-muted); }
.cart-item__meta { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.cart-item__remove { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-danger); }
.cart-item__total { text-align: left; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 22px; color: var(--c-dark); white-space: nowrap; }
.cart-item__total small { display: block; font-size: 12px; color: var(--c-muted); font-weight: 400; }
.cart-item__fields { border-top: 1px solid var(--c-line); padding: 16px; background: var(--c-soft); display: grid; gap: 14px; }
.cart-item__fields-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-item__fields-head h4 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.cart-item__fields-head h4 .icon { color: var(--c-dark); }
.cart-item__status { font-size: 12.5px; font-weight: 600; padding: 3px 12px; border-radius: var(--radius-pill); background: #fdecea; color: var(--c-danger); }
.cart-item__status.is-ok { background: #e8f5ec; color: var(--c-success); }
.cart-item__fields .field__label { font-size: 15px; }
.cart-item__fields .input, .cart-item__fields .select { min-height: 46px; }
.cart-item__fields .choice span { min-height: 44px; font-size: 13.5px; }
.cart-item__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--c-line); border-radius: 20px; background: var(--c-white); padding: 22px; display: grid; gap: 14px; }
.cart-summary h3 { font-size: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.cart-summary__row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--c-muted); }
.cart-summary__row b { color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head); }
.cart-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--c-line); font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 18px; }
.cart-summary__total b { font-size: 28px; color: var(--c-dark); }
.coupon { display: flex; gap: 8px; }
.coupon .input { min-height: 46px; }
.coupon .btn { min-height: 46px; padding: 0 18px; }
.cart-summary__note { font-size: 12.5px; color: var(--c-muted); display: flex; gap: 6px; align-items: flex-start; }
.cart-summary__note .icon { color: var(--c-dark); flex: none; margin-top: 3px; }
.cart-empty { text-align: center; padding: 60px 20px; border: 1.5px dashed var(--c-line); border-radius: 20px; color: var(--c-muted); }

/* 09. Features (bento: one big dark card + lighter cards of different widths) -- */
.bento { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.bento__item { position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 216px; padding: 30px; border-radius: var(--radius-lg); background: var(--c-soft); overflow: hidden; transition: opacity 0.7s var(--ease) var(--delay, 0s), transform 0.7s var(--ease) var(--delay, 0s), translate var(--t-fast) var(--ease); }
.bento__item:hover { translate: 0 -4px; }
.bento__icon { width: 58px; height: 58px; flex: none; border-radius: 16px; background: var(--c-white); color: var(--c-dark); display: grid; place-items: center; font-size: 27px; }
.bento__icon .icon { stroke-width: 1.6; }
.bento__text { position: relative; margin-top: auto; }
.bento__item h3 { font-size: 24px; margin-bottom: 6px; }
.bento__item p { color: var(--c-muted); font-size: 15.5px; line-height: 1.75; }
/* 1: the big dark card, two rows high */
.bento__item:first-child { grid-row: span 2; min-height: 452px; padding: 38px; background: var(--c-dark); }
.bento__item:first-child .bento__icon { width: 76px; height: 76px; border-radius: 20px; background: var(--c-brand); font-size: 36px; }
.bento__item:first-child h3 { font-size: 36px; color: var(--c-white); margin-bottom: 10px; }
.bento__item:first-child p { font-size: 17px; color: rgba(245, 245, 244, 0.74); max-width: 380px; }
/* 2: wide card, icon beside the text */
.bento__item:nth-child(2) { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; }
.bento__item:nth-child(2) .bento__text { margin-top: 0; }
.bento__item:nth-child(2) .bento__icon { width: 72px; height: 72px; font-size: 34px; }
/* 3: white with a line · 4: the brand yellow */
.bento__item:nth-child(3) { background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); }
.bento__item:nth-child(3) .bento__icon { background: var(--c-soft); box-shadow: none; }
.bento__item:nth-child(3):last-child { grid-column: span 2; }
.bento__item:nth-child(4) { background: var(--c-brand); }
.bento__item:nth-child(4) p { color: var(--c-dark); opacity: 0.8; }
.bento__item:nth-child(4) .bento__icon { box-shadow: none; }

/* 10. Steps (split: the heading + the order button on the right · the four steps as a numbered list on the left,
   big «01–04» numerals underlined by a yellow marker, rows divided by thin lines) -------------------------------- */
.steps__layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; grid-template-areas: "head list" "cta list"; column-gap: 84px; align-items: start; }
.steps__head { grid-area: head; margin-bottom: 0; }
.steps__cta { grid-area: cta; display: flex; margin-top: 32px; }
.steps__list { grid-area: list; display: grid; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--c-dark); }
.step-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: start; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(28, 28, 28, 0.12); }
.step-row__num { width: fit-content; padding: 0 3px; font-family: var(--f-head); font-weight: 800; font-size: 66px; line-height: 0.95; color: var(--c-dark); font-variant-numeric: tabular-nums; background: linear-gradient(180deg, transparent 60%, var(--c-brand) 60%, var(--c-brand) 90%, transparent 90%); }
.step-row__body h3 { font-size: 23px; margin-bottom: 6px; }
.step-row__body p { max-width: 470px; color: var(--c-muted); font-size: 15.5px; line-height: 1.75; }
.step-row__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-white); color: var(--c-dark); font-size: 23px; }
.step-row__icon .icon { stroke-width: 1.6; }

/* 11. Why us — an editorial spread under a charcoal hairline: the heading set large with a thin yellow rule (right),
   one tall photo (middle), the text + the points as a ruled numbered list + the button (left). A photo only: no video,
   no play button, nothing floating on the picture ---------------------------------------------------------------- */
.why__layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.92fr) minmax(0, 1.08fr); grid-template-areas: "head photo body"; gap: 0 56px; align-items: start; padding-top: 34px; border-top: 1px solid var(--c-dark); }
.why__head { grid-area: head; max-width: none; margin: 0; }
.why__title { font-size: 50px; line-height: 1.22; }
.why__title::after { content: ""; display: block; width: 72px; height: 2px; margin-top: 26px; background: var(--c-brand-dark); }
.why__photo { grid-area: photo; position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--c-soft-2); }
.why .why__photo img, .why__photo .ph { width: 100%; height: 100%; object-fit: cover; }
.why__body { grid-area: body; padding-top: 6px; }
.why__text { margin: 0 0 26px; color: var(--c-ink); font-size: 17.5px; line-height: 1.95; }
.why__points { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: why; border-top: 1px solid var(--c-line); }
.why__points li { counter-increment: why; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--c-line); font-size: 16.5px; font-weight: 500; line-height: 1.6; color: var(--c-dark); }
.why__points li::before { content: counter(why, decimal-leading-zero); font-family: var(--f-head); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; color: var(--c-muted); }

/* 12. Videos (dark panel · 16:9 cards with a light shade at the foot: the title on the right, a small white play
   tag with the duration on the left — no big yellow discs) -------------------------------------------------------- */
.videos .swiper { overflow: hidden; padding: 4px 0; }
.video-card { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--c-dark-light); color: var(--c-white); cursor: pointer; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.video-card:hover img { transform: scale(1.04); }
.video-card .ph { width: 100%; height: 100%; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(17, 17, 17, 0.78)); }
.video-card__play { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 8px; background: rgba(255, 255, 255, 0.94); direction: ltr; color: var(--c-dark); font-size: 13px; font-weight: 600; line-height: 1; transition: background var(--t-fast); }
.video-card__play .icon { font-size: 11px; }
.video-card__play small { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; direction: ltr; }
.video-card:hover .video-card__play { background: var(--c-brand); }
.video-card__caption { position: absolute; right: 16px; left: 104px; bottom: 14px; z-index: 2; display: flex; align-items: center; min-height: 30px; font-family: var(--f-head); word-spacing: var(--ws-head); font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--c-white); }
/* slider controls: charcoal rounded-square arrows (same as the hero's) in the section head, short dashes under the slider */
.slider-arrows { display: flex; gap: 8px; flex: none; }
.slider-arrows button, .slider-nav button { width: 46px; height: 46px; flex: none; border: 0; border-radius: 14px; background: var(--c-dark); color: var(--c-white); display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast), opacity var(--t-fast); }
.slider-arrows button:hover, .slider-nav button:hover { background: var(--c-brand); color: var(--c-dark); }
.slider-arrows .icon, .slider-nav .icon { font-size: 20px; stroke-width: 2.2; }
.slider-arrows .swiper-button-disabled, .slider-nav .swiper-button-disabled { opacity: 0.3; pointer-events: none; }
.section--dark .slider-arrows button { background: var(--c-white); color: var(--c-dark); }
.section--dark .slider-arrows button:hover { background: var(--c-brand); color: var(--c-dark); }
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 26px; }
.slider-nav .swiper-pagination { position: static; width: auto; display: flex; align-items: center; gap: 6px; }
.slider-nav .swiper-pagination-bullet { width: 14px; height: 5px; border-radius: 5px; background: var(--c-dark); opacity: 0.18; margin: 0 !important; transition: width var(--t-fast) var(--ease), background var(--t-fast), opacity var(--t-fast); }
.slider-nav .swiper-pagination-bullet-active { width: 32px; background: var(--c-brand); box-shadow: inset 0 0 0 1px var(--c-brand-dark); opacity: 1; }
.section--dark .slider-nav .swiper-pagination-bullet { background: var(--c-white); opacity: 0.28; }
.section--dark .slider-nav .swiper-pagination-bullet-active { background: var(--c-brand); box-shadow: none; opacity: 1; }

/* 13. WhatsApp screenshots (charcoal phone frame) --------------------------- */
.shots .swiper { overflow: hidden; padding: 6px 0 14px; }
.shots .swiper-wrapper { align-items: center; } /* frames of different phone shapes line up on their centre */
.shots .shot { position: relative; aspect-ratio: 507 / 900; margin-inline: auto; padding: 9px; border: 0; border-radius: 28px; overflow: hidden; background: var(--c-dark); box-shadow: var(--shadow); }
.shots .shot::before { content: ""; position: absolute; z-index: 2; top: 17px; left: 50%; width: 26%; height: 9px; margin-left: -13%; border-radius: 9px; background: var(--c-dark); transform: none; }
.shots .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; background: var(--c-dark-deep); }

/* 14. FAQ (title column + a stack of separate rounded cards) ---------------- */
.faq__layout { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.5fr); gap: 60px; align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 20px); margin-bottom: 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.faq-item { border: 1.5px solid transparent; border-radius: var(--radius); background: var(--c-white); overflow: hidden; transition: opacity 0.7s var(--ease) var(--delay, 0s), transform 0.7s var(--ease) var(--delay, 0s), border-color var(--t-fast), box-shadow var(--t-fast); }
.faq-item.is-open { border-color: var(--c-brand-dark); box-shadow: var(--shadow); }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 24px; text-align: right; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 19px; line-height: 1.45; color: var(--c-dark); }
/* + / − drawn with two bars inside a circle */
.faq-item__icon { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--c-soft); transition: background var(--t-fast); }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: var(--c-dark); transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item__q:hover .faq-item__icon { background: var(--c-brand-tint); }
.faq-item.is-open .faq-item__icon { background: var(--c-brand); box-shadow: inset 0 0 0 1px var(--c-brand-dark); }
.faq-item.is-open .faq-item__icon::after { transform: rotate(0deg); opacity: 0; }
.faq-item__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding: 0 24px 22px; color: var(--c-muted); font-size: 16px; }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }

/* 15. Footer (deep charcoal rounded panel) ---------------------------------- */
body .site-footer { position: relative; margin: 32px var(--inset) var(--inset); border-radius: clamp(26px, 3vw, 40px); background: var(--c-dark-deep); color: rgba(245, 245, 244, 0.72); overflow: hidden; }
.footer-top { position: relative; padding: 64px 0 44px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.15fr); gap: 40px; }
.footer-brand .site-logo__name { color: var(--c-white); }
/* the logo artwork is dark: on the dark footer it always sits on a white rounded card */
.site-footer .site-logo--image, .site-footer .site-logo--full { display: inline-flex; padding: 12px 16px; border-radius: 16px; background: var(--c-white); }
.site-footer .site-logo:not(.site-logo--image):not(.site-logo--full) .site-logo__mark { padding: 6px; border-radius: 14px; background: var(--c-white); }
.site-footer .site-logo--full img { height: 96px; width: auto; max-width: 100%; object-fit: contain; }
.footer-brand p { margin-top: 18px; font-size: 15px; max-width: 390px; }
.footer-col h2 { color: var(--c-brand); font-size: 19px; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 9px; font-size: 15.5px; }
.footer-col a { transition: color var(--t-fast); }
.footer-col a:hover, .footer-col a.is-active { color: var(--c-white); }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact .icon { width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); color: var(--c-brand); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); display: grid; place-items: center; color: var(--c-white); transition: background var(--t-fast), color var(--t-fast); }
.footer-social a:hover { background: var(--c-brand); color: var(--c-dark); }
.footer-social .icon { font-size: 18px; }
/* registration badges, as in the original footer: the official logos side by side as plain images (no box, no
   background); only when the dashboard has a number does a badge become a light tile with the label + number */
.trust-badges { display: flex; flex-wrap: nowrap; align-items: center; gap: 22px; margin-top: 22px; }
.site-footer .trust-badge { display: flex; flex: 1 1 0; align-items: center; gap: 12px; min-width: 0; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-white); }
.site-footer .trust-badge--icon { flex: 0 0 auto; padding: 0; border: 0; border-radius: 0; background: none; }
.trust-badge__icon { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--c-soft); color: var(--c-dark); display: grid; place-items: center; }
.trust-badge__icon .icon { font-size: 26px; stroke-width: 1.5; }
.trust-badge__icon--img { display: block; width: auto; height: 46px; padding: 0; border-radius: 0; background: none; }
.trust-badge__icon--img img { display: block; width: auto; height: 100%; max-width: 110px; object-fit: contain; }
.trust-badge--icon .trust-badge__icon--img { height: 56px; }
.trust-badge--icon .trust-badge__icon--img img { max-width: 150px; }
.site-footer .trust-badge small { display: block; font-size: 12px; color: var(--c-muted); line-height: 1.3; }
.site-footer .trust-badge b { display: block; font-family: var(--f-head); word-spacing: var(--ws-head); font-size: 15px; color: var(--c-dark); direction: ltr; text-align: right; letter-spacing: 0.03em; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.footer-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-pay__label { font-size: 13px; margin-left: 6px; color: rgba(245, 245, 244, 0.6); }
.pay { width: 56px; height: 36px; border-radius: 8px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.pay svg { width: 44px; height: 26px; display: block; }
.footer-pay .pay { width: 62px; border-radius: var(--radius-pill); }
.footer-pay .pay svg { width: 40px; height: 24px; }

/* 16. Floating WhatsApp button + chat panel --------------------------------- */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border: 0; border-radius: var(--radius-pill); background: var(--c-dark); color: var(--c-white); font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 16px; line-height: 1.3; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform var(--t-fast), background var(--t-fast); }
.wa-float:hover { transform: translateY(-2px); background: var(--c-dark-light); color: var(--c-white); }
.wa-float.is-open { transform: scale(0.96); }
.wa-float .icon { width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--c-wa); color: #fff; }
/* the panel (its base rules also sit in wordpress.css; these are complete on their own and win by the id) */
#waPanel { position: fixed; right: 24px; bottom: 92px; z-index: 1210; width: min(380px, calc(100vw - 32px)); border: 1px solid var(--c-line); border-radius: 24px; overflow: hidden; background: var(--c-white); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.96); transform-origin: 100% 100%; transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s; direction: rtl; }
#waPanel.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
#waPanel .wa-panel__head { position: relative; padding: 20px 22px 18px 60px; background: var(--c-dark); color: var(--c-white); }
#waPanel .wa-panel__close { position: absolute; top: 16px; left: 16px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--c-white); display: grid; place-items: center; transition: background var(--t-fast), color var(--t-fast); }
#waPanel .wa-panel__close:hover { background: var(--c-brand); color: var(--c-dark); }
#waPanel .wa-panel__title { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 21px; line-height: 1.3; color: var(--c-white); }
#waPanel .wa-panel__leaf { display: inline-flex; color: var(--c-brand); font-size: 18px; }
#waPanel .wa-panel__status { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13.5px; color: rgba(255, 255, 255, 0.76); }
#waPanel .wa-panel__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-wa); box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25); }
#waPanel .wa-panel__body { padding: 18px 20px; background: var(--c-soft); max-height: calc(100vh - 210px); overflow: auto; }
#waPanel .wa-panel__greet { padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--c-white); box-shadow: var(--shadow-sm); font-size: 15px; line-height: 1.8; color: var(--c-ink); }
#waPanel .wa-panel__greet b { color: var(--c-dark); }
#waPanel .wa-panel__why { margin: 16px 0 10px; font-size: 18px; font-weight: 800; color: var(--c-dark); }
#waPanel .wa-panel__points { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
#waPanel .wa-panel__points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--c-ink); }
#waPanel .wa-panel__points .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--c-brand); color: var(--c-dark); stroke-width: 3; }
#waPanel .wa-panel__btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; margin-top: 18px; border-radius: var(--radius-pill); background: var(--c-wa); color: #fff; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 17.5px; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28); transition: transform var(--t-fast), box-shadow var(--t-fast); }
#waPanel .wa-panel__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.36); color: #fff; }
#waPanel .wa-panel__btn .icon { font-size: 22px; }
#waPanel .wa-panel__note { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--c-muted); }

/* 17. Product page -------------------------------------------------------- */
.breadcrumb { padding: 18px 0 0; font-size: 13.5px; color: var(--c-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--c-dark); }
.breadcrumb span[aria-current] { color: var(--c-dark); font-weight: 600; }
.breadcrumb .icon { font-size: 14px; }

.product { padding: 26px 0 50px; }
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: start; } /* minmax(0,…) so wide content can never push a column past the viewport */

/* gallery: a rounded rectangle (24px), thumbs 12px */
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery__main { position: relative; aspect-ratio: 1 / 1.02; border-radius: 24px; overflow: hidden; background: var(--c-soft); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main .badge-promo { top: 18px; right: 18px; }
.gallery__wish { position: absolute; top: 18px; left: 18px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--c-white); color: var(--c-dark); display: grid; place-items: center; border: 1px solid var(--c-line); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery__thumb { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--c-soft); cursor: pointer; transition: border-color var(--t-fast); }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--c-brand-dark); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.pinfo { display: flex; flex-direction: column; gap: 14px; }
.pinfo__cat { font-size: 13.5px; color: var(--c-muted); font-weight: 600; }
.pinfo__title { font-size: 36px; }
.pinfo__sub { color: var(--c-muted); font-size: 16px; }
.pinfo__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pinfo__sold { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--c-danger); font-weight: 600; }
.pinfo__price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pinfo__price .price__now { font-size: 42px; }
.pinfo__price .price__old { font-size: 19px; }
.pinfo__price .price__now, .pinfo__price .price__cur { color: var(--c-dark); }
.pinfo__save { padding: 3px 12px; border-radius: var(--radius-pill); background: var(--c-brand); box-shadow: inset 0 0 0 1px var(--c-brand-dark); color: var(--c-dark); font-size: 13px; font-weight: 700; }
.pinfo__desc { color: var(--c-ink); font-size: 16px; }
.pinfo__installments { display: flex; gap: 10px; flex-wrap: wrap; }
.pinfo__installments span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--c-line); background: var(--c-white); font-size: 12.5px; color: var(--c-muted); }
.pinfo__installments b { font-family: var(--f-head); word-spacing: var(--ws-head); color: var(--c-dark); }
.pfeat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pfeat__item { padding: 12px 8px; border-radius: var(--radius-sm); background: var(--c-soft); text-align: center; font-size: 13px; font-weight: 600; color: var(--c-dark); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pfeat__item .icon { font-size: 24px; color: var(--c-dark); }

/* order-details box: a soft card, white fields inside */
.pform { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--c-soft); border: 0; }
form.pform { padding: 24px; } /* the form also carries WooCommerce's class "cart": this keeps the box's own padding whatever .cart (the cart page wrapper) sets */
.pform__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pform__head h3 { font-size: 21px; display: flex; align-items: center; gap: 8px; }
.pform__head h3 .icon { color: var(--c-dark); font-size: 21px; }
.pform__head small { color: var(--c-muted); font-size: 12.5px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--hidden { display: none; }
.field__label { font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 16.5px; color: var(--c-dark); display: flex; align-items: center; gap: 6px; }
.field__label .req { color: var(--c-danger); }
.field__hint { font-size: 12.5px; color: var(--c-muted); }
.field__note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--c-brand-soft); color: var(--c-dark); font-size: 13.5px; }
.field__note .icon { font-size: 16px; color: var(--c-dark); flex: none; margin-top: 3px; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--c-line); background: var(--c-white); color: var(--c-ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-brand-dark); box-shadow: 0 0 0 4px rgba(247, 189, 26, 0.3); background: var(--c-white); }
.choice-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--c-line); background: var(--c-white); font-weight: 600; font-size: 14.5px; color: var(--c-dark); cursor: pointer; text-align: center; transition: all var(--t-fast); }
.choice span .icon { font-size: 18px; color: var(--c-dark); }
.choice input:checked + span { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.choice input:checked + span .icon { color: var(--c-brand); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(247, 189, 26, 0.4); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--c-line); border-radius: var(--radius-pill); background: var(--c-white); overflow: hidden; }
.qty button { width: 44px; height: 48px; display: grid; place-items: center; color: var(--c-dark); transition: background var(--t-fast); }
.qty button:hover { background: var(--c-soft); }
.qty input { width: 50px; height: 48px; border: 0; background: transparent; text-align: center; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 20px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pform__total { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-radius: var(--radius-sm); background: var(--c-white); font-weight: 600; }
.pform__total b { font-family: var(--f-head); word-spacing: var(--ws-head); font-size: 24px; color: var(--c-dark); }
/* buy row: quantity + add to cart (outline) + buy now (big, yellow, animated) */
.pbuy { display: grid; grid-template-columns: auto 1fr 1.35fr; gap: 10px; align-items: stretch; }
.pbuy .btn { min-height: 54px; padding: 0 16px; }
.pbuy .btn--buy { font-size: 19px; }
.pform__secure { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--c-muted); }
.pform__secure span { display: inline-flex; align-items: center; gap: 5px; }
.pform__secure .icon { color: var(--c-success); font-size: 15px; }
.pform__pay { display: flex; justify-content: center; gap: 6px; }
.pform__pay .pay { width: 46px; height: 30px; border: 1px solid var(--c-line); }
.pform__pay .pay svg { width: 36px; height: 22px; }
.pinfo__share { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--c-muted); }
.pinfo__share a { width: 38px; height: 38px; border-radius: 50%; background: var(--c-soft); display: grid; place-items: center; color: var(--c-dark); transition: all var(--t-fast); }
.pinfo__share a:hover { background: var(--c-dark); color: var(--c-white); }
.pinfo__share .icon { font-size: 16px; }

/* stacked content (no tabs) */
.pcontent { margin-top: 56px; display: grid; gap: 44px; max-width: 900px; }
.pcontent__block > .sec-chip { margin-bottom: 14px; }
.rich h2, .rich h3 { font-size: 25px; margin: 26px 0 12px; }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich p { margin-bottom: 14px; color: var(--c-ink); }
.rich ul { padding-right: 20px; list-style: disc; display: grid; gap: 6px; margin-bottom: 14px; }
.rich strong { color: var(--c-dark); }
.how-list { display: grid; gap: 12px; counter-reset: how; }
.how-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-white); }
.how-list li::before { counter-increment: how; content: counter(how); width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: var(--c-brand); box-shadow: inset 0 0 0 1px var(--c-brand-dark); color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 18px; border-radius: 50%; }
.how-list b { font-family: var(--f-head); word-spacing: var(--ws-head); font-size: 17px; color: var(--c-dark); display: block; }
.reviews__summary { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--c-soft); border: 0; margin-bottom: 16px; }
.reviews__score { text-align: center; }
.reviews__score b { display: block; font-family: var(--f-head); word-spacing: var(--ws-head); font-size: 56px; line-height: 1; color: var(--c-dark); }
.reviews__score .rating__stars .icon { font-size: 18px; }
.reviews__bars { display: grid; gap: 8px; }
.reviews__bar { display: grid; grid-template-columns: 50px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; color: var(--c-muted); }
.reviews__bar i { height: 8px; border-radius: 4px; background: var(--c-white); overflow: hidden; display: block; }
.reviews__bar i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--c-brand-dark); border-radius: 4px; }
.review { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--c-brand-tint); color: var(--c-dark); display: grid; place-items: center; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 19px; flex: none; }
.review__name { font-weight: 700; font-family: var(--f-head); word-spacing: var(--ws-head); font-size: 17px; }
.review__meta { font-size: 12.5px; color: var(--c-muted); display: flex; align-items: center; gap: 6px; }
.review__meta .icon { color: var(--c-success); font-size: 14px; }
.review__text { color: var(--c-ink); font-size: 15px; margin-top: 6px; }
.related { padding-top: 60px; }

/* mobile fixed buy bar: always visible on phones (white bar, yellow buy button) */
.mobile-buy { display: none; }

/* 18. Hadith / policy banner (very light yellow card; the hadith in a white card under one yellow quotation mark) -- */
.section.hadith { padding: 0; }
.hadith__card { position: relative; display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: 56px; align-items: center; padding: 56px; border: 1px solid var(--c-brand-tint); border-radius: clamp(26px, 3vw, 40px); background: var(--c-brand-soft); overflow: hidden; }
.hadith__lead { position: relative; }
.hadith .hadith__lead .sec-chip { margin-bottom: 14px; }
.hadith__heading { font-size: clamp(30px, 3.5vw, 46px); }
.hadith__figure { margin-top: 26px; border-radius: var(--radius); overflow: hidden; }
.hadith__figure img { width: 100%; height: auto; max-height: 250px; object-fit: cover; }
.hadith__body { position: relative; }
.hadith__saying { position: relative; margin: 0; padding: 36px 40px 34px; border-radius: var(--radius); background: var(--c-white); }
/* one quotation mark above the text (no disc) */
.hadith__q { display: block; margin-bottom: 12px; color: var(--c-brand-dark); }
.hadith__q svg { width: 42px; height: 35px; }
.hadith__intro { margin-bottom: 8px; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 18px; color: var(--c-muted); }
.hadith__text { font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: clamp(24px, 2.7vw, 35px); line-height: 1.7; color: var(--c-dark); }
.hadith__saying cite { display: block; margin-top: 14px; font-style: normal; font-size: 14.5px; color: var(--c-muted); }
.hadith__note { margin-top: 24px; padding-right: 18px; border-right: 3px solid var(--c-brand-dark); font-size: 16.5px; line-height: 1.9; color: var(--c-ink); }

/* 19. Discount popup (white card 24px, yellow touch in its head) ------------- */
/* its base rules also sit in wordpress.css; these are complete on their own and win by the id */
#promoPopup { position: fixed; inset: 0; z-index: 1300; display: none; align-items: center; justify-content: center; padding: 16px; }
#promoPopup.is-open { display: flex; }
#promoPopup .promo__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: bsFade 0.25s var(--ease); }
#promoPopup .promo__card { position: relative; width: min(430px, 100%); max-height: calc(100vh - 32px); overflow: hidden auto; overscroll-behavior: contain; touch-action: pan-y; padding: 0; border: 0; border-radius: 24px; background: var(--c-white); color: var(--c-ink); text-align: center; box-shadow: var(--shadow-lg); animation: bsPop 0.4s var(--ease); scrollbar-width: none; }
#promoPopup .promo__card::-webkit-scrollbar { display: none; }
#promoPopup .promo__card::before, #promoPopup .promo__card::after { content: none; }
#promoPopup .promo__head { position: relative; padding: 36px 26px 24px; background: var(--c-brand-soft); overflow: hidden; }
#promoPopup .promo__head::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 6px; background: var(--c-brand); }
#promoPopup .promo__head::after { content: none; }
#promoPopup .promo__close { position: absolute; top: 14px; left: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: var(--c-white); color: var(--c-dark); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background var(--t-fast), color var(--t-fast); }
#promoPopup .promo__close:hover { background: var(--c-dark); color: var(--c-white); }
#promoPopup .promo__img { position: relative; max-height: 84px; width: auto; margin: 0 auto 10px; display: block; }
#promoPopup .promo__kicker { position: relative; font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 700; font-size: 16px; color: var(--c-dark); }
#promoPopup .promo__title { position: relative; margin: 6px 0 14px; font-size: clamp(23px, 2.7vw, 28px); font-weight: 800; line-height: 1.5; color: var(--c-dark); }
#promoPopup .promo__badge { position: relative; display: inline-block; padding: 7px 24px; border: 0; border-radius: var(--radius-pill); background: var(--c-dark); color: var(--c-brand); font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 19px; line-height: 1.5; }
#promoPopup .promo__body { padding: 22px 24px 24px; }
#promoPopup .promo__timer { margin: 0 0 18px; padding: 0; border: 0; border-radius: 0; background: none; }
#promoPopup .promo__timer-label { margin-bottom: 10px; font-size: 13.5px; color: var(--c-muted); }
#promoPopup .promo__digits { display: flex; justify-content: center; align-items: flex-start; gap: 8px; }
#promoPopup .promo__digit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
#promoPopup .promo__digit b { display: grid; place-items: center; min-width: 74px; height: 60px; border-radius: 16px; background: var(--c-soft); color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head); font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
#promoPopup .promo__digit small { font-size: 12px; color: var(--c-muted); }
#promoPopup .promo__colon { font-size: 26px; font-weight: 800; color: var(--c-dark); line-height: 60px; }
#promoPopup .promo__code { position: relative; margin: 0 auto; padding: 6px; border-radius: 18px; background: var(--c-white); border: 2px dashed var(--c-brand-dark); }
#promoPopup .promo__code span { display: block; padding: 10px 12px; border-radius: 12px; background: var(--c-brand-soft); color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head); font-size: 31px; font-weight: 800; line-height: 1.4; letter-spacing: 0.28em; text-indent: 0.28em; }
#promoPopup .promo__copy { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; margin-top: 12px; border: 1px solid var(--c-brand-dark); border-radius: var(--radius-pill); background: var(--c-brand); color: var(--c-dark); font-family: var(--f-head); word-spacing: var(--ws-head); font-weight: 800; font-size: 18px; transition: background var(--t-fast), transform var(--t-fast); }
#promoPopup .promo__copy:hover { background: var(--c-brand-light); transform: translateY(-1px); }
#promoPopup .promo__copy.is-done { background: var(--c-success); color: #fff; }
#promoPopup .promo__note { margin-top: 12px; font-size: 13px; color: var(--c-muted); }
@keyframes bsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bsPop { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }

/* 20. Responsive ---------------------------------------------------------- */
@media (max-width: 1199px) {
  .header-inner { gap: 18px; }
  .site-logo--image .site-logo__mark { height: 58px; }
  .main-nav a { padding: 0 12px; font-size: 15.5px; }
  .hero { --hero-h: 560px; }
  .hero-slide .container { gap: 56px; }
  .hero__title { font-size: 50px; }
  .products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .product-card__title { font-size: 19px; }
  .bento__item:first-child h3 { font-size: 30px; }
  /* why: heading and text on the right, the tall photo beside them */
  .why__layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); grid-template-areas: "head photo" "body photo"; gap: 30px 48px; }
  .why__title { font-size: 42px; }
  .faq__layout { gap: 40px; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hadith__card { gap: 40px; padding: 44px; }
}
@media (max-width: 991px) {
  :root { --header-h: 64px; }
  /* header: one compact white row stuck to the top edge (logo · search · account · cart · menu button) */
  .site-header.is-sticky { box-shadow: var(--shadow-sm); }
  .header-inner { justify-content: space-between; gap: 12px; min-height: 64px; padding: 6px 0; }
  .header-nav, .header-search, .header-cta { display: none; }
  .header-actions > [data-search-open] { display: inline-flex; }
  .header-icon { width: 44px; height: 44px; border-radius: 12px; }
  .menu-toggle { display: grid; }
  .site-logo__mark { height: 40px; }
  .site-logo--image .site-logo__mark { height: 46px; }
  .site-logo__name { font-size: 22px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head__title { font-size: 34px; }
  .section-head__title--sm { font-size: 30px; }
  /* hero: one column — text, then the photo card fills what is left of the fixed height */
  .hero { --hero-h: 760px; padding-bottom: 64px; }
  .hero-slide { align-items: stretch; }
  .hero-slide .container { display: flex; flex-direction: column; align-items: stretch; gap: 26px; padding-top: 18px; padding-bottom: 54px; }
  .hero__content { flex: none; }
  .hero__title { font-size: 46px; }
  .hero__text { max-width: 620px; margin-bottom: 24px; }
  .hero__visual { flex: 1 1 0; height: auto; }
  .hero__card { width: min(100%, 620px); height: 100%; }
  .hero__nav { display: none; }
  .hero .hero-slide--image { height: calc(var(--hero-h) - 54px); }
  .hero + .trust { margin-top: -40px; }
  .trust__grid { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .trust__item { padding: 13px 16px; font-size: 16.5px; }
  .trust__item + .trust__item::before { content: none; }
  .trust__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart__grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bento__item:first-child { grid-row: auto; grid-column: span 2; min-height: 300px; }
  .bento__item:nth-child(3):last-child { grid-column: span 2; }
  .steps__layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "list" "cta"; }
  .steps__head { margin-bottom: 30px; }
  .step-row { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; padding: 22px 0; }
  .step-row__num { font-size: 54px; }
  .why__layout { gap: 26px 32px; padding-top: 28px; }
  .why__title { font-size: 34px; }
  .why__title::after { margin-top: 20px; }
  .faq__layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .faq__head { position: static; }
  .hadith__card { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 40px 34px; }
  .product__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gallery { position: static; }
  .pinfo__title { font-size: 30px; }
  .reviews__summary { grid-template-columns: 1fr; }
  .qv__dialog { grid-template-columns: 1fr; padding: 18px; }
  .qv__media { aspect-ratio: 16 / 11; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .site-logo { gap: 8px; }
  .site-logo__name { font-size: 20px; }
  .header-actions { gap: 6px; }
  .header-icon, .menu-toggle { width: 40px; height: 40px; border-radius: 11px; }
  .header-icon__count { top: -6px; left: -6px; min-width: 19px; height: 19px; }
  .header-icon .icon { font-size: 18px; }
  .menu-toggle .icon { font-size: 20px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 26px; }
  .section-head__label { margin-bottom: 10px; }
  .section-head__title { font-size: 28px; }
  .section-head__title--sm { font-size: 26px; }
  .section-head__text { font-size: 15.5px; }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec-chip { font-size: 14px; }
  .btn--lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
  .ticker__item { height: 36px; font-size: 14.5px; }
  .hero { --hero-h: 640px; padding-bottom: 56px; }
  .hero-slide .container { gap: 20px; padding-top: 14px; padding-bottom: 46px; }
  .hero__kicker { margin-bottom: 10px; gap: 10px; font-size: 14.5px; }
  .hero__kicker::before { width: 24px; }
  /* 40px (was 34) with the photo at 180px (was 230) — owner's choice 2026-11-18: the title must be the largest thing
     on the first phone screen, not the photo. PageSpeed charges every file / script that had loaded before the first
     paint to a photo that is the "largest element", but not to a title (measured on both stores in the same test:
     title-first 97 / 89, photo-first 79 / 60). On PageSpeed's phone (412px): title 38,272 px², photo 32,312 px².
     Keep the title's area above the photo's when changing either size (_tools/qa/title-lcp.js) */
  .hero__title { font-size: 40px; margin-bottom: 10px; }
  .hero__text { font-size: 15.5px; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn { min-height: 48px; padding: 0 18px; font-size: 16px; }
  .hero__photo { border-radius: var(--radius); }
  /* the photo of a text slide is a 180px square in a white frame under the buttons (owner's choice 2026-11-18, see
     the title above; phones use the light 480 copy of the photo, embedded in the page — helpers.php). The text stays
     at the top of the slide as before and the square sits in the middle of the space left under it (centring the
     whole block made the title jump ~44px when the fonts / full css arrived — layout shift) */
  .hero-slide--text .hero__card { width: 180px; height: 180px; }
  .hero-slide--text .hero__photo { border-radius: var(--radius-lg); box-shadow: 0 0 0 6px var(--c-white), 0 14px 34px rgba(17, 17, 17, 0.16); }
  .hero .hero-slide--image { height: calc(var(--hero-h) - 46px); margin-top: 6px; border-radius: var(--radius); }
  .hero .hero__pagination { bottom: 10px; }
  .hero + .trust { margin-top: -34px; }
  .trust__grid { padding: 6px; border-radius: var(--radius); }
  .trust__item { gap: 9px; padding: 11px 8px; font-size: 14.5px; }
  .trust__icon { width: 36px; height: 36px; font-size: 18px; }
  .products__grid { gap: 10px; }
  .product-card { padding: 7px; border-radius: 18px; }
  .product-card:hover { translate: none; }
  .product-card__img { border-radius: 12px; }
  .product-card__media .badge-promo { top: 7px; right: 7px; padding: 3px 8px; font-size: 11px; gap: 4px; }
  .product-card__media .badge-promo .icon { font-size: 12px; }
  .product-card .product-card__wish { top: auto; bottom: 7px; left: 7px; }
  .product-card__body { padding: 10px 4px 4px; gap: 7px; }
  .product-card__title { font-size: 16px; }
  .product-card__sub { display: none; }
  .product-card .product-card__line { gap: 5px; font-size: 12px; line-height: 1.55; }
  .product-card .product-card__line .icon { width: 12px; height: 12px; margin-top: 3px; font-size: 12px; }
  .product-card__specs { gap: 8px; font-size: 11.5px; flex-wrap: wrap; }
  .price { gap: 5px; }
  .price__now { font-size: 21px; }
  .price__old { font-size: 13px; }
  .price__cur { font-size: 12px; }
  .product-card__footer { padding-top: 4px; }
  .product-card__footer .btn { min-height: 44px; font-size: 14.5px; padding: 0 8px; gap: 6px; }
  .product-card__footer .btn .icon { font-size: 17px; }
  .product-card__footer .btn--loading { pointer-events: none; }
  .toast { top: auto; bottom: 90px; left: 12px; right: 12px; width: auto; }
  .cart-item__top { grid-template-columns: 72px 1fr; }
  .cart-item__img { width: 72px; height: 72px; }
  .cart-item__total { grid-column: 1 / -1; text-align: right; display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px dashed var(--c-line); }
  .cart-item__row2 { grid-template-columns: 1fr; }
  .bento { gap: 10px; }
  .bento__item { min-height: 0; padding: 20px 16px; gap: 14px; border-radius: var(--radius); }
  .bento__icon { width: 48px; height: 48px; border-radius: 14px; font-size: 23px; }
  .bento__item h3 { font-size: 19px; }
  .bento__item p { font-size: 13.5px; line-height: 1.65; }
  .bento__item:first-child { min-height: 0; padding: 26px 22px; gap: 22px; }
  .bento__item:first-child .bento__icon { width: 60px; height: 60px; border-radius: 16px; font-size: 29px; }
  .bento__item:first-child h3 { font-size: 26px; margin-bottom: 6px; }
  .bento__item:first-child p { font-size: 15px; }
  .bento__item:nth-child(2) { padding: 20px 18px; gap: 16px; align-items: flex-start; }
  .bento__item:nth-child(2) .bento__icon { width: 52px; height: 52px; font-size: 25px; }
  /* steps: the numbered list under the heading, the numeral beside each step */
  .steps__head { margin-bottom: 22px; }
  .step-row { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .step-row__num { font-size: 40px; }
  .step-row__icon { display: none; }
  .step-row__body h3 { font-size: 19px; margin-bottom: 3px; }
  .step-row__body p { font-size: 14px; line-height: 1.7; }
  .steps__cta { margin-top: 24px; }
  .steps__cta .btn { width: 100%; }
  /* why: heading, the photo, then the text and the list */
  .why__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "photo" "body"; gap: 22px; padding-top: 22px; }
  .why__title { font-size: 30px; }
  .why__title::after { width: 56px; margin-top: 16px; }
  .why__photo { border-radius: 18px; }
  .why__body { padding-top: 4px; }
  .why__text { margin-bottom: 20px; font-size: 15.5px; line-height: 1.9; }
  .why__points { margin-bottom: 24px; }
  .why__points li { grid-template-columns: 38px minmax(0, 1fr); padding: 12px 0; font-size: 15px; }
  .why__points li::before { font-size: 14px; }
  .slider-arrows { display: none; }
  .slider-nav { margin-top: 20px; }
  .video-card { border-radius: 16px; }
  .video-card__play { left: 10px; bottom: 10px; height: 28px; padding: 0 9px; }
  .video-card__caption { right: 12px; left: 96px; bottom: 10px; min-height: 28px; font-size: 15.5px; }
  .shots .shot { border-radius: 24px; padding: 7px; }
  .shots .shot img { border-radius: 18px; }
  .shots .shot::before { top: 13px; height: 7px; }
  .faq__layout { gap: 22px; }
  .faq-item { border-radius: 18px; }
  .faq-item__q { padding: 15px 16px; font-size: 16.5px; gap: 12px; }
  .faq-item__icon { width: 32px; height: 32px; }
  .faq-item__a p { padding: 0 16px 16px; font-size: 14.5px; }
  body .site-footer { margin-top: 24px; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; padding: 44px 0 30px; }
  .footer-brand, .footer-top > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-pay { gap: 6px; }
  .footer-pay .pay { width: 54px; }
  .footer-bottom { flex-direction: column; text-align: center; padding-bottom: 84px; } /* room for the floating buttons at the very end of the page */
  .trust-badges { gap: 8px; }
  .site-footer .trust-badge { padding: 10px; gap: 8px; }
  .site-footer .trust-badge--icon { padding: 0; }
  .trust-badge > div { min-width: 0; }
  .trust-badge__icon--img { height: 38px; }
  .trust-badge--icon .trust-badge__icon--img { height: 48px; }
  .trust-badge--icon .trust-badge__icon--img img { max-width: 130px; }
  .wa-float span { display: none; }
  .wa-float { padding: 0; right: 16px; bottom: 16px; background: none; }
  .wa-float:hover { background: none; }
  .wa-float .icon { width: 54px; height: 54px; padding: 12px; }
  #waPanel { right: 12px; left: 12px; width: auto; bottom: 80px; border-radius: 22px; }
  body.has-mobile-buy #waPanel { bottom: 146px; }
  #waPanel .wa-panel__body { max-height: calc(100vh - 250px); padding: 14px 16px; }
  #waPanel .wa-panel__greet { font-size: 14px; }
  .hadith__card { gap: 30px; padding: 28px 16px 22px; }
  .hadith__saying { padding: 24px 20px 22px; border-radius: 18px; }
  .hadith__q svg { width: 32px; height: 27px; }
  .hadith__intro { font-size: 16px; }
  .hadith__note { margin-top: 26px; font-size: 15px; padding-right: 14px; }
  #promoPopup .promo__head { padding: 30px 18px 20px; }
  #promoPopup .promo__body { padding: 18px 18px 20px; }
  #promoPopup .promo__digit b { min-width: 62px; height: 52px; font-size: 25px; }
  #promoPopup .promo__colon { line-height: 52px; }
  #promoPopup .promo__code span { font-size: 25px; }
  .gallery__main { border-radius: 20px; }
  .gallery__thumbs { gap: 8px; }
  .pfeat { grid-template-columns: repeat(2, 1fr); }
  .pform, form.pform { padding: 16px; border-radius: 18px; }
  .pinfo__title { font-size: 27px; }
  .pinfo__price .price__now { font-size: 32px; }
  .pbuy { display: none; } /* replaced by the fixed bar */
  .mobile-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: auto 1fr 1.25fr; gap: 6px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.98); border-top: 1px solid var(--c-line); box-shadow: 0 -8px 24px rgba(17, 17, 17, 0.1); }
  .mobile-buy .qty button { width: 32px; height: 46px; }
  .mobile-buy .qty input { width: 32px; height: 46px; font-size: 16px; }
  .mobile-buy .btn { min-height: 46px; padding: 0 8px; font-size: 14px; gap: 6px; }
  .mobile-buy .btn .icon { font-size: 17px; }
  body.has-mobile-buy { padding-bottom: 76px; }
  body.has-mobile-buy .wa-float { bottom: 86px; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 31px; }
  .trust__item { font-size: 13.5px; }
  .product-card__title { font-size: 15px; }
  .bento__item h3 { font-size: 17.5px; }
}
@media (min-width: 768px) { .mobile-buy { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
