/* Общая витрина (storefront) — светлая премиум-тема. Vanilla, mobile-first, Montserrat.
   ЦВЕТА БРЕНДА вынесены в brands/<brand>/static/theme.css (подключается ПЕРЕД этим файлом).
   Здесь — только структурные токены и общая раскладка. */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,600&display=swap');

:root {
  /* цветовые --accent/--bg/--ink/... задаёт theme.css бренда */
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(30, 25, 10, .06);
  --shadow: 0 18px 48px rgba(30, 25, 10, .14);
  --shadow-accent: 0 12px 30px rgba(216, 138, 23, .28);

  --font: 'Montserrat', -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1320px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  padding-bottom: 92px; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 14px;
  padding: 12px clamp(14px, 4vw, 36px);
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.topbar.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-ic { width: 42px; height: 42px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-weight: 900; font-size: 18px; letter-spacing: .01em; }
.brand-txt b span { color: var(--accent); }
.brand-txt small { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }
.top-spacer { flex: 1; }
.phone { font-weight: 800; font-size: 14px; white-space: nowrap; }
.phone:hover { color: var(--accent); }
.top-cart { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: var(--shadow-accent); position: relative; }
.top-cart .n { position: absolute; top: -3px; right: -3px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-warm), var(--bg)); }
.hero::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 560px; max-height: 560px; right: -16%; top: -10%; border-radius: 50%; background: radial-gradient(circle, rgba(242,162,58,.18), transparent 68%); pointer-events: none; }
.hero-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; padding: clamp(20px,5vw,44px) clamp(16px,5vw,40px) clamp(20px,4vw,32px); text-align: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; animation: rise .7s ease both; }
.hero h1 { font-size: clamp(34px, 9vw, 72px); line-height: .98; letter-spacing: -.035em; font-weight: 900; margin-top: 16px; animation: rise .8s cubic-bezier(.2,.7,.2,1) .06s both; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { margin: 16px auto 0; max-width: 440px; color: var(--ink-2); font-size: clamp(14px,3.6vw,17px); line-height: 1.5; font-weight: 500; animation: rise .8s ease .14s both; }
.hero-logo { display: block; width: min(52%, 230px); margin: 14px auto 8px; animation: rise .7s cubic-bezier(.2,.7,.2,1) .08s both; }
.hero-art { position: relative; width: min(82%, 360px); margin: 18px auto 6px; aspect-ratio: 1; animation: floaty 5s ease-in-out infinite; }
.hero-art .blob { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #FFCBB6, var(--accent) 78%); box-shadow: 0 30px 70px rgba(255,90,54,.4); animation: sunIn .9s cubic-bezier(.2,.8,.25,1.1) both; }
.hero-art .fox-big { position: absolute; inset: 6%; width: 88%; height: 88%; z-index: 2; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.18)); animation: foxPop .9s cubic-bezier(.2,.9,.25,1.3) .1s both; }
.hero-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 15px; padding: 16px 34px; border-radius: 999px; box-shadow: var(--shadow-accent); transition: transform .15s, background .2s; animation: rise .8s ease .26s both; }
.hero-cta:hover { background: var(--accent-deep); transform: translateY(-2px); }
.hero-cta:active { transform: scale(.97); }
.hero-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 24px; animation: rise .8s ease .34s both; }
.hero-feat { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; }
.hero-feat .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; font-size: 12px; }

/* ---------- круглые фото-категории (сторис) ---------- */
.cat-nav { position: sticky; top: 58px; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.cat-nav-scroll { max-width: var(--maxw); margin: 0 auto; display: flex; gap: clamp(10px,2.5vw,20px); overflow-x: auto; scrollbar-width: none; padding: 12px clamp(16px,5vw,40px); }
.cat-nav-scroll::-webkit-scrollbar { display: none; }
.cat-pill { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; width: 72px; }
.cat-pill .thumb { width: 60px; height: 60px; border-radius: 50%; background: var(--bg-soft) center/cover; border: 2.5px solid transparent; transition: border-color .2s, transform .2s; display: grid; place-items: center; font-size: 26px; }
.cat-pill:hover .thumb { transform: translateY(-2px); }
.cat-pill.active .thumb { border-color: var(--accent); }
.cat-pill span { font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.15; }
.cat-pill.active span { color: var(--ink); }

/* ---------- catalog ---------- */
.catalog { max-width: var(--maxw); margin: 0 auto; padding: 10px clamp(10px,5vw,40px) 24px; position: relative; z-index: 2; }
.cat-section { scroll-margin-top: 150px; margin-top: 36px; }
.cat-section h2 { font-size: clamp(22px,5.5vw,34px); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.cat-section h2::before { content: ""; width: 10px; height: 26px; border-radius: 4px; background: var(--accent); flex: none; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(9px,2.4vw,22px); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 940px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-photo { aspect-ratio: 1; position: relative; overflow: hidden; background: var(--bg-soft); }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-photo img { transform: scale(1.07); }
.card-photo.empty::after { content: "🌯"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; opacity: .3; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; z-index: 2; }
.badge { font-size: 10.5px; font-weight: 800; padding: 4px 9px; border-radius: 7px; background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .03em; }
.badge.hit { background: var(--accent); color: var(--on-accent); }
.badge.new { background: var(--green); color: #fff; }
.badge.spicy { background: var(--accent-deep); color: var(--on-accent); }

.card-body { padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card-name { font-weight: 700; font-size: 14.5px; line-height: 1.25; letter-spacing: -.01em; }
.card-weight { color: var(--muted); font-size: 12px; font-weight: 600; }
.card-desc { color: var(--muted); font-size: 12px; line-height: 1.35; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; gap: 8px; }
.card-price { font-weight: 900; font-size: 17px; color: var(--accent-deep); letter-spacing: -.02em; }
.add-btn { flex: none; width: 40px; height: 40px; border-radius: 12px; border: none; cursor: pointer; background: var(--accent); color: var(--on-accent); font-size: 23px; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow-accent); transition: transform .15s, background .2s; }
.add-btn:hover { background: var(--accent-deep); }
.add-btn:active { transform: scale(.84); }
.add-btn.added { animation: pop .4s ease; }

/* мобила: компактнее и плотнее — чтобы больше помещалось, как при лёгком отдалении */
@media (max-width: 639px) {
  .catalog { padding-left: 10px; padding-right: 10px; }
  .cat-section { margin-top: 26px; }
  .cat-section h2 { font-size: 21px; margin-bottom: 12px; }
  .cards { gap: 10px; }
  .card-body { padding: 10px 11px 11px; gap: 4px; }
  .card-name { font-size: 13px; line-height: 1.2; }
  .card-weight, .card-desc { font-size: 11px; }
  .card-foot { padding-top: 6px; }
  .card-price { font-size: 15.5px; }
  .add-btn { width: 36px; height: 36px; border-radius: 11px; font-size: 21px; }
  .cat-pill { width: 64px; }
  .cat-pill .thumb { width: 52px; height: 52px; font-size: 22px; }
  .cat-pill span { font-size: 10.5px; }

  /* компактная корзина на мобиле */
  .cart-row { gap: 10px; padding: 9px 0; align-items: center; }
  .cart-thumb { width: 44px; height: 44px; border-radius: 10px; font-size: 19px; }
  .cart-row-name { font-size: 13px; line-height: 1.2; }
  .cart-row-unit { font-size: 10.5px; margin-top: 1px; }
  .cart-row-ctl { margin-top: 5px; }
  .qty { padding: 2px; gap: 5px; }
  .qty button { width: 24px; height: 24px; font-size: 15px; }
  .qty span { min-width: 16px; font-size: 13.5px; }
  .cart-line-total { font-size: 14px; }
  .cart-del { width: 22px; height: 22px; font-size: 17px; align-self: flex-start; }
}

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }

/* ---------- почему мы ---------- */
.why { max-width: var(--maxw); margin: 0 auto; padding: clamp(36px,7vw,64px) clamp(16px,5vw,40px) 0; }
.why h2 { font-size: clamp(22px,5.5vw,34px); display: flex; align-items: center; gap: 12px; }
.why h2::before { content: ""; width: 10px; height: 26px; border-radius: 4px; background: var(--accent); }
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 22px; }
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(4,1fr); } }
.why-item { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 18px; text-align: center; }
.why-ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; font-size: 27px; }
.why-item h4 { font-size: 15px; margin: 0 0 6px; }
.why-item p { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 0; font-weight: 500; }

/* ---------- footer (тёмный для контраста) ---------- */
.foot { background: var(--dark); color: #EDE6DD; margin-top: 54px; padding: 40px clamp(16px,5vw,40px); }
.foot-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot .brand-txt b { color: #fff; }
.foot a.phone-big { font-weight: 900; font-size: 22px; color: var(--accent); letter-spacing: -.02em; }
.foot .muted, .foot .fmuted { color: #998f84; font-size: 13px; font-weight: 500; }

/* ---------- FAB ---------- */
.cart-fab { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(130%); z-index: 50; display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; max-width: calc(100vw - 32px); background: var(--ink); color: #fff; padding: 15px 24px; border-radius: 999px; font-weight: 800; font-size: 15px; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2,.9,.25,1.2); }
.cart-fab.show { transform: translateX(-50%) translateY(0); }
.cart-fab.bump { animation: bump .4s ease; }
.cart-fab .cart-count { flex: none; background: var(--accent); color: var(--on-accent); min-width: 23px; height: 23px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 13px; padding: 0 6px; }
.cart-fab #cartTotal { white-space: nowrap; }
.cart-fab .dot { opacity: .4; }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(8px); z-index: 60; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.empty { color: var(--muted); text-align: center; padding: 50px 0; }
.hidden { display: none !important; }

/* ---------- модалка товара ---------- */
.pm { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; }
@media (min-width: 640px) { .pm { align-items: center; } }
.pm.open { visibility: visible; }
.pm-bd { position: absolute; inset: 0; background: rgba(20,12,8,.5); opacity: 0; transition: opacity .3s; }
.pm.open .pm-bd { opacity: 1; }
.pm-card { position: relative; background: #fff; width: min(460px, 100%); max-height: 92vh; overflow: auto; border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .35s cubic-bezier(.2,.8,.25,1); }
@media (min-width: 640px) { .pm-card { border-radius: 24px; transform: translateY(20px) scale(.98); } }
.pm.open .pm-card { transform: none; }
.pm-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); font-size: 22px; cursor: pointer; color: var(--ink); }
.pm-photo { aspect-ratio: 1; background: var(--bg-soft); }
.pm-photo img { width: 100%; height: 100%; object-fit: cover; }
.pm-photo.empty::after { content: "🌯"; display: grid; place-items: center; height: 100%; font-size: 56px; opacity: .3; }
.pm-body { padding: 20px 22px 24px; }
.pm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pm-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pm-qty { flex: none; background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.pm-comp { margin: 12px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; font-weight: 500; }
.pm-incl { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 12px 14px; background: var(--bg-soft); border-radius: 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.pm-incl b { color: var(--ink); font-weight: 700; }
.pm-incl-ic { flex: none; font-size: 16px; }
.pm-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.pm-price { font-size: 24px; font-weight: 900; color: var(--accent-deep); letter-spacing: -.02em; }

/* ---------- внутренние страницы (светлые) ---------- */
.page { max-width: 620px; margin: 0 auto; padding: 24px clamp(16px,5vw,32px) 60px; position: relative; z-index: 2; }
.page h1 { font-size: clamp(26px,6vw,38px); margin-bottom: 6px; }
.page h1 .accent { color: var(--accent); }
.back-link { display: inline-flex; gap: 6px; color: var(--muted); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.back-link:hover { color: var(--ink); }
.cart-row { display: flex; align-items: flex-start; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 66px; height: 66px; border-radius: 14px; background: var(--bg-soft) center/cover; flex: none; display: grid; place-items: center; font-size: 26px; }
.cart-main { flex: 1; min-width: 0; }
.cart-row-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.cart-row-unit { color: var(--muted); font-weight: 600; font-size: 12px; margin-top: 3px; }
.cart-row-ctl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.qty { display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border-radius: 999px; padding: 4px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: none; background: #fff; cursor: pointer; font-size: 18px; line-height: 1; color: var(--ink); box-shadow: var(--shadow-sm); transition: color .2s, transform .12s; }
.qty button:hover { color: var(--accent); }
.qty button:active { transform: scale(.9); }
.qty span { min-width: 20px; text-align: center; font-weight: 800; font-size: 15px; }
.cart-line-total { font-weight: 900; font-size: 16px; text-align: right; color: var(--accent-deep); white-space: nowrap; }
.cart-del { flex: none; width: 28px; height: 28px; border: none; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; border-radius: 50%; transition: color .2s, background .2s; }
.cart-del:hover { color: var(--accent-deep); background: var(--accent-soft); }
.summary { margin: 22px 0; background: var(--bg-soft); border-radius: var(--radius); padding: 18px 20px; }
.summary .row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--ink-2); font-weight: 600; }
.summary .row.total { font-size: 19px; font-weight: 900; color: var(--ink); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.btn-primary { display: block; width: 100%; text-align: center; cursor: pointer; border: none; background: var(--accent); color: var(--on-accent); border-radius: 14px; padding: 17px; box-shadow: var(--shadow-accent); font-weight: 800; font-size: 16px; transition: background .2s, transform .12s; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary:active { transform: scale(.99); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.btn-ghost { display: block; text-align: center; color: var(--muted); padding: 14px; font-weight: 700; }
.seg { display: flex; gap: 6px; background: var(--bg-soft); padding: 5px; border-radius: 14px; margin-bottom: 20px; }
.seg-btn { flex: 1; padding: 12px; border: none; background: transparent; border-radius: 10px; cursor: pointer; font-weight: 800; font-size: 15px; color: var(--muted); transition: all .2s; }
.seg-btn.active { background: #fff; color: var(--accent-deep); box-shadow: var(--shadow-sm); }
.pickup-info { background: var(--bg-soft); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; }
.pickup-info a { color: var(--accent); font-weight: 700; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fld > span { font-size: 13px; color: var(--muted); font-weight: 700; }
.fld input, .fld select, .fld textarea { padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; font-family: var(--font); background: #fff; color: var(--ink); transition: border-color .2s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); }
.fld-row { display: flex; gap: 10px; }
.fld-row .fld { flex: 1; }
.pay-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-opt { padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 700; font-size: 14px; transition: all .2s; }
.pay-opt.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
.err-box { background: var(--accent-soft); color: var(--accent-deep); padding: 13px 16px; border-radius: 12px; margin: 14px 0; font-weight: 700; font-size: 14px; }
.success-page { text-align: center; padding-top: clamp(40px,10vw,80px); }
.success-logo { width: 150px; margin: 0 auto 24px; animation: rise .6s ease both; }
.success-art { position: relative; width: 150px; aspect-ratio: 1; margin: 0 auto 24px; }
.success-art .blob { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #FFCBB6, var(--accent) 78%); }
.success-art img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; z-index: 2; animation: foxPop .8s cubic-bezier(.2,.9,.25,1.3) both; }
.order-num { display: inline-block; margin-top: 14px; background: var(--accent); color: var(--on-accent); padding: 11px 22px; border-radius: 999px; font-weight: 800; }
.muted { color: var(--muted); }
.muted a { color: var(--accent); font-weight: 700; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes foxPop { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes foxBurst {
  0%   { opacity: 0; transform: scale(.45) rotate(-24deg) translate(-30px, 26px); }
  35%  { opacity: 1; transform: scale(1.16) rotate(14deg) translate(18px, -16px); }
  55%  { transform: scale(.93) rotate(-11deg) translate(-14px, 8px); }
  72%  { transform: scale(1.07) rotate(7deg) translate(9px, -6px); }
  86%  { transform: scale(.98) rotate(-4deg) translate(-5px, 3px); }
  100% { opacity: 1; transform: scale(1) rotate(0) translate(0, 0); }
}
@keyframes foxWiggle {
  0%   { transform: translate(0, 0) rotate(0deg); }
  12%  { transform: translate(-7px, -9px) rotate(-3.5deg); }
  26%  { transform: translate(8px, -4px) rotate(2.5deg); }
  41%  { transform: translate(-4px, 8px) rotate(-1.5deg); }
  55%  { transform: translate(9px, -11px) rotate(3deg); }
  68%  { transform: translate(-9px, -3px) rotate(-2.5deg); }
  82%  { transform: translate(5px, 7px) rotate(1.8deg); }
  93%  { transform: translate(-3px, -5px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes sunIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes bump { 0%,100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } .hero-art { animation: none !important; } }

.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--accent); }

/* напитки — карточки-бренды + модалка опций (объём/вкус) */
.drink-card .card-photo.empty::after { content: none; }
.drink-emoji { font-size: 46px; display: grid; place-items: center; }
.dm-card { max-width: 440px; }
.dm-opts { margin-bottom: 14px; }
.dm-lbl { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.dm-opt { display: inline-block; margin: 0 8px 8px 0; padding: 11px 16px; border: 2px solid var(--line); background: #fff; border-radius: 12px; font-weight: 700; font-size: 14px; cursor: pointer; }
.dm-opt.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-deep); }
