/* Foodidu — one stylesheet for EN (ltr) and AR (rtl). Logical properties only. */

:root {
  --sun: #FFD15C;
  --sun-2: #FFC533;
  --sun-3: #FFE4A1;
  --sun-4: #FFF1CC;
  --cream: #FFF9EB;
  --paper: #FFFFFF;
  --ink: #543A14;
  --ink-2: #6B522C;
  --ink-deep: #3A280D;
  --leaf: #7EB143;
  --leaf-deep: #4A7A1E;
  --leaf-soft: #EAF3DC;
  --line: #EFDFBA;
  --line-2: #E4CF9E;
  --focus: #2F6BFF;

  --font-display: "Lalezar", "Readex Pro", system-ui, sans-serif;
  --font-body: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-code: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow-1: 0 1px 0 rgba(84, 58, 20, .06), 0 10px 26px -12px rgba(84, 58, 20, .28);
  --shadow-2: 0 2px 0 rgba(84, 58, 20, .08), 0 22px 40px -18px rgba(84, 58, 20, .38);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --stub: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--sun); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }
[dir="ltr"] .code, .code { direction: ltr; unicode-bidi: isolate; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, color .18s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-ink { background: var(--ink); color: var(--sun); box-shadow: 0 4px 0 var(--ink-deep); }
.btn-ink:hover { background: var(--ink-deep); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 #D9A92E; }
.btn-sun:hover { background: var(--sun-2); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(84, 58, 20, .06); }
.btn-leaf { background: var(--leaf-deep); color: #fff; box-shadow: 0 4px 0 #36591A; }
.btn-leaf:hover { background: #3F6A18; }

/* ---------- header ---------- */
/* The blur lives on ::before so the fixed mobile menu is positioned against the viewport, not the header. */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 209, 92, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  transition: background-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.scrolled::before { background: rgba(255, 249, 235, .95); }
.header-in { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-inline-end: auto; flex: none; }
.brand img { height: 46px; width: auto; transition: transform .3s var(--ease); }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .98rem;
  transition: background-color .15s;
}
.nav > a:hover { background: rgba(84, 58, 20, .08); }
.nav > a[aria-current="page"] { background: var(--ink); color: var(--sun); }
.nav-ic, .nav .nav-go, .nav-extra, .nav-backdrop { display: none; }
.lang {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px;
  border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem;
  transition: background-color .15s, color .15s;
}
.lang:hover { background: var(--ink); color: var(--sun); }
.lang[lang="ar"] { font-family: var(--font-body); }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--ink);
  background: transparent; align-items: center; justify-content: center; transition: background-color .15s, color .15s;
}
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--sun); }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; }
  .lang { padding: 0 12px; }
  html.menu-open { overflow: hidden; }
  .nav {
    position: fixed; top: 72px; bottom: 0; inset-inline-end: 0; z-index: 2;
    width: min(88vw, 380px); overflow-y: auto; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
    background: var(--cream); border-start-start-radius: 26px;
    box-shadow: 0 0 0 1px var(--line), -24px 0 40px -24px rgba(58, 40, 13, .45);
    transform: translateX(105%); visibility: hidden;
    transition: transform .32s var(--ease), visibility 0s linear .32s;
  }
  [dir="rtl"] .nav { transform: translateX(-105%); box-shadow: 0 0 0 1px var(--line), 24px 0 40px -24px rgba(58, 40, 13, .45); }
  .nav.open { transform: none; visibility: visible; transition: transform .32s var(--ease), visibility 0s; }
  .nav > a {
    gap: 14px; padding: 10px 12px; min-height: 60px; border-radius: 18px; font-size: 1.08rem; font-weight: 700;
    background: var(--paper); border: 2px solid var(--line);
  }
  .nav > a:hover { background: var(--paper); border-color: var(--ink); }
  .nav > a[aria-current="page"] { border-color: var(--ink); }
  .nav-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sun-4); color: var(--ink); flex: none; }
  .nav > a:nth-child(2) .nav-ic { background: var(--sun); }
  .nav > a:nth-child(3) .nav-ic { background: var(--leaf-soft); color: var(--leaf-deep); }
  .nav > a[aria-current="page"] .nav-ic { background: var(--sun); color: var(--ink); }
  .nav .nav-go { display: block; margin-inline-start: auto; width: 18px; height: 18px; opacity: .55; }
  .nav.open > a { animation: slideIn .4s var(--ease) both; }
  .nav.open > a:nth-child(2) { animation-delay: .04s; } .nav.open > a:nth-child(3) { animation-delay: .08s; }
  .nav.open > a:nth-child(4) { animation-delay: .12s; } .nav.open > a:nth-child(5) { animation-delay: .16s; }
  .nav-extra { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; }
  .nav-label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
  .nav .nav-lang { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 16px; text-decoration: none; font-weight: 700; border: 2px solid var(--ink); font-size: 1rem; }
  .nav .nav-lang[lang="ar"] { font-family: var(--font-body); }
  .nav-backdrop {
    display: block; position: fixed; inset: 72px 0 0 0; z-index: 1;
    background: rgba(58, 40, 13, .45); opacity: 0; transition: opacity .3s;
  }
  .nav-backdrop.show { opacity: 1; }
  .nav-backdrop[hidden] { display: none; }
}
@media (max-width: 380px) {
  .brand img { height: 40px; }
  .header-in { gap: 8px; }
}
@media (max-width: 340px) { .lang .lang-long { display: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } }
[dir="rtl"] .nav.open > a { animation-name: slideInRtl; }
@keyframes slideInRtl { from { opacity: 0; transform: translateX(-24px); } }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--sun);
  padding-block: clamp(28px, 6vw, 72px) clamp(28px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background: url("/img/pattern.svg") center / 375px auto repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.scallop {
  height: 16px; position: relative; z-index: 1;
  background: radial-gradient(circle at 12px 0, var(--sun) 11px, transparent 11.5px) 0 0 / 24px 16px repeat-x;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font: 700 .92rem/1.3 var(--font-body); color: var(--ink);
  background: rgba(255, 255, 255, .55); border: 1.5px solid rgba(84, 58, 20, .18);
  padding: 7px 14px; border-radius: 999px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-deep); box-shadow: 0 0 0 4px rgba(74, 122, 30, .18); }
.display { display: block; font-size: clamp(2.9rem, 7.4vw, 5.6rem); line-height: 1.02; color: var(--ink); }
[dir="rtl"] .display { line-height: 1.3; font-size: clamp(2.8rem, 7.4vw, 5.4rem); }
/* second line styled like the logo: yellow letters on a brown badge */
.display em {
  display: inline-block; margin-top: .12em; padding: .04em .32em .12em;
  font-style: normal; color: var(--sun); background: var(--ink);
  border-radius: .26em; transform: rotate(-2deg);
  box-shadow: 0 .08em 0 rgba(58, 40, 13, .35);
}
[dir="rtl"] .display em { transform: rotate(2deg); padding: .06em .36em .16em; }
.lede { margin-top: 18px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34em; color: var(--ink-2); }
.hero .lede { color: var(--ink); }

/* search */
.search { position: relative; margin-top: 26px; max-width: 540px; }
.search-box {
  display: flex; align-items: center; gap: 8px; padding: 6px; padding-inline-start: 18px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 0 5px 0 var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.search-box:focus-within { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.search-box .icon { color: var(--ink-2); }
.search input {
  flex: 1 1 0; width: 100%; min-width: 0; border: 0; background: transparent; outline: none;
  font-size: 1.05rem; padding: 10px 4px;
}
.search input::placeholder { color: #9A8566; }
.search input::-webkit-search-cancel-button { display: none; }
.search .btn { min-height: 46px; padding-inline: 1.2em; }
.search-results {
  position: absolute; inset-inline: 0; top: calc(100% + 12px); z-index: 30; list-style: none;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; padding: 6px;
  box-shadow: var(--shadow-2); max-height: 340px; overflow: auto;
}
.search-results[hidden] { display: none; }
.search-results a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none;
}
.search-results a:hover, .search-results a.active { background: var(--sun-4); }
.search-results img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.search-results .r-name { font-weight: 700; }
.search-results .r-offer { font-size: .88rem; color: var(--ink-2); display: block; line-height: 1.35; }
.search-results .r-empty { padding: 12px 14px; color: var(--ink-2); }

.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1.5px solid rgba(84, 58, 20, .14);
  font-weight: 700; font-size: .9rem; line-height: 1.25;
}
.hero-facts .icon { color: var(--leaf-deep); width: 1.15em; height: 1.15em; }
.hero-facts b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1; }

/* hero ticket stack */
.stack { position: relative; min-height: 440px; }
.stack .mini { position: absolute; width: min(330px, 86%); }
.stack .mini:nth-child(1) { inset-inline-start: 0; top: 0; --rot: -7deg; z-index: 1; }
.stack .mini:nth-child(2) { inset-inline-end: 0; top: 118px; --rot: 5deg; z-index: 2; }
.stack .mini:nth-child(3) { inset-inline-start: 6%; top: 250px; --rot: -2deg; z-index: 3; }
[dir="rtl"] .stack .mini { --flip: -1; }
.stack .mini { transform: rotate(calc(var(--rot) * var(--flip, 1))); animation: deal .7s var(--ease) both; }
.stack .mini:nth-child(2) { animation-delay: .12s; }
.stack .mini:nth-child(3) { animation-delay: .24s; }
.stack .mini:hover { z-index: 5; transform: rotate(0) translateY(-6px) scale(1.02); transition: transform .3s var(--ease); }
@keyframes deal { from { opacity: 0; transform: translateY(40px) rotate(0deg) scale(.94); } }
@keyframes pop { from { opacity: 0; transform: scale(.4) rotate(-30deg); } }
.hero-art { position: relative; }
.stack-label { display: none; }
.sticker {
  position: absolute; inset-inline-end: 0; bottom: -6px; z-index: 6; width: 150px; height: auto;
  transform: rotate(8deg); filter: drop-shadow(0 6px 0 rgba(84, 58, 20, .25));
  animation: pop .6s .5s var(--ease) both; pointer-events: none;
}
[dir="rtl"] .sticker { transform: rotate(-8deg); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero .search { text-align: start; }
  .hero-facts li { justify-content: center; }
  .hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts li { border-radius: 14px; padding: 8px 12px; font-size: .86rem; }
  .hero-facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stack-label { display: flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; font: 700 1.02rem/1.3 var(--font-body); color: var(--ink); }
  .stack-label .icon { width: 18px; height: 18px; }
  .sticker { top: -6px; bottom: auto; width: 108px; }
  .stack { min-height: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 4px 22px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .stack::-webkit-scrollbar { display: none; }
  .stack .mini { position: relative; inset: auto !important; top: auto !important; width: 270px; flex: none; scroll-snap-align: start; transform: rotate(calc(var(--rot) * .4 * var(--flip, 1))); }
}

/* ---------- coupon ticket ---------- */
.ticket-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.ticket-list > li { filter: drop-shadow(0 1px 0 rgba(84, 58, 20, .08)) drop-shadow(0 14px 18px rgba(84, 58, 20, .14)); transition: filter .25s, transform .25s var(--ease); }
.ticket-list > li:hover { transform: translateY(-4px); filter: drop-shadow(0 2px 0 rgba(84, 58, 20, .1)) drop-shadow(0 22px 26px rgba(84, 58, 20, .2)); }
.ticket-list > li[hidden] { display: none; }
.ticket {
  --notch: 13px;
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--r);
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub)), transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub)), transparent 98%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--stub)), transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--stub)), transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket-main { padding: 20px 22px 18px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.ticket-top { display: flex; align-items: center; gap: 12px; }
.logo-tile {
  width: 52px; height: 52px; flex: none; border-radius: 14px; overflow: hidden;
  background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.ticket-brand { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.ticket-brand a { text-decoration: none; }
.ticket-brand a::after { content: ""; position: absolute; inset: 0 0 var(--stub) 0; }
.ticket-brand a:hover { text-decoration: underline; }
.ticket-meta { display: block; font-size: .84rem; color: var(--ink-2); line-height: 1.3; }
.flag {
  margin-inline-start: auto; align-self: flex-start; flex: none;
  font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--leaf-soft); color: #2F5310; border: 1px solid #CFE3B3;
}
.deal { display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.deal b { font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1; }
.deal span { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--leaf-deep); }
.ticket-offer { color: var(--ink-2); font-size: .98rem; line-height: 1.45; }
.ticket-check { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: .82rem; font-weight: 700; color: var(--leaf-deep); }
.ticket-check .icon { width: 1.1em; height: 1.1em; }
.ticket-stub {
  height: var(--stub); flex: none; display: flex; align-items: center; gap: 10px;
  padding: 0 18px; border-top: 2px dashed var(--line-2); position: relative; z-index: 1;
  background: linear-gradient(var(--sun-4), var(--sun-4)) padding-box;
  border-radius: 0 0 var(--r) var(--r);
}
.ticket-more {
  display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; flex: none;
  font-weight: 700; font-size: .92rem; text-decoration: none; padding: 8px 6px;
}
.ticket-more:hover { text-decoration: underline; }
.ticket-more .icon { width: 1em; height: 1em; }
.ticket-stub .code-btn { flex: 1; min-width: 0; }
.ticket-stub .code-btn .code { flex: 1; justify-content: center; }
@media (max-width: 440px) {
  .ticket-main { padding: 18px 18px 16px; }
  .ticket-stub { padding: 0 14px; gap: 6px; }
  .ticket-more { width: 40px; height: 40px; justify-content: center; border-radius: 12px; padding: 0; background: rgba(84, 58, 20, .08); }
  .ticket-more .more-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .code-btn .code { font-size: .95rem; letter-spacing: .03em; padding: 0 10px; }
  .code-btn .act { padding: 0 12px; }
}
@media (max-width: 360px) {
  .ticket-stub { padding: 0 12px; }
  .code-btn .code { letter-spacing: 0; padding: 0 8px; font-size: .9rem; }
  .ticket-more { width: 36px; height: 36px; }
  .code-btn .act { padding: 0 10px; gap: 4px; }
}

/* copy-code button */
.code-btn {
  display: inline-flex; align-items: stretch; min-height: 46px; max-width: 100%;
  border: 2px dashed var(--ink); border-radius: 12px; background: var(--paper); padding: 0; overflow: hidden;
  transition: border-color .2s, transform .15s;
}
.code-btn:hover { transform: translateY(-1px); }
.code-btn .code {
  display: inline-flex; align-items: center; padding: 0 12px; min-width: 0;
  font: 700 1rem/1 var(--font-code); letter-spacing: .06em; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; -webkit-user-select: all; user-select: all;
}
.code-btn .act {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; flex: none;
  background: var(--ink); color: var(--sun); font-weight: 700; font-size: .92rem;
  transition: background-color .2s;
}
.code-btn .act .icon { width: 1.05em; height: 1.05em; }
.code-btn .i-check, .code-btn.copied .i-copy { display: none; }
.code-btn.copied .i-check { display: block; }
.code-btn.copied { border-color: var(--leaf-deep); border-style: solid; }
.code-btn.copied .act { background: var(--leaf-deep); color: #fff; }
.code-btn.copied .act { animation: stamp .35s var(--ease); }
@keyframes stamp { 40% { transform: scale(1.12); } }
.code-btn.lg { min-height: 60px; border-width: 2.5px; border-radius: 16px; width: 100%; }
.code-btn.lg .code { font-size: clamp(1.05rem, 4.6vw, 1.35rem); padding: 0 14px; flex: 1; justify-content: center; }
.code-btn.lg .act { padding: 0 20px; font-size: 1rem; }

/* mini ticket (hero) */
.mini .ticket { --stub: 70px; }
.mini .ticket-main { padding: 18px 20px 14px; gap: 8px; }
.mini .deal b { font-size: 3.4rem; }
.mini .ticket-stub { padding: 0 16px; }
.mini .code-btn { flex: 1; }
.mini .code-btn .code { flex: 1; justify-content: center; }
.mini-wrap { filter: drop-shadow(0 2px 0 rgba(84, 58, 20, .18)) drop-shadow(0 18px 22px rgba(84, 58, 20, .22)); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(28px, 4vw, 48px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--leaf-deep); margin-bottom: 8px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: var(--ink); }
.section-sub { color: var(--ink-2); max-width: 40em; margin-top: 10px; }

/* filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--line-2); background: var(--paper); border-radius: 999px;
  font-weight: 500; font-size: .96rem; transition: border-color .15s, background-color .15s, color .15s;
  text-decoration: none;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--sun); }
.chip .n { font-size: .8rem; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--sun-4); color: var(--ink); }
.chip[aria-pressed="true"] .n { background: var(--sun); }
.filters .sep { width: 1px; background: var(--line-2); margin-inline: 4px; }
.empty { padding: 28px; text-align: center; border: 2px dashed var(--line-2); border-radius: var(--r); color: var(--ink-2); }
.empty[hidden] { display: none; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--r); text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease);
}
.cat:hover { border-color: var(--ink); transform: translateY(-3px); }
.cat .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sun); color: var(--ink); flex: none; }
.cat:nth-child(2) .ic { background: var(--leaf-soft); color: var(--leaf-deep); }
.cat:nth-child(3) .ic { background: var(--sun-4); }
.cat .ic .icon { width: 28px; height: 28px; }
.cat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.cat small { display: block; color: var(--ink-2); font-size: .9rem; }
.cat .go { margin-inline-start: auto; }
@media (max-width: 760px) { .cats { grid-template-columns: minmax(0, 1fr); } }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 26px 24px 24px; background: var(--paper); border-radius: var(--r); border: 2px solid var(--line); }
.step .num {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 16px;
  font-family: var(--font-display); font-size: 2.2rem; line-height: 1; background: var(--sun); color: var(--ink);
  box-shadow: 0 4px 0 #D9A92E; transform: rotate(-4deg);
}
.step:nth-child(2) .num { transform: rotate(3deg); background: var(--leaf); color: #fff; box-shadow: 0 4px 0 var(--leaf-deep); }
.step h3 { font-size: 1.6rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* why */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why li { list-style: none; padding: 22px; border-radius: var(--r); background: var(--sun-4); }
.why .icon { width: 30px; height: 30px; color: var(--ink); margin-bottom: 12px; }
.why h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; line-height: 1.35; margin-bottom: 6px; }
.why p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 980px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why { grid-template-columns: minmax(0, 1fr); } }

/* partner band */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--cream); border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08;
  background: url("/img/pattern.svg") center / 300px auto repeat;
}
.band h2 { color: var(--sun); font-size: clamp(2rem, 4vw, 3rem); }
.band p { margin-top: 10px; max-width: 36em; color: #F3E6C8; }
.band .face { width: 200px; height: auto; transform: rotate(-4deg); filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .3)); }
.band .btn { margin-top: 22px; }
@media (max-width: 700px) { .band { grid-template-columns: minmax(0, 1fr); } .band .face { width: 150px; grid-row: 1; } }

/* app section: centred header (logo, title, store buttons on one line) + sticker-style feature cards */
.app-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 5vw, 60px) clamp(18px, 5vw, 56px) clamp(30px, 5vw, 56px); border-radius: var(--r-lg);
  background: var(--leaf); color: var(--ink-deep); text-align: center;
}
.app-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; mix-blend-mode: soft-light;
  background: url("/img/pattern.svg") center / 330px auto repeat;
}
.app-copy { max-width: 660px; margin-inline: auto; }
.app-logo { width: 168px; height: auto; margin: 0 auto 18px; filter: drop-shadow(0 5px 0 rgba(58, 40, 13, .25)); }
.app-band .eyebrow { color: var(--ink-deep); }
.app-band .eyebrow::after { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.app-band .h2 { color: var(--ink-deep); }
.app-sub { margin: 12px auto 0; max-width: 34em; font-size: 1.05rem; }
.app-copy .stores { justify-content: center; flex-wrap: nowrap; gap: 10px; }
.app-copy .store { flex: 0 1 auto; min-width: 0; }

.app-feats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 46px 16px; margin-top: 60px; }
.app-feats li {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 46px 18px 22px; background: var(--cream);
  border: 2.5px solid var(--ink-deep); border-radius: 22px; box-shadow: 0 6px 0 var(--ink-deep);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.app-feats li:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink-deep); }
.app-feats .ic {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--ink-deep);
  border: 2.5px solid var(--ink-deep); box-shadow: 0 4px 0 var(--ink-deep);
}
.app-feats li:nth-child(even) .ic { background: #fff; }
.app-feats .ic .icon { width: 28px; height: 28px; }
.app-feats h3 { font-size: 1.3rem; line-height: 1.25; color: var(--ink-deep); margin-bottom: 4px; }
[dir="rtl"] .app-feats h3 { line-height: 1.5; }
.app-feats p { color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
@media (max-width: 980px) { .app-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .app-feats { gap: 42px 12px; margin-top: 52px; }
  .app-feats li { padding: 38px 10px 16px; border-radius: 18px; }
  .app-feats .ic { width: 56px; height: 56px; }
  .app-feats .ic .icon { width: 24px; height: 24px; }
  .app-feats h3 { font-size: 1.08rem; }
  .app-feats p { font-size: .82rem; }
  .app-copy .stores { gap: 8px; }
  .app-copy .store { gap: 7px; min-height: 48px; padding: 6px 12px 6px 10px; border-radius: 12px; }
  [dir="rtl"] .app-copy .store { padding: 6px 10px 6px 12px; }
  .app-copy .store .icon { width: 20px; height: 20px; }
  .app-copy .store small { font-size: .64rem; }
  .app-copy .store b { font-size: .9rem; }
}

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 18px 8px 14px;
  border-radius: 14px; background: var(--ink-deep); color: #fff; text-decoration: none; line-height: 1.15;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .3); transition: transform .15s, background-color .15s;
}
[dir="rtl"] .store { padding: 8px 14px 8px 18px; }
a.store:hover { background: #000; transform: translateY(-2px); }
.store .icon { width: 24px; height: 24px; color: var(--sun); }
.store small { display: block; font-size: .72rem; opacity: .85; }
.store b { display: block; font-size: 1.05rem; direction: ltr; }
[dir="rtl"] .store b { text-align: right; }
.store.soon { background: rgba(58, 40, 13, .12); color: var(--ink-deep); box-shadow: none; cursor: default; border: 2px dashed rgba(58, 40, 13, .45); }
.store.soon .icon { color: var(--ink-deep); }
.stores-menu { margin-top: 0; }
.stores-menu .store { flex: 1 1 150px; justify-content: center; }
.stores-menu .store.soon { background: transparent; }
.stores-foot { margin-top: 12px; }
.stores-foot .store { min-height: 48px; padding-block: 6px; }
.stores-foot .store.soon { color: #EADFC6; border-color: rgba(234, 223, 198, .45); background: transparent; }
.stores-foot .store.soon .icon { color: #EADFC6; }
.site-footer .foot-app { margin-top: 22px; margin-bottom: 0; }

/* day deals: calendar-page badge + offer card */
.dday-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 18px; }
.dday {
  position: relative; display: flex; gap: 18px; align-items: flex-start; height: 100%;
  padding: 20px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s;
}
.dday:hover { border-color: var(--ink); }
.dday.is-today { border-color: var(--leaf-deep); box-shadow: 0 0 0 4px rgba(74, 122, 30, .16); }
.dday-cal {
  flex: none; width: 96px; border-radius: 16px; overflow: hidden; text-align: center; background: var(--cream);
  border: 2.5px solid var(--ink-deep); box-shadow: 0 4px 0 var(--ink-deep);
}
.dday-cal span { display: block; background: var(--ink-deep); color: var(--sun); font-weight: 700; font-size: .82rem; padding: 4px 0 6px; }
.dday-cal b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; padding: 12px 4px 14px; color: var(--ink-deep); }
[dir="rtl"] .dday-cal b { font-size: 1.5rem; line-height: 1.5; padding: 8px 4px 10px; }
.dday.is-today .dday-cal span { background: var(--leaf-deep); color: #fff; }
.dday-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.dday-brand { display: flex; align-items: center; gap: 12px; }
.dday-brand .logo-tile { width: 44px; height: 44px; border-radius: 12px; }
.dday-brand .logo-tile .icon { width: 22px; height: 22px; }
.dday-name { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.dday-name a { text-decoration: none; }
.dday-name a:hover { text-decoration: underline; }
.today-tag { margin-inline-start: auto; align-self: flex-start; flex: none; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--leaf-deep); color: #fff; }
.today-tag[hidden] { display: none; }
.dday-title { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.2; color: var(--ink); }
[dir="rtl"] .dday-title { line-height: 1.5; }
.dday-text { color: var(--ink-2); font-size: .95rem; }
.dday-src { display: flex; align-items: flex-start; gap: 6px; font-size: .84rem; color: var(--ink-2); }
.dday-src .icon { width: 1em; height: 1em; margin-top: .25em; flex: none; }
.dday-src a { font-weight: 700; color: var(--ink); }
.dd-more { margin-top: 12px; }
.dd-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.dd-more .icon { width: 1em; height: 1em; }
.dd-know {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px; border: 2px dashed var(--line-2); border-radius: var(--r); background: var(--paper);
}
.dd-know h2 { font-size: 1.45rem; margin-bottom: 4px; }
.dd-know p { color: var(--ink-2); max-width: 40em; }
.dd-know-links { display: flex; flex-wrap: wrap; gap: 10px; }
.dd-know-links .btn { min-height: 44px; padding: .5em 1.1em; font-size: .95rem; }
@media (max-width: 520px) {
  .dday { gap: 12px; padding: 14px; }
  .dday-cal { width: 68px; border-radius: 13px; }
  .dday-cal span { font-size: .72rem; padding: 3px 0 4px; }
  .dday-cal b { font-size: 1.05rem; padding: 8px 2px 10px; }
  [dir="rtl"] .dday-cal b { font-size: 1.15rem; padding: 4px 2px 6px; }
  .dday-brand .logo-tile { width: 38px; height: 38px; }
  .dday-title { font-size: 1.3rem; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; transition: border-color .2s; }
.faq details[open] { border-color: var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; font-weight: 700; font-size: 1.05rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { margin-inline-start: auto; width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--sun-4); transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--sun); }
.faq .ans { padding: 0 20px 20px; color: var(--ink-2); }
.faq .ans a { font-weight: 700; color: var(--ink); }
.two-col { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--sun); position: relative; isolation: isolate; padding-block: clamp(26px, 5vw, 56px) clamp(44px, 6vw, 72px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .8;
  background: url("/img/pattern.svg") center / 375px auto repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.page-hero .lede { color: var(--ink); }
.crumbs { font-size: .9rem; margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; opacity: .6; }
[dir="rtl"] .crumbs li + li::before { content: "‹"; }
.crumbs a { text-decoration: none; font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { opacity: .8; }

/* brand page */
.brand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(24px, 5vw, 56px); align-items: center; }
.brand-id { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.brand-id .logo-tile { width: 88px; height: 88px; border-radius: 24px; border: 0; box-shadow: 0 5px 0 rgba(84, 58, 20, .2); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1.5px solid rgba(84, 58, 20, .18); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.checked { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 500; font-size: .95rem; }
.checked .icon { color: var(--leaf-deep); }
.coupon-card { filter: drop-shadow(0 2px 0 rgba(84, 58, 20, .18)) drop-shadow(0 24px 30px rgba(84, 58, 20, .25)); }
.coupon-card .ticket { --stub: 96px; --notch: 16px; }
.coupon-card .ticket-main { padding: 26px 26px 20px; gap: 10px; }
.coupon-card .deal b { font-size: clamp(3.4rem, 8vw, 4.6rem); }
.coupon-card .deal span { font-size: 1.9rem; }
.coupon-card .ticket-stub { padding: 0 20px; }
.terms { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink-2); }
.terms .icon { color: var(--leaf-deep); margin-top: 3px; }
.coupon-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.coupons { display: grid; gap: 18px; }
.coupons .coupon-actions { margin-top: 0; }
.coupons.multi .coupon-card .ticket { --stub: 88px; }
.coupons.multi .coupon-card .ticket-main { padding: 20px 22px 16px; }
.coupons.multi .coupon-card .deal b { font-size: clamp(2.8rem, 6.5vw, 3.6rem); }
.side-codes .code-btn + .code-btn { margin-top: 10px; }
@media (max-width: 900px) { .brand-grid { grid-template-columns: minmax(0, 1fr); } }

.brand-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(44px, 6vw, 80px); }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin-bottom: 14px; }
.prose > section + section { margin-top: clamp(36px, 5vw, 52px); }
.prose p + p { margin-top: 12px; }
.how { list-style: none; display: grid; gap: 12px; counter-reset: how; }
.how li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 16px; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; }
.how li::before {
  counter-increment: how; content: counter(how);
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.6rem; background: var(--sun); color: var(--ink);
}
[lang="ar"] .how li::before { content: counter(how, arabic-indic); }
.how b { display: block; font-size: 1.05rem; }
.how span { color: var(--ink-2); }
.note { margin-top: 18px; font-size: .88rem; color: var(--ink-2); padding: 14px 16px; border-radius: 14px; background: var(--sun-4); }
.side { position: sticky; top: 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.side-card { background: var(--paper); border: 2px solid var(--line); border-radius: var(--r); padding: 20px; }
.side-card h2 { font-size: 1.5rem; margin-bottom: 12px; }
.side-list { list-style: none; display: grid; gap: 4px; }
.side-list a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; text-decoration: none; }
.side-list a:hover { background: var(--sun-4); }
.side-list .logo-tile { width: 42px; height: 42px; border-radius: 12px; }
.side-list b { display: block; font-size: .98rem; line-height: 1.3; }
.side-list small { display: block; color: var(--ink-2); font-size: .84rem; line-height: 1.35; }
@media (max-width: 980px) { .brand-body { grid-template-columns: minmax(0, 1fr); } .side { position: static; } }

/* home brand wall */
.brand-wall { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 10px; }
.brand-wall a { background: var(--paper); border: 2px solid var(--line); padding: 10px 12px; transition: border-color .15s, transform .2s var(--ease); }
.brand-wall a:hover { background: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.brand-wall .logo-tile { width: 48px; height: 48px; }

/* codes page groups */
.group + .group { margin-top: clamp(40px, 6vw, 64px); }
.group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.group-head .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sun); }
.group-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.group-head .n { color: var(--ink-2); font-weight: 500; }
.group[hidden] { display: none; }

/* partners */
.values { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.values li { padding: 26px; background: var(--paper); border-radius: var(--r); border: 2px solid var(--line); }
.values .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--sun); margin-bottom: 16px; }
.values li:nth-child(2) .ic { background: var(--leaf-soft); color: var(--leaf-deep); }
.values .ic .icon { width: 28px; height: 28px; }
.values h3 { font-size: 1.55rem; margin-bottom: 8px; }
.values p { color: var(--ink-2); }
@media (max-width: 860px) { .values { grid-template-columns: minmax(0, 1fr); } }
.form-card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: 0 6px 0 var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field label .req { color: #B3261E; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px;
  border: 2px solid var(--line-2); background: var(--cream); outline: none;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(255, 209, 92, .6); }
.field .hint { font-size: .84rem; color: var(--ink-2); }
.field input:user-invalid, .field select:user-invalid { border-color: #B3261E; }
.field input[type="tel"], .field input[type="email"], .field input[type="url"] { direction: ltr; }
[dir="rtl"] .field input[type="tel"], [dir="rtl"] .field input[type="email"], [dir="rtl"] .field input[type="url"] { text-align: right; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-foot small { color: var(--ink-2); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--leaf-soft); color: #2F5310; }
.form-status.err { background: #FDE8E6; color: #8C1D18; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* legal prose */
.legal { max-width: 780px; padding-block: clamp(40px, 6vw, 72px); }
.legal h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 36px 0 10px; }
.legal h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-inline-start: 1.3em; display: grid; gap: 4px; margin-top: 8px; }
.legal a { font-weight: 700; color: var(--ink); }
.updated { font-weight: 500; margin-top: 10px; }

/* 404 */
.lost { text-align: center; padding-block: clamp(56px, 10vw, 120px); }
.lost img { width: 220px; height: auto; margin: 0 auto 28px; transform: rotate(-4deg); }
.lost h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.lost p { margin: 12px auto 26px; max-width: 30em; color: var(--ink-2); }
.lost .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); color: #EADFC6; margin-top: clamp(56px, 8vw, 96px); position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: -16px; inset-inline: 0; height: 16px;
  background: radial-gradient(circle at 12px 16px, var(--ink-deep) 11px, transparent 11.5px) 0 0 / 24px 16px repeat-x;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr; gap: 36px; padding-block: 56px 36px; }
.foot-brand p { margin-top: 14px; max-width: 26em; font-size: .95rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background-color .15s, color .15s; }
.social a:hover { background: var(--sun); color: var(--ink); }
.social .icon { width: 20px; height: 20px; }
.site-footer h2 { font-family: var(--font-body); font-weight: 700; font-size: .95rem; color: var(--sun); margin-bottom: 12px; }
.foot-links { list-style: none; display: grid; gap: 2px; }
.foot-links.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.foot-links a, .foot-links button { display: inline-block; padding: 6px 0; text-decoration: none; font-size: .95rem; background: none; border: 0; text-align: start; }
.foot-links a:hover, .foot-links button:hover { color: var(--sun); text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; color: #CDBE9C; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- toast & cookie ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  background: var(--ink-deep); color: var(--cream); padding: 12px 18px; border-radius: 16px;
  box-shadow: var(--shadow-2); font-weight: 500; transition: transform .3s var(--ease), opacity .3s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .icon { color: var(--leaf); }
.cookie {
  position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 80; width: min(390px, calc(100% - 32px));
  background: var(--paper); border: 2px solid var(--ink); border-radius: 22px; padding: 18px;
  box-shadow: 0 6px 0 var(--ink); animation: rise .4s var(--ease);
}
.cookie[hidden] { display: none; }
html.menu-open .cookie { display: none; }
.cookie p { font-size: .93rem; color: var(--ink-2); }
.cookie p a { color: var(--ink); font-weight: 700; }
.cookie .row { display: flex; gap: 10px; margin-top: 14px; }
.cookie .btn { min-height: 42px; padding: .5em 1.1em; font-size: .95rem; flex: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .cookie, .toast, .search { display: none !important; } }
