/* ============================================================
   FlowerStore.Ge — main stylesheet
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Surfaces */
  --bg:       #fdf9f7;
  --bg-card:  #ffffff;
  --bg-warm:  #fdf6f3;
  --bg-warm2: #faf0ec;

  /* Brand */
  --rose:      #c8506a;
  --rose-wash: #fdf0f3;
  --rose-bdr:  #f4c8d2;
  --rose-deep: #a03050;

  /* Cities */
  --tbi:      #1a6b3c;
  --tbi-bg:   #e8f5ee;
  --tbi-bdr:  #b8e6cc;
  --bat:      #128c7e;
  --bat-bg:   #e8f5f4;
  --bat-bdr:  #b8dde6;

  /* Accents */
  --gold:     #c9a84c;

  /* Text */
  --ink:     #2d1a14;
  --ink-2:   #7a6860;
  --ink-3:   #c8a898;

  /* Borders */
  --bdr:  #f0e8e3;
  --bdr-2:#e0d5cf;

  /* Radii / shadow */
  --r:  14px;
  --rs: 8px;
  --sh: 0 1px 8px rgba(45,26,20,.07);

  /* Fonts */
  --ff-head: "Playfair Display", Georgia, serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- RESET / BASE ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- ANNOUNCE BAR ---------- */
.announce {
  background: var(--rose);
  color: rgba(255,255,255,.92);
  font-size: 10px;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: .06em;
}

/* ---------- NAV ---------- */
.nav-wrap {
  background: rgba(253,249,247,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bdr);
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.nav-logo-mark {
  width: 38px;
  height: 38px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.footer-brand-mark {
  width: 34px;
  height: 34px;
  vertical-align: middle;
  margin-right: 10px;
  background: #fff;
  border-radius: 50%;
  object-fit: contain;
}
.logo-name {
  font-family: var(--ff-head);
  font-size: 16px;
  color: var(--ink);
  line-height: 1;
}
.logo-name em { color: var(--rose); font-style: italic; }
.logo-sub {
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links { display: flex; gap: 0; }
.nav-link {
  font-size: 12px;
  color: var(--ink-3);
  padding: 6px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: color .2s;
}
.nav-link:hover,
.nav-link.active { color: var(--ink); }
.nav-link.live { color: var(--rose); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-sw, .cur-sw { display: flex; gap: 3px; }
.lbtn, .cur-btn {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  border: 1px solid var(--bdr-2);
  color: var(--ink-3);
  letter-spacing: .05em;
  transition: all .15s;
}
.lbtn.active,
.cur-btn.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}
.lbtn:not(.active):hover,
.cur-btn:not(.active):hover { border-color: var(--rose-bdr); color: var(--rose); }

.cart-btn,
.fav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-warm);
  border: 1px solid var(--bdr);
  border-radius: var(--rs);
  padding: 7px 12px;
  font-size: 12px;
  color: var(--ink-2);
  transition: border-color .2s;
}
.cart-btn:hover,
.fav-btn:hover { border-color: var(--rose); }
.cart-count,
.fav-count {
  background: var(--rose);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink-2);
  transition: all .2s;
}

/* MOB MENU — бургер-меню в шапке (открывается сверху-справа) */
.mob-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 12px;
  left: 12px;
  z-index: 200;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  box-shadow: 0 14px 40px rgba(45, 26, 20, .22);
  overflow: hidden;
  margin-top: 8px;
}
.mob-menu.open { display: flex; }
.mob-menu .nav-link {
  padding: 14px 20px;
  border-radius: 0;
  border-bottom: 1px solid var(--bdr);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.mob-menu .nav-link:hover,
.mob-menu .nav-link:active { background: var(--rose-wash); }
.mob-menu .nav-link.active { color: var(--rose); background: var(--rose-wash); }
.mob-menu-section {
  padding: 14px 20px 14px;
  border-bottom: 1px solid var(--bdr);
  background: var(--bg-warm);
}
.mob-menu-section:last-child { border-bottom: none; }
.mob-menu-label {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-weight: 600;
}
.mob-menu .lang-sw,
.mob-menu .cur-sw {
  display: flex;
  gap: 6px;
}
.mob-menu .lbtn,
.mob-menu .cur-btn {
  padding: 9px 14px;
  font-size: 13px;
  min-width: 44px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--bdr-2);
}
.mob-menu .lbtn.active,
.mob-menu .cur-btn.active { background: var(--rose); color: #fff; border-color: var(--rose); }

/* Затемнение страницы под меню — чтобы фокус был на меню */
.mob-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(45, 26, 20, .4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.mob-menu.open + .mob-menu-backdrop,
.mob-menu-backdrop.on { display: block; }

/* ---------- HERO ---------- */
.hero {
  background: var(--bg-card);
  padding: 52px 20px 44px;
  border-bottom: 1px solid var(--bdr);
}
.hero-inner { max-width: 560px; margin: 0 auto; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5cb85c;
  animation: livepulse 2s infinite;
}
@keyframes livepulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .35; transform: scale(.6); }
}

/* Отзывы клиентов на главной — Schema.org для звёзд в Google */
.reviews-sec { background: var(--bg-warm); padding: 56px 20px; border-top: 1px solid var(--bdr); }
.reviews-inner { max-width: 1100px; margin: 0 auto; }
.reviews-aggregate {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--bdr); border-radius: 99px;
  padding: 8px 16px; font-size: 13px; color: var(--ink-2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  margin-top: 14px;
}
.reviews-stars { letter-spacing: 1px; font-size: 16px; }
.rs-star { color: #d4d4d4; }
.rs-star.on { color: #fbbf24; }
.reviews-rating-num { font-family: var(--ff-head); font-size: 16px; color: var(--ink); font-weight: 700; }
.reviews-count { color: var(--ink-3); font-size: 12px; }

.reviews-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 32px;
}
.review-card {
  background: #fff; border: 1px solid var(--bdr); border-radius: var(--r);
  padding: 20px 22px; box-shadow: var(--sh);
  display: flex; flex-direction: column; gap: 12px;
}
.review-card .review-stars { font-size: 14px; letter-spacing: 1px; line-height: 1; }
.review-text {
  font-size: 14px; color: var(--ink); line-height: 1.6; flex: 1;
  font-style: italic;
}
.review-meta { display: flex; align-items: center; gap: 12px; padding-top: 6px; border-top: 1px solid var(--bdr); }
.review-avatar {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--rose-wash); color: var(--rose);
  border-radius: 50%; display: grid; place-items: center;
  font-family: var(--ff-head); font-weight: 700; font-size: 16px;
}
.review-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.review-sub  { font-size: 11px; color: var(--ink-3); margin-top: 2px; }

@media (max-width: 720px) {
  .reviews-sec { padding: 40px 14px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* WhatsApp плавающая кнопка — на всех страницах сайта снизу-справа.
   JS в app.js подменяет href на номер города пользователя. */
.wa-fab {
  position: fixed;
  bottom: 90px; /* отступ выше мобильного tabbar (60px) */
  right: 18px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .55);
  z-index: 40;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  animation: wa-pulse 2.4s infinite;
}
.wa-fab:hover { transform: scale(1.07); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; position: relative; z-index: 1; }
.wa-fab-pulse { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }

@keyframes wa-pulse {
  0%   { box-shadow: 0 6px 18px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 6px 18px rgba(37, 211, 102, .4), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 18px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 720px) {
  .wa-fab { bottom: 78px; right: 12px; width: 52px; height: 52px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

/* ---------- Floating mini-cart (когда в корзине что-то есть) ---------- */
.fs-cart-mini {
  position: fixed; left: 18px; bottom: 90px;
  display: none; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--rose); color: #fff;
  border-radius: 99px;
  text-decoration: none; font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 22px rgba(200, 80, 106, .35);
  z-index: 40;
  transition: transform .18s, box-shadow .18s;
}
.fs-cart-mini.on { display: inline-flex; }
.fs-cart-mini:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,80,106,.45); }
.fs-cart-mini svg { stroke: currentColor; }
.fs-cart-mini-count {
  background: #fff; color: var(--rose);
  min-width: 22px; height: 22px; padding: 0 7px;
  border-radius: 99px; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.fs-cart-mini-total { font-weight: 700; }
.fs-cart-mini-total:empty { display: none; }
.fs-cart-mini-cta { font-size: 12px; opacity: .92; padding-left: 4px;
                    border-left: 1px solid rgba(255,255,255,.3); }
@media (max-width: 720px) {
  .fs-cart-mini { left: 12px; bottom: 78px; padding: 8px 12px; font-size: 12px; }
  .fs-cart-mini svg { width: 16px; height: 16px; }
  .fs-cart-mini-cta { display: none; }  /* на мобиле — без CTA-хвоста, только иконка+цена */
}

/* Pulse при добавлении товара */
@keyframes fs-pulse-cart {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.cart-btn.pulse, .fs-cart-mini.pulse { animation: fs-pulse-cart .55s ease-out; }

/* ---------- Toast уведомления ---------- */
#fs-toasts {
  position: fixed; top: 78px; right: 18px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
  max-width: 360px;
}
.fs-toast {
  background: var(--ink); color: #fff;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px; line-height: 1.4;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transform: translateX(20px); opacity: 0;
  transition: transform .25s ease-out, opacity .25s;
  pointer-events: auto;
}
.fs-toast.on { transform: translateX(0); opacity: 1; }
.fs-toast b { color: #fff; font-weight: 700; }
.fs-toast .fs-toast-ok { color: #4ade80; font-weight: 700; margin-right: 4px; }
@media (max-width: 720px) {
  #fs-toasts { left: 12px; right: 12px; top: 12px; max-width: none; }
  .fs-toast { font-size: 12px; padding: 10px 14px; }
}

/* Live-баннер в каталоге, ведёт на /showcase.html */
.live-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto 22px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #fff8f5 0%, #fff1ea 100%);
  border: 1px solid var(--rose-bdr);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 2px 14px rgba(220, 80, 60, .05);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.live-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(220, 80, 60, .12);
  border-color: var(--rose);
}
.live-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--rose-bdr);
  border-radius: 99px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  white-space: nowrap;
}
.live-banner-body h2 {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.3;
}
.live-banner-body p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}
.live-banner-cta {
  background: var(--rose);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--rs);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .live-banner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 18px;
    margin: 0 12px 18px;
  }
  .live-banner-badge { justify-self: start; }
  .live-banner-cta { justify-self: stretch; text-align: center; }
}
.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero h1 em { color: var(--rose); font-style: italic; }
.hero-sub {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 430px;
}
.hero-fiche {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose-wash);
  border: 1px solid var(--rose-bdr);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 11px;
  color: var(--rose);
  margin-bottom: 24px;
}

/* Stats strip */
.hero-stats {
  display: flex;
  background: var(--bg-warm);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 26px;
  max-width: 360px;
}
.hs {
  flex: 1;
  padding: 13px 8px;
  text-align: center;
  border-right: 1px solid var(--bdr);
}
.hs:last-child { border-right: none; }
.hs-n {
  font-family: var(--ff-head);
  font-size: 21px;
  line-height: 1;
  color: var(--ink);
}
.hs-n sup {
  font-size: 11px;
  color: var(--rose);
  font-family: var(--ff-body);
  vertical-align: super;
}
.hs-l {
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-top: 3px;
}
.hs-sub {
  font-size: 10px;
  color: var(--ink-2);
  margin-top: 4px;
  line-height: 1.3;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 360px;
}

/* на десктопе фото скрыто, появляется только на ≤640px */
.hero-photo-mobile { display: none; }
.cp-photo { display: none; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--rs);
  padding: 10px 18px;
  font-size: 13px;
  cursor: pointer;
  transition: opacity .2s, border-color .2s, background .2s, color .2s;
}
.btn-primary {
  background: var(--rose);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 10px;
}
.btn-primary:hover { opacity: .9; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--bdr-2);
  color: var(--ink-2);
}
.btn-outline:hover { border-color: var(--rose); color: var(--rose); }
.btn-sm { font-size: 11px; padding: 7px 14px; }

.btn-city {
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity .2s;
}
.btn-city:hover { opacity: .88; }
.btn-city.tbi { background: var(--tbi-bg); color: var(--tbi); }
.btn-city.bat { background: var(--bat-bg); color: var(--bat); }

.city-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ---------- CITY PICKER ---------- */
.city-pick {
  background: var(--bg-card);
  padding: 32px 20px;
  border-bottom: 1px solid var(--bdr);
}
.city-pick-inner { max-width: 560px; margin: 0 auto; }
.cp-label {
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 14px;
}
.cp-title {
  font-family: var(--ff-head);
  font-size: 20px;
  text-align: center;
  margin-bottom: 18px;
}
.cp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cp-card {
  border-radius: 16px;
  padding: 20px 16px;
  cursor: pointer;
  border: 1.5px solid transparent;
  position: relative;
  text-align: center;
  transition: all .2s;
}
.cp-card.tbi { background: var(--tbi-bg); border-color: var(--tbi-bdr); }
.cp-card.bat { background: var(--bat-bg); border-color: var(--bat-bdr); }
.cp-card.tbi.selected { border-color: var(--tbi); box-shadow: 0 2px 16px rgba(26,107,60,.15); }
.cp-card.bat.selected { border-color: var(--bat); box-shadow: 0 2px 16px rgba(18,140,126,.15); }
.cp-icon { font-size: 28px; display: block; margin-bottom: 6px; }
.cp-name { font-family: var(--ff-head); font-size: 19px; margin-bottom: 3px; }
.cp-addr { font-size: 10px; color: var(--ink-3); margin-bottom: 10px; }
.cp-count {
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--ink-2);
}
.cp-count.tbi-c { color: var(--tbi); }
.cp-count.bat-c { color: var(--bat); }
.cp-count-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #5cb85c;
  animation: livepulse 2s infinite;
}

/* ---------- SECTIONS ---------- */
.section { padding: 44px 20px; }
.section-warm { background: var(--bg-warm); }

.sec-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.sec-lbl {
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 5px;
}
.sec-title {
  font-family: var(--ff-head);
  font-size: 24px;
  color: var(--ink);
  line-height: 1.2;
}
.sec-title em { color: var(--rose); font-style: italic; }

/* ---------- CATEGORY PILLS ---------- */
.cats-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--bdr);
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats-bar::-webkit-scrollbar { display: none; }
.cats-scroll {
  display: flex;
  gap: 6px;
  padding: 10px 0;
  max-width: 1100px;
  margin: 0 auto;
}
.cat-pill {
  white-space: nowrap;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--bdr-2);
  color: var(--ink-3);
  transition: all .2s;
  cursor: pointer;
}
.cat-pill:hover { border-color: var(--rose-bdr); color: var(--rose); }
.cat-pill.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

/* Мобильная версия: крупнее шрифт, больше touch-area, поддерживает свайп */
@media (max-width: 640px) {
  .cats-bar {
    padding: 0 14px;
    /* Мягкий индикатор что строка скроллится — фейды по краям */
    -webkit-overflow-scrolling: touch;
  }
  .cats-scroll {
    gap: 8px;
    padding: 12px 0;
  }
  .cat-pill {
    font-size: 14px;
    padding: 9px 16px;
    font-weight: 500;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    letter-spacing: .01em;
  }
  .cat-pill.active {
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(200, 80, 106, .25);
  }
}

/* ---------- CATEGORY TILES (big squares) ---------- */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.cat-tile {
  position: relative;
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--rose-wash);
  cursor: pointer;
  transition: transform .2s;
}
.cat-tile:hover { transform: translateY(-2px); }
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}
.cat-tile-body {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  color: #fff;
  z-index: 2;
}
.cat-tile-label {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 4px;
}
.cat-tile-title {
  font-family: var(--ff-head);
  font-size: 26px;
  line-height: 1;
  margin-bottom: 8px;
}
.cat-tile-title em { font-style: italic; }
.cat-tile-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: .95;
}

/* ---------- PRODUCT CARDS ---------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.pcard {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: var(--sh);
  position: relative;
}
.pcard:hover {
  border-color: var(--rose-bdr);
  box-shadow: 0 4px 18px rgba(200,80,106,.1);
  transform: translateY(-2px);
}
.pcard-img {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--rose-wash);
  overflow: hidden;
  position: relative;
}
.pcard-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.pcard:hover .pcard-img img { transform: scale(1.04); }

.pcard-badge {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 9px;
  padding: 3px 9px;
  border-radius: 99px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-hit { background: var(--rose);    color: #fff; }
.badge-new { background: var(--gold);    color: #fff; }
.badge-vip { background: var(--ink);     color: #fff; }
.sc-city-tbi { background: var(--tbi);   color: #fff; }
.sc-city-bat { background: var(--bat);   color: #fff; }

/* Крупный селектор города на /showcase.html */
.sc-city-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 0 20px;
}
.sc-city-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 12px;
  border-radius: var(--r);
  background: var(--bg-card);
  border: 1.5px solid var(--bdr);
  color: var(--ink-2);
  text-decoration: none;
  transition: all .2s;
  text-align: center;
  box-shadow: var(--sh);
}
.sc-city-btn:hover {
  border-color: var(--rose-bdr);
  transform: translateY(-2px);
}
.sc-city-btn-icon  { font-size: 30px; line-height: 1; margin-bottom: 4px; }
.sc-city-btn-name  { font-family: var(--ff-head); font-size: 17px; color: var(--ink); line-height: 1.1; }
.sc-city-btn-sub   { font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }

.sc-city-btn.active {
  background: var(--rose-wash);
  border-color: var(--rose);
}
.sc-city-btn.tbi.active {
  background: var(--tbi-bg);
  border-color: var(--tbi);
  box-shadow: 0 4px 20px rgba(26,107,60,.2);
}
.sc-city-btn.tbi.active .sc-city-btn-name { color: var(--tbi); }
.sc-city-btn.bat.active {
  background: var(--bat-bg);
  border-color: var(--bat);
  box-shadow: 0 4px 20px rgba(18,140,126,.2);
}
.sc-city-btn.bat.active .sc-city-btn-name { color: var(--bat); }

/* Цена-оверлей на фото карточки витрины */
.sc-price-overlay {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--rose);
  font-family: var(--ff-head);
  font-size: 17px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  line-height: 1.1;
  letter-spacing: .01em;
  white-space: nowrap;
}
.sc-card .pcard-body { padding-top: 10px; }
.sc-card .pcard-name { margin-bottom: 6px; }

/* Лейбл «на витрине» на карточках витрины */
.sc-avail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #2f8f2f;
  background: #e8f5e9;
  border: 1px solid #c5e6c8;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
  font-weight: 600;
}
.sc-avail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3fbf4f;
  box-shadow: 0 0 0 3px rgba(63, 191, 79, .18);
  animation: livepulse 2s infinite;
}

@media (max-width: 520px) {
  .sc-city-selector { gap: 6px; padding: 0 16px; }
  .sc-city-btn { padding: 14px 6px; }
  .sc-city-btn-icon { font-size: 24px; }
  .sc-city-btn-name { font-size: 14px; }
  .sc-city-btn-sub  { font-size: 10px; }
}

/* ---------- SHOWCASE MODAL ---------- */
.sc-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(45, 26, 20, .55);
  display: grid;
  place-items: center;
  padding: 16px;
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.sc-modal.open { opacity: 1; pointer-events: auto; }
.sc-modal-box {
  position: relative;
  background: var(--bg-card);
  border-radius: 18px;
  max-width: 820px;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 45% 1fr;
  box-shadow: 0 16px 60px rgba(45, 26, 20, .25);
  animation: scModalIn .24s ease-out;
}
@keyframes scModalIn { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.sc-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-size: 18px;
  display: grid; place-items: center;
  border: 1px solid var(--bdr);
  cursor: pointer;
  z-index: 2;
  transition: all .15s;
}
.sc-modal-close:hover { background: var(--rose); color: #fff; border-color: var(--rose); transform: rotate(90deg); }

.sc-modal-photo {
  background: var(--rose-wash);
  overflow: hidden;
  display: grid;
  place-items: center;
  max-height: 92vh;
}
.sc-modal-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  max-height: 92vh;
}
.sc-modal-ph { font-size: 80px; opacity: .5; }

.sc-modal-info {
  padding: 24px 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 92vh;
}
.sc-modal-pill {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 600;
  align-self: start;
}
.sc-modal-title {
  font-family: var(--ff-head);
  font-size: clamp(22px, 3.5vw, 28px);
  color: var(--ink);
  line-height: 1.2;
  margin: 2px 0;
}
.sc-modal-price {
  font-family: var(--ff-head);
  font-size: 32px;
  color: var(--rose);
  line-height: 1;
}
.sc-modal-caption {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  white-space: pre-wrap;
  padding: 12px 14px;
  background: var(--bg-warm);
  border-radius: var(--rs);
  border: 1px solid var(--bdr);
}
.sc-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
  flex-wrap: wrap;
}
.sc-modal-btn {
  flex: 1;
  min-width: 140px;
  padding: 13px 18px;
  border-radius: var(--rs);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.sc-modal-btn:hover { opacity: .92; }
.sc-modal-btn:active { transform: scale(.98); }
.sc-modal-btn-rose { background: var(--rose); color: #fff; }
.sc-modal-btn-wa   { background: #25d366;     color: #fff; }
.sc-modal-meta {
  font-size: 11px;
  color: var(--ink-3);
  padding-top: 6px;
}

@media (max-width: 660px) {
  .sc-modal { padding: 0; align-items: flex-end; }
  .sc-modal-box {
    grid-template-columns: 1fr;
    border-radius: 18px 18px 0 0;
    max-width: 100%;
    max-height: 94vh;
  }
  .sc-modal-photo { max-height: 44vh; }
  .sc-modal-photo img { max-height: 44vh; }
  .sc-modal-info { max-height: 50vh; padding: 20px; }
  .sc-modal-close { background: rgba(255,255,255,.95); }
}

.pcard-fav {
  position: absolute;
  top: 8px; right: 8px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(3px);
  display: grid; place-items: center;
  font-size: 14px;
  color: var(--ink-3);
  border: 1px solid rgba(255,255,255,.6);
  transition: color .2s, background .2s;
  z-index: 2;
}
.pcard-fav:hover,
.pcard-fav.active {
  color: var(--rose);
  background: #fff;
}

.pcard-body { padding: 12px 13px 14px; }
.pcard-name {
  font-size: 12px;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 5px;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-comp {
  font-size: 10px;
  color: var(--ink-3);
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-price {
  font-family: var(--ff-head);
  font-size: 18px;
  color: var(--rose);
  margin-bottom: 10px;
}
.pcard-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--bdr-2);
  border-radius: 99px;
  padding: 7px;
  font-size: 11px;
  color: var(--ink-2);
  transition: all .2s;
}
.pcard-btn:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

/* ---------- WHY / BENEFITS ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 18px 16px;
  transition: border-color .2s;
}
.why-card:hover { border-color: var(--rose-bdr); }
.why-card.feat {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  box-shadow: 0 6px 22px rgba(200,80,106,.22);
}
.why-card.feat b  { color: #fff; }
.why-card.feat p  { color: rgba(255,255,255,.88); }
.why-card.feat:hover { border-color: var(--rose-deep); }
.wi { font-size: 26px; margin-bottom: 10px; display: block; }
.why-card b {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 5px;
  font-weight: 500;
}
.why-card p {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 40px 20px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand {
  font-family: var(--ff-head);
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.footer-brand em { color: var(--rose); font-style: italic; }
.footer-tag {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.8);
  padding: 4px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--rose); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  font-size: 10px;
  color: rgba(255,255,255,.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  letter-spacing: .06em;
}

/* ---------- PAGE HERO (smaller than home hero) ---------- */
.page-hero {
  background: var(--rose-wash);
  border-bottom: 1px solid var(--bdr);
  padding: 32px 20px;
  text-align: center;
}
.page-hero-inner { max-width: 680px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(24px, 4.5vw, 34px);
  color: var(--ink);
  margin-bottom: 5px;
}
.page-hero h1 em { color: var(--rose); font-style: italic; }
.page-hero p { font-size: 13px; color: var(--ink-2); }

/* ---------- CATALOG FILTERS ---------- */
.filters {
  background: var(--bg-card);
  border-bottom: 1px solid var(--bdr);
  padding: 16px 20px;
  position: sticky;
  top: 57px;
  z-index: 100;
}
.filters-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-lbl {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 4px;
}
.filter-sel {
  background: var(--bg-warm);
  border: 1px solid var(--bdr-2);
  border-radius: var(--rs);
  padding: 7px 10px;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
}
.filter-sel:focus { border-color: var(--rose); outline: none; }
.filter-price {
  display: flex;
  gap: 6px;
  align-items: center;
}
.filter-price input {
  width: 78px;
  background: var(--bg-warm);
  border: 1px solid var(--bdr-2);
  border-radius: var(--rs);
  padding: 7px 10px;
  font-size: 12px;
  color: var(--ink);
}
.filter-price input:focus { border-color: var(--rose); outline: none; }
.filter-price span { color: var(--ink-3); font-size: 11px; }
.filter-reset {
  margin-left: auto;
  font-size: 11px;
  color: var(--ink-3);
  padding: 5px 10px;
  border-radius: 99px;
  transition: color .2s;
}
.filter-reset:hover { color: var(--rose); }

.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip {
  background: var(--bg-warm);
  border: 1px solid var(--bdr-2);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--ink-2);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tag-chip:hover { border-color: var(--rose-bdr); color: var(--rose); }
.tag-chip.active {
  background: var(--rose-wash);
  border-color: var(--rose);
  color: var(--rose);
}
.tag-n {
  font-size: 9px;
  color: var(--ink-3);
  background: rgba(0,0,0,0.04);
  padding: 1px 6px;
  border-radius: 99px;
}
.tag-chip.active .tag-n {
  background: var(--rose);
  color: #fff;
}

.catalog-meta {
  max-width: 1100px;
  margin: 0 auto 14px;
  padding: 0 20px;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .05em;
}
.catalog-meta strong { color: var(--ink); font-weight: 600; }

.more-wrap {
  text-align: center;
  padding: 32px 20px 12px;
}
.btn-more {
  background: transparent;
  border: 1px solid var(--bdr-2);
  border-radius: var(--rs);
  padding: 11px 26px;
  font-size: 12px;
  color: var(--ink-2);
  transition: all .2s;
}
.btn-more:hover { border-color: var(--rose); color: var(--rose); }

/* ---------- PRODUCT PAGE ---------- */
.prod-wrap {
  background: var(--bg-card);
  padding: 28px 20px 44px;
}
.prod-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.prod-crumb {
  max-width: 1100px;
  margin: 0 auto 16px;
  padding: 0 20px;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .05em;
}
.prod-crumb a { color: var(--ink-3); transition: color .2s; }
.prod-crumb a:hover { color: var(--rose); }
.prod-crumb span { margin: 0 6px; }

.prod-gallery { display: flex; flex-direction: column; gap: 10px; }
.prod-main-img {
  aspect-ratio: 4 / 5;
  background: var(--rose-wash);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--bdr);
  position: relative;
}
.prod-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.prod-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.prod-thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--rs);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--rose-wash);
  cursor: pointer;
  transition: border-color .2s;
}
.prod-thumb.active { border-color: var(--rose); }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }

.prod-info { padding: 4px 0; }
.prod-badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.prod-tag {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 99px;
  font-weight: 500;
  letter-spacing: .05em;
}
.prod-tag.cat { background: var(--bg-warm); color: var(--ink-2); border: 1px solid var(--bdr); }
.prod-h1 {
  font-family: var(--ff-head);
  font-size: clamp(22px, 3.5vw, 32px);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}
.prod-comp {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bdr);
}
.prod-comp b { color: var(--ink); font-weight: 500; }

.prod-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.prod-price {
  font-family: var(--ff-head);
  font-size: 36px;
  color: var(--rose);
  line-height: 1;
}
.prod-price-sub { font-size: 12px; color: var(--ink-3); }

/* Размер букета (для роз/кустовых) */
.size-picker { margin: 4px 0 18px; }
.size-picker-label {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); font-weight: 600; margin-bottom: 8px;
}
.size-picker-opts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.size-opt {
  padding: 9px 6px; border: 1.5px solid var(--bdr-2); background: var(--bg-card);
  border-radius: var(--rs); cursor: pointer; text-align: center;
  transition: all .15s; font: inherit; color: var(--ink);
}
.size-opt:hover { border-color: var(--rose-bdr); }
.size-opt.active { background: var(--rose-wash); border-color: var(--rose); }
.size-opt .so-label { font-size: 11px; color: var(--ink-2); margin-bottom: 2px; line-height: 1.2; }
.size-opt .so-price { font-size: 14px; font-weight: 700; color: var(--ink); }
.size-opt.active .so-price { color: var(--rose); }
@media (max-width: 480px) {
  .size-picker-opts { grid-template-columns: repeat(2, 1fr); }
}

.prod-actions { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bdr-2);
  border-radius: var(--rs);
  overflow: hidden;
}
.qty-btn {
  width: 36px; height: 42px;
  font-size: 16px;
  color: var(--ink-2);
  background: var(--bg-warm);
  transition: background .15s;
}
.qty-btn:hover { background: var(--rose-wash); color: var(--rose); }
.qty-val {
  width: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.prod-add {
  flex: 1;
  min-width: 180px;
  background: var(--rose);
  color: #fff;
  border-radius: var(--rs);
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s;
}
.prod-add:hover { opacity: .92; }
.prod-fav {
  width: 42px; height: 42px;
  border: 1px solid var(--bdr-2);
  border-radius: var(--rs);
  color: var(--ink-3);
  font-size: 16px;
  background: var(--bg-warm);
  transition: all .2s;
}
.prod-fav:hover,
.prod-fav.active { color: var(--rose); border-color: var(--rose-bdr); background: var(--rose-wash); }

.prod-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 11px;
  background: var(--tbi-bg);
  color: var(--tbi);
  border-radius: var(--rs);
  font-size: 12px;
  font-weight: 500;
  transition: opacity .2s;
}
.prod-wa:hover { opacity: .9; }

.prod-meta {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.prod-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-warm);
  border-radius: var(--rs);
  font-size: 12px;
  color: var(--ink-2);
}
.prod-meta-item b { color: var(--ink); font-weight: 500; }
.prod-meta-icon { font-size: 16px; }

/* Addons (upsell on product page) */
.addons {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--bdr);
}
.addons-title {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.addons-hint {
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-3);
  font-size: 11px;
  opacity: .85;
  margin-left: 4px;
}
.prod-add-hint {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--tbi-bg);
  color: var(--tbi);
  border-radius: var(--rs);
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid var(--tbi-bdr);
}
.addons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.addon-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--rs);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  user-select: none;
  position: relative;
  outline: none;
}
.addon-card:focus-visible { box-shadow: 0 0 0 3px var(--rose-wash); }
.addon-flash {
  position: absolute;
  top: -10px; right: 10px;
  padding: 3px 10px;
  background: var(--tbi);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 99px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  white-space: nowrap;
}
.addon-flash.show { opacity: 1; transform: none; }
.addon-card:hover { border-color: var(--rose-bdr); }
.addon-card.on { background: var(--rose-wash); border-color: var(--rose); }
.addon-thumb {
  width: 46px; height: 46px;
  border-radius: var(--rs);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.addon-body { flex: 1; line-height: 1.35; }
.addon-name { font-size: 13px; color: var(--ink); font-weight: 500; }
.addon-sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.addon-price {
  font-family: var(--ff-head);
  font-size: 14px;
  color: var(--rose);
  margin-right: 4px;
}
.addon-toggle {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-warm);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 500;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.addon-toggle::before { content: '+'; }
.addon-card.on .addon-toggle { background: var(--rose); color: #fff; }
.addon-card.on .addon-toggle::before { content: '✓'; }

.prod-desc {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.prod-desc h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 12px;
}
.prod-desc p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
  white-space: pre-wrap;
}

@media (max-width: 760px) {
  .prod-layout { grid-template-columns: 1fr; gap: 22px; }
  .prod-wrap { padding: 18px 20px 28px; }
  .prod-price { font-size: 30px; }
}

/* ---------- CART / CHECKOUT ---------- */
.cart-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 10px; }

/* Допы — отдельной карточкой в левой колонке НАД товарами.
   Десктоп: col1 row1, товары идут row2. Summary — col2 row1+row2 (sticky).
   Мобила: переставляем на конец, чтобы не отодвигать кнопку «Оформить заказ». */
.cart-items   { grid-column: 1; grid-row: 1; }
.cart-addons  { grid-column: 1; grid-row: 2; margin-top: 14px; }
.cart-summary { grid-column: 2; grid-row: 1 / span 2; }
.cart-addons .addons {
  margin-top: 0;
  padding: 14px 14px 12px;
  border-top: none;
  background: linear-gradient(180deg, var(--rose-wash, #fff5f7) 0%, var(--bg-card) 70%);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
}
.cart-addons .addons-title {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-2);
}
.cart-addons .addons-list { gap: 6px; }
.cart-addons .addon-card { padding: 8px 12px; }
.cart-addons .addon-card.is-extra { display: none; }
.cart-addons .addons.expanded .addon-card.is-extra { display: flex; }
.addons-more {
  display: block; width: 100%;
  margin-top: 10px;
  padding: 9px 12px;
  background: transparent;
  border: 1px dashed var(--bdr);
  border-radius: var(--rs);
  color: var(--ink-2);
  font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.addons-more:hover { background: var(--bg-card); border-color: var(--rose); color: var(--rose); }
.addons-more:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

@media (max-width: 720px) {
  .cart-addons, .cart-items, .cart-summary {
    grid-column: 1;
    grid-row: auto;
  }
  .cart-items   { order: 1; }
  .cart-summary { order: 2; }
  .cart-addons  { order: 3; margin-top: 8px; }
}

.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto 32px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--rs);
  position: relative;
}
.cart-row-img {
  width: 80px; height: 80px;
  border-radius: var(--rs);
  overflow: hidden;
  background: var(--rose-wash);
  display: grid;
  place-items: center;
  font-size: 30px;
  flex-shrink: 0;
}
.cart-row-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-info .cart-row-name {
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 3px;
  font-weight: 500;
  line-height: 1.35;
}
.cart-row-info .cart-row-sub { font-size: 11px; color: var(--ink-3); }

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bdr-2);
  border-radius: var(--rs);
  overflow: hidden;
}
.cart-qty button {
  width: 28px; height: 32px;
  color: var(--ink-2);
  background: var(--bg-warm);
  font-size: 14px;
  transition: color .15s;
}
.cart-qty button:hover { color: var(--rose); }
.cart-qty input {
  width: 38px; height: 32px;
  border: none;
  text-align: center;
  font-size: 12px;
  color: var(--ink);
  background: var(--bg-card);
  outline: none;
  -moz-appearance: textfield;
}
.cart-qty input::-webkit-outer-spin-button,
.cart-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-row-price {
  font-family: var(--ff-head);
  font-size: 16px;
  color: var(--rose);
  min-width: 64px;
  text-align: right;
}
.cart-row-remove {
  color: var(--ink-3);
  font-size: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  transition: all .15s;
}
.cart-row-remove:hover { color: #c53030; background: var(--rose-wash); }

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 20px;
  position: sticky;
  top: 80px;
  box-shadow: var(--sh);
}
.summary-title {
  font-family: var(--ff-head);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bdr);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink-2);
}
.summary-row b { color: var(--ink); font-weight: 500; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 4px;
  border-top: 1px solid var(--bdr);
  margin-top: 10px;
}
.summary-total span { font-size: 13px; color: var(--ink-2); }
.summary-total b { font-family: var(--ff-head); font-size: 22px; color: var(--rose); font-weight: 700; }

.btn-block {
  width: 100%;
  margin-top: 16px;
  display: inline-flex;
  justify-content: center;
  background: var(--rose);
  color: #fff;
  border-radius: var(--rs);
  padding: 13px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s;
}
.btn-block:hover { opacity: .92; }
.summary-note {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 12px;
  line-height: 1.55;
}
.cart-checkout-hint {
  background: var(--bg-warm, #faf6f1);
  border: 1px solid var(--bdr, #ece5dc);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 10px 0;
  font-size: 12px;
  color: var(--ink-2, #555);
  line-height: 1.5;
}
.summary-sub {
  font-size: 10px;
  color: var(--ink-3);
  line-height: 1.5;
  padding: 0 0 4px;
  margin-top: -3px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
}
.empty-state-icon { font-size: 48px; margin-bottom: 14px; }
.empty-state h3 {
  font-family: var(--ff-head);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 20px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* Checkout summary rows */
.co-sum-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--bdr);
}
.co-sum-row:last-child { border-bottom: none; }
.co-sum-img {
  width: 44px; height: 44px;
  border-radius: var(--rs);
  overflow: hidden;
  background: var(--rose-wash);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.co-sum-img img { width: 100%; height: 100%; object-fit: cover; }
.co-sum-name { font-size: 12px; color: var(--ink); line-height: 1.35; }
.co-sum-sub { font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.co-sum-price { font-family: var(--ff-head); font-size: 14px; color: var(--rose); }

/* Checkout form */
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.form-section {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 20px;
}
.form-section h3 {
  font-family: var(--ff-head);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
}
.form-section-sub {
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field { display: flex; flex-direction: column; gap: 4px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .04em;
}
.form-field label .req { color: var(--rose); }
.form-input, .form-textarea, .form-select {
  background: var(--bg-warm);
  border: 1px solid var(--bdr-2);
  border-radius: var(--rs);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--rose); }
.form-textarea { resize: vertical; min-height: 64px; }

.form-city-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-city-opt {
  padding: 12px;
  border: 1.5px solid var(--bdr-2);
  border-radius: var(--rs);
  text-align: center;
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s;
  background: var(--bg-warm);
}
.form-city-opt:hover { border-color: var(--rose-bdr); }
.form-city-opt.on.tbi { background: var(--tbi-bg); border-color: var(--tbi); color: var(--tbi); }
.form-city-opt.on.bat { background: var(--bat-bg); border-color: var(--bat); color: var(--bat); }
.form-city-opt b { display: block; font-family: var(--ff-head); font-size: 15px; margin-bottom: 2px; color: inherit; }

/* Способ получения: доставка / самовывоз */
.form-method-pick {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.form-method-opt {
  padding: 12px;
  border: 1.5px solid var(--bdr-2);
  border-radius: var(--rs);
  font-size: 12px; color: var(--ink-2);
  cursor: pointer; transition: all .15s;
  background: var(--bg-warm);
  display: block;
}
.form-method-opt input { display: none; }
.form-method-opt b { display: block; font-family: var(--ff-head); font-size: 15px; margin-bottom: 2px; color: inherit; }
.form-method-opt:hover { border-color: var(--rose-bdr); }
.form-method-opt.on { background: var(--rose-wash); border-color: var(--rose); color: var(--rose); }

.form-pickup-note {
  background: var(--bg-warm); border: 1px dashed var(--rose-bdr);
  color: var(--ink-2); padding: 10px 14px; border-radius: var(--rs);
  font-size: 12px; line-height: 1.5; margin-bottom: 14px;
}
.form-pickup-note b { color: var(--rose); }

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
}
.form-check input { accent-color: var(--rose); width: 16px; height: 16px; }

.form-hint {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-top: 4px;
}
.form-input.invalid,
.form-select.invalid {
  border-color: #c53030;
  background: #fff5f5;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Order success screen */
.co-success {
  background: var(--bg-card);
  border: 1px solid var(--tbi-bdr);
  border-radius: var(--r);
  padding: 36px 24px 28px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--sh);
}

/* ====== Thank-You page ====== */
.thank-page { padding: 50px 16px 80px; min-height: 60vh; }
.thank-card {
  background: var(--bg-card);
  border: 1px solid var(--tbi-bdr);
  border-radius: var(--r);
  padding: 40px 28px 32px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--sh);
}
.thank-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--tbi-bg); color: var(--tbi);
  display: grid; place-items: center;
  font-size: 36px; font-weight: 700;
  margin: 0 auto 16px;
}
.thank-title { font-family: var(--ff-head); font-size: 28px; margin-bottom: 10px; color: var(--ink); }
.thank-orderid { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.thank-orderid code {
  background: var(--bg-warm); padding: 4px 12px; border-radius: 6px;
  font-family: ui-monospace, monospace; font-size: 14px; color: var(--rose); font-weight: 600;
}
.thank-promise {
  background: var(--tbi-bg); color: var(--tbi);
  border: 1px solid var(--tbi-bdr); border-radius: var(--rs);
  padding: 12px 16px; font-size: 13px; line-height: 1.5;
  margin: 16px 0 22px;
}
.thank-summary { text-align: left; margin: 18px 0 22px; }
.thank-list { background: var(--bg-warm); border-radius: var(--rs); padding: 12px 14px; margin-bottom: 12px; }
.thank-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 4px 0; color: var(--ink-2); }
.thank-row b { color: var(--ink); white-space: nowrap; }
.thank-totals { font-size: 13px; }
.thank-totals > div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink-2); }
.thank-totals .thank-total-row { border-top: 1px dashed var(--bdr); margin-top: 6px; padding-top: 8px;
                                 font-family: var(--ff-head); font-size: 18px; color: var(--ink); }
.thank-totals .thank-total-row b { color: var(--rose); }
.thank-wa-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: #25d366; color: #fff;
  padding: 13px 22px; border-radius: var(--rs);
  font-size: 15px; font-weight: 600; text-decoration: none;
  width: 100%; max-width: 320px;
}
.thank-wa-btn:hover { filter: brightness(1.05); }
.thank-wa-note { font-size: 11px; color: var(--ink-3); margin-top: 8px; }
.thank-back { margin-top: 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.thank-back .btn { font-size: 13px; }
.co-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--tbi-bg);
  color: var(--tbi);
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.co-success-title {
  font-family: var(--ff-head);
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 6px;
}
.co-order-id {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  background: var(--bg-warm);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--bdr);
  margin: 4px 0 18px;
}
.co-success-sub {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 22px;
  line-height: 1.6;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.co-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: var(--rs);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
  transition: transform .2s, box-shadow .2s, opacity .2s;
  margin-bottom: 14px;
  min-width: 260px;
}
.co-wa-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,211,102,.4); opacity: .98; }
.co-wa-note {
  font-size: 11px;
  color: var(--ink-3);
  margin: -2px 0 14px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.co-success-back {
  display: inline-block;
  font-size: 12px;
  color: var(--ink-3);
  padding: 8px 12px;
  transition: color .2s;
}
.co-success-back:hover { color: var(--rose); }

.form-submit-banner {
  padding: 14px 16px;
  border-radius: var(--rs);
  font-size: 12px;
  display: none;
}
.form-submit-banner.ok  { display: block; background: var(--tbi-bg); color: var(--tbi); border: 1px solid var(--tbi-bdr); }
.form-submit-banner.err { display: block; background: #ffe6ea; color: #c53030; border: 1px solid #f4c8d2; }

/* «Этот букет популярен» — баннер на чекауте (заменил countdown 15-минутного резерва). */
.co-popular {
  padding: 10px 14px;
  background: var(--bg-warm, #faf6f1);
  border: 1px solid var(--bdr, #ece5dc);
  border-radius: var(--rs);
  font-size: 12px;
  color: var(--ink-2, #555);
  margin-bottom: 4px;
  line-height: 1.45;
}

/* Промис «оператор свяжется» на success-экране */
.co-success-promise {
  margin: 14px auto 0; max-width: 360px;
  padding: 10px 14px;
  background: var(--tbi-bg, #e6f4ec); color: var(--tbi, #1a6b3c);
  border: 1px solid var(--tbi-bdr, #b8dcc6);
  border-radius: var(--rs);
  font-size: 12px; line-height: 1.5;
}
.co-success-promise b { font-weight: 600; }

/* responsive cart/checkout */
@media (max-width: 860px) {
  .cart-page { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 560px) {
  .cart-row {
    grid-template-columns: 64px 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    padding: 10px 40px 10px 10px;
  }
  .cart-row-img    { grid-column: 1; grid-row: 1 / span 2; width: 64px; height: 64px; font-size: 26px; }
  .cart-row-info   { grid-column: 2 / span 2; grid-row: 1; min-width: 0; }
  .cart-qty        { grid-column: 2; grid-row: 2; justify-self: start; align-self: center; }
  .cart-row-price  { grid-column: 3; grid-row: 2; align-self: center; text-align: right; min-width: 0; }
  .cart-row-remove { position: absolute; top: 8px; right: 8px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- INFO PAGES (delivery / contacts) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  padding: 22px 22px 20px;
  box-shadow: var(--sh);
}
.info-card h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
}
.info-card h3 em { color: var(--rose); font-style: italic; }
.info-card .info-sub {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.info-card p { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-bottom: 10px; }
.info-card ul { list-style: none; padding: 0; margin: 0 0 10px; }
.info-card li {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  padding: 6px 0;
  border-bottom: 1px dashed var(--bdr);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.info-card li:last-child { border-bottom: none; }
.info-card li b { color: var(--ink); font-weight: 500; }
.info-card a.info-link {
  color: var(--rose);
  font-weight: 500;
  transition: opacity .2s;
}
.info-card a.info-link:hover { opacity: .8; }

.info-card.tbi { background: var(--tbi-bg); border-color: var(--tbi-bdr); }
.info-card.bat { background: var(--bat-bg); border-color: var(--bat-bdr); }
.info-card.tbi h3 em { color: var(--tbi); }
.info-card.bat h3 em { color: var(--bat); }

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--bg-warm);
  border: 1px solid var(--bdr);
  border-radius: 99px;
  font-size: 11px;
  color: var(--ink-2);
}

.contact-map {
  margin-top: 14px;
  border: 1px solid var(--bdr);
  border-radius: var(--rs);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-warm);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Delivery calculator */
.calc { margin-top: 4px; }
.calc-label {
  display: block;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.calc-input {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--tbi-bdr);
  border-radius: var(--rs);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.calc-input:focus { border-color: var(--tbi); box-shadow: 0 0 0 3px rgba(26,107,60,.12); }

.calc-result { margin-top: 10px; min-height: 36px; }
.calc-placeholder {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
  padding: 10px 14px;
  border: 1px dashed var(--bdr-2);
  border-radius: var(--rs);
  background: rgba(255,255,255,.5);
}
.calc-placeholder b { color: var(--ink-2); font-weight: 500; }

.calc-hit {
  background: #fff;
  border: 1.5px solid var(--tbi);
  border-radius: var(--rs);
  padding: 14px 16px;
  box-shadow: 0 2px 12px rgba(26,107,60,.1);
}
.calc-hit-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.calc-price {
  font-family: var(--ff-head);
  font-size: 32px;
  color: var(--tbi);
  line-height: 1;
}
.calc-price-note {
  font-size: 11px;
  color: var(--ink-3);
}
.calc-time {
  font-size: 12px;
  color: var(--ink-2);
  background: var(--bg-warm);
  border: 1px solid var(--bdr);
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
.calc-meta {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 6px;
  line-height: 1.5;
}
.calc-meta b { color: var(--ink); font-weight: 500; }

.calc-multi {
  background: #fff;
  border: 1px solid var(--bdr);
  border-radius: var(--rs);
  padding: 12px 14px;
}
.calc-multi-hdr {
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--ink-3);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.calc-multi-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink-2);
}
.calc-multi-row b {
  font-family: var(--ff-head);
  color: var(--tbi);
  font-size: 16px;
  min-width: 54px;
}

.calc-miss {
  background: #fff;
  border: 1px solid var(--bdr);
  border-radius: var(--rs);
  padding: 14px 16px;
}
.calc-miss-title { font-size: 13px; color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.calc-miss-sub { font-size: 12px; color: var(--ink-2); line-height: 1.5; margin-bottom: 10px; }
.calc-miss-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tbi);
  color: #fff;
  border-radius: var(--rs);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  transition: opacity .2s;
}
.calc-miss-btn:hover { opacity: .9; }

/* Плоская цена (Батуми — единый тариф) */
.flat-price {
  background: #fff;
  border: 1.5px solid var(--bat);
  border-radius: var(--rs);
  padding: 18px 16px;
  text-align: center;
  margin-top: 4px;
}
.flat-price-value {
  font-family: var(--ff-head);
  font-size: 38px;
  color: var(--bat);
  line-height: 1;
  margin-bottom: 8px;
}
.flat-price-note {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ---------- FLOATING BUTTONS ---------- */
.wa-fab {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(37,211,102,.4);
  z-index: 90;
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }

/* ---------- PRODUCT STICKY CTA (mobile, над таббаром) ---------- */
.prod-sticky-cta { display: none; }

@media (max-width: 640px) {
  body.prod-page { padding-bottom: 140px; }
  .prod-sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 70px;
    z-index: 140;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--bdr);
    box-shadow: 0 -4px 18px rgba(45,26,20,.06);
  }
  .prod-sticky-price {
    font-family: var(--ff-head);
    font-size: 22px;
    color: var(--rose);
    white-space: nowrap;
    min-width: 70px;
  }
  .prod-sticky-btn {
    flex: 1;
    background: var(--rose);
    color: #fff;
    border: none;
    border-radius: var(--rs);
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
  }
  .prod-sticky-btn:hover { opacity: .92; }
  .wa-fab { bottom: 156px; }  /* выше sticky CTA на product page */
}

/* ---------- MOBILE TAB BAR ---------- */
.tabbar { display: none; }

@media (max-width: 640px) {
  body { padding-bottom: 70px; }

  .tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--ink);                       /* тёмный фон — контрастно, как в Instagram/Telegram */
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .18);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }

  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    position: relative;
    transition: color .15s, transform .15s;
  }
  .tab-item:hover,
  .tab-item:active { color: #fff; }
  .tab-item.active {
    color: #fff;
  }
  .tab-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--rose);
    border-radius: 0 0 3px 3px;
  }
  .tab-icon {
    display: grid; place-items: center;
    width: 26px; height: 26px;
  }
  .tab-icon svg {
    width: 23px; height: 23px;
    display: block;
    stroke-width: 2;
  }
  .tab-item.active .tab-icon svg {
    stroke: var(--rose);
  }
  .tab-label {
    font-size: 10.5px;
    letter-spacing: .02em;
    font-weight: 500;
    white-space: nowrap;
  }
  .tab-item.active .tab-label { font-weight: 600; color: var(--rose); }
  .tab-badge {
    position: absolute;
    top: 2px;
    left: calc(50% + 5px);
    background: var(--rose);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--ink);                 /* обводка под цвет фона tabbar */
    box-sizing: content-box;
  }

  /* WhatsApp FAB поднимается над таббаром */
  .wa-fab { bottom: 86px; }

  /* Упрощение шапки на мобильном */
  .logo-sub { display: none; }
  .logo-name { font-size: 15px; }
  .nav-logo-mark { width: 36px; height: 36px; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger    { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* прячем lang/cur/fav из верхней шапки — они переехали в бургер-меню */
  .nav-right > .lang-sw,
  .nav-right > .cur-sw,
  .nav-right > .fav-btn { display: none; }
  .nav-right { gap: 6px; }
  .nav { gap: 10px; padding: 10px 16px; }

  /* HERO: фото сверху, компактный текст */
  .hero { padding: 20px 20px 28px; text-align: center; }
  .hero-photo-mobile {
    display: block;
    aspect-ratio: 1 / 1;
    width: min(280px, 70vw);
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(200,80,106,.22);
    background: var(--rose-wash);
  }
  .hero-photo-mobile img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hero-eyebrow { justify-content: center; }
  .hero h1 { font-size: clamp(24px, 7.5vw, 32px); line-height: 1.15; }
  .hero-sub { margin-left: auto; margin-right: auto; font-size: 13px; }
  .hero-fiche { display: none; }
  .hero-stats { display: none; }
  .hero-cta { margin-left: auto; margin-right: auto; max-width: 320px; }
  .hero-cta .btn-primary { width: 100%; }

  /* Карточки городов: фото сверху, эмодзи-иконку прячем */
  .city-pick { padding: 20px 16px 24px; }
  .cp-grid { gap: 10px; }
  .cp-card { padding: 0 0 14px; overflow: hidden; border-radius: 14px; border-width: 1px; }
  .cp-photo {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--rose-wash);
    overflow: hidden;
    margin-bottom: 10px;
  }
  .cp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .cp-icon { display: none; }
  .cp-name { font-size: 17px; }
  .cp-addr { font-size: 10px; padding: 0 8px; }
  .cp-count { font-size: 10px; padding: 0 8px; }

  /* Категории: жёстко 2 колонки на мобильном (как в референсе) */
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile-title { font-size: 18px; }
  .cat-tile-label { font-size: 8px; }
  .cat-tile-foot  { font-size: 10px; }
  .cat-tile-body  { left: 10px; right: 10px; bottom: 10px; }

  /* Blocks «почему мы» — плотнее 2 колонки */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .why-card { padding: 14px 12px; }
  .why-card b { font-size: 12px; }
  .why-card p { font-size: 10px; line-height: 1.4; }

  .pgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 420px) {
  .nav-logo-mark { width: 32px; height: 32px; }
  .logo-name { font-size: 14px; }
  .cart-btn { padding: 7px 10px; }
}
