/* =========================================================
   Dilxush — milliy taomlari
   Uslub: "Registon" — lojuvard koshin, za'faron oltin, fil suyagi
   ========================================================= */

:root {
  --lapis: #1741A6;
  --lapis-600: #12358A;
  --lapis-800: #0C2366;
  --night: #081330;
  --ink: #0E1A36;
  --ink-2: #3D4862;
  --muted: #6B7690;
  --line: #E6E0D2;
  --paper: #F7F3EA;
  --paper-2: #EFE8D9;
  --card: #FFFFFF;
  --saffron: #E9A53A;
  --saffron-2: #F5C76E;
  --turq: #2FA6A6;
  --success: #1C7A45;
  --danger: #C23B2E;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 54, .04), 0 6px 16px -6px rgba(14, 26, 54, .08);
  --shadow: 0 24px 48px -20px rgba(14, 26, 54, .28);
  --shadow-lg: 0 40px 80px -30px rgba(8, 19, 48, .5);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Cormorant Garamond', Georgia, serif;
  --hh: 80px;

  /* admin panel bilan moslik uchun eski nomlar */
  --cream: var(--paper);
  --cream-soft: var(--line);
  --cream-card: var(--card);
  --ink-soft: var(--muted);
  --blue: var(--lapis);
  --blue-dark: var(--lapis-800);
  --gold: var(--saffron);
  --terracotta: var(--saffron);

  --pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M50 4L63.47 17.47H82.53V36.53L96 50L82.53 63.47V82.53H63.47L50 96L36.53 82.53H17.47V63.47L4 50L17.47 36.53V17.47H36.53Z'/%3E%3Ccircle cx='50' cy='50' r='13'/%3E%3Cpath d='M0 0h8M0 0v8M100 0h-8M100 0v8M0 100h8M0 100v-8M100 100h-8M100 100v-8'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%231741A6' stroke-opacity='.06' stroke-width='1.2'%3E%3Cpath d='M50 4L63.47 17.47H82.53V36.53L96 50L82.53 63.47V82.53H63.47L50 96L36.53 82.53H17.47V63.47L4 50L17.47 36.53V17.47H36.53Z'/%3E%3Ccircle cx='50' cy='50' r='13'/%3E%3C/g%3E%3C/svg%3E");
  --arch-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' preserveAspectRatio='none'%3E%3Cpath d='M0 125V50C0 25 22 10 50 0c28 10 50 25 50 50v75z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.lock { overflow: hidden; }

@supports (overflow: clip) { main { overflow-x: clip; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
svg { flex-shrink: 0; }
::selection { background: var(--saffron); color: var(--night); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--night) var(--pattern-light);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease), visibility 0s 1.1s;
  animation: preloaderFailsafe 0s 5s forwards;
}
body.loaded .preloader { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes preloaderFailsafe { to { visibility: hidden; opacity: 0; } }
.preloader-inner { display: grid; place-items: center; gap: 22px; }
.preloader-star { width: 96px; height: 96px; overflow: visible; }
.preloader-star path {
  fill: none; stroke: var(--saffron); stroke-width: 1.6;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.3s var(--ease) forwards, spin 8s linear infinite;
  transform-origin: 50px 50px;
}
.preloader-star path:nth-child(2) { stroke: rgba(255,255,255,.5); animation-delay: .25s, 0s; animation-direction: normal, reverse; }
.preloader-logo { width: 150px; opacity: 0; animation: fadeUp .8s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--saffron), var(--saffron-2), var(--turq));
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hh);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: max(24px, calc(50% - 600px));
  color: var(--ink);
  background: rgba(247, 243, 234, .82);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  backdrop-filter: saturate(1.5) blur(18px);
  box-shadow: 0 1px 0 rgba(14, 26, 54, .07);
  transition: background .45s, box-shadow .45s, color .45s, transform .6s var(--ease), height .45s var(--ease);
}
.site-header.on-dark { background: transparent; box-shadow: none; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.compact { height: 66px; }
.site-header.hide { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 12px; position: relative; }
.brand img { height: 50px; width: auto; transition: opacity .4s, height .45s var(--ease); }
.site-header.compact .brand img { height: 42px; }
.brand .logo-light { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.site-header.on-dark .brand .logo-light { opacity: 1; }
.site-header.on-dark .brand .logo-dark { opacity: 0; }
/* admin sahifasidagi sarlavha */
.brand-name { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1; }
.brand-name span { display: block; font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }

.main-nav { position: relative; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; z-index: 1;
  padding: 10px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  opacity: .78; transition: opacity .3s;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.nav-indicator {
  position: absolute; left: 0; top: 50%; height: 42px; width: 0;
  transform: translate(var(--x, 0), -50%);
  border-radius: 999px;
  background: rgba(23, 65, 166, .09);
  transition: transform .55s var(--ease), width .55s var(--ease), background .4s, opacity .3s;
  opacity: 0;
}
.nav-indicator.ready { opacity: 1; }
.site-header.on-dark .nav-indicator { background: rgba(255, 255, 255, .12); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; padding: 0 8px; opacity: .85; transition: opacity .3s;
}
.header-phone:hover { opacity: 1; }
.header-phone svg { width: 18px; height: 18px; fill: var(--saffron); }

.icon-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(14, 26, 54, .05);
  transition: background .3s, transform .4s var(--ease-spring);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(14, 26, 54, .1); transform: translateY(-2px); }
.site-header.on-dark .icon-btn { background: rgba(255, 255, 255, .1); }
.site-header.on-dark .icon-btn:hover { background: rgba(255, 255, 255, .18); }
.icon-btn.bump { animation: bump .6s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.94) rotate(4deg); } 100% { transform: scale(1); } }

.badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: var(--saffron); color: var(--night);
  font-size: 11px; font-weight: 800; font-style: normal;
  box-shadow: 0 0 0 2px var(--paper);
  animation: badgeIn .5s var(--ease-spring);
}
@keyframes badgeIn { from { transform: scale(0); } }

.auth-area { display: flex; align-items: center; }
.user-menu { position: relative; }
.user-chip {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px 0 5px;
  border-radius: 999px; background: rgba(14, 26, 54, .05); font-weight: 600; font-size: 14px;
  transition: background .3s;
}
.site-header.on-dark .user-chip { background: rgba(255, 255, 255, .1); }
.user-chip:hover { background: rgba(14, 26, 54, .1); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-2)); color: var(--night);
  font-size: 13px; font-weight: 800;
}
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px;
  padding: 8px; border-radius: 18px; background: var(--card); color: var(--ink);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.user-menu.open .user-dropdown { opacity: 1; visibility: visible; transform: none; }
.user-dropdown .ud-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-dropdown .ud-head b { display: block; }
.user-dropdown .ud-head small { color: var(--muted); }
.user-dropdown a, .user-dropdown button {
  display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: 12px; font-size: 14px; font-weight: 500; text-align: left; transition: background .25s;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--lapis); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, translate .5s var(--ease), var(--rt, opacity 0s);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(23, 65, 166, .7); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { --bg: var(--lapis); }
.btn-primary:hover { --bg: var(--lapis-600); }
.btn-gold { --bg: var(--saffron); --fg: var(--night); }
.btn-gold:hover { --bg: var(--saffron-2); box-shadow: 0 18px 36px -14px rgba(233, 165, 58, .75); }
.btn-outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(14, 26, 54, .2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline::before { background: linear-gradient(115deg, transparent 30%, rgba(23, 65, 166, .08) 50%, transparent 70%); }
.btn-glass { --bg: rgba(255, 255, 255, .08); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { --bg: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.site-header.on-dark .btn-outline { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.magnetic { will-change: translate; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn.loading { pointer-events: none; color: transparent; }
.btn.loading::after {
  content: ""; position: absolute; width: 22px; height: 22px; left: 50%; top: 50%; margin: -11px 0 0 -11px;
  border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .8s linear infinite;
}

.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(14, 26, 54, .15); transition: background .3s, color .3s, transform .4s var(--ease), box-shadow .3s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--lapis); color: #fff; box-shadow: none; transform: scale(1.06); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--saffron);
}
.eyebrow svg { width: 15px; height: 15px; fill: currentColor; animation: spin 12s linear infinite; }
.eyebrow.dark { color: var(--lapis); }
.eyebrow.dark svg { fill: var(--saffron); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--hh) + 40px) 0 110px;
  color: #fff;
  background: linear-gradient(160deg, var(--lapis-800) 0%, #0A1A4A 45%, var(--night) 100%);
}
.hero-pattern {
  position: absolute; inset: -96px; z-index: -2;
  background-image: var(--pattern-light);
  animation: patternDrift 40s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
@keyframes patternDrift { to { transform: translate(96px, 96px); } }
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 500px at 78% 35%, rgba(47, 166, 166, .28), transparent 65%),
    radial-gradient(600px 500px at 8% 95%, rgba(233, 165, 58, .2), transparent 60%);
  animation: glowShift 14s ease-in-out infinite alternate;
}
@keyframes glowShift { to { transform: translate3d(-3%, 2%, 0) scale(1.05); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(52px, 7.4vw, 104px); line-height: .95; letter-spacing: -.015em;
  margin: 22px 0 26px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: block; transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.3s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
body.loaded .hero-title .line > span { transform: none; }
.hero-title em, .page-title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--saffron) 0%, var(--saffron-2) 40%, #FBE3AE 50%, var(--saffron-2) 60%, var(--saffron) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite;
  padding-right: .06em;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero-text { max-width: 520px; margin: 0; font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .74); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { list-style: none; margin: 52px 0 0; padding: 0; display: flex; gap: 40px; }
.hero-meta li { display: flex; flex-direction: column; gap: 2px; position: relative; }
.hero-meta li + li::before { content: ""; position: absolute; left: -20px; top: 8px; bottom: 8px; width: 1px; background: rgba(255, 255, 255, .15); }
.hero-meta b { font-variant-numeric: lining-nums; font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1; color: #fff; }
.hero-meta span { font-size: 13px; color: rgba(255, 255, 255, .6); }

[data-intro] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
body.loaded [data-intro] { opacity: 1; transform: none; }

.hero-visual { position: relative; width: 100%; max-width: 480px; justify-self: center; aspect-ratio: 4 / 5; }
.hero-ring {
  position: absolute; width: 132%; left: -16%; top: -6%; aspect-ratio: 1; height: auto;
  color: rgba(245, 199, 110, .32);
  animation: spin 90s linear infinite;
  opacity: 0; transition: opacity 2s var(--ease) .6s;
}
body.loaded .hero-ring { opacity: 1; }
.hero-frame {
  position: absolute; left: 16px; top: -16px; width: 100%; height: 100%;
  color: var(--saffron); overflow: visible;
  opacity: 0; transform: translate(-10px, 10px); transition: opacity 1.2s var(--ease) .9s, transform 1.2s var(--ease) .9s;
}
body.loaded .hero-frame { opacity: .9; transform: none; }
.hero-arch {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat;
  background: var(--lapis-600);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.5s var(--ease) .25s;
}
body.loaded .hero-arch { clip-path: inset(0 0 0 0); }
.hero-arch img { width: 100%; height: 118%; margin-top: -9%; object-fit: cover; transform: scale(1.3); transition: transform 2.2s var(--ease) .25s; }
body.loaded .hero-arch img { transform: scale(1); }

.hero-seal {
  position: absolute; right: -34px; bottom: 16%; width: 128px; height: 128px; border-radius: 50%;
  display: grid; place-items: center; background: var(--saffron); color: var(--night);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45);
  opacity: 0; transform: scale(.4) rotate(-90deg); transition: opacity .8s var(--ease) 1.3s, transform 1.2s var(--ease-spring) 1.3s;
}
body.loaded .hero-seal { opacity: 1; transform: none; }
.seal-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal-text text { font-family: var(--font); font-size: 10.2px; font-weight: 700; letter-spacing: .16em; fill: var(--night); }
.seal-star { width: 38px; height: 38px; fill: var(--night); }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55);
  opacity: 0; transition: opacity .8s var(--ease), transform .3s var(--ease);
  animation: bob 7s ease-in-out infinite;
}
.float-chip.ready { opacity: 1; }
.float-chip:hover { animation-play-state: paused; }
.float-chip img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.float-chip b { display: block; font-size: 14px; line-height: 1.25; }
.float-chip small { font-size: 13px; color: var(--lapis); font-weight: 700; }
.chip-1 { left: -64px; top: 22%; }
.chip-2 { right: -24px; top: 2%; animation-delay: -3.5s; animation-duration: 8s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%);
  width: 28px; height: 46px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, .4);
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--saffron); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 3; overflow: hidden;
  margin: -34px -20px 0; padding: 20px 0;
  background: var(--saffron); color: var(--night);
  transform: rotate(-1.4deg);
  box-shadow: 0 20px 40px -20px rgba(8, 19, 48, .5);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 30px; padding-right: 30px;
  font-family: var(--display); font-size: 30px; font-weight: 600; font-style: italic; white-space: nowrap; line-height: 1.1;
}
.marquee-item svg { width: 18px; height: 18px; fill: var(--lapis); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section-tint { background: var(--paper-2) var(--pattern-dark); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 52px; }
.section-head.center { justify-content: center; text-align: center; }
.section-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.012em;
  margin: 14px 0 0; max-width: 720px;
}
.section-title em { font-style: italic; font-weight: 500; color: var(--lapis); }
.section-title.light { color: #fff; }
.section-title.light em { color: var(--saffron-2); }
.section-sub { color: var(--muted); max-width: 420px; margin: 0; font-size: 16.5px; }

/* Scroll reveal */
[data-reveal] {
  --rt: opacity 1.1s var(--ease) var(--rd, 0ms), translate 1.1s var(--ease) var(--rd, 0ms), scale 1.1s var(--ease) var(--rd, 0ms);
  opacity: 0; translate: 0 44px; transition: var(--rt);
}
[data-reveal="left"] { translate: -60px 0; }
[data-reveal="right"] { translate: 60px 0; }
[data-reveal="zoom"] { translate: none; scale: .94; }
[data-reveal].in { opacity: 1; translate: none; scale: none; }

/* So'zma-so'z sarlavha */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 70ms); }
[data-split].in .w > span { transform: none; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  padding: 34px 32px 32px; border-radius: var(--radius-lg);
  background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), var(--rt, opacity 0s);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(23, 65, 166, .1), transparent 45%);
}
.spotlight:hover::before { opacity: 1; }
.service-num { font-variant-numeric: lining-nums; font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--muted); }
.service-icon {
  width: 68px; height: 68px; border-radius: 22px; margin: 30px 0 24px;
  display: grid; place-items: center; background: var(--paper); color: var(--lapis);
  transition: transform .7s var(--ease-spring), background .4s, color .4s;
}
.service-icon svg { width: 32px; height: 32px; }
.service-card:hover .service-icon { transform: rotate(-10deg) scale(1.1); background: var(--lapis); color: #fff; }
.service-card h3 { margin: 0 0 10px; font-size: 23px; font-weight: 700; letter-spacing: -.01em; }
.service-card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.service-link { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; color: var(--lapis); font-weight: 600; font-size: 15px; }
.service-link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.service-card:hover .service-link svg { transform: translateX(6px); }
.service-card.featured { background: linear-gradient(150deg, var(--lapis) 0%, var(--lapis-800) 100%); color: #fff; }
.service-card.featured::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; z-index: -1;
  background: var(--pattern-light); opacity: .9; border-radius: 50%;
}
.service-card.featured .service-num, .service-card.featured p { color: rgba(255, 255, 255, .7); }
.service-card.featured .service-icon { background: rgba(255, 255, 255, .12); color: var(--saffron-2); }
.service-card.featured:hover .service-icon { background: var(--saffron); color: var(--night); }
.service-card.featured .service-link { color: var(--saffron-2); }
.service-card.featured.spotlight::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .12), transparent 45%); }

/* ---------- Dish rail ---------- */
.rail-nav { display: flex; gap: 10px; }
.dish-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 310px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 10px max(24px, calc(50% - 600px)) 40px;
  scroll-padding-inline: max(24px, calc(50% - 600px));
  scrollbar-width: none;
}
.dish-rail::-webkit-scrollbar { display: none; }
.dish-card {
  position: relative; scroll-snap-align: start; text-align: left;
  border-radius: 26px; overflow: hidden; aspect-ratio: 3 / 4; isolation: isolate;
  background: var(--lapis-800); color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  opacity: 0;
}
.dish-card.in { opacity: 1; animation: cardIn .9s var(--ease) backwards; animation-delay: var(--rd, 0ms); }
.dish-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.dish-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.dish-card:hover img { transform: scale(1.08); }
.dish-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 19, 48, 0) 40%, rgba(8, 19, 48, .88) 100%); }
.dish-card .dish-tag {
  position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dish-card .dish-info { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.dish-card h3 { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1.05; }
.dish-card .dish-price { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--saffron-2); }
.dish-card .add-btn { background: var(--saffron); color: var(--night); }

/* ---------- Category mosaic ---------- */
.cat-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 18px; }
.cat-tile {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; text-align: left;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  background: var(--lapis-800) var(--pattern-light); color: #fff;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), var(--rt, opacity 0s);
}
.cat-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.cat-tile:nth-child(6) { grid-column: span 2; }
.cat-tile:nth-child(9) { grid-column: span 4; }
.cat-tile:hover { box-shadow: var(--shadow); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.cat-tile:hover img { transform: scale(1.1); }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 19, 48, .05) 30%, rgba(8, 19, 48, .82) 100%); transition: background .6s; }
.cat-tile:hover::after { background: linear-gradient(180deg, rgba(12, 35, 102, .2) 0%, rgba(8, 19, 48, .9) 100%); }
.cat-tile .cat-emoji { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; font-size: 84px; transition: transform .8s var(--ease-spring); }
.cat-tile:hover .cat-emoji { transform: scale(1.15) rotate(-6deg); }
.cat-tile h3 { margin: 0; font-family: var(--display); font-size: 32px; font-weight: 600; line-height: 1.05; }
.cat-tile:nth-child(1) h3 { font-size: 48px; }
.cat-tile small { font-size: 14px; color: rgba(255, 255, 255, .72); }
.cat-tile .cat-arrow {
  position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: rotate(-45deg); transition: transform .6s var(--ease), background .4s, color .4s;
}
.cat-tile .cat-arrow svg { width: 20px; height: 20px; }
.cat-tile:hover .cat-arrow { transform: rotate(0); background: var(--saffron); color: var(--night); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about-media { position: relative; aspect-ratio: 1 / 1.08; }
.about-arch { position: absolute; overflow: hidden; -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat; background: var(--paper-2); }
.about-arch img { width: 100%; height: 118%; margin-top: -9%; object-fit: cover; }
.about-arch.a1 { left: 0; top: 0; width: 64%; height: 86%; }
.about-arch.a2 { right: 0; bottom: 0; width: 48%; height: 62%; box-shadow: 0 0 0 10px var(--paper-2); }
.about-star { position: absolute; left: 50%; top: 4%; width: 110px; height: 110px; color: var(--saffron); }
.spin-slow { animation: spin 40s linear infinite; }
.about-copy .lead { font-size: 19px; color: var(--ink-2); margin: 28px 0 14px; line-height: 1.7; }
.about-copy p { color: var(--muted); margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.stat { padding: 22px 20px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-sm); }
.stat b { font-variant-numeric: lining-nums; display: block; font-family: var(--display); font-size: 52px; font-weight: 600; line-height: 1; color: var(--lapis); }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 76px; border-radius: 40px; color: #fff;
  background: linear-gradient(135deg, var(--lapis) 0%, var(--lapis-800) 55%, var(--night) 100%);
}
.cta-pattern { position: absolute; inset: 0; z-index: -1; background: var(--pattern-light); opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cta-copy p { color: rgba(255, 255, 255, .72); max-width: 460px; margin: 22px 0 34px; font-size: 17px; }
.cta-visual { position: relative; aspect-ratio: 4 / 5; max-width: 330px; justify-self: center; width: 100%; }
.cta-ring { position: absolute; width: 150%; height: auto; aspect-ratio: 1; left: -25%; top: -12%; color: rgba(245, 199, 110, .35); }
.cta-arch { position: absolute; inset: 0; -webkit-mask: var(--arch-mask) center / 100% 100% no-repeat; mask: var(--arch-mask) center / 100% 100% no-repeat; }
.cta-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cta-band:hover .cta-arch img { transform: scale(1.06); }

/* ---------- Contact ---------- */
.contact-section { padding-top: 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 4px; padding: 32px; border-radius: 26px;
  background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), var(--rt, opacity 0s);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.contact-icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--paper); margin-bottom: 18px; transition: transform .6s var(--ease-spring), background .4s; }
.contact-icon svg { width: 24px; height: 24px; fill: var(--lapis); transition: fill .4s; }
.contact-card:hover .contact-icon { transform: rotate(-10deg) scale(1.08); background: var(--lapis); }
.contact-card:hover .contact-icon svg { fill: #fff; }
.contact-card small { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card b { font-size: 21px; }
.contact-card .muted { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(28, 122, 69, .5); animation: pulse 2s infinite; }
.live-dot.closed { background: var(--danger); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(28, 122, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(28, 122, 69, 0); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--night); color: rgba(255, 255, 255, .7); padding: 90px 0 30px; margin-top: 40px; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: var(--pattern-light); opacity: .6; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.footer-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin: 0; line-height: 1.7; }
.site-footer h4 { margin: 0 0 16px; color: #fff; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.site-footer a, .site-footer span { display: block; margin-bottom: 10px; font-size: 15px; }
.site-footer a { transition: color .3s, transform .3s var(--ease); }
.site-footer a:hover { color: var(--saffron-2); transform: translateX(4px); }
.footer-word {
  position: relative; text-align: center; margin: 60px 0 10px;
  font-family: var(--display); font-weight: 700; font-style: italic; line-height: .8;
  font-size: clamp(90px, 20vw, 300px); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 199, 110, .38);
  user-select: none;
}
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.footer-bottom span { margin: 0; font-size: 13px; }

/* ---------- Views ---------- */
.view { display: none; }
.view.active { display: block; animation: viewIn .8s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; } }

.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--hh) + 64px) 0 96px; color: #fff;
  background: linear-gradient(160deg, var(--lapis-800) 0%, var(--night) 100%);
}
.page-hero .hero-pattern { -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 28px; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Cpath fill='%23F7F3EA' d='M0 28V18C0 10 14 4 28 0c14 4 28 10 28 18v10z'/%3E%3C/svg%3E") repeat-x left bottom / 56px 28px;
}
.page-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.page-title { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 7vw, 88px); line-height: .98; margin: 16px 0 16px; animation: fadeUp 1s var(--ease) .1s both; }
.page-sub { max-width: 520px; margin: 0; color: rgba(255, 255, 255, .7); font-size: 17px; animation: fadeUp 1s var(--ease) .25s both; }
.page-hero .eyebrow { animation: fadeUp 1s var(--ease) both; }
.page-hero-plates { display: flex; flex-shrink: 0; }
.page-hero-plates img {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(255, 255, 255, .14); margin-left: -30px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .6);
  animation: plateIn 1.1s var(--ease-spring) both, bob 7s ease-in-out infinite;
}
.page-hero-plates img:nth-child(1) { animation-delay: .2s, 1.3s; }
.page-hero-plates img:nth-child(2) { animation-delay: .32s, 2.4s; width: 150px; height: 150px; }
.page-hero-plates img:nth-child(3) { animation-delay: .44s, 3.5s; }
@keyframes plateIn { from { opacity: 0; transform: translateY(40px) scale(.6) rotate(-40deg); } }
.page-hero-steps { display: flex; align-items: center; gap: 12px; flex-shrink: 0; animation: fadeUp 1s var(--ease) .4s both; }
.page-hero-steps span { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.page-hero-steps b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--saffron-2); font-size: 14px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.page-hero-steps i { width: 30px; height: 1px; background: rgba(255, 255, 255, .25); }

/* ---------- Menu ---------- */
.menu-bar {
  position: sticky; top: var(--hh); z-index: 50;
  padding: 16px 0; margin-top: -8px;
  background: rgba(247, 243, 234, .88); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  transition: top .6s var(--ease), box-shadow .4s;
}
body.header-hidden .menu-bar { top: 0; }
.menu-bar.stuck { box-shadow: 0 10px 30px -20px rgba(14, 26, 54, .35); }
.menu-bar-inner { display: flex; align-items: center; gap: 14px; }
.search {
  position: relative; flex: 0 0 280px; display: flex; align-items: center;
  height: 56px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, flex-basis .5s var(--ease);
}
.search:focus-within { box-shadow: 0 0 0 2px var(--lapis), var(--shadow-sm); flex-basis: 340px; }
.search svg { position: absolute; left: 20px; width: 20px; height: 20px; color: var(--lapis); pointer-events: none; }
.search input { width: 100%; height: 100%; border: 0; background: none; outline: none; padding: 0 20px 0 52px; font-size: 15px; }
.search input::-webkit-search-cancel-button { cursor: pointer; }

.cat-tabs {
  position: relative; flex: 1; min-width: 0;
  display: flex; gap: 4px; padding: 6px; overflow-x: auto; scrollbar-width: none;
  border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm);
  scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  position: relative; z-index: 1; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 999px; font-size: 14.5px; font-weight: 600; white-space: nowrap;
  color: var(--ink-2); transition: color .35s;
}
.cat-tab:hover { color: var(--lapis); }
.cat-tab.active { color: #fff; }
.cat-tab .cnt { font-size: 12px; font-weight: 600; opacity: .55; }
.cat-indicator {
  position: absolute; z-index: 0; top: 6px; left: 0; height: 44px; width: 0;
  border-radius: 999px; background: var(--lapis);
  box-shadow: 0 8px 20px -8px rgba(23, 65, 166, .7);
  transform: translateX(var(--x, 0));
  transition: transform .55s var(--ease), width .55s var(--ease);
}

.menu-body { padding: 36px 0 110px; min-height: 60vh; }
.menu-group + .menu-group { margin-top: 64px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group-head h2 { margin: 0; font-family: var(--display); font-size: 40px; font-weight: 600; line-height: 1; display: flex; align-items: center; gap: 14px; }
.group-head h2 svg { width: 20px; height: 20px; fill: var(--saffron); }
.group-head span { color: var(--muted); font-size: 14px; text-align: right; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product-card {
  position: relative; display: flex; flex-direction: column; cursor: pointer;
  border-radius: 24px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  opacity: 0;
}
.product-card.in { opacity: 1; animation: cardIn .8s var(--ease) backwards; animation-delay: var(--rd, 0ms); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
@keyframes cardIn { from { opacity: 0; transform: translateY(34px) scale(.97); } }
.product-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.product-media img.is-loaded { opacity: 1; transform: scale(1); }
.product-card:hover .product-media img.is-loaded { transform: scale(1.08); }
.product-media.emoji {
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--lapis) 0%, var(--lapis-800) 100%);
}
.product-media.emoji::before { content: ""; position: absolute; inset: 0; background: var(--pattern-light); }
.product-media.emoji span { position: relative; font-size: 76px; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .35)); transition: transform .8s var(--ease-spring); }
.product-card:hover .product-media.emoji span { transform: scale(1.14) rotate(-8deg) translateY(-6px); }
.product-media .tag {
  position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
  background: rgba(255, 255, 255, .92); color: var(--lapis); box-shadow: var(--shadow-sm);
}
.product-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 18px 20px; }
.product-body h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.product-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.price.tbd { font-size: 14px; font-weight: 600; color: var(--lapis); }

.add-btn {
  position: relative; width: 46px; height: 46px; border-radius: 15px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--lapis); color: #fff;
  transition: transform .5s var(--ease-spring), background .3s, box-shadow .3s;
}
.add-btn svg { width: 22px; height: 22px; transition: transform .5s var(--ease-spring); }
.add-btn:hover { box-shadow: 0 10px 22px -8px rgba(23, 65, 166, .8); transform: scale(1.08); }
.add-btn:hover svg { transform: rotate(90deg); }
.add-btn.done { background: var(--success); color: #fff; }
.add-btn.done svg { transform: none; animation: pop .5s var(--ease-spring); }
.add-btn.alt { background: var(--paper); color: var(--lapis); }
.add-btn.alt:hover { background: var(--lapis); color: #fff; }
.add-btn.alt:hover svg { transform: rotate(-8deg) scale(1.1); }
@keyframes pop { from { transform: scale(0); } }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); animation: fadeUp .7s var(--ease) both; }
.empty-state > svg { width: 84px; height: 84px; color: var(--saffron); margin: 0 auto 16px; animation: spin 20s linear infinite; }
.empty-state h3 { margin: 0 0 6px; color: var(--ink); font-size: 22px; }
.empty-state p { margin: 0 0 20px; }

.skeleton { border-radius: 24px; background: linear-gradient(100deg, var(--paper-2) 30%, #F9F5EC 50%, var(--paper-2) 70%); background-size: 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -100% 0; } }

/* ---------- Reservation ---------- */
.banquet-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; padding: 40px 0 120px; }
.hall-card, .reservation-form { background: var(--card); border-radius: 30px; padding: 32px; box-shadow: var(--shadow-sm); }
.hall-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hall-head h3, .reservation-form > h3 { margin: 0; font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1.1; }
.hall-head p { margin: 4px 0 0; font-size: 14px; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.lg-free { background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.lg-selected { background: var(--lapis); }
.lg-busy { background: repeating-linear-gradient(135deg, #D9D1BF 0 3px, var(--paper) 3px 6px); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Kishi soni bo'yicha tanlash */
.cap-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; margin-top: 22px; }
.cap-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px 16px 13px;
  border-radius: 18px; background: var(--paper); text-align: left; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background .3s, color .3s, box-shadow .3s, transform .45s var(--ease-spring);
}
.cap-tab b { font-family: var(--display); font-size: 34px; font-weight: 600; line-height: .95; font-variant-numeric: lining-nums; }
.cap-tab .cap-unit { font-size: 13px; font-weight: 700; }
.cap-tab small { font-size: 11.5px; line-height: 1.3; color: var(--muted); transition: color .3s; }
.cap-tab:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--lapis); }
.cap-tab.active { background: var(--lapis); color: #fff; box-shadow: 0 14px 26px -14px rgba(23, 65, 166, .9); }
.cap-tab.active small { color: rgba(255, 255, 255, .75); }

/* So'ri / kabina guruhlari */
.place-groups { display: grid; gap: 16px; margin-top: 18px; }
.place-group {
  padding: 20px; border-radius: 24px;
  background: var(--paper) var(--pattern-dark); box-shadow: inset 0 0 0 1.5px var(--line);
  animation: fadeUp .6s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms);
}
.place-head { display: flex; align-items: flex-start; gap: 18px; }
.place-photo {
  flex-shrink: 0; width: 104px; height: 104px; border-radius: 20px; overflow: hidden;
  display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm);
}
.place-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.place-group:hover .place-photo img { transform: scale(1.06); }
.place-info { min-width: 0; }
.place-info h4 { margin: 2px 0 6px; font-family: var(--display); font-size: 27px; font-weight: 600; line-height: 1.1; }
.place-info p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.place-features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.place-features span {
  padding: 5px 11px; border-radius: 999px; background: #fff;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.place-count { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0 10px; font-size: 13.5px; color: var(--muted); }
.place-count b { color: var(--success); font-weight: 700; }
.place-count b.none { color: var(--danger); }
.place-spots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.place-spot {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 12px 6px 10px; border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line), 0 6px 14px -12px rgba(14, 26, 54, .5);
  transition: transform .45s var(--ease-spring), background .3s, color .3s, box-shadow .3s;
  animation: tableIn .6s var(--ease-spring) backwards; animation-delay: calc(var(--i, 0) * 35ms + .1s);
}
@keyframes tableIn { from { opacity: 0; transform: scale(.6); } }
.place-spot img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; transition: transform .5s var(--ease-spring); }
.place-spot b { font-size: 15px; line-height: 1.1; font-variant-numeric: lining-nums; }
.place-spot small { font-size: 11px; font-weight: 600; color: var(--muted); transition: color .3s; }
.place-spot:hover:not(:disabled) { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--lapis), 0 12px 22px -12px rgba(23, 65, 166, .6); }
.place-spot:hover:not(:disabled) img { transform: scale(1.1) rotate(-4deg); }
.place-spot.selected { background: var(--lapis); color: #fff; box-shadow: 0 14px 26px -12px rgba(23, 65, 166, .85); }
.place-spot.selected small { color: rgba(255, 255, 255, .8); }
.place-spot.selected img { background: #fff; }
.place-spot.selected::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 1.8s var(--ease) infinite; }
.place-spot:disabled {
  cursor: not-allowed; color: var(--muted);
  background: repeating-linear-gradient(135deg, var(--paper-2) 0 6px, var(--paper) 6px 12px);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.place-spot:disabled img { filter: grayscale(1); opacity: .4; }
.place-spot:disabled small { color: var(--danger); }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(23, 65, 166, .45); } to { box-shadow: 0 0 0 12px rgba(23, 65, 166, 0); } }

.reservation-form { position: sticky; top: calc(var(--hh) + 20px); overflow: hidden; }
.reservation-form > h3 { margin-bottom: 18px; }
.selected-table-note {
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 14px 16px;
  border-radius: 16px; background: var(--paper); color: var(--muted); font-size: 14px; font-weight: 500;
  border: 1.5px dashed var(--line);
  transition: background .4s, color .4s, border-color .4s;
}
.selected-table-note svg { width: 22px; height: 22px; }
.selected-table-note.active { background: rgba(23, 65, 166, .08); border-color: rgba(23, 65, 166, .25); color: var(--lapis); font-weight: 600; animation: noteIn .6s var(--ease-spring); }
@keyframes noteIn { 0% { transform: scale(.96); } 60% { transform: scale(1.02); } }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; height: 54px; padding: 0 18px;
  border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper);
  font-size: 15px; outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { height: auto; padding: 14px 18px; resize: vertical; min-height: 96px; line-height: 1.5; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #D6CEBB; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--lapis); background: #fff; box-shadow: 0 0 0 4px rgba(23, 65, 166, .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shift-hint { margin: -6px 0 16px; font-size: 13px; }
.shift-hint:empty { display: none; }
.stepper { display: flex; align-items: center; height: 54px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.stepper:focus-within { border-color: var(--lapis); box-shadow: 0 0 0 4px rgba(23, 65, 166, .12); background: #fff; }
.stepper button { width: 48px; height: 100%; font-size: 22px; color: var(--lapis); transition: background .25s; }
.stepper button:hover { background: rgba(23, 65, 166, .08); }
.field .stepper input { flex: 1; min-width: 0; height: 100%; border: 0; border-radius: 0; background: none; text-align: center; font-weight: 700; padding: 0; box-shadow: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.form-msg { margin-top: 12px; font-size: 14px; font-weight: 500; text-align: center; min-height: 0; }
.form-msg:empty { margin: 0; }
.form-msg.error { color: var(--danger); animation: shake .5s; }
.form-msg.success { color: var(--success); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.form-success {
  position: absolute; inset: 0; z-index: 2; padding: 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--card); animation: fadeIn .5s var(--ease);
}
.modal-card .form-success { position: static; background: none; padding: 10px 0 0; }
.form-success h3 { margin: 18px 0 8px; font-family: var(--display); font-size: 34px; font-weight: 600; }
.form-success p { margin: 0 0 24px; color: var(--muted); max-width: 320px; }
.success-mark { width: 88px; height: 88px; }
.success-mark svg { width: 100%; height: 100%; stroke: var(--success); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: dash .8s var(--ease) forwards; }
.success-mark path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: dash .5s var(--ease) .6s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Overlay, drawer ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(8, 19, 48, .5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s;
}
.overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 160;
  width: min(440px, calc(100% - 24px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 30px; background: var(--paper); box-shadow: var(--shadow-lg);
  transform: translateX(calc(100% + 30px)); transition: transform .7s var(--ease);
}
.cart-drawer.open { transform: none; }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 26px 26px 18px; }
.cart-header h3 { margin: 0; font-family: var(--display); font-size: 36px; font-weight: 600; line-height: 1; }
.cart-header .muted { font-size: 14px; }
.cart-items { flex: 1; overflow-y: auto; padding: 4px 18px 18px; }
.cart-item {
  display: grid; grid-template-columns: 68px 1fr auto; align-items: center; gap: 14px;
  padding: 10px; margin-bottom: 10px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-sm);
}
.cart-items.no-anim .cart-item { animation: none !important; }
.cart-drawer.open .cart-item { animation: itemIn .6s var(--ease) backwards; animation-delay: calc(.15s + var(--i, 0) * 60ms); }
@keyframes itemIn { from { opacity: 0; transform: translateX(40px); } }
.cart-thumb { width: 68px; height: 68px; border-radius: 15px; overflow: hidden; display: grid; place-items: center; font-size: 34px; background: linear-gradient(150deg, var(--lapis), var(--lapis-800)); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { min-width: 0; }
.cart-item-info .name { font-weight: 700; font-size: 15px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-info .price { font-size: 14px; font-weight: 600; color: var(--lapis); }
.qty-controls { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: var(--paper); }
.qty-controls button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 600; transition: background .25s, color .25s, transform .3s var(--ease-spring); }
.qty-controls button:hover { background: var(--lapis); color: #fff; }
.qty-controls button:active { transform: scale(.85); }
.qty-controls span { min-width: 24px; text-align: center; font-weight: 700; font-size: 15px; }
.qty-controls span.tick { animation: pop .4s var(--ease-spring); }
.cart-footer { padding: 20px 26px 26px; background: var(--card); border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-total span { color: var(--muted); font-weight: 500; }
.cart-total b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty > svg { width: 110px; height: 110px; margin: 0 auto 18px; color: var(--saffron); }
.cart-empty h4 { margin: 0 0 6px; font-size: 20px; }
.cart-empty p { margin: 0 0 22px; color: var(--muted); }

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; padding: 20px;
  display: grid; place-items: center; overflow-y: auto;
  background: rgba(8, 19, 48, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  position: relative; width: min(460px, 100%);
  padding: 40px 34px 32px; border-radius: 32px; background: var(--paper); box-shadow: var(--shadow-lg);
  transform: translateY(40px) scale(.95); opacity: 0;
  transition: transform .6s var(--ease-spring), opacity .4s;
}
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-card h2 { margin: 0 0 6px; text-align: center; font-family: var(--display); font-size: 36px; font-weight: 600; line-height: 1.1; }
.modal-sub { margin: 0 0 24px; text-align: center; color: var(--muted); font-size: 14.5px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), background .3s, color .3s;
}
.cart-header .modal-close { position: static; }
.modal-close svg { width: 20px; height: 20px; }
.modal-close:hover { transform: rotate(90deg); background: var(--ink); color: #fff; }
.modal-icon { position: relative; width: 76px; height: 76px; margin: 0 auto 18px; display: grid; place-items: center; }
.modal-icon svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--lapis); animation: spin 24s linear infinite; }
.modal-icon svg:last-child { position: relative; width: 30px; height: 30px; color: #fff; }
.modal-link { text-align: center; margin: 16px 0 0; }
.modal-link a { font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.modal-link a:hover { color: var(--lapis); }
.demo-banner { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: rgba(28, 122, 69, .08); color: var(--success); font-size: 14px; font-weight: 600; text-align: center; }

.otp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.otp input {
  height: 68px; width: 100%; text-align: center; font-size: 28px; font-weight: 800;
  border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); outline: none;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease-spring);
}
.otp input:focus { border-color: var(--lapis); box-shadow: 0 0 0 4px rgba(23, 65, 166, .12); transform: translateY(-2px); }
.otp input.filled { border-color: var(--lapis); background: rgba(23, 65, 166, .05); animation: pop .3s var(--ease-spring); }
.otp.error input { border-color: var(--danger); animation: shake .5s; }

.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin: 18px 0 20px; border-radius: 999px; background: var(--paper-2); }
.segmented button { position: relative; z-index: 1; height: 44px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: color .35s; }
.segmented button.active { color: #fff; }
.seg-indicator { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--lapis); transition: transform .5s var(--ease); }
.segmented.right .seg-indicator { transform: translateX(100%); }
.checkout-summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; margin: 4px 0 18px; border-radius: 16px; background: var(--card); font-size: 14px; color: var(--muted); }
.checkout-summary b { font-size: 18px; color: var(--ink); }
#addressField { transition: opacity .4s var(--ease); }

/* Dish modal */
.dish-modal .modal-card { width: min(900px, 100%); padding: 0; overflow: hidden; }
.dish-modal .modal-close { background: rgba(255, 255, 255, .92); }
.dish-view { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 480px; }
.dish-photo { position: relative; overflow: hidden; background: var(--lapis-800); }
.dish-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out both; }
.dish-photo.emoji { display: grid; place-items: center; font-size: 140px; background: linear-gradient(150deg, var(--lapis), var(--lapis-800)); }
.dish-photo.emoji::before { content: ""; position: absolute; inset: 0; background: var(--pattern-light); }
@keyframes kenburns { from { transform: scale(1.15); } }
.dish-details { display: flex; flex-direction: column; padding: 44px 36px 32px; }
.dish-details > * { animation: fadeUp .7s var(--ease) both; }
.dish-details > *:nth-child(2) { animation-delay: .06s; }
.dish-details > *:nth-child(3) { animation-delay: .12s; }
.dish-details > *:nth-child(4) { animation-delay: .18s; }
.dish-details > *:nth-child(5) { animation-delay: .24s; }
.dish-details h2 { text-align: left; margin: 12px 0 12px; font-size: 44px; }
.dish-details p { margin: 0; color: var(--ink-2); line-height: 1.7; }
.dish-details .price { font-size: 26px; margin: 22px 0 0; }
.dish-note { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(233, 165, 58, .12); color: #8A5A10; font-size: 14px; font-weight: 500; }
.dish-actions { margin-top: auto; padding-top: 28px; display: flex; gap: 12px; align-items: center; }
.dish-actions .qty-controls { padding: 6px; background: var(--card); box-shadow: var(--shadow-sm); }
.dish-actions .qty-controls button { width: 40px; height: 40px; }
.dish-actions .btn { flex: 1; }

.profile-head { text-align: center; }
.profile-head .avatar { width: 76px; height: 76px; font-size: 26px; margin: 0 auto 14px; }
.profile-head h2 { margin-bottom: 2px; }
.profile-actions { display: grid; gap: 10px; margin-top: 24px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  padding: 12px 20px 12px 12px; border-radius: 18px;
  background: var(--night); color: #fff; font-size: 15px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 160%); transition: transform .6s var(--ease-spring);
  pointer-events: none;
}
.toast:empty { padding: 0; }
.toast.show { transform: translate(-50%, 0); }
.toast .t-icon { width: 34px; height: 34px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--saffron); color: var(--night); }
.toast .t-icon svg { width: 18px; height: 18px; }
.toast.error .t-icon { background: var(--danger); color: #fff; }
.toast.success .t-icon { background: #2BB673; color: #fff; }

/* Savatga uchish */
.fly-img { position: fixed; z-index: 400; pointer-events: none; border-radius: 50%; object-fit: cover; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }

/* ---------- Mobil tabbar ---------- */
.tabbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { gap: 40px; }
  .chip-1 { left: -20px; }
  .about { gap: 50px; }
  .cta-band { padding: 56px; }
  .header-phone span { display: none; }
}

@media (max-width: 900px) {
  :root { --hh: 68px; }
  .main-nav, .header-phone, .site-header #cartBtn, .auth-area { display: none; }
  .brand img { height: 44px; }
  .site-header.compact { height: 60px; }
  .site-header.compact .brand img { height: 38px; }

  .tabbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 120;
    display: grid; grid-template-columns: repeat(5, 1fr); height: 68px; padding: 6px;
    border-radius: 24px; background: rgba(8, 19, 48, .94);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -10px rgba(8, 19, 48, .6);
    animation: tabbarIn .9s var(--ease) .6s both;
  }
  @keyframes tabbarIn { from { transform: translateY(140%); } }
  .tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .55); transition: color .35s; }
  .tab svg { width: 22px; height: 22px; transition: transform .5s var(--ease-spring); }
  .tab.active { color: #fff; }
  .tab.active svg { transform: translateY(-1px) scale(1.08); }
  .tab .badge { top: 4px; right: calc(50% - 22px); box-shadow: 0 0 0 2px var(--night); }
  .tab-indicator { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 5); border-radius: 18px; background: var(--lapis); transform: translateX(calc(var(--ti, 0) * 100%)); transition: transform .55s var(--ease); }
  .tab-indicator.off { opacity: 0; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }

  .hero { padding: calc(var(--hh) + 30px) 0 100px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 340px; }
  .chip-1 { left: -34px; top: 56%; }
  .chip-2 { right: -30px; }
  .hero-seal { right: -20px; bottom: -10px; width: 104px; height: 104px; }
  .hero-meta { gap: 30px; }
  .hero-meta li + li::before { left: -15px; }
  .scroll-cue { display: none; }

  .section { padding: 84px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
  .services { grid-template-columns: 1fr; }
  .cat-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 12px; }
  .cat-tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .cat-tile:nth-child(9) { grid-column: span 2; }
  .cat-tile:nth-child(6) { grid-column: span 1; }
  .cat-tile:nth-child(8) { grid-column: span 2; }
  .cat-tile:nth-child(1) h3 { font-size: 36px; }
  .cat-tile h3 { font-size: 26px; }
  .cat-tile { padding: 18px; }
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; width: 100%; margin: 0 auto; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 28px; border-radius: 30px; text-align: center; }
  .cta-copy p { margin-inline: auto; }
  .cta-visual { max-width: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .page-hero { padding: calc(var(--hh) + 36px) 0 70px; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .page-hero-plates img { width: 90px; height: 90px; margin-left: -22px; }
  .page-hero-plates img:nth-child(2) { width: 104px; height: 104px; }
  .page-hero-plates img:first-child { margin-left: 0; }

  .menu-bar { padding: 12px 0; }
  .menu-bar-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .search, .search:focus-within { flex-basis: auto; height: 50px; }
  .cat-tab { height: 40px; padding: 0 14px; font-size: 14px; }
  .cat-indicator { height: 40px; }
  .group-head h2 { font-size: 32px; }

  .banquet-wrap { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .reservation-form { position: relative; top: 0; }

  .dish-view { grid-template-columns: 1fr; min-height: 0; }
  .dish-photo { aspect-ratio: 4 / 3; }
  .dish-details { padding: 28px 24px 24px; }
  .dish-details h2 { font-size: 36px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .site-header { padding-inline: 16px; }
  .hero-title { font-size: clamp(46px, 13vw, 64px); }
  .hero-text { font-size: 16.5px; }
  .btn-lg { height: 54px; padding: 0 24px; font-size: 15px; }
  .hero-meta { gap: 22px; }
  .hero-meta li + li::before { left: -11px; }
  .hero-meta b { font-size: 28px; }
  .hero-visual { max-width: 270px; }
  .float-chip { padding: 6px 14px 6px 6px; gap: 10px; }
  .float-chip img { width: 42px; height: 42px; }
  .float-chip b { font-size: 13px; }
  .chip-1 { left: -40px; }
  .chip-2 { right: -36px; top: -4%; }
  .hero-seal { width: 92px; height: 92px; right: -26px; }
  .seal-star { width: 28px; height: 28px; }
  .marquee-item { font-size: 24px; gap: 22px; padding-right: 22px; }
  .dish-rail { padding-inline: 16px; scroll-padding-inline: 16px; grid-auto-columns: 74%; gap: 14px; }
  .dish-card h3 { font-size: 26px; }
  .rail-nav { display: none; }
  .service-card { padding: 28px 24px; }
  .stats { gap: 10px; }
  .stat { padding: 18px 14px; }
  .stat b { font-size: 40px; }
  .stat span { font-size: 12.5px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card { border-radius: 20px; }
  .product-body { padding: 12px 12px 14px; }
  .product-body h3 { font-size: 15px; }
  .product-body p { font-size: 12.5px; }
  .price { font-size: 15px; }
  .price small { font-size: 11px; }
  .price.tbd { font-size: 12px; }
  .add-btn { width: 38px; height: 38px; border-radius: 12px; }
  .add-btn svg { width: 19px; height: 19px; }
  .product-media.emoji span { font-size: 56px; }
  .hall-card, .reservation-form { padding: 22px 18px; border-radius: 24px; }
  .legend { gap: 10px; font-size: 12px; }
  .cap-tabs {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    margin: 18px -18px 0; padding: 2px 18px 6px; overscroll-behavior-x: contain;
  }
  .cap-tabs::-webkit-scrollbar { display: none; }
  .cap-tab { flex-shrink: 0; min-width: 104px; padding: 12px 14px; }
  .cap-tab b { font-size: 30px; }
  .place-group { padding: 16px 14px; border-radius: 22px; }
  .place-head { gap: 14px; }
  .place-photo { width: 78px; height: 78px; border-radius: 16px; }
  .place-info h4 { font-size: 22px; }
  .place-info p { font-size: 13px; line-height: 1.5; }
  .place-features span { font-size: 11.5px; padding: 4px 9px; }
  .place-spots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .place-spot { padding: 10px 4px 8px; border-radius: 16px; }
  .place-spot img { width: 38px; height: 38px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .group-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .group-head h2 { font-size: 30px; gap: 10px; }
  .group-head span { text-align: left; font-size: 13px; }
  .page-hero-steps { gap: 8px; }
  .page-hero-steps i { width: 14px; }
  .page-hero-steps b { width: 30px; height: 30px; }
  .modal { padding: 0; align-items: end; }
  .modal-card { width: 100%; border-radius: 30px 30px 0 0; padding: 36px 22px calc(26px + env(safe-area-inset-bottom)); transform: translateY(100%); max-height: 92vh; overflow-y: auto; transition: transform .6s var(--ease), opacity .3s; }
  .dish-modal .modal-card { max-height: 94vh; overflow-y: auto; }
  .cart-drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 88vh; border-radius: 30px 30px 0 0; transform: translateY(105%); padding-bottom: env(safe-area-inset-bottom); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

/* =========================================================
   MOBIL QULAYLIKLAR — faqat telefon/planshet o'lchamlarida
   (desktop ko'rinishiga ta'sir qilmaydi)
   ========================================================= */

/* Faqat mobilda ko'rinadigan elementlar — desktopda yashirin */
.search-toggle, .cart-bar, .card-qty, .m-when { display: none; }
.product-grid .skeleton { aspect-ratio: 3 / 4; }

@media (max-width: 900px) {
  html { -webkit-tap-highlight-color: transparent; }
  a, button, label, input, textarea, select { touch-action: manipulation; }

  /* iOS kiritish maydoniga fokuslanganda zoom qilmasin */
  .field input, .field textarea, .field select, .search input { font-size: 16px; }

  /* Sarlavhada qo'ng'iroq tugmasi */
  .header-phone {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border-radius: 50%; background: rgba(14, 26, 54, .06); opacity: 1;
  }
  .header-phone svg { width: 20px; height: 20px; }
  .header-phone span { display: none; }
  .site-header.on-dark .header-phone { background: rgba(255, 255, 255, .12); }

  /* Menyu paneli: qidiruv ikonka ortida, bo'limlar bir qatorda */
  /* panel yopishganda header ixcham (60px) bo'ladi — orada tirqish qolmasin */
  .menu-bar { top: 60px; }
  .menu-bar-inner { flex-direction: row; align-items: center; gap: 8px; }
  .menu-bar .search { display: none; }
  .search-toggle {
    position: relative; display: grid; place-items: center; flex-shrink: 0;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--card); color: var(--lapis); box-shadow: var(--shadow-sm);
  }
  .search-toggle svg { width: 22px; height: 22px; transition: transform .4s var(--ease-spring), opacity .25s; }
  .search-toggle .st-close { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.6); }
  .menu-bar.searching .search { display: flex; flex: 1; height: 52px; animation: fadeIn .3s var(--ease); }
  .menu-bar.searching .cat-tabs { display: none; }
  .menu-bar.searching .search-toggle { order: 2; background: var(--ink); color: #fff; }
  .menu-bar.searching .search-toggle .st-open { opacity: 0; transform: rotate(90deg) scale(.6); }
  .menu-bar.searching .search-toggle .st-close { opacity: 1; transform: none; }
  .cat-tabs { padding: 5px; }
  .cat-tab { height: 42px; }
  .cat-indicator { top: 5px; height: 42px; }

  .menu-body { padding: 20px 0 40px; }
  .menu-group + .menu-group { margin-top: 40px; }
  .group-head { margin-bottom: 16px; padding-bottom: 10px; }

  /* Taom kartasi (Yandex uslubi): katta rasm, burchagida "+", pastida narx va nom.
     Belgilash o'zgarmaydi — faqat grid joylashuvi bilan qayta tartiblanadi */
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 14px; }
  .product-grid .product-card {
    display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "price" "name" "desc"; align-content: start;
    background: none; box-shadow: none; border-radius: 0; overflow: visible;
  }
  .product-grid .product-card:hover { transform: none; box-shadow: none; }
  .product-card .product-body, .product-card .product-foot { display: contents; }
  .product-card .product-media {
    grid-area: media; aspect-ratio: 1 / 1; border-radius: 24px;
    box-shadow: 0 10px 24px -14px rgba(14, 26, 54, .35);
    transition: transform .35s var(--ease-spring);
  }
  .product-grid .product-card:active .product-media { transform: scale(.96); }
  .product-card .product-media .tag { display: none; }
  .product-card .price { grid-area: price; margin-top: 12px; font-size: 18px; }
  .product-card .price small { font-size: 13px; }
  .product-card .price.tbd { font-size: 14px; }
  .product-card .product-body h3 { grid-area: name; margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.3; }
  .product-card .product-body p { grid-area: desc; margin-top: 3px; font-size: 12.5px; line-height: 1.4; }

  .product-card .add-btn, .product-card.in-cart .card-qty {
    grid-area: media; align-self: end; justify-self: end; z-index: 2; margin: 0 8px 8px 0;
  }
  .product-card .add-btn {
    width: 46px; height: 46px; border-radius: 50%;
    background: #fff; color: var(--ink);
    box-shadow: 0 8px 20px -6px rgba(8, 19, 48, .45);
  }
  .product-card .add-btn svg { width: 22px; height: 22px; }
  .product-card .add-btn.alt { color: var(--lapis); }
  .product-card .add-btn.done { background: var(--success); color: #fff; }

  /* Savatdagi taom: "+" o'rniga "− 2 +" */
  .product-card.in-cart .add-btn { display: none; }
  .product-card.in-cart .card-qty {
    display: flex; align-items: center; gap: 2px; padding: 3px;
    border-radius: 999px; background: var(--lapis); color: #fff;
    box-shadow: 0 8px 20px -6px rgba(23, 65, 166, .8);
    animation: pop .4s var(--ease-spring);
  }
  .card-qty button { width: 38px; height: 38px; border-radius: 50%; font-size: 21px; font-weight: 600; line-height: 1; color: #fff; }
  .card-qty button:active { background: rgba(255, 255, 255, .2); }
  .card-qty span { min-width: 20px; text-align: center; font-size: 15px; font-weight: 800; }
  .card-qty span.tick { animation: pop .35s var(--ease-spring); }

  /* Pastki "Savatni ko'rish" paneli */
  .cart-bar {
    position: fixed; left: 12px; right: 12px; z-index: 119;
    bottom: calc(12px + 68px + 10px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px 0 8px;
    border-radius: 20px; background: var(--saffron); color: var(--night); text-align: left;
    box-shadow: 0 18px 36px -14px rgba(233, 165, 58, .8);
    transform: translateY(calc(100% + 110px)); visibility: hidden;
    transition: transform .6s var(--ease-spring), visibility 0s .6s;
  }
  .cart-bar.show { transform: none; visibility: visible; transition: transform .6s var(--ease-spring), visibility 0s; }
  .cart-bar.bump { animation: barBump .5s var(--ease-spring); }
  @keyframes barBump { 40% { transform: scale(1.04); } }
  .cart-bar:active { transform: scale(.98); }
  .cb-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(8, 19, 48, .1); }
  .cb-icon svg { width: 22px; height: 22px; }
  .cb-text { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
  .cb-text b { font-size: 15px; }
  .cb-text small { font-size: 12.5px; font-weight: 600; opacity: .7; }
  .cb-total { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
  body.has-cartbar { padding-bottom: calc(92px + 70px + env(safe-area-inset-bottom)); }
  body.has-cartbar .toast { bottom: calc(96px + 70px + env(safe-area-inset-bottom)); }

  /* Bildirishnoma: ekran bo'ylab markazda, bir qatorda, to'liq yashirinadi */
  .toast {
    left: 16px; right: 16px; width: max-content; max-width: calc(100% - 32px); margin: 0 auto;
    transform: translateY(calc(100% + 240px)); opacity: 0; visibility: hidden;
    transition: transform .6s var(--ease-spring), opacity .3s, visibility 0s .6s;
  }
  .toast.show { transform: none; opacity: 1; visibility: visible; transition: transform .6s var(--ease-spring), opacity .3s; }

  /* Band qilish: sana/vaqt chiplari */
  .when-native { display: none; }
  .m-when { display: block; }
  .quick-chips {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    margin: 0 -18px; padding: 2px 18px 6px; scroll-padding-inline: 18px;
    overscroll-behavior-x: contain;
  }
  .quick-chips::-webkit-scrollbar { display: none; }
  .qchip {
    position: relative; flex-shrink: 0; display: grid; place-items: center;
    height: 46px; padding: 0 16px; border-radius: 14px;
    background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line);
    font-size: 15px; font-weight: 700; color: var(--ink-2);
    transition: background .25s, color .25s, box-shadow .25s, transform .3s var(--ease-spring);
  }
  .qchip:active { transform: scale(.94); }
  .qchip.date { height: auto; width: 62px; padding: 8px 0; gap: 1px; line-height: 1.15; }
  .qchip.date b { font-size: 20px; }
  .qchip.date small { font-size: 11px; font-weight: 600; color: var(--muted); transition: color .25s; }
  .qchip.active { background: var(--lapis); color: #fff; box-shadow: 0 8px 18px -8px rgba(23, 65, 166, .7); }
  .qchip.active small { color: rgba(255, 255, 255, .75); }
  .qchip:disabled { opacity: .35; text-decoration: line-through; }
  .qchip.other input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; }
}

@media (max-width: 600px) {
  /* Hero ixchamroq: tugmalar yonma-yon */
  .hero { padding: calc(var(--hh) + 22px) 0 84px; }
  .hero-inner { gap: 44px; }
  .hero-title { font-size: clamp(42px, 12vw, 58px); margin: 16px 0 18px; }
  .hero-text { font-size: 15.5px; line-height: 1.65; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 28px; }
  .hero-actions .btn { padding: 0 12px; }
  .hero-meta { margin-top: 32px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 28px; }
  .section-sub { font-size: 15px; }

  /* Xizmatlar: 3 ta ixcham plitka */
  .services { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .service-card { padding: 18px 8px 16px; align-items: center; text-align: center; border-radius: 22px; }
  .service-card p, .service-card .service-link, .service-card .service-num { display: none; }
  .service-icon { width: 54px; height: 54px; border-radius: 17px; margin: 0 0 12px; }
  .service-icon svg { width: 26px; height: 26px; }
  .service-card h3 { margin: 0; font-size: 13.5px; line-height: 1.25; }

  .cat-mosaic { grid-auto-rows: 150px; gap: 10px; }
  .cat-tile { border-radius: 22px; padding: 16px; }
  .cat-tile h3 { font-size: 23px; }
  .cat-tile:nth-child(1) h3 { font-size: 32px; }
  .cat-tile .cat-arrow { width: 38px; height: 38px; top: 14px; right: 14px; }
  .about { gap: 36px; }
  .about-media { max-width: 360px; }
  .cta-band { padding: 40px 22px; }

  .contact-section { padding-top: 24px; }
  .contact-grid { gap: 12px; }
  .contact-card {
    display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; align-items: center;
    padding: 18px 20px; border-radius: 22px;
  }
  .contact-icon { grid-row: span 3; margin: 0; }
  .contact-card b { font-size: 18px; }
  .site-footer { padding-top: 64px; }
  .footer-word { margin-top: 40px; }

  /* Menyu sahifasi sarlavhasi ixcham */
  .page-hero { padding: calc(var(--hh) + 18px) 0 50px; }
  .page-title { font-size: 44px; margin: 10px 0 10px; }
  .page-sub { font-size: 14.5px; }
  #view-menu .page-hero-plates { display: none; }
  .page-hero-inner { gap: 20px; }

  /* Taomlar: telefonda 2 tadan */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .product-grid .skeleton { aspect-ratio: 1 / 1.35; border-radius: 22px; }
  .product-card .product-media { border-radius: 22px; }
  .product-card .product-media.emoji span { font-size: 58px; }
  .product-card .price { margin-top: 10px; font-size: 17px; }
  .product-card .price small { font-size: 12px; }
  .product-card .price.tbd { font-size: 13.5px; }
  .product-card .product-body h3 { font-size: 14.5px; }
  .product-card .product-body p { font-size: 12px; }
  .product-card .add-btn { width: 44px; height: 44px; }
  .product-card .add-btn, .product-card.in-cart .card-qty { margin: 0 7px 7px 0; }
  .card-qty button { width: 34px; height: 34px; font-size: 19px; }

  /* Pastdan chiqadigan oynalar: tutqich va surib yopish */
  .modal-card, .cart-drawer { max-height: 92vh; max-height: 92dvh; }
  .modal-card::before, .cart-drawer::before {
    content: ""; position: absolute; top: 9px; left: 50%; z-index: 5;
    width: 44px; height: 5px; margin-left: -22px; border-radius: 3px;
    background: rgba(14, 26, 54, .18);
  }
  .dish-modal .modal-card::before { background: rgba(255, 255, 255, .8); }
  .cart-header { padding-top: 28px; }

  .dish-photo { aspect-ratio: 5 / 4; }
  .dish-details { padding: 22px 20px 0; }
  .dish-details h2 { font-size: 34px; margin: 8px 0 8px; }
  .dish-details .price { margin-top: 16px; }
  .dish-actions {
    position: sticky; bottom: 0; z-index: 2;
    margin: 18px -20px 0; padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(247, 243, 234, 0), var(--paper) 22%);
  }
  .dish-actions .btn { padding: 0 16px; }

  .otp input { height: 64px; }
}

/* Sensorli ekranlar: bosilgandan keyin "hover" holati osilib qolmasin */
@media (hover: none) {
  .product-card:hover, .dish-card:hover, .service-card:hover, .contact-card:hover, .cat-tile:hover { transform: none; box-shadow: var(--shadow-sm); }
  .product-card:hover .product-media img.is-loaded, .dish-card:hover img, .cat-tile:hover img { transform: none; }
  .btn:hover { transform: none; box-shadow: none; }
  .btn:hover::before { transform: translateX(-120%); }
  .add-btn:hover { transform: none; box-shadow: none; }
  .add-btn:hover svg { transform: none; }
  .product-card:active, .dish-card:active, .cat-tile:active, .service-card:active, .contact-card:active { transform: scale(.975); transition-duration: .15s; }
  .btn:active, .add-btn:active { transform: scale(.95); }
  .cap-tab:hover, .place-spot:hover:not(:disabled) { transform: none; }
  .place-spot:hover:not(:disabled):not(.selected), .cap-tab:not(.active):hover { box-shadow: inset 0 0 0 1.5px var(--line); }
  .place-spot:hover:not(:disabled) img { transform: none; }
  .cap-tab:active, .place-spot:active:not(:disabled) { transform: scale(.95); }
}

@media (hover: none) and (max-width: 900px) {
  .product-grid .product-card:hover { box-shadow: none; }
  .product-grid .product-card:active { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
}

/* ---------- Buyurtmalarim: jonli kuzatuv ---------- */
.orders-btn { position: relative; }
.live-dot { position: absolute; top: 7px; right: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 2px var(--paper); }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--saffron); animation: livePing 1.8s var(--ease) infinite; }
.live-dot.inline { position: relative; top: auto; right: auto; display: inline-block; margin-left: 8px; box-shadow: none; }
@keyframes livePing { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }

/* Savat ichidagi bo'lim */
.cart-orders { padding: 16px 22px 22px; background: var(--paper-2); border-top: 1px solid var(--line); }
.co-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.co-head h4 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 600; }
.co-head button { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--lapis); }
.co-head button svg { width: 16px; height: 16px; }
.co-empty { margin: 0; font-size: 13.5px; color: var(--muted); }
.mini-order {
  display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "e t" "b b"; gap: 4px 12px; align-items: center;
  width: 100%; padding: 10px 12px; margin-top: 8px; border-radius: 18px; text-align: left;
  background: var(--card); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-spring);
}
.mini-order:hover { transform: translateY(-2px); }
.mo-emoji { grid-area: e; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(150deg, var(--lapis), var(--lapis-800)); animation: moBob 2.4s ease-in-out infinite; }
.mo-text { grid-area: t; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mo-text b { font-size: 15px; }
.mo-text small { font-size: 12.5px; color: var(--muted); }
.mo-bar { grid-area: b; height: 5px; margin-top: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.mo-bar i { display: block; height: 100%; width: calc(max(var(--p), .06) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--lapis), var(--saffron)); background-size: 200% 100%; animation: barFlow 2s linear infinite; transition: width 1s var(--ease); }
@keyframes moBob { 50% { transform: translateY(-3px) rotate(-4deg); } }
@keyframes barFlow { to { background-position: -200% 0; } }

/* Pastdagi jonli holat tugmasi */
.order-pill {
  position: fixed; left: 24px; bottom: 24px; z-index: 118;
  display: flex; align-items: center; gap: 12px; padding: 7px 20px 7px 7px;
  border-radius: 999px; background: var(--night); color: #fff; text-align: left;
  box-shadow: 0 18px 40px -14px rgba(8, 19, 48, .75);
  animation: pillIn .8s var(--ease-spring) both; transition: transform .4s var(--ease-spring);
}
.order-pill[hidden] { display: none; }
.order-pill:hover { transform: translateY(-3px); }
.op-ring {
  --p: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--saffron) calc(max(var(--p), .08) * 360deg), rgba(255, 255, 255, .14) 0);
}
.op-ring span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: var(--night); animation: moBob 2.4s ease-in-out infinite; }
.op-text { display: flex; flex-direction: column; line-height: 1.2; }
.op-text b { font-size: 14.5px; }
.op-text small { font-size: 12px; color: rgba(255, 255, 255, .6); }
.order-pill.s-yetkazildi .op-ring, .order-pill.s-tayyor .op-ring { background: var(--success); }
@keyframes pillIn { from { transform: translateY(140%) scale(.8); opacity: 0; } }

/* Kuzatuv oynasi */
.orders-modal .modal-card { width: min(540px, 100%); max-height: 92vh; overflow-y: auto; padding: 34px 26px 26px; }
.orders-sub { margin: 26px 4px 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.track-card { margin-top: 18px; border-radius: 28px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.track-card.changed { animation: cardFlash 1.2s var(--ease); }
@keyframes cardFlash { 0% { box-shadow: 0 0 0 0 rgba(233, 165, 58, .8); } 60% { box-shadow: 0 0 0 10px rgba(233, 165, 58, 0); } }

.track-scene {
  position: relative; height: 180px; overflow: hidden; display: grid; place-items: center;
  background: var(--pattern-light), radial-gradient(120% 90% at 50% 0%, var(--lapis) 0%, var(--lapis-800) 55%, var(--night) 100%);
}
.track-scene > * { grid-area: 1 / 1; }
.sc-glow { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 199, 110, .55), transparent 65%); animation: glowPulse 2.6s ease-in-out infinite; }
@keyframes glowPulse { 50% { transform: scale(1.18); opacity: .7; } }
.sc-emoji { position: relative; font-size: 78px; line-height: 1; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); }

/* 1. Qabul qilindi — chek va muhr */
.s-qabul .sc-emoji { animation: wiggle 2.8s ease-in-out infinite; }
.sc-stamp { position: absolute; left: calc(50% + 26px); top: calc(50% + 6px); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: #fff; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .5); animation: stampIn .7s var(--ease-spring) .35s both; }
.sc-stamp svg { width: 24px; height: 24px; }
@keyframes wiggle { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-7deg); } 80% { transform: rotate(6deg); } 90% { transform: rotate(-3deg); } }
@keyframes stampIn { from { transform: scale(2.4) rotate(-30deg); opacity: 0; } }

/* 2. Tayyorlanmoqda — qozon va bug' */
.sc-pot { position: relative; font-size: 82px; line-height: 1; margin-top: 30px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); animation: potBubble 1.6s ease-in-out infinite; }
.sc-chef { position: absolute; right: 18%; bottom: 14px; font-size: 44px; animation: chefPeek 3s ease-in-out infinite; }
.steam { position: absolute; top: 34px; left: 50%; width: 14px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .6); filter: blur(5px); animation: steamUp 2.4s ease-out infinite; }
.steam:nth-of-type(2) { margin-left: -30px; animation-delay: .8s; }
.steam:nth-of-type(3) { margin-left: 18px; animation-delay: 1.6s; }
@keyframes steamUp { from { transform: translateY(26px) scaleX(.6); opacity: 0; } 30% { opacity: .9; } to { transform: translateY(-40px) scaleX(1.4) rotate(12deg); opacity: 0; } }
@keyframes potBubble { 50% { transform: translateY(-3px) scale(1.03); } }
@keyframes chefPeek { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-4px); } }

/* 3. Yetkazilmoqda — yo'ldagi kuryer */
.s-yetkazilmoqda .sc-emoji { animation: ride .5s ease-in-out infinite alternate; margin-bottom: 18px; }
.sc-road { position: absolute; left: 0; right: 0; bottom: 30px; height: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 26px, transparent 26px 50px); animation: roadMove .45s linear infinite; }
.speed { position: absolute; right: -60px; height: 2px; width: 60px; border-radius: 2px; background: rgba(255, 255, 255, .45); animation: speedLine 1.1s linear infinite; }
.speed:nth-of-type(1) { top: 54px; }
.speed:nth-of-type(2) { top: 82px; animation-delay: .4s; width: 90px; }
.speed:nth-of-type(3) { top: 108px; animation-delay: .75s; }
@keyframes ride { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-5px) rotate(2deg); } }
@keyframes roadMove { to { background-position: 50px 0; } }
@keyframes speedLine { to { transform: translateX(-640px); } }

/* 4. Yetkazildi / Tayyor — bayram */
.track-scene.s-yetkazildi, .track-scene.s-tayyor { background: var(--pattern-light), radial-gradient(120% 90% at 50% 0%, #2B8A5A 0%, #155C3A 55%, #0B2E1F 100%); }
.s-yetkazildi .sc-emoji, .s-tayyor .sc-emoji { animation: celebrate 2.2s var(--ease-spring) infinite; }
.confetti { position: absolute; left: 50%; top: 55%; width: 8px; height: 12px; border-radius: 2px; opacity: 0; animation: confetti 2.6s var(--ease) infinite; animation-delay: var(--d); }
@keyframes celebrate { 0% { transform: scale(.6); } 20% { transform: scale(1.12); } 30%, 100% { transform: scale(1); } }
@keyframes confetti {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  45% { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 1; }
  100% { transform: translate(calc(var(--x) * 1.2), calc(var(--y) + 140px)) rotate(calc(var(--r) * 2)); opacity: 0; }
}
.track-scene.s-bekor { background: linear-gradient(160deg, #5b6173, #2d3140); }
.s-bekor .sc-glow { display: none; }

.track-body { padding: 20px 22px 22px; }
.track-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.track-meta .chip { padding: 5px 11px; border-radius: 999px; background: var(--paper); color: var(--ink-2); font-weight: 600; }
.track-body h3 { margin: 14px 0 4px; font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1.05; }
.track-body > p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Bosqichlar chizig'i */
.track-steps { --n: 4; --p: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); margin: 24px 0 18px; padding: 0; list-style: none; }
.track-steps::before, .track-steps::after { content: ""; position: absolute; top: 19px; left: calc(50% / var(--n)); height: 4px; border-radius: 4px; }
.track-steps::before { right: calc(50% / var(--n)); background: var(--paper-2); }
.track-steps::after { width: calc((100% - 100% / var(--n)) * var(--p)); background: linear-gradient(90deg, var(--lapis), var(--saffron), var(--lapis)); background-size: 200% 100%; animation: barFlow 2.4s linear infinite; transition: width 1.2s var(--ease); }
.track-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ts-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; background: var(--card); border: 2px solid var(--line); filter: grayscale(1); opacity: .55; transition: all .6s var(--ease); }
.ts-dot svg { width: 20px; height: 20px; }
.track-steps b { font-size: 12.5px; line-height: 1.2; color: var(--muted); }
.track-steps small { min-height: 14px; font-size: 11.5px; color: var(--muted); }
.track-steps li.done .ts-dot { background: var(--lapis); border-color: var(--lapis); color: #fff; filter: none; opacity: 1; }
.track-steps li.done b { color: var(--ink); }
.track-steps li.current .ts-dot { background: var(--saffron-2); border-color: var(--saffron); filter: none; opacity: 1; transform: scale(1.12); animation: dotPulse 1.8s ease-out infinite; }
.track-steps li.current b { color: var(--ink); font-weight: 800; }
.track-steps.cancelled { filter: grayscale(1); opacity: .6; }
.track-steps.cancelled li.current .ts-dot { animation: none; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(233, 165, 58, .6); } 100% { box-shadow: 0 0 0 14px rgba(233, 165, 58, 0); } }

.order-details { margin-bottom: 16px; border-radius: 18px; background: var(--paper); }
.order-details summary { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; cursor: pointer; list-style: none; font-size: 14px; color: var(--ink-2); }
.order-details summary::-webkit-details-marker { display: none; }
.order-details summary svg { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .4s var(--ease); }
.order-details[open] summary svg { transform: rotate(-90deg); }
.order-details ul { margin: 0; padding: 0 12px; list-style: none; }
.order-details li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.od-thumb { width: 40px; height: 40px; border-radius: 11px; overflow: hidden; display: grid; place-items: center; background: var(--paper-2); }
.od-thumb img { width: 100%; height: 100%; object-fit: cover; }
.od-name small { color: var(--muted); }
.od-addr { margin: 0; padding: 10px 16px 14px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.past-orders { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.past-order { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-sm); }
.po-emoji { font-size: 24px; text-align: center; }
.po-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.po-text b { font-size: 14.5px; }
.po-text small { font-size: 12.5px; color: var(--muted); }
.po-total { font-size: 14px; white-space: nowrap; }
.past-order.s-bekor { opacity: .6; }

.orders-empty { text-align: center; padding: 10px 0 6px; }
.oe-emoji { display: inline-block; font-size: 72px; margin-bottom: 10px; animation: moBob 2.8s ease-in-out infinite; }

@media (max-width: 900px) {
  .order-pill { left: 12px; bottom: calc(12px + 68px + 10px + env(safe-area-inset-bottom)); }
  body.has-cartbar .order-pill { bottom: calc(12px + 68px + 10px + 60px + 10px + env(safe-area-inset-bottom)); }
  .cart-orders { padding: 14px 18px 18px; }
}
@media (max-width: 600px) {
  .orders-modal .modal-card { padding: 30px 16px 20px; }
  .track-scene { height: 160px; }
  .track-body { padding: 18px 16px 18px; }
  .track-body h3 { font-size: 26px; }
  .track-steps b { font-size: 11.5px; }
  .ts-dot { width: 38px; height: 38px; font-size: 17px; }
  .track-steps::before, .track-steps::after { top: 17px; }
}

.dish-comp { margin-top: 16px; font-size: 14px; }
.dish-comp b { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.comp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.comp-chips span { padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.comp-chips span::first-letter { text-transform: uppercase; }

/* Olib ketish yakunlari va bekor qilish sababi */
.order-pill.s-olib_ketildi .op-ring { background: var(--success); }
.track-scene.s-olib_ketildi { background: var(--pattern-light), radial-gradient(120% 90% at 50% 0%, #2B8A5A 0%, #155C3A 55%, #0B2E1F 100%); }
.s-olib_ketildi .sc-emoji { animation: celebrate 2.2s var(--ease-spring) infinite; }
.track-scene.s-olib_ketilmadi { background: linear-gradient(160deg, #5b6173, #2d3140); }
.s-olib_ketilmadi .sc-glow { display: none; }
.past-order.s-olib_ketilmadi { opacity: .6; }
.cancel-reason { margin: 8px 0 0; padding: 10px 14px; border-radius: 14px; background: rgba(194, 59, 46, .08); color: var(--danger); font-size: 14px; font-weight: 600; }

/* Mijoz buyurtmani bekor qilishi */
.cancel-order-link { display: block; margin: 14px auto 0; padding: 6px 10px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.cancel-order-link:hover { color: var(--danger); }
.reason-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.reason-chip { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: border-color .25s, background .25s, color .25s; }
.reason-chip:hover { border-color: #D6CEBB; }
.reason-chip.active { border-color: var(--danger); background: rgba(194, 59, 46, .08); color: var(--danger); font-weight: 600; }
.cancel-submit { --bg: var(--danger); --fg: #fff; background: var(--danger); color: #fff; }
.keep-order { margin-top: 10px; }
#cancelOrderMsg:not(:empty) { margin: 0 0 12px; }

/* Ichimliklar: oq fonda butun ko'rinadi; hajmi va ta'mini tanlash */
.product-media.pack { background: #fff; }
.product-media.pack img { object-fit: contain; }
.dish-photo.pack { background: #fff; }
.dish-photo.pack img { object-fit: contain; animation: none; padding: 4%; transition: opacity .3s; }

.opt-group { margin-top: 18px; }
.opt-group > span { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); font-size: 14.5px; font-weight: 600; line-height: 1.25; transition: border-color .25s, background .25s, transform .3s var(--ease-spring); }
.opt-chip small { font-size: 12px; font-weight: 500; color: var(--muted); }
.opt-chip:hover { border-color: #D6CEBB; }
.opt-chip:active { transform: scale(.96); }
.opt-chip.active { border-color: var(--lapis); background: rgba(23, 65, 166, .07); color: var(--lapis); }
.opt-chip.active small { color: var(--lapis); }
.cart-item-info .opt { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-thumb:has(img[src*="/menu/"]) { background: #fff; }

/* Kartada mavjud hajmlar ro'yxati */
.card-sizes { display: block; margin-top: 4px; font-weight: 600; color: var(--ink-2); }
.product-card.has-options .product-body p { -webkit-line-clamp: 4; }
.comp-chips span small { margin-left: 6px; font-weight: 700; color: var(--lapis); font-size: 12.5px; }

/* Taom oynasida rasmlarni surib almashtirish (ta'mlar) */
.dish-photo img.swap { opacity: 0; }
.photo-nav { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); font-size: 26px; line-height: 1; color: var(--ink); transition: transform .3s var(--ease-spring), background .3s; }
.photo-nav:hover { transform: scale(1.08); background: #fff; }
.photo-nav.prev { left: 12px; }
.photo-nav.next { right: 12px; }
.photo-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 7px; }
.photo-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(14, 26, 54, .22); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.photo-dots i.active { width: 22px; border-radius: 99px; background: var(--lapis); }
.photo-label { position: absolute; left: 50%; top: 14px; z-index: 2; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: rgba(14, 26, 54, .78); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.dish-photo:not(.pack) .photo-dots i { background: rgba(255, 255, 255, .55); }
.dish-photo:not(.pack) .photo-dots i.active { background: #fff; }

/* Joy band qilish: menejerga qo'ng'iroq */
.reservation-form[hidden] { display: none; }
.call-card { align-self: start; position: sticky; top: calc(var(--hh) + 20px); }
.call-badge { display: inline-block; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(233, 165, 58, .16); color: #8a5a08; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.call-card > p { margin: 10px 0 18px; font-size: 15px; line-height: 1.55; }
.call-place { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 16px; border-radius: 16px; border: 1.5px dashed var(--line); font-size: 14px; color: var(--muted); }
.call-place svg { width: 22px; height: 22px; flex: none; }
.call-place.active { border-style: solid; border-color: rgba(23, 65, 166, .25); background: rgba(23, 65, 166, .06); color: var(--lapis); }
.call-phones { display: grid; gap: 10px; margin-bottom: 20px; }
.call-btn { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: var(--lapis); color: #fff; box-shadow: 0 14px 28px -14px rgba(23, 65, 166, .8); transition: transform .3s var(--ease-spring), background .3s; }
.call-btn:hover { transform: translateY(-2px); background: var(--lapis-600); }
.call-btn small { display: block; font-size: 12.5px; opacity: .75; }
.call-btn b { font-size: 19px; letter-spacing: .01em; }
.call-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); flex: none; }
.call-icon svg { width: 22px; height: 22px; fill: currentColor; }
.call-empty { margin: 0; padding: 14px; border-radius: 14px; background: var(--paper); color: var(--muted); text-align: center; }
.call-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.call-steps li { display: flex; gap: 10px; align-items: flex-start; }
.call-steps b { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: 12.5px; }
@media (max-width: 900px) { .call-card { position: static; } }

.call-when { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 8px; margin-bottom: 12px; }
.call-when label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.call-when input, .call-when select { height: 44px; padding: 0 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-size: 14.5px; width: 100%; min-width: 0; }
.call-summary { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.call-summary small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 3px; }
.call-summary b { font-weight: 700; }
.call-txt { flex: 1; }
.place-spot:disabled { opacity: 1; cursor: pointer; }
@media (max-width: 600px) { .call-when { grid-template-columns: 1fr 1fr; } .call-when label:first-child { grid-column: span 2; } }

/* ---------- Taom oynasi: tavsiya etiladiganlar ---------- */
.dish-recs { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.dish-recs > b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 10px; }
.rec-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -4px; padding-left: 4px; padding-right: 4px; scrollbar-width: thin; }
.rec-card { position: relative; flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; padding: 8px 8px 10px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .3s var(--ease); }
.rec-card:hover { transform: translateY(-2px); }
.rec-img { height: 84px; border-radius: 12px; overflow: hidden; background: var(--paper); display: grid; place-items: center; margin-bottom: 6px; font-size: 34px; }
.rec-img img { width: 100%; height: 100%; object-fit: cover; }
.rec-img.pack { background: #fff; }
.rec-img.pack img { object-fit: contain; padding: 6%; }
.rec-name { font-weight: 700; font-size: 14px; color: var(--ink); padding-right: 30px; }
.rec-card small { font-size: 12px; color: var(--muted); line-height: 1.35; padding-right: 4px; }
.rec-price { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; margin-top: 2px; line-height: 32px; }
.rec-card .rec-add { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 11px; }
.rec-card .rec-add svg { width: 17px; height: 17px; }
