/* Резервный магазин «Разноцветы» — в стиле основного сайта razno-cvety.ru:
   сиреневый #b48afc, сливовый текст, лавандовые фоны, шрифт Tinos, скругления 14–20 px. */
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/tinos-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/tinos-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/tinos-700-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Tinos'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/tinos-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/caveat-500-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/caveat-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #ffffff; --bg2: #f6f1f8; --bg3: #faf7fa; --line: #e8dcee; --line2: #e3d6ea;
  --text: #2b1f2d; --text2: #403342; --hint: #7a6b7c;
  --accent: #b48afc; --accent2: #9b6bc4; --accent3: #bf91e2; --accent-text: #ffffff; --link: #9b6bc4;
  --ok: #2e7d32; --err: #c0392b;
  --radius: 14px;
  --serif: "Tinos", "Times New Roman", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
/* всегда светлый вид, как на основном сайте (логотип на белом); тёмную тему не включаем — решение владельца 02.11 */

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.45 var(--serif); }
body { padding-bottom: env(safe-area-inset-bottom); }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- шапка (как на сайте: меню · логотип · корзина, ниже телефон) ---------- */
.top { padding: 14px 16px 6px; }
.brand { font-size: 22px; font-weight: 700; }
.sub { color: var(--hint); font-size: 14px; }
.hdr { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 8px 12px 0; }
.hdr__logo { justify-self: center; display: block; width: 170px; max-width: 100%; height: auto; border-radius: 10px; }
.icon-btn { position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--text);
  display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 26px; height: 26px; }
.badge { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: #e53935; color: #fff; font: 700 12px/19px var(--sans); text-align: center; }
.hdr-phone { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 2px 16px 8px; color: var(--text);
  text-decoration: none; font-size: 17px; }
.hdr-phone small { color: var(--hint); font-size: 13px; }
.search { padding: 4px 16px 8px; }
.search input { width: 100%; padding: 11px 16px; border: 1px solid var(--line2); border-radius: 999px; background: var(--bg3);
  color: var(--text); font-size: 16px; }
.search input:focus { outline: none; border-color: var(--accent); }

/* полоса преимуществ — как на сайте, только то, что работает в этом магазине */
.adv { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 12px; scrollbar-width: none; }
.adv::-webkit-scrollbar { display: none; }
.adv div { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 2px solid var(--line2);
  border-radius: 14px; background: var(--bg3); font-size: 14px; font-weight: 700; color: var(--text2); line-height: 1.2; }
.adv svg { width: 22px; height: 22px; flex: none; stroke: var(--accent2); }

/* «Подберите букет» — плитки по поводу / для кого */
.pick { background: var(--bg2); padding: 14px 0 14px; }
.pick h2 { margin: 0 0 6px; text-align: center; font-size: 24px; }
.tabs2 { display: flex; justify-content: center; gap: 22px; margin-bottom: 10px; }
.tabs2 button { border: 0; background: none; padding: 2px 0; font-size: 17px; color: var(--hint); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs2 button[aria-selected="true"] { color: var(--text); font-weight: 700; border-color: var(--accent); }
.tiles { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { flex: none; width: 128px; height: 160px; border: 0; padding: 0; border-radius: 16px; overflow: hidden; position: relative;
  background: #d9cfe0 center / cover no-repeat; cursor: pointer; scroll-snap-align: start; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 6px 8px; color: #fff; font: 700 15px/1.15 var(--serif);
  text-align: center; background: linear-gradient(transparent, rgba(43,31,45,.78)); }

/* фильтр каталога: Бюджет · Цветы · Повод · Сортировка */
.filters { position: sticky; top: 0; z-index: 3; background: var(--bg); padding: 10px 0 6px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line2); border-radius: 999px; padding: 8px 14px; background: var(--bg3);
  color: var(--text); font-size: 15px; cursor: pointer; white-space: nowrap; }
.chip[aria-pressed="true"], .chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.chip.reset { border-style: dashed; color: var(--hint); background: transparent; }
.count { color: var(--hint); font-size: 14px; padding: 4px 16px 0; }

main { padding: 6px 12px 24px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* карточка каталога — как на сайте: фото, название, цена, кнопка */
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg); color: inherit; cursor: pointer; position: relative; }
.card__img { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover;
  background: var(--bg2); color: var(--hint); font-size: 28px; }
.card__body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__name { font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.5em; }
.card__price { font-weight: 700; font-size: 17px; }
.card__btn { margin-top: auto; border: 0; border-radius: 10px; padding: 8px 6px; background: var(--accent3); color: #fff;
  font: 700 14px/1.2 var(--serif); cursor: pointer; }
.card__today { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.92);
  color: #5a3b74; font: 700 12px/1.3 var(--sans); }

.empty { color: var(--hint); text-align: center; padding: 40px 16px; }

/* нижняя панель — только в обычном браузере (в Telegram своя кнопка и «назад») */
.navbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 6;
  display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 0; border: 1px solid var(--line2); border-radius: 20px;
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(8px); box-shadow: 0 4px 16px rgba(62,42,66,.18); }
.navbar button { position: relative; border: 0; background: none; color: var(--text2); font: 12px/1.2 var(--sans); padding: 4px 0;
  display: grid; justify-items: center; gap: 2px; cursor: pointer; }
.navbar button.on { color: var(--accent2); font-weight: 700; }
.navbar svg { width: 24px; height: 24px; }
.navbar .badge { top: -2px; right: calc(50% - 22px); }
body.has-nav main { padding-bottom: 92px; }

/* ---------- окна снизу (карточка, меню, выбор фильтра) ---------- */
.sheet { position: fixed; inset: 0; z-index: 10; }
.sheet__bg { position: absolute; inset: 0; background: rgba(43,31,45,.5); }
.sheet__card { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: var(--bg);
  border-radius: 20px 20px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .sheet__card { left: 50%; right: auto; width: 720px; transform: translateX(-50%); } }
.sheet__card--pad { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
.sheet__card--pad h2 { margin: 0 44px 12px 0; font-size: 22px; }
.sheet__x { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(43,31,45,.55); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; }
.sheet__x--light { background: var(--bg2); color: var(--text); }

/* галерея в карточке букета — листается, фото целиком */
.gal { position: relative; }
.gal__strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--bg2); }
.gal__strip::-webkit-scrollbar { display: none; }
.gal__item { flex: none; width: 100%; height: min(60vh, 560px); border: 0; padding: 0; scroll-snap-align: center;
  background: transparent center / contain no-repeat; cursor: zoom-in; display: grid; place-items: center; color: var(--hint); font-size: 40px; }
.gal__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.gal__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(155,107,196,.35); }
.gal__dots i.on { background: var(--accent2); }
.photo-cap { margin: 6px 16px 0; color: var(--hint); font-size: 14px; }
.sheet__body { padding: 10px 16px 0; }
.p-meta { color: var(--hint); font-size: 14px; }
.p-meta b { color: var(--accent2); }
.sheet__body h2 { margin: 2px 0 10px; font-size: 24px; line-height: 1.2; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sizes .chip { border-radius: 12px; }
.sizes .chip[aria-pressed="true"] { background: var(--bg2); color: var(--text); border-color: var(--accent2); font-weight: 700; }
.price { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.desc { white-space: pre-line; color: var(--text); margin: 0 0 10px; font-size: 16px; }
.more { margin: 0 0 12px; }
.more summary { cursor: pointer; color: var(--link); margin-bottom: 6px; }
.ask-florist { display: block; width: 100%; margin-top: 8px; border: 0; background: none; color: var(--link); font: 15px var(--serif); cursor: pointer; }

/* дополнения к букету — как на сайте */
.ups { background: var(--bg3); border-radius: 18px; padding: 12px; margin: 10px 0; }
.ups__t { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.ups__c { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--bg); }
.ups__c + .ups__c { margin-top: 8px; }
.ups__c .im { width: 56px; height: 56px; border-radius: 10px; background: var(--bg2) center / cover no-repeat; }
.ups__c b { display: block; font-size: 15px; line-height: 1.2; }
.ups__c span { display: block; color: var(--hint); font-size: 13px; }
.ups__c em { font-style: normal; font-weight: 700; }
.ups__b { border: 0; border-radius: 12px; padding: 9px 12px; background: var(--accent3); color: #fff; font: 700 15px var(--serif); cursor: pointer; white-space: nowrap; }
.ups__b.done { background: var(--bg2); color: var(--text2); }

.zoom { position: fixed; inset: 0; z-index: 20; background: #000; overflow: auto; display: grid; place-items: center; touch-action: pinch-zoom pan-x pan-y; }
.zoom img { max-width: 100%; max-height: 100vh; object-fit: contain; cursor: zoom-in; }
.zoom.big { place-items: start; }
.zoom.big img { max-width: none; max-height: none; width: 200%; cursor: zoom-out; }
.zoom .sheet__x { position: fixed; }

/* списки в окнах: разделы, варианты фильтра, меню */
.catlist { display: grid; grid-template-columns: 1fr; gap: 6px; }
@media (min-width: 560px) { .catlist { grid-template-columns: 1fr 1fr; } }
.catlist button, .menu a, .menu button { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0;
  border-radius: 12px; padding: 12px 14px; background: var(--bg2); color: var(--text); font: 16px var(--serif); cursor: pointer;
  text-align: left; text-decoration: none; width: 100%; }
.catlist button[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); }
.catlist .muted, .menu .muted { color: var(--hint); font-size: 14px; }
.catlist button[aria-pressed="true"] .muted { color: inherit; opacity: .85; }
.grp-t { font-weight: 700; margin: 14px 0 6px; font-size: 16px; }
.menu { display: grid; gap: 8px; }

/* ---------- корзина, оформление ---------- */
.btn { display: block; width: 100%; border: 0; border-radius: 14px; padding: 14px; margin-top: 12px; background: var(--accent2);
  color: #fff; font: 700 17px var(--serif); cursor: pointer; text-align: center; text-decoration: none; }
.btn[disabled] { opacity: .6; }
.btn--ghost { background: var(--bg2); color: var(--text); }
.fab { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5; border: 0;
  border-radius: 14px; padding: 14px; background: var(--accent2); color: #fff; font: 700 17px var(--serif);
  box-shadow: 0 4px 16px rgba(62,42,66,.25); cursor: pointer; }
body.has-nav .fab { bottom: calc(86px + env(safe-area-inset-bottom)); }
body.has-fab main { padding-bottom: 88px; }
body.has-fab.has-nav main { padding-bottom: 160px; }

.back { border: 0; background: transparent; color: var(--link); font: 16px var(--serif); padding: 0 0 6px; cursor: pointer; }
.note { color: var(--hint); font-size: 14px; margin: 10px 0 0; }
.note a { color: var(--link); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 64px; height: 80px; border-radius: 10px; background: var(--bg2) center / cover no-repeat; display: grid; place-items: center; color: var(--hint); }
.line__name { font-size: 15px; line-height: 1.25; }
.line__size { color: var(--hint); font-size: 14px; }
.line__price { font-weight: 700; margin-top: 2px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: var(--bg3); color: var(--text); font-size: 18px; cursor: pointer; }
.qty span { min-width: 18px; text-align: center; }

.sum { margin-top: 14px; background: var(--bg2); border-radius: 14px; padding: 12px 14px; }
.sum div { display: flex; justify-content: space-between; padding: 2px 0; }
.sum .total { font-weight: 700; font-size: 18px; border-top: 1px solid var(--line2); margin-top: 6px; padding-top: 8px; }
.sum .muted { color: var(--hint); }

fieldset { border: 1px solid var(--line); border-radius: 16px; margin: 0 0 12px; padding: 8px 14px 12px; }
legend { font-weight: 700; font-size: 18px; padding: 0 6px; }
.fld { display: block; margin: 8px 0; font-size: 14px; color: var(--hint); }
.fld input, .fld select, .fld textarea { display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid var(--line2);
  border-radius: 12px; background: var(--bg3); color: var(--text); font: 16px var(--serif); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); }
.fld small { display: block; margin-top: 4px; }
.chk { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 15px; }
.chk input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--accent2); }
.consent a { color: var(--link); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg2); padding: 4px; border-radius: 12px; }
.seg label { text-align: center; padding: 9px; border-radius: 9px; cursor: pointer; font-size: 16px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--bg); font-weight: 700; box-shadow: 0 1px 3px rgba(62,42,66,.15); }
.seg label.disabled { opacity: .45; cursor: not-allowed; }
.err { color: var(--err); margin: 10px 0 0; }
.paybox { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 15px; background: var(--bg3); }
.paybox ol { margin: 6px 0 0; padding-left: 20px; }
.paybox li { margin: 4px 0; }

/* превью открытки — как на сайте (сниппет 13840): бумажная открытка, рукописный шрифт */
.pcard { display: flex; justify-content: center; padding: 14px 8px; margin: 4px 0 6px; background: var(--bg3); border: 1px solid var(--line); border-radius: 12px; }
.pcard__pc { position: relative; width: 270px; max-width: 100%; min-height: 170px; padding: 20px 24px 14px; border: 1px solid #bf91e2;
  border-radius: 6px; background: #f6f1f8; color: #403342; transform: rotate(-2deg); }
.pcard__txt, .pcard__sig { font-family: 'Caveat', cursive; white-space: pre-wrap; overflow-wrap: anywhere; }
.pcard__txt { font-size: 23px; line-height: 1.25; min-height: 80px; padding-right: 14px; }
.pcard__txt.is-empty { color: #8a7b8c; }
.pcard__sig { font-size: 20px; text-align: right; margin-top: 6px; min-height: 24px; }
.pcard__fl { position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; fill: none; stroke: #bf91e2; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* мои заказы */
.order { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; background: var(--bg3); }
.order__h { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.order__s { color: var(--hint); font-size: 14px; margin: 2px 0 6px; }
.order ul { margin: 0 0 6px; padding-left: 18px; font-size: 15px; }
.order .btn { margin-top: 6px; padding: 10px; font-size: 15px; }

.done { text-align: center; padding: 48px 20px; }
.done__icon { font-size: 56px; }
.done h2 { margin: 12px 0 8px; }
.done p { color: var(--hint); white-space: pre-line; }

.toast { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 15; display: flex;
  justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #2b1f2d; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.25); }
body.has-nav .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
.toast button { border: 0; border-radius: 10px; padding: 8px 12px; background: var(--accent); color: #fff; font: 700 15px var(--serif); cursor: pointer; }

ul.plain { margin: 0; padding-left: 18px; font-size: 15px; }
ul.plain li { margin: 4px 0; }
.h3s { font-size: 17px; margin: 16px 0 6px; }
.zones { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.zones td { border-top: 1px solid var(--line); padding: 6px 4px; vertical-align: top; }
.zones td:last-child { white-space: nowrap; text-align: right; font-weight: 700; }
.link-btn { flex: none; border: 0; border-radius: 999px; padding: 8px 12px; background: var(--bg2); color: var(--text); font: 15px var(--serif); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* на компьютере нижняя панель и кнопка корзины — компактные, по центру */
@media (min-width: 900px) {
  .navbar, .fab { left: 50%; right: auto; width: 560px; transform: translateX(-50%); }
}

/* на широком экране — содержимое по центру, как на сайте: каталог до 1200 px, корзина и оформление до 720 px */
@media (min-width: 900px) {
  .hdr, .hdr-phone, .search, .adv, .pick h2, .count, #v-catalog main, #v-orders main, .filters .chips {
    max-width: 1200px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
  .search { width: 100%; max-width: 720px; }
  /* ленты по центру; если не помещаются — листаются, начало не обрезается */
  .adv > :first-child, .tiles > :first-child { margin-left: auto; }
  .adv > :last-child, .tiles > :last-child { margin-right: auto; }
  .tile { width: 150px; height: 188px; }
  #v-cart .top, #v-cart main, #v-checkout .top, #v-checkout main, #v-orders .top, .done {
    max-width: 720px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
}
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* последний заказ этого браузера — если после оплаты страница банка зависла, покупатель видит статус, вернувшись в магазин */
.lastorder { display: flex; align-items: center; gap: 8px; margin: 6px 16px 4px; padding: 10px 12px; border-radius: 14px;
  background: var(--bg2); border: 1px solid var(--line2); font-size: 15px; }
.lastorder span { flex: 1; }
.lastorder button { border: 0; border-radius: 10px; padding: 7px 12px; background: var(--accent); color: #fff; font: 700 14px var(--serif); cursor: pointer; }
.lastorder .x { background: none; color: var(--hint); font-size: 20px; padding: 2px 6px; }
@media (min-width: 900px) { .lastorder { max-width: 720px; margin-left: auto; margin-right: auto; } }

/* подвал с реквизитами — как на основном сайте */
.footer { background: var(--bg2); border-top: 1px solid var(--line); margin-top: 8px; padding: 22px 16px 18px; color: var(--text2); font-size: 15px; }
.footer__cols { display: grid; gap: 16px; }
.footer__cols div { display: flex; flex-direction: column; gap: 4px; }
.footer__cols b { color: var(--text); font-size: 16px; margin-bottom: 2px; }
.footer a { color: var(--link); text-decoration: none; }
.footer__req { margin: 16px 0 6px; color: var(--hint); font-size: 14px; line-height: 1.5; }
.footer__copy { margin: 0; color: var(--hint); font-size: 13px; }
body.has-nav .footer, body.has-fab .footer { padding-bottom: 100px; }
body.has-fab.has-nav .footer { padding-bottom: 170px; }
@media (min-width: 640px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .footer > * { max-width: 1200px; margin-left: auto; margin-right: auto; } }
/* в каталоге место под нижнюю панель оставляет подвал */
body.has-nav #v-catalog main, body.has-fab #v-catalog main { padding-bottom: 24px; }

/* видео букетов — как на основном сайте: в каталоге короткий показ при прокрутке, в карточке — по кнопке */
.card__vid { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; opacity: 0;
  transition: opacity .35s; pointer-events: none; background: transparent; }
.card__vid.on { opacity: 1; }
.card__vbadge { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(43,31,45,.6);
  color: #fff; font: 700 12px/1.3 var(--sans); pointer-events: none; }
.gal__video { position: absolute; left: 10px; top: 10px; border: 0; border-radius: 999px; padding: 8px 14px;
  background: rgba(43,31,45,.65); color: #fff; font: 700 14px var(--serif); cursor: pointer; z-index: 1; }
.zoom video { max-width: 100%; max-height: 100vh; }

/* отследить заказ */
.adv a { color: inherit; text-decoration: none; }
.track { margin-bottom: 8px; }
.track-res { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--bg3); margin-top: 6px; }
.track-res__h { display: flex; justify-content: space-between; gap: 10px; font-size: 18px; }
.track-res__w { color: var(--hint); font-size: 15px; margin: 2px 0 10px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 0 0 14px 30px; color: var(--hint); }
.steps li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--line2); background: var(--bg); }
.steps li::after { content: ""; position: absolute; left: 12px; top: 21px; bottom: 0; width: 2px; background: var(--line2); }
.steps li:last-child::after { display: none; }
.steps li.is-done { color: var(--text); font-weight: 700; }
.steps li.is-done::before { background: var(--accent2); border-color: var(--accent2); }
.steps li.is-done::after { background: var(--accent3); }
.steps li small { display: block; font-weight: 400; color: var(--hint); font-size: 13px; }
@media (min-width: 900px) { #v-track .top, #v-track main { max-width: 720px; margin-left: auto; margin-right: auto; } }

/* «Отследить заказ» — сразу под шапкой, заметно, как кнопка */
.track-cta { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 16px 8px; padding: 10px 14px;
  border: 2px solid var(--accent3); border-radius: 999px; background: var(--bg2); color: var(--accent2);
  font: 700 16px var(--serif); text-decoration: none; }
.track-cta svg { width: 22px; height: 22px; flex: none; }
.track-cta small { font-weight: 400; color: var(--hint); font-size: 13px; }
@media (max-width: 360px) { .track-cta small { display: none; } }
@media (min-width: 900px) { .track-cta { max-width: 420px; margin-left: auto; margin-right: auto; } }

/* фото готового букета от флориста */
.ophotos { margin: 10px 0 4px; }
.ophotos b { display: block; margin-bottom: 6px; color: var(--text); }
.ophotos div { display: flex; gap: 8px; overflow-x: auto; }
.ophotos button { flex: none; border: 0; padding: 0; background: none; cursor: zoom-in; }
.ophotos img { width: 150px; height: 190px; object-fit: cover; border-radius: 12px; display: block; }
.ophotos small { display: block; color: var(--hint); font-size: 12px; margin-top: 2px; text-align: left; }
.tg-sub { text-align: center; text-decoration: none; }
