/* ==========================================================================
   ZAURA · site stylesheet
   Colours come from theme.js as custom properties (--primary, --accent,
   --c-light, --c-dark, --c-ink ...). Everything else derives from them.
   ========================================================================== */
:root {
  --primary: #732F30; --accent: #D9B77E; --c-light: #F8F2E9; --c-dark: #221012; --c-ink: #2B1113;
  --primary-ink: #FFFFFF; --accent-ink: #2B1113; --radius: 22px;
  --font-body: 'Manrope', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Manrope', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-brand: 'Josefin Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', cursive;
  --maxw: 1180px; --topbar-h: 62px; --bottomnav-h: 68px; --safe-top: env(safe-area-inset-top, 0px);
  --bg: var(--c-light);
  --bg-2: color-mix(in srgb, var(--c-light) 86%, var(--accent));
  --surface: #FFFFFF;
  --surface-2: color-mix(in srgb, var(--c-light) 60%, #FFFFFF);
  --ink: var(--c-ink);
  --muted: color-mix(in srgb, var(--c-ink) 62%, var(--c-light));
  --line: color-mix(in srgb, var(--c-ink) 11%, transparent);
  --shadow-sm: 0 4px 16px color-mix(in srgb, var(--c-ink) 8%, transparent);
  --shadow: 0 14px 34px color-mix(in srgb, var(--c-ink) 14%, transparent);
  --plate-1: color-mix(in srgb, var(--primary) 72%, #FFFFFF);
  --plate-2: color-mix(in srgb, var(--primary) 86%, #000000);
  --strong: var(--primary);
  --accent-text: color-mix(in srgb, var(--accent) 55%, var(--c-ink));
  --glass: color-mix(in srgb, var(--c-light) 84%, transparent);
  color-scheme: light;
}
:root[data-mode="dark"] {
  --bg: var(--c-dark);
  --bg-2: color-mix(in srgb, var(--c-dark) 84%, var(--primary));
  --surface: color-mix(in srgb, var(--c-dark) 90%, #FFFFFF);
  --surface-2: color-mix(in srgb, var(--c-dark) 84%, #FFFFFF);
  --ink: var(--c-light);
  --muted: color-mix(in srgb, var(--c-light) 64%, var(--c-dark));
  --line: color-mix(in srgb, var(--c-light) 12%, transparent);
  --shadow-sm: 0 4px 16px rgba(0,0,0,.28);
  --shadow: 0 16px 38px rgba(0,0,0,.4);
  --strong: var(--accent);
  --accent-text: var(--accent);
  --glass: color-mix(in srgb, var(--c-dark) 82%, transparent);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font: 16px/1.55 var(--font-body);
  background-color: var(--bg); background-image: var(--paws-bg, none);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 80%, var(--ink)); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 14px 22px; font-weight: 800; font-size: 15px; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn.small { padding: 10px 16px; font-size: 14px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; padding: 0; }
.icon-btn .ic { width: 20px; height: 20px; }
.mode-btn .ic-moon { display: none; }
:root[data-mode="dark"] .mode-btn .ic-sun { display: none; }
:root[data-mode="dark"] .mode-btn .ic-moon { display: block; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; padding-top: var(--safe-top); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar-in { height: var(--topbar-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 300 20px var(--font-brand); letter-spacing: .38em; }
.brand-slogan { font-size: 10.5px; letter-spacing: .14em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.topnav { display: none; gap: 4px; margin-left: 12px; }
.topnav a { text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--muted); padding: 8px 14px; border-radius: 999px; }
.topnav a:hover, .topnav a.active { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.list-btn { position: relative; display: none; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.badge.bump { animation: bump .45s ease; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 26px 0 40px; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .32; pointer-events: none; }
.hero-blob.b1 { width: 380px; height: 380px; background: var(--accent); top: -120px; right: -90px; }
.hero-blob.b2 { width: 280px; height: 280px; background: var(--primary); top: 8%; left: -170px; opacity: .16; }
.hero-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.hero-art { order: -1; display: grid; place-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 25px/1.1 var(--font-hand); color: var(--accent-text); transform: rotate(-1.5deg); transform-origin: left center; }
.eyebrow .ic { width: 20px; height: 20px; }
.status { display: flex; width: fit-content; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); font-weight: 700; font-size: 13.5px; margin-bottom: 14px; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #2FA36B; animation: pulse 2s infinite; }
.status.closed .dot { background: #C0392B; animation: none; }
.status small { color: var(--muted); font-weight: 600; font-size: 13px; }
.hero-title { margin: 0; font: 800 clamp(38px, 7.4vw, 72px)/1.02 var(--font-display); letter-spacing: -0.03em; }
.hero-title em { font-style: normal; color: var(--strong); position: relative; white-space: nowrap; z-index: 0; }
.hero-title em .underline { position: absolute; left: -3%; bottom: -.1em; width: 106%; height: .34em; color: var(--accent); z-index: -1; opacity: .9; }
:root[data-mode="dark"] .hero-title em .underline { color: var(--primary); }
.hero-sub { margin: 18px 0 26px; font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { list-style: none; display: flex; gap: 26px; padding: 0; margin: 30px 0 0; }
.stats b { display: block; font: 800 28px/1 var(--font-display); color: var(--strong); }
.stats span { font-size: 13px; color: var(--muted); font-weight: 600; }

.porthole { position: relative; width: min(420px, 86vw); aspect-ratio: 1; }
.porthole .ring-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 48s linear infinite; }
.ring-text text { font: 700 16px var(--font-brand); letter-spacing: .12em; fill: var(--strong); }
.porthole-frame { position: absolute; inset: 12.5%; border-radius: 50%; overflow: hidden; background: #1a1a1a;
  box-shadow: 0 0 0 9px var(--surface), 0 0 0 13px color-mix(in srgb, var(--primary) 75%, transparent), var(--shadow); }
.porthole-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.porthole-frame .cat-mascot { width: 100%; height: 100%; padding: 12% 10% 4%; background: radial-gradient(circle at 50% 35%, var(--bg-2), var(--bg)); }
.bubble { position: absolute; left: -2%; top: 9%; max-width: 58%; background: var(--surface); color: var(--ink); padding: 8px 16px 10px; border-radius: 20px 20px 20px 6px; box-shadow: var(--shadow); font: 700 22px/1.1 var(--font-hand); transform: rotate(-5deg); animation: bob 4.5s ease-in-out infinite; }
.sticker { position: absolute; pointer-events: none; }
.sticker.s-bean1 { right: 4%; top: 6%; width: 34px; color: var(--primary); transform: rotate(18deg); }
.sticker.s-bean2 { right: 16%; bottom: 2%; width: 26px; color: var(--accent); transform: rotate(-30deg); }
.sticker.s-paw { left: 6%; bottom: 6%; width: 42px; color: var(--accent); transform: rotate(-24deg); }
.sticker.s-paw .ic { width: 100%; height: auto; }

/* ---------- ticker ---------- */
.ticker { position: relative; background: var(--primary); color: var(--primary-ink); overflow: hidden; transform: rotate(-1.6deg); margin: 6px -24px 26px; box-shadow: var(--shadow-sm); }
.ticker-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ticker-group { display: flex; align-items: center; }
.ticker-item { display: inline-flex; align-items: center; gap: 22px; padding: 13px 0 13px 22px; font: 600 15px var(--font-brand); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.ticker-item .ic { color: var(--accent); width: 18px; height: 18px; }

/* ---------- section heads ---------- */
.section { padding: 34px 0; scroll-margin-top: calc(var(--topbar-h) + var(--safe-top) + 8px); }
.sec-head { margin-bottom: 22px; }
.sec-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 800; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.sec-head h2 { margin: 6px 0 6px; font: 800 clamp(30px, 4.6vw, 48px)/1.05 var(--font-display); letter-spacing: -0.025em; }
.sec-head p { margin: 0; color: var(--muted); max-width: 640px; font-size: 16.5px; }

/* ---------- promos ---------- */
.promo-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 14px; margin: 0 -16px; scrollbar-width: none; }
.promo-row::-webkit-scrollbar { display: none; }
.promo { position: relative; scroll-snap-align: start; display: grid; grid-template-columns: 1fr 112px; gap: 10px; align-items: center; min-height: 170px; padding: 20px; border-radius: calc(var(--radius) + 4px); text-decoration: none; overflow: hidden; background: var(--pc-bg); color: var(--pc-ink); box-shadow: var(--shadow-sm); transition: transform .2s ease; }
.promo:hover { transform: translateY(-3px) rotate(-.5deg); }
.promo::after { content: ""; position: absolute; inset: 0; background-image: var(--promo-paws, none); opacity: .9; pointer-events: none; }
.promo-kicker { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.promo h3 { margin: 6px 0 6px; font: 800 22px/1.15 var(--font-display); }
.promo p { margin: 0; font-size: 14px; opacity: .88; }
.promo-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 800; font-size: 13.5px; }
.promo-go .ic { width: 16px; height: 16px; }
.promo-img { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 30%, var(--plate-1), var(--plate-2) 75%); box-shadow: 0 0 0 6px color-mix(in srgb, #FFFFFF 25%, transparent); transform: rotate(-8deg); position: relative; z-index: 1; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- divider ---------- */
.divider { display: flex; justify-content: center; color: color-mix(in srgb, var(--accent) 85%, var(--ink) 15%); padding: 6px 0; opacity: .75; }
.paw-trail { width: min(520px, 86%); height: auto; }
/* The paw's position lives on the outer <g>; only the inner .pw is animated (iPhone/WebKit drops a position transform on an animated element). */
.paw-trail .pw { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pawstep .5s ease forwards; animation-delay: calc(var(--i) * .16s); animation-play-state: paused; }
.divider.in .paw-trail .pw { animation-play-state: running; }
:root[data-paws="off"] .divider, :root[data-paws="off"] .sticker.s-paw { display: none; }

/* ---------- menu ---------- */
.search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-sm); }
.search .ic { color: var(--muted); width: 20px; height: 20px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { border: 0; background: transparent; color: var(--muted); padding: 0 4px; display: grid; place-items: center; }
.search-note { margin: 10px 2px 0; color: var(--muted); font-size: 14px; }
.catbar { position: sticky; top: calc(var(--topbar-h) + var(--safe-top)); z-index: 30; margin-top: 18px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.catbar-in { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 9px 16px; max-width: var(--maxw); margin: 0 auto; scroll-behavior: smooth; }
.catbar-in::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: radial-gradient(circle at 50% 30%, var(--plate-1), var(--plate-2) 75%); }
.chip.active { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); transform: translateY(-1px); }
.chip.empty { opacity: .45; }
.cat-block { scroll-margin-top: calc(var(--topbar-h) + var(--safe-top) + 66px); }
.cat-banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 150px; margin: 34px 0 18px; padding: 22px 22px 22px 26px; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background: linear-gradient(125deg, var(--primary), color-mix(in srgb, var(--primary) 62%, #000)); color: var(--primary-ink); }
.cat-banner::before { content: ""; position: absolute; inset: 0; background-image: var(--banner-paws, none); }
.cat-banner > * { position: relative; }
.cat-count { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; background: color-mix(in srgb, #FFFFFF 18%, transparent); padding: 5px 10px; border-radius: 999px; }
.cat-banner h3 { margin: 10px 0 2px; font: 800 clamp(26px, 4vw, 38px)/1.05 var(--font-display); letter-spacing: -0.02em; }
.cat-banner p { margin: 0; opacity: .8; font-weight: 600; }
.cat-banner .cat-img { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; flex: none; background: radial-gradient(circle at 50% 30%, var(--plate-1), var(--plate-2) 75%); box-shadow: 0 0 0 7px color-mix(in srgb, #FFFFFF 18%, transparent); transform: rotate(-7deg); }
.cat-banner .cat-img img { width: 100%; height: 100%; object-fit: cover; }
.group-title { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; font: 800 18px/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 9px 11px; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-5px) rotate(-.5deg); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 1; border-radius: calc(var(--radius) - 7px); overflow: hidden; background: radial-gradient(circle at 50% 30%, var(--plate-1), var(--plate-2) 75%); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-img img { transform: scale(1.07) rotate(2deg); }
.card-body { padding: 10px 4px 0; flex: 1; }
.card h4 { margin: 0; font-size: 15.5px; font-weight: 800; line-height: 1.25; }
.card .en { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.card .note { font-size: 12px; font-weight: 600; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 4px 0; }
.price { font-weight: 800; color: var(--strong); white-space: nowrap; }
.add { width: 38px; height: 38px; border-radius: 13px; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; transition: transform .15s ease, background .2s; }
.add:hover { transform: scale(1.08) rotate(-6deg); }
.add .ic { width: 20px; height: 20px; }
.add.in-list { background: var(--primary); color: var(--primary-ink); }
.empty-note { padding: 40px 10px; text-align: center; color: var(--muted); }

/* ---------- cats ---------- */
.cats-sec { background: var(--bg-2); }
.polaroids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; padding-top: 10px; }
.polaroid { position: relative; margin: 0; background: #FFFDF8; color: #2B1113; padding: 11px 11px 16px; border-radius: 6px; box-shadow: 0 14px 28px rgba(0,0,0,.14); transform: rotate(var(--rot, -2deg)); transition: transform .3s ease; }
.polaroid:hover { transform: rotate(0deg) scale(1.03); }
.tape { position: absolute; top: -12px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%) rotate(-4deg); background: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.pola-img { aspect-ratio: 1; border-radius: 3px; overflow: hidden; background: var(--pola-bg, #EFE6DA); display: grid; place-items: center; }
.pola-img img { width: 100%; height: 100%; object-fit: cover; }
.pola-img .cat-avatar { width: 86%; height: 86%; }
.polaroid figcaption { padding: 10px 4px 0; }
.pola-name { display: block; font: 700 30px/1 var(--font-hand); }
.pola-note { display: block; margin-top: 6px; font-size: 13.5px; color: #5E4A45; line-height: 1.4; }
.pola-fav { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--primary); }
.pola-fav .ic { width: 16px; height: 16px; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 26px; align-items: center; }
.about-text { font-size: 17px; color: var(--muted); margin: 0 0 22px; max-width: 600px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.feature .fi { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 32%, transparent); color: var(--strong); margin-bottom: 10px; }
.feature .fi .ic { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }
.about-art { position: relative; display: grid; place-items: center; }
.about-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); }
.about-art .cat-mascot { position: relative; width: min(360px, 80vw); height: auto; }

/* ---------- visit ---------- */
.visit-grid { display: grid; gap: 18px; padding-top: 40px; }
.vcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); padding: 22px; box-shadow: var(--shadow-sm); }
.vcard h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.vcard h3 .ic { color: var(--strong); }
.vcard p { margin: 0 0 14px; }
.vcard .peek { position: absolute; top: -70px; right: 22px; width: 104px; }
.hours { list-style: none; margin: 12px 0 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 12px; font-size: 15px; }
.hours li + li { border-top: 1px dashed var(--line); }
.hours li span:last-child { font-weight: 800; color: var(--strong); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours li.today { background: color-mix(in srgb, var(--accent) 22%, transparent); border-top-color: transparent; }
.hours li.today + li { border-top-color: transparent; }
.contact-line { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; text-decoration: none; font-weight: 700; }
.contact-line .ic { color: var(--strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- footer ---------- */
.footer { position: relative; margin-top: 110px; background: var(--primary); color: var(--primary-ink); }
.footer-peek { position: absolute; top: -86px; left: 50%; width: 124px; transform: translateX(-50%); }
.footer-in { display: grid; gap: 18px; padding: 42px 0 30px; }
.footer .brand-slogan { color: inherit; opacity: .7; }
.footer .brand img { background: #F8F2E9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { text-decoration: none; font-weight: 700; opacity: .85; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-note { margin: 0; opacity: .85; font-size: 14px; max-width: 640px; }
.copy { margin: 0; font-size: 13px; opacity: .7; }

/* ---------- bottom nav (phones) ---------- */
.bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.bottomnav a, .bottomnav button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 700; padding: 6px 0; }
.bottomnav .ic { width: 23px; height: 23px; }
.bottomnav .active { color: var(--strong); }
.bottomnav .bn-list .bn-fab { width: 56px; height: 56px; margin-top: -30px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); box-shadow: 0 10px 22px color-mix(in srgb, var(--primary) 40%, transparent), 0 0 0 5px var(--bg); }
.bottomnav .bn-list .badge { top: -32px; right: calc(50% - 34px); }

/* ---------- sheets ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, #000 45%, transparent); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: min(560px, 100%); max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); border-radius: 28px 28px 0 0; box-shadow: var(--shadow); animation: sheetUp .3s ease; padding-bottom: env(safe-area-inset-bottom, 0px); }
.sheet-head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 12px 14px 6px; text-align: center; }
.sheet-head h2 { margin: 0; font-size: 16px; font-weight: 800; }
.sheet-body { overflow-y: auto; padding: 8px 20px 26px; }
.detail-img { aspect-ratio: 4 / 3; border-radius: calc(var(--radius) + 2px); overflow: hidden; background: radial-gradient(circle at 50% 30%, var(--plate-1), var(--plate-2) 75%); }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail h3 { margin: 18px 0 2px; font: 800 26px/1.15 var(--font-display); }
.detail .en { margin: 0; color: var(--muted); }
.detail .crumb { margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: var(--accent-text); }
.detail .desc { margin: 14px 0 0; font-size: 16px; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 22px; }
.buy .price { font-size: 26px; }
.qty { justify-self: end; display: inline-flex; align-items: center; gap: 8px; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.qty button .ic { width: 18px; height: 18px; }
.qty span { min-width: 24px; text-align: center; font-weight: 800; }
.buy .btn { grid-column: 1 / -1; justify-content: center; }
.list-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-row .mini { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 30%, var(--plate-1), var(--plate-2) 75%); }
.list-row .mini img { width: 100%; height: 100%; object-fit: cover; }
.list-row h4 { margin: 0; font-size: 15px; }
.list-row .price { font-size: 13.5px; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 8px; font-weight: 700; }
.total .price { font-size: 24px; }
.list-actions { display: grid; gap: 10px; margin-top: 10px; }
.list-actions .btn { justify-content: center; }
.btn.whatsapp { background: #25D366; color: #fff; }
.list-empty { text-align: center; padding: 10px 0 20px; color: var(--muted); }
.list-empty .cat-peek { width: 150px; margin: 0 auto 6px; }

/* ---------- toast & fx ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--bottomnav-h) + 22px + env(safe-area-inset-bottom, 0px)); z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); transition: opacity .25s ease, transform .25s ease; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { width: 18px; height: 18px; color: var(--accent); }
.fx-paw { position: fixed; z-index: 80; width: 18px; height: 18px; color: var(--accent); pointer-events: none; }
.fx-fly { position: fixed; z-index: 80; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: var(--shadow); background: radial-gradient(circle at 50% 30%, var(--plate-1), var(--plate-2) 75%); }
.fx-fly img { width: 100%; height: 100%; object-fit: cover; }
.cat-eye { transform-box: fill-box; transform-origin: center; animation: blink 6.5s infinite; }
.cat-eye + .cat-eye { animation-delay: .04s; }
.cat-pupil { transition: transform .12s ease-out; }
.cat-tail { transform-box: fill-box; transform-origin: 5% 95%; animation: swish 3.2s ease-in-out infinite; }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(8deg); } }
@keyframes bob { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-6px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,163,107,.55); } 70% { box-shadow: 0 0 0 9px rgba(47,163,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,163,107,0); } }
@keyframes bump { 30% { transform: scale(1.35); } 60% { transform: scale(.92); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
@keyframes swish { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(7deg); } }
@keyframes pawstep { from { opacity: 0; transform: scale(.4); } to { opacity: 1; } }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* animated Zaura mascot */
.cat-headbob { transform-box: fill-box; transform-origin: 50% 88%; animation: zHead 7s ease-in-out infinite; }
.cat-breathe { transform-box: fill-box; transform-origin: 50% 100%; animation: zBreathe 4.2s ease-in-out infinite; }
.cat-ear { transform-box: fill-box; }
.cat-ear-l { transform-origin: 85% 100%; animation: zEarL 7.5s ease-in-out infinite; }
.cat-ear-r { transform-origin: 15% 100%; animation: zEarR 9.5s ease-in-out 2s infinite; }
.cat-tongue { transform-box: fill-box; transform-origin: 0% 15%; animation: zLick 6s ease-in-out infinite; }
.cat-whiskers { transform-box: fill-box; transform-origin: 50% 50%; animation: zWhisk 6s ease-in-out infinite; }
.cat-steam path { opacity: 0; animation: zSteam 3.3s ease-in-out infinite; }
.cat-steam path:nth-child(2) { animation-delay: 1.1s; }
.cat-steam path:nth-child(3) { animation-delay: 2.2s; }
@keyframes zHead { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }
@keyframes zBreathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, 1.022); } }
@keyframes zEarL { 0%, 85%, 100% { transform: rotate(0deg); } 88% { transform: rotate(-13deg); } 91% { transform: rotate(4deg); } 94% { transform: rotate(-8deg); } 97% { transform: rotate(0deg); } }
@keyframes zEarR { 0%, 85%, 100% { transform: rotate(0deg); } 88% { transform: rotate(13deg); } 91% { transform: rotate(-4deg); } 94% { transform: rotate(8deg); } 97% { transform: rotate(0deg); } }
@keyframes zLick { 0%, 56%, 100% { transform: scale(.55) rotate(-8deg); } 63% { transform: scale(1) rotate(-4deg); } 70% { transform: scale(1.1) rotate(14deg); } 77% { transform: scale(1) rotate(-6deg); } 85% { transform: scale(.55) rotate(-8deg); } }
@keyframes zWhisk { 0%, 58%, 88%, 100% { transform: rotate(0deg); } 66% { transform: rotate(1.6deg); } 74% { transform: rotate(-1.6deg); } 81% { transform: rotate(.8deg); } }
@keyframes zSteam { 0% { transform: translateY(8px); opacity: 0; } 30% { opacity: .8; } 100% { transform: translateY(-24px); opacity: 0; } }
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after { animation: none !important; }
/* crawlable snapshot rendered by the server; the app replaces it. If the app fails to load, it appears after 3 s. */
.prerender { max-width: 760px; margin: 0 auto; padding: 32px 18px 60px; }
.prerender h1 { font: 800 clamp(32px, 6vw, 50px)/1.05 var(--font-display); }
.prerender li { margin: 4px 0; }
:root.js .prerender { visibility: hidden; animation: zauraLate 0s linear 3s forwards !important; }
@keyframes zauraLate { to { visibility: visible; } }
:root[data-motion="off"] [data-reveal] { opacity: 1; transform: none; transition: none; }
:root[data-motion="off"] .paw-trail .pw { opacity: 1; }
:root[data-motion="off"] { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .paw-trail .pw { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .polaroids { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  :root { --topbar-h: 70px; }
  body { padding-bottom: 0; }
  .bottomnav { display: none; }
  .topnav { display: flex; }
  .list-btn { display: grid; }
  .toast { bottom: 28px; }
  .hero { padding: 54px 0 64px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero-art { order: 0; }
  .porthole { width: min(470px, 40vw); }
  .ticker { margin: 0 -24px 34px; }
  .section { padding: 56px 0; }
  .promo-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 4px 0 8px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .cat-banner { min-height: 180px; padding: 26px 34px; }
  .cat-banner .cat-img { width: 160px; height: 160px; }
  .polaroids { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 26px; }
  .about-grid { grid-template-columns: 1.1fr .9fr; gap: 50px; }
  .visit-grid { grid-template-columns: 1.25fr 1fr 1fr; }
  .footer-in { grid-template-columns: 1fr auto; align-items: center; }
  .footer-in .footer-note, .footer-in .copy { grid-column: 1 / -1; }
  .sheet-backdrop { align-items: center; padding: 24px; }
  .sheet { border-radius: 28px; max-height: 88vh; }
}
@media (min-width: 1240px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- masadan sipariş ---------- */
.order-box { margin-top: 18px; padding: 16px; border-radius: calc(var(--radius) - 2px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.order-box h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 17px; }
.order-box h4 .ic { color: var(--strong); }
.order-help { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.order-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.table-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; margin-bottom: 12px; }
.table-chip { min-height: 46px; padding: 0 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font-weight: 800; font-size: 15px; }
.table-chip.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.order-note { display: block; width: 100%; margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; }
.order-err { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, #C0392B 13%, transparent); color: #A93226; font-size: 14px; font-weight: 700; }
:root[data-mode="dark"] .order-err { color: #F4B0A8; }
.order-box .btn { width: 100%; justify-content: center; }
.order-box .btn:disabled { opacity: .7; }
.my-orders { display: grid; gap: 8px; margin-bottom: 16px; }
.my-orders h4 { margin: 0; font-size: 15px; }
.my-order { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-align: left; }
.my-order em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--strong); }
.my-order .go .ic { width: 18px; height: 18px; color: var(--muted); }
.receipt { display: grid; gap: 14px; }
.qr-card { display: grid; justify-items: center; gap: 8px; padding: 16px 16px 14px; border-radius: calc(var(--radius) + 2px); background: #FFFFFF; color: #1B0D0E; text-align: center; box-shadow: var(--shadow-sm); }
.qr-box { width: min(250px, 68vw); }
.qr-box svg { display: block; width: 100%; height: auto; }
.qr-hint { margin: 0; font-size: 15px; }
.qr-short { margin: 0; color: #6B5A58; font-size: 13px; }
.qr-short b { font: 800 17px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; color: #1B0D0E; }
.receipt-state { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: calc(var(--radius) - 2px); background: color-mix(in srgb, #2FA36B 15%, var(--surface)); }
.receipt-state.bad { background: color-mix(in srgb, #C0392B 13%, var(--surface)); }
.rs-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #2FA36B; color: #FFFFFF; }
.receipt-state.bad .rs-ic { background: #C0392B; }
.rs-ic .ic { width: 24px; height: 24px; }
.receipt-state b { display: block; font-size: 17px; }
.receipt-state span { color: var(--muted); font-size: 13.5px; }
.receipt-head { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.receipt-head > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.receipt-head span { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.receipt-head b { font: 800 30px/1.1 var(--font-display); color: var(--strong); }
.receipt-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.receipt-meta dt { color: var(--muted); }
.receipt-meta dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.receipt-items { margin: 0; padding: 0; list-style: none; border-top: 1px dashed var(--line); }
.receipt-items li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.receipt-note, .receipt-proof, .receipt-small { margin: 0; color: var(--muted); font-size: 13px; }
.receipt-proof b { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; color: var(--ink); }
.receipt .total { padding-top: 0; }

/* ---------- stokta yok ---------- */
.card-img { position: relative; }
.card.out .card-img img { filter: grayscale(1); opacity: .5; }
.card.out h4, .card.out .price { color: var(--muted); }
.out-badge { position: absolute; left: 8px; top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 800; }
.add:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; transform: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.detail-out { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, #C0392B 12%, transparent); color: #A93226; font-weight: 700; }
:root[data-mode="dark"] .detail-out, :root[data-mode="dark"] .out-tag { color: #F4B0A8; }
.list-row.out h4 { color: var(--muted); text-decoration: line-through; }
.list-row.out .mini img { filter: grayscale(1); opacity: .5; }
.out-tag { font-size: 13px; font-weight: 700; color: #B03A2E; }

/* ---------- Zaura ---------- */
.zaura-fab { position: fixed; right: 14px; bottom: calc(var(--bottomnav-h) + 14px + env(safe-area-inset-bottom, 0px)); z-index: 44; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; animation: zFab 6s ease-in-out infinite; }
.zaura-fab .z-face { width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow), 0 0 0 3px var(--accent); }
.zaura-fab .z-face svg { width: 112%; margin-top: 8%; }
.zaura-fab .z-tag { display: none; padding: 8px 12px; border-radius: 16px 16px 4px 16px; background: var(--surface); color: var(--ink); font: 700 20px/1 var(--font-hand); box-shadow: var(--shadow-sm); }
@keyframes zFab { 0%, 88%, 100% { transform: translateY(0); } 92% { transform: translateY(-6px); } 96% { transform: translateY(0); } }
.zaura { display: grid; gap: 14px; }
.z-head { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: center; gap: 12px; }
.z-mascot svg { display: block; width: 100%; height: auto; }
.z-bubble { margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; background: var(--surface); color: var(--ink); font: 700 22px/1.2 var(--font-hand); box-shadow: var(--shadow-sm); }
.z-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.z-chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700; }
.z-chip.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.z-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.z-actions .btn { justify-content: center; padding-inline: 10px; }
.z-wheel-box { width: min(300px, 78vw); margin: 0 auto; }
.z-wheel { display: block; width: 100%; height: auto; }
.z-rot { transform-box: view-box; transform-origin: 150px 154px; transition: transform 3.4s cubic-bezier(.17, .67, .2, 1); }
.z-seg { stroke: var(--surface); stroke-width: 2; }
.z-seg.a { fill: var(--accent); }
.z-seg.b { fill: var(--primary); }
.z-lbl { font: 700 12.5px var(--font-body); }
.z-lbl.a { fill: var(--accent-ink); }
.z-lbl.b { fill: var(--primary-ink); }
.z-hub { fill: var(--surface); stroke: var(--primary); stroke-width: 3; }
.z-hub-paw { fill: var(--primary); }
.z-pointer { fill: var(--ink); }
.z-result { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); animation: zPop .35s ease; }
.z-res-img { width: 64px; height: 64px; overflow: hidden; border-radius: 16px; background: radial-gradient(circle at 50% 30%, var(--plate-1), var(--plate-2) 75%); }
.z-res-img img { width: 100%; height: 100%; object-fit: cover; }
.z-res-kicker { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.z-res-info b { display: block; font-size: 17px; }
.z-empty { color: var(--muted); text-align: center; }
@keyframes zPop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 900px) { .zaura-fab { right: 24px; bottom: 24px; } .zaura-fab .z-tag { display: block; } .z-head { grid-template-columns: 150px minmax(0, 1fr); } }

/* ---------- languages ---------- */
.lang { position: relative; }
.lang > summary { list-style: none; cursor: pointer; }
.lang > summary::-webkit-details-marker { display: none; }
.icon-btn.lang-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: auto; min-width: 44px; padding: 0 10px; }
.lang-btn b { font-size: 12.5px; font-weight: 800; letter-spacing: .04em; }
.lang-btn .ic { width: 18px; height: 18px; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70; display: grid; gap: 2px; min-width: 170px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.lang-menu a { padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
.lang-menu a:hover { background: color-mix(in srgb, var(--primary) 9%, transparent); }
.lang-menu a.on { background: var(--primary); color: var(--primary-ink); }
.footer-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 14px; }
.footer-langs a { color: inherit; opacity: .72; text-decoration: none; }
.footer-langs a.on { opacity: 1; font-weight: 800; }
@media (max-width: 380px) { .lang-btn .ic { display: none; } }
/* right-to-left (Arabic) */
:root[dir="rtl"] .price, :root[dir="rtl"] .total .price { direction: ltr; unicode-bidi: isolate; }
:root[dir="rtl"] .badge { right: auto; left: -4px; }
:root[dir="rtl"] .out-badge { left: auto; right: 8px; }
:root[dir="rtl"] .vcard .peek { right: auto; left: 22px; }
:root[dir="rtl"] .zaura-fab { right: auto; left: 14px; }
:root[dir="rtl"] .hero-ctas .ic, :root[dir="rtl"] .promo-go .ic, :root[dir="rtl"] .my-order .go .ic, :root[dir="rtl"] .sheet-head .icon-btn .ic { transform: scaleX(-1); }
:root[dir="rtl"] .ticker { direction: ltr; }
:root[dir="rtl"] .ticker-item { direction: rtl; }
:root[dir="rtl"] .z-bubble { border-radius: 18px 18px 6px 18px; }
@media (min-width: 900px) { :root[dir="rtl"] .zaura-fab { left: 24px; right: auto; } }
:root[dir="rtl"] .skip { left: auto; right: -999px; }
:root[dir="rtl"] .skip:focus { right: 8px; }

/* never wider than the screen: clip decorative overflow where it happens (iOS Safari pans into any overflow) */
.ticker-wrap { overflow: hidden; padding: 12px 0; margin: -12px 0; }
/* clip (not hidden) on both html and body: stops sideways panning without turning body into a scroll box, so sticky bars keep working */
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* ---------- Google Maps card ---------- */
.gcard { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.gmap { position: relative; min-height: 320px; background: radial-gradient(circle at 50% 40%, var(--plate-1), var(--plate-2) 80%); }
.gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gside { display: grid; align-content: center; gap: 12px; padding: 22px; }
.gside h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.gside h3 .ic { width: 22px; height: 22px; color: var(--accent); }
.gside p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .gcard { grid-template-columns: 1fr; } .gmap { min-height: 260px; } }

/* ---------- cat community ---------- */
.cc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: -6px 0 22px; padding: 14px 16px; border: 1px dashed color-mix(in srgb, var(--primary) 35%, transparent); border-radius: calc(var(--radius) - 4px); background: color-mix(in srgb, var(--surface) 80%, transparent); }
.cc-bar p { margin: 0; font: 700 22px/1.2 var(--font-hand); color: var(--ink); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-card { cursor: pointer; }
.cc-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.pola-img { position: relative; }
.cc-rare { position: absolute; inset-inline-start: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.cc-rare .ic { width: 14px; height: 14px; }
.cc-rare.inline { position: static; vertical-align: middle; margin-inline-start: 8px; }
.cc-card.memorial img, .cc-card.memorial svg, .cc-profile.memorial .cc-big img { filter: grayscale(.85); }
.cc-profile { display: grid; gap: 12px; }
.cc-big { overflow: hidden; border-radius: 20px; background: radial-gradient(circle at 50% 35%, var(--plate-1), var(--plate-2) 80%); }
.cc-big img { display: block; width: 100%; max-height: 62vh; object-fit: cover; }
.cc-big > svg { display: block; width: 60%; margin: 16px auto; }
.cc-cap { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface); color: var(--muted); font-size: 13px; }
.cc-name { display: flex; flex-wrap: wrap; align-items: center; margin: 4px 0 0; font: 800 26px/1.15 var(--font-display); }
.cc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 14px; }
.cc-you { display: inline-flex; align-items: center; gap: 5px; color: var(--primary); font-weight: 800; }
.cc-you .ic { width: 16px; height: 16px; }
.cc-health { display: flex; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, #E0A21A 16%, var(--surface)); color: var(--ink); }
.cc-health .ic { flex: none; width: 20px; height: 20px; color: #B77B00; }
.cc-note, .cc-fav { margin: 0; }
.cc-fav { color: var(--muted); }
.cc-offer { display: flex; gap: 8px; margin: 0; padding: 12px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.cc-offer .ic { flex: none; width: 20px; height: 20px; }
.cc-profile h4 { margin: 8px 0 0; font-size: 16px; }
.cc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.cc-thumb { aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: var(--plate-1); cursor: pointer; }
.cc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cc-comments { display: grid; gap: 10px; }
.cc-com { padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cc-com-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; color: var(--muted); font-size: 13px; }
.cc-com-head b { color: var(--ink); }
.cc-com-text { margin: 4px 0 0; }
.cc-report { margin-inline-start: auto; padding: 2px 6px; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.cc-reply { display: flex; gap: 10px; margin-top: 10px; padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 7%, var(--surface)); }
.cc-reply-av { flex: none; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: var(--plate-1); }
.cc-reply-av img, .cc-reply-av svg { width: 100%; height: 100%; object-fit: cover; }
.cc-team { padding: 1px 7px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-size: 11px; font-weight: 800; }
.cc-empty { margin: 0; color: var(--muted); }
.cc-form { display: grid; gap: 12px; }
.cc-pick { position: relative; display: block; cursor: pointer; }
.cc-preview { display: grid; place-items: center; gap: 6px; min-height: 170px; overflow: hidden; border: 2px dashed color-mix(in srgb, var(--primary) 35%, transparent); border-radius: 18px; background: var(--surface); color: var(--muted); font-weight: 700; }
.cc-preview .ic { width: 34px; height: 34px; }
.cc-preview img { width: 100%; max-height: 320px; object-fit: cover; }
.cc-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cc-field { display: grid; gap: 4px; font-weight: 700; font-size: 14px; }
.cc-field input, .cc-field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 500 16px/1.4 var(--font-body); }
.cc-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; opacity: 0; pointer-events: none; inset-inline-start: -9999px; }
.cc-rules { margin: 0; color: var(--muted); font-size: 13.5px; }
.cc-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.cc-agree input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--primary); }
.cc-err { margin: 0; color: #B03A2E; font-weight: 700; }
:root[data-mode="dark"] .cc-err { color: #F4B0A8; }
.cc-daily { margin: 0; padding: 12px; border-radius: 14px; background: color-mix(in srgb, #E0A21A 18%, var(--surface)); font-weight: 700; }
.cc-thanks { display: grid; justify-items: center; gap: 12px; padding: 12px 0; text-align: center; }
.cc-thanks svg { width: 120px; height: auto; }
.cc-thanks p { margin: 0; font: 700 22px/1.3 var(--font-hand); }
.cc-mine { display: grid; gap: 10px; }
.cc-coupon { display: flex; gap: 10px; padding: 12px; border-radius: 16px; background: var(--accent); color: var(--accent-ink); }
.cc-coupon.used { opacity: .6; }
.cc-coupon .ic { flex: none; width: 24px; height: 24px; }
.cc-coupon p { margin: 2px 0 0; font-weight: 700; }
.cc-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cc-item small { display: block; color: var(--muted); }
.cc-chip { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--line); }
.cc-chip.approved { background: #DDF1E4; color: #1E5B3A; }
.cc-chip.rejected { background: #FBE3E1; color: #9C2B20; }
:root[dir="rtl"] .cc-go .ic { transform: scaleX(-1); }

/* ---------- coffee card ---------- */
/* padding, not margin: the ribbon below has a negative top margin (to tuck under the hero) that would swallow a margin here */
.kc-banner-wrap { margin-top: -8px; margin-bottom: 0; padding-bottom: 44px; }
.kc-banner { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: var(--radius); background: var(--primary); color: var(--primary-ink); text-align: start; cursor: pointer; box-shadow: var(--shadow-sm); font: inherit; }
.kc-banner-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 90%, transparent); color: var(--accent-ink); }
.kc-banner-ic .ic { width: 28px; height: 28px; }
.kc-banner-txt { display: grid; flex: 1; min-width: 0; gap: 2px; }
.kc-banner-txt b { font: 800 19px/1.2 var(--font-display); }
.kc-banner-txt small { opacity: .85; font-size: 13.5px; }
.kc-banner-go { flex: none; padding: 8px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; }
@media (max-width: 420px) { .kc-banner-go { display: none; } }
.kc { display: grid; gap: 14px; }
.kc-title { margin: 0; text-align: center; font: 800 22px/1.2 var(--font-display); }
.kc-cups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.kc-cup { display: grid; place-items: center; aspect-ratio: 1; border: 2px dashed color-mix(in srgb, var(--primary) 30%, transparent); border-radius: 50%; color: color-mix(in srgb, var(--primary) 30%, transparent); }
.kc-cup .ic { width: 55%; height: 55%; }
.kc-cup.on { border: 2px solid var(--primary); background: var(--primary); color: var(--primary-ink); }
.kc-cup.pop { animation: kc-pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes kc-pop { 0% { transform: scale(.3); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .kc-cup.pop { animation: none; } }
.kc-count { margin: -4px 0 0; text-align: center; color: var(--muted); font-weight: 700; }
.kc-reward { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--accent); color: var(--accent-ink); }
.kc-reward .ic { flex: none; width: 30px; height: 30px; }
.kc-reward b { display: block; }
.kc-scan { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.kc-qr .qr { display: block; width: 100%; height: auto; border-radius: 8px; }
.kc-scan small { display: block; }
.kc-code { display: block; margin: 4px 0; font: 800 30px/1.1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .12em; color: var(--ink); }
.kc-muted { margin: 0; color: var(--muted); font-size: 13.5px; }
.kc-box { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.kc-box .btn { justify-self: start; }
.kc-ok { display: flex; align-items: center; gap: 8px; margin: 0; color: #1E6B43; font-weight: 800; }
:root[data-mode="dark"] .kc-ok { color: #9FE0B8; }
.kc-ok .ic { width: 20px; height: 20px; }
.kc-backup-code { margin: 0; font: 800 22px/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .08em; }
.kc-bring summary, .kc-terms summary { font-weight: 800; cursor: pointer; }
.kc-bring-in { display: grid; gap: 10px; margin-top: 10px; }
.kc-restore { display: flex; flex-wrap: wrap; gap: 8px; }
.kc-restore input { flex: 1 1 160px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: 700 16px/1.2 ui-monospace, Menlo, monospace; text-transform: uppercase; }
.kc-terms { color: var(--muted); font-size: 13.5px; }
.kc-terms p { margin: 8px 0 0; }
@media (max-width: 380px) { .kc-scan { grid-template-columns: 1fr; justify-items: center; text-align: center; } .kc-qr { width: 170px; } }
@media (max-width: 420px) { .brand-slogan { white-space: nowrap; letter-spacing: .08em; font-size: 10px; } .top-actions { gap: 6px; } }

/* ---------- campaigns ---------- */
.promo.camp { cursor: pointer; --pc-bg: var(--primary); --pc-ink: var(--primary-ink); }
.promo.camp.fixed { --pc-bg: var(--accent); --pc-ink: var(--accent-ink); }
.promo.camp:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.promo.camp.soon { --pc-bg: color-mix(in srgb, var(--primary) 14%, var(--surface)); --pc-ink: var(--ink); border: 2px dashed color-mix(in srgb, var(--primary) 35%, transparent); }
.promo.camp.soon .camp-art { filter: saturate(.35) brightness(1.18); opacity: .8; }
.camp-tag { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--pc-ink) 16%, transparent); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.camp-when { margin: 6px 0 0; font-size: 13.5px; font-weight: 700; opacity: .85; }
.camp-art { display: grid; place-items: center; }
.camp-art .wheel-svg { width: 100%; max-width: 170px; height: auto; }
.camp-art .wheel-rot, .camp-wheel.idle .wheel-rot { transform-origin: 100px 100px; animation: spin 38s linear infinite; }
.camp-pct { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: var(--pc-ink); color: var(--pc-bg); font: 800 38px/1 var(--font-display); }
.camp-sheet { display: grid; gap: 14px; }
.camp-sheet > p { margin: 0; }
.camp-wheel { display: grid; place-items: center; }
.camp-wheel .wheel-svg { width: min(320px, 82vw); height: auto; }
.camp-wheel .wheel-rot { transform-origin: 100px 100px; }
.camp-sheet > .btn { justify-self: center; }
.camp-result { display: grid; gap: 10px; }
.camp-win { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); }
.camp-win .ic { flex: none; width: 34px; height: 34px; }
.camp-win b { font-size: 20px; }
.camp-win p { margin: 4px 0 0; }
.camp-result .btn { justify-self: start; }
.camp-done { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; text-align: center; }
.camp-fixed { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 18px; background: var(--accent); color: var(--accent-ink); }
.camp-fixed .camp-pct { flex: none; width: 96px; height: 96px; font-size: 30px; background: var(--accent-ink); color: var(--accent); }
.camp-fixed p { margin: 0; font-weight: 700; }
.kc-prize { background: var(--primary); color: var(--primary-ink); }
#menu .card { position: relative; }
.deal-badge { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: #C0392B; color: #FFFFFF; font-size: 12.5px; font-weight: 800; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }

/* posters from the panel */
.promo.poster { flex: 0 0 auto; width: calc(var(--poster-h, 330px) * var(--ar, .8)); height: var(--poster-h, 330px); min-height: 0; padding: 0; overflow: hidden; border: 0; background: var(--surface); cursor: zoom-in; }
.promo.poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.poster-full img { display: block; width: 100%; max-height: 78vh; object-fit: contain; border-radius: 16px; }
@media (max-width: 520px) { .promo.poster { --poster-h: 300px; } }

/* ---------- nutrition ---------- */
.nutri { display: grid; gap: 8px; margin: 4px 0 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.nutri h4 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 15px; }
.nutri h4 .ic { width: 18px; height: 18px; color: #2E7D4F; }
:root[data-mode="dark"] .nutri h4 .ic { color: #8FD3AA; }
.nutri dl { display: grid; gap: 6px; margin: 0; }
.nutri dl > div { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 10px; }
.nutri dt { color: var(--muted); font-size: 13.5px; }
.nutri dd { margin: 0; font-weight: 600; font-size: 14px; }
.al-ask { color: var(--muted); font-style: italic; font-weight: 500 !important; }
.nutri-flags, .nr-flags { margin: 0; color: var(--muted); font-size: 13px; }
.nutri-all { justify-self: start; font-size: 13.5px; font-weight: 700; color: var(--primary); }
.nutri-link { margin: 18px 0 0; text-align: center; }
.nutri-link a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 700; text-decoration: none; background: var(--surface); }
.nutri-link .ic { width: 18px; height: 18px; color: #2E7D4F; }
.nutri-page { display: grid; gap: 18px; }
.nutri-lead { margin: 0; color: var(--muted); }
.nutri-cat h3 { margin: 0 0 6px; font-size: 18px; }
.nutri-row { padding: 10px 0; border-top: 1px solid var(--line); }
.nr-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.nr-head .en { color: var(--muted); font-size: 13px; }
.nr-kcal { margin-inline-start: auto; font-weight: 800; white-space: nowrap; }
.nr-al, .nr-ingr { margin: 4px 0 0; font-size: 13.5px; }
.nr-al span, .nr-ingr span { color: var(--muted); }
