/*
 * AlKhumra website design system.
 * Plain CSS, no build step. Logical properties throughout so the same rules serve LTR and RTL (Arabic, Urdu).
 * Direction comes from the client's two reference templates: a mosque site (gold arch logo badge, eight-point
 * star ornaments, carved capital headings, points around a framed photo, deep green footer with arabesque)
 * and an Islamic knowledge portal (dark photo hero, gold-highlighted headline, glass side card, icon strip).
 * Palette: deep night green for photo areas, deep green for the footer, one gold accent. Gold is used for
 * fills, icons and ornaments; as text on light backgrounds it is the darker --gold-text for contrast.
 * Shape rule: cards and images 16px, large frames 24px, buttons and chips full pill, ornaments and badges
 * use the eight-point star or the arch.
 * Z-index scale: WhatsApp button 15, header 20, mobile menu 30, cookie notice 35, lightbox (native <dialog> top layer).
 */

@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap; src: url("./fonts/readex-pro-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap; src: url("./fonts/readex-pro-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap; src: url("./fonts/readex-pro-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("./fonts/cinzel-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("./fonts/cinzel-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url("./fonts/amiri-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E; }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 700; font-display: swap; src: url("./fonts/amiri-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFC, U+200C-200E; }

:root {
  color-scheme: light;
  --bg: #fdfdfc;
  --alt: #f3f4f1;
  --surface: #ffffff;
  --ink: #1b221f;
  --ink-2: #3a4440;
  --muted: #5b6561;
  --line: rgb(27 34 31 / 0.12);
  --gold: #d1a33a;
  --gold-hover: #c09330;
  --gold-text: #8a6519;
  --gold-soft: rgb(209 163 58 / 0.14);
  --on-gold: #1b1a14;
  --night: #0b1512;
  --green: #0f3d30;
  --green-2: #0c3328;
  --on-dark: #f4f2ec;
  --on-dark-2: rgb(244 242 236 / 0.78);
  --shadow: 0 1px 2px rgb(11 21 18 / 0.06), 0 18px 40px -20px rgb(11 21 18 / 0.28);

  --font: "Readex Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, "PingFang TC", "Microsoft JhengHei", sans-serif;
  /* Cinzel has Latin only: Russian falls back to Georgia, Chinese to the system serif. */
  --display: "Cinzel", Georgia, "Times New Roman", "Songti TC", "PMingLiU", serif;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --star: polygon(50% 0%, 64.65% 14.64%, 85.36% 14.64%, 85.36% 35.35%, 100% 50%, 85.36% 64.65%, 85.36% 85.36%, 64.65% 85.36%, 50% 100%, 35.35% 85.36%, 14.64% 85.36%, 14.64% 64.65%, 0% 50%, 14.64% 35.35%, 14.64% 14.64%, 35.35% 14.64%);
  /* Arabesque tile: interlaced eight-point stars, drawn as one line. */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23d1a33a' stroke-width='1'%3E%3Crect x='24' y='24' width='40' height='40'/%3E%3Crect x='24' y='24' width='40' height='40' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='9'/%3E%3Cpath d='M0 0l16 16M88 0L72 16M0 88l16-16M88 88L72 72'/%3E%3C/g%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0d1613;
    --alt: #111d19;
    --surface: #15231e;
    --ink: #eef0ec;
    --ink-2: #cfd5d1;
    --muted: #a3ada8;
    --line: rgb(238 240 236 / 0.11);
    --gold-text: #e3bb5c;
    --gold-soft: rgb(209 163 58 / 0.16);
    --night: #070e0c;
    --green: #0c3328;
    --green-2: #092a21;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 18px 40px -20px rgb(0 0 0 / 0.7);
  }
}

[dir="rtl"] { --display: "Amiri", "Readex Pro", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1rem; line-height: 1.7; font-weight: 350;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[dir="rtl"] body { line-height: 1.85; }
:lang(ur) body { line-height: 2; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.15; text-wrap: balance; }
[dir="rtl"] :is(h1, h2, h3, h4) { font-weight: 700; line-height: 1.45; }
p { margin: 0; text-wrap: pretty; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.ph { font-size: 1.15em; line-height: 1; }
[dir="rtl"] :is(.ph-arrow-right, .ph-arrow-left, .ph-arrow-up-right, .ph-caret-right, .ph-caret-left) { transform: scaleX(-1); }

.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 40; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 120px) clamp(80px, 10vw, 132px); }
.section--alt { background: var(--alt); position: relative; isolation: isolate; }
.section--alt::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); opacity: 0.09; }
.measure { max-width: 62ch; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-2); }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.h-display { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: 0.01em; }
.h-section { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: 0.01em; }
.h-card { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: 0.02em; }
[dir="rtl"] :is(.h-display, .h-section, .h-card) { letter-spacing: 0; }
.h-display { line-height: 1.12; }
[dir="rtl"] .h-display { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }

/* Eight-point star ornament (two overlapping squares), as in the reference template. */
.ornament { display: inline-block; width: 30px; height: 30px; position: relative; }
.ornament::before, .ornament::after { content: ""; position: absolute; inset: 5px; border: 1.5px solid var(--gold); }
.ornament::after { transform: rotate(45deg); }
.ornament i { position: absolute; inset: 11px; border-radius: 999px; background: var(--gold); }

.head-center { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: clamp(40px, 6vw, 64px); }
.head-center p { color: var(--muted); max-width: 56ch; }
.head-start { display: grid; gap: 14px; margin-bottom: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; line-height: 1.25;
  font-weight: 500; font-size: 0.975rem; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 6px 18px -8px rgb(209 163 58 / 0.7); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--ghost { border-color: color-mix(in srgb, var(--ink) 25%, transparent); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-text); }
.btn--ghost-light { border-color: rgb(244 242 236 / 0.4); color: var(--on-dark); background: transparent; }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn .ph { transition: transform 0.3s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
[dir="rtl"] .btn:hover .ph-arrow-right { transform: scaleX(-1) translateX(3px); }
.btn:disabled { opacity: 0.6; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--gold-text); }
.link-arrow .ph { transition: transform 0.3s var(--ease); }
.link-arrow:hover .ph-arrow-right { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .ph-arrow-right { transform: scaleX(-1) translateX(3px); }

/* Header: sits over the dark hero or page banner on every page. */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; color: var(--on-dark); }
.topbar { border-bottom: 1px solid rgb(244 242 236 / 0.12); font-size: 0.85rem; color: var(--on-dark-2); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding-inline-start: calc(var(--gutter) + 124px); }
.topbar__info, .topbar__social { display: flex; align-items: center; gap: 22px; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info .ph { color: var(--gold); }
.topbar__social a { display: inline-flex; transition: color 0.2s var(--ease); }
.topbar__social a:hover, .topbar__info a:hover { color: var(--gold); }
.navbar__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding-inline-start: calc(var(--gutter) + 124px); }
@media (max-width: 899px) { .topbar { display: none; } .navbar__inner { padding-inline-start: calc(var(--gutter) + 80px); min-height: 68px; } }

/* Logo badge hanging from the top edge, in the arch shape of the reference template. */
.badge-logo {
  position: absolute; top: 0; inset-inline-start: var(--gutter); z-index: 2;
  width: 108px; height: 126px; display: flex; align-items: center; justify-content: center; padding-bottom: 14px;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 76% 84%, 50% 100%, 24% 84%, 0 72%);
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.35));
}
.badge-logo img { height: 74px; width: auto; filter: brightness(0) invert(1); }
@media (max-width: 899px) { .badge-logo { width: 70px; height: 84px; padding-bottom: 10px; } .badge-logo img { height: 48px; } }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { padding: 8px 14px; border-radius: 999px; color: var(--on-dark-2); font-weight: 400; transition: color 0.2s var(--ease); position: relative; }
.nav__link:hover { color: var(--on-dark); }
.nav__link[aria-current="page"] { color: var(--gold); font-weight: 500; }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); }
.nav__aside { display: flex; align-items: center; gap: 10px; }

.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgb(244 242 236 / 0.25); font-size: 0.925rem;
  transition: border-color 0.2s var(--ease);
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--gold); }
.lang-menu summary .ph-caret-down { font-size: 0.9em; transition: transform 0.2s var(--ease); }
.lang-menu[open] summary .ph-caret-down { transform: rotate(180deg); }
.lang-menu__list {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 25; min-width: 180px;
  margin: 0; padding: 6px; list-style: none; border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.lang-menu__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 8px; }
.lang-menu__list a:hover { background: var(--gold-soft); }
.lang-menu__list a[aria-current="true"] { font-weight: 500; color: var(--gold-text); }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgb(244 242 236 / 0.25); background: transparent; color: var(--on-dark); cursor: pointer; align-items: center; justify-content: center; font-size: 1.2rem; }
.mobile-nav { display: none; }
@media (max-width: 899px) {
  .nav, .nav__aside > .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .lang-menu summary .lang-menu__label { display: none; }
  .mobile-nav {
    position: absolute; inset: 100% 0 auto 0; z-index: 30;
    background: var(--night); border-bottom: 1px solid rgb(244 242 236 / 0.12);
    padding: 12px var(--gutter) 24px; display: grid; gap: 4px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .mobile-nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid rgb(244 242 236 / 0.1); }
  .mobile-nav a[aria-current="page"] { color: var(--gold); }
  .mobile-nav .btn { margin-top: 16px; border-bottom: 0; }
}

/* Home hero: full-bleed video under a dark green scrim, copy on the left, quote card on the right. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-dark); min-height: min(100dvh, 880px); display: flex; align-items: center; }
.hero__media, .hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 14 12 / 0.9) 0%, rgb(7 14 12 / 0.62) 50%, rgb(7 14 12 / 0.4) 100%), linear-gradient(to top, rgb(7 14 12 / 0.75), transparent 45%); }
[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgb(7 14 12 / 0.9) 0%, rgb(7 14 12 / 0.62) 50%, rgb(7 14 12 / 0.4) 100%), linear-gradient(to top, rgb(7 14 12 / 0.75), transparent 45%); }
.hero__grid { display: grid; gap: 40px; align-items: center; padding-block: 172px 150px; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr); } }
@media (max-width: 899px) { .hero__grid { padding-block: 128px 120px; } }
.hero__copy { display: grid; gap: 20px; max-width: 720px; }
.hero__copy .h-display { color: var(--on-dark); }
.hero__copy p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--on-dark-2); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__pause {
  position: absolute; bottom: 140px; inset-inline-end: var(--gutter); width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgb(244 242 236 / 0.35); background: rgb(7 14 12 / 0.35); color: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center;
}
.hero__pause:hover { border-color: var(--gold); }
@media (max-width: 1023px) { .hero__pause { bottom: auto; top: 96px; } }

/* Glass card (web approximation of frosted glass, solid under reduced transparency). */
.glass-card {
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(135deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.04));
  border: 1px solid rgb(244 242 236 / 0.18); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 24px 60px -30px rgb(0 0 0 / 0.6);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  display: grid; gap: 14px;
}
@media (prefers-reduced-transparency: reduce) { .glass-card { background: rgb(11 21 18 / 0.92); backdrop-filter: none; } }
.glass-card__head { display: flex; align-items: center; gap: 10px; color: var(--gold); font-weight: 500; }
.glass-card blockquote { margin: 0; color: var(--on-dark); font-size: 1.02rem; line-height: 1.75; }
[dir="rtl"] .glass-card blockquote { font-family: "Amiri", var(--font); font-size: 1.3rem; line-height: 1.9; }
@media (max-width: 1023px) { .glass-card { max-width: 560px; } }

/* Product facts strip overlapping the bottom of the hero. */
.strip { position: relative; z-index: 2; margin-top: -88px; }
.strip__panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.strip__item { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 26px 18px; }
.strip__item + .strip__item { border-inline-start: 1px solid var(--line); }
.strip__icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--gold-text); }
.strip__item p { font-size: 0.95rem; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 699px) {
  .strip__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item + .strip__item { border-inline-start: 0; }
  .strip__item { border-top: 1px solid var(--line); }
  .strip__item:nth-child(-n + 2) { border-top: 0; }
  .strip__item:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .strip__item:last-child:nth-child(odd) { grid-column: 1 / -1; border-inline-end: 0; }
}

/* Inner page banner: photo under the scrim, star ornament, title and breadcrumb. */
.page-banner { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-dark); text-align: center; padding-block: 180px 84px; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgb(7 14 12 / 0.85), rgb(7 14 12 / 0.72)); }
.page-banner .container { display: grid; justify-items: center; gap: 16px; }
.page-banner .h-display { color: var(--on-dark); font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; color: var(--on-dark-2); font-size: 0.925rem; }
.crumbs a:hover { color: var(--on-dark); }
.crumbs [aria-current] { color: var(--gold); }
@media (max-width: 899px) { .page-banner { padding-block: 132px 64px; } }

/* About: copy beside an arch-framed photo with a gold arch behind it and a second photo overlapping. */
.split { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--flip > :first-child { order: 2; } }
.prose { color: var(--ink-2); font-size: 1.05rem; display: grid; gap: 1em; }
.prose p { max-width: 64ch; }
.arch-art { position: relative; width: min(100%, 460px); margin-inline: auto; padding: 0 0 28px 28px; }
[dir="rtl"] .arch-art { padding: 0 28px 28px 0; }
.arch-art::before { content: ""; position: absolute; inset: 28px 0 0 28px; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); background: var(--gold); z-index: 0; translate: 22px -22px; }
[dir="rtl"] .arch-art::before { inset: 28px 28px 0 0; translate: -22px -22px; }
@media (max-width: 599px) { .arch-art::before { translate: 12px -12px; } [dir="rtl"] .arch-art::before { translate: -12px -12px; } }
/* Offset decorations must never widen the page on phones. */
main { overflow-x: clip; }
.arch-art__main { position: relative; z-index: 1; aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); background: var(--alt); }
.arch-art__small { position: absolute; z-index: 2; inset-inline-start: 0; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); border: 6px solid var(--bg); box-shadow: var(--shadow); }

.more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; color: var(--gold-text); }
.more summary::-webkit-details-marker { display: none; }
.more summary .ph { transition: transform 0.25s var(--ease); }
.more[open] summary .ph { transform: rotate(180deg); }
.more [data-open], .more[open] [data-closed] { display: none; }
.more[open] [data-open] { display: inline; }
.more > .prose { margin-top: 1em; }

/* Significance: points in a grid beside a star-framed photo. */
.points { display: grid; gap: 32px 36px; }
@media (min-width: 640px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } .points > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.point { display: grid; gap: 14px; align-content: start; }
.point__icon { width: 60px; height: 60px; }
.point__icon img { width: 100%; height: 100%; object-fit: contain; }
.point p { color: var(--ink-2); }
@media (prefers-color-scheme: dark) { .point__icon, .ring-item__badge { border-radius: 999px; background: #f4f2ec; } }

.star-frame { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin-inline: auto; }
.star-frame::before { content: ""; position: absolute; inset: 0; clip-path: var(--star); background: linear-gradient(135deg, #e8c46a, var(--gold) 45%, #a77a20); }
.star-frame img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; clip-path: var(--star); background: var(--alt); }

/* Why AlKhumra: points around the star-framed photo (three on each side). */
.ring { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .ring { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); } }
.ring__col { display: grid; gap: 36px; }
.ring-item { display: grid; gap: 12px; }
@media (min-width: 1024px) { .ring__col--start .ring-item { justify-items: end; text-align: end; } }
.ring-item__badge { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; }
.ring-item__badge img { width: 100%; height: 100%; object-fit: contain; }
.ring-item p { color: var(--ink-2); max-width: 36ch; }
@media (max-width: 1023px) { .ring__media { order: -1; } .ring__col { gap: 28px; } .ring { gap: 32px; } }

/* Colours: product photos in a row that scrolls sideways on smaller screens. */
.swatch__dot { width: 18px; height: 18px; border-radius: 999px; background: var(--c); flex: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2), 0 0 0 1px var(--line); }
.colour-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 300px); gap: 16px;
  margin: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 12px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: thin;
}
.colour-row li { scroll-snap-align: start; }
.colour-card { display: grid; gap: 14px; padding: 10px 10px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.colour-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.colour-card img { aspect-ratio: 83 / 54; width: 100%; object-fit: cover; border-radius: var(--radius-sm); background: var(--alt); }
.colour-card__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; padding-inline: 4px; }

/* Product page: colour picker */
.picker { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .picker { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.picker__stage { position: relative; border-radius: var(--radius-lg); background: var(--alt); aspect-ratio: 83 / 54; overflow: hidden; box-shadow: var(--shadow); }
.picker__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); }
.picker__stage img.is-active { opacity: 1; }
.picker__name { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; margin-bottom: 18px; }
.picker__options { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.picker__option {
  width: 48px; height: 48px; border-radius: 999px; padding: 0; cursor: pointer; background: var(--c);
  border: 0; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18), 0 0 0 1px var(--line);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.picker__option:hover { transform: scale(1.06); }
.picker__option[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18), 0 0 0 3px var(--bg), 0 0 0 5px var(--gold); }

/* Product facts bar (dark), as in the second reference template. */
.facts { border-radius: var(--radius-lg); background: var(--green); color: var(--on-dark); display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); position: relative; isolation: isolate; overflow: hidden; }
.facts::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); opacity: 0.12; }
.facts li { display: flex; align-items: center; gap: 14px; padding: 24px 22px; }
.facts li + li { border-inline-start: 1px solid rgb(244 242 236 / 0.12); }
.facts .ph { flex: none; font-size: 1.7rem; color: var(--gold); }
.facts p { font-size: 0.95rem; line-height: 1.45; color: var(--on-dark); }
@media (max-width: 699px) { .facts li + li { border-inline-start: 0; border-top: 1px solid rgb(244 242 236 / 0.12); } }

.video-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--night); aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

.gallery { columns: 3 260px; column-gap: 16px; }
.gallery__item { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: var(--alt); border-radius: var(--radius-sm); overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.gallery__item img { width: 100%; transition: transform 0.6s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }

.lightbox { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgb(7 14 12 / 0.95); color: var(--on-dark); }
.lightbox::backdrop { background: rgb(7 14 12 / 0.6); }
.lightbox__stage { position: absolute; inset: 64px 72px; display: flex; align-items: center; justify-content: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgb(244 242 236 / 0.25); background: rgb(244 242 236 / 0.08); color: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.lightbox__btn:hover { border-color: var(--gold); }
.lightbox__close { top: 12px; inset-inline-end: 12px; }
.lightbox__prev { top: 50%; inset-inline-start: 12px; transform: translateY(-50%); }
.lightbox__next { top: 50%; inset-inline-end: 12px; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; inset-inline: 0; text-align: center; font-variant-numeric: tabular-nums; color: var(--on-dark-2); }
@media (max-width: 699px) { .lightbox__stage { inset: 64px 12px 72px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; } }

/* Contact */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.channels { display: grid; gap: 10px; }
.channel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.25s var(--ease); }
a.channel:hover { border-color: var(--gold); }
.icon-gold { width: 44px; height: 44px; border-radius: 999px; background: var(--gold); color: var(--on-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: none; }
.channel__label { display: block; color: var(--muted); font-size: 0.85rem; }
.channel__value { display: block; font-size: 1rem; font-weight: 500; overflow-wrap: anywhere; }
a.channel .ph-arrow-up-right { color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
a.channel:hover .ph-arrow-up-right { color: var(--gold-text); transform: translate(2px, -2px); }
[dir="rtl"] a.channel:hover .ph-arrow-up-right { transform: scaleX(-1) translate(2px, -2px); }

.countries { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.countries li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 0.95rem; }

.form-card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 22px; }
.topics legend { font-weight: 500; font-size: 0.95rem; margin-bottom: 10px; padding: 0; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); font-size: 0.95rem; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.topic input:checked + span { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.topic input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: var(--radius-sm);
  padding: 13px 14px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field__error { color: #b42318; font-size: 0.9rem; min-height: 1.2em; }
@media (prefers-color-scheme: dark) { .field__error { color: #ff8a80; } }
.field.has-error input, .field.has-error textarea { border-color: #b42318; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field__optional { color: var(--muted); font-weight: 400; font-size: 0.875rem; margin-inline-start: 6px; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: flex; gap: 14px; align-items: flex-start; padding: 20px; margin-top: 20px; border-radius: var(--radius-sm); background: var(--gold-soft); }
.form-success .ph { font-size: 1.6rem; flex: none; color: var(--gold-text); }
.form-success p { color: var(--muted); margin-top: 4px; }

.quote-plain { border-radius: var(--radius-lg); background: var(--alt); padding: clamp(28px, 5vw, 56px); display: grid; gap: 16px; position: relative; isolation: isolate; overflow: hidden; }
.quote-plain::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); opacity: 0.1; }
.quote-plain blockquote { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 70ch; }
[dir="rtl"] .quote-plain blockquote { font-family: "Amiri", var(--font); font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* Footer: deep green with the arabesque pattern, a call to action on top, then the columns. */
.site-footer { position: relative; isolation: isolate; background: var(--green); color: var(--on-dark-2); }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pattern); opacity: 0.08; }
.footer-cta { display: grid; gap: 24px; align-items: center; padding-block: clamp(40px, 6vw, 64px); border-bottom: 1px solid rgb(244 242 236 / 0.12); }
@media (min-width: 900px) { .footer-cta { grid-template-columns: auto minmax(0, 1fr) auto; } }
.footer-cta__icon { font-size: 3rem; color: var(--gold); }
.footer-cta p { font-size: 0.95rem; }
.footer-cta h2 { color: var(--on-dark); font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-top: 4px; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr); } }
.footer-badge { width: 120px; height: 140px; display: flex; align-items: center; justify-content: center; padding-bottom: 14px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 72%, 76% 84%, 50% 100%, 24% 84%, 0 72%); }
.footer-badge img { height: 84px; width: auto; filter: brightness(0) invert(1); }
.footer-title { font-family: var(--display); color: var(--on-dark); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 16px; }
[dir="rtl"] .footer-title { letter-spacing: 0; font-size: 1.25rem; }
.footer-text { max-width: 42ch; font-size: 0.95rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 0.95rem; }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact .icon-gold { width: 38px; height: 38px; font-size: 1.05rem; }
.footer-contact a:hover, .footer-links a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links .ph { color: var(--gold); font-size: 0.9em; }
.footer-base { border-top: 1px solid rgb(244 242 236 / 0.12); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 0.875rem; }
.footer-base a:hover { color: var(--gold); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-langs a[aria-current="true"] { color: var(--gold); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgb(244 242 236 / 0.2); display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.socials a:hover { border-color: var(--gold); color: var(--gold); }

.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted); }

.wa-fab { position: fixed; inset-block-end: 16px; inset-inline-end: 16px; z-index: 15; width: 56px; height: 56px; border-radius: 999px; background: var(--gold); color: var(--on-gold); display: none; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 0 0 2px var(--bg), 0 10px 30px -10px rgb(0 0 0 / 0.5); }
@media (max-width: 899px) { .wa-fab { display: inline-flex; } }

/* Reveal on scroll. Only hidden when JS has run and motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.not-found { display: grid; justify-items: center; text-align: center; gap: 20px; }
.not-found .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Shop (hidden until switched on in the CMS) */
.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; }
.price { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--gold-text); margin-bottom: 18px; }
[dir="rtl"] .price { font-family: var(--font); }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 999px; min-height: 48px; padding: 0 4px; background: var(--surface); }
.qty button { width: 38px; height: 38px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.qty button:hover { background: var(--gold-soft); color: var(--gold-text); }
.qty input { width: 46px; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 500; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

.cart-link { position: relative; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgb(244 242 236 / 0.25); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: border-color 0.2s var(--ease); }
.cart-link:hover { border-color: var(--gold); }
.cart-link__count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 0.72rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }

.notice { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--gold-soft); margin-bottom: 24px; }
.notice .ph { color: var(--gold-text); font-size: 1.3rem; }
.notice--warn { background: rgb(180 35 24 / 0.08); }
.notice--warn .ph { color: #b42318; }

.empty-cart { display: grid; justify-items: center; text-align: center; gap: 14px; padding-block: 24px; }
.shop-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) { .shop-grid { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr); } }
.cart-lines { display: grid; gap: 14px; }
.cart-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 18px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cart-line img { width: 120px; aspect-ratio: 83 / 54; object-fit: cover; border-radius: var(--radius-sm); }
.cart-line__info { display: grid; gap: 4px; }
.cart-line__info .muted { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.cart-line__name { font-weight: 600; }
.cart-line__total { font-weight: 600; min-width: 80px; text-align: end; }
.cart-line__remove { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--muted); }
.cart-line__remove:hover { color: #b42318; border-color: #b42318; }
@media (max-width: 699px) {
  .cart-line { grid-template-columns: auto minmax(0, 1fr) auto; }
  .cart-line img { width: 84px; grid-row: span 2; }
  .cart-line .qty { grid-column: 2; justify-self: start; }
  .cart-line__total { grid-column: 3; grid-row: 1; }
  .cart-line__remove { grid-column: 3; grid-row: 2; justify-self: end; }
}
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }

.summary { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: sticky; top: 24px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; }
.summary__total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.1rem; }
.summary__total dt { color: var(--ink); font-weight: 600; }
.summary__total dd { font-weight: 700; color: var(--gold-text); }
.summary__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; }
.summary__lines li > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.summary .btn { width: 100%; }

.field select { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: var(--radius-sm); padding: 13px 14px; }
.field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.pay-methods { border: 0; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.pay-methods legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.pay-method { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); cursor: pointer; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.pay-method:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.pay-method input { accent-color: var(--gold); width: 18px; height: 18px; }
.pay-method small { display: block; color: var(--muted); font-size: 0.875rem; }
.order-done { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) { .order-done { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr); } }

/* FAQ and legal pages */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 500; font-size: 1.05rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ph { color: var(--gold-text); transition: transform 0.25s var(--ease); flex: none; }
.faq__item[open] summary .ph { transform: rotate(45deg); }
.faq__item[open] { border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.faq__item .prose { padding: 0 22px 20px; }
.faq__more { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); }
.legal { max-width: 760px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.agree input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.agree a { color: var(--gold-text); text-decoration: underline; }

.tiers { list-style: none; margin: -10px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tiers li { padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); font-size: 0.875rem; font-weight: 500; }
.tier-hint { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--gold-soft); font-size: 0.9rem; }
.tier-hint .ph { color: var(--gold-text); }
.code-form { display: flex; gap: 8px; }
.code-form input { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 999px; padding: 0 16px; min-height: 44px; text-transform: uppercase; }
.code-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.code-form .btn { min-height: 44px; }

.newsletter__row { display: flex; gap: 8px; max-width: 420px; }
.newsletter__row input { flex: 1; min-width: 0; font: inherit; color: var(--on-dark); background: rgb(244 242 236 / 0.08); border: 1px solid rgb(244 242 236 / 0.25); border-radius: 999px; padding: 0 16px; min-height: 46px; }
.newsletter__row input::placeholder { color: var(--on-dark-2); }
.newsletter__row input:focus { outline: none; border-color: var(--gold); }
.newsletter__row .btn { min-height: 46px; }
.newsletter__note { font-size: 0.8rem; margin-top: 8px; color: var(--on-dark-2); max-width: 42ch; }
.newsletter__done { display: flex; gap: 8px; align-items: center; color: var(--on-dark); }
.newsletter__done .ph { color: var(--gold); font-size: 1.3rem; }
.site-footer .field__error { color: #ffb4ab; }

/* Reviews */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.stars-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; color: var(--muted); }
.reviews { columns: 3 300px; column-gap: 16px; margin-bottom: 32px; }
.review { break-inside: avoid; margin: 0 0 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.review blockquote { margin: 0; color: var(--ink-2); }
.review img { border-radius: var(--radius-sm); }
.review figcaption { color: var(--muted); font-size: 0.925rem; }
.review figcaption strong { color: var(--ink); font-weight: 500; }
.review-form { display: grid; justify-items: center; gap: 20px; }
.review-form > summary { list-style: none; cursor: pointer; }
.review-form > summary::-webkit-details-marker { display: none; }
.review-form[open] > summary { display: none; }
.review-form .form-card, .review-form .form-success { width: 100%; max-width: 720px; }
.rating-input { border: 0; padding: 0; margin: 0 0 16px; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
[dir="rtl"] .rating-input { flex-direction: row-reverse; }
.rating-input legend { font-weight: 500; font-size: 0.95rem; margin-bottom: 6px; width: 100%; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; color: color-mix(in srgb, var(--ink) 20%, transparent); }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }
.rating-input input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* Cookie notice (only when analytics or the Meta Pixel are set up) */
.consent { position: fixed; z-index: 35; inset-inline: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; padding: 18px 20px; border-radius: var(--radius); background: var(--night); color: var(--on-dark); box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.6); display: grid; gap: 14px; }
.consent[hidden] { display: none; }
.consent p { font-size: 0.925rem; color: var(--on-dark-2); }
.consent a { color: var(--gold); text-decoration: underline; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.consent .btn { min-height: 42px; }
.footer-grid > * { min-width: 0; }
.newsletter__row input { width: 100%; }
@media (max-width: 420px) { .newsletter__row { flex-wrap: wrap; } .newsletter__row .btn { flex: 1 1 auto; } }
