/* =========================================================================
   MISTO — дизайн-система
   ========================================================================= */
:root {
  --bg: #ffffff;
  --bg-2: #f6f6f3;
  --bg-3: #efefea;
  --ink: #0d0d12;
  --ink-2: #3a3a45;
  --muted: #8a8a96;
  --line: #ebebe6;
  --line-2: #dcdcd5;
  --accent: #19b45a;
  --accent-2: #2fd170;
  --accent-soft: #e8f8ee;
  --ok: #16a34a;
  --ok-soft: #e8f8ee;
  --warn: #d97706;
  --bad: #dc2626;

  --r-xs: 10px;
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  --sh-xs: 0 1px 2px rgba(13, 13, 18, .05);
  --sh-sm: 0 1px 2px rgba(13, 13, 18, .04), 0 4px 14px -4px rgba(13, 13, 18, .08);
  --sh: 0 2px 6px rgba(13, 13, 18, .04), 0 18px 40px -16px rgba(13, 13, 18, .18);
  --sh-lg: 0 40px 100px -30px rgba(13, 13, 18, .35);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.16, 1, .3, 1);

  --f-d: "Montserrat", "Manrope", system-ui, sans-serif;
  --f: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --hdr: 76px;
}

/* ------------------------------- base ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 70px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 16px/1.55 var(--f); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; opacity: 0; transition: opacity .5s var(--ease);
}
body.ready { opacity: 1; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
h1, h2 { font-family: var(--f-d); font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .45s var(--out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }
.main { min-height: 70vh; padding-top: var(--hdr); }
.section { padding-block: 56px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--out), transform .9s var(--out); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* image placeholder */
.ph {
  position: relative; overflow: hidden; width: 100%; height: 100%;
  background: linear-gradient(135deg, hsl(var(--hue, 20) 60% 95%), hsl(calc(var(--hue, 20) + 40) 55% 88%));
}
.ph-i { position: absolute; inset: 0; display: grid; place-items: center; color: hsl(var(--hue, 20) 30% 55% / .5); }
.ph-i .i { width: 34%; height: 34%; max-width: 64px; max-height: 64px; stroke-width: 1.2; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--out); }
.ph img.ok { opacity: 1; transform: none; }

/* ------------------------------ buttons ------------------------------ */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26262e; box-shadow: 0 10px 24px -10px rgba(13, 13, 18, .6); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(25, 180, 90, .8); }
.btn-accent:hover { background: #139a4b; box-shadow: 0 14px 30px -10px rgba(25, 180, 90, .7); transform: translateY(-1px); }
.btn-ghost { background: #fff; border: 1.5px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on { color: var(--accent); border-color: var(--accent); }
.btn-ghost.on .i { fill: currentColor; }
.btn-soft { background: var(--bg-2); }
.btn-soft:hover { background: var(--ink); color: #fff; }
.link-btn { display: block; margin: 12px auto 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.link-btn:hover { color: var(--bad); }

.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 999px;
  display: inline-grid; place-items: center; transition: background .2s, transform .2s var(--ease), border-color .2s, color .2s;
}
.icon-btn:hover { background: var(--bg-2); }
.icon-btn:active { transform: scale(.92); }
.icon-btn.outline { border: 1.5px solid var(--line-2); background: #fff; }
.icon-btn.outline:hover { border-color: var(--ink); }
.icon-btn.lg { width: 54px; height: 54px; }
.icon-btn.on { color: var(--accent); border-color: var(--accent); }
.icon-btn.on .i { fill: currentColor; }
.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 99px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; border: 2px solid #fff; transform: scale(0); transition: transform .3s var(--spring);
}
.badge.show { transform: scale(1); }
.badge.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.45); } }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.eyebrow.light { color: var(--accent-2); }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-xs); font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.eyebrow-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } }

/* ------------------------------- header ------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr);
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.hdr.scrolled { border-color: var(--line); box-shadow: 0 6px 30px -20px rgba(13, 13, 18, .25); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark {
  position: relative; width: 40px; height: 40px; border-radius: 13px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font: 700 18px var(--f-d); transition: transform .5s var(--spring);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-mark i { position: absolute; right: -3px; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2.5px solid #fff; }
.logo-txt { display: flex; flex-direction: column; font: 800 18px/1 var(--f-d); letter-spacing: -.02em; }
.logo-txt small { font: 600 11px/1 var(--f); letter-spacing: .02em; color: var(--muted); margin-top: 5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--ink); background: var(--bg-2); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { content: ""; display: block; height: 2px; width: 16px; margin: 2px auto -4px; border-radius: 2px; background: var(--accent); }
.nav-drop {
  position: absolute; top: 100%; left: 50%; padding-top: 12px; width: 440px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .3s var(--out);
}
.nav-item:nth-last-child(-n+2) .nav-drop { left: auto; right: -80px; transform: translate(0, 8px); }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item:nth-last-child(-n+2):hover .nav-drop, .nav-item:nth-last-child(-n+2):focus-within .nav-drop { transform: none; }
.nav-drop-in { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); padding: 10px; }
.nav-drop-head { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--c) 7%, #fff); margin-bottom: 6px; }
.nav-drop-head > .i { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--c); color: #fff; }
.nav-drop-head b { display: block; font-size: 15px; }
.nav-drop-head span { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.nav-drop-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-drop-list a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.nav-drop-list a .i { width: 15px; height: 15px; opacity: 0; transform: translateX(-6px); transition: all .25s var(--ease); }
.nav-drop-list a:hover { background: var(--bg-2); color: var(--ink); }
.nav-drop-list a:hover .i { opacity: 1; transform: none; }

.hdr-act { display: flex; align-items: center; gap: 6px; }
.search-trigger {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 16px; border-radius: 999px;
  background: var(--bg-2); color: var(--muted); font-size: 14px; font-weight: 600; transition: background .2s, box-shadow .2s;
}
.search-trigger:hover { background: var(--bg-3); color: var(--ink-2); }
.search-trigger .i { width: 18px; height: 18px; color: var(--ink); }
.search-trigger span { min-width: 120px; text-align: left; }
kbd { font: 700 12px var(--f); padding: 4px 8px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.burger { display: none; }

/* ------------------------------- footer ------------------------------- */
.ftr { margin-top: 80px; background: var(--ink); color: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 72px 0 28px; overflow: hidden; }
.ftr .logo-mark { background: #fff; color: var(--ink); }
.ftr .logo-mark i { border-color: var(--ink); }
.ftr .logo-txt small { color: rgba(255, 255, 255, .5); }
.ftr-top { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; }
.ftr-brand p { margin: 20px 0 22px; color: rgba(255, 255, 255, .6); font-size: 15px; max-width: 320px; }
.ftr-soc { display: flex; gap: 8px; }
.ftr-soc a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s, transform .3s var(--spring); }
.ftr-soc a:hover { background: var(--accent); transform: translateY(-3px); }
.ftr-soc .i { width: 18px; height: 18px; }
.ftr-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .45); margin-bottom: 16px; font-weight: 700; }
.ftr-col a { display: block; padding: 5px 0; font-size: 15px; color: rgba(255, 255, 255, .85); transition: color .2s, transform .2s; }
.ftr-col a:hover { color: var(--accent-2); transform: translateX(3px); }
.ftr-word {
  font: 800 clamp(40px, 13.5vw, 200px)/.85 var(--f-d); letter-spacing: -.02em; text-align: center; margin: 64px 0 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.ftr-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .45); font-size: 14px; }

/* -------------------------------- HERO -------------------------------- */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 820px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(255, 122, 69, .16), transparent 70%),
    radial-gradient(30% 40% at 60% 70%, rgba(124, 92, 250, .08), transparent 70%),
    radial-gradient(35% 40% at 10% 10%, rgba(59, 91, 253, .06), transparent 70%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; min-height: 640px; }
.hero-title { font-size: clamp(44px, 6.2vw, 92px); line-height: .98; margin: 26px 0 26px; letter-spacing: -.02em; font-weight: 500; }
.scribble { position: relative; display: inline-block; color: var(--accent); }
.scribble svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .22em; overflow: visible; }
.scribble path { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.2s .9s var(--out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-sub { font-size: 19px; color: var(--ink-2); max-width: 540px; line-height: 1.6; }
.rotator { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.6em; color: var(--ink); font-weight: 800; }
.rotator span { grid-area: 1 / 1; white-space: nowrap; animation: rot-in .6s var(--out) both; }
.rotator span.out { animation: rot-out .5s var(--ease) both; }
@keyframes rot-in { from { transform: translateY(100%); opacity: 0; } }
@keyframes rot-out { to { transform: translateY(-100%); opacity: 0; } }

.hero-search {
  display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 34px 0 22px; padding: 8px 8px 8px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--sh);
  transition: box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.hero-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 5px rgba(13, 13, 18, .06), var(--sh); }
.hero-search > .i { color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; font-weight: 600; height: 46px; }
.hero-search input::placeholder { color: var(--muted); font-weight: 500; }
.hero-search.slim { margin: 20px 0 18px; box-shadow: var(--sh-sm); }
.hero-cats { display: flex; flex-wrap: wrap; gap: 8px; max-width: 600px; }
.hero-cats a, .sx-cats a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: all .25s var(--ease);
}
.hero-cats a .i, .sx-cats a .i { width: 17px; height: 17px; color: var(--c); }
.hero-cats a:hover, .sx-cats a:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, #fff); transform: translateY(-2px); }

.hero-art { position: relative; height: 600px; }
.art { position: absolute; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); will-change: transform; }
.art .ph { transition: transform 1.2s var(--out); }
.art:hover .ph { transform: scale(1.04); }
.art-1 { left: 6%; top: 0; width: 56%; height: 62%; }
.art-2 { right: 0; top: 8%; width: 36%; height: 38%; }
.art-3 { left: 0; bottom: 2%; width: 38%; height: 34%; }
.art-4 { right: 4%; bottom: 0; width: 52%; height: 48%; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; box-shadow: var(--sh); animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: 14px; }
.float-card span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.fc-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; }
.fc-ic .i { width: 18px; height: 18px; }
.fc-1 { left: -4%; top: 40%; }
.fc-2 { right: -3%; top: 48%; animation-delay: -2s; }
.fc-3 { left: 30%; bottom: -2%; animation-delay: -4s; padding: 12px 16px; }
.fc-3 .stars { display: flex; gap: 1px; color: #f5b301; }
.fc-3 .stars .i { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.fc-3 b { font: 800 16px var(--f-d); }
@keyframes float { 50% { transform: translateY(-10px); } }

.marquee { position: relative; margin-top: 60px; padding: 22px 0; border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 800 22px var(--f-d); letter-spacing: -.02em; white-space: nowrap; }
.marquee .i { color: var(--accent); width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------- section heads --------------------------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(32px, 4vw, 54px); }
.sec-head > p { max-width: 420px; color: var(--ink-2); font-size: 16px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-arrows { display: flex; gap: 8px; }

/* -------------------------------- bento -------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; grid-auto-flow: dense; }
.b-big { grid-column: span 2; grid-row: span 2; }
.b-wide { grid-column: span 2; }
.bento-card { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; }
.bento-card > .ph { position: absolute; inset: 0; z-index: -2; transition: transform 1.2s var(--out); }
.bento-card:hover > .ph { transform: scale(1.06); }
.bento-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .72) 100%); transition: background .4s; }
.bento-card:hover .bento-shade { background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .2) 55%, rgba(0, 0, 0, .82) 100%); }
.bento-top { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; }
.bento-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--c); box-shadow: 0 8px 24px -8px var(--c); }
.bento-count { font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bento-bot { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.bento-bot h3 { font: 800 26px/1.1 var(--f-d); letter-spacing: -.02em; }
.b-big .bento-bot h3 { font-size: 44px; }
.bento-bot p { margin-top: 8px; font-size: 14px; font-weight: 600; opacity: .8; padding-right: 60px; }
.bento-go {
  position: absolute; right: 0; bottom: 0; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; transform: scale(.6) rotate(-45deg); opacity: 0; transition: all .45s var(--spring);
}
.bento-card:hover .bento-go { transform: none; opacity: 1; }

/* -------------------------------- rails -------------------------------- */
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 24px; scroll-padding-inline: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); }
.rail::-webkit-scrollbar { display: none; }
.rail-in { display: flex; gap: 20px; padding-inline: max(32px, calc((100vw - var(--wrap)) / 2 + 32px)); width: max-content; }
.rail .card { width: 330px; scroll-snap-align: start; }

/* -------------------------------- cards -------------------------------- */
.grid { display: grid; gap: 24px 20px; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: block; position: relative; }
.pcard-media, .acard-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; isolation: isolate; }
.pcard-media .ph, .acard-media .ph { transition: transform 1s var(--out); }
.card:hover .pcard-media .ph, .card:hover .acard-media .ph { transform: scale(1.06); }
.pcard-media::after, .acard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 40%); pointer-events: none; }
.chip-glass {
  position: absolute; z-index: 2; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px 6px 9px; border-radius: 99px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 700;
}
.chip-glass .i { width: 14px; height: 14px; color: var(--accent); }
.fav {
  position: absolute; z-index: 2; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .3s var(--spring), color .2s;
}
.fav .i { width: 18px; height: 18px; transition: fill .2s; }
.fav:hover { transform: scale(1.1); }
.fav.on { color: #ef3b5d; }
.fav.on .i, .icon-btn.on .i { fill: currentColor; }
.fav.pop, .icon-btn.pop { animation: pop .45s var(--spring); }
@keyframes pop { 40% { transform: scale(1.35); } }
.count-ph { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 700; }
.count-ph .i { width: 13px; height: 13px; }

.pcard-body { padding: 16px 4px 0; }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pcard-top h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.rate { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 15px; }
.rate .i { width: 16px; height: 16px; fill: #f5b301; stroke: #f5b301; }
.rate.lg { font-size: 17px; }
.rate.lg .i { width: 18px; height: 18px; }
.pcard-sub { margin-top: 4px; color: var(--muted); font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-foot { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.from { font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.st i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; }
.st.open { color: var(--ok); }
.st.open i { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.st.soon { color: var(--warn); }
.st.soon i { background: var(--warn); }
.st.closed { color: var(--bad); }
.st.closed i { background: var(--bad); }

.acard-body { padding: 16px 4px 0; }
.price { font: 800 22px/1.1 var(--f-d); letter-spacing: -.02em; }
.price small { font: 600 14px var(--f); color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.acard-body h3 { margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mini-chips span { padding: 5px 10px; border-radius: 8px; background: var(--bg-2); font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.acard-meta { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.acard-meta .i { width: 15px; height: 15px; }

/* --------------------------------- how --------------------------------- */
.how {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
  padding: 64px; border-radius: var(--r-xl); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate;
}
.how::before { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; right: -150px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(25, 180, 90, .35), transparent 65%); }
.how h2 { font-size: clamp(30px, 3.6vw, 48px); }
.how-copy > p { margin-top: 18px; color: rgba(255, 255, 255, .65); font-size: 17px; max-width: 480px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.how-steps span { font: 800 14px var(--f-d); color: var(--accent-2); }
.how-steps b { display: block; margin: 10px 0 6px; font-size: 16px; }
.how-steps p { font-size: 14px; color: rgba(255, 255, 255, .55); line-height: 1.5; }
.how-menu { display: grid; gap: 12px; }
.how-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: all .35s var(--ease);
}
.how.in .how-item { animation: slide-in .8s var(--out) both; animation-delay: calc(var(--d) + 300ms); }
@keyframes slide-in { from { opacity: 0; transform: translateX(40px); } }
.how-item:hover { background: rgba(255, 255, 255, .11); transform: translateX(-4px); }
.how-ph { width: 64px !important; height: 64px !important; border-radius: 14px; flex: none; }
.how-item div { flex: 1; min-width: 0; }
.how-item b { display: block; font-size: 15.5px; }
.how-item div span { font-size: 13.5px; color: rgba(255, 255, 255, .5); font-weight: 600; }
.how-item em { font-style: normal; font-weight: 800; }
.how-plus { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); transition: transform .3s var(--spring); }
.how-item:hover .how-plus { transform: rotate(90deg); }

/* -------------------------------- stats -------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 40px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 800 clamp(40px, 5vw, 68px)/1 var(--f-d); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-weight: 600; }

/* -------------------------------- tabs -------------------------------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg-2); }
.tabs button { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); transition: all .3s var(--ease); }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }

/* --------------------------------- biz --------------------------------- */
.biz { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; padding: 64px; border-radius: var(--r-xl); background: var(--bg-2); overflow: hidden; }
.biz h2 { font-size: clamp(30px, 3.6vw, 48px); }
.biz-copy > p { margin-top: 18px; color: var(--ink-2); font-size: 17px; max-width: 520px; }
.biz-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.biz-art { position: relative; height: 320px; }
.orb-core {
  position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 34px;
  background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 44px var(--f-d); box-shadow: var(--sh-lg);
}
.orb {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 18px;
  display: grid; place-items: center; background: #fff; color: var(--c); box-shadow: var(--sh);
  animation: orbit 28s linear infinite; animation-delay: calc(var(--i) * -4s);
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(140px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
}

/* ------------------------------- crumbs ------------------------------- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 22px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.crumbs .i { width: 15px; height: 15px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink); }

/* ------------------------------ category ------------------------------ */
.cat-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, #fff), #fff); }
.cat-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 12px 0 48px; }
.cat-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--c); color: #fff; box-shadow: 0 16px 36px -14px var(--c); }
.cat-ic .i { width: 28px; height: 28px; }
.cat-hero h1 { margin: 24px 0 16px; font-size: clamp(38px, 5vw, 68px); }
.cat-hero p { font-size: 18px; color: var(--ink-2); max-width: 480px; }
.cat-hero-ph { height: 320px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); }
.cat-body { padding-bottom: 40px; }
.toolbar {
  position: sticky; top: var(--hdr); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; margin-bottom: 20px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none; height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 700; color: var(--ink-2); transition: all .25s var(--ease);
}
.chip b { font-size: 12px; padding: 2px 7px; border-radius: 99px; background: var(--bg-2); color: var(--muted); }
.chip .i { width: 16px; height: 16px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on b { background: rgba(255, 255, 255, .15); color: #fff; }
.tools { display: flex; align-items: center; gap: 12px; flex: none; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: relative; width: 44px; height: 26px; border-radius: 99px; background: var(--line-2); transition: background .25s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-xs); transition: transform .35s var(--spring); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.select { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); }
.select .i { width: 16px; height: 16px; color: var(--muted); }
.select select { border: 0; outline: 0; background: none; font-size: 14px; font-weight: 700; cursor: pointer; appearance: none; padding-right: 4px; }

.page-head { padding-bottom: 20px; }
.page-head h1 { display: flex; align-items: center; gap: 14px; font-size: clamp(34px, 4.6vw, 60px); margin: 8px 0 10px; }
.page-head h1 .i { width: 40px; height: 40px; color: #ef3b5d; fill: currentColor; }
.h-sm { font: 600 22px var(--f); letter-spacing: -.02em; margin: 24px 0 18px; }

.empty { grid-column: 1 / -1; text-align: center; padding: 72px 20px; border-radius: var(--r-lg); background: var(--bg-2); }
.empty-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; background: #fff; box-shadow: var(--sh-sm); }
.empty h3 { font-size: 22px; }
.empty p { margin: 8px auto 22px; max-width: 420px; color: var(--ink-2); }
.nf { padding: 60px 32px; }

/* -------------------------------- place -------------------------------- */
.gallery { position: relative; display: grid; gap: 8px; height: 520px; border-radius: var(--r-lg); overflow: hidden; }
.gallery.g5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.g5 .g-cell:first-child { grid-row: span 2; }
.gallery.g4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.g4 .g-cell:first-child { grid-row: span 2; }
.gallery.g4 .g-cell:last-of-type { grid-column: span 2; }
.gallery.g3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.g3 .g-cell:first-child { grid-row: span 2; }
.gallery.g2 { grid-template-columns: 1.4fr 1fr; }
.gallery.g1 { grid-template-columns: 1fr; }
.g-cell { position: relative; overflow: hidden; cursor: zoom-in; }
.g-cell .ph { transition: transform 1s var(--out), filter .4s; }
.g-cell:hover .ph { transform: scale(1.05); filter: brightness(.92); }
.g-all {
  position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
  border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; box-shadow: var(--sh); transition: transform .3s var(--spring);
}
.g-all:hover { transform: translateY(-2px); }
.g-all .i { width: 16px; height: 16px; }

.place-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
/* separate rule so the mobile `.wrap { padding: 0 … }` can't reset the gap under the gallery */
.wrap.place-grid { padding-top: 36px; }
@media (max-width: 1100px) { .wrap.place-grid { padding-top: 22px; } }
.place-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cat { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 99px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); font-size: 13.5px; font-weight: 700; }
.tag-cat .i { width: 15px; height: 15px; }
.tag-sub { padding: 6px 12px; border-radius: 99px; background: var(--bg-2); font-size: 13.5px; font-weight: 700; color: var(--ink-2); transition: background .2s; }
a.tag-sub:hover { background: var(--bg-3); }
.place-head h1 { margin: 18px 0 10px; font-size: clamp(38px, 5vw, 64px); }
.place-tagline { font-size: 19px; color: var(--ink-2); }
.place-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-weight: 600; font-size: 15px; }
.place-meta a:hover { color: var(--ink); text-decoration: underline; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.place-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.subnav {
  position: sticky; top: var(--hdr); z-index: 15; display: flex; gap: 4px; margin: 40px 0 0; padding: 12px 0;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a { position: relative; flex: none; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); transition: all .25s; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { color: var(--ink); background: var(--bg-2); }

.block { padding: 44px 0 12px; }
.block h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 24px; }
.block-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.block-head h2 { margin: 0; }
.dl-info { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-info span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; background: var(--bg-2); font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.dl-info .i { width: 16px; height: 16px; color: var(--accent); }
.lead { font-size: 18px; line-height: 1.7; color: var(--ink-2); max-width: 760px; }

.sticky-chips { position: sticky; top: calc(var(--hdr) + 66px); z-index: 12; padding: 10px 2px; margin: 0 -2px 8px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.sticky-chips .chip { height: 38px; font-size: 14px; }
.menu-sec { padding-top: 22px; }
.menu-h { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.menu-h span { font-size: 13px; padding: 3px 9px; border-radius: 99px; background: var(--bg-2); color: var(--muted); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dish {
  display: flex; gap: 16px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: #fff;
  transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.dish:hover { border-color: transparent; box-shadow: var(--sh); transform: translateY(-2px); }
.dish-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dish-info b { font-size: 16.5px; line-height: 1.3; }
.dish-info p { margin: 6px 0 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.dish-foot { margin-top: auto; display: flex; align-items: baseline; gap: 10px; }
.dish-p { font: 800 18px var(--f-d); letter-spacing: -.02em; }
.dish-w { font-size: 13px; font-weight: 700; color: var(--muted); }
.tag { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font: 800 11px var(--f); letter-spacing: .02em; text-transform: uppercase; vertical-align: 2px; }
.dish-side { position: relative; flex: none; width: 124px; }
.dish-ph { width: 124px !important; height: 124px !important; border-radius: 16px; }
.dish-side .ctrl { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); }
.add-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px 0 10px; border-radius: 999px;
  background: #fff; box-shadow: var(--sh); font-size: 14px; font-weight: 800; white-space: nowrap; transition: all .25s var(--ease);
}
.add-btn .i { width: 17px; height: 17px; color: var(--accent); transition: transform .3s var(--spring); }
.add-btn:hover { background: var(--ink); color: #fff; }
.add-btn:hover .i { color: #fff; transform: rotate(90deg); }
.stepper { display: inline-flex; align-items: center; height: 38px; padding: 3px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--sh); animation: pop .35s var(--spring); }
.stepper button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.stepper button:hover { background: rgba(255, 255, 255, .15); }
.stepper .i { width: 16px; height: 16px; }
.stepper b { min-width: 24px; text-align: center; font-size: 15px; }

.svc-list { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.svc { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 20px; padding: 18px 20px; border-top: 1px solid var(--line); transition: background .25s; }
.svc:first-child { border-top: 0; }
.svc:hover { background: var(--bg-2); }
.svc-info b { display: block; font-size: 16px; }
.svc-info span { font-size: 14px; color: var(--muted); }
.svc-t { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.svc-t .i { width: 15px; height: 15px; }
.svc-p { font: 800 17px var(--f-d); letter-spacing: -.02em; white-space: nowrap; min-width: 100px; text-align: right; }

.rooms { display: grid; gap: 18px; }
.room { display: grid; grid-template-columns: 300px 1fr; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.room:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.room-ph { min-height: 240px; }
.room-body { padding: 24px 26px; display: flex; flex-direction: column; }
.room-body h3 { font: 800 24px var(--f-d); letter-spacing: -.02em; }
.room-body > p { margin-top: 8px; color: var(--ink-2); }
.room-meta { display: flex; gap: 18px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.room-meta span { display: inline-flex; align-items: center; gap: 6px; }
.room-meta .i { width: 17px; height: 17px; color: var(--muted); }
.amen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.amen span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; background: var(--bg-2); font-size: 13px; font-weight: 700; }
.amen .i { width: 14px; height: 14px; color: var(--ok); }
.room-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.feat { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 14px; border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
.feat .i { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 2.6; }

.rev-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.rev-score { padding: 26px; border-radius: var(--r); background: var(--bg-2); align-self: start; }
.rev-score > b { display: block; font: 800 56px/1 var(--f-d); letter-spacing: -.02em; }
.rev-score .stars { display: flex; gap: 2px; margin: 10px 0 6px; color: #f5b301; }
.rev-score .stars .i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rev-score > span { font-size: 14px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 14px; }
.bar { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.bar i { flex: 1; height: 6px; border-radius: 9px; background: var(--line); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 9px; background: var(--ink); }
.rev-list { display: grid; gap: 14px; }
.rev { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); }
.rev-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rev-top b { display: block; font-size: 15px; }
.rev-top div span { font-size: 13px; color: var(--muted); font-weight: 600; }
.rev-stars { margin-left: auto; display: flex; color: #f5b301; }
.rev-stars .i { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.rev p { color: var(--ink-2); }
.ava { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: hsl(var(--hue) 55% 35%); background: hsl(var(--hue) 70% 92%); }
.ava.lg { width: 52px; height: 52px; font-size: 20px; }

.place-side { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 16px; }
.side-card { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.side-status { padding-bottom: 14px; }
.side-status .st { font-size: 15px; }
.hours { display: grid; gap: 2px; padding: 10px; border-radius: var(--r-sm); background: var(--bg-2); }
.hours div { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 10px; font-size: 14.5px; }
.hours span { color: var(--muted); font-weight: 600; }
.hours b { font-weight: 700; }
.hours .today { background: #fff; box-shadow: var(--sh-xs); }
.hours .today span { color: var(--ink); }
.side-list { display: grid; margin: 16px 0 18px; }
.side-list a { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-radius: 12px; transition: background .2s; }
.side-list a:hover { background: var(--bg-2); }
.side-list a > .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--bg-2); color: var(--ink); }
.side-list a:hover > .i { background: var(--ink); color: #fff; }
.side-list span { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.side-list b { font-size: 15px; word-break: break-word; }
.map-card { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s; }
.map-card:hover { box-shadow: var(--sh); }
.map-art {
  position: relative; height: 150px; display: grid; place-items: center;
  background:
    linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 120px 100%,
    linear-gradient(0deg, transparent 45%, #fff 45%, #fff 51%, transparent 51%) 0 0 / 100% 90px,
    linear-gradient(35deg, transparent 49%, #fff 49%, #fff 52%, transparent 52%),
    radial-gradient(circle at 80% 20%, #d9f0dc 0 40px, transparent 41px),
    #eceee8;
}
.map-pin { position: relative; width: 48px; height: 48px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--c); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 20px -6px var(--c); animation: pin 2.4s var(--ease) infinite; }
.map-pin .i { transform: rotate(45deg); width: 20px; height: 20px; }
@keyframes pin { 50% { translate: 0 -6px; } }
.map-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-size: 14px; }
.map-foot span { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 700; white-space: nowrap; }
.map-foot .i { width: 15px; height: 15px; }

/* ------------------------------- listing ------------------------------- */
.ad-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.ad-big { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; }
.ad-big .ph img { transform: none; }
.ad-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.ad-thumbs button { width: 110px; height: 78px; border-radius: 14px; overflow: hidden; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: all .25s; }
.ad-thumbs button:hover { opacity: .85; }
.ad-thumbs button.on { opacity: 1; outline-color: var(--ink); }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-sm); background: var(--bg-2); }
.spec .i { grid-row: span 2; width: 42px; height: 42px; padding: 11px; border-radius: 12px; background: #fff; }
.spec span { font-size: 13px; font-weight: 700; color: var(--muted); }
.spec b { font-size: 15.5px; }
.chip-soft { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--bg-2); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ad-price { margin-top: 16px; font: 800 40px/1 var(--f-d); letter-spacing: -.02em; }
.ad-price small { font: 700 16px var(--f); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.side-card > .muted { margin-top: 8px; font-weight: 600; font-size: 14px; }
.ad-title { margin: 18px 0 0; font: 700 21px/1.3 var(--f); letter-spacing: -.02em; }
.ad-loc { display: flex; align-items: center; gap: 6px; margin: 14px 0 20px; font-weight: 600; color: var(--ink-2); font-size: 14.5px; }
.ad-loc .i { width: 17px; height: 17px; color: var(--accent); }
.seller { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); margin-bottom: 16px; }
.seller b { display: block; }
.seller span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.side-card .btn + .btn { margin-top: 10px; }
.safe { display: flex; gap: 12px; margin-top: 18px; padding: 14px; border-radius: 14px; background: #fff8e6; font-size: 13.5px; color: #7a5a00; font-weight: 600; line-height: 1.5; }
.safe .i { color: #d79b00; }

/* ------------------------------ business ------------------------------ */
.biz-head { padding-bottom: 20px; }
.display { font-size: clamp(40px, 6vw, 84px) !important; max-width: 1000px; margin: 22px 0 22px !important; line-height: 1 !important; }
.biz-head .lead { max-width: 640px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { padding: 28px; border-radius: var(--r-lg); background: var(--bg-2); transition: transform .4s var(--ease), background .3s; }
.perk:hover { transform: translateY(-4px); background: var(--bg-3); }
.perk-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; box-shadow: var(--sh-sm); color: var(--accent); margin-bottom: 22px; }
.perk h3 { font-size: 18px; }
.perk p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.plan.hot { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--sh-lg); transform: scale(1.03); }
.plan.hot.in { transform: scale(1.03); }
.plan-badge { position: absolute; top: -13px; left: 32px; padding: 6px 12px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; }
.plan h3 { font: 800 24px var(--f-d); letter-spacing: -.02em; }
.plan > p { margin-top: 6px; color: var(--muted); }
.plan.hot > p { color: rgba(255, 255, 255, .55); }
.plan-p { margin: 26px 0; font: 800 40px var(--f-d); letter-spacing: -.02em; }
.plan-p small { font: 700 15px var(--f); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.plan li .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 2.8; }
.plan.hot li .i { background: rgba(255, 255, 255, .12); color: #fff; }
.plan .btn { margin-top: auto; }
.plan.hot .btn-ghost { background: transparent; color: #fff; }
/* paid plans are not available yet */
.plan.off { background: var(--bg-2); border-style: dashed; }
.plan.off > *:not(.plan-badge) { opacity: .45; filter: grayscale(1); }
.plan.off .btn { pointer-events: none; cursor: default; }
.plan-badge.soon { background: var(--ink-2); }
.apply { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px; border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.apply h2 { font-size: clamp(28px, 3.4vw, 44px); }
.apply-copy > p { margin-top: 16px; color: rgba(255, 255, 255, .6); font-size: 17px; }
.apply-c { display: grid; gap: 10px; margin-top: 28px; }
.apply-c a { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.apply-c .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.apply-form { padding: 28px; border-radius: var(--r-lg); background: #fff; color: var(--ink); }

/* ------------------------------- forms ------------------------------- */
.form { display: grid; gap: 16px; }
.modal-title { font: 800 28px/1.15 var(--f-d); letter-spacing: -.035em; margin: -4px 0 6px; padding-right: 40px; }
.form .eyebrow { margin-bottom: 0; }
.f { display: grid; gap: 7px; }
.f > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.f input, .f select, .f textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-2);
  font-weight: 600; font-size: 15px; outline: 0; transition: border-color .2s, background .2s, box-shadow .2s;
}
.f textarea { resize: vertical; min-height: 70px; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(13, 13, 18, .06); }
.f.err input { border-color: var(--bad); background: #fff5f5; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-note { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: 14px; color: var(--ink-2); }
.f-note .i { width: 17px; height: 17px; color: var(--accent); }
.f-note[hidden], .f[hidden] { display: none; }
.f-fine { font-size: 13px; color: var(--muted); text-align: center; font-weight: 600; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: var(--bg-2); }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: all .25s var(--ease); text-align: center; }
.seg .i { width: 17px; height: 17px; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.co-sum { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); font-weight: 700; }
.co-sum b { font: 800 22px var(--f-d); letter-spacing: -.02em; }

.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.days::-webkit-scrollbar { display: none; }
.day input, .slot input { position: absolute; opacity: 0; }
.day span { display: flex; flex-direction: column; align-items: center; width: 62px; padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: all .2s; }
.day small { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: capitalize; }
.day b { font: 800 20px/1.3 var(--f-d); }
.day input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.day input:checked + span small { color: rgba(255, 255, 255, .6); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.slot span { display: block; text-align: center; padding: 10px 0; border-radius: 12px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; }
.slot span:hover { border-color: var(--ink); }
.slot.busy span { color: var(--line-2); text-decoration: line-through; cursor: not-allowed; border-style: dashed; }
.slot input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ------------------------------- modals ------------------------------- */
.modal-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-bg { position: absolute; inset: 0; background: rgba(13, 13, 18, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 32px;
  border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-lg);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .35s var(--out), transform .45s var(--out);
}
.modal-wrap.open .modal-bg { opacity: 1; }
.modal-wrap.open .modal { opacity: 1; transform: none; }
.modal-x { position: absolute; right: 18px; top: 18px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); transition: transform .3s var(--spring), background .2s; }
.modal-x:hover { transform: rotate(90deg); background: var(--bg-3); }
.modal-wrap.sm .modal { max-width: 440px; }
.ask h3 { font: 800 24px var(--f-d); letter-spacing: -.02em; padding-right: 40px; }
.ask p { margin: 12px 0 24px; color: var(--ink-2); }
.ask-btns { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.call-num { display: block; font: 800 28px var(--f-d); letter-spacing: -.01em; color: var(--ink); text-decoration: none; margin-bottom: 8px; user-select: all; }

.success { text-align: center; padding: 12px 0 0; }
.success-ic { width: 88px; height: 88px; margin: 0 auto 22px; }
.success-ic svg { width: 100%; height: 100%; }
.success-ic circle { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s var(--out) forwards; }
.success-ic path { fill: none; stroke: var(--ok); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .45s var(--out) forwards; }
.success h3 { font: 800 26px/1.2 var(--f-d); letter-spacing: -.035em; }
.success > p { margin: 12px auto 20px; color: var(--ink-2); max-width: 380px; line-height: 1.6; }
.success-meta { display: grid; gap: 8px; margin-bottom: 24px; }
.success-meta span { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.success-meta .i { width: 17px; height: 17px; color: var(--accent); }

/* search modal */
.modal-wrap.search { place-items: start center; padding-top: 10vh; }
.modal-wrap.search .modal { max-width: 680px; padding: 0; overflow: hidden; display: flex; flex-direction: column; max-height: 78vh; }
.modal-wrap.search .modal-x { display: none; }
.sx { display: flex; flex-direction: column; min-height: 0; }
.sx-bar { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.sx-bar .i { width: 22px; height: 22px; color: var(--muted); }
.sx-bar input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 19px; font-weight: 600; background: none; }
.sx-bar input::-webkit-search-cancel-button { display: none; }
.sx-res { overflow-y: auto; padding: 10px 14px 18px; }
.sx-group { padding: 10px 8px; }
.sx-group h5 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.sx-hints, .sx-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 14px; border-radius: 99px; background: var(--bg-2); font-size: 14px; font-weight: 700; transition: background .2s; }
.pill:hover { background: var(--bg-3); }
.sx-row { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; transition: background .2s; }
.sx-row:hover { background: var(--bg-2); }
.sx-ph { width: 56px !important; height: 56px !important; border-radius: 12px; flex: none; }
.sx-row div { flex: 1; min-width: 0; }
.sx-row b { display: block; font-size: 15.5px; }
.sx-row div span { display: block; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-none { padding: 30px 12px; text-align: center; color: var(--muted); font-weight: 600; }
.sx-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px; padding: 14px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; }
.sx-all .i { width: 18px; height: 18px; }

/* mobile side menu */
.modal-wrap.side { place-items: stretch end; padding: 0; }
.modal-wrap.side .modal { max-width: 420px; height: 100dvh; max-height: none; border-radius: var(--r-lg) 0 0 var(--r-lg); transform: translateX(100%); padding: 22px; }
.modal-wrap.side.open .modal { transform: none; }
.mnav { display: grid; gap: 18px; }
.search-trigger.wide { width: 100%; height: 52px; }
.mnav-list { display: grid; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary { display: flex; align-items: center; gap: 14px; padding: 14px 4px; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; }
.mnav-ic .i { width: 19px; height: 19px; }
.mnav .chev { margin-left: auto; color: var(--muted); transition: transform .3s var(--ease); }
.mnav details[open] .chev { transform: rotate(180deg); }
.mnav details div { display: grid; padding: 0 0 12px 54px; }
.mnav details a { padding: 8px 0; font-weight: 600; color: var(--ink-2); }

/* lightbox */
.modal-wrap.lbox { padding: 0; }
.modal-wrap.lbox .modal-bg { background: rgba(8, 8, 10, .92); }
.modal-wrap.lbox .modal { max-width: none; max-height: none; width: 100vw; height: 100dvh; padding: 0; background: none; box-shadow: none; border-radius: 0; overflow: hidden; }
.modal-wrap.lbox .modal-x { background: rgba(255, 255, 255, .12); color: #fff; }
.lb { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 70px 90px; }
.lb-stage { width: 100%; height: 100%; }
.lb-ph { border-radius: var(--r); background: rgba(255, 255, 255, .05) !important; }
.lb-ph img { object-fit: contain; }
.lb-nav { position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; transition: background .2s; }
.lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lb-nav.prev { left: 20px; }
.lb-nav.next { right: 20px; }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-weight: 700; font-size: 14px; }

/* ------------------------------- drawer ------------------------------- */
.drawer-wrap { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0s .45s; }
.drawer-wrap.open { visibility: visible; transition: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(13, 13, 18, .4); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.drawer-wrap.open .drawer-bg { opacity: 1; }
.drawer { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100vw); background: #fff; box-shadow: var(--sh-lg); transform: translateX(100%); transition: transform .5s var(--out); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.drawer-wrap.open .drawer { transform: none; }
.drawer-in { height: 100%; display: flex; flex-direction: column; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 24px 16px; }
.drawer-head .eyebrow { margin-bottom: 4px; }
.drawer-head h3 { font: 800 24px var(--f-d); letter-spacing: -.035em; }
.free-bar { margin: 0 24px 8px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); font-size: 13.5px; font-weight: 600; }
.free-bar span { display: flex; align-items: center; gap: 6px; }
.free-bar .i { width: 16px; height: 16px; }
.free-bar i { display: block; height: 5px; margin-top: 10px; border-radius: 9px; background: rgba(25, 180, 90, .18); position: relative; overflow: hidden; }
.free-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--accent); border-radius: 9px; transition: width .5s var(--out); }
.free-bar.ok { background: var(--ok-soft); color: var(--ok); }
.free-bar.ok i { background: rgba(22, 163, 74, .2); }
.free-bar.ok i::after { background: var(--ok); }
.drawer-list { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-ph { width: 64px !important; height: 64px !important; border-radius: 14px; flex: none; }
.line-info { flex: 1; min-width: 0; }
.line-info b { display: block; font-size: 15px; line-height: 1.3; }
.line-info span { font-size: 13px; color: var(--muted); font-weight: 600; }
.line-info em { display: block; font-style: normal; font-weight: 800; margin-top: 2px; }
.line .stepper { box-shadow: none; animation: none; }
.line .add-btn { box-shadow: none; border: 1.5px solid var(--line); }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.sum-row { display: flex; justify-content: space-between; padding: 4px 0; font-weight: 600; color: var(--ink-2); }
.sum-row.total { padding: 10px 0 16px; color: var(--ink); font-size: 18px; }
.sum-row.total b { font: 800 24px var(--f-d); letter-spacing: -.02em; }
.warn { margin-bottom: 14px; padding: 10px 12px; border-radius: 12px; background: #fff8e6; color: #7a5a00; font-size: 13.5px; font-weight: 600; }
.drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.drawer-empty .empty-ic { background: var(--bg-2); box-shadow: none; }
.drawer-empty h4 { font-size: 20px; }
.drawer-empty p { margin: 8px 0 22px; color: var(--muted); max-width: 300px; }

/* floating cart bar */
.cart-bar { position: fixed; left: 50%; bottom: 22px; z-index: 40; transform: translate(-50%, 140%); transition: transform .5s var(--spring); }
.cart-bar.show { transform: translate(-50%, 0); }
.cart-bar-btn {
  display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 22px 0 10px; border-radius: 999px;
  background: var(--ink); color: #fff; box-shadow: 0 20px 50px -14px rgba(13, 13, 18, .6); font-weight: 700; white-space: nowrap;
}
.cart-bar-btn:hover .i { transform: translateX(3px); }
.cart-bar-btn .i { transition: transform .3s var(--ease); }
.cb-count { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-weight: 800; }
.cb-txt { max-width: 240px; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .75); }

/* toasts */
.toast-zone { position: fixed; top: calc(var(--hdr) + 14px); left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--sh-lg); animation: toast-in .5s var(--spring); }
.toast.out { animation: toast-out .4s var(--ease) forwards; }
.toast-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); }
.toast-ic .i { width: 16px; height: 16px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-16px) scale(.9); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px) scale(.95); } }

/* ============================== responsive ============================== */
/* 8 категорій у шапці: пошук завжди компактною іконкою (відкривається також клавішею «/») */
@media all {
  .search-trigger span, .search-trigger kbd { display: none; }
  .search-trigger { width: 44px; padding: 0; justify-content: center; }
  .hdr-in { gap: 20px; }
  .nav-link { padding: 10px 11px; font-size: 14.5px; }
}
@media (max-width: 1240px) {
  .nav { display: none; }
  .hdr-act { margin-left: auto; }
  .burger { display: inline-grid; }
}
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr; gap: 20px; min-height: 0; }
  .hero-art { height: 480px; max-width: 720px; width: 100%; margin: 0 auto; }
  .g-4 { grid-template-columns: repeat(3, 1fr); }
  .how, .biz, .apply { grid-template-columns: 1fr; padding: 48px; }
  .biz-art { display: none; }
  .place-grid, .ad-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .place-side { position: static; grid-template-columns: 1fr 1fr; }
  .ftr-top { grid-template-columns: repeat(3, 1fr); }
  .ftr-brand { grid-column: 1 / -1; }
  .perks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --hdr: 66px; }
  .wrap { padding: 0 20px; }
  .section { padding-block: 40px; }
  .hide-md { display: none; }
  .hero { padding-top: 28px; }
  .hero-sub { font-size: 17px; }
  .hero-art { height: 380px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 12px; }
  .b-big { grid-column: span 2; grid-row: span 1; }
  .b-big .bento-bot h3 { font-size: 32px; }
  .b-wide { grid-column: span 2; }
  .bento-bot h3 { font-size: 21px; }
  .bento-bot p { display: none; }
  .b-big .bento-bot p, .b-wide .bento-bot p { display: block; }
  .g-3, .g-4 { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .how-steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 18px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cat-hero-in { grid-template-columns: 1fr; gap: 24px; }
  .cat-hero-ph { height: 220px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .tools { justify-content: space-between; }
  .gallery { height: 380px; }
  .gallery.g5, .gallery.g4 { grid-template-columns: 2fr 1fr; }
  .gallery.g5 .g-cell:nth-child(n+4), .gallery.g4 .g-cell:nth-child(n+4) { display: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr auto; gap: 8px 14px; }
  .svc-info { grid-column: 1 / -1; }
  .svc-p { text-align: left; min-width: 0; }
  .svc .btn { grid-column: 2; grid-row: 2 / 4; }
  .room { grid-template-columns: 1fr; }
  .room-ph { min-height: 220px; height: 220px; }
  .rev-wrap { grid-template-columns: 1fr; }
  .place-side { grid-template-columns: minmax(0, 1fr); }
  .place-actions .icon-btn.lg { width: 50px; height: 50px; }
  .specs { grid-template-columns: 1fr; }
  .perks, .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 26px 22px; }
  .plan.hot, .plan.hot.in { transform: none; }
  .ftr { border-radius: var(--r-lg) var(--r-lg) 0 0; padding-top: 52px; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hdr-in { gap: 10px; }
  .logo-txt small { display: none; }
  .hero-title { margin: 20px 0; }
  .hero-search { padding-left: 16px; }
  .hero-search .btn { padding: 0 16px; }
  .hero-art { height: 320px; }
  .float-card { padding: 8px 12px 8px 8px; }
  .fc-2 { display: none; }
  .marquee span { font-size: 17px; }
  .g-3, .g-4 { grid-template-columns: 1fr; }
  .rail .card { width: 280px; }
  .rail-in { padding-inline: 16px; gap: 14px; }
  .how, .biz, .apply { padding: 32px 22px; border-radius: var(--r-lg); }
  .gallery { height: 280px; border-radius: var(--r); grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; }
  .gallery .g-cell:not(:first-child) { display: none; }
  .place-actions .btn { flex: 1; }
  .dish-side, .dish-ph { width: 96px !important; }
  .dish-ph { height: 96px !important; }
  .f-row { grid-template-columns: 1fr; }
  .modal { padding: 24px 20px; }
  .modal-wrap:not(.side):not(.lbox):not(.search) { place-items: end center; padding: 0; }
  .modal-wrap:not(.side):not(.lbox):not(.search) .modal { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92dvh; transform: translateY(100%); }
  .modal-wrap.open:not(.side):not(.lbox):not(.search) .modal { transform: none; }
  .modal-wrap.search { padding: 12px; padding-top: 12px; }
  .lb { padding: 60px 12px; }
  .lb-nav { top: auto; bottom: 16px; margin: 0; }
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ad-thumbs button { width: 80px; height: 60px; }
  .cart-bar { left: 16px; right: 16px; transform: translateY(140%); }
  .cart-bar.show { transform: none; }
  .cart-bar-btn { width: 100%; }
  .cb-txt { flex: 1; max-width: none; }
}

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

/* =========================================================================
   MistoGo — редизайн за макетом (шапка, головна, картки, події, рулетка)
   ========================================================================= */
:root { --go: #19b45a; --go-d: #139a4b; --hot: #ff6a1a; --pink: #e8456f; --link: #2563eb; }
.section-s { padding-block: 26px; }

/* ---------- логотип і шапка ---------- */
.logo { flex-direction: column; align-items: flex-start; gap: 3px; }
.wm { font: 800 30px/1 var(--f-d); letter-spacing: -.02em; color: var(--ink); }
.wm b { color: var(--go); font-weight: 800; }
.logo-sub { font-size: 12.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.hdr .nav { margin: 0 auto; gap: 6px; }
.hdr .nav-link { font-size: 15px; font-weight: 600; padding: 10px 12px; }
.hdr .nav-link.active::after { background: var(--go); }
.btn-go { background: var(--go); color: #fff; box-shadow: 0 10px 22px -12px rgba(25, 180, 90, .9); }
.btn-go:hover { background: var(--go-d); transform: translateY(-1px); }
.btn-line { border: 1.5px solid var(--line-2); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 10px 22px -12px rgba(232, 69, 111, .9); }
.btn-pink:hover { background: #d63660; }
.btn .i { width: 17px; height: 17px; }
.cart-btn { display: none; }
.cart-btn.has { display: inline-grid; }
.hdr-act .btn-sm { height: 42px; border-radius: 12px; }

/* прозора шапка поверх фото на головній */
.hdr.over:not(.solid) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; box-shadow: none; }
.hdr.over:not(.solid) .wm, .hdr.over:not(.solid) .nav-link, .hdr.over:not(.solid) .icon-btn { color: #fff; }
.hdr.over:not(.solid) .logo-sub { color: rgba(255, 255, 255, .85); }
.hdr.over:not(.solid) .nav-link:hover { background: rgba(255, 255, 255, .14); }
.hdr.over:not(.solid) .icon-btn:hover { background: rgba(255, 255, 255, .14); }
.hdr.over:not(.solid) .btn-line { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hdr.over:not(.solid) .btn-line:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
body[data-page="home"] .main { padding-top: 0; }

/* ---------- герой ---------- */
.hero2 { position: relative; overflow: hidden; color: #fff; background: #1d2a22; isolation: isolate; }
.hero2-bg { position: absolute; inset: -40px 0 0; z-index: -2; transform: scale(1.06); will-change: transform; }
.hero2-bg .ph { background: #2a3a2f; }
.hero2-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10, 16, 12, .8) 0%, rgba(10, 16, 12, .5) 50%, rgba(10, 16, 12, .15) 100%),
  linear-gradient(180deg, rgba(10, 16, 12, .55) 0%, rgba(10, 16, 12, 0) 30%, rgba(10, 16, 12, .35) 100%); }
.hero2-in { padding: calc(var(--hdr) + 44px) 32px 40px; }
.hero2-title { font: 800 clamp(40px, 5.4vw, 72px)/1.02 var(--f-d); letter-spacing: -.02em; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero2-title .go { color: var(--accent-2); }
.hero2-l2 { font-size: clamp(26px, 3.3vw, 44px); }
.hero2-sub { margin: 14px 0 22px; font-size: clamp(16px, 1.6vw, 21px); font-weight: 600; color: rgba(255, 255, 255, .92); text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.city-row { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.city-pill { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; background: #fff; color: var(--ink); font-size: 17px; box-shadow: var(--sh); transition: transform .25s var(--ease); }
.city-pill:hover { transform: translateY(-2px); }
.city-pill .i:first-child { color: var(--go); fill: rgba(25, 180, 90, .15); }
.city-pill .i:last-child { width: 16px; height: 16px; }
.city-link { color: #fff; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.hero2-search { display: flex; align-items: center; gap: 12px; max-width: 1040px; height: 72px; padding: 0 10px 0 24px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.hero2-search > .i { width: 22px; height: 22px; color: var(--ink-2); }
.hs-label { font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.hero2-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; font-weight: 600; }
.hero2-search input::placeholder { color: var(--muted); font-weight: 500; }
.hero2-search .btn { height: 54px; padding: 0 44px; border-radius: 12px; font-size: 16px; }
.hero2-search:focus-within { box-shadow: 0 0 0 4px rgba(47, 209, 112, .45), 0 30px 60px -20px rgba(0, 0, 0, .5); }

/* жива строка */
.live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.live > * { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.live > [hidden] { display: none; }
.live .i { width: 15px; height: 15px; }
.live-now i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(47, 209, 112, .7); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(47, 209, 112, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 209, 112, 0); } }
.wx-emo { font-size: 16px; }
a.live-hint { background: rgba(25, 180, 90, .85); border-color: transparent; transition: background .2s; }
a.live-hint:hover { background: var(--go); }
.live a:not(.live-hint):hover { background: rgba(255, 255, 255, .24); }

/* ---------- ряд категорій ---------- */
.cat-row-sec { padding-top: 26px; padding-bottom: 6px; }
.cat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.cat-i { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 4px; border-radius: 16px; text-align: center; transition: transform .3s var(--spring), background .2s; }
.cat-i:hover { transform: translateY(-4px); background: var(--bg-2); }
.cat-i-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, #fff); transition: background .25s, color .25s; }
.cat-i:hover .cat-i-ic { background: var(--c); color: #fff; }
.cat-i-ic .i { width: 27px; height: 27px; stroke-width: 2; }
.cat-i b { font-size: 14px; font-weight: 700; line-height: 1.25; }
.cat-row-sec.flat { padding-top: 0; }

/* ---------- заголовки секцій ---------- */
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.h2i { display: flex; align-items: center; gap: 10px; font: 800 clamp(22px, 2.4vw, 28px)/1.2 var(--f-d); letter-spacing: -.01em; }
.flame .i { width: 28px; height: 28px; color: var(--hot); fill: #ffb347; }
.cal-i .i { width: 28px; height: 28px; color: var(--link); }
.see-all { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 700; font-size: 15px; white-space: nowrap; }
.see-all .i { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.see-all:hover .i { transform: translateX(4px); }

/* ---------- картка закладу (нова) ---------- */
.pop-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--sh-xs); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.pcard-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pcard .pcard-media { aspect-ratio: 16 / 11; border-radius: 0; }
.pcard .pcard-media::after { background: linear-gradient(180deg, rgba(0, 0, 0, .2), transparent 35%, transparent 65%, rgba(0, 0, 0, .35)); }
.top-badge { position: absolute; z-index: 2; left: 10px; top: 10px; padding: 3px 10px; border-radius: 7px; background: var(--go); color: #fff; font-size: 12px; font-weight: 800; }
.pcard .fav { z-index: 3; width: 34px; height: 34px; background: rgba(0, 0, 0, .25); color: #fff; right: 10px; top: 10px; }
.pcard .fav.on { background: #fff; color: #ef3b5d; }
.st-glass { position: absolute; z-index: 2; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11.5px; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.st-glass i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; }
.st-glass.open i { background: var(--accent-2); }
.pcard .pcard-body { padding: 12px 12px 12px; }
.pcard .pcard-top { gap: 8px; }
.pcard .pcard-top h3 { font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .rate { font-size: 13.5px; flex: none; }
.pcard .rate .i { width: 15px; height: 15px; }
.rate em { font-style: normal; font-weight: 600; color: var(--muted); margin-left: 2px; }
.pcard .pcard-sub { font-size: 13px; margin-top: 3px; }
.pcard-addr { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-addr .i { width: 15px; height: 15px; flex: none; color: var(--ink); }
.pcard-btns { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mini-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.mini-btn .i { width: 15px; height: 15px; }
.mini-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.mini-btn:only-child { grid-column: 1 / -1; }
.mini-btn.go { background: var(--accent); border-color: var(--accent); color: #fff; }
.mini-btn.go:hover { background: var(--ink); border-color: var(--ink); }
/* three buttons (book + call + route): «Записатися» takes the whole first row */
.pcard-btns:has(> :nth-child(3)) .mini-btn.go { grid-column: 1 / -1; }

/* ---------- промо-банери ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; display: flex; min-height: 200px; border-radius: 20px; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s; }
.promo:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.promo-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 26px 30px; max-width: 58%; }
.promo h3 { font: 800 clamp(22px, 2.3vw, 30px)/1.1 var(--f-d); letter-spacing: -.01em; }
.promo p { font-size: 15px; font-weight: 600; line-height: 1.4; }
.promo .btn { margin-top: 6px; height: 44px; border-radius: 10px; }
.promo-img { position: absolute; inset: 0 0 0 38%; z-index: 0; }
.promo-img .ph { transition: transform 1s var(--out); }
.promo:hover .promo-img .ph { transform: scale(1.05); }
.promo-dark { background: #121513; color: #fff; }
.promo-dark .promo-img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.promo-dark p { color: rgba(255, 255, 255, .85); }
.promo-pink { background: linear-gradient(120deg, #fde4ea, #f8c6d3); color: #3b1522; }
.promo-pink .promo-img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.promo-pink h3 { color: #3b1522; }
.promo-badge { position: absolute; z-index: 3; right: 30%; top: 50%; width: 86px; height: 86px; margin-top: -43px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: #e11d2e; color: #fff; font: 800 24px/1 var(--f-d); transform: rotate(-10deg); box-shadow: 0 12px 26px -8px rgba(225, 29, 46, .8); animation: badge 3s ease-in-out infinite; }
.promo-badge small { font: 700 12px var(--f); }
@keyframes badge { 50% { transform: rotate(-4deg) scale(1.06); } }

/* ---------- рулетка «Крутни місто» ---------- */
.spin { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 40px; border-radius: 24px; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(60% 80% at 100% 0%, rgba(47, 209, 112, .35), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(59, 91, 253, .3), transparent 60%), #0f1a14; }
.new-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 700; color: var(--accent-2); }
.new-tag .i { width: 15px; height: 15px; }
.spin h2 { margin: 14px 0 10px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.spin h2 span { color: var(--accent-2); }
.spin-copy > p { color: rgba(255, 255, 255, .72); font-size: 16px; }
.moods { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.mood { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 14px; font-weight: 700; transition: all .2s var(--ease); }
.mood span { font-size: 17px; }
.mood:hover { background: rgba(255, 255, 255, .16); }
.mood.on { background: #fff; color: var(--ink); border-color: #fff; }
.spin-go .i { transition: transform .6s var(--ease); }
.spin-go:hover .i { transform: rotate(180deg); }
.spinning .spin-go .i { animation: spinning .7s linear infinite; }
@keyframes spinning { to { transform: rotate(360deg); } }
.spin-stage { position: relative; }
.slot { position: relative; height: 96px; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 30px 60px -20px rgba(0, 0, 0, .6); }
.slot::before, .slot::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; z-index: 2; pointer-events: none; }
.slot::before { top: 0; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
.slot::after { bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.slot-mark { position: absolute; top: 50%; z-index: 3; width: 0; height: 0; border: 9px solid transparent; margin-top: -9px; }
.slot-mark.l { left: 0; border-left-color: var(--go); }
.slot-mark.r { right: 0; border-right-color: var(--go); }
.slot-track { will-change: transform; }
.slot-item { display: flex; align-items: center; gap: 14px; height: 96px; padding: 0 22px; color: var(--ink); }
.slot-ph { width: 64px !important; height: 64px !important; border-radius: 14px; flex: none; }
.slot-item b { display: block; font-size: 18px; font-weight: 800; }
.slot-item span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.spinning .slot-item { filter: blur(.6px); }
.spin-result { min-height: 92px; margin-top: 14px; }
.spin-hint { color: rgba(255, 255, 255, .6); font-weight: 600; font-size: 14px; text-align: center; padding-top: 10px; }
.spin-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); animation: rise .5s var(--spring); }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.spin-card b { display: block; font-size: 17px; }
.spin-card span { display: flex; align-items: center; gap: 5px; font-size: 13.5px; color: rgba(255, 255, 255, .75); font-weight: 600; }
.spin-card span .i { width: 14px; height: 14px; fill: #f5b301; stroke: #f5b301; }
.spin-card em { font-style: normal; color: #ffb4b4; }
.spin-card em.ok { color: var(--accent-2); }
.spin-card small { display: block; margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.spin-btns { display: flex; align-items: center; gap: 6px; flex: none; }
.spin-btns .icon-btn.outline { width: 40px; height: 40px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.spin-btns .icon-btn .i { width: 17px; height: 17px; }
.confetti { position: absolute; top: 40px; left: var(--x); z-index: 5; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; animation: conf var(--t) cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes conf { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), 170px) rotate(var(--r)); opacity: 0; } }

/* ---------- події ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ev-card { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--sh-xs); transition: transform .35s var(--ease), box-shadow .35s; }
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.ev-media { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; }
.ev-media .ph { transition: transform 1s var(--out); }
.ev-card:hover .ev-media .ph { transform: scale(1.06); }
.ev-date { position: absolute; left: 10px; top: 10px; display: grid; justify-items: center; min-width: 50px; padding: 5px 8px 6px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: var(--sh-sm); line-height: 1; }
.ev-date b { font: 800 22px var(--f-d); }
.ev-date small { font-size: 11px; font-weight: 800; margin-top: 3px; }
.ev-today { position: absolute; right: 10px; top: 10px; padding: 4px 10px; border-radius: 99px; background: var(--go); color: #fff; font-size: 12px; font-weight: 800; }
.ev-body { padding: 12px 14px 14px; }
.ev-body h3 { font-size: 15.5px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-body p { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.ev-body p .i { width: 15px; height: 15px; color: var(--muted); flex: none; }
.ev-modal-ph { height: 240px; margin: -8px 0 18px; border-radius: 16px; overflow: hidden; }
.ev-facts { display: grid; gap: 8px; margin: 6px 0 14px; }
.ev-facts span { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); }
.ev-facts .i { width: 18px; height: 18px; color: var(--go); flex: none; }
.ev-about { color: var(--ink-2); line-height: 1.6; margin-bottom: 20px; }
.ev-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ev-btns .btn { flex: 1; }

/* ---------- власник бізнесу ---------- */
.owner { display: flex; align-items: center; gap: 24px; padding: 24px 28px; border-radius: 20px; background: #f1f5f4; border: 1px solid #e3ebe8; flex-wrap: wrap; }
.owner-ic { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--go); box-shadow: var(--sh-sm); flex: none; }
.owner-ic .i { width: 40px; height: 40px; stroke-width: 1.6; }
.owner-copy { flex: 1 1 260px; }
.owner-copy h3 { font: 800 22px/1.2 var(--f-d); }
.owner-copy p { margin-top: 6px; color: var(--ink-2); font-weight: 500; }
.owner-copy b { color: var(--ink); }
.owner .btn { border-radius: 12px; }
.owner-feats { display: flex; flex: 1 1 420px; justify-content: space-between; }
.owner-feats div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink-2); border-left: 1px solid #d9e3df; }
.owner-feats div:first-child { border-left: 0; }
.owner-feats .i { width: 28px; height: 28px; color: var(--c); }

/* ---------- кабінет бізнесу (cabinet.html) ---------- */
.cab-head { padding-bottom: 0; }
.cab { padding-bottom: 80px; min-height: 50vh; }
.cab-loading { display: grid; place-items: center; min-height: 240px; }
.cab-loading i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: cabspin .8s linear infinite; }
@keyframes cabspin { to { transform: rotate(360deg); } }
.cab h1 { font: 800 clamp(28px, 4vw, 40px)/1.1 var(--f-d); letter-spacing: -.02em; }
.cab-h { font: 800 20px var(--f-d); margin: 34px 0 14px; }
.cab-fine { font-size: 13.5px; color: var(--muted); }
.cab-fine a { color: var(--accent); font-weight: 700; }
.cab-auth { max-width: 460px; margin: 10px auto 0; padding: 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); display: grid; gap: 14px; }
.cab-auth h1 { font-size: 28px; }
.cab-tabs { display: flex; padding: 4px; border-radius: 99px; background: var(--bg-2); }
.cab-tabs a { flex: 1; text-align: center; padding: 10px; border-radius: 99px; font-weight: 800; color: var(--muted); }
.cab-tabs a.on { background: #fff; color: var(--ink); box-shadow: var(--sh-xs); }
.cab-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.cab-top p { margin-top: 6px; }
.cab-top-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cab-vz { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 26px; padding: 22px 24px; border-radius: var(--r); background: linear-gradient(135deg, #fff0f6, #f6edff); border: 1px solid #f5d8e6; }
.cab-vz-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: #e0457b; box-shadow: var(--sh-sm); }
.cab-vz-ic .i { width: 28px; height: 28px; }
.cab-vz-txt b { font: 800 18px var(--f-d); }
.cab-vz-txt p { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; }
.cab-vz-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 4px 4px 4px 14px; border-radius: 12px; background: rgba(255, 255, 255, .8); }
.cab-vz-link code { font-size: 14px; font-weight: 700; }
.cab-vz-btns { display: grid; gap: 8px; }
.cab-list { display: grid; gap: 12px; }
.cab-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.cab-ph { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; color: var(--muted); }
.cab-ph img { width: 100%; height: 100%; object-fit: cover; }
.cab-item h3 { font-size: 17px; font-weight: 800; margin: 6px 0 2px; }
.cab-item-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.cab-price { font-weight: 800; }
.cab-st { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; }
.cab-st.wait { background: #fff4de; color: var(--warn); }
.cab-st.ok { background: var(--ok-soft); color: var(--ok); }
.cab-st.bad { background: #fde8e8; color: var(--bad); }
.cab-st.off { background: var(--bg-2); color: var(--muted); }
.cab-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--bad); }
.cab-note.soft { color: var(--muted); }
.cab-note .i { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.cab-item-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cab-del:hover { color: var(--bad); border-color: var(--bad); }
.cab-empty { text-align: center; max-width: 520px; margin: 30px auto; padding: 40px 24px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-2); display: grid; gap: 12px; justify-items: center; }
.cab-empty h3 { font: 800 22px var(--f-d); }
.cab-empty p { color: var(--ink-2); }
.cab-empty-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.cab-empty-ic .i { width: 30px; height: 30px; }
.cab-form-head { display: grid; gap: 10px; justify-items: start; margin-bottom: 8px; }
.cab-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--muted); }
.cab-back:hover { color: var(--ink); }
.cab-back .i { width: 18px; height: 18px; }
.cab-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cab-cat { display: grid; gap: 4px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.cab-cat:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--c); }
.cab-cat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); margin-bottom: 8px; }
.cab-cat b { font: 800 17px var(--f-d); }
.cab-cat small { color: var(--muted); font-weight: 600; }
.cab-form { max-width: 860px; gap: 18px; }
.cab-block { display: grid; gap: 14px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.cab-block h3 { font: 800 18px var(--f-d); }
.cab-form .chips { flex-wrap: wrap; overflow: visible; }
.cab-form .chip.add { border-style: dashed; color: var(--accent); border-color: var(--accent); }
.cab-form .chip.add .i { width: 15px; height: 15px; }
.cab-form .chip.add:hover { background: var(--accent-soft); }
.cab-form .chip.new small { margin-left: 6px; padding: 1px 6px; border-radius: 99px; background: #fff0cc; color: #b45309; font-size: 10.5px; font-weight: 800; }
.cab-subadd { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cab-subadd[hidden] { display: none; }
.cab-subadd input { flex: 1 1 220px; }
.cab-form .f.sm { max-width: 220px; }
.cab-form .f.xs { max-width: 120px; }
.cab-hours { display: grid; gap: 8px; justify-items: start; }
.cab-day { display: grid; grid-template-columns: 80px 130px auto 130px auto; gap: 10px; align-items: center; }
.cab-day input[type=time] { height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); font: inherit; }
.cab-day-on { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cab-day-on input { width: 18px; height: 18px; accent-color: var(--accent); }
.cab-day em { font-style: normal; font-size: 13px; color: var(--muted); display: none; }
.cab-day.off input[type=time], .cab-day.off > span { opacity: .3; pointer-events: none; }
.cab-day.off em { display: inline; }
.cab-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.cab-photo, .cab-photo-add { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.cab-photo img { width: 100%; height: 100%; object-fit: cover; }
.cab-photo-main { position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 99px; background: rgba(13, 13, 18, .7); color: #fff; font-size: 11px; font-weight: 800; }
.cab-photo-x { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; }
.cab-photo-x .i { width: 15px; height: 15px; }
.cab-photo-add { display: grid; place-content: center; justify-items: center; gap: 6px; border: 1.5px dashed var(--line-2); background: var(--bg-2); color: var(--ink-2); font-size: 13px; font-weight: 700; cursor: pointer; text-align: center; padding: 8px; }
.cab-photo-add:hover { border-color: var(--accent); color: var(--accent); }
.cab-photo-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cab-photo-add.busy { pointer-events: none; opacity: .6; }
.cab-row { position: relative; display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 48px 14px 14px; border-radius: 16px; background: var(--bg-2); }
.cab-row .f { flex: 1 1 200px; }
.cab-row .f.sm { flex: 0 1 150px; }
.cab-row .f.xs { flex: 0 1 100px; }
.cab-row .f.wide { flex: 1 1 100%; }
.cab-row .f input { background: #fff; }
.cab-row.spec .f { flex: 1 1 180px; }
.cab-row-x { position: absolute; right: 10px; top: 12px; width: 32px; height: 32px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.cab-row-x:hover { background: #fff; color: var(--bad); }
.cab-row-x .i { width: 17px; height: 17px; }
[data-items], [data-specs] { display: grid; gap: 10px; }
.cab-vz-note { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #fff0f6, #f6edff); }
.cab-vz-note > .i { width: 26px; height: 26px; color: #e0457b; flex: none; }
.cab-vz-note p { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.cab-submit { display: grid; gap: 10px; justify-items: start; }
@media (max-width: 860px) {
  .cab-vz { grid-template-columns: auto 1fr; }
  .cab-vz-btns { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .cab-item { grid-template-columns: 72px 1fr; }
  .cab-ph { width: 72px; height: 72px; }
  .cab-item-act { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 560px) {
  .cab-auth { padding: 22px 18px; }
  .cab-vz { grid-template-columns: 1fr; padding: 18px; }
  .cab-vz-btns { grid-template-columns: 1fr; }
  .cab-block { padding: 18px 14px; }
  .cab-day { grid-template-columns: 64px 1fr auto 1fr; }
  .cab-day em { grid-column: 2 / -1; }
  .cab-form .f.sm, .cab-form .f.xs { max-width: none; }
  .cab-submit .btn { width: 100%; }
}

/* ---------- місто, мобільне меню, футер ---------- */
.city-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; margin: 10px 0 14px; border-radius: 14px; border: 2px solid var(--go); background: var(--accent-soft); font-size: 16px; }
.city-opt .i { color: var(--go); }
.city-opt .i:last-child { margin-left: auto; }
.city-modal a { color: var(--go); font-weight: 700; }
.mnav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mnav-links a { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-weight: 700; }
.mnav .logo .logo-sub { display: none; }
.ftr .wm { color: #fff; }
.ftr .logo-sub { color: rgba(255, 255, 255, .5); }
.ftr-word b { color: rgba(47, 209, 112, .35); font-weight: inherit; }

/* ---------- адаптив ---------- */
@media (max-width: 1240px) {
  .pop-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -32px; padding: 4px 32px 12px; scroll-padding-inline: 32px; }
  .pop-grid::-webkit-scrollbar { display: none; }
  .pop-grid .pcard { flex: 0 0 250px; scroll-snap-align: start; }
  .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spin { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .wm { font-size: 26px; }
  .logo-sub { display: none; }
  .hide-sm { display: none; }
  .hero2-in { padding: calc(var(--hdr) + 26px) 20px 28px; }
  .hs-label { display: none; }
  .hero2-search { height: 62px; padding-left: 16px; }
  .hero2-search .btn { height: 46px; padding: 0 20px; }
  .live { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-right: 20px; }
  .live::-webkit-scrollbar { display: none; }
  .cat-row { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 6px; }
  .cat-row::-webkit-scrollbar { display: none; }
  .cat-i { flex: 0 0 88px; }
  .pop-grid { margin: 0 -20px; padding: 4px 20px 12px; scroll-padding-inline: 20px; }
  .promos { grid-template-columns: 1fr; }
  .spin { padding: 28px 22px; }
  .owner-feats { flex-basis: 100%; }
  .owner .btn { width: 100%; }
}
@media (max-width: 560px) {
  .hero2-title { font-size: 38px; }
  .hide-xs { display: none; }
  .pop-grid { margin: 0 -16px; padding: 4px 16px 12px; scroll-padding-inline: 16px; }
  .cat-row { margin: 0 -16px; padding: 0 16px 6px; }
  .ev-grid { grid-template-columns: 1fr; }
  .promo-copy { max-width: 64%; padding: 22px; }
  .promo-badge { right: 8%; top: 22%; width: 70px; height: 70px; font-size: 20px; }
  .owner { padding: 20px; }
  .owner-feats div { padding: 0 4px; font-size: 11.5px; }
  .spin-card { flex-direction: column; align-items: stretch; }
}
