/* =========================================================
   MEED — brand tokens (swap these for official brand colours)
   ========================================================= */
:root {
  --ink: #0f2a1d;          /* deep forest green */
  --brand: #0b6e4f;        /* Meed green */
  --brand-2: #10915f;
  --lime: #c8f169;         /* fresh lime accent */
  --sun: #ffd23f;
  --coral: #ff7a59;
  --blue: #2d6cdf;
  --cream: #f7f6ef;
  --paper: #ffffff;
  --muted: #5b6b62;
  --line: #e4e6da;
  --radius: 22px;
  --shadow: 0 20px 50px -20px color-mix(in srgb, var(--ink) 35%, transparent);
  --font: "Outfit", "Tajawal", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); background: var(--cream); color: var(--ink); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: "Tajawal", "Outfit", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 110px 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.3; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 600; transition: transform .25s, box-shadow .25s, background .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: .92rem; }
.arrow { display: inline-block; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .arrow { transform: scaleX(-1); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow.light { color: var(--lime); background: color-mix(in srgb, var(--lime) 12%, transparent); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #d3d8f0; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; gap: 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live b { color: var(--lime); font-variant-numeric: tabular-nums; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 70%, transparent); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--lime) 0%, transparent); } 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 0%, transparent); } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 42px; border-radius: 13px; background: var(--brand); color: var(--lime); display: grid; place-items: center; font-weight: 900; font-size: 1.6rem; line-height: 1; padding-bottom: 4px; transform: rotate(-6deg); box-shadow: 4px 4px 0 var(--lime); font-family: "Outfit", sans-serif; }
.logo-mark.sm { width: 30px; height: 30px; font-size: 1.1rem; border-radius: 9px; box-shadow: 2px 2px 0 var(--lime); }
.logo-text { font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 6px; font-family: "Outfit", sans-serif; }
.logo-text small { font-family: "Tajawal", sans-serif; font-size: 1rem; color: var(--brand-2); font-weight: 700; }
.logo.light .logo-text { color: #fff; }
.logo.light .logo-text small { color: var(--lime); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .96rem; transition: background .2s, color .2s; }
.nav a:hover, .nav a.active { background: var(--ink); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn { font-family: "Tajawal", "Outfit", sans-serif; font-weight: 700; border: 1.5px solid var(--line); padding: 8px 14px; border-radius: 999px; background: #fff; transition: border-color .2s; }
.lang-btn:hover { border-color: var(--brand); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 110px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: var(--lime); top: -120px; inset-inline-end: -80px; animation: drift 14s ease-in-out infinite alternate; }
.b2 { width: 420px; height: 420px; background: #ffd79a; bottom: -160px; inset-inline-start: -120px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 50px) scale(1.1); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; margin-bottom: 22px; }
.hl { background: linear-gradient(100deg, var(--brand), var(--brand-2) 60%, var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-size: 1.6rem; font-weight: 800; }
.hero-trust span { font-size: .88rem; color: var(--muted); }

.hero-visual { position: relative; height: 540px; }
.main-card { position: absolute; inset-inline-start: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-3deg); width: 320px; background: var(--ink); color: #fff; border-radius: 32px; padding: 28px; box-shadow: var(--shadow); z-index: 2; }
html[dir="rtl"] .main-card { transform: translate(50%, -50%) rotate(3deg); }
.mc-top { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.chip { background: var(--lime); color: var(--ink); padding: 5px 12px; border-radius: 999px; font-weight: 700; }
.time { color: color-mix(in srgb, #fff 70%, var(--ink)); }
.mc-emoji { font-size: 6rem; text-align: center; margin: 18px 0 8px; position: relative; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .35)); }
.mc-emoji span { font-size: 4rem; position: absolute; bottom: 0; inset-inline-end: 30px; }
.main-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.mc-price { display: flex; align-items: baseline; gap: 6px; }
.mc-price b { font-size: 2.8rem; color: var(--lime); font-weight: 900; line-height: 1; }
.mc-price s { color: color-mix(in srgb, #fff 55%, var(--ink)); margin-inline-start: 10px; }

.badge-247 { position: absolute; top: 10px; inset-inline-end: 10px; width: 170px; height: 170px; z-index: 3; }
.ring { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.ring text { font-size: 15px; font-weight: 700; letter-spacing: 3px; fill: var(--ink); font-family: "Outfit", "Tajawal", sans-serif; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge-core { position: absolute; inset: 38px; border-radius: 50%; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; white-space: nowrap; font-weight: 900; font-size: 1.9rem; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--lime) 80%, transparent); font-family: "Outfit", sans-serif; }
.badge-core em { font-style: normal; opacity: .7; }

.float { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 18px 12px 12px; border-radius: 18px; box-shadow: var(--shadow); z-index: 3; animation: bob 5s ease-in-out infinite; }
html[dir="rtl"] .float { padding: 12px 12px 12px 18px; }
.float > span { font-size: 1.8rem; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--cream); }
.float b { display: block; font-size: .95rem; }
.float small { color: var(--muted); font-size: .8rem; }
.f1 { top: 70px; inset-inline-start: 0; }
.f2 { bottom: 60px; inset-inline-end: 0; animation-delay: -1.6s; }
.f3 { bottom: 20px; inset-inline-start: 20px; animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-14px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--lime); overflow: hidden; transform: rotate(-1.5deg); margin: -20px -10px 0; border-block: 2px solid var(--ink); position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { padding: 16px 26px; font-weight: 800; font-size: 1.2rem; white-space: nowrap; display: flex; align-items: center; }
.marquee span::after { content: "✦"; margin-inline-start: 52px; color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- section head ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; text-align: start; max-width: none; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 20px; }
.cat { position: relative; border-radius: var(--radius); padding: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .35s, box-shadow .35s; cursor: pointer; isolation: isolate; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-emoji { position: absolute; top: 18px; inset-inline-end: 18px; font-size: 4.2rem; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .18)); }
.cat:hover .cat-emoji { transform: scale(1.18) rotate(-10deg); }
.cat h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 4px; }
.cat p { font-size: .92rem; opacity: .8; }
.cat.big { grid-column: span 2; grid-row: span 2; }
.cat.big .cat-emoji { font-size: 10rem; top: 30px; inset-inline-end: 40px; }
.cat.big h3 { font-size: 2.3rem; }
.cat.big p { font-size: 1.05rem; max-width: 380px; }
.tag { display: inline-block; background: var(--lime); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.c-coffee { background: radial-gradient(circle at 80% 20%, var(--brand), var(--ink) 65%); color: #fff; }
.c-food { background: #ffe3b3; }
.c-snack { background: #ffd2c6; }
.c-drink { background: #d7f0ff; }
.c-daily { background: #dfe6ff; }
.c-tech { background: #e6e0ff; }
.c-bakery { background: #ffe9d6; }
.cat.wide { grid-column: span 2; }

/* ---------- offers ---------- */
.offers { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.offers::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--lime) 18%, transparent), transparent 70%); top: -200px; inset-inline-end: -150px; }
.slider-btns { display: flex; gap: 10px; }
.sbtn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); font-size: 1.6rem; transition: .25s; }
.sbtn:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
html[dir="rtl"] .sbtn { transform: scaleX(-1); }
.offer-track { --per: 4; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 0; margin-top: -10px; scrollbar-width: none; position: relative; }
.offer-track::-webkit-scrollbar { display: none; }
.offer { flex: 0 0 calc((100% - (var(--per) - 1) * 22px) / var(--per)); scroll-snap-align: start; border-radius: 26px; padding: 26px; color: var(--ink); position: relative; transition: transform .3s; }
.offer:hover { transform: translateY(-6px) rotate(-1deg); }
.off { position: absolute; top: 20px; inset-inline-end: 20px; background: var(--ink); color: var(--lime); font-weight: 800; padding: 6px 12px; border-radius: 999px; font-size: .85rem; }
.o-emoji { font-size: 3.4rem; margin: 36px 0 22px; letter-spacing: -8px; }
.offer h3 { font-size: 1.4rem; font-weight: 800; }
.offer p { opacity: .75; margin-bottom: 18px; }
.o-price { font-weight: 600; border-top: 2px dashed color-mix(in srgb, var(--ink) 20%, transparent); padding-top: 14px; }
.o-price b { font-size: 2rem; font-weight: 900; }
.o-price s { opacity: .5; margin-inline-start: 6px; }
.o1 { background: var(--lime); }
.o2 { background: #ffd79a; }
.o3 { background: #ffc2c4; }
.o4 { background: #bfe6ff; }
.o5 { background: #d9d0ff; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-copy p { color: var(--muted); font-size: 1.08rem; margin: 18px 0 30px; }
.features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.features li { display: flex; gap: 14px; align-items: center; background: #fff; padding: 16px; border-radius: 18px; border: 1px solid var(--line); transition: .25s; }
.features li:hover { border-color: var(--brand); transform: translateY(-3px); }
.features span { font-size: 1.5rem; width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: var(--cream); border-radius: 14px; }
.features b { display: block; }
.features small { color: var(--muted); font-size: .85rem; }

.about-visual { position: relative; background: linear-gradient(160deg, #ffe0e1, #fff0d9); border-radius: 36px; padding: 60px 40px 40px; }
.store { max-width: 420px; margin: 0 auto; }
.store-sign { background: var(--ink); color: #fff; font-weight: 900; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 16px 16px 0 0; font-family: "Outfit", sans-serif; }
.store-sign small { font-family: "Tajawal", sans-serif; color: var(--lime); font-size: 1.1rem; }
.store-awning { height: 38px; background: repeating-linear-gradient(90deg, var(--brand) 0 36px, var(--lime) 36px 72px); border-radius: 0 0 20px 20px; position: relative; z-index: 1; box-shadow: 0 8px 12px -6px rgba(0, 0, 0, .3); }
.store-front { background: #fff; display: grid; grid-template-columns: 1fr 90px 1fr; gap: 14px; padding: 24px 18px 0; margin-top: -10px; border-radius: 0 0 8px 8px; box-shadow: var(--shadow); }
.win { background: linear-gradient(180deg, #ffe3c4, #fff4e6); border-radius: 10px; display: grid; grid-template-columns: 1fr 1fr; place-items: center; padding: 12px 6px; font-size: 1.8rem; gap: 4px; margin-bottom: 18px; }
.door { background: linear-gradient(180deg, #fdd19a, #f9b865); border-radius: 10px 10px 0 0; height: 170px; position: relative; border: 4px solid var(--ink); border-bottom: 0; }
.open-sign { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: .62rem; font-weight: 800; padding: 4px 6px; border-radius: 5px; white-space: nowrap; animation: blink 2.2s infinite; font-family: "Outfit", sans-serif; }
@keyframes blink { 50% { opacity: .55; } }
.about-pill { position: absolute; bottom: -24px; inset-inline-end: 30px; background: var(--ink); color: #fff; border-radius: 18px; padding: 16px 22px; box-shadow: var(--shadow); }
.about-pill b { display: block; color: var(--lime); }
.about-pill span { font-size: .85rem; opacity: .8; }

/* ---------- stats ---------- */
.stats { padding: 30px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 30px; border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 40px 20px; text-align: center; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
.stat b, .stat > span { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 900; color: var(--brand); font-variant-numeric: tabular-nums; }
.stat > span { color: var(--coral); }
.stat p { color: var(--muted); font-weight: 500; }

/* ---------- rewards ---------- */
.rewards { background: linear-gradient(135deg, var(--brand), var(--ink)); color: #fff; border-radius: 40px; padding: 70px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; position: relative; overflow: hidden; }
.rewards::after { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 60px solid color-mix(in srgb, var(--lime) 8%, transparent); bottom: -200px; inset-inline-start: -100px; }
.rewards-copy p { opacity: .8; font-size: 1.08rem; margin: 16px 0 26px; max-width: 480px; }
.stamps { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; max-width: 460px; margin-bottom: 30px; }
.stamps i { font-style: normal; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1.5px dashed rgba(255, 255, 255, .3); font-size: 1rem; filter: grayscale(1); opacity: .5; }
.stamps i.on { background: var(--lime); border: 0; filter: none; opacity: 1; }
.stamps i.gift { background: var(--coral); border: 0; filter: none; opacity: 1; animation: bob 2.5s ease-in-out infinite; }
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.app-btn { display: flex; align-items: center; gap: 10px; background: #000; padding: 10px 20px; border-radius: 14px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .2); transition: .25s; }
.app-btn:hover { background: var(--lime); color: var(--ink); }
.app-btn span { font-size: 1.5rem; }
.app-btn small { display: block; font-size: .68rem; font-weight: 400; opacity: .8; }
.phone { justify-self: center; width: 270px; height: 540px; border-radius: 44px; background: #0a0f0d; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 2px #333; transform: rotate(6deg); position: relative; z-index: 1; }
html[dir="rtl"] .phone { transform: rotate(-6deg); }
.phone-screen { background: var(--cream); color: var(--ink); height: 100%; border-radius: 34px; padding: 34px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.ps-head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ps-card { background: var(--ink); color: #fff; border-radius: 20px; padding: 18px; }
.ps-card small { opacity: .7; font-size: .75rem; }
.ps-card b { display: block; font-size: 2.2rem; color: var(--lime); font-weight: 900; line-height: 1.1; }
.bar { height: 8px; background: rgba(255, 255, 255, .15); border-radius: 8px; margin: 10px 0 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--lime), var(--sun)); border-radius: 8px; }
.ps-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px; }
.ps-row span { font-size: 1.4rem; width: 38px; height: 38px; display: grid; place-items: center; background: var(--cream); border-radius: 10px; }
.ps-row b { display: block; font-size: .85rem; }
.ps-row small { font-size: .72rem; color: var(--muted); }
.ps-qr { flex: 1; border-radius: 14px; background:
  repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 14px 14px; opacity: .9; min-height: 80px; border: 10px solid #fff; }

/* ---------- locations ---------- */
.loc-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; background: #fff; border-radius: 32px; padding: 24px; border: 1px solid var(--line); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters button { padding: 9px 18px; border-radius: 999px; background: var(--cream); font-weight: 600; transition: .2s; }
.filters button.active, .filters button:hover { background: var(--ink); color: #fff; }
.loc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow-y: auto; }
.loc-list li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); transition: .25s; cursor: pointer; }
.loc-list li:hover { border-color: var(--brand); background: color-mix(in srgb, var(--lime) 12%, #fff); }
.loc-list li.hide { display: none; }
.pin { font-size: 1.3rem; }
.loc-list div { flex: 1; }
.loc-list b { display: block; }
.loc-list small { color: var(--muted); }
.loc-list em { font-style: normal; font-size: .75rem; font-weight: 700; background: var(--lime); padding: 4px 10px; border-radius: 999px; }
.map { position: relative; border-radius: 22px; background: linear-gradient(160deg, #fdeee2, #f4efe2); min-height: 380px; overflow: hidden; }
.map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 12%, transparent) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.ksa { position: absolute; inset: 8%; width: 84%; height: 84%; }
.ksa path { fill: color-mix(in srgb, var(--brand) 12%, transparent); stroke: var(--brand); stroke-width: 2; stroke-dasharray: 6 6; }
.mpin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; transition: .3s; }
.mpin i { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--coral); box-shadow: 0 0 0 6px color-mix(in srgb, var(--lime) 25%, transparent); animation: pulse-pin 2s infinite; }
.mpin b { margin-top: 8px; background: var(--ink); color: #fff; font-size: .8rem; padding: 4px 10px; border-radius: 8px; }
.mpin.dim { opacity: .25; }
@keyframes pulse-pin { 50% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--lime) 0%, transparent); } }

/* ---------- testimonials ---------- */
.testi-sec { padding-top: 40px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-grid blockquote { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; transition: .3s; }
.testi-grid blockquote:nth-child(2) { background: var(--ink); color: #fff; transform: translateY(20px); }
.testi-grid blockquote:hover { box-shadow: var(--shadow); }
.stars { color: var(--sun); letter-spacing: 3px; margin-bottom: 14px; }
.testi-grid p { font-size: 1.1rem; margin-bottom: 22px; }
.testi-grid footer { display: flex; align-items: center; gap: 12px; }
.av { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.testi-grid small { display: block; opacity: .6; }

/* ---------- careers ---------- */
#careers { padding: 40px 0; }
.careers { background: var(--coral); background: linear-gradient(120deg, var(--brand), var(--lime)); color: #fff; border-radius: 36px; padding: 56px 60px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.careers .eyebrow { color: #fff; background: rgba(255, 255, 255, .2); }
.careers p { opacity: .92; max-width: 560px; margin-top: 10px; }
.careers .btn-lime { background: var(--ink); color: #fff; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list span { width: 54px; height: 54px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.4rem; }
.contact-list small { color: var(--muted); display: block; }
.contact-list b { font-size: 1.1rem; }
.form { background: #fff; border-radius: 30px; padding: 34px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); font: inherit; color: inherit; transition: border-color .2s, background .2s; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.form .btn { align-self: flex-start; }
.form-ok { color: var(--brand); font-weight: 600; display: none; }
.form-ok.show { display: block; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #c3c9e8; padding: 80px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.footer-grid > div > a:not(.logo) { display: block; padding: 5px 0; transition: color .2s; }
.footer-grid > div > a:not(.logo):hover { color: var(--lime); }
.f-tag { margin: 18px 0; font-family: "Tajawal", sans-serif; font-size: 1.2rem; color: #fff; font-weight: 700; }
.f-tag span { font-weight: 400; font-size: 1rem; color: #c3c9e8; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; font-weight: 700; font-size: .8rem; transition: .25s; }
.socials a:hover { background: var(--lime); color: var(--ink); }
.f-small { font-size: .92rem; margin-bottom: 14px; }
.news { display: flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 5px; }
.news input { flex: 1; min-width: 0; background: none; border: 0; padding: 10px 14px; color: #fff; font: inherit; outline: none; }
.news button { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; }
.f-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding-top: 24px; font-size: .88rem; gap: 12px; flex-wrap: wrap; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.testi-grid blockquote.reveal.in:nth-child(2) { transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--cream); flex-direction: column; padding: 16px; gap: 4px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s; z-index: -1; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); }
  .nav.open { transform: none; }
  .nav a { padding: 14px 18px; font-size: 1.05rem; }
  .burger { display: flex; }
  .hero-inner, .about, .contact, .rewards { grid-template-columns: 1fr; }
  .hero-visual { height: 500px; max-width: 520px; width: 100%; margin: 0 auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rewards { padding: 50px 36px; }
  .loc-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .hide-sm { display: none !important; }
  .hero { padding: 40px 0 90px; }
  .hero-visual { height: 460px; }
  .main-card { width: 260px; padding: 22px; }
  .mc-emoji { font-size: 4.5rem; }
  .mc-emoji span { font-size: 3rem; }
  .badge-247 { width: 120px; height: 120px; }
  .badge-core { inset: 28px; font-size: 1.3rem; }
  .ring text { font-size: 18px; }
  .float { padding: 8px 12px 8px 8px; }
  .float > span { width: 40px; height: 40px; font-size: 1.4rem; }
  .f3 { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
  .cat { padding: 18px; }
  .cat-emoji { font-size: 3rem; }
  .cat h3 { font-size: 1.05rem; }
  .cat p { font-size: .8rem; }
  .cat.big { grid-row: span 2; }
  .cat.big .cat-emoji { font-size: 6.5rem; }
  .cat.big h3 { font-size: 1.7rem; }
  .section-head.row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .offer-track { --per: 1.25; }
  .features, .f-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-inline-end: 0; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-grid blockquote:nth-child(2), .testi-grid blockquote.reveal.in:nth-child(2) { transform: none; }
  .rewards { padding: 40px 22px; border-radius: 28px; }
  .stamps { gap: 5px; }
  .careers { flex-direction: column; align-items: flex-start; padding: 40px 26px; }
  .about-visual { padding: 40px 18px 30px; }
  .store-front { grid-template-columns: 1fr 70px 1fr; gap: 8px; padding: 16px 10px 0; }
  .win { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form { padding: 24px; }
}

/* ---------- official logo ---------- */
.logo-img { height: 62px; width: auto; border-radius: 12px; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--ink) 60%, transparent); transition: transform .3s; }
.logo:hover .logo-img { transform: rotate(-4deg) scale(1.05); }
.logo-img.sm { height: 32px; border-radius: 8px; box-shadow: none; }
.logo-img.lg { height: 96px; border-radius: 20px; }
.store-sign img { height: 44px; border-radius: 8px; }
@media (max-width: 680px) { .logo-img { height: 46px; } }

/* ---------- admin-managed content: images, flyers, lightbox ---------- */
[hidden] { display: none !important; }
.mc-img { display: block; width: 100%; height: 150px; object-fit: contain; margin: 14px 0 10px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }
.o-img { display: block; width: 100%; height: 120px; object-fit: contain; margin: 34px 0 18px; }
.mc-img.photo { object-fit: cover; border-radius: 18px; filter: none; box-shadow: 0 14px 28px rgba(0, 0, 0, .28); }
/* hero deal with a white-background photo: white card, photo edges fade into it (no "pasted box") */
.main-card.has-photo { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.main-card.has-photo .time { color: var(--muted); }
.main-card.has-photo .mc-price b { color: var(--brand); }
.main-card.has-photo .mc-price s { color: var(--muted); }
.main-card.has-photo .mc-img.photo { width: calc(100% + 24px); height: 175px; margin: 4px -12px 8px; border-radius: 0; box-shadow: none; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 70% 68% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 68% at 50% 50%, #000 55%, transparent 100%); }
.o-img.photo { object-fit: cover; border-radius: 14px; box-shadow: 0 8px 18px rgba(0, 0, 0, .16); }
.cat.has-img { color: #fff; }
.cat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.cat.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 80%, transparent), color-mix(in srgb, var(--ink) 5%, transparent) 65%); }
.cat.has-img:hover .cat-img { transform: scale(1.06); }
/* tiles with a white-background product photo: light card, the photo fades into white where the text sits */
.cat.has-img.photo { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 10px color-mix(in srgb, var(--ink) 6%, transparent); }
/* the photo gets the top of the tile, the text the bottom (--txt); only a short fade where they meet */
.cat.has-img.photo { --txt: 104px; }
.cat.has-img.photo.big { --txt: 200px; }
.cat.has-img.photo .cat-img { inset: 0 0 auto 0; height: calc(100% - var(--txt) + 34px); object-position: center; }
.cat.has-img.photo::before { background: linear-gradient(to top, #fff 0, #fff var(--txt), transparent calc(var(--txt) + 40px)); }
.cat.has-img.photo h3 { color: var(--ink); }
.cat.has-img.photo p { color: var(--muted); opacity: 1; }
.cat.has-img.photo:hover { box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 14%, transparent); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
/* small accent bar in the category colour, so each tile keeps its identity */
.cat.has-img.photo .cat-body { position: relative; padding-top: 12px; }
.cat.has-img.photo .cat-body::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 34px; height: 4px; border-radius: 4px; background: var(--brand); }
.cat.has-img.photo.c-coffee .cat-body::before { background: var(--ink); }
.cat.has-img.photo.c-food .cat-body::before { background: #f5a524; }
.cat.has-img.photo.c-snack .cat-body::before { background: #f0716a; }
.cat.has-img.photo.c-drink .cat-body::before { background: #3aa7e0; }
.cat.has-img.photo.c-daily .cat-body::before { background: #6b7ff0; }
.cat.has-img.photo.c-tech .cat-body::before { background: #9a7cf0; }
.cat.has-img.photo.c-bakery .cat-body::before { background: #e39b4f; }
.cat.has-img.photo .tag { margin-bottom: 10px; }

.flyer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.flyer { display: flex; flex-direction: column; text-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.flyer:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.flyer img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--cream); }
.flyer-pdf { aspect-ratio: 3 / 4; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-size: 2.4rem; font-weight: 900; }
.flyer-meta { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.flyer-meta small { color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 20, 14, .88); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-close { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.8rem; line-height: 1; }

/* offers: 4 across on desktop, 2 on tablet */
@media (max-width: 1080px) and (min-width: 681px) { .offer-track { --per: 2.2; } }
.float > span img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.i-cart { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i-cart circle { fill: currentColor; stroke: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-ok.err { color: #c0392b; }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--brand); }

/* ---------- real store map (Leaflet) ---------- */
.real-map { z-index: 0; isolation: isolate; background: #e8eee9; font-family: var(--font); }
.real-map::before { display: none; }
.store-pin span { display: block; width: 42px; height: 42px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); box-shadow: 0 6px 14px color-mix(in srgb, var(--ink) 35%, transparent); border: 3px solid #fff; overflow: hidden; transition: transform .2s; }
.store-pin img { width: 100%; height: 100%; object-fit: cover; transform: rotate(45deg) scale(1.25); }
.store-pin:hover span, .store-pin:focus span { transform: rotate(-45deg) scale(1.15); }
.leaflet-tooltip.pin-tip { font-family: var(--font); border-radius: 10px; padding: 8px 12px; border: 0; box-shadow: 0 8px 20px color-mix(in srgb, var(--ink) 25%, transparent); text-align: center; }
.pin-tip small { color: var(--muted); }
.loc-list .gmaps { display: table; margin-top: 4px; font-size: .8rem; font-weight: 700; color: var(--brand); }
.loc-list .gmaps:hover { text-decoration: underline; }
.loc-list li.sel { border-color: var(--brand); background: color-mix(in srgb, var(--lime) 18%, #fff); }
.loc-list li:hover { background: color-mix(in srgb, var(--lime) 12%, #fff); }

/* keep the 24/7 badge left-to-right in Arabic too (otherwise the ring text disappears and 24/7 flips to 7/24) */
.badge-247 { direction: ltr; unicode-bidi: isolate; }
.ring .ar { letter-spacing: 0; font-family: "Tajawal", sans-serif; font-size: 16px; } /* letter-spacing breaks Arabic letter joining */
/* the badge is forced LTR above, so its logical inset would resolve to the right side in Arabic too — pin it physically */
.badge-247 { inset-inline-end: auto; right: 10px; }
html[dir="rtl"] .badge-247 { right: auto; left: 10px; }
/* times and "19 SAR" must not reorder in Arabic */
.mc-top .time, .mc-price s, .o-price s { direction: ltr; unicode-bidi: isolate; }
.socials { flex-wrap: wrap; }
.socials a { color: #fff; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
/* social icons in the Contact section (light background) */
.contact-socials { margin-top: 26px; }
.contact-socials small { display: block; color: var(--muted); margin-bottom: 10px; }
.socials.light a { color: var(--ink); background: #fff; border-color: var(--line); width: 52px; height: 52px; border-radius: 16px; }
.socials.light a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.socials.light svg { width: 22px; height: 22px; }

/* ---------- locations: fits one screen when opened from the menu + search ---------- */
.loc-sec { padding: 36px 0 70px; }
.loc-sec .section-head { margin-bottom: 22px; }
.loc-sec h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.loc-wrap { height: clamp(460px, calc(100vh - 290px), 640px); }
.loc-side { display: flex; flex-direction: column; min-height: 0; }
.loc-list { max-height: none; flex: 1; min-height: 0; padding-inline-end: 4px; }
.real-map { min-height: 0; height: 100%; }
.loc-search { position: relative; display: block; margin-bottom: 12px; }
.loc-search svg { position: absolute; top: 50%; inset-inline-start: 16px; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.loc-search input { width: 100%; padding: 13px 16px; padding-inline-start: 44px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream); font: inherit; color: var(--ink); }
.loc-search input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 10%, transparent); }
.loc-empty { color: var(--muted); padding: 18px 4px; }
@media (max-width: 1080px) {
  .loc-wrap { height: auto; }
  .loc-list { max-height: 340px; }
  .real-map { height: 360px; }
}

/* ---------- store locator, tidy version: one scrolling row of city chips with counts, grouped pins ---------- */
.loc-wrap > * { min-width: 0; } /* the long chip row must scroll inside its column, not widen it */
.loc-sec .filters { flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 0 -2px 10px; padding: 2px 2px 8px;
  scrollbar-width: thin; scroll-behavior: smooth; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
html[dir="rtl"] .loc-sec .filters { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
.loc-sec .filters::-webkit-scrollbar { height: 4px; }
.loc-sec .filters::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.loc-sec .filters button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 8px 7px 14px; font-size: .88rem; white-space: nowrap;
  border: 1px solid var(--line); background: #fff; color: var(--ink); }
html[dir="rtl"] .loc-sec .filters button { padding: 7px 14px 7px 8px; }
.loc-sec .filters button i { font-style: normal; font-size: .72rem; font-weight: 700; min-width: 22px; padding: 2px 6px; border-radius: 999px; text-align: center;
  background: var(--cream); color: var(--muted); }
.loc-sec .filters button:hover { background: var(--cream); color: var(--ink); border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.loc-sec .filters button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.loc-sec .filters button.active i { background: color-mix(in srgb, #fff 20%, transparent); color: #fff; }
.loc-count { font-size: .82rem; font-weight: 600; color: var(--muted); margin: 0 4px 8px; }
.loc-sec .loc-list { gap: 8px; }
.loc-sec .loc-list li { padding: 11px 14px; gap: 12px; border-radius: 14px; }
.loc-sec .loc-list .pin { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; font-size: 1rem;
  background: color-mix(in srgb, var(--brand) 10%, #fff); }
.loc-sec .loc-list b { font-size: .95rem; line-height: 1.3; }
.loc-sec .loc-list small { font-size: .8rem; }
.loc-sec .loc-list .gmaps { margin-top: 2px; font-size: .76rem; }
.loc-sec .loc-list em { font-size: .7rem; padding: 3px 8px; }
/* map: softer colours so the pins stand out, smaller pins, numbered groups */
.real-map .leaflet-tile-pane { filter: saturate(.45) brightness(1.04) contrast(.94); }
.store-pin span { width: 34px; height: 34px; border-width: 2.5px; }
.store-cluster { background: none; }
.store-cluster span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 800; font-size: .9rem; border: 3px solid #fff;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 22%, transparent), 0 6px 16px color-mix(in srgb, var(--ink) 30%, transparent); transition: transform .2s; }
.store-cluster:hover span { transform: scale(1.08); }
.leaflet-control-zoom { border: 0 !important; box-shadow: 0 6px 16px color-mix(in srgb, var(--ink) 18%, transparent) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-control-zoom a { width: 34px !important; height: 34px !important; line-height: 34px !important; color: var(--ink) !important; }
.phone-screen.has-img { padding: 0; overflow: hidden; }
.phone-screen.has-img img { width: 100%; height: 100%; object-fit: cover; }
.store-btns:empty { display: none; }
/* reviews: dark middle card in every row of three */
.testi-grid blockquote:nth-child(3n+2) { background: var(--ink); color: #fff; transform: translateY(20px); }
.testi-grid blockquote.reveal.in:nth-child(3n+2) { transform: translateY(20px); }
@media (max-width: 680px) { .testi-grid blockquote:nth-child(3n+2), .testi-grid blockquote.reveal.in:nth-child(3n+2) { transform: none; } }

/* ---------- message from the management ---------- */
.mgmt-sec { padding-top: 20px; }
.mgmt { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 64px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: 48px; position: relative; overflow: hidden; }
.mgmt::after { content: "“"; position: absolute; top: -40px; inset-inline-end: 36px; font-family: Georgia, serif; font-size: 18rem; line-height: 1; color: var(--lime); opacity: .35; pointer-events: none; }
html[dir="rtl"] .mgmt::after { content: "”"; }
.mgmt-photo { margin: 0; position: relative; }
.mgmt-img { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.mgmt-img img { width: 100%; height: 100%; object-fit: cover; }
.mgmt-img.placeholder { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--lime) 35%, #fff), var(--cream) 70%); }
.mgmt-img.placeholder img { width: 45%; height: auto; border-radius: 22%; box-shadow: 0 20px 40px -18px color-mix(in srgb, var(--ink) 45%, transparent); }
.mgmt-photo figcaption { position: absolute; inset-inline-start: 18px; bottom: 18px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow); }
.mgmt-photo figcaption b, .mgmt-sign b { display: block; font-weight: 800; }
.mgmt-photo figcaption span { font-size: .85rem; color: var(--lime); }
.mgmt-copy { position: relative; z-index: 1; }
.mgmt-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 20px; }
.mgmt-text p { color: var(--muted); font-size: 1.08rem; line-height: 1.8; margin-bottom: 14px; }
.mgmt-sign { margin-top: 26px; padding-top: 20px; border-top: 2px dashed var(--line); }
.mgmt-sign b { font-size: 1.15rem; }
.mgmt-sign span { color: var(--brand); font-weight: 600; font-size: .92rem; }
@media (max-width: 900px) {
  .mgmt { grid-template-columns: 1fr; gap: 32px; padding: 26px; border-radius: 28px; }
  .mgmt-photo { max-width: 340px; }
  .mgmt::after { font-size: 12rem; }
}

/* ---------- photo gallery ---------- */
.gallery-grid { columns: 4 240px; column-gap: 16px; }
.g-item { display: block; width: 100%; margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: 20px; overflow: hidden; background: var(--line); cursor: zoom-in; }
.g-item img { display: block; width: 100%; height: auto; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
.g-cap { position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; color: #fff; font-weight: 600; font-size: .9rem; text-align: start; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 85%, transparent), transparent); opacity: 0; transform: translateY(8px); transition: .3s; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item.g-extra { display: none; }
.gallery-grid.show-all .g-extra { display: block; }
.gallery-more { text-align: center; margin-top: 12px; }
@media (hover: none) { .g-cap { opacity: 1; transform: none; } }

/* ---------- full-screen viewer: whole image always fits the screen ---------- */
body.lb-open { overflow: hidden; }
.lightbox { display: flex; align-items: center; justify-content: center; padding: 0; background: color-mix(in srgb, var(--ink) 94%, #000); }
.lb-fig { margin: 0; width: 100vw; height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 64px 72px 56px; box-sizing: border-box; }
.lightbox .lb-fig img { max-width: 100%; max-height: 100%; min-height: 0; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); flex: 0 1 auto; }
.lb-fig figcaption { color: #fff; font-weight: 600; text-align: center; flex: none; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.8rem; line-height: 1; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.lb-btn:hover { background: var(--lime); }
.lb-close { top: 14px; inset-inline-end: 14px; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 2.2rem; padding-bottom: 4px; }
.lb-prev { inset-inline-start: 14px; }
.lb-next { inset-inline-end: 14px; }
html[dir="rtl"] .lb-nav { transform: translateY(-50%) scaleX(-1); }
.lb-count { position: absolute; top: 24px; inset-inline-start: 24px; color: #fff; font-weight: 700; font-size: .9rem; opacity: .8; }
@media (max-width: 680px) {
  .lb-fig { padding: 60px 10px 40px; }
  .lb-nav { top: auto; bottom: 14px; transform: none; width: 44px; height: 44px; }
  html[dir="rtl"] .lb-nav { transform: scaleX(-1); }
}
/* gallery photo linked to a store */
.g-item.g-linked { cursor: pointer; }
.g-store { position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 700; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); transition: background .2s; }
.g-item.g-linked:hover .g-store { background: var(--lime); }
