/* Zhuldyz Flowers — витрина. Цвета взяты из фирменного стиля (сиреневый логотип, глициния, белая упаковка). */
:root {
  --brand: #7E5BA6; --brand-d: #4B2E6B; --lav: #EDE6F5; --lav2: #F6F1FB; --bg: #FBF9FC; --pink: #F2C4CE; --pink-d: #C9677E;
  --text: #2A2233; --muted: #7A7085; --line: #E6DDEF; --white: #fff; --ok: #3E8E63; --err: #C0392B;
  --r: 16px; --r-s: 10px; --sh: 0 6px 24px rgba(75, 46, 107, .08); --sh2: 0 10px 34px rgba(75, 46, 107, .16);
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tab: 64px; --top: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.5 var(--sans); color: var(--text); background: var(--bg); padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom)); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--brand-d); }
h1 { font-size: clamp(30px, 6vw, 46px); }
h2 { font-size: clamp(26px, 4.6vw, 36px); }
h3 { font-size: 22px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(251, 249, 252, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { height: var(--top); display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 46px; width: 46px; border-radius: 50%; object-fit: cover; }
.logo-mark { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9C7BC4, var(--brand) 60%, #6A4A93); display: grid; place-items: center; color: #fff; font-family: var(--serif); line-height: .9; text-align: center; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--lav); }
.logo-mark b { font-size: 13px; font-style: italic; font-weight: 600; display: block; }
.logo-mark small { font-size: 6.5px; letter-spacing: .16em; display: block; }
.logo-txt { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--brand-d); line-height: 1; }
.logo-txt small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .22em; color: var(--muted); margin-top: 3px; text-transform: uppercase; }
.topnav { display: none; gap: 26px; margin-left: 24px; }
.topnav a { font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.topnav a.on, .topnav a:hover { color: var(--brand-d); border-color: var(--brand); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--brand-d); min-height: 36px; }
.cartbtn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--brand-d); border-radius: 50%; }
.cartbtn b, .tabbar b { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; border-radius: 99px; background: var(--pink-d); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }

/* нижнее меню для телефона */
.tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: calc(var(--tab) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--muted); }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.on { color: var(--brand); font-weight: 600; }
.tabbar b { top: 6px; right: calc(50% - 22px); }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .topnav { display: flex; }
  :root { --top: 76px; }
}

/* ---------- кнопки и поля ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 99px; border: 0; background: var(--brand); color: #fff; font-weight: 600; font-size: 15px; transition: background .15s, transform .1s; text-align: center; }
.btn:hover { background: #6E4D95; }
.btn:active { background: var(--brand-d); transform: scale(.98); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn.ghost { background: #fff; color: var(--brand-d); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--brand); }
.btn.light { background: var(--lav); color: var(--brand-d); }
.btn.block { width: 100%; }
.btn.big { min-height: 56px; font-size: 16px; }
.link { color: var(--brand); font-weight: 600; }
label.f { display: block; margin-bottom: 14px; }
label.f > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.in, select.in, textarea.in { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; outline: none; font-size: 16px; transition: border .15s, box-shadow .15s; }
textarea.in { min-height: 90px; resize: vertical; }
.in:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(126, 91, 166, .12); }
.in.bad { border-color: var(--err); }
.ferr { color: var(--err); font-size: 13px; margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chk { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; }
.chk input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; margin: 0; }

/* ---------- общие блоки ---------- */
.view { min-height: 60vh; }
.loading { display: grid; place-items: center; min-height: 50vh; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--lav); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sec { padding: 28px 0; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { margin: 0; }
.card { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 18px; }
.fade-in { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.crumbs { font-size: 13px; color: var(--muted); padding: 14px 0 4px; }
.crumbs a:hover { color: var(--brand); }

/* декоративная глициния */
.wist { position: relative; }
.wist::before, .wist::after { content: ''; position: absolute; top: 0; width: 160px; height: 210px; background: url(/wisteria.svg) no-repeat top / contain; pointer-events: none; z-index: 1; opacity: .95; }
.wist::before { left: -10px; }
.wist::after { right: -10px; transform: scaleX(-1); }
.no-wist .wist::before, .no-wist .wist::after { display: none; }
@media (max-width: 600px) { .wist::before, .wist::after { width: 92px; height: 130px; } }

/* ---------- главная ---------- */
.hero { position: relative; margin: 14px 0 0; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, var(--lav), #fff 70%); min-height: 260px; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; min-height: 260px; display: flex; align-items: flex-end; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide .cap { position: relative; z-index: 2; padding: 26px 22px; color: #fff; max-width: 600px; }
.slide.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 22, 64, .7), rgba(43, 22, 64, 0) 65%); }
.slide .cap h2 { color: #fff; margin-bottom: .2em; font-size: clamp(28px, 6vw, 48px); }
.slide:not(.has-img) .cap { color: var(--text); }
.slide:not(.has-img) .cap h2 { color: var(--brand-d); }
.slide .cap p { margin: 0 0 14px; opacity: .95; }
.dots { position: absolute; z-index: 3; bottom: 12px; right: 16px; display: flex; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(255, 255, 255, .6); transition: width .2s; }
.dots i.on { width: 20px; background: #fff; }
.hero-default { padding: 54px 26px 40px; text-align: center; }
.hero-default h1 { margin-bottom: .2em; }
.hero-default p { color: var(--muted); max-width: 520px; margin: 0 auto 20px; }

.circles { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.circles::-webkit-scrollbar { display: none; }
.circ { flex: none; width: 82px; text-align: center; font-size: 12.5px; font-weight: 500; scroll-snap-align: start; }
.circ .ring { width: 76px; height: 76px; margin: 0 auto 6px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--brand), var(--pink)); }
.circ .ring > * { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; object-fit: cover; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 18px; }
.circ.on .ring { background: var(--brand-d); }
@media (min-width: 900px) { .circles { justify-content: center; flex-wrap: wrap; } .circ { width: 96px; } .circ .ring { width: 88px; height: 88px; } }

.daily { display: grid; gap: 16px; align-items: center; background: linear-gradient(120deg, var(--brand-d), var(--brand)); color: #fff; border-radius: 22px; padding: 22px; overflow: hidden; position: relative; }
.daily h2 { color: #fff; margin: 0; }
.daily .tag { display: inline-block; background: var(--pink); color: var(--brand-d); font-weight: 700; font-size: 12px; border-radius: 99px; padding: 4px 10px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.timer { display: flex; gap: 8px; margin-top: 10px; }
.timer div { background: rgba(255, 255, 255, .15); border-radius: 12px; padding: 8px 10px; min-width: 58px; text-align: center; }
.timer b { font-size: 22px; display: block; font-variant-numeric: tabular-nums; }
.timer small { font-size: 11px; opacity: .85; }
@media (min-width: 760px) { .daily { grid-template-columns: 1fr auto; padding: 30px 36px; } }

.build-cta { display: grid; gap: 16px; align-items: center; background: var(--lav); border-radius: 22px; padding: 26px; }
.build-cta p { color: var(--muted); margin: 0 0 14px; }
@media (min-width: 760px) { .build-cta { grid-template-columns: 1fr auto; padding: 34px 40px; } }

/* ---------- карточки товаров ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
@media (min-width: 640px) { .hscroll { grid-auto-columns: 31%; gap: 18px; } }
@media (min-width: 1000px) { .hscroll { grid-auto-columns: calc(25% - 14px); gap: 18px; } }
.pc { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pc:hover { transform: translateY(-3px); box-shadow: var(--sh2); }
.pc .ph { position: relative; aspect-ratio: 4/5; background: var(--lav2); }
.pc .ph img { width: 100%; height: 100%; object-fit: cover; }
.pc .bd { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc .nm { font-weight: 500; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc.out .ph img { filter: grayscale(.7) opacity(.7); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; }
.price b { font-size: 17px; color: var(--brand-d); }
.price s { color: var(--muted); font-size: 13px; }
.price small { color: var(--muted); font-size: 12px; }
.badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 2; }
.bdg { font-size: 11px; font-weight: 700; border-radius: 99px; padding: 3px 9px; background: #fff; color: var(--brand-d); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.bdg.sale { background: var(--pink-d); color: #fff; }
.bdg.hit { background: var(--brand); color: #fff; }
.bdg.out { background: #5b5466; color: #fff; }

/* ---------- каталог ---------- */
.cat-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin: 8px 0 12px; }
.cat-head .fbtn { white-space: nowrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 8px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 14px; font-size: 14px; font-weight: 500; min-height: 40px; white-space: nowrap; }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip .sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 6px; border: 1px solid var(--line); }
.filters { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 16px; margin-bottom: 16px; }
.filters h4 { margin: 10px 0 8px; font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.filters .chips { flex-wrap: wrap; }
.cat-layout { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
  .cat-head .fbtn { display: none; }
  .cat-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
  .cat-layout .filters { position: sticky; top: calc(var(--top) + 14px); display: block !important; }

}
.empty { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty .ico { font-size: 46px; margin-bottom: 8px; }

/* ---------- страница букета ---------- */
.pp { display: grid; gap: 20px; padding-top: 6px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .pp { grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; } .pp .gal { position: sticky; top: calc(var(--top) + 14px); } }
.gal { position: relative; }
.gal .main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; scrollbar-width: none; background: var(--lav2); }
.gal .main::-webkit-scrollbar { display: none; }
.gal .main > * { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.gal .main iframe, .gal .main video { border: 0; background: #000; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 64px; height: 76px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--lav2); }
.thumbs button.on { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp h1 { margin-bottom: .15em; }
.pp .desc { color: #4a4356; white-space: pre-line; }
.pp .meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; margin: 12px 0; }
.pp .meta dt { color: var(--muted); }
.pp .meta dd { margin: 0; }
.opt-h { font-weight: 600; margin: 22px 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.opt-h small { color: var(--muted); font-weight: 400; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.tile { border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 6px 6px 8px; text-align: center; font-size: 12.5px; line-height: 1.25; position: relative; min-height: 44px; }
.tile .im { aspect-ratio: 1; border-radius: 10px; margin-bottom: 6px; background: var(--lav2) center / cover; display: grid; place-items: center; font-size: 26px; }
.tile .pr { color: var(--muted); font-size: 11.5px; display: block; margin-top: 2px; }
.tile.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(126, 91, 166, .14); }
.tile.on::after { content: '✓'; position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 700; }
.tile:disabled { opacity: .45; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.presets .chip { min-width: 64px; }
.presets .chip small { display: block; font-size: 11px; opacity: .8; font-weight: 400; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; overflow: hidden; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; color: var(--brand-d); }
.stepper input { width: 56px; text-align: center; border: 0; font-weight: 600; font-size: 16px; outline: none; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper.sm button { width: 34px; height: 34px; font-size: 18px; }
.stepper.sm input { width: 34px; font-size: 14px; }
.extras { display: grid; gap: 8px; }
.extra { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 10px; }
.extra .im { width: 52px; height: 52px; border-radius: 10px; background: var(--lav2) center / cover; flex: none; display: grid; place-items: center; font-size: 22px; }
.extra .t { flex: 1; font-size: 14px; line-height: 1.3; }
.extra .t small { display: block; color: var(--muted); }
.extra.on { border-color: var(--brand); }
.buybar { position: sticky; bottom: calc(var(--tab) + env(safe-area-inset-bottom)); z-index: 30; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); margin: 24px -16px 0; padding: 12px 16px; display: flex; align-items: center; gap: 14px; }
.buybar .sum small { display: block; font-size: 12px; color: var(--muted); }
.buybar .sum b { font-size: 21px; color: var(--brand-d); }
.buybar .sum s { font-size: 13px; color: var(--muted); margin-left: 6px; }
.buybar .btn { flex: 1; }
@media (min-width: 900px) { .buybar { position: static; margin: 26px 0 0; padding: 18px; border-radius: var(--r); border: 0; box-shadow: var(--sh); } }

/* ---------- корзина ---------- */
.cart-l { display: grid; gap: 18px; padding-top: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cart-l { grid-template-columns: 1fr 360px; align-items: start; } .cart-l .side { position: sticky; top: calc(var(--top) + 14px); } }
.ci { display: grid; grid-template-columns: 84px 1fr; gap: 12px; background: #fff; border-radius: var(--r); padding: 12px; box-shadow: var(--sh); }
.ci img, .ci .noimg { width: 84px; height: 104px; border-radius: 12px; object-fit: cover; background: var(--lav2); display: grid; place-items: center; font-size: 30px; }
.ci .t { font-weight: 600; line-height: 1.3; }
.ci ul { list-style: none; padding: 0; margin: 4px 0; font-size: 13px; color: var(--muted); }
.ci .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ci .row b { color: var(--brand-d); font-size: 16px; }
.ci .acts { display: flex; gap: 14px; font-size: 13px; }
.ci .acts button { border: 0; background: none; color: var(--muted); padding: 4px 0; text-decoration: underline; }
.ci.bad { outline: 2px solid var(--err); }
.ci .err { color: var(--err); font-size: 13px; }
.sumrow { display: flex; justify-content: space-between; padding: 6px 0; }
.sumrow.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 19px; font-weight: 700; color: var(--brand-d); }
.code { display: flex; gap: 8px; margin: 10px 0; }
.code .in { min-height: 46px; text-transform: uppercase; }
.code .btn { min-height: 46px; padding: 0 16px; }
.note { background: var(--lav2); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: #5a4f69; margin: 10px 0; }
.note.warn { background: #fdeef0; color: #8c3245; }

/* ---------- оформление ---------- */
.co { display: grid; gap: 18px; padding-top: 8px; grid-template-columns: minmax(0, 1fr); }
.co > *, .cart-l > *, .pp > *, .cat-layout > * { min-width: 0; }
@media (min-width: 900px) { .co { grid-template-columns: 1fr 380px; align-items: start; } .co .side { position: sticky; top: calc(var(--top) + 14px); } }
.co .card h3 { margin-bottom: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--lav2); border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.seg button { border: 0; background: none; border-radius: 10px; min-height: 44px; font-weight: 600; color: var(--muted); }
.seg button.on { background: #fff; color: var(--brand-d); box-shadow: 0 2px 8px rgba(75, 46, 107, .12); }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-bottom: 8px; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 68px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 8px 4px; text-align: center; line-height: 1.2; }
.day small { display: block; font-size: 11px; color: var(--muted); }
.day b { font-size: 19px; display: block; }
.day.on { border-color: var(--brand); background: var(--brand); color: #fff; }
.day.on small { color: #fff; }
.day:disabled { opacity: .4; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.pays { display: grid; gap: 10px; }
.pay { display: flex; gap: 12px; align-items: center; border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; text-align: left; }
.pay .ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex: none; background: #F14635; color: #fff; font-weight: 800; font-size: 13px; }
.pay .ic.cash { background: var(--lav); color: var(--brand-d); font-size: 20px; }
.pay b { display: block; }
.pay small { color: var(--muted); font-size: 13px; }
.pay.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(126, 91, 166, .12); }
.mini-items { font-size: 14px; }
.mini-items div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.mini-items span { color: var(--muted); }

/* ---------- готово / отслеживание ---------- */
.done { max-width: 560px; margin: 20px auto; text-align: center; }
.done .ok-ico { width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 50%; background: var(--lav); display: grid; place-items: center; font-size: 36px; }
.done .num { font-size: 34px; font-family: var(--serif); font-weight: 700; color: var(--brand); }
.qr { background: #fff; border-radius: 18px; box-shadow: var(--sh); padding: 20px; margin: 18px 0; }
.qr img { width: min(280px, 80%); margin: 10px auto; border-radius: 12px; }
.qr .sum { font-size: 26px; font-weight: 700; color: var(--brand-d); }
.steps { display: flex; justify-content: space-between; margin: 20px 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 15px; height: 3px; background: var(--line); }
.steps div { position: relative; z-index: 1; flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); }
.steps i { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; margin: 0 auto 6px; font-style: normal; font-size: 14px; }
.steps .on i { border-color: var(--brand); background: var(--brand); color: #fff; }
.steps .on { color: var(--brand-d); font-weight: 600; }

/* ---------- отзывы, процесс ---------- */
.rv { background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.rv img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.rv .tx { padding: 12px 14px; font-size: 14px; }
.rv .tx b { display: block; margin-bottom: 4px; color: var(--brand-d); }

/* ---------- страницы ---------- */
.page { max-width: 760px; padding: 10px 0 30px; }
.page .body { white-space: pre-line; color: #463e52; }

/* ---------- подвал ---------- */
.foot { background: var(--brand-d); color: #e9e1f3; margin-top: 40px; padding: 34px 0 30px; font-size: 14px; }
.foot .cols { display: grid; gap: 24px; }
@media (min-width: 760px) { .foot .cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot h4 { color: #fff; font-family: var(--serif); font-size: 21px; margin: 0 0 10px; font-weight: 600; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot p { margin: 0 0 6px; }
.foot .soc { display: flex; gap: 10px; margin-top: 12px; }
.foot .soc a { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .1); border-radius: 99px; padding: 8px 14px; }
.foot .copy { margin-top: 26px; font-size: 12px; opacity: .7; }
.map { border: 0; width: 100%; height: 260px; border-radius: var(--r); }

/* ---------- всплывашки ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--tab) + 18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; background: var(--brand-d); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--sh2); max-width: calc(100% - 32px); font-size: 14px; animation: fade .25s; }
@media (min-width: 900px) { .toast { bottom: 26px; } }
.sheet-bg { position: fixed; inset: 0; z-index: 80; background: rgba(42, 34, 51, .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.sheet { background: #fff; width: 100%; max-width: 480px; border-radius: 22px 22px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); text-align: center; }
@media (min-width: 600px) { .sheet-bg { align-items: center; } .sheet { border-radius: 22px; } }
.sheet .acts { display: grid; gap: 10px; margin-top: 16px; }
