/* Forné, forne.ps
   Colour direction B (approved): light first. White and warm-tint sections carry the reading;
   oxblood is kept for the hero, header, the Baked band and the footer.
   Every text/background pair meets WCAG 2.2 AA (4.5:1 text, 3:1 interface borders).
   Arabic font: Neue Helvetica Arabic (owner's choice) with IBM Plex Sans Arabic as the free fallback.
   Type scale measured against Apple (ar-AE), Gozney and Ooni product pages:
   body 17px EN / 18px AR, captions 14px minimum, card titles 20px, section titles 32→52px, hero 40→64px.
   Alignment (approved): reading sections follow the language direction; showcase sections centre their heading. */
:root {
  /* Brand */
  --oxblood: #2B0206;
  --ink: #160204;
  --ember: #F27C3E;
  --ember-hover: #FF9358;
  --rust: #9D401F;
  --copper: #FAA169;
  --flour: #FFEEDA;
  --dough: #CDB4A2;
  --seg-on: #FFD9B5;
  --seg-off: rgba(255, 238, 218, 0.06);
  /* Light surfaces */
  --white: #FFFFFF;
  --tint: #F5F1EC;
  --text: #2A1A17;
  --text-2: #6A5650;
  --rule: #E8DFD8;         /* decorative dividers */
  --ui-line: #93807A;      /* input and control borders, 3.7:1 on white */

  --f-num: "Archivo", "IBM Plex Sans", system-ui, sans-serif;
  --s-cap: 0.875rem;                                   /* 14 */
  --s-body: 1.0625rem;                                 /* 17 */
  --s-lede: 1.25rem;                                   /* 20 */
  --s-h3: 1.25rem;                                     /* 20 */
  --s-h2: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);       /* 32 → 52 */
  --s-h1: clamp(2.5rem, 1.4rem + 4vw, 4rem);           /* 40 → 64 */
  --lh-body: 1.6;
  --lh-head: 1.1;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --gap: clamp(32px, 5vw, 80px);
}
.lang-ar {
  /* Owner's choice: Neue Helvetica Arabic (Linotype, licensed). Until licensed web files are added,
     visitors see IBM Plex Sans Arabic, the closest free match. */
  --f-ar: "Neue Helvetica Arabic", "Helvetica Neue LT Arabic", "Helvetica Neue Arabic", "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
  --f-disp: var(--f-ar);
  --f-body: var(--f-ar);
  --s-body: 1.125rem;   /* 18: Arabic set one step larger than Latin */
  --s-lede: 1.3125rem;  /* 21 */
  --lh-body: 1.85;
  --lh-head: 1.35;
}
.lang-en {
  --f-disp: "Archivo", "IBM Plex Sans", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
}

/* Section themes */
.t-light, .t-tint { --bg: var(--white); --fg: var(--text); --fg-2: var(--text-2); --head: var(--oxblood); --accent: var(--rust); --line: var(--rule); --line-ui: var(--ui-line); color-scheme: light; }
.t-tint { --bg: var(--tint); }
.t-dark, .t-brand { --bg: var(--ink); --fg: var(--flour); --fg-2: var(--dough); --head: var(--flour); --accent: var(--copper); --line: rgba(252, 211, 165, 0.16); --line-ui: #9A7B6E; color-scheme: dark; }
.t-brand { --bg: var(--oxblood); --line-ui: #A6877A; }
.t-light, .t-tint, .t-dark, .t-brand { background-color: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--f-body); font-size: var(--s-body); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ember); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); z-index: 60; }
.skip:focus { top: 12px; }
.ic { width: 24px; height: 24px; flex: none; stroke: currentColor; }

/* Type */
h1, h2, h3 { font-family: var(--f-disp); margin: 0; text-wrap: balance; color: var(--head); }
h1 { font-size: var(--s-h1); line-height: var(--lh-head); font-weight: 700; }
h2 { font-size: var(--s-h2); line-height: calc(var(--lh-head) + 0.02); font-weight: 700; }
h3 { font-family: var(--f-body); font-size: var(--s-h3); line-height: 1.4; font-weight: 600; }
.lang-en h1, .lang-en h2 { font-stretch: 112%; letter-spacing: -0.022em; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
.lede { font-size: var(--s-lede); line-height: 1.55; color: var(--fg-2); }
.lang-ar .lede { line-height: 1.8; }

/* Buttons: pill, 48px, as measured on Ooni, Gozney and Apple */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 28px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; border: 0; cursor: pointer;
  background: var(--oxblood); color: var(--flour); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.btn:hover { background: #4A0A10; }
.t-dark .btn, .t-brand .btn, .buybar .btn, .top .btn { background: var(--ember); color: var(--ink); }
.t-dark .btn:hover, .t-brand .btn:hover, .buybar .btn:hover, .top .btn:hover { background: var(--ember-hover); }
.btn-ghost, .t-dark .btn-ghost, .t-brand .btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line-ui); }
.btn-ghost:hover, .t-dark .btn-ghost:hover, .t-brand .btn-ghost:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn .ic { width: 20px; height: 20px; }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: .9375rem; }
.btn-block { width: 100%; }

/* Header: brand bar */
.top { position: sticky; top: 0; z-index: 30; background: rgba(43, 2, 6, 0.94); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(252, 211, 165, 0.14); color: var(--flour); }
.bar { display: flex; align-items: center; gap: 32px; min-height: 64px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 26px; font-size: .9375rem; }
.nav a { text-decoration: none; color: var(--dough); padding: 8px 0; }
.nav a:hover { color: var(--flour); }
.bar-end { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; }
.lang { font-size: .9375rem; text-decoration: none; color: var(--dough); padding: 8px 4px; }
.lang:hover { color: var(--flour); }
.lang-ar .lang { font-family: "IBM Plex Sans", sans-serif; }
.lang-en .lang { font-family: "IBM Plex Sans Arabic", sans-serif; }
@media (max-width: 1020px) { .nav { display: none; } }

/* Shared layout */
section { padding-block: var(--sec); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.split-top { align-items: start; }
.copy { display: grid; gap: 18px; align-content: start; }
.copy > p { color: var(--fg-2); }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.head p { color: var(--fg-2); font-size: var(--s-lede); line-height: 1.55; }
.lang-ar .head p { line-height: 1.8; }
.head-center { text-align: center; margin-inline: auto; justify-items: center; }
.head-center p { margin-inline: auto; }
.photo { width: 100%; height: auto; border-radius: var(--r-lg); object-fit: cover; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Hero (brand) */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--gap); align-items: end; }
.hero-side { display: grid; gap: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.offer { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--seg-on); }
.offer .ic { color: var(--copper); width: 22px; height: 22px; }
.hero-product { position: relative; margin: clamp(32px, 5vw, 64px) auto 0; max-width: 1040px; }
.hero-product::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: -6%; height: 34%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(242, 124, 62, 0.42), rgba(157, 64, 31, 0.16) 55%, transparent 72%); filter: blur(10px); pointer-events: none; }
.hero-product::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252, 211, 165, 0.45) 20%, rgba(255, 238, 218, 0.7) 50%, rgba(252, 211, 165, 0.45) 80%, transparent); }
.hero-product img { position: relative; width: 100%; height: auto;
  filter: drop-shadow(0 0 1px rgba(255, 226, 196, 0.55)) drop-shadow(0 -2px 30px rgba(242, 124, 62, 0.18)) drop-shadow(0 28px 40px rgba(0, 0, 0, 0.6)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-product img { animation: arrive 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-product::before { animation: warm 2.4s ease-out .3s both; }
}
@keyframes arrive { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes warm { from { opacity: 0; } to { opacity: 1; } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin: clamp(32px, 4vw, 48px) auto 0; max-width: 1040px; }
.facts div { display: grid; gap: 6px; padding-inline-start: 18px; border-inline-start: 1px solid rgba(252, 211, 165, 0.3); }
.facts dt { font-family: var(--f-num); font-weight: 600; font-stretch: 112%; font-size: clamp(1.625rem, 1.2rem + 1.3vw, 2.25rem); line-height: 1.05; letter-spacing: -0.01em; color: var(--flour); font-variant-numeric: tabular-nums; }
.facts dd { margin: 0; font-size: var(--s-cap); color: var(--dough); line-height: 1.5; }
.lang-ar .facts dd { font-size: .9375rem; }
@media (max-width: 880px) { .hero-head { grid-template-columns: minmax(0, 1fr); } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Scene */
.photo-wide { aspect-ratio: 4 / 3; }

/* Control (tint, centred head) */
.panel-shot { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #1b1918; }
.panel-shot img { width: 100%; height: auto; }
@media (max-width: 640px) {
  .panel-shot { overflow-x: auto; scrollbar-width: none; }
  .panel-shot::-webkit-scrollbar { display: none; }
  .panel-shot img { width: 760px; max-width: none; }
}
.programs { display: grid; justify-items: center; gap: 14px; margin: 28px auto clamp(56px, 7vw, 96px); text-align: center; }
.programs h3 { font-size: 1rem; font-weight: 500; color: var(--fg-2); }
.programs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.programs li { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); font-size: .9375rem; line-height: 1.4; color: var(--text); }
.lab { --t: 1; --b: 1; display: grid; gap: 12px; padding: 12px; border-radius: var(--r-lg); background: #1b1918; box-shadow: 0 24px 48px -28px rgba(43, 2, 6, 0.55); }
.chamber { position: relative; border-radius: var(--r); overflow: hidden; background: #0b0505; }
.chamber img { width: 100%; height: auto; aspect-ratio: 1280 / 669; object-fit: cover; filter: saturate(calc(0.75 + 0.3 * max(var(--t), var(--b)))); }
.shade { position: absolute; inset-inline: 0; pointer-events: none; }
.shade-top { top: 0; height: 64%; background: rgba(12, 4, 3, calc((1 - var(--t)) * 0.82)); -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.shade-bottom { bottom: 0; height: 22%; background: rgba(12, 4, 3, calc((1 - var(--b)) * 0.82)); -webkit-mask-image: linear-gradient(0deg, #000 70%, transparent); mask-image: linear-gradient(0deg, #000 70%, transparent); }
.console { display: grid; padding: 6px 16px; border-radius: var(--r); background: #0a0606; color: var(--flour); }
.knob-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; min-height: 60px; }
.ctrl { display: inline-flex; align-items: center; gap: 14px; }
.knob-row + .knob-row { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.tl { font-size: .9375rem; color: var(--dough); }
.readout { display: inline-flex; align-items: flex-start; gap: 4px; min-width: 7.2rem; justify-content: flex-end; }
.unit { font-family: var(--f-num); color: var(--seg-on); font-size: .9375rem; padding-top: 2px; }
.seg { display: inline-block; line-height: 1; }
.seg svg { display: block; height: var(--h, 40px); width: auto; overflow: visible; filter: drop-shadow(0 0 6px rgba(242, 124, 62, 0.5)); }
.seg .on { fill: var(--seg-on); }
.seg .off { fill: var(--seg-off); }
.step { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid #9A7B6E; background: transparent; color: var(--flour); cursor: pointer; transition: border-color .2s, background-color .2s; }
.step .ic { width: 20px; height: 20px; }
.step:hover { border-color: var(--ember); background: rgba(242, 124, 62, 0.16); }
.step:disabled { opacity: .35; cursor: default; }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.presets-label { font-size: .9375rem; color: var(--fg-2); margin-inline-end: 6px; }
.chip { font: inherit; font-size: .9375rem; line-height: 1.4; color: var(--text); background: var(--white); border: 1.5px solid var(--ui-line); border-radius: 999px; padding: 8px 16px; cursor: pointer; display: inline-flex; gap: 8px; transition: border-color .2s, background-color .2s; }
.chip span { color: var(--rust); font-family: var(--f-num); font-variant-numeric: tabular-nums; font-weight: 500; }
.chip:hover { border-color: var(--oxblood); }
.chip[aria-pressed="true"] { border-color: var(--oxblood); background: var(--oxblood); color: var(--flour); }
.chip[aria-pressed="true"] span { color: var(--copper); }
.state { min-height: 3.6em; font-size: 1.125rem; line-height: 1.6; color: var(--text); border-inline-start: 3px solid var(--rust); padding-inline-start: 16px; }
.lang-ar .state { line-height: 1.8; }
.note { font-size: var(--s-cap); color: var(--fg-2); }
@media (max-width: 420px) { .knob-row, .ctrl { gap: 8px; } .readout { min-width: 6rem; } .console { padding: 4px 12px; } }

/* Features (light) */
.features-media { position: sticky; top: 96px; }
.features-media .photo { aspect-ratio: 1 / 1; }
.features h2 { margin-bottom: clamp(28px, 3.5vw, 44px); }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.feature-grid li { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 1px solid var(--rule); }
.feature-grid .ic { order: -2; color: var(--rust); width: 28px; height: 28px; margin-bottom: 8px; }
.feature-grid h3 { color: var(--oxblood); }
.feature-grid p { font-size: 1rem; line-height: 1.6; color: var(--text-2); }
.lang-ar .feature-grid p { font-size: 1.0625rem; line-height: 1.8; }
.feature-grid .val { order: -1; font-family: var(--f-num); font-weight: 600; font-size: var(--s-cap); color: var(--rust); font-variant-numeric: tabular-nums; }
.lang-ar .feature-grid .val { font-family: var(--f-body); }
@media (max-width: 880px) { .features-media { position: static; } .features-media .photo { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Baked (dark, centred head) */
.baked .head { max-width: 900px; }
.baked-list { list-style: none; margin: 4px 0 0; padding: 0; font-family: var(--f-disp); font-weight: 600; font-size: clamp(1.375rem, 1rem + 1.5vw, 2rem); line-height: 1.5; color: var(--flour); text-align: center; }
.lang-en .baked-list { font-stretch: 112%; letter-spacing: -0.015em; }
.baked-list li { display: inline; }
.baked-list li:not(:last-child)::after { content: ""; display: inline-block; width: 22px; height: .28em; margin-inline: .5em; vertical-align: middle;
  background: linear-gradient(90deg, var(--rust), var(--ember)); clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.lang-ar .baked-list li:not(:last-child)::after { background: linear-gradient(270deg, var(--rust), var(--ember)); }
.photo-pano { aspect-ratio: 1800 / 954; }
.baked-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: 28px auto 0; max-width: none; color: var(--fg-2); font-size: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 1rem; }
.text-link:hover { color: var(--fg); }
.text-link .ic, .foot-links .ic { width: 18px; height: 18px; }
@media (max-width: 880px) { .photo-pano { aspect-ratio: 4 / 3; object-position: 45% 50%; } }

/* In the box (tint, centred head, white cards) */
.box-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.box-item { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); background: var(--white); overflow: hidden; border: 1px solid var(--rule); }
.box-media { display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); min-height: 300px; }
.box-media img { width: 100%; height: auto; max-height: 320px; object-fit: contain; }
.is-free .box-media img { max-width: 300px; mix-blend-mode: multiply; }
.box-text { display: grid; gap: 6px; padding: 22px 26px 26px; border-top: 1px solid var(--rule); }
.box-text h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--oxblood); }
.box-text p { color: var(--text-2); font-size: 1rem; }
.free { font-family: var(--f-body); font-size: var(--s-cap); font-weight: 600; color: #fff; background: var(--rust); border-radius: 999px; padding: 3px 12px; line-height: 1.5; }
@media (max-width: 760px) { .box-list { grid-template-columns: minmax(0, 1fr); } .box-media { min-height: 220px; } }

/* Specs (light) */
.specs-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.specs-side { display: grid; gap: 40px; position: sticky; top: 96px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: start; vertical-align: top; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; line-height: 1.55; }
.lang-ar th, .lang-ar td { font-size: 1.0625rem; line-height: 1.75; }
th { width: 36%; color: var(--text-2); font-weight: 400; padding-inline-end: 24px; }
td { color: var(--text); font-weight: 500; }
tr:first-child th, tr:first-child td { border-top: 1px solid var(--rule); }
.dims { margin: 0; display: grid; gap: 14px; }
.dims-stage { position: relative; padding-inline-start: 46px; padding-bottom: 40px; }
.dims-stage img { width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(43, 2, 6, 0.18)); }
.dim { position: absolute; color: var(--rust); }
.dim b { font-family: var(--f-num); font-weight: 600; font-size: var(--s-cap); color: var(--rust); background: var(--white); padding: 0 6px; position: absolute; white-space: nowrap; }
.lang-ar .dim b { font-family: var(--f-body); }
.dim-w { inset-inline-start: 46px; inset-inline-end: 0; bottom: 8px; height: 12px; border-inline: 1px solid currentColor; }
.dim-w::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; }
.dim-w b { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.dim-h { inset-inline-start: 8px; top: 0; bottom: 40px; width: 12px; border-block: 1px solid currentColor; }
.dim-h::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid currentColor; }
.dim-h b { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.dims figcaption { font-size: var(--s-cap); color: var(--text-2); }
@media (max-width: 880px) { .specs-grid { grid-template-columns: minmax(0, 1fr); } .specs-side { position: static; } }

/* FAQ (light, divided from specs by a rule) */
.faq { padding-top: 0; }
.faq .wrap { padding-top: var(--sec); border-top: 1px solid var(--rule); }
.faq-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
details { border-bottom: 1px solid var(--rule); }
details:first-child { border-top: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.5; color: var(--oxblood); }
.lang-ar summary { font-size: 1.125rem; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--rust); }
.ic-faq { color: var(--rust); width: 22px; height: 22px; transition: transform .25s ease; }
details[open] .ic-faq { transform: rotate(45deg); }
details .a { padding: 0 0 22px; color: var(--text-2); }
@media (max-width: 880px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* Placeholders the owner must fill before launch */
.todo { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 10px; border: 1.5px dashed var(--rust); border-radius: var(--r-sm); background: #FFF4EC; color: var(--oxblood); font-size: .9375rem; line-height: 1.5; }
.todo b { font-weight: 600; font-size: var(--s-cap); background: var(--rust); color: #fff; padding: 0 8px; border-radius: 4px; }

/* Order (tint, white form card) */
.price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 1.125rem; margin-top: 4px; color: var(--oxblood); font-weight: 600; }
.order-points { list-style: none; margin: 8px 0 0; padding: 0; }
.order-points li { display: grid; grid-template-columns: 24px 6.5rem minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule); }
.order-points li:last-child { border-bottom: 1px solid var(--rule); }
.order-points .ic { color: var(--rust); }
.pt-k { color: var(--text-2); font-size: 1rem; }
.pt-v { color: var(--text); font-weight: 500; }
.order-form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--rule); box-shadow: 0 24px 48px -32px rgba(43, 2, 6, 0.35); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; }
label { font-size: .9375rem; font-weight: 600; color: var(--oxblood); }
input, textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--white); border: 1.5px solid var(--ui-line); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #8A7670; }
input:focus, textarea:focus { outline: none; border-color: var(--oxblood); box-shadow: 0 0 0 3px rgba(242, 124, 62, 0.35); }
input[aria-invalid="true"] { border-color: #B3261E; }
.lang-ar input[dir="ltr"] { text-align: right; }
.err { margin: 0; font-size: var(--s-cap); color: #B3261E; font-weight: 500; }
.err:empty, .form-msg:empty { display: none; }
.form-msg { font-size: .9375rem; color: var(--oxblood); }
.form-msg a { color: var(--rust); }

/* Footer (brand) */
.foot { padding: 56px 0 48px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.foot-logo { width: 140px; height: auto; }
.foot p { color: var(--dough); font-size: .9375rem; }
.fine { font-size: var(--s-cap); color: var(--dough); margin-top: 6px; opacity: .9; }
.foot-links { display: grid; gap: 10px; justify-items: end; font-size: .9375rem; }
.foot-links a { color: var(--flour); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.foot-links a:hover { color: var(--copper); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } .foot-links { justify-items: start; } }

/* Mobile buy bar */
.buybar { display: none; }
@media (max-width: 760px) {
  .buybar { position: fixed; z-index: 40; inset-inline: 0; bottom: 0; display: flex; align-items: center; gap: 12px; justify-content: space-between;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(43, 2, 6, 0.96); color: var(--flour);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(252, 211, 165, 0.16); transition: transform .3s ease; }
  .buybar.is-hidden { transform: translateY(110%); }
  .buybar-text { display: grid; line-height: 1.4; min-width: 0; }
  .buybar-text strong { font-size: .9375rem; font-weight: 600; }
  .buybar-text span { display: inline-flex; align-items: center; gap: 6px; font-size: var(--s-cap); color: var(--seg-on); }
  .buybar-text .ic { width: 16px; height: 16px; color: var(--copper); }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
