:root {
  --bg: #eef0f3;
  --bg-2: #e6e8ec;
  --surface: #ffffff;
  --ink: #15171b;
  --ink-2: #3d4148;
  --muted: #6b7079;
  --line: #dfe2e7;
  --yellow: #ffe11a;
  --yellow-2: #f5d400;
  --yellow-soft: #fff7c2;
  --dark: #44474d;
  --green: #1f9d55;
  --red: #d64545;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(21, 23, 27, .07);
  --shadow-lg: 0 24px 60px rgba(21, 23, 27, .12);
  --wrap: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
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, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 13px 22px; font-weight: 800; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 20px rgba(245, 212, 0, .35); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2d33; }
.btn-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid var(--yellow); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #cfd2d8; font-size: 13px; }
.topbar .wrap { display: flex; gap: 24px; align-items: center; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .sp { flex: 1; }
.topbar span, .topbar a { display: inline-flex; gap: 6px; align-items: center; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(238, 240, 243, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.logo img { width: 44px; height: 44px; border-radius: 50%; }
.logo small { display: block; font-weight: 600; font-size: 11px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: -2px; }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav a { position: relative; padding: 6px 0; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow-2); border-radius: 2px; }
.header .sp { flex: 1; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; display: grid; place-items: center; }
.cart-btn:hover { background: var(--yellow); border-color: var(--yellow); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.cart-count:empty { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--surface); border-radius: 50%; place-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 90px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 30px; padding: 7px 14px 7px 8px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); margin-bottom: 22px; }
.hero-eyebrow i { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; }
.hero h1 mark { background: linear-gradient(transparent 62%, var(--yellow) 62%); color: inherit; padding: 0 4px; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 470px; margin-bottom: 26px; }
.hero-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.hero-price b { font-size: 30px; font-weight: 700; }
.hero-price s { color: var(--yellow-2); font-weight: 600; }
.hero-price span { color: var(--muted); font-size: 14px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-visual { position: relative; aspect-ratio: 1 / .92; }
.hero-circle { position: absolute; border-radius: 50%; }
.hero-circle.yellow { width: 78%; aspect-ratio: 1; background: var(--yellow); left: 2%; top: 4%; z-index: 2; box-shadow: 0 30px 80px rgba(245, 212, 0, .35); display: grid; place-items: center; }
.hero-circle.dark { width: 92%; aspect-ratio: 1; background: var(--dark); left: 38%; top: -8%; z-index: 1; }
.hero-tire { width: 74%; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .28)); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-tire { animation: none; } }
.hero-badge { position: absolute; z-index: 3; left: -2%; top: 40%; width: 104px; height: 104px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 15px; line-height: 1.15; box-shadow: var(--shadow-lg); }
.hero-badge small { display: block; font-size: 11px; font-weight: 600; color: var(--yellow); margin-top: 3px; }
.hero-steps { position: absolute; z-index: 3; right: 3%; top: 16%; display: flex; flex-direction: column; gap: 14px; color: #c3c6cc; font-size: 12px; font-weight: 700; align-items: center; }
.hero-steps .on { color: #fff; font-size: 16px; }
.hero-steps .ring { width: 26px; height: 26px; border: 1.5px solid var(--yellow); border-radius: 50%; display: grid; place-items: center; color: var(--yellow); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 38px; flex-wrap: wrap; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.kicker::before { content: ""; display: inline-block; width: 18px; height: 3px; background: var(--yellow-2); vertical-align: middle; margin-right: 8px; border-radius: 3px; }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin: 0; }
.section-head p { max-width: 440px; color: var(--muted); margin: 0; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; position: relative; z-index: 2; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: center; }
.stat-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--yellow-soft); display: grid; place-items: center; }
.stat b { display: block; font-size: 16px; }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Price table ---------- */
.tabs { display: inline-flex; gap: 6px; background: var(--bg); padding: 6px; border-radius: 14px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tab.active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.section-alt .tabs { background: var(--bg); }
.price-card { margin-top: 22px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.price-table th, .price-table td { padding: 15px 18px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.price-table th:first-child, .price-table td:first-child { text-align: left; white-space: normal; }
.price-table thead th { background: var(--bg); font-size: 13px; color: var(--muted); font-weight: 700; }
.price-table tbody tr:hover { background: #fafbfc; }
.price-table tr.featured td { background: var(--yellow-soft); font-weight: 700; }
.price-table tr:last-child td { border-bottom: 0; }
.price-note { padding: 14px 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.extras-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.extra-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.extra-card h3 { font-size: 17px; margin-bottom: 14px; }
.extra-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.extra-row:last-child { border-bottom: 0; }
.extra-row b { white-space: nowrap; }

/* ---------- Masters ---------- */
.masters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.master { background: var(--surface); border-radius: 24px; padding: 28px; display: grid; grid-template-columns: 140px 1fr; gap: 26px; align-items: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.master-ava { width: 140px; height: 140px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 54px; font-weight: 800; position: relative; }
.master-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.master-ava.trainee { background: var(--bg-2); }
.master h3 { font-size: 24px; margin-bottom: 2px; }
.master .role { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; background: var(--bg); padding: 6px 11px; border-radius: 30px; }
.chip.y { background: var(--yellow); }
.chip.d { background: var(--ink); color: #fff; }
.master ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.master li { padding: 3px 0 3px 22px; position: relative; }
.master li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 10px; height: 2px; background: var(--yellow-2); }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid transparent; transition: border-color .2s, box-shadow .2s, transform .2s; }
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-img { aspect-ratio: 1; background: #f5f6f8; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img .ph { width: 100%; height: 100%; display: grid; place-items: center; }
.product-img .ph svg { width: 58%; opacity: .9; }
.product-tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .05em; }
.product-tag.new { background: var(--yellow); color: var(--ink); }
.product-tag.out { background: #fff; color: var(--muted); left: auto; right: 12px; }
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.product-name { font-size: 14px; font-weight: 600; margin: 4px 0 10px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.product-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.product-meta .chip { font-size: 11.5px; padding: 4px 9px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-size: 20px; font-weight: 800; white-space: nowrap; }
.product-price small { font-size: 12px; color: var(--muted); font-weight: 600; display: block; }
.add-btn { width: 42px; height: 42px; border-radius: 12px; background: var(--yellow); border: 0; display: grid; place-items: center; flex: none; transition: background .15s; }
.add-btn:hover { background: var(--yellow-2); }
.add-btn.added { background: var(--ink); color: var(--yellow); }
.add-btn[disabled] { background: var(--bg); color: var(--muted); cursor: not-allowed; }

/* ---------- Catalog page ---------- */
.page-head { padding: 40px 0 12px; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--ink); }
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding: 18px 0 80px; align-items: start; }
.filters { background: var(--surface); border-radius: var(--radius); padding: 22px; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; }
.filters h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.filters h4:first-child { margin-top: 0; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.check .n { margin-left: auto; color: var(--muted); font-size: 12px; }
.radius-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rchip { border: 1.5px solid var(--line); background: transparent; border-radius: 9px; padding: 6px 10px; font-size: 13px; font-weight: 700; }
.rchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.field { width: 100%; border: 1.5px solid var(--line); background: var(--surface); border-radius: 11px; padding: 12px 14px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 225, 26, .35); }
.catalog-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.catalog-bar .field { width: auto; }
.catalog-bar .search { flex: 1; min-width: 200px; position: relative; }
.catalog-bar .search .field { width: 100%; padding-left: 40px; }
.catalog-bar .search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.catalog .products { grid-template-columns: repeat(3, 1fr); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); background: var(--surface); border-radius: var(--radius); }
.filters-toggle { display: none; }
.load-more { display: flex; justify-content: center; margin-top: 26px; }

/* ---------- Payment & contacts ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pay-item { background: var(--bg); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.pay-item .stat-ic { background: var(--surface); }
.pay-item b { display: block; margin-bottom: 2px; }
.pay-item span { color: var(--muted); font-size: 14px; }
.pay-item.feature { background: var(--ink); color: #fff; }
.pay-item.feature span { color: #b8bcc4; }
.pay-item.feature .stat-ic { background: var(--yellow); }
.contacts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; }
.contact-card { background: var(--surface); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.contact-row b { font-size: 16px; }
.contact-row a:hover { text-decoration: underline; }
.map { border-radius: 24px; overflow: hidden; min-height: 420px; background: var(--bg-2); position: relative; box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-open { position: absolute; z-index: 2; left: 16px; bottom: 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--yellow); border-radius: 28px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--ink-2); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(21, 23, 27, .07); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b8bcc4; padding: 56px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer a { display: block; padding: 4px 0; }
.footer a:hover { color: var(--yellow); }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo small { color: #8d929b; }
.footer-bottom { border-top: 1px solid #2c2f35; margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Drawer (cart) ---------- */
.overlay { position: fixed; inset: 0; background: rgba(15, 17, 20, .45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); z-index: 100; transform: translateX(102%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
.drawer:not(.open), .mnav:not(.open) { visibility: hidden; transition: transform .3s, visibility 0s .3s; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 20px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; }
.icon-btn:hover { background: var(--bg-2); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.line-name { font-weight: 600; }
.line-sub { color: var(--muted); font-size: 13px; grid-column: 1; }
.line-sum { font-weight: 800; text-align: right; white-space: nowrap; }
.line-actions { grid-column: 2; display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 30px; height: 30px; border: 0; background: transparent; font-weight: 800; font-size: 16px; }
.qty button:hover { background: var(--bg); }
.qty span { min-width: 26px; text-align: center; font-weight: 800; font-size: 14px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.total-row b { font-size: 24px; font-weight: 800; }
.drawer-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.remove { border: 0; background: transparent; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 18px 0 90px; align-items: start; }
.step { background: var(--surface); border-radius: 22px; padding: 28px; margin-bottom: 20px; }
.step-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.step-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 800; }
.step-head h2 { font-size: 22px; margin: 0; }
.step-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 18px 0 10px; display: block; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seg-btn { border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; transition: border-color .15s, background .15s; }
.seg-btn:hover { border-color: var(--ink-2); }
.seg-btn.on { border-color: var(--ink); background: var(--yellow-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.svc-list { display: grid; gap: 10px; }
.svc { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.svc:hover { border-color: var(--ink-2); }
.svc.on { border-color: var(--ink); background: #fffdf0; }
.svc input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.svc-name { font-weight: 700; font-size: 15px; }
.svc-hint { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.booking > *, .catalog > *, .hero .wrap > * { min-width: 0; }
.svc-price { grid-column: -2 / -1; grid-row: 1; font-weight: 800; white-space: nowrap; text-align: right; }
.svc-price small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.svc .qty { visibility: hidden; }
.svc.on .qty { visibility: visible; }
details.more { border: 1.5px solid var(--line); border-radius: 14px; margin-top: 14px; }
details.more summary { cursor: pointer; padding: 15px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 20px; line-height: 1; }
details.more[open] summary::after { content: "−"; }
details.more .svc-list { padding: 0 12px 12px; }
.extra-group { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 10px 4px 2px; }
.master-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mp { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 14px; background: var(--surface); text-align: center; transition: border-color .15s, background .15s; }
.mp:hover { border-color: var(--ink-2); }
.mp.on { border-color: var(--ink); background: var(--yellow-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.mp .master-ava { width: 64px; height: 64px; font-size: 26px; margin: 0 auto 10px; }
.mp b { display: block; }
.mp span { font-size: 12.5px; color: var(--muted); }
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.date-btn { flex: none; width: 66px; border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; padding: 10px 0; text-align: center; }
.date-btn small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.date-btn b { font-size: 20px; display: block; }
.date-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.date-btn.on small { color: var(--yellow); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 6px; }
.time-btn { border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 11px 4px; font-weight: 800; font-size: 15px; line-height: 1.2; }
.time-btn small { display: block; font-size: 11px; font-weight: 600; color: var(--green); }
.time-btn:hover:not([disabled]) { border-color: var(--ink); }
.time-btn.on { background: var(--yellow); border-color: var(--ink); }
.time-btn.on small { color: var(--ink); }
.time-btn[disabled] { background: repeating-linear-gradient(-45deg, #f4f5f7, #f4f5f7 6px, #eceef1 6px, #eceef1 12px); color: #a7abb3; cursor: not-allowed; text-decoration: line-through; }
.time-btn[disabled] small { color: var(--red); text-decoration: none; display: block; }
.time-btn.past[disabled] small { color: #a7abb3; }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-top: 14px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; border: 1.5px solid var(--line); }
.legend .l-busy { background: repeating-linear-gradient(-45deg, #f4f5f7, #f4f5f7 3px, #dfe2e7 3px, #dfe2e7 6px); }
.legend .l-on { background: var(--yellow); border-color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
textarea.field { resize: vertical; min-height: 84px; }
.summary { background: var(--surface); border-radius: 22px; padding: 26px; position: sticky; top: 92px; }
.summary h3 { font-size: 20px; }
.sum-meta { display: grid; gap: 8px; margin: 14px 0; padding: 14px; background: var(--bg); border-radius: 14px; font-size: 14px; }
.sum-meta div { display: flex; justify-content: space-between; gap: 12px; }
.sum-meta span { color: var(--muted); }
.sum-meta b { text-align: right; }
.alert { padding: 13px 16px; border-radius: 12px; font-size: 14px; margin-top: 12px; }
.alert.err { background: #fdecec; color: #9b2c2c; }
.alert.ok { background: #e7f6ee; color: #1b6b3d; }
.alert.info { background: var(--yellow-soft); color: var(--ink-2); }
.hp { position: absolute; left: -9999px; }
.note { font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.45; }

/* ---------- Pay page ---------- */
.pay-page { max-width: 760px; margin: 0 auto; padding: 40px 24px 90px; }
.pay-card { background: var(--surface); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); margin-bottom: 20px; }
.pay-status { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.pay-status .stat-ic { width: 56px; height: 56px; border-radius: 50%; }
.pay-status .stat-ic.ok { background: #e7f6ee; color: var(--green); }
.pay-options { display: grid; gap: 12px; }
.pay-opt { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; width: 100%; }
.pay-opt:hover { border-color: var(--ink); }
.pay-opt.primary { background: var(--yellow); border-color: var(--yellow); }
.pay-opt .stat-ic { background: var(--bg); }
.pay-opt.primary .stat-ic { background: var(--surface); }
.pay-opt b { display: block; }
.pay-opt span { font-size: 13.5px; color: var(--muted); }
.pay-opt.primary span { color: var(--ink-2); }
.pay-opt .go { margin-left: auto; font-weight: 800; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; z-index: 120; transition: transform .3s; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); }
.toast:not(.show) { visibility: hidden; transition: transform .3s, visibility 0s .3s; }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--yellow); font-weight: 800; white-space: nowrap; }

/* ---------- Mobile nav ---------- */
.mnav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86%); background: var(--surface); z-index: 100; transform: translateX(102%); transition: transform .3s; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.mnav.open { transform: none; }
.mnav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
.mnav .btn { margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .catalog .products { grid-template-columns: repeat(2, 1fr); }
  .booking { grid-template-columns: 1fr; }
  .summary { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav, .topbar .hide-m, .header .hide-m { display: none; }
  .burger { display: grid; }
  .hero { padding: 28px 0 70px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; width: 100%; margin: 10px auto 0; }
  .masters, .contacts { grid-template-columns: 1fr; }
  .extras-grid, .pay-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(330px, 88%); max-height: none; z-index: 100; border-radius: 0; transform: translateX(-102%); transition: transform .3s; }
  .filters.open { transform: none; }
  .filters-toggle { display: inline-flex; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
}
@media (max-width: 480px) {
  .header .logo > span { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap { gap: 14px; font-size: 12px; }
  .header .wrap { gap: 12px; height: 64px; }
  .header .btn-yellow { padding: 11px 14px; font-size: 12px; }
  .logo small { display: none; }
  .section { padding: 60px 0; }
  .stats { grid-template-columns: 1fr; margin-top: -30px; }
  .products, .catalog .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-body { padding: 12px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 16px; }
  .add-btn { width: 38px; height: 38px; }
  .extras-grid, .pay-grid { grid-template-columns: 1fr; }
  .master { grid-template-columns: 1fr; text-align: left; padding: 24px; }
  .master-ava { width: 96px; height: 96px; font-size: 38px; }
  .seg { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .seg-btn { padding: 12px 4px; font-size: 12.5px; }
  .svc { grid-template-columns: auto 1fr auto; gap: 10px; padding: 12px; }
  .svc .qty { grid-column: 2 / 4; grid-row: 2; justify-self: start; }
  .svc:not(.on) .qty { display: none; }
  .master-pick { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .mp { padding: 14px 6px; }
  .mp .master-ava { width: 48px; height: 48px; font-size: 20px; }
  .step { padding: 22px 16px; border-radius: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card, .pay-card { padding: 24px 18px; }
  .hero-badge { width: 84px; height: 84px; font-size: 13px; }
  .map { min-height: 320px; }
}
