:root {
  --surface: #ffffff;
  --on-accent: #ffffff;
  --dark: #2e3136;
  --dark-overlay: rgba(46,49,54,.9);
  --ph-strong: #efe7e3;
  --hero-icon: url(img/logo-icon.png);
  --bg: #ffffff;
  --page: #fbf9f7;
  --pink: #dfa1ad;
  --pink-ink: #a85d70;
  --pink-soft: #f8eaed;
  --ink: #232528;
  --muted: #6b6a6d;
  --line: #ebe5e2;
  --accent: #2e3136;
  --accent-dark: #1c1e21;
  --accent-light: #efd4da;
  --accent-soft: #f7f2ef;
  --ok: #067429;
  --ok-soft: #eaf9ef;
  --warn: #af7e04;
  --warn-soft: #fff6b6;
  --err: #bd0a0a;
  --radius: 16px;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Jost", "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
main { min-height: 50vh; }

/* top bar + header */
.topbar { background: var(--accent-soft); color: var(--accent); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { font-weight: 700; }
header.site { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
nav.main { display: flex; gap: 24px; align-items: center; white-space: nowrap; font-weight: 500; }
nav.main > a, nav.main .has-drop > a { display: inline-block; padding: 26px 0; border-bottom: 2px solid transparent; }
nav.main a:hover { color: var(--accent); }
nav.main a.active { color: var(--accent); border-bottom-color: var(--accent); }
.has-drop { position: relative; }
.drop { position: absolute; top: 100%; left: -16px; min-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: none; box-shadow: 0 16px 40px rgba(26,26,26,.08); }
.has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }
.drop a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; border: 0 !important; }
.drop a span { color: var(--muted); font-size: 13px; }
.drop a:hover { background: var(--accent-soft); }
.drop .all { border-top: 1px solid var(--line) !important; margin-top: 6px; color: var(--accent); font-weight: 700; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 14px; white-space: nowrap; background: none; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #FFFFFF; color: var(--accent); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn.done { background: var(--ok); border-color: var(--ok); color: #fff; }
.count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }
.mobile-menu { display: none; border-top: 1px solid var(--line); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 24px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-menu a.active { color: var(--accent); }

/* common blocks */
.crumbs { font-size: 14px; color: var(--muted); padding: 24px 0 8px; }
.crumbs a:hover { color: var(--accent); }
.page-title { font-size: 40px; font-weight: 800; margin: 8px 0 24px; }
section.block { padding: 56px 0 0; }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.block-head h2 { font-size: 32px; font-weight: 800; }
.more { color: var(--accent); font-weight: 700; white-space: nowrap; font-size: 15px; }
.ph { background: var(--accent-soft); color: #c9a8b0; display: flex; align-items: center; justify-content: center; font-size: 13px; border-radius: 12px; text-align: center; }
.need { border: 1.5px dashed #c9a8b0; background: var(--accent-soft); color: var(--accent-dark); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.need b { display: block; margin-bottom: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; }
.chip.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 340px; gap: 20px; padding-top: 32px; }
.hero-main { background: var(--accent-soft); border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1fr 240px; gap: 32px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: 42px; font-weight: 800; margin: 14px 0 14px; }
.hero-main p { color: var(--muted); margin: 0 0 28px; max-width: 420px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-main .ph { background: var(--accent-light); height: 100%; min-height: 320px; color: var(--accent); }
.hero-pro { background: var(--accent); color: #fff; border-radius: 20px; padding: 36px 32px; display: flex; flex-direction: column; }
.hero-pro .eyebrow { color: var(--accent-light); }
.hero-pro h2 { font-size: 26px; font-weight: 800; margin: 12px 0 20px; }
.hero-pro ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; font-size: 15px; }
.hero-pro li::before { content: "✓"; margin-right: 10px; font-weight: 800; }
.hero-pro .btn { margin-top: auto; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.trust div { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.trust b { display: block; font-size: 15px; }
.trust span { color: var(--muted); font-size: 14px; }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cats.big { grid-template-columns: repeat(3, 1fr); }
.cat .ph { aspect-ratio: 1 / 1; margin-bottom: 10px; transition: transform .2s; }
.cats.big .cat .ph { aspect-ratio: 16 / 10; }
.cat:hover .ph { transform: translateY(-3px); }
.cat b { display: block; }
.cat span { color: var(--muted); font-size: 14px; }

/* brand tiles */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.brands.big { grid-template-columns: repeat(4, 1fr); }
.brand-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s; }
.brand-tile:hover { border-color: var(--accent); }
.brand-tile .ph { height: 72px; background: var(--surface); border: 1px dashed var(--line); color: var(--muted); font-weight: 800; letter-spacing: .1em; }
.brand-tile small { color: var(--muted); }

/* product cards */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products.three { grid-template-columns: repeat(3, 1fr); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; background: var(--surface); transition: border-color .15s; }
.card:hover { border-color: var(--accent-light); }
.card .ph { aspect-ratio: 1 / 1; margin-bottom: 14px; position: relative; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--surface); color: var(--accent); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.card .brand { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 15px; font-weight: 700; line-height: 1.35; margin: 6px 0 12px; min-height: 40px; }
.card h3 a:hover { color: var(--accent); }
.price { font-size: 22px; font-weight: 800; }
.opt-note { font-size: 13px; color: var(--accent); margin: 4px 0 14px; }
.opt-note a { text-decoration: underline; text-underline-offset: 3px; }
.card .btn { margin-top: auto; }

/* catalog layout */
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 96px; }
.filters h4 { font-size: 15px; margin: 0 0 12px; }
.filters .group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.filters .group:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; cursor: pointer; }
.filters label span { margin-left: auto; color: var(--muted); font-size: 13px; }
.filters input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar select, .search-input { height: 44px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; background: var(--surface); }
.search-input { width: 100%; max-width: 420px; }
.toolbar .found { color: var(--muted); font-size: 14px; }
.filter-toggle { display: none; }

/* brand page */
.brand-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; margin-bottom: 28px; }
.brand-head .ph { height: 160px; background: var(--surface); border: 1.5px dashed var(--line); color: var(--muted); font-weight: 800; letter-spacing: .1em; }
.brand-head h1 { font-size: 36px; font-weight: 800; margin-bottom: 6px; }
.brand-head .country { color: var(--muted); margin-bottom: 14px; }
.group-title { font-size: 24px; font-weight: 800; margin: 36px 0 16px; }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery .main { aspect-ratio: 1 / 1; font-size: 15px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumbs button { aspect-ratio: 1 / 1; border: 2px solid transparent; border-radius: 12px; background: var(--accent-soft); color: #c9a8b0; font-size: 12px; }
.thumbs button.active { border-color: var(--accent); }
.p-brand { color: var(--accent); font-weight: 700; }
.product h1 { font-size: 32px; font-weight: 800; margin: 6px 0 10px; }
.meta { color: var(--muted); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.stock { color: var(--ok); font-weight: 700; }
.p-price { font-size: 36px; font-weight: 800; margin: 24px 0 16px; }
.pro-box { background: var(--accent-soft); border: 1.5px solid var(--accent-light); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pro-box b { color: var(--accent); }
.pro-box p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.buy { display: flex; gap: 12px; margin: 24px 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; }
.qty input { width: 44px; border: 0; text-align: center; font-weight: 700; }
.buy .btn { flex: 1; }
.info-list { display: grid; gap: 10px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.info-list b { color: var(--ink); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 56px 0 16px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* pro page */
.pro-hero { background: var(--accent); color: #fff; border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-top: 8px; }
.pro-hero h1 { font-size: 40px; font-weight: 800; margin: 12px 0 14px; }
.pro-hero p { color: var(--accent-light); margin: 0 0 24px; }
.pro-hero .eyebrow { color: var(--accent-light); }
.steps { display: grid; gap: 12px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.1); border-radius: 14px; padding: 16px 18px; }
.step .n { flex: 0 0 34px; height: 34px; border-radius: 999px; background: #FFFFFF; color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step span { color: var(--accent-light); font-size: 14px; display: block; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefits div { background: var(--accent-soft); border-radius: var(--radius); padding: 20px; }
.benefits b { display: block; margin-bottom: 4px; color: var(--accent); }
.benefits span { font-size: 14px; color: var(--muted); }
.form-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.form-card { border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.side-card { background: var(--accent-soft); border-radius: 20px; padding: 28px; position: sticky; top: 96px; }
.side-card h3 { margin-bottom: 14px; }
.side-card ol { padding-left: 20px; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.seg { display: inline-flex; background: var(--accent-soft); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.seg button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; color: var(--accent); }
.seg button.active { background: var(--accent); color: var(--on-accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--surface); }
.field textarea { height: 100px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent-light); border-color: var(--accent); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.field .err { color: var(--err); font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.upload { border: 1.5px dashed #c9a8b0; background: var(--accent-soft); border-radius: 14px; padding: 22px; text-align: center; color: var(--accent); cursor: pointer; display: block; }
.upload input { display: none; }
.upload small { display: block; color: var(--muted); margin-top: 4px; }
.checks { display: grid; gap: 10px; margin: 8px 0 20px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.checks input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; }
.checks a { color: var(--accent); text-decoration: underline; }
.checks .err { color: var(--err); font-size: 13px; display: none; margin-left: 28px; }
.checks .err.show { display: block; }
.success { text-align: center; padding: 32px 8px; display: none; }
.success.show { display: block; }
.success .icon { width: 64px; height: 64px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.success p { color: var(--muted); max-width: 440px; margin: 10px auto 22px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.about-grid .ph { min-height: 340px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stats b { display: block; font-size: 30px; color: var(--accent); }
.stats span { color: var(--muted); font-size: 14px; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contacts div { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contacts h4 { margin-bottom: 8px; }
.contacts p { margin: 0; color: var(--muted); }

/* auth */
.auth { max-width: 460px; margin: 40px auto 0; }
.auth .form-card { padding: 32px; }
.auth h1 { font-size: 30px; font-weight: 800; margin-bottom: 20px; }
.auth .links { display: flex; justify-content: space-between; font-size: 14px; margin-top: 16px; }
.auth .links a { color: var(--accent); }
.auth .alt { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }
.auth .alt a { color: var(--accent); font-weight: 700; }
.auth .view { display: none; }
.auth .view.active { display: block; }

/* cart */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto auto 32px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item .ph { width: 96px; height: 96px; }
.cart-item .name { font-weight: 700; }
.cart-item .name a:hover { color: var(--accent); }
.cart-item small { color: var(--muted); display: block; }
.cart-item .qty { height: 42px; }
.cart-item .sum { font-weight: 800; min-width: 96px; text-align: right; }
.remove { border: 0; background: none; color: var(--muted); font-size: 22px; }
.remove:hover { color: var(--err); }
.summary { border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: sticky; top: 96px; }
.summary .row { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--muted); }
.summary .total { display: flex; justify-content: space-between; font-size: 22px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 14px; margin: 14px 0 18px; }
.checkout { margin-top: 40px; }
.checkout h2 { font-size: 26px; margin-bottom: 18px; }
.options { display: grid; gap: 10px; margin-bottom: 20px; }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; }
.option input { accent-color: var(--accent); margin-top: 4px; }
.option.active { border-color: var(--accent); background: var(--accent-soft); }
.option small { display: block; color: var(--muted); }
.option.disabled { opacity: .55; cursor: not-allowed; }

/* footer */
footer.site { margin-top: 80px; background: var(--accent-soft); }
footer.site .wrap { padding-top: 48px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 32px; }
footer.site h4 { font-size: 15px; margin-bottom: 12px; }
footer.site a { display: block; padding: 3px 0; font-size: 14px; color: var(--muted); }
footer.site a:hover { color: var(--accent); }
footer.site p { font-size: 14px; color: var(--muted); }
.foot-bottom { border-top: 1px solid var(--accent-light); margin-top: 32px; padding-top: 18px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* modal + toast */
.modal-bg { position: fixed; inset: 0; background: rgba(26,26,26,.45); display: none; align-items: center; justify-content: center; z-index: 60; padding: 16px; }
.modal-bg.open { display: flex; }
.modal { background: var(--surface); border-radius: 20px; width: 100%; max-width: 520px; padding: 32px; position: relative; max-height: 92vh; overflow: auto; }
.modal h3 { font-size: 26px; font-weight: 800; }
.modal .close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 22px; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 22px; }
.channels a { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 8px; text-align: center; font-weight: 700; font-size: 14px; }
.channels a:hover { border-color: var(--accent); color: var(--accent); }
.or { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; transition: transform .25s, opacity .25s; z-index: 70; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast a { color: var(--accent-light); text-decoration: underline; margin-left: 8px; }

@media (max-width: 1140px) {
  nav.main { gap: 18px; }
  .hero { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .trust, .benefits, .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  nav.main, .header-actions .hide-m { display: none; }
  .burger { display: block; }
  header.site .wrap { gap: 12px; min-height: 64px; }
  .hero-main { grid-template-columns: 1fr; padding: 32px 24px; }
  .hero-main .ph { min-height: 200px; }
  .hero h1, .page-title, .pro-hero h1 { font-size: 30px; }
  .layout, .product, .form-wrap, .about-grid, .cart-layout, .pro-hero, .brand-head { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .products, .products.three { grid-template-columns: repeat(2, 1fr); }
  .brands.big, .cats.big { grid-template-columns: repeat(2, 1fr); }
  .contacts { grid-template-columns: 1fr; }
  .pro-hero { padding: 32px 24px; }
  .side-card, .summary { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .brand-head .ph { height: 110px; max-width: 220px; }
  .topbar .delivery { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .cats, .brands { grid-template-columns: repeat(2, 1fr); }
  .products, .products.three { gap: 12px; }
  .card { padding: 10px; }
  .card h3 { font-size: 14px; min-height: 56px; }
  .price { font-size: 18px; }
  .card .btn { height: 40px; padding: 0 10px; font-size: 13px; }
  .trust, .benefits, .stats, .grid2, .foot-grid, .channels { grid-template-columns: 1fr; }
  .block-head h2 { font-size: 26px; }
  .form-card, .modal { padding: 24px 18px; }
  .cart-item { grid-template-columns: 72px 1fr 32px; gap: 12px; }
  .cart-item .ph { width: 72px; height: 72px; }
  .cart-item .qty, .cart-item .sum { grid-column: 2; }
  .cart-item .sum { text-align: left; }
  .cart-item .remove { grid-column: 3; grid-row: 1; }
  .buy { flex-direction: column; }
  .header-actions .cart-label { display: none; }
}
footer.site a.logo { display: inline-flex; padding: 0 18px; color: var(--ink); }
.filters .grid2 { gap: 0 8px; }
.filters .field input { padding: 0 10px; font-size: 14px; }
@media (max-width: 560px) {
  .buy .qty { align-self: flex-start; }
  .buy .btn { flex: none; width: 100%; }
}

/* ===== v3 ===== */
.spec-bar { background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 600; }
.spec-bar .wrap { min-height: 34px; display: flex; align-items: center; }
.phone { font-weight: 700; font-size: 15px; white-space: nowrap; margin-right: 4px; }
.phone:hover { color: var(--accent); }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.search-panel { display: none; border-top: 1px solid var(--line); background: var(--surface); padding: 16px 0 20px; }
.search-panel.open { display: block; }
.search-form { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--accent); border-radius: 999px; padding: 4px 4px 4px 18px; color: var(--muted); }
.search-form input { flex: 1; border: 0; outline: 0; height: 44px; font-size: 16px; min-width: 0; }
.suggest { margin-top: 8px; }
.suggest-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.suggest-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.suggest-row:hover { background: var(--accent-soft); }
.suggest-row .grow { flex: 1; min-width: 0; }
.suggest-row b { display: block; font-weight: 600; }
.suggest-row small, .suggest-row > span:last-child { color: var(--muted); font-size: 14px; }
.suggest-row .mini { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 8px; }
.suggest-all { display: inline-block; margin-top: 10px; color: var(--accent); font-weight: 700; }
.suggest-empty { color: var(--muted); padding: 12px 0; }
.mini-search { width: 100%; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; margin-bottom: 8px; }
.mini-search:focus { outline: 2px solid var(--accent-light); border-color: var(--accent); }
.scroll-list { max-height: 220px; overflow: auto; padding-right: 4px; }
.scroll-list label[hidden] { display: none; }
.no-brand { color: var(--muted); font-size: 14px; padding: 6px 0; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.picked:empty { display: none; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price.spec, .p-price.spec { color: var(--accent); }
.old { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.old.big { font-size: 20px; }
.opt-note.spec { color: var(--ok); }
.p-price { margin: 0; }
[data-p-price] { margin: 24px 0 16px; }
.spec-tag { display: inline-block; margin-top: 8px; background: var(--ok-soft); color: var(--ok); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.spec-mini { color: var(--ok); font-weight: 600; }
.status { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 6px; justify-items: start; }
.status span { color: var(--muted); }
.status .btn { margin-top: 10px; }
.status.ok { background: var(--ok-soft); border-color: #bfe8cd; }
.status.ok b { color: var(--ok); }
.status.wait { background: var(--warn-soft); border-color: #f2df7e; }
.status.wait b { color: var(--warn); }
.demo { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.demo small { color: var(--muted); }
.cab-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.cab-menu { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; display: grid; }
.cab-menu a, .cab-menu button { text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: none; font-weight: 500; }
.cab-menu a:hover, .cab-menu button:hover { background: var(--accent-soft); }
.orders { width: 100%; border-collapse: collapse; font-size: 15px; }
.orders th { text-align: left; color: var(--muted); font-weight: 600; font-size: 13px; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.orders td { padding: 14px 8px; border-bottom: 1px solid var(--line); }
@media (max-width: 1140px) { .phone { display: none; } }
@media (max-width: 960px) { .cab-grid { grid-template-columns: 1fr; } .orders { font-size: 14px; } }
@media (max-width: 1200px) {
  nav.main, .header-actions .hide-m { display: none; }
  .burger { display: block; }
}
.topbar .spec-on { color: var(--ok); }
@media (max-width: 700px) { .topbar .wrap > span { display: none; } .topbar .wrap { justify-content: flex-end; } }
[hidden] { display: none !important; }
header.site .search-panel .wrap { display: block; min-height: 0; }
.btn-in { background: var(--ok-soft); color: var(--ok); border-color: #bfe8cd; }
.btn-in:hover { background: #d8f3e2; }
.card .btn-in { margin-top: auto; }
.order { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.order summary { list-style: none; display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 16px 20px; cursor: pointer; }
.order summary::-webkit-details-marker { display: none; }
.order summary b { display: block; }
.order summary small { color: var(--muted); }
.o-status { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.o-status.ok { background: var(--ok-soft); color: var(--ok); }
.o-status.wait { background: var(--warn-soft); color: var(--warn); }
.o-sum { font-weight: 800; min-width: 90px; text-align: right; }
.order-items { border-top: 1px solid var(--line); padding: 8px 20px 16px; }
.order-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-row .ph { width: 56px; height: 56px; flex: 0 0 56px; font-size: 11px; }
.order-row .grow { flex: 1; min-width: 0; }
.order-row small { display: block; color: var(--muted); }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; flex-wrap: wrap; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 960px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(26,26,26,.14); padding: 18px 20px; display: flex; gap: 20px; align-items: center; }
.cookie p { margin: 0; font-size: 14px; color: var(--muted); flex: 1; }
.cookie a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex: 0 0 auto; }
@media (max-width: 700px) {
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
  .order summary { grid-template-columns: 1fr auto; }
  .o-sum { grid-column: 2; grid-row: 1; }
  .o-status { grid-column: 1 / -1; justify-self: start; }
}

/* ===== Фирменный стиль Beauty Station ===== */
h1, h2, .page-title, .block-head h2, .hero h1 { font-weight: 500; letter-spacing: .01em; }
.eyebrow { color: var(--pink-ink); letter-spacing: .22em; font-weight: 500; }
.more, nav.main a.active, nav.main a:hover, .p-brand, .opt-note, .opt-note a, .checks a, .auth .links a, .auth .alt a, .suggest-all, .drop .all { color: var(--pink-ink); }
nav.main a.active { border-bottom-color: var(--pink); }
.btn { letter-spacing: .03em; font-weight: 500; }
.price, .p-price, .o-sum, .summary .total { font-weight: 600; }
.price.spec, .p-price.spec { color: var(--pink-ink); }
.topbar { background: var(--dark); color: #e9e4e1; }
.topbar a { color: #fff; font-weight: 500; }
.topbar .spec-on { color: var(--pink); }
.logo { border: 0; padding: 0; height: auto; gap: 12px; letter-spacing: normal; }
.logo img { height: 46px; width: auto; display: block; }
.logo .wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.logo .wordmark b { font-weight: 400; letter-spacing: .22em; font-size: 17px; }
.logo .wordmark span { font-weight: 400; letter-spacing: .28em; font-size: 9.5px; color: var(--muted); padding-top: 4px; margin-top: 4px; border-top: 1px solid var(--pink); }
.ph { background: var(--accent-soft); color: #b9a9a6; }
.need { border-color: var(--pink); background: var(--pink-soft); color: var(--pink-ink); }
.badge { color: var(--pink-ink); }
.chip.active { background: var(--accent); border-color: var(--accent); }
.hero-main { background: var(--accent-soft); position: relative; overflow: hidden; }
.hero-main .ph { color: #a99a96; position: relative; z-index: 1; }
.hero-pro { background: var(--dark); position: relative; overflow: hidden; }
.hero-pro > * { position: relative; z-index: 1; }
.hero-pro .eyebrow, .pro-hero .eyebrow { color: var(--pink); }
.hero-pro li::before { color: var(--pink); }
.btn-white { color: var(--accent); }
.pro-hero { background: var(--dark); position: relative; overflow: hidden; }
.pro-hero > * { position: relative; z-index: 1; }
.pro-hero p, .step span { color: #d9d3d0; }
.step .n { color: var(--accent); }
.benefits div { background: var(--accent-soft); }
.benefits b { color: var(--pink-ink); }
.upload { border-color: var(--pink); background: var(--pink-soft); color: var(--pink-ink); }
.seg { background: var(--accent-soft); }
.seg button { color: var(--accent); }
footer.site { background: var(--dark); color: #d9d3d0; }
footer.site h4 { color: #fff; }
footer.site a, footer.site p { color: #cfc8c5; }
footer.site a:hover { color: var(--pink); }
.foot-bottom { border-top-color: rgba(255,255,255,.14); color: #a9a2a0; }
.stats b { color: var(--pink-ink); font-weight: 500; }
.option.active { background: var(--accent-soft); }
.search-form { border-color: var(--accent); }
.molecule { position: absolute; pointer-events: none; z-index: 0; }
.hero-main .molecule { right: -40px; bottom: -50px; width: 260px; opacity: .9; }
.hero-pro .molecule { right: -60px; top: -60px; width: 220px; }
.pro-hero .molecule { right: -40px; bottom: -70px; width: 300px; }
.block-head h2 { display: flex; align-items: center; gap: 14px; }
.block-head h2::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); flex: 0 0 10px; }
@media (max-width: 560px) { .logo .wordmark { display: none; } .hero-main .molecule { width: 180px; } }

/* правки декора и шапки */
header.site .wrap { gap: 22px; }
nav.main { gap: 20px; }
.logo .wordmark b { font-size: 15px; letter-spacing: .2em; }
@media (max-width: 1320px) { .logo .wordmark { display: none; } }
.hero-main .ph { background: var(--ph-strong) var(--hero-icon) center 42% / 46% no-repeat; }
.hero-main .ph span, .hero-main .ph { color: #a99a96; }
.hero-pro .molecule { right: -40px; top: auto; bottom: 70px; width: 150px; }
.pro-hero .molecule { right: auto; left: -70px; bottom: -90px; width: 240px; }

.hero-pro h2, .pro-hero h1, .brand-head h1, .product h1, .auth h1 { font-weight: 500; }
.hero-pro { background: var(--dark) url(img/logo-icon-white.png) right -40px bottom -40px / 170px no-repeat; }
.hero-pro::after { content: ""; position: absolute; inset: 0; background: var(--dark-overlay); z-index: 0; }

/* ===== Варианты цветов ===== */
.logo .logo-alt { display: none; }
html[data-theme="rose"] {
  --accent: #a85d70; --accent-dark: #8f4b5d; --accent-soft: #fbf3f2; --accent-light: #efd4da;
  --pink-soft: #f8e8eb; --ph-strong: #f3e4e2;
}
html[data-theme="dark"] {
  --bg: #1b1c1f; --surface: #232528; --page: #1b1c1f;
  --ink: #f1ebe8; --muted: #a8a1a0; --line: #36383d;
  --accent: #dfa1ad; --accent-dark: #ebb7c1; --accent-soft: #26282c; --accent-light: #4a3a3f; --on-accent: #1b1c1f;
  --pink: #dfa1ad; --pink-ink: #e8b2bc; --pink-soft: #33282b;
  --dark: #111214; --dark-overlay: rgba(17,18,20,.9);
  --ph-strong: #2c2e33; --hero-icon: url(img/logo-icon-pink.png);
  --ok: #7fd39b; --ok-soft: #1d3127; --warn: #e6c35c; --warn-soft: #3a321b; --err: #ff8a8a;
}
html[data-theme="dark"] .logo .logo-main { display: none; }
html[data-theme="dark"] .logo .logo-alt { display: block; }
html[data-theme="dark"] .btn-white { background: var(--accent); color: var(--on-accent); }
html[data-theme="dark"] .step .n { color: #111214; }
html[data-theme="dark"] .ph, html[data-theme="dark"] .thumbs button { color: #7d7476; }
html[data-theme="dark"] .btn-in, html[data-theme="dark"] .status.ok { border-color: #2f5a40; }
html[data-theme="dark"] .status.wait { border-color: #5c4d22; }
html[data-theme="dark"] .modal-bg { background: rgba(0,0,0,.6); }
html[data-theme="dark"] .cookie, html[data-theme="dark"] .drop { box-shadow: 0 16px 40px rgba(0,0,0,.5); }
html[data-theme="dark"] select option { background: var(--surface); }

.palette { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; align-items: center; }
.palette-tab { writing-mode: vertical-rl; transform: rotate(180deg); background: #111214; color: #fff; border: 0; padding: 14px 8px; border-radius: 0 10px 10px 0; font-size: 13px; letter-spacing: .1em; }
.palette-box { display: none; background: #fff; color: #232528; border: 1px solid #ddd; border-radius: 14px 0 0 14px; padding: 14px; width: 220px; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.palette.open .palette-box { display: block; }
.palette-box b { display: block; font-size: 14px; margin-bottom: 2px; }
.palette-box small { display: block; color: #777; font-size: 12px; margin-bottom: 10px; }
.palette-opt { display: flex; align-items: center; gap: 10px; width: 100%; border: 1.5px solid #e5e5e5; background: #fff; border-radius: 10px; padding: 8px 10px; margin-top: 6px; text-align: left; font-size: 14px; color: #232528; }
.palette-opt.active { border-color: #232528; }
.palette-opt i { display: flex; flex: 0 0 auto; }
.palette-opt i span { width: 16px; height: 16px; border-radius: 50%; margin-right: -4px; border: 1.5px solid #fff; }

/* ===== Плавность и аккуратные мелочи ===== */
:root { --ease: cubic-bezier(.22,.61,.36,1); }
a, .chip, .icon-btn, .card, .brand-tile, .option, .cab-menu a, .suggest-row { transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.btn { transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease); }
.btn:active { transform: scale(.98); }

/* Раскрывающиеся панели: поиск и мобильное меню */
.search-panel, .mobile-menu { display: grid !important; grid-template-rows: 0fr; padding: 0; border-top: 1px solid transparent; transition: grid-template-rows .35s var(--ease), border-color .35s var(--ease); }
.search-panel.open, .mobile-menu.open { grid-template-rows: 1fr; border-top-color: var(--line); }
.slide-inner { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s .35s; }
.open > .slide-inner { visibility: visible; transition: visibility 0s; }
.search-panel .wrap { padding-top: 16px; padding-bottom: 20px; }
.search-panel .search-form, .search-panel .suggest { opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .3s var(--ease); }
.search-panel.open .search-form, .search-panel.open .suggest { opacity: 1; transform: none; transition-delay: .08s; }
.search-form:focus-within { box-shadow: 0 0 0 4px var(--accent-light); }
.suggest-row { animation: fadeUp .25s var(--ease) both; }
.mobile-menu { box-shadow: none; }
@media (min-width: 1201px) { .mobile-menu { display: none !important; } }
.burger span { transition: transform .3s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Выпадающее меню «Каталог» */
.has-drop > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
.has-drop:hover > a::after { transform: translateY(0) rotate(225deg); }
.drop { display: block; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .22s var(--ease), transform .25s var(--ease), visibility 0s .25s; box-shadow: 0 18px 44px rgba(26,26,26,.1); }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* Окно «Связаться» */
.modal-bg { display: flex !important; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s .25s; backdrop-filter: blur(3px); }
.modal-bg.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal { transform: translateY(16px) scale(.97); transition: transform .3s var(--ease); }
.modal-bg.open .modal { transform: none; }
.success.show { animation: fadeUp .35s var(--ease) both; }

/* Свои выпадающие списки */
.sel { position: relative; }
.sel-native { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.sel-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.sel-btn:hover { border-color: var(--muted); }
.sel-btn:focus-visible, .sel.open .sel-btn { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-light); }
.sel-btn.empty .sel-val { color: var(--muted); }
.sel-btn .chev { flex: 0 0 auto; color: var(--muted); transition: transform .25s var(--ease); }
.sel.open .chev { transform: rotate(180deg); }
.sel-list { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 18px 44px rgba(26,26,26,.12); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top; transition: opacity .2s var(--ease), transform .22s var(--ease), visibility 0s .22s; max-height: 280px; overflow: auto; }
.sel.open .sel-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sel-opt { padding: 10px 12px; border-radius: 10px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sel-opt.placeholder { display: none; }
.sel-opt.hi { background: var(--accent-soft); }
.sel-opt[aria-selected="true"] { font-weight: 600; color: var(--pink-ink); }
.sel-opt[aria-selected="true"]::after { content: "✓"; }
.field.invalid .sel-btn { border-color: var(--err); }
.toolbar .sel { min-width: 220px; }
.toolbar .sel-btn { height: 44px; border-radius: 999px; padding: 0 16px 0 18px; }
.toolbar .sel-list { left: auto; right: 0; }

/* Фильтры: всегда видна кнопка «Сбросить» */
.filters { background: var(--surface); max-height: calc(100vh - 116px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 0; }
.filters-foot { position: sticky; bottom: 0; background: var(--surface); padding: 12px 0 18px; margin-top: -8px; box-shadow: 0 -12px 16px -12px rgba(26,26,26,.12); }
@media (max-width: 960px) {
  .filters { max-height: none; overflow: visible; }
  .filters.open { animation: fadeUp .3s var(--ease) both; }
  .filters-foot { position: static; box-shadow: none; }
}

/* Карточки и появление контента */
.card:hover { border-color: var(--accent-light); box-shadow: 0 12px 30px rgba(26,26,26,.07); transform: translateY(-2px); }
.brand-tile:hover { transform: translateY(-2px); }
.products .card { animation: fadeUp .35s var(--ease) both; }
.products .card:nth-child(2) { animation-delay: .03s; } .products .card:nth-child(3) { animation-delay: .06s; } .products .card:nth-child(4) { animation-delay: .09s; }
.tab-panel.active { animation: fadeUp .3s var(--ease) both; }
.order[open] .order-items { animation: fadeUp .3s var(--ease) both; }
.order summary { transition: background-color .2s var(--ease); border-radius: var(--radius); }
.order summary:hover { background: var(--accent-soft); }
.auth .view.active { animation: fadeUp .3s var(--ease) both; }
.cookie { animation: slideUp .4s var(--ease) both; }
.cookie.hide { animation: slideDown .3s var(--ease) both; }
.palette-box { display: block; opacity: 0; visibility: hidden; transform: scale(.96); transform-origin: right center; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.palette.open .palette-box { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.palette:not(.open) { pointer-events: none; } .palette-tab { pointer-events: auto; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slideDown { to { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Наличие */
.badge.out { background: var(--dark); color: #fff; }
.card.is-out .ph { filter: grayscale(.6); opacity: .75; }
.card.is-out .price { color: var(--muted); }
.stock.out { color: var(--muted); }
.out-box { margin: 24px 0; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 6px; justify-items: start; }
.out-box p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }

/* Ведущий бренд */
.brand-tile { position: relative; }
.brand-promo { display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: center; background: var(--pink-soft); border: 1px solid var(--pink); border-radius: 20px; padding: 36px 40px; }
.brand-promo h2 { font-size: 30px; font-weight: 500; margin: 10px 0 10px; }
.brand-promo p { margin: 0 0 22px; color: var(--muted); max-width: 520px; }
.brand-promo .ph { height: 180px; background: var(--surface); border: 1.5px dashed var(--pink); font-weight: 600; letter-spacing: .1em; }
@media (max-width: 960px) { .brand-promo { grid-template-columns: 1fr; padding: 28px 22px; } .brand-promo .ph { height: 120px; } }

/* Контакты */
.contact-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 18px; background: var(--surface); }
.contact-card .line small { display: block; color: var(--muted); font-size: 13px; }
.contact-card .line b { font-weight: 500; font-size: 18px; }
.msgr { display: flex; gap: 8px; flex-wrap: wrap; }
.contacts { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .contacts { grid-template-columns: 1fr; } }
.layout > * { min-width: 0; }
@media (max-width: 560px) { .toolbar .sel { min-width: 0; flex: 1 1 200px; } }
.products > * { min-width: 0; }
.card .btn { white-space: normal; text-align: center; line-height: 1.2; }
.palette-box { position: absolute; right: 100%; top: 50%; margin-top: -120px; border-radius: 14px; margin-right: 8px; }
.palette:not(.open) .palette-box { pointer-events: none; }
.modal-bg { z-index: 85; }

/* Плавные вкладки товара: панели лежат друг на друге, высота не прыгает */
.tab-panels { display: grid; }
.tab-panels > .tab-panel { grid-area: 1 / 1; display: block; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .3s; animation: none !important; }
.tab-panels > .tab-panel.active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.chip { transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.seg button { transition: background-color .25s var(--ease), color .25s var(--ease); }

/* Плавный переход между страницами */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .2s var(--ease) both vtOut; }
::view-transition-new(root) { animation: .3s var(--ease) both vtIn; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(6px); } }
main { animation: pageIn .35s var(--ease); }
@keyframes pageIn { from { opacity: 0; } }

/* Уведомление с отменой */
.toast { display: flex; align-items: center; gap: 4px; }
.toast button { border: 0; background: none; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: 10px; padding: 0; }
.toast.show { pointer-events: auto; }

/* ===== Правки: поиск, фильтры, разделы ===== */
.search-form.solo { max-width: 560px; margin-bottom: 28px; background: var(--surface); }
.search-form.solo:not(:has(button)) { padding-right: 18px; }
.search-form input { background: none; }
.search-form.shake { animation: shake .4s var(--ease); border-color: var(--err); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.search-form input::placeholder { transition: color .2s; }
.search-form.shake input::placeholder { color: var(--err); }

.sec-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 32px; }
.sec-nav .chip span { color: var(--muted); font-weight: 400; font-size: 13px; }
.sec-nav .chip.active span { color: inherit; opacity: .75; }
.sec-nav .chip:hover { border-color: var(--accent); }

.layout { grid-template-columns: 280px 1fr; }
.filters { position: static; max-height: none; overflow: visible; padding-bottom: 20px; }
.filters-foot { position: static; padding: 4px 0 0; margin: 0; box-shadow: none; background: none; }
.show-all { border: 0; background: none; padding: 6px 0 0; color: var(--pink-ink); font-weight: 600; font-size: 14px; }
.show-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.filters input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.filters input[type=number]::-webkit-inner-spin-button, .filters input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
[data-list] { min-height: 360px; align-content: start; }
.foot-grid { grid-template-columns: 1.3fr 1fr 1.4fr; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .sec-nav { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; } .sec-nav .chip { flex: 0 0 auto; } }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .filters { padding-bottom: 20px; } }

/* Фильтры на телефоне: шторка снизу */
.sheet-head, .sheet-show, .filters-bg { display: none; }
@media (max-width: 960px) {
  .filters { display: block !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 76; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; border-radius: 22px 22px 0 0; border: 0; padding: 0 20px; transform: translateY(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; box-shadow: 0 -20px 50px rgba(0,0,0,.18); animation: none !important; }
  .filters.open { transform: none; visibility: visible; transition-delay: 0s; }
  .sheet-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2; background: var(--surface); padding: 18px 0 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
  .sheet-head b { font-size: 18px; font-weight: 500; }
  .sheet-close { width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--accent-soft); font-size: 22px; line-height: 1; }
  .filters-foot { position: sticky !important; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; background: var(--surface) !important; padding: 14px 0 18px !important; border-top: 1px solid var(--line); }
  .sheet-show { display: inline-flex; }
  .filters-bg { display: block; position: fixed; inset: 0; z-index: 75; background: rgba(20,20,22,.45); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
  .sheet-open .filters-bg { opacity: 1; visibility: visible; transition-delay: 0s; }
  body.sheet-open { overflow: hidden; }
  .sec-nav { scroll-behavior: smooth; }
}
@media (max-width: 960px) {
  .filters { top: auto; }
  .filters .grid2 { grid-template-columns: 1fr 1fr; }
  .filters .group:last-of-type { border-bottom: 0; padding-bottom: 4px; }
}
@media (max-width: 960px) {
  .filters-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); border-top: 0; }
  .filters-foot .btn { padding: 0 12px; min-width: 0; }
  .filters .group:nth-last-child(2) { border-bottom: 0; margin-bottom: 0; }
}
.only-sheet { display: none; }
@media (max-width: 960px) { .only-sheet { display: inline; } .hide-sheet { display: none; } }
.sheet-open .palette { display: none; }

/* ===== Разделы каталога ===== */
.sec-nav { display: none; margin: 0 0 20px; position: relative; }
.sec-list h4 { margin-bottom: 8px; }
.sec-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 12px; margin: 0 -12px; border-radius: 10px; font-size: 15px; }
.sec-list a span, .sec-drop a span { color: var(--muted); font-size: 13px; }
.sec-list a:hover { background: var(--accent-soft); }
.sec-list a.active { background: var(--accent-soft); color: var(--pink-ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--pink); }
@media (max-width: 960px) {
  .sec-list { display: none; }
  .sec-nav { display: block; }
  .sec-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; font-weight: 600; }
  .sec-btn small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.1; }
  .sec-btn .chev { color: var(--muted); transition: transform .25s var(--ease); }
  .sec-nav.open .sec-btn { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-light); }
  .sec-nav.open .chev { transform: rotate(180deg); }
  .sec-drop { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 18px 44px rgba(26,26,26,.14); max-height: 60vh; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .22s var(--ease), visibility 0s .22s; }
  .sec-nav.open .sec-drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .sec-drop a { display: flex; justify-content: space-between; padding: 12px; border-radius: 10px; }
  .sec-drop a.active { background: var(--accent-soft); color: var(--pink-ink); font-weight: 600; }
}
@media (max-width: 960px) { .sec-nav { overflow: visible !important; margin-right: 0 !important; padding-right: 0 !important; } }
.page-title.swap { animation: fadeUp .3s var(--ease); }

/* ===== Кабинет: вкладки, поиск заказов, профиль ===== */
.cab-menu button { text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: none; font-weight: 500; }
.cab-menu button:hover { background: var(--accent-soft); }
.cab-menu button.active { background: var(--accent-soft); color: var(--pink-ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--pink); }
.cab-menu .logout { color: var(--muted); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 6px; }
.cab-panel { display: none; }
.cab-panel.active { display: block; animation: fadeUp .3s var(--ease); }
.o-filters { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 12px; align-items: end; }
.o-filters .field { margin-bottom: 0; }
.o-filters input[type=date] { padding: 0 10px; }
.o-bar { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 12px; color: var(--muted); font-size: 14px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--pink-ink); font-weight: 600; font-size: 14px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-o-more] { margin-top: 4px; }
.o-status.info { background: var(--accent-soft); color: var(--pink-ink); }
.o-status.off { background: var(--accent-soft); color: var(--muted); }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.prof-card { max-width: 640px; }
.prof-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary:disabled:hover { background: var(--accent); }
@media (max-width: 960px) {
  .o-filters { grid-template-columns: 1fr 1fr; }
  .o-filters .o-q { grid-column: 1 / -1; }
  .cab-menu { display: flex; overflow-x: auto; gap: 4px; }
  .cab-menu button { white-space: nowrap; }
  .cab-menu .logout { border-top: 0; margin: 0 0 0 auto; }
}
@media (max-width: 560px) { .o-filters { grid-template-columns: 1fr 1fr; } }

/* Окно подтверждения */
.confirm { max-width: 440px; }
.confirm h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; }
.changes { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.changes li { display: grid; gap: 2px; padding: 10px 14px; background: var(--accent-soft); border-radius: 12px; }
.changes span { font-size: 13px; color: var(--muted); }
.changes b { font-weight: 500; word-break: break-word; }
.confirm-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Корзина */
.prefill { margin: -8px 0 14px; font-size: 14px; color: var(--muted); }
.save-addr { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); cursor: pointer; margin-top: -4px; }
.save-addr input { width: 18px; height: 18px; accent-color: var(--accent); }
.checkout h2 { margin-top: 28px; }

/* Подвал */
.foot-contacts a, .foot-contacts span { display: block; }
.foot-contacts .foot-phone { font-size: 17px; color: #fff; padding: 0 0 4px; }
.foot-contacts .foot-hours { font-size: 14px; color: #a9a2a0; margin: 4px 0 14px; }
.foot-msgr { display: flex; gap: 8px; margin-bottom: 10px; }
.foot-msgr a { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 5px 14px !important; font-size: 13px; }
.foot-msgr a:hover { border-color: var(--pink); }
.foot-lead { border: 0; background: none; padding: 3px 0; color: var(--pink); font-size: 14px; font-weight: 500; }
.foot-lead:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ===== Календарь периода ===== */
.o-filters { grid-template-columns: 1.5fr 1.2fr 1fr; }
.dr { position: relative; }
.dr-btn .dr-icons { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.dr-clear { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 18px; line-height: 1; cursor: pointer; }
.dr-clear:hover { background: var(--accent-soft); color: var(--ink); }
.dr.open .dr-btn { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-light); }
.dr-pop { position: absolute; z-index: 45; top: calc(100% + 6px); left: 0; width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 18px 44px rgba(26,26,26,.14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .22s var(--ease), visibility 0s .22s; }
.dr.open .dr-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dr-presets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.dr-presets button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500; }
.dr-presets button:hover { border-color: var(--accent); }
.dr-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dr-nav b { font-weight: 500; }
.dr-nav button { width: 36px; height: 36px; border: 0; border-radius: 999px; background: none; font-size: 22px; line-height: 1; }
.dr-nav button:hover { background: var(--accent-soft); }
.dr-week, .dr-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.dr-week span { text-align: center; font-size: 12px; color: var(--muted); padding: 4px 0; }
.dr-days button { height: 38px; border: 0; background: none; border-radius: 10px; font-size: 14px; position: relative; }
.dr-days button:hover:not(:disabled) { background: var(--accent-soft); }
.dr-days button.today { font-weight: 700; color: var(--pink-ink); }
.dr-days button.in { background: var(--accent-soft); border-radius: 0; }
.dr-days button.start { border-radius: 10px 0 0 10px; }
.dr-days button.end { border-radius: 0 10px 10px 0; }
.dr-days button.start.end { border-radius: 10px; }
.dr-days button.start, .dr-days button.end { background: var(--accent); color: var(--on-accent); }
.dr-days button:disabled { color: var(--line); cursor: default; }
.dr-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.dr-hint { color: var(--muted); font-size: 12px; line-height: 1.3; }
.dr-done { height: 36px; padding: 0 16px; font-size: 13px; }
@media (max-width: 960px) { .o-filters { grid-template-columns: 1fr 1fr; } .o-filters .o-q { grid-column: 1 / -1; } }
@media (max-width: 560px) { .o-filters { grid-template-columns: 1fr; } .dr-pop { width: auto; right: 0; } }

/* ===== Карточки «Добавлено в корзину»: стопка ===== */
.cart-pops { position: fixed; z-index: 72; right: 24px; bottom: 24px; width: 360px; display: flex; flex-direction: column-reverse; pointer-events: none; }
.cart-pop { position: relative; pointer-events: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 20px; box-shadow: 0 20px 50px rgba(26,26,26,.16); overflow: hidden; margin-top: 10px; opacity: 0; transform: translateX(30px); transition: opacity .25s var(--ease), transform .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), padding .3s var(--ease); }
.cart-pop.show { opacity: 1; transform: none; }
.cart-pop.leaving { opacity: 0; transform: translateX(30px); margin-top: 0; padding-top: 0; padding-bottom: 0; border-width: 0; }
.cart-pop:not(:first-child) { box-shadow: 0 10px 30px rgba(26,26,26,.1); }
.cp-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 999px; background: none; font-size: 20px; color: var(--muted); }
.cp-close:hover { background: var(--accent-soft); color: var(--ink); }
.cp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cp-head b { font-weight: 600; font-size: 16px; }
.cp-ok { width: 26px; height: 26px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.cp-item { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.cp-ph { width: 56px; height: 56px; flex: 0 0 56px; }
.cp-name { display: block; font-weight: 500; line-height: 1.3; }
.cp-item small { color: var(--muted); }
.cp-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.cp-actions .btn { height: 44px; padding: 0 12px; }
.cp-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--pink); transform-origin: left; animation: cpBar 6s linear forwards; }
.cart-pop.paused .cp-bar { animation-play-state: paused; }
@keyframes cpBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* На телефоне: компактнее, видно максимум две */
@media (max-width: 560px) {
  .cart-pops { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .cart-pop { padding: 14px 14px 16px; }
  .cart-pop:nth-child(n+3) { display: none; }
  .cart-pop:not(:first-child) .cp-item, .cart-pop:not(:first-child) .cp-actions { display: none; }
  .cart-pop:not(:first-child) .cp-head { margin-bottom: 0; }
}
.dr-days button.start, .dr-days button.end, .dr-days button.start:hover, .dr-days button.end:hover { background: var(--accent) !important; color: var(--on-accent) !important; }
.dr-pop { width: 344px; }
.dr-presets { display: grid; grid-template-columns: repeat(4, 1fr); }
.dr-presets button { padding: 6px 4px; }
@media (max-width: 560px) { .dr-pop { width: auto; } }
/* Старые карточки в стопке — компактные: только товар и «Отменить» */
.cp-undo-mini { display: none; margin-left: auto; margin-right: 30px; border: 0; background: none; padding: 0; color: var(--pink-ink); font-weight: 600; font-size: 14px; }
.cp-undo-mini:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-pop:not(:first-child) { padding: 12px 16px 14px; }
.cart-pop:not(:first-child) .cp-head { margin-bottom: 4px; }
.cart-pop:not(:first-child) .cp-head b { font-size: 14px; font-weight: 500; color: var(--muted); }
.cart-pop:not(:first-child) .cp-ok { width: 22px; height: 22px; font-size: 12px; }
.cart-pop:not(:first-child) .cp-undo-mini { display: inline; }
.cart-pop:not(:first-child) .cp-close { top: 6px; }
.cart-pop:not(:first-child) .cp-ph, .cart-pop:not(:first-child) .cp-actions, .cart-pop:not(:first-child) .cp-item small { display: none; }
.cart-pop:not(:first-child) .cp-item { margin: 0 0 0 32px; }
.cart-pop:not(:first-child) .cp-name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }
@media (max-width: 560px) {
  .cart-pop:not(:first-child) .cp-item { display: flex; }
  .cart-pop:not(:first-child) .cp-head { margin-bottom: 4px; }
}
.mail-fix { font-size: 13px; color: var(--muted); margin-top: 6px; }
.mail-fix b { color: var(--ink); font-weight: 600; }
.mail-fix button { border: 0; background: none; padding: 0; margin-left: 4px; color: var(--pink-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Профиль: данные специалиста и подписка ===== */
.prof-spec { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 18px; }
.prof-spec h3 { font-size: 17px; font-weight: 500; margin-bottom: 14px; }
.switch { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding: 18px 0 6px; margin-top: 4px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .sw { flex: 0 0 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; transition: background .25s var(--ease); margin-top: 2px; }
.switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.switch input:checked + .sw { background: var(--accent); }
.switch input:checked + .sw::after { transform: translateX(18px); }
.switch input:focus-visible + .sw { box-shadow: 0 0 0 4px var(--accent-light); }
.switch b { display: block; font-weight: 500; }
.switch small { display: block; color: var(--muted); font-size: 13px; }
.appear { animation: fadeUp .3s var(--ease); }

/* ===== Частые вопросы: плавно и с индикатором ===== */
.faq details { padding: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 12px; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 12px no-repeat; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open]:not(.closing) summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--pink-ink); }
.faq details p { margin: 0; padding: 0 0 18px; transition: opacity .3s var(--ease); }
.faq details.closing p { opacity: 0; }
.promo-box { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 18px; }
.promo-box h3 { font-size: 17px; font-weight: 500; margin-bottom: 4px; }
.promo-box .switch { border-top: 0; padding: 12px 0 0; margin: 0; }
.promo-box .connect { display: block; margin-top: 4px; color: var(--pink-ink); font-weight: 600; }
.prof-actions { margin-top: 18px; }

/* ===== Фото товаров ===== */
.ph { position: relative; overflow: hidden; }
.ph.has-img { background: #fff; }
.ph .pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.ph.has-img .ph-t { display: none; }
.ph:not(.has-img) .ph-t { display: inline; }
.card .ph .badge { z-index: 2; }
.thumbs button { position: relative; overflow: hidden; padding: 0; background: #fff; }
.thumbs button .pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.thumbs.single { display: none; }
.gallery .main.swap-in .pimg { animation: fadeUp .3s var(--ease); }
.card:hover .ph.has-img .pimg { transform: scale(1.03); }
.ph .pimg { transition: transform .35s var(--ease); }
html[data-theme="dark"] .ph.has-img, html[data-theme="dark"] .thumbs button { background: #fff; }

/* ===== Реальные данные: цены для специалистов, тексты, логотипы ===== */
.price-pro { font-size: 17px; font-weight: 500; color: var(--pink-ink); }
.p-price.price-pro { font-size: 24px; }
.cat.soon { opacity: .55; }
.cat.soon:hover { opacity: .8; }
.logo-ph .pimg { padding: 10% 14%; }
.brand-head .logo-ph { height: 160px; background: #fff; border: 1.5px solid var(--line); }
.brand-desc { color: var(--muted); max-width: 760px; }
.brand-desc p { margin: 0 0 10px; }
.brand-desc .more-p { display: none; }
.brand-desc.open .more-p { display: block; animation: fadeUp .3s var(--ease); }
.tab-panel > p { max-width: 820px; margin: 0 0 12px; line-height: 1.65; }
.rich { list-style: none; padding: 0; margin: 0; max-width: 820px; display: grid; gap: 6px; }
.rich li { line-height: 1.55; }
.rich .grp { font-weight: 600; margin-top: 10px; }
.rich .grp:first-child { margin-top: 0; }
.rich .head { font-weight: 600; margin-top: 10px; }
.rich .sub { position: relative; padding-left: 18px; color: var(--ink); }
.rich .sub::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.rich .kv b { font-weight: 500; color: var(--muted); margin-right: 6px; }
.med-note { margin: 22px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--muted); font-size: 13px; max-width: 820px; }
.meta span + span::before { content: none; }
/* Вкладки товара: показываем только активную, высота анимируется скриптом */
.tab-panels { display: block; overflow: hidden; }
.tab-panels > .tab-panel { display: none; opacity: 1; visibility: visible; transform: none; transition: none; }
.tab-panels > .tab-panel.active { display: block; animation: fadeUp .3s var(--ease) !important; }
.opt-note.muted { color: var(--muted); }
.cats.few { grid-template-columns: repeat(var(--n), 1fr); }
.cats.few .cat .ph { aspect-ratio: 16 / 9; }
.cats.few .cat b { font-size: 18px; font-weight: 500; }
@media (max-width: 560px) { .cats.few { grid-template-columns: 1fr 1fr; } .cats.few .cat .ph { aspect-ratio: 1 / 1; } }
