/* =====================================================================
   PIZZA MAXX — Premium Redesign
   Design system + components. Dark, cinematic, RTL Arabic.
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Surfaces (black → charcoal → warm gray) */
  --ink:        #0A0A0C;
  --charcoal:   #121215;
  --graphite:   #1A1A1F;
  --slate:      #232228;
  --warm-gray:  #2C2A27;

  /* Brand accents */
  --red:        #FF3B2E;   /* pizza red   */
  --red-deep:   #C81E12;
  --cheese:     #FFC42E;   /* cheese yellow */
  --cheese-deep:#F5A300;
  --green:      #4CC66A;   /* fresh green */

  /* Text */
  --cream:      #F6F1E9;
  --text:       #ECE7DF;
  --muted:      #A7A199;
  --faint:      #6F6A63;

  /* Glass + lines */
  --glass:      rgba(255,255,255,0.05);
  --glass-strong: rgba(255,255,255,0.09);
  --hair:       rgba(255,255,255,0.10);
  --hair-soft:  rgba(255,255,255,0.06);

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Shadows (soft, layered) */
  --sh-1: 0 2px 8px rgba(0,0,0,.35);
  --sh-2: 0 12px 30px rgba(0,0,0,.45);
  --sh-3: 0 30px 70px rgba(0,0,0,.55);
  --sh-red: 0 16px 40px rgba(255,59,46,.30);
  --sh-cheese: 0 16px 40px rgba(245,163,0,.28);

  /* Spacing scale (8pt) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Type */
  --f-display: 'Anton', 'Cairo', sans-serif;
  --f-head: 'Cairo', 'Tajawal', sans-serif;
  --f-body: 'Tajawal', 'Cairo', sans-serif;

  --container: 1240px;
  --nav-h: 74px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cheese); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

/* Ambient page background: warm ember glow behind dark */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(255,59,46,.14), transparent 55%),
    radial-gradient(90% 70% at 5% 8%, rgba(245,163,0,.10), transparent 50%),
    var(--ink);
}

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 700; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--cheese); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.section-title {
  font-family: var(--f-head); font-weight: 900;
  font-size: clamp(30px, 5vw, 56px); line-height: 1.08;
  letter-spacing: -.01em; margin: 0 0 14px; color: var(--cream);
}
.section-sub { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 60ch; margin: 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }
.text-red { color: var(--red); }
.text-cheese { color: var(--cheese); }
.text-green { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-head); font-weight: 800; font-size: 16px;
  padding: 15px 28px; border-radius: var(--r-pill);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; box-shadow: var(--sh-red);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 50px rgba(255,59,46,.45); }
.btn-cheese {
  background: linear-gradient(135deg, var(--cheese), var(--cheese-deep));
  color: #241a00; box-shadow: var(--sh-cheese);
}
.btn-cheese:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 50px rgba(245,163,0,.45); }
.btn-ghost {
  background: var(--glass); color: var(--cream);
  border: 1px solid var(--hair); backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); background: var(--glass-strong); border-color: rgba(255,255,255,.22); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,12,.72); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--hair-soft); box-shadow: var(--sh-1);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  font-family: var(--f-display); font-size: 26px; letter-spacing: .02em;
  color: var(--cream); line-height: 1; position: relative; padding-inline-end: 6px;
}
.brand-logo b { color: var(--red); }
.brand-img { height: 30px; width: auto; display: block; }
.footer-brand .brand-img { height: 46px; margin-bottom: 16px; }
@media (max-width: 480px) { .brand-img { height: 26px; } }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--muted);
  padding: 8px 14px; border-radius: var(--r-pill); transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--cream); background: var(--glass); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; color: var(--cream); font-size: 15px; }
.nav-phone svg { width: 18px; height: 18px; color: var(--green); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--glass); border: 1px solid var(--hair); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--cream); position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--cream); transition: .3s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 4%, transparent 45%),
    linear-gradient(to left, rgba(10,10,12,.35), rgba(10,10,12,.88) 78%);
}
.hero-embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: screen; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; width: 100%; }
.hero-copy { max-width: 620px; }
.hero-badges-top { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--hair); backdrop-filter: blur(10px);
  font-family: var(--f-head); font-weight: 600; font-size: 13px; color: var(--cream);
}
.chip svg { width: 16px; height: 16px; }
.chip-stars svg { color: var(--cheese); }
.chip-time svg { color: var(--green); }
.hero h1 {
  font-family: var(--f-head); font-weight: 900; color: var(--cream);
  font-size: clamp(40px, 7vw, 88px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 20px;
}
.hero h1 .hl { position: relative; color: var(--cheese); white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 14px; background: rgba(255,59,46,.28); border-radius: 6px; z-index: -1; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--muted); margin: 0 0 32px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stat b { font-family: var(--f-head); font-weight: 900; font-size: 26px; color: var(--cream); display: block; line-height: 1; }
.hero-stat span { font-size: 13px; color: var(--muted); }

/* Floating hero visual card cluster */
.hero-visual { position: relative; height: 520px; display: none; }
.float-card {
  position: absolute; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3); border: 1px solid var(--hair);
  animation: floaty 6s ease-in-out infinite;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; }
.fc-main { width: 300px; height: 380px; right: 40px; top: 40px; z-index: 2; }
.fc-2 { width: 190px; height: 190px; left: 10px; top: 30px; animation-delay: -2s; z-index: 3; }
.fc-3 { width: 210px; height: 160px; left: 0; bottom: 20px; animation-delay: -4s; z-index: 3; }
.badge-float {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--r-md); backdrop-filter: blur(14px);
  background: rgba(20,20,24,.7); border: 1px solid var(--hair); box-shadow: var(--sh-2);
  animation: floaty 5s ease-in-out infinite;
}
.badge-discount { top: 6px; right: 0; background: linear-gradient(135deg, var(--red), var(--red-deep)); border: none; color:#fff; }
.badge-discount b { font-family: var(--f-display); font-size: 22px; line-height: 1; }
.badge-delivery { bottom: 60px; right: 20px; animation-delay: -2.5s; }
.badge-delivery .dot { width: 34px; height: 34px; border-radius: 50%; background: rgba(76,198,106,.15); display: grid; place-items: center; }
.badge-delivery .dot svg { width: 18px; height: 18px; color: var(--green); }
.badge-delivery b { font-family: var(--f-head); font-weight: 800; color: var(--cream); font-size: 15px; display: block; line-height: 1.1; }
.badge-delivery span { font-size: 12px; color: var(--muted); }

@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--faint); font-size: 12px; font-family: var(--f-head); letter-spacing: .1em; }
.hero-scroll .mouse { width: 24px; height: 38px; border: 2px solid var(--faint); border-radius: 14px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: var(--cheese); border-radius: 3px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%,0) } 40% { opacity: 1 } 100% { opacity: 0; transform: translate(-50%,12px) } }

/* ---------- Marquee strip ---------- */
.marquee { border-block: 1px solid var(--hair-soft); background: var(--charcoal); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-head); font-weight: 800; font-size: 18px; color: var(--muted); }
.marquee-item svg { width: 18px; height: 18px; color: var(--red); }
.marquee-item b { color: var(--cream); }
@keyframes marquee { to { transform: translateX(50%) } } /* RTL: move right */

/* ---------- Category filter ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chip {
  font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--muted);
  padding: 11px 22px; border-radius: var(--r-pill); background: var(--glass);
  border: 1px solid var(--hair); transition: .3s var(--ease);
}
.filter-chip:hover { color: var(--cream); border-color: rgba(255,255,255,.2); }
.filter-chip.active { background: linear-gradient(135deg,var(--red),var(--red-deep)); color: #fff; border-color: transparent; box-shadow: var(--sh-red); }

/* ---------- Menu grid + cards ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card {
  position: relative; background: linear-gradient(180deg, var(--graphite), var(--charcoal));
  border: 1px solid var(--hair-soft); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-3); border-color: var(--hair); }
.card-media { position: relative; aspect-ratio: 4/3.2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.08); }
.card-media::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(10,10,12,.65), transparent 55%); }
.card-tags { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; z-index: 2; }
.tag { font-family: var(--f-head); font-weight: 700; font-size: 11px; padding: 5px 10px; border-radius: var(--r-pill); backdrop-filter: blur(8px); }
.tag-hot { background: rgba(255,59,46,.9); color: #fff; }
.tag-new { background: rgba(76,198,106,.9); color: #06210f; }
.tag-best { background: rgba(255,196,46,.92); color: #241a00; }
.fav {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,10,12,.5); border: 1px solid var(--hair); backdrop-filter: blur(8px);
  transition: .3s;
}
.fav svg { width: 18px; height: 18px; color: var(--cream); transition: .3s; fill: transparent; }
.fav:hover { background: rgba(255,59,46,.2); }
.fav.on svg { color: var(--red); fill: var(--red); transform: scale(1.1); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-title { font-family: var(--f-head); font-weight: 800; font-size: 19px; color: var(--cream); line-height: 1.25; }
.card-cal { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.card-cal svg { width: 14px; height: 14px; color: var(--cheese); }
.card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.spice { display: inline-flex; gap: 2px; align-items: center; }
.spice svg { width: 15px; height: 15px; color: #4a4640; }
.spice svg.on { color: var(--red); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.price { font-family: var(--f-head); font-weight: 900; font-size: 22px; color: var(--cream); }
.price s { font-size: 14px; color: var(--faint); font-weight: 600; margin-inline-start: 6px; }
.price small { font-size: 13px; color: var(--muted); font-weight: 600; }
.add {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--cream); color: var(--ink); font-family: var(--f-head); font-weight: 800; font-size: 14px;
  transition: .3s var(--ease);
}
.add svg { width: 16px; height: 16px; }
.add:hover { background: var(--cheese); transform: scale(1.05); }
.add.added { background: var(--green); color: #06210f; }

/* ---------- Best sellers carousel ---------- */
.carousel-wrap { position: relative; }
.carousel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 24px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; flex: 0 0 min(360px, 82vw); perspective: 1200px; }
.slide-inner {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3/4;
  box-shadow: var(--sh-2); transition: transform .4s var(--ease-out), box-shadow .4s; transform-style: preserve-3d;
}
.slide-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.slide:hover .slide-inner { box-shadow: var(--sh-3); }
.slide:hover .slide-inner img { transform: scale(1.06); }
.slide-inner::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(8,8,10,.9) 6%, transparent 55%); }
.slide-caption { position: absolute; inset-inline: 22px; bottom: 22px; z-index: 2; }
.slide-rank { font-family: var(--f-display); font-size: 60px; color: rgba(255,255,255,.14); line-height: .8; position: absolute; top: 16px; inset-inline-end: 20px; z-index: 2; }
.slide-caption h3 { font-family: var(--f-head); font-weight: 900; font-size: 24px; color: #fff; margin: 0 0 4px; }
.slide-caption .meta { display: flex; align-items: center; gap: 12px; color: var(--cream); font-size: 14px; }
.slide-caption .price { font-size: 20px; color: var(--cheese); }
.carousel-nav { display: flex; gap: 10px; position: absolute; top: -70px; inset-inline-start: 0; }
.carousel-btn { width: 48px; height: 48px; border-radius: 50%; background: var(--glass); border: 1px solid var(--hair); display: grid; place-items: center; transition: .3s; }
.carousel-btn:hover { background: var(--red); border-color: transparent; }
.carousel-btn svg { width: 20px; height: 20px; color: var(--cream); }

/* ---------- Offers ---------- */
.offers-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.offer {
  position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between; min-height: 320px;
  border: 1px solid var(--hair);
}
.offer-primary { background: linear-gradient(120deg, #3a0d09, #7a1a10 60%, #b3160a); }
.offer-primary::after { content:""; position:absolute; inset:0; background: radial-gradient(120% 120% at 90% 10%, rgba(255,196,46,.25), transparent 50%); }
.offer-secondary { background: linear-gradient(150deg, var(--graphite), var(--charcoal)); }
.offer > * { position: relative; z-index: 2; }
.offer .kicker { font-family: var(--f-head); font-weight: 800; color: var(--cheese); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.offer h3 { font-family: var(--f-head); font-weight: 900; font-size: clamp(26px, 3.4vw, 40px); color: #fff; margin: 0 0 10px; line-height: 1.1; }
.offer p { color: rgba(255,255,255,.82); margin: 0 0 22px; max-width: 40ch; }
.countdown { display: flex; gap: 10px; margin-bottom: 24px; }
.cd-cell { background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-sm); padding: 10px 14px; text-align: center; min-width: 62px; backdrop-filter: blur(6px); }
.cd-cell b { font-family: var(--f-display); font-size: 28px; color: #fff; line-height: 1; display: block; }
.cd-cell span { font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: .05em; }
.coupon { display: flex; align-items: center; gap: 12px; }
.coupon-code {
  font-family: var(--f-head); font-weight: 800; letter-spacing: .12em; font-size: 16px; color: #fff;
  border: 2px dashed rgba(255,255,255,.5); border-radius: var(--r-sm); padding: 10px 18px; background: rgba(0,0,0,.2);
}
.coupon button { font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--cheese); }
.offer-secondary .kicker { color: var(--green); }
.bundle-list { display: flex; flex-direction: column; gap: 12px; }
.bundle-item { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 600; }
.bundle-item svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.offer-price { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.offer-price b { font-family: var(--f-display); font-size: 44px; color: var(--cheese); line-height: 1; }
.offer-price s { color: var(--faint); font-size: 20px; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  padding: 30px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--graphite), var(--charcoal));
  border: 1px solid var(--hair-soft); transition: transform .4s var(--ease), border-color .4s;
}
.why-card:hover { transform: translateY(-6px); border-color: var(--hair); }
.why-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(255,59,46,.12); }
.why-icon svg { width: 30px; height: 30px; color: var(--red); }
.why-card:nth-child(3n+2) .why-icon { background: rgba(255,196,46,.12); } .why-card:nth-child(3n+2) .why-icon svg { color: var(--cheese); }
.why-card:nth-child(3n) .why-icon { background: rgba(76,198,106,.12); } .why-card:nth-child(3n) .why-icon svg { color: var(--green); }
.why-card h3 { font-family: var(--f-head); font-weight: 800; font-size: 20px; color: var(--cream); margin: 0 0 8px; }
.why-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Reviews ---------- */
.reviews-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.google-rating { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--hair); }
.google-rating .big { font-family: var(--f-display); font-size: 44px; color: var(--cream); line-height: 1; }
.stars { display: flex; gap: 3px; } .stars svg { width: 18px; height: 18px; color: var(--cheese); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  padding: 26px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--graphite), var(--charcoal));
  border: 1px solid var(--hair-soft); display: flex; flex-direction: column; gap: 14px;
}
.review .stars svg { width: 15px; height: 15px; }
.review p { color: var(--text); font-size: 15px; margin: 0; flex: 1; }
.review-person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; color: #fff; font-size: 18px; }
.review-person b { display: block; color: var(--cream); font-family: var(--f-head); font-weight: 700; font-size: 15px; }
.review-person span { font-size: 12px; color: var(--faint); }

/* ---------- Gallery masonry ---------- */
.masonry { columns: 4; column-gap: 16px; }
.masonry-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--r-md); overflow: hidden; position: relative; }
.masonry-item img { width: 100%; transition: transform .8s var(--ease-out); }
.masonry-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,10,.6), transparent 60%); opacity: 0; transition: opacity .4s; }
.masonry-item:hover img { transform: scale(1.08); }
.masonry-item:hover::after { opacity: 1; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--sh-3); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .glass-quote {
  position: absolute; inset-inline: 20px; bottom: 20px; padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(10,10,12,.6); backdrop-filter: blur(14px); border: 1px solid var(--hair);
}
.about-media .glass-quote p { margin: 0; font-family: var(--f-head); font-weight: 700; color: var(--cream); font-size: 17px; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 32px; }
.about-stat { padding: 20px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--hair-soft); text-align: center; }
.about-stat b { font-family: var(--f-display); font-size: 34px; color: var(--cheese); line-height: 1; display: block; }
.about-stat span { font-size: 13px; color: var(--muted); }

/* ---------- Branches ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.branch {
  padding: 28px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--graphite), var(--charcoal));
  border: 1px solid var(--hair-soft); transition: transform .4s var(--ease), border-color .4s;
}
.branch:hover { transform: translateY(-6px); border-color: var(--red); }
.branch-city { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 800; font-size: 20px; color: var(--cream); margin-bottom: 6px; }
.branch-city svg { width: 20px; height: 20px; color: var(--red); }
.branch-addr { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.branch-row { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; margin-bottom: 10px; font-family: var(--f-head); font-weight: 600; }
.branch-row svg { width: 18px; height: 18px; color: var(--green); }
.branch-actions { display: flex; gap: 10px; margin-top: 18px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(40px, 6vw, 72px); text-align: center; border: 1px solid var(--hair); }
.cta-band-bg { position: absolute; inset: 0; z-index: -1; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-bg::after { content:""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,12,.9), rgba(120,16,10,.78)); }
.cta-band h2 { font-family: var(--f-head); font-weight: 900; font-size: clamp(30px, 5vw, 56px); color: #fff; margin: 0 0 14px; line-height: 1.08; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 18px; margin: 0 auto 30px; max-width: 52ch; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); border-top: 1px solid var(--hair-soft); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand-logo { font-size: 34px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 34ch; margin: 0 0 20px; }
.socials { display: flex; gap: 10px; }
.social { width: 42px; height: 42px; border-radius: 12px; background: var(--glass); border: 1px solid var(--hair); display: grid; place-items: center; transition: .3s; }
.social:hover { transform: translateY(-3px); background: var(--red); border-color: transparent; }
.social svg { width: 20px; height: 20px; color: var(--cream); }
.footer h4 { font-family: var(--f-head); font-weight: 800; font-size: 16px; color: var(--cream); margin: 0 0 18px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--muted); font-size: 15px; transition: color .25s; }
.footer-links a:hover { color: var(--cheese); }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--hair-soft); color: var(--faint); font-size: 14px; }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.wa-float {
  position: fixed; inset-block-end: 96px; inset-inline-end: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.wa-float::after { content:""; position:absolute; inset:0; border-radius:50%; border:2px solid #25D366; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8 } 100% { transform: scale(1.6); opacity: 0 } }

.mobile-bar {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 95; display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10,10,12,.9); backdrop-filter: blur(16px); border-top: 1px solid var(--hair);
  grid-template-columns: 1fr 1fr; gap: 10px;
}

/* ---------- Cart drawer ---------- */
.cart-toggle { position: relative; }
.cart-count { position: absolute; top: -6px; inset-inline-end: -6px; background: var(--red); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; inset-block: 0; inset-inline-start: 0; width: min(400px, 90vw); z-index: 201;
  background: var(--charcoal); border-inline-end: 1px solid var(--hair); transform: translateX(-105%);
  transition: transform .4s var(--ease-out); display: flex; flex-direction: column;
}
/* RTL: drawer pinned to the right, hidden off the right edge (positive X) */
[dir="rtl"] .drawer { border-inline-end: none; border-inline-start: 1px solid var(--hair); transform: translateX(105%); }
.drawer.open, [dir="rtl"] .drawer.open { transform: translateX(0); }
.drawer-head { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hair-soft); flex-shrink: 0; }
.drawer-head h3 { font-family: var(--f-head); font-weight: 900; font-size: 22px; margin: 0; color: var(--cream); }
.cart-count-label { font-family: var(--f-body); font-weight: 600; font-size: 14px; color: var(--muted); }
.drawer-close { width: 38px; height: 38px; border-radius: 10px; background: var(--glass); display: grid; place-items: center; transition: background .25s; flex-shrink: 0; }
.drawer-close:hover { background: var(--glass-strong); }
.drawer-close svg { width: 20px; height: 20px; color: var(--cream); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px 20px; }
.drawer.is-empty .drawer-body { display: flex; align-items: center; justify-content: center; padding-bottom: 40px; }
.drawer.is-empty #checkoutForm, .drawer.is-empty #drawerFoot { display: none; }

.cart-empty { text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cart-empty svg { width: 56px; height: 56px; color: var(--faint); margin-bottom: 10px; }
.cart-empty p { margin: 0 0 8px; font-family: var(--f-head); font-weight: 800; font-size: 18px; color: var(--cream); }
.cart-empty p span { font-family: var(--f-body); font-weight: 500; font-size: 14px; color: var(--muted); }

.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair-soft); align-items: center; }
.cart-line img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.cart-line .info { flex: 1; min-width: 0; }
.cart-line .info b { display: block; font-family: var(--f-head); font-weight: 700; color: var(--cream); font-size: 15px; }
.cart-line .info span { color: var(--muted); font-weight: 600; font-size: 13px; }
.cart-line .info span strong { color: var(--cheese); font-weight: 800; }
.qty { display: flex; align-items: center; gap: 6px; background: var(--graphite); border: 1px solid var(--hair-soft); border-radius: var(--r-pill); padding: 3px; flex-shrink: 0; }
.qty button { width: 30px; height: 30px; border-radius: 50%; background: var(--slate); color: var(--cream); font-weight: 800; font-size: 15px; display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: var(--red); }
.qty b { min-width: 22px; text-align: center; font-family: var(--f-head); font-weight: 800; }

.order-fields .form-title { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 800; font-size: 15px; color: var(--cream); margin: 0 0 6px; padding-top: 18px; border-top: 1px dashed var(--hair); }
.order-fields .form-title svg { width: 17px; height: 17px; color: var(--red); }

.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair-soft); background: var(--charcoal); flex-shrink: 0; }
.drawer-summary { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--hair); }
.sum-row { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--muted); }
.sum-row b { color: var(--text); font-weight: 700; }
.drawer-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.drawer-total span { color: var(--muted); font-family: var(--f-head); font-weight: 700; font-size: 15px; display: block; }
.drawer-total small { color: var(--faint); font-size: 11px; font-weight: 500; display: block; margin-top: 2px; }
.drawer-total b { font-family: var(--f-display); font-size: 30px; color: var(--cheese); line-height: 1; }

/* ---------- Toast ---------- */
.toast { position: fixed; inset-block-end: 24px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: 90vw; z-index: 300; background: var(--green); color: #06210f; font-family: var(--f-head); font-weight: 800; padding: 14px 24px; border-radius: var(--r-pill); box-shadow: var(--sh-2); transform: translateY(120px); opacity: 0; transition: .4s var(--ease-out); display: flex; align-items: center; gap: 10px; }
.toast svg { width: 20px; height: 20px; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s } .reveal[data-d="2"] { transition-delay: .16s }
.reveal[data-d="3"] { transition-delay: .24s } .reveal[data-d="4"] { transition-delay: .32s }

/* scroll progress bar */
.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 150; background: linear-gradient(90deg, var(--red), var(--cheese)); transform-origin: 0 50%; transform: scaleX(0); }
[dir="rtl"] .scroll-progress { transform-origin: 100% 50%; }

/* ---------- Responsive ---------- */
@media (min-width: 992px) { .hero-visual { display: block; } }

@media (max-width: 1100px) {
  .why-grid, .reviews-grid, .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 3; }
  .offers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: var(--nav-h); inset-inline: 0; flex-direction: column;
    background: rgba(10,10,12,.96); backdrop-filter: blur(18px); padding: 16px; gap: 4px; border-bottom: 1px solid var(--hair);
  }
  .nav.open .nav-links a { width: 100%; padding: 14px; }
  .hero-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-media { max-width: 460px; }
  .mobile-bar { display: grid; }
  .wa-float { inset-block-end: 150px; }
  body { padding-bottom: 74px; }
}
@media (max-width: 640px) {
  .why-grid, .reviews-grid, .branch-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2; column-gap: 12px; }
  .menu-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { gap: 20px; }
  .offer { padding: 28px; }
}

/* ---------- Savings offers ---------- */
.savings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.save-card {
  position: relative; text-align: center; padding: 34px 22px 24px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--graphite), var(--charcoal)); border: 1px solid var(--hair-soft);
  transition: transform .4s var(--ease), border-color .4s; display: flex; flex-direction: column; align-items: center;
}
.save-card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: var(--sh-2); }
.save-badge {
  position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(76,198,106,.15); color: var(--green);
  font-family: var(--f-head); font-weight: 800; font-size: 12px; padding: 5px 11px; border-radius: var(--r-pill);
}
.save-ico { font-size: 42px; line-height: 1; margin-bottom: 8px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.save-title { font-family: var(--f-head); font-weight: 900; font-size: 21px; color: var(--cream); margin: 0 0 2px; }
.save-sub { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.save-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 18px; }
.save-price b { font-family: var(--f-display); font-size: 46px; color: var(--cheese); line-height: 1; }
.save-price small { font-size: 16px; color: var(--muted); font-weight: 700; }
.save-price s { font-size: 15px; color: var(--faint); margin-inline-start: 4px; }
.save-card .btn { margin-top: auto; }
.savings-note { text-align: center; color: var(--faint); font-size: 14px; margin: 24px 0 0; }

/* offer posters */
.offer-poster { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hair-soft); background: linear-gradient(180deg, var(--graphite), var(--charcoal)); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.offer-poster:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--red); }
.offer-poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; display: block; background: transparent; padding: 0; }
.offer-info { padding: 16px 16px 4px; text-align: center; }
.offer-info h3 { font-family: var(--f-head); font-weight: 800; font-size: 18px; color: var(--cream); margin: 0 0 8px; }
.offer-price { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.offer-price b { font-family: var(--f-display); font-size: 34px; color: var(--cheese); line-height: 1; }
.offer-price b small { font-size: 15px; color: var(--muted); font-weight: 700; }
.offer-price s { color: var(--faint); font-size: 16px; font-weight: 600; }
.offer-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 16px 16px; padding: 13px; border-radius: var(--r-pill); background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: 15px; box-shadow: var(--sh-red); transition: transform .3s, box-shadow .3s; }
.offer-poster:hover .offer-cta { transform: scale(1.03); box-shadow: 0 16px 36px rgba(255,59,46,.4); }
.offer-cta { cursor: pointer; }
.offer-cta svg { width: 18px; height: 18px; }

/* ---------- Offer selection mode ---------- */
.offer-banner {
  position: sticky; top: var(--nav-h); z-index: 95;
  background: linear-gradient(120deg, var(--red-deep), var(--red));
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.offer-banner-inner {
  width: min(100% - 40px, var(--container)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; flex-wrap: wrap;
}
.ob-text { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ob-text b { font-family: var(--f-head); font-weight: 800; font-size: 16px; color: #fff; }
.ob-text span { font-family: var(--f-display); font-size: 18px; color: #fff; background: rgba(0,0,0,.25); padding: 4px 14px; border-radius: var(--r-pill); }
.ob-cancel { display: flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: #fff; padding: 9px 16px; border-radius: var(--r-pill); background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.3); transition: background .25s; }
.ob-cancel:hover { background: rgba(0,0,0,.4); }
.ob-cancel svg { width: 15px; height: 15px; }

.card.offer-disabled { opacity: .3 !important; filter: grayscale(70%); pointer-events: none !important; transition: opacity .3s, filter .3s; }
.card.offer-eligible { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.add.picking { background: linear-gradient(135deg, var(--green), #2f9c4c); color: #fff; }
.add.picking:hover { background: linear-gradient(135deg, #2f9c4c, var(--green)); }

/* offer line in cart drawer */
.cart-line.offer-line { align-items: flex-start; }
.offer-picks { margin: 6px 0 0; padding-inline-start: 18px; list-style: disc; }
.offer-picks li { color: var(--text); font-size: 13px; font-weight: 600; line-height: 1.7; }
.offer-resume {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 700; font-size: 12.5px;
  color: var(--ink); background: var(--cheese); padding: 7px 12px; border-radius: var(--r-pill); transition: transform .2s;
}
.offer-resume:hover { transform: translateY(-1px); }
.cart-del { width: 30px; height: 30px; border-radius: 50%; background: var(--slate); display: grid; place-items: center; font-size: 14px; flex-shrink: 0; transition: background .2s; }
.cart-del:hover { background: var(--red); }

/* ---------- Family strip ---------- */
.family-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  margin-top: 38px; padding: 34px 38px; border-radius: var(--r-xl); border: 1px solid var(--hair);
  background: linear-gradient(120deg, #3a0d09, #7a1a10 65%, #b3160a); position: relative; overflow: hidden;
}
.family-strip::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 90% 10%, rgba(255,196,46,.22), transparent 55%); pointer-events: none; }
.family-strip > * { position: relative; z-index: 2; }
.fs-content { max-width: 48ch; }
.fs-content .kicker { font-family: var(--f-head); font-weight: 800; color: var(--cheese); letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
.fs-content h3 { font-family: var(--f-head); font-weight: 900; font-size: clamp(24px, 3vw, 34px); color: #fff; margin: 0 0 8px; }
.fs-content p { color: rgba(255,255,255,.85); margin: 0; }
.fs-prices { display: flex; gap: 14px; }
.fs-price {
  display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 16px 24px; border-radius: var(--r-lg);
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px);
  transition: .3s var(--ease); color: #fff;
}
.fs-price:hover { transform: translateY(-3px); background: rgba(0,0,0,.42); border-color: var(--cheese); }
.fs-price span { font-family: var(--f-head); font-weight: 700; color: rgba(255,255,255,.82); font-size: 13px; }
.fs-price b { font-family: var(--f-display); font-size: 30px; color: #fff; line-height: 1; }
.fs-price b small { font-size: 14px; color: rgba(255,255,255,.72); }
.fs-price s { color: rgba(255,255,255,.55); font-size: 13px; }

@media (max-width: 1100px) { .savings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .savings-grid { grid-template-columns: 1fr; }
  .family-strip { flex-direction: column; align-items: stretch; text-align: center; }
  .fs-prices { justify-content: center; }
}

/* ---------- Single branch ---------- */
.branch-single {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch;
  background: linear-gradient(180deg, var(--graphite), var(--charcoal));
  border: 1px solid var(--hair-soft); border-radius: var(--r-xl); padding: 14px;
}
.branch-info { padding: 22px; }
.branch-single .branch-city { font-size: 24px; margin-bottom: 8px; }
.branch-single .branch-addr { font-size: 15px; margin-bottom: 16px; }
.branch-phones { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.phone-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--glass); border: 1px solid var(--hair); font-family: var(--f-head); font-weight: 700;
  font-size: 15px; color: var(--cream); transition: .25s var(--ease);
}
.phone-pill svg { width: 16px; height: 16px; color: var(--green); }
.phone-pill:hover { transform: translateY(-2px); border-color: var(--green); background: rgba(76,198,106,.1); }
.branch-single .branch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.branch-map {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background:
    radial-gradient(120% 120% at 50% 20%, rgba(255,59,46,.18), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    var(--slate);
  border: 1px solid var(--hair); transition: .35s var(--ease);
}
.branch-map:hover { border-color: var(--red); transform: translateY(-3px); }
.map-pin { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-deep)); box-shadow: var(--sh-red); }
.map-pin svg { width: 32px; height: 32px; color: #fff; }
.map-label { font-family: var(--f-head); font-weight: 800; color: var(--cream); font-size: 16px; }
@media (max-width: 860px) {
  .branch-single { grid-template-columns: 1fr; }
  .branch-map { min-height: 180px; order: -1; }
}

/* ---------- Size selector (pizza / pasta) ---------- */
.size-select { display: flex; gap: 8px; margin: 2px 0 4px; }
.size-opt {
  flex: 1; font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--muted);
  padding: 8px 8px; border-radius: 12px; background: var(--slate); border: 1px solid var(--hair-soft);
  transition: .25s var(--ease); display: flex; flex-direction: column; align-items: center; line-height: 1.15;
}
.size-opt i { font-style: normal; font-size: 10px; color: var(--faint); font-weight: 600; margin-top: 1px; }
.size-opt:hover { color: var(--cream); border-color: var(--hair); }
.size-opt.active { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; border-color: transparent; box-shadow: var(--sh-red); }
.size-opt.active i { color: rgba(255,255,255,.82); }
.card-title .spice { vertical-align: middle; margin-inline-start: 4px; }

/* ---------- Order fields (checkout) ---------- */
.order-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.order-fields .field { display: flex; flex-direction: column; gap: 6px; }
.order-fields .field-row { display: flex; gap: 12px; }
.order-fields .field-row .field { flex: 1; min-width: 0; }
.order-fields label { font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--cream); }
.order-fields label b { color: var(--red); font-weight: 800; }
.order-fields label span { color: var(--faint); font-weight: 600; font-size: 12px; }
.order-fields input,
.order-fields textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--r-sm); background: var(--graphite);
  border: 1px solid var(--hair); color: var(--text); font-family: var(--f-body); font-size: 14px;
  transition: border-color .25s;
}
.order-fields textarea { resize: vertical; min-height: 48px; max-height: 140px; line-height: 1.6; }
.order-fields input::placeholder,
.order-fields textarea::placeholder { color: var(--faint); }
.order-fields input:focus,
.order-fields textarea:focus { outline: none; border-color: var(--cheese); }
.order-fields .invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(255,59,46,.15); }
.order-fields .select-wrap { position: relative; }
.order-fields select {
  width: 100%; padding: 11px 13px; padding-inline-end: 40px; border-radius: var(--r-sm);
  background: var(--graphite); border: 1px solid var(--hair); color: var(--text);
  font-family: var(--f-body); font-size: 14px; cursor: pointer;
  appearance: none; -webkit-appearance: none; -moz-appearance: none; transition: border-color .25s;
}
.order-fields select:focus { outline: none; border-color: var(--cheese); }
.order-fields .select-arrow { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.order-fields option { background: var(--charcoal); color: var(--text); }

/* ---------- Call link (text under the checkout button) ---------- */
.call-link { display: block; text-align: center; margin-top: 12px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--muted); transition: color .25s; }
.call-link:hover { color: var(--cheese); }

/* size chip inside cart line */
.cart-line .info em { font-style: normal; font-size: 11px; color: var(--cheese); font-weight: 700; background: rgba(255,196,46,.12); padding: 1px 7px; border-radius: var(--r-pill); margin-inline-start: 4px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
