/* TOLK storefront — lots of white, one accent, type does the work */
:root{
  --ink:#14110f;
  --ink-2:#59524c;
  --ink-3:#8f867e;
  --line:#e8e3dd;
  --bg:#fbf9f7;
  --card:#fff;
  --accent:#8a6a4b;      /* warm amber-brown, reads as perfume not as SaaS */
  --accent-soft:#f3ece3;
  --sale:#b1462f;
  --ok:#2f7a56;
  --r:14px;
  --shadow:0 1px 2px rgba(20,17,15,.04), 0 12px 32px rgba(20,17,15,.06);
  --shadow-lg:0 24px 64px rgba(20,17,15,.16);
}
*{box-sizing:border-box}
/* Атрибут hidden обязан побеждать раскладку. Любое правило вида .foo{display:flex}
   перебивает браузерное [hidden]{display:none}, и блок остаётся на экране, хотя
   в разметке помечен скрытым. На этом уже сгорели панель тегов, форма ввода
   в голосовом режиме и прилипающая строка поиска — закрываем класс целиком. */
[hidden]{display:none !important}
html,body{margin:0;padding:0}
body{
  background:var(--bg); color:var(--ink);
  font:400 16px/1.6 "Inter","Helvetica Neue",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}
a{color:inherit}
.wrap{max-width:1360px;margin:0 auto;padding:0 24px}

/* ---------- ticker ---------- */
.ticker{background:var(--ink);color:#f6f1ea;overflow:hidden;font-size:12px;letter-spacing:.14em;text-transform:lowercase}
.ticker__in{display:flex;gap:28px;white-space:nowrap;padding:9px 0;animation:slide 34s linear infinite;width:max-content}
.ticker b{font-weight:600;color:#fff}
@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- header ---------- */
.hdr{position:sticky;top:0;z-index:60;background:rgba(251,249,247,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.hdr__in{display:flex;align-items:center;gap:24px;height:74px}
.logo{font-size:24px;font-weight:600;letter-spacing:.22em;text-decoration:none}
.logo span{color:var(--accent)}
.logo--sm{font-size:19px}
.search{position:relative;flex:1;max-width:640px}
.search input{
  width:100%;height:46px;border:1px solid var(--line);border-radius:999px;
  padding:0 44px 0 46px;background:var(--card);outline:none;transition:.2s;
}
.search input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.search__ico{position:absolute;left:16px;top:13px;width:20px;height:20px;fill:none;stroke:var(--ink-3);stroke-width:1.7}
.search__clear{position:absolute;right:14px;top:8px;width:30px;height:30px;border-radius:50%;color:var(--ink-3);font-size:20px;display:none}
.search__clear.on{display:block}

/* ---------- voice input ---------- */
.search input{padding-right:78px}
.search .mic{position:absolute;right:12px;top:9px}
.mic{
  width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:transparent;color:var(--ink-3);flex:none;transition:.18s;
}
.mic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mic:hover{color:var(--ink)}
.mic--rec{background:#e5484d;color:#fff;animation:micPulse 1.1s infinite}
.mic--busy{opacity:.45;pointer-events:none}
@keyframes micPulse{0%,100%{box-shadow:0 0 0 0 rgba(229,72,77,.55)}70%{box-shadow:0 0 0 8px rgba(229,72,77,0)}}
.chat__form .mic{width:46px;height:46px;border:1px solid var(--line);background:var(--bg)}
.chat__form .mic svg{width:20px;height:20px;fill:none;stroke:currentColor;margin:0}
.chat__form .mic--rec{background:#e5484d;border-color:#e5484d;color:#fff}
.hdr__acts{display:flex;gap:10px;margin-left:auto}
.ghost,.cart-btn{
  display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;
  border:1px solid var(--line);border-radius:999px;background:var(--card);
  font-size:14px;transition:.18s;white-space:nowrap;
}
.ghost:hover,.cart-btn:hover{border-color:var(--ink);transform:translateY(-1px)}
.ghost svg,.cart-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.cart-btn b{
  min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--ink);color:#fff;
  font-size:12px;line-height:22px;text-align:center;
}

/* ---------- partner referral bar (under header, in document flow) ---------- */
.refbar{
  background:var(--accent-soft);border-bottom:1px solid var(--line);color:var(--ink);
}
.refbar[hidden]{display:none !important}
.refbar__in{display:flex;align-items:center;gap:12px;padding:10px 24px;min-width:0}
.refbar p{margin:0;flex:1;min-width:0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.refbar b{font-weight:600}
.refbar__x{
  flex:none;width:40px;height:40px;min-width:40px;min-height:40px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:22px;line-height:1;color:var(--ink-3);background:transparent;
}
.refbar__x:hover{color:var(--ink);background:rgba(20,17,15,.06)}

/* ---------- hero ---------- */
.hero{padding:64px 0 48px;border-bottom:1px solid var(--line);background:
  radial-gradient(900px 420px at 78% 18%, #f6ece0 0%, rgba(246,236,224,0) 62%), var(--bg)}
.hero__in{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.eyebrow{margin:0 0 18px;font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--accent)}
.hero h1{
  margin:0;font-size:clamp(56px,7.5vw,104px);line-height:1;font-weight:400;letter-spacing:.01em;
  font-family:"Georgia","Times New Roman",serif;
}
.hero h1 em{font-style:italic;color:var(--accent)}
.hero{padding:88px 0 64px}
.lede{margin:22px 0 12px;max-width:46ch;color:var(--ink-2);font-size:17px}
/* Первый экран по BRAND_TOLK: заголовок → кнопка-слоган → подзаголовок → девиз.
   Кнопка стоит сразу под именем, до объяснения — она и есть главный призыв. */
.hero__ask{margin:26px 0 4px}
.hero__thesis{
  margin:18px 0 6px;max-width:18ch;font-size:clamp(18px,2.1vw,22px);
  font-weight:600;line-height:1.3;letter-spacing:.01em;
}
.hero__base{
  margin:0 0 8px;font-size:12px;letter-spacing:.04em;color:var(--ink-3);
}
.hero__why{
  margin:0 0 16px;max-width:46ch;font-size:14px;line-height:1.5;color:var(--ink-2);
}
.hero__motto{
  margin:0 0 26px;font-size:15px;letter-spacing:.02em;color:var(--ink-2);
  font-weight:600;padding-left:12px;border-left:2px solid var(--accent);
}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap}
.btn{height:52px;padding:0 30px;border-radius:999px;font-size:15px;transition:.18s;white-space:nowrap}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover{background:#000;transform:translateY(-1px);box-shadow:var(--shadow)}
.btn--line{border:1px solid var(--ink);background:transparent}
.btn--line:hover{background:var(--ink);color:#fff}
.btn--full{width:100%}
.hero__facts{display:flex;gap:40px;margin:40px 0 0;padding:0;list-style:none}
.hero__facts li{display:flex;flex-direction:column}
.hero__facts b{font-size:26px;font-weight:500}
.hero__facts span{font-size:13px;color:var(--ink-3)}
.hero__art{display:grid;grid-template-columns:1fr 1fr;gap:14px;height:440px}
.hero__art figure{margin:0;border-radius:var(--r);overflow:hidden;background:#f7f4f1;box-shadow:var(--shadow);position:relative}
.hero__art figure:nth-child(1){grid-row:span 2}
.hero__art img{width:100%;height:100%;object-fit:contain;padding:14px;mix-blend-mode:multiply}
.hero__art figcaption{position:absolute;left:14px;bottom:12px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}

/* ---------- chips ---------- */
.chips{display:flex;gap:10px;overflow-x:auto;padding-top:26px;padding-bottom:6px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips button{
  padding:9px 18px;border:1px solid var(--line);border-radius:999px;background:var(--card);
  font-size:14px;white-space:nowrap;transition:.16s;
}
.chips button:hover{border-color:var(--ink)}
.chips button.on{background:var(--ink);color:#fff;border-color:var(--ink)}

/* ---------- layout ---------- */
.layout{display:grid;grid-template-columns:262px 1fr;gap:36px;padding-top:28px;padding-bottom:80px;align-items:start}
.filters{position:sticky;top:96px;border:1px solid var(--line);border-radius:var(--r);background:var(--card);padding:20px}
.filters__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.filters h3{margin:0;font-size:15px;font-weight:600;letter-spacing:.04em}
.link{color:var(--accent);font-size:13px;text-decoration:underline;text-underline-offset:3px}
.fgroup{padding:18px 0;border-top:1px solid var(--line)}
.fgroup h4{margin:0 0 12px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}
.range{display:flex;align-items:center;gap:8px}
.range input{width:100%;height:40px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:var(--bg);outline:none}
.range input:focus{border-color:var(--accent)}
.quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.quick button{padding:6px 11px;border:1px solid var(--line);border-radius:999px;font-size:12.5px;color:var(--ink-2)}
.quick button:hover{border-color:var(--ink);color:var(--ink)}
.quick button.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.minisearch{width:100%;height:38px;border:1px solid var(--line);border-radius:10px;padding:0 12px;margin-bottom:10px;background:var(--bg);outline:none}
.checks{display:flex;flex-direction:column;gap:9px}
.checks--scroll{max-height:250px;overflow:auto;padding-right:6px}
.check{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--ink-2);cursor:pointer}
.check input{width:16px;height:16px;accent-color:var(--accent);flex:none}
.check em{margin-left:auto;font-style:normal;font-size:12px;color:var(--ink-3)}
.check:hover{color:var(--ink)}

.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.toolbar__l{display:flex;align-items:center;gap:12px}
.found{font-size:14px;color:var(--ink-3)}
#sort{height:42px;border:1px solid var(--line);border-radius:999px;padding:0 16px;background:var(--card);outline:none}
.only-mob{display:none}
.active-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.active-filters button{
  display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;
  background:var(--accent-soft);color:var(--accent);font-size:13px;
}
.active-filters button::after{content:"×";font-size:15px;line-height:1}

/* ---------- grid ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(238px,1fr));gap:34px 26px}
.card{
  position:relative;background:transparent;border:0;border-radius:0;
  overflow:hidden;display:flex;flex-direction:column;transition:.25s;cursor:pointer;
}
.card:hover{transform:translateY(-3px)}
.card:hover .card__img{background:#f2eee9}
.card__img{position:relative;aspect-ratio:1/1.12;background:#f7f4f1;overflow:hidden;border-radius:10px;transition:.25s}
.card__img img{width:100%;height:100%;object-fit:contain;padding:16px;transition:opacity .3s, transform .5s;mix-blend-mode:multiply}
.card__img img.alt{position:absolute;inset:0;opacity:0}
/* The second shot has to replace the first, not lie on top of it: with both
   visible and mix-blend-mode on, the bottles bled through each other. */
.card:hover .card__img img.alt{opacity:1}
.card:hover .card__img img:not(.alt){opacity:0}
.card:hover .card__img img{transform:scale(1.04)}
.badges{position:absolute;left:11px;top:11px;display:flex;flex-direction:column;gap:5px;z-index:2}
.badge{padding:4px 9px;border-radius:999px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;background:var(--ink);color:#fff}
.badge--sale{background:var(--sale)}
.badge--top{background:var(--accent)}
.badge--tolk{
  background:var(--accent);text-transform:none;letter-spacing:.02em;
  font-weight:600;white-space:nowrap;line-height:1.25;
}
.card__b{padding:16px 2px 4px;display:flex;flex-direction:column;gap:5px;flex:1}
.card__brand{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}
.card__name{font-size:15px;font-family:"Georgia","Times New Roman",serif;line-height:1.32;min-height:2.6em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.card__meta{font-size:12.5px;color:var(--ink-3);display:flex;gap:8px;align-items:center}
.stars{color:var(--accent);letter-spacing:1px}
.card__price{display:flex;align-items:baseline;gap:9px;margin-top:auto;padding-top:8px}
.card__price b{font-size:19px;font-weight:600}
.card__price s{font-size:13px;color:var(--ink-3)}
.card__save{font-size:12px;color:var(--sale)}
.card__add{
  margin-top:13px;height:42px;width:100%;border:1px solid var(--line);border-radius:999px;
  font-size:14px;transition:.16s;background:#fff;
}
.card:hover .card__add{border-color:var(--ink)}
.card__add:hover{background:var(--ink);color:#fff}
.card__add.done{background:var(--ok);border-color:var(--ok);color:#fff}
.more{display:flex;justify-content:center;margin-top:40px}
.empty{text-align:center;padding:70px 0;color:var(--ink-3)}

/* ---------- modal ---------- */
.modal,.drawer{position:fixed;inset:0;z-index:120}
.modal__bg,.drawer__bg{position:absolute;inset:0;background:rgba(20,17,15,.42);backdrop-filter:blur(3px);animation:fade .2s}
@keyframes fade{from{opacity:0}to{opacity:1}}
.modal__card{
  position:relative;max-width:940px;margin:5vh auto;background:var(--card);border-radius:18px;
  overflow:hidden;box-shadow:var(--shadow-lg);animation:pop .22s;max-height:90vh;overflow-y:auto;
}
@keyframes pop{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.pm{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.pm__img{background:#f7f4f1;display:flex;align-items:center;justify-content:center;padding:22px;min-height:420px}
.pm__img img{max-height:520px;width:100%;object-fit:contain;mix-blend-mode:multiply}
.pm__b{padding:38px 38px 34px;display:flex;flex-direction:column}
.pm__brand{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin-bottom:10px}
.pm__b h2{margin:0 0 8px;font-size:30px;font-weight:400;line-height:1.18;font-family:"Georgia","Times New Roman",serif}
.pm__type{color:var(--ink-3);font-size:14px;margin-bottom:18px}
.pm__price{display:flex;align-items:baseline;gap:12px;margin:6px 0 4px}
.pm__price b{font-size:31px;font-weight:600}
.pm__price s{color:var(--ink-3)}
.pm__save{color:var(--sale);font-size:14px;margin-bottom:8px}
/* слоган №5 из BRAND_TOLK: имя объясняется там, где человек решает, платить ли */
.pm__motto{margin:0 0 18px;font-size:13.5px;color:var(--ink-2);letter-spacing:.02em}

/* сравнение с официальной розницей — только ЗЯ, без маркетплейсов */
.cmp{
  margin:10px 0 16px;padding:14px 16px 12px;
  border:1px solid var(--line);border-radius:12px;background:var(--bg);min-width:0;
}
.cmp__thesis{margin:0 0 4px;font-size:14px;font-weight:600;line-height:1.35}
.cmp__base{margin:0 0 12px;font-size:12px;color:var(--ink-3)}
.cmp__rows{display:flex;flex-direction:column;gap:8px}
.cmp__row{
  display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  font-size:14px;color:var(--ink-3);min-width:0;
}
.cmp__row span{min-width:0;overflow-wrap:anywhere}
.cmp__row em{
  font-style:normal;font-variant-numeric:tabular-nums;white-space:nowrap;
  color:var(--ink-3);font-weight:400;
}
.cmp__row--us{color:var(--accent);font-weight:700}
.cmp__row--us b{
  font-size:18px;color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap;
}
.cmp__row--disc b{
  color:var(--ok);font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600;
}
.cmp__verdict{margin:10px 0 0;font-size:13.5px;color:var(--ink);line-height:1.45}
.cmp__note{margin:8px 0 0;font-size:12.5px;color:var(--ink-2);line-height:1.45}
.cmp__date{margin:6px 0 0;font-size:11px;color:var(--ink-3)}
.pm__vols{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.pm__vols span{padding:8px 14px;border:1px solid var(--line);border-radius:999px;font-size:13.5px}
.pm__vols span.on{border-color:var(--ink);background:var(--ink);color:#fff}
.pm__facts{list-style:none;margin:22px 0 0;padding:20px 0 0;border-top:1px solid var(--line);font-size:14px;color:var(--ink-2);display:flex;flex-direction:column;gap:9px}
.pm__facts li{display:flex;gap:10px}
.pm__facts svg{width:17px;height:17px;flex:none;fill:none;stroke:var(--ok);stroke-width:1.8;margin-top:2px}
.modal .x,.drawer .x{position:absolute;right:16px;top:14px;width:38px;height:38px;border-radius:50%;font-size:24px;color:var(--ink-3);background:rgba(255,255,255,.9);z-index:3}
.modal .x:hover{color:var(--ink)}

/* ---------- cart ---------- */
.drawer__panel{
  position:absolute;right:0;top:0;bottom:0;width:min(430px,100%);background:var(--card);
  display:flex;flex-direction:column;box-shadow:var(--shadow-lg);animation:slidein .24s;
  z-index:1;
}
@keyframes slidein{from{transform:translateX(30px);opacity:.6}to{transform:none;opacity:1}}
.drawer__head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line)}
.drawer__head h3{margin:0;font-size:17px;font-weight:600}
.drawer .x{position:static}
.cart-items{flex:1;overflow-y:auto;padding:14px 24px}
.ci{display:grid;grid-template-columns:64px 1fr auto;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}
.ci img{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:8px;mix-blend-mode:multiply}
.ci__n{font-size:14px;line-height:1.35}
.ci__br{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.ci__q{display:flex;align-items:center;gap:9px;margin-top:7px}
.ci__q button{width:26px;height:26px;border:1px solid var(--line);border-radius:50%;font-size:15px;line-height:1}
.ci__p{text-align:right;font-weight:600;white-space:nowrap}
.ci__rm{display:block;margin-top:8px;font-size:12px;color:var(--ink-3);text-decoration:underline}
.cart-foot{padding:20px 24px 24px;border-top:1px solid var(--line);background:var(--bg)}
.ship{font-size:13px;margin-bottom:14px;color:var(--ink-2)}
.ship__bar{height:6px;border-radius:999px;background:var(--line);margin-top:9px;overflow:hidden}
.ship__bar i{display:block;height:100%;background:var(--accent);transition:width .3s}
.ship.free{color:var(--ok)}
.sum{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px}
.sum b{font-size:23px}
.cart-empty{padding:60px 0;text-align:center;color:var(--ink-3)}
.cart-code{margin:0 0 14px;font-size:13.5px;color:var(--ink-2)}
.cart-code summary{
  cursor:pointer;list-style:none;padding:4px 0;min-height:36px;
  display:flex;align-items:center;color:var(--accent);
  text-decoration:underline;text-underline-offset:3px;
}
.cart-code summary::-webkit-details-marker{display:none}
.cart-code__box{padding:8px 0 4px}
.cart-code__row{display:flex;gap:8px;align-items:center}
.cart-code__row input{
  flex:1;min-width:0;height:42px;border:1px solid var(--line);border-radius:10px;
  padding:0 12px;background:#fff;outline:none;
}
.cart-code__row input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.cart-code__row button{
  flex:none;height:42px;padding:0 16px;border:1px solid var(--ink);border-radius:999px;
  font-size:14px;background:#fff;white-space:nowrap;
}
.cart-code__row button:hover{background:var(--ink);color:#fff}
.cart-code__err{margin:8px 0 0;font-size:13px;color:var(--sale)}
.cart-code__err[hidden]{display:none !important}
.cart-sums{margin-bottom:16px}
.cart-sums .sum{margin-bottom:8px}
.cart-sums .sum:last-child{margin-bottom:0}
.sum--sub{color:var(--ink-2)}
.sum--sub b{font-size:16px;font-weight:500}
.sum--disc{color:var(--sale);gap:12px}
.sum--disc span{min-width:0}
.sum--disc em{font-style:normal;font-weight:600}
.sum--disc b{font-size:16px;font-weight:600;white-space:nowrap}
.sum[hidden]{display:none !important}
.cart-order{display:flex;flex-direction:column;gap:10px}
.cart-order__f{display:flex;flex-direction:column;gap:5px}
.cart-order__f span{
  font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);
}
.cart-order input,.cart-order textarea{
  width:100%;max-width:100%;border:1px solid var(--line);border-radius:10px;
  padding:0 12px;background:#fff;outline:none;
}
.cart-order input{height:42px}
.cart-order textarea{padding:10px 12px;min-height:64px;resize:vertical;line-height:1.4}
.cart-order input:focus,.cart-order textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.cart-order input.is-bad{border-color:var(--sale);box-shadow:0 0 0 4px rgba(177,70,47,.12)}
.cart-order__err{margin:0;font-size:13px;color:var(--sale);line-height:1.4}
.cart-order__err a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.cart-order__err[hidden]{display:none !important}
.cart-order__note{margin:0;font-size:12px;color:var(--ink-3);text-align:center;line-height:1.4}
.btn--dark:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.cart-ok{padding:56px 24px;text-align:center}
.cart-ok[hidden]{display:none !important}
.cart-ok b{display:block;font-size:18px;font-weight:600;margin-bottom:10px}
.cart-ok p{margin:0;color:var(--ink-2);font-size:15px;line-height:1.5}
.cart-foot[hidden]{display:none !important}
.cart-items[hidden]{display:none !important}

/* ---------- chat ---------- */
.fab{
  position:fixed;right:24px;bottom:24px;z-index:90;display:inline-flex;align-items:center;gap:10px;
  height:56px;padding:0 24px 0 20px;border-radius:999px;background:var(--ink);color:#fff;
  box-shadow:0 12px 32px rgba(20,17,15,.26);transition:.2s;font-size:15px;
}
.fab:hover{transform:translateY(-2px);background:#000}
.fab svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.chat{
  position:fixed;right:24px;bottom:24px;z-index:95;width:min(410px,calc(100vw - 32px));
  height:min(640px,calc(100vh - 48px));background:var(--card);border-radius:18px;
  box-shadow:var(--shadow-lg);display:flex;flex-direction:column;overflow:hidden;animation:pop .2s;
}
.chat__head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line)}
.chat__head b{display:block;font-size:15px}
.chat__head i{font-style:normal;font-size:12px;color:var(--ok)}
.chat__head .x{position:static;background:none}
.chat__log{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:14px}
.msg{max-width:86%;padding:12px 15px;border-radius:15px;font-size:14.5px;line-height:1.5;white-space:pre-wrap}
.msg--bot{background:var(--bg);border:1px solid var(--line);border-bottom-left-radius:5px;align-self:flex-start}
.msg--me{background:var(--ink);color:#fff;border-bottom-right-radius:5px;align-self:flex-end}
/* Служебная строка при открытии чата. Намеренно НЕ похожа на реплику человека:
   реплика, которая печатается сама через секунду после открытия, — первое, что
   выдаёт автомат. Служебная заметка честно говорит, сколько ждать ответа. */
.msg--note{align-self:center;max-width:92%;text-align:center;background:none;border:none;
  color:var(--muted,#8a8a8a);font-size:12.5px;line-height:1.5;padding:6px 4px}
.msg--typing{color:var(--ink-3)}
/* Подтверждение заказа, оформленного прямо в переписке. Не «бабл», а плашка:
   человек должен отличить факт от реплики консультанта. */
.msg--order{align-self:stretch;max-width:100%;display:flex;flex-direction:column;gap:4px;
  padding:12px 14px;border:1px solid var(--line);border-left:3px solid var(--ink,#111);
  border-radius:12px;background:#fff}
.msg--order b{font-size:14px}
.msg--order span{font-size:15px;font-weight:600}
.msg--order small{color:var(--muted,#8a8a8a);font-size:12.5px;line-height:1.45}
.picks{display:flex;flex-direction:column;gap:9px;align-self:stretch}
.pick{display:grid;grid-template-columns:54px 1fr auto;gap:11px;align-items:center;
  padding:9px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:.16s;text-align:left}
.pick:hover{border-color:var(--ink);transform:translateX(2px)}
.pick img{width:54px;height:54px;object-fit:contain;mix-blend-mode:multiply}
.pick b{display:block;font-size:13.5px;font-weight:500}
.pick i{font-style:normal;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.pick u{text-decoration:none;font-weight:600;font-size:14px;white-space:nowrap}
.chat__hints{display:flex;gap:7px;flex-wrap:wrap;padding:0 18px 12px}
.chat__hints button{padding:7px 12px;border:1px solid var(--line);border-radius:999px;font-size:12.5px;color:var(--ink-2)}
.chat__hints button:hover{border-color:var(--ink);color:var(--ink)}
.chat__form{display:flex;gap:9px;padding:14px 18px 18px;border-top:1px solid var(--line)}
.chat__form input{flex:1;height:46px;border:1px solid var(--line);border-radius:999px;padding:0 18px;background:var(--bg);outline:none}
.chat__form input:focus{border-color:var(--accent)}
.chat__form button{width:46px;height:46px;border-radius:50%;background:var(--ink);flex:none}
.chat__form svg{width:19px;height:19px;fill:#fff;margin:0 auto}

/* ---------- footer ---------- */
.foot{border-top:1px solid var(--line);background:var(--card);padding:52px 0 60px}
.foot__in{display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px;font-size:14px;color:var(--ink-2)}
.foot h5{margin:0 0 12px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
.foot p{margin:0;line-height:1.9}
.foot a{text-decoration:underline;text-underline-offset:3px}

/* ---------- responsive ---------- */
@media(max-width:1080px){
  .hero__in{grid-template-columns:1fr;gap:34px}
  .hero__art{height:300px}
  .layout{grid-template-columns:1fr}
  .filters{position:static;display:none}
  .filters.open{display:block}
  .only-mob{display:inline-flex}
}
@media(max-width:760px){
  .wrap{padding:0 16px}
  .refbar__in{padding:8px 16px;gap:8px;align-items:flex-start}
  .refbar p{font-size:13.5px;padding-top:8px}
  .hdr__in{height:auto;padding:12px 16px;flex-wrap:wrap;gap:12px}
  .search{order:3;flex-basis:100%;max-width:none}
  .hdr__acts .ghost span{display:none}
  .grid{grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:14px}
  .card__b{padding:12px}
  .pm{grid-template-columns:1fr}
  .pm__img{min-height:280px;padding:22px}
  .pm__b{padding:24px}
  .foot__in{grid-template-columns:1fr;gap:26px}
  .fab span{display:none}
  .fab{padding:0;width:56px;justify-content:center}
  .chat{right:12px;bottom:12px;height:min(78vh,620px)}
  .hero__facts{gap:26px}
}

/* ---------- phone (≤640px): одна-две колонки, палец вместо курсора ---------- */
@media(max-width:640px){
  html{-webkit-text-size-adjust:100%}
  body{font-size:15px}

  /* шапка: логотип, подбор, корзина — в один ряд, поиск второй строкой */
  .hdr__in{flex-wrap:wrap;gap:10px;padding:10px 16px}
  .logo{font-size:21px}
  .search{order:3;flex-basis:100%}
  .search input{height:44px;font-size:16px}          /* 16px — iOS не зумит поле */
  .search__ico{top:12px}
  .search__clear{top:7px;width:32px;height:32px}
  .ghost,.cart-btn{height:44px;padding:0 14px}
  .ghost svg,.cart-btn svg{width:20px;height:20px}
  .cart-btn b{min-width:20px;height:20px;line-height:20px}

  /* герой без воздуха, кнопки под палец */
  .hero{padding:40px 0 36px}
  .hero h1{font-size:48px}
  .hero__ask{margin:20px 0 2px}
  .hero__motto{margin:0 0 20px;font-size:14px}
  .hero__thesis{margin:14px 0 4px;font-size:18px}
  .hero__base{font-size:11.5px}
  .hero__why{margin:0 0 14px;font-size:13.5px}
  .lede{font-size:15px}
  .hero__cta .btn{height:48px;padding:0 22px;font-size:15px}
  .hero__facts{gap:22px;margin-top:28px}
  .hero__art{height:240px;gap:10px}

  /* чипсы брендов — тапабельны, прокрутка не вылезает */
  .chips{gap:8px;padding-top:18px}
  .chips button{padding:12px 16px;font-size:14px;min-height:44px}

  /* каталог: две колонки от 400px, одна на самых узких */
  .layout{gap:20px;padding-top:18px}
  .filters{padding:16px;margin-bottom:14px}
  .quick button{padding:9px 12px}
  .check{padding:6px 0;min-height:44px;font-size:15px;align-items:center}
  .check:last-child{margin-bottom:-6px}
  .check input{width:18px;height:18px}
  .range input{height:44px}
  .minisearch{height:44px}
  .toolbar{flex-wrap:wrap;gap:10px}
  .toolbar .ghost,.only-mob{height:44px}
  #sort{height:44px;font-size:15px}
  .active-filters button{padding:12px 16px;font-size:14px;min-height:44px}
  .grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px 12px}
  .card__name{font-size:14px}
  .card__price b{font-size:17px}
  .card__add{height:44px}
  .card__meta{font-size:12.5px}
  .more .btn{height:48px}

  /* модалка товара: почти весь экран, закрытие крупное, внутренняя прокрутка */
  .modal__card{margin:0;max-width:none;min-height:100dvh;max-height:100dvh;border-radius:0}
  .modal__card .pm__img{min-height:200px;padding:16px}
  .modal__card .pm__img img{max-height:220px}
  .modal__card .pm__b{padding:20px 18px 32px}
  .modal__card .pm__b h2{font-size:24px}
  .modal__card .pm__price b{font-size:27px}
  .cmp{padding:12px 12px 10px}
  .cmp__row--us b{font-size:16px}
  .modal__card .pm__vols span{padding:10px 14px;min-height:24px}
  .modal .x{right:12px;top:10px;width:44px;height:44px;font-size:26px}
  .pm__facts{font-size:14.5px}

  /* корзина и чат — без вылезаний за экран */
  .drawer__panel{width:100%;overflow-x:hidden}
  .ci__q button{width:36px;height:36px}
  .cart-code__row input,.cart-order input{height:44px;font-size:16px}
  .cart-code__row button{height:44px}
  .cart-order textarea{font-size:16px}
  .chat{right:8px;bottom:8px;left:8px;width:auto;height:min(86dvh,640px)}
  .chat__hints button{padding:9px 12px}
  .chat__form input{height:46px;font-size:16px}
  .chat__form button{width:46px;height:46px}
  .fab{right:16px;bottom:16px}

  /* подвал */
  .foot{padding:36px 0 44px}
  .foot__in{gap:20px}
  .foot p{font-size:14px}

  /* тикер не толкает страницу вбок */
  .ticker__in{animation-duration:38s}
}

.pick small{display:block;margin-top:3px;font-size:11.5px;line-height:1.35;color:var(--ink-3)}

/* [hidden] loses to the display rules above — say it explicitly, otherwise the
   chat panel renders on page load */
.chat[hidden],.modal[hidden],.drawer[hidden]{display:none !important}

/* индикатор набора: три точки, как в мессенджере */
.msg--typing{display:flex;gap:5px;align-items:center;padding:13px 15px}
.msg--typing i{width:6px;height:6px;border-radius:50%;background:var(--ink-3);animation:blink 1.3s infinite}
.msg--typing i:nth-child(2){animation-delay:.18s}
.msg--typing i:nth-child(3){animation-delay:.36s}
@keyframes blink{0%,60%,100%{opacity:.25}30%{opacity:1}}

/* ---------- tag cloud (3D) ---------- */
/* The cloud now lives in the hero's right half. The bottle collage stays behind
   it, dimmed and blurred — recognisable shapes, not competing content. */
.hero__cloud{position:relative;min-height:470px;display:flex;flex-direction:column;justify-content:center}
@media(max-width:900px){
  .hero__cloud{min-height:340px}
  /* clip on narrow screens: a stray tag pushing past the edge creates a horizontal
     scrollbar for the whole page, which is worse than losing a word off the sphere */
  .hero__cloud .cloud{height:290px;overflow:hidden}
  .hero__cloud .hero__art{opacity:.18}
}
.hero__cloud .hero__art{
  position:absolute;inset:0;height:auto;opacity:.3;filter:blur(1.5px) saturate(.85);
  pointer-events:none;z-index:0;
}
.hero__cloud .hero__art figure{box-shadow:none;background:transparent}
.hero__cloud .cloud{z-index:1}
.cloud__hint{
  position:relative;z-index:1;margin:0;text-align:center;font-size:12px;color:var(--ink-3);
  letter-spacing:.02em;
}
.cloud{position:relative;height:400px;perspective:1000px;user-select:none;overflow:visible;
  cursor:grab;touch-action:pan-y}
.cloud.dragging{cursor:grabbing}
.cloud__sphere{position:absolute;left:50%;top:50%;transform-style:preserve-3d}
/* No fixed width here: labels range from "свежий" to "на каждый день", and a
   fixed box made the long ones spill over their neighbours into mush. Each pill
   is its own width and is centred on its point via translate(-50%,-50%). */
.cloud__t{
  position:absolute;left:0;top:0;
  display:inline-flex;align-items:baseline;justify-content:center;gap:6px;
  padding:6px 13px;border-radius:999px;border:1px solid transparent;
  /* Опaque background, not transparent: on a turning sphere labels inevitably
     cross, and two overlapping transparent words read as garbage. With a solid
     ground the nearer word simply covers the farther one, which is legible. */
  background:var(--bg);color:var(--ink);font-size:15px;white-space:nowrap;line-height:1;
  will-change:transform,opacity;transition:color .18s,border-color .18s,background .18s;
}
.cloud__t i{font-style:normal;font-size:9px;color:var(--ink-3);letter-spacing:.02em;opacity:.75}
/* Colour carries the theme so the eye can sort 54 words without reading them all. */
.cloud__t[data-g="характер"]{color:#8a6a4b}
.cloud__t[data-g="нота"]{color:#7a5c8a}
.cloud__t[data-g="повод"]{color:#2f6b7a}
.cloud__t[data-g="сезон"]{color:#3f7a58}
.cloud__t[data-g="кому"]{color:#6b6257}
.cloud__t[data-g="звучание"]{color:#8a5a4b}
.cloud__t[data-g="тренд"]{color:#b1462f;font-weight:500}
.cloud__t[data-g="репутация"]{color:#a8562f}
.cloud__t[data-g="цена"]{color:#4a5a6b}
.cloud__t[data-g="бренд"]{color:#14110f;font-weight:500;letter-spacing:.04em;text-transform:uppercase}
.cloud__t:hover{border-color:var(--line);background:var(--card)}
.cloud__t.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.cloud__t.on i{color:rgba(255,255,255,.65)}
.cloud__legend{position:relative;z-index:1;text-align:center;min-height:22px;margin-top:6px;color:var(--ink-2);font-size:14px}

/* ---------- price core exposition ---------- */
.expo{padding:8px 0 40px}
.expo__head{margin-bottom:18px;max-width:640px}
.expo__head h2{margin:0 0 8px;font-size:26px;letter-spacing:-.01em}
.expo__head p{margin:0;color:var(--ink-2);font-size:14px;line-height:1.6}
/* девиз ценового блока: слоган №6 из BRAND_TOLK */
.expo__motto{
  margin-top:12px !important;font-size:15px !important;color:var(--ink) !important;
  font-weight:600;letter-spacing:.02em;padding-left:12px;border-left:2px solid var(--accent);
}
.expo__rowwrap{position:relative}
/* The row scrolls, but a hard cut at the viewport edge reads as a broken layout.
   The mask says "there is more" without adding chrome. */
.expo__rowwrap::after{
  content:'';position:absolute;right:0;top:0;bottom:10px;width:64px;pointer-events:none;
  background:linear-gradient(90deg,rgba(250,249,247,0),var(--bg));
}
.expo__row{display:flex;gap:14px;overflow-x:auto;padding-bottom:10px;scroll-snap-type:x proximity;scrollbar-width:thin}
.expo__card{
  position:relative;flex:0 0 210px;scroll-snap-align:start;cursor:pointer;
  border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--card);transition:.18s;
}
.expo__card:hover{border-color:var(--ink);transform:translateY(-3px);box-shadow:var(--shadow)}
.expo__card img{width:100%;height:150px;object-fit:contain;mix-blend-mode:multiply;margin-bottom:8px;background:#f7f4f1;border-radius:10px}
.expo__noimg{height:150px;border-radius:10px;background:#f7f4f1;margin-bottom:8px}
.expo__cut{
  position:absolute;top:10px;right:10px;z-index:2;padding:3px 9px;border-radius:999px;
  background:var(--accent);color:#fff;font-size:12px;font-weight:600;
}
.expo__brand{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3)}
.expo__name{margin:2px 0 8px;font-size:14px;line-height:1.35;min-height:38px}
.expo__price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.expo__price b{font-size:18px;color:var(--accent)}
.expo__zya{color:var(--ink-3);font-size:13px}
.expo__note{margin-top:6px;font-size:12px;color:var(--ink-2);line-height:1.45}

@media(max-width:760px){
  .cloud{height:320px}
  .cloud__t{font-size:13px;height:26px}
  .cloudwrap__head h2,.expo__head h2{font-size:22px}
  .expo__card{flex-basis:170px}
  .expo__card img,.expo__noimg{height:120px}
}

/* cultural layer inside the product modal */
.pm__cult{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.pm__cl{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);margin:16px 0 5px}
.pm__cl:first-child{margin-top:0}
.pm__cult p{margin:0;font-size:14px;line-height:1.6;color:var(--ink-2)}
/* The community blurb runs 400-600 characters. Full-length it buries the price
   and the button; clamped it invites, and one tap gives the whole thing. */
.pm__more{color:var(--accent);font-size:13px;margin-top:7px;padding:0;text-decoration:underline;text-underline-offset:3px}
.pm__clamp{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.pm__cult .pm__buzz{border-left:2px solid var(--accent);padding-left:10px}


/* ---------- touch targets: hit area without visual bloat ----------
   A 30px mic and a 23px tag look right but miss under a thumb. The pseudo-element
   grows the tappable box to 44px while the painted control stays its own size. */
.logo{display:inline-flex;align-items:center;min-height:44px}

/* ---------- touch targets: hit area without visual bloat ----------
   A 30px mic and a 23px tag look right but miss under a thumb. The pseudo-element
   grows the tappable box to 44px while the painted control stays its own size. */
.mic{position:relative}
.mic::after,.cloud__t::after{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:max(100%,44px);height:44px}
.cloud__t{position:absolute}
@media(max-width:640px){
  .cloud__t{padding:9px 13px;font-size:14px}
  .foot a{display:inline-block;padding:9px 0}
}

/* ---------- inside mode: margin bands, staff only ---------- */
.card__band{
  margin-top:6px;font-size:11.5px;letter-spacing:.02em;padding:3px 8px;border-radius:6px;
  display:inline-block;
}
.card__band--super{background:#e6f2ea;color:#276b4b}
.card__band--good{background:#f3ece3;color:#8a6a4b}
.card__band--low{background:#f1eeec;color:#8f867e}
.fgroup--inside h4{color:#276b4b}
body.inside .hdr::after{
  content:'режим для своих';position:absolute;right:24px;bottom:-9px;
  background:#276b4b;color:#fff;font-size:10px;letter-spacing:.08em;padding:2px 8px;border-radius:0 0 6px 6px;
}
.hdr{position:sticky}

/* ---------- badges on the tile ---------- */
.card__badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.bdg{font-size:10.5px;letter-spacing:.03em;padding:3px 8px;border-radius:5px;white-space:nowrap}
.bdg--cult{background:#2a2320;color:#f3e3cf}
.bdg--new{background:#e8f0e9;color:#276b4b}
.bdg--long{background:#eee9e2;color:#6b5a45}
.bdg--top{background:#f3ece3;color:#8a6a4b}
.bdg--price{background:#f6ece7;color:#b1462f}

/* ---------- infographic block inside the product card ---------- */
.pm__char{margin:0 0 16px;font-size:15px;line-height:1.6;color:var(--ink)}
.pm__facts2{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:10px;margin-bottom:16px}
.pm__facts2 div{background:#f7f4f1;border-radius:9px;padding:9px 10px;display:flex;flex-direction:column;gap:2px}
.pm__facts2 b{font-size:14px;font-weight:500;line-height:1.25}
.pm__facts2 span{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.pm__notes{border-left:2px solid var(--accent-soft);padding-left:12px;margin-bottom:16px}
.pm__nrow{display:flex;gap:10px;font-size:13.5px;line-height:1.7}
.pm__nrow i{font-style:normal;color:var(--ink-3);min-width:64px;font-size:11px;letter-spacing:.05em;text-transform:uppercase;padding-top:3px}
.pm__nrow span{color:var(--ink-2)}

/* --------------------------------------------------------------- бегущая строка
   Шар со словами занимал весь первый экран, и товар на телефоне был не виден.
   По умолчанию словарь идёт узкой лентой, разворачивается в шар по кнопке. */
.ticker{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:14px;
  background:rgba(255,255,255,.55);padding:10px 0 10px}
.ticker__line{display:flex;gap:10px;width:max-content;padding:0 14px;
  animation:tickrun 46s linear infinite}
.ticker:hover .ticker__line{animation-play-state:paused}
.ticker__t{flex:none;border:1px solid var(--line);background:#fff;border-radius:999px;
  padding:6px 13px;font:inherit;font-size:13px;color:var(--ink-2);cursor:pointer;white-space:nowrap}
.ticker__t:hover,.ticker__t.on{border-color:var(--ink);color:var(--ink)}
.ticker__t i{font-style:normal;color:var(--ink-3);margin-left:6px;font-size:11px}
.ticker__more{position:absolute;right:0;top:0;bottom:0;padding:0 14px;border:0;
  border-left:1px solid var(--line);background:rgba(255,255,255,.94);
  font:inherit;font-size:12px;color:var(--ink-3);cursor:pointer;white-space:nowrap}
.ticker__more:hover{color:var(--ink)}
@keyframes tickrun{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.ticker__line{animation:none;overflow-x:auto}}

/* компактная шапка: цифры встают в строку с кнопкой, а не отдельным блоком */
.hero__cta{align-items:center;gap:18px}
.hero__cta .hero__facts{margin:0;gap:26px}
@media (max-width:900px){
  .hero{padding:28px 0 24px}
  .hero__cta{gap:14px}
  .hero__cta .hero__facts{gap:18px}
  .hero__facts b{font-size:20px}
  .ticker__more{font-size:11px;padding:0 10px}
}

/* Лента шире экрана растягивала грид-колонку и уводила весь первый экран
   вправо (та самая грабля 1fr вместо minmax(0,1fr)). */
@media (min-width:901px){
  .hero__in{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
}
.hero__cloud,.hero__txt{min-width:0}
.ticker{max-width:100%}

/* В режиме ленты блок сжат по её высоте: фоновые картинки товара под облако
   держали ~400 px пустоты и отодвигали каталог за первый экран. */
.hero__cloud.is-compact{min-height:0}
.hero__cloud.is-compact .hero__art{display:none}
.hero__cloud.is-compact .cloud__legend{margin-top:8px}

/* На широком экране лента прижата к верху своей колонки — иначе висит
   посреди пустой половины и читается как случайный элемент. */
@media (min-width:901px){
  .hero__cloud.is-compact{align-self:start;padding-top:64px}
}

/* Панель тегов вместо вращающегося шара. Шар ложился поверх картинок товара,
   читался как каша из разноцветных слов и накрывал кнопку — свернуть его
   обратно было нельзя. Здесь просто сетка на своей подложке. */
.tagpanel{display:flex;flex-wrap:wrap;gap:8px;padding:14px;border:1px solid var(--line);
  border-radius:14px;background:#fff;position:relative;z-index:2}
.tagpanel .ticker__t{flex:0 0 auto}
#cloud-toggle{position:relative;z-index:3}
.hero__cloud:not(.is-compact) .hero__art{display:none}   /* фон не мешает читать теги */
.hero__cloud:not(.is-compact) #cloud-toggle{position:static;display:block;margin:10px auto 0;
  border:1px solid var(--line);border-radius:999px;padding:8px 16px;background:#fff}

/* display:flex перебивает атрибут hidden — панель оставалась на экране,
   хотя в разметке была помечена скрытой. Ровно из-за этого её нельзя было свернуть. */
.tagpanel[hidden]{display:none}

/* ------------------------------------------------------------------ визард */
.wiz{position:fixed;inset:0;z-index:60;background:rgba(20,16,14,.55);
  display:flex;align-items:center;justify-content:center;padding:16px}
.wiz[hidden]{display:none}
.wiz__box{background:#fff;border-radius:18px;width:min(560px,100%);max-height:92vh;
  overflow:auto;padding:18px 18px 22px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.wiz__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.wiz__dots{display:flex;gap:6px}
.wiz__dot{width:8px;height:8px;border-radius:50%;background:var(--line);display:block}
.wiz__dot.on{background:var(--ink)}
.wiz__dot.done{background:var(--ink-3)}
.wiz__close{border:0;background:none;font:inherit;font-size:13px;color:var(--ink-3);cursor:pointer}
.wiz__close:hover{color:var(--ink)}
.wiz__q{font-size:23px;line-height:1.25;margin:0 0 8px}
.wiz__hint{margin:0 0 14px;color:var(--ink-2);font-size:14px}
.wiz__ex{margin:8px 0 14px;color:var(--ink-3);font-size:13px;font-style:italic}
.wiz__chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.wiz__chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 16px;
  font:inherit;font-size:15px;cursor:pointer}
.wiz__chip:hover{border-color:var(--ink)}
.wiz__chip--t.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.wiz__input{width:100%;border:1px solid var(--line);border-radius:12px;padding:13px 14px;
  font:inherit;font-size:16px;box-sizing:border-box}
.wiz__row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:8px}
.wiz__skip{border:0;background:none;font:inherit;font-size:14px;color:var(--ink-3);
  cursor:pointer;text-decoration:underline}
.wiz__skip:hover{color:var(--ink)}
.wiz__card{border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:12px}
.wiz__cardtop{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;flex-wrap:wrap}
.wiz__cardtop b{font-size:16px}
.wiz__cardtop span{color:var(--ink-3);font-size:14px;white-space:nowrap}
.wiz__why{margin:0 0 6px;font-size:14px;line-height:1.45;color:var(--ink-2)}
.wiz__why b{color:var(--ink);font-weight:600}
.wiz__why--price b{color:#1d7a4a}
/* Герой должен читаться как ответ, а не как первая из трёх равных карточек:
   рамка плотнее, заголовок крупнее, разбор — основным текстом. */
.wiz__card--hero{border-color:var(--ink);border-width:1.5px;padding:16px}
.wiz__card--hero .wiz__cardtop b{font-size:18px}
.wiz__lead{margin:0 0 10px;font-size:15px;line-height:1.55;color:var(--ink)}
.wiz__card--hero .wiz__why--price{font-weight:600;color:#1d7a4a}
.wiz__card--alt{padding:12px;background:var(--bg-2,transparent)}
.wiz__card--alt .wiz__cardtop b{font-size:15px}
.wiz__why--dim{color:var(--ink-3);font-size:13px}
.wiz__hero{display:flex;gap:14px;align-items:flex-start}
.wiz__heroin{flex:1;min-width:0}
.wiz__shot{width:96px;height:120px;object-fit:contain;border-radius:10px;background:#fff;flex:none}
.wiz__shot--sm{width:64px;height:80px}
@media (max-width:420px){.wiz__shot{width:76px;height:96px}.wiz__shot--sm{width:56px;height:70px}}
.wiz__sub{margin:18px 0 8px;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-3)}
@media (max-width:600px){
  .wiz{padding:0;align-items:flex-end}
  .wiz__box{border-radius:18px 18px 0 0;max-height:96vh;width:100%}
  .wiz__q{font-size:20px}
}

/* Голос — основной способ рассказать: печатать «Xerjoff» никто не хочет. */
.wiz__voice{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;
  border:1px solid var(--ink);background:var(--ink);color:#fff;border-radius:14px;
  padding:16px;font:inherit;font-size:16px;cursor:pointer;margin-bottom:12px}
.wiz__voice svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
.wiz__voice.mic--rec{background:#b3261e;border-color:#b3261e}
.wiz__voice.mic--busy{opacity:.6}
.wiz__know{background:#f6f2ee;border-radius:12px;padding:11px 13px;margin-bottom:12px;
  font-size:14px;line-height:1.5;color:var(--ink-2)}
.wiz__know b{color:var(--ink)}
.wiz__human{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}
.wiz__human p{margin:0 0 10px;font-size:14px;color:var(--ink-2)}

/* Экран «под заказ»: у нас этого нет, но заказ мы всё равно берём. Оффер стоит
   выше похожих позиций — он и есть ответ, а не утешительный приз. */
.wiz__offer{margin:2px 0 14px;padding:13px 15px;border:1px solid var(--line);
  border-left:3px solid var(--ink,#111);border-radius:12px;background:#fff}
.wiz__offer b{display:block;font-size:15px;line-height:1.4}
.wiz__offer span{display:block;margin-top:5px;color:var(--muted,#8a8a8a);font-size:12.5px;line-height:1.45}
.wiz__lead{display:flex;flex-direction:column;gap:9px;margin-top:14px}
.wiz__lead .wiz__input{width:100%}
.wiz__lead .btn{width:100%}
/* Пока открыт визард, плавающая кнопка чата не нужна: она перекрывает поле
   телефона в заявке. Классом, а не inline-стилем — так состояние не разъедется. */
body.wiz-open .fab{display:none}

/* ─────────────────────────── ОДНА ДВЕРЬ ───────────────────────────────────
   Единственная точка входа. Крупная в первом экране, узкая в шапке при
   прокрутке — но это один и тот же элемент, а не два разных. */
.ask{
  display:flex;align-items:center;gap:8px;margin:26px 0 10px;padding:7px 7px 7px 20px;
  background:var(--card);border:1px solid var(--line);border-radius:999px;
  box-shadow:var(--shadow);max-width:620px;transition:.18s;
}
.ask:focus-within{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft),var(--shadow)}
.ask__in{
  flex:1;min-width:0;height:44px;border:0;outline:none;background:none;
  font-size:16px;color:var(--ink);
}
.ask__in::placeholder{color:var(--ink-3)}
.ask__in::-webkit-search-cancel-button{display:none}
.ask__mic{
  flex:none;width:44px;height:44px;border-radius:50%;display:inline-flex;
  align-items:center;justify-content:center;color:var(--ink-3);transition:.16s;
}
.ask__mic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ask__mic:hover{color:var(--ink);background:var(--bg)}
.ask__mic.mic--rec{background:#e5484d;color:#fff;animation:micPulse 1.1s infinite}
.ask__mic.mic--busy{opacity:.45;pointer-events:none}
.ask__go{
  flex:none;height:44px;padding:0 24px;border-radius:999px;
  background:var(--ink);color:#fff;font-size:15px;white-space:nowrap;transition:.16s;
}
.ask__go:hover{background:#000}
.ask__hint{margin:0 0 16px;max-width:46ch;color:var(--ink-2);font-size:14px;line-height:1.5}

/* Узкий вариант в шапке */
.ask--slim{margin:0;flex:1;max-width:560px;padding:4px 4px 4px 16px;box-shadow:none}
.ask--slim .ask__in{height:38px;font-size:15px}
.ask--slim .ask__mic{width:38px;height:38px}
.ask--slim .ask__go{height:38px;padding:0;width:38px;font-size:17px}

@media (max-width:760px){
  .ask{margin:20px 0 10px;padding:6px 6px 6px 16px;gap:6px}
  .ask__go{padding:0 18px;font-size:14px}
  .ask--slim{padding:4px 4px 4px 12px}
  .ask--slim .ask__go{width:34px;height:34px}
  .ask--slim .ask__mic{width:34px;height:34px}
}

/* На телефоне шапка со строкой поиска сворачивалась в три этажа и съедала
   190 px экрана. Держим одну строку: логотип ужимаем, строка тянется,
   корзина остаётся иконкой со счётчиком. */
@media (max-width:760px){
  .hdr__in{height:auto;min-height:58px;gap:10px;flex-wrap:nowrap}
  .hdr__in .logo{font-size:17px;letter-spacing:.14em;flex:none}
  .ask--slim{flex:1;min-width:0}
  .ask--slim .ask__in{font-size:14px}
  .hdr__acts{gap:6px;margin-left:0;flex:none}
  .hdr__acts .cart-btn{padding:0 10px;height:38px}
  .hdr__acts .cart-btn span{display:none}
}

/* ───────────────── ПЕРВЫЙ ЭКРАН v2 (02.09) ────────────────────────────────
   Было: пустая шапка, три абзаца подряд и оторванная лента тегов справа —
   склад блоков. Стало: слева имя, одна фраза и строка ввода; справа три
   позиции с разрывом цены. Воздух за счёт того, что блоков стало меньше,
   а не за счёт увеличенных отступов. */
.hdr__in{height:62px;gap:16px}
.hero{padding:40px 0 34px}
.hero__in{grid-template-columns:1.1fr .9fr;gap:52px;align-items:center}
.hero h1{font-size:clamp(40px,4.6vw,60px);letter-spacing:-.01em}
.hero__dot{color:var(--accent)}
.hero .eyebrow{margin:10px 0 0;font-size:11.5px;letter-spacing:.18em}
.hero__line{margin:14px 0 10px;max-width:44ch;color:var(--ink-2);font-size:15px;line-height:1.55}
.hero__meta{
  margin:0;color:var(--ink-3);font-size:13px;line-height:1.7;
  display:flex;flex-wrap:wrap;align-items:center;column-gap:14px;row-gap:0;
}
/* Куски строки не рвутся внутри себя — перенос только между группами.
   Хвост «дней ·» на узком экране был именно разрывом внутри куска. */
.hero__meta-s{white-space:nowrap}
.hero__meta b{color:var(--ink);font-weight:600}
.hero__link{
  color:var(--accent);font-size:13px;text-decoration:underline;text-underline-offset:3px;padding:0;
}
.hero__link:hover{color:var(--ink)}

/* три позиции справа */
.hero__deals{display:flex;flex-direction:column;gap:8px;min-width:0}
.deals__cap{
  /* Поверх фоновой картинки светло-серая подпись переставала читаться —
     на фото под ней бежевое пятно, а не чистый фон секции. */
  margin:0 0 4px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-2);
  font-weight:600;text-shadow:0 1px 10px rgba(251,249,247,.9),0 0 4px rgba(251,249,247,.8);
}
/* Оговорка про скидки — не мелкий шрифт «на всякий случай», а суть заявления:
   мы сравниваем не с прайсом, а с той ценой, по которой там реально покупают. */
.deals__cap i{
  display:block;margin-top:3px;font-style:normal;font-weight:400;
  font-size:11px;letter-spacing:.01em;text-transform:none;color:var(--ink-2);opacity:.85;
}
.deal{
  display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:12px;align-items:center;
  padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--card);
  text-align:left;transition:.16s;width:100%;
}
.deal:hover{border-color:var(--ink);transform:translateY(-1px);box-shadow:var(--shadow)}
.deal img{width:44px;height:44px;object-fit:contain;background:#fff;border-radius:8px}
.deal__t{min-width:0}
.deal__t i{display:block;font-style:normal;font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3)}
.deal__t b{display:block;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.deal__p{text-align:right;white-space:nowrap}
.deal__p u{display:block;text-decoration:none;font-size:14.5px;font-weight:600}
.deal__p em{display:block;font-style:normal;font-size:11.5px;color:var(--ink-3);text-decoration:line-through}
.deal__c{
  /* тот же язык, что стикеры каталога: акцент сайта, не красный чужак */
  font-size:11.5px;font-weight:700;color:#fff;background:var(--accent);
  padding:3px 7px;border-radius:999px;white-space:nowrap;
}

/* словарь покупателя уехал под первый экран — там он не мешает и не режется */
.hero__cloud{margin:0 0 28px}

@media (max-width:900px){
  .hero{padding:34px 0 30px}
  .hero__in{grid-template-columns:minmax(0,1fr);gap:26px}
  .hero h1{font-size:clamp(38px,12vw,52px)}
  .hero__deals{gap:7px}
}

/* Словарь покупателя: лента не должна упираться в края экрана обрезанным
   словом — это читается как поломка вёрстки. Даём поля и мягкое затухание
   справа, чтобы было понятно, что строка продолжается. */
#ticker{position:relative;background:none;border:1px solid var(--line);border-radius:14px;
  padding:10px 12px;overflow:hidden}
#ticker .ticker__line{overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
#ticker .ticker__line::-webkit-scrollbar{display:none}
#ticker::after{content:'';position:absolute;right:0;top:0;bottom:0;width:56px;pointer-events:none;
  background:linear-gradient(90deg,rgba(251,249,247,0),var(--bg))}
.ticker__more{position:relative;z-index:1;margin-top:6px;font-size:12.5px;color:var(--ink-3)}
.ticker__more:hover{color:var(--ink)}
/* Лента тегов больше не едет сама: бегущая строка обрезала первый чип по краю
   и мешала прочитать слово, ради которого её и показывают. Листается пальцем. */
#ticker .ticker__line{animation:none;transform:none;padding-left:0}

/* ── СТИКЕРЫ: один набор, одна геометрия ───────────────────────────────────
   Форма и размер у всех одинаковые, различает только цвет и вес. Раньше
   плашки отличались и формой, и шрифтом, и правилами появления — читалось
   как случайные наклейки, а не как система. Порядок важности задаёт код. */
.badge{
  padding:5px 10px;border-radius:8px;font-size:10.5px;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;line-height:1.2;
  border:1px solid transparent;box-shadow:none;
}
/* Палитра сайта, а не «наклейки из другого магазина» (замечание владельца
   02.09): чёрные заливки и чёрные обводки убраны. Иерархию держит вес,
   а не чужой цвет: главный аргумент — тёплая заливка акцентом, остальные —
   тем же тоном, но тише (подложка → контур → серый контур). */
.badge--win{background:var(--accent);color:#fff}                                  /* выгода против розницы */
.badge--sale{background:var(--accent-soft);color:var(--accent);border-color:rgba(138,106,75,.3)}  /* своя скидка */
.badge--hit{background:var(--card);color:var(--accent);border-color:rgba(138,106,75,.4)}          /* спрос */
.badge--last{background:var(--card);color:var(--ink-2);border-color:var(--line)}  /* остаток */

/* ── ШАПКА: адрес сайта + чем он торгует ───────────────────────────────────
   В шапке стоял знак «TOLK.» — он не говорил ни адреса, ни что здесь продают,
   и дублировал заголовок первого экрана. Теперь два уровня: тут магазин
   (tolkstore.ru + позиционирование сайта), ниже — бренд (ТОЛК + смысл слова). */
.hdr__in .logo{
  display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;
  column-gap:9px;align-items:center;letter-spacing:0;flex:none;line-height:1.1;
}
.logo__mark{grid-row:1 / span 2;width:30px;height:30px;display:block}
.hdr__in .logo b{
  font-family:"Georgia","Times New Roman",serif;font-size:21px;font-weight:400;
  letter-spacing:-.005em;color:var(--ink);
}
.hdr__in .logo b span{color:var(--accent)}
.hdr__in .logo i{
  font-style:normal;font-size:10.5px;letter-spacing:.02em;color:var(--ink-3);white-space:nowrap;
  align-self:start;
}
.hdr__in .logo:hover b{color:var(--accent)}

@media (max-width:760px){
  .hdr__in .logo{font-size:inherit;letter-spacing:0}
  .hdr__in .logo b{font-size:16px}
  .hdr__in .logo i{display:none}   /* на телефоне место нужно строке ввода */
  .logo__mark{width:26px;height:26px;grid-row:1}
}

/* ── ФОН ПЕРВОГО ЭКРАНА ────────────────────────────────────────────────────
   Вуаль в цвет фона сайта: сильнее слева, где текст, слабее справа, где и так
   белые карточки. Требования «текст читается» и «картинку видно» выполняются
   оба — не одно за счёт другого. */
.hero{position:relative;overflow:hidden}
/* Слои картинок: два одинаковых, верхний проявляется поверх нижнего. */
.hero__bgs{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.hero__bg{
  /* 50% 30%, а не center: кадры горизонтальные 16:9, и при обрезке в полосу
     на широком мониторе центр уносил лица за верхний край. Верхняя треть —
     то, что должно остаться в любом кропе. */
  position:absolute;inset:0;background-position:50% 30%;background-size:cover;
  opacity:0;transition:opacity 2.4s ease-in-out;
}
.hero__bg--on{opacity:1}
/* Вуаль поверх картинок, чтобы текст читался при любом кадре. */
.hero::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    /* Верхняя полоса плотнее: там стоит подпись «выгоднее, чем в Золотом яблоке»,
       и на тёмном кадре она переставала читаться. Кадры сменяются, поэтому
       рассчитывать на удачный фон под конкретной строкой нельзя. */
    linear-gradient(180deg, rgba(251,249,247,.62) 0%, rgba(251,249,247,0) 26%),
    linear-gradient(180deg, rgba(251,249,247,0) 58%, rgba(251,249,247,.92) 100%),
    linear-gradient(90deg, rgba(251,249,247,.86) 0%, rgba(251,249,247,.5) 42%, rgba(251,249,247,.14) 74%, rgba(251,249,247,.26) 100%);
}
.hero>*:not(.hero__bgs){position:relative;z-index:2}
@media (prefers-reduced-motion:reduce){ .hero__bg{transition:none} }
@media (max-width:900px){
  /* Прежняя вуаль .82-.97 хоронила кадр целиком — фон ставили зря. Теперь:
     плотнее сверху (там имя и слоган), светлее в середине (там белые карточки
     позиций, им фон не мешает), плотно к низу — переход к странице. */
  .hero::before{
    background:linear-gradient(180deg,
      rgba(251,249,247,.78) 0%,
      rgba(251,249,247,.55) 36%,
      rgba(251,249,247,.5) 64%,
      rgba(251,249,247,.94) 100%);
  }
  /* Страховка контраста: кадры меняются, и под слоганом может оказаться
     тёмное пятно. Светлый ореол держит текст читаемым на любом кадре. */
  .hero__name,.hero__slogan,.hero__meta{
    text-shadow:0 1px 12px rgba(251,249,247,.95),0 0 4px rgba(251,249,247,.85);
  }
}

/* ── ВХОД В ШАПКЕ ──────────────────────────────────────────────────────────
   Тише корзины: покупка — главное действие на витрине, кабинет — служебное.
   Поэтому контур, а не заливка, и меньший вес. */
.lg-btn{
  display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;
  border:1px solid var(--line);border-radius:999px;background:none;
  font-size:13.5px;color:var(--ink-2);text-decoration:none;transition:.18s;white-space:nowrap;
}
.lg-btn:hover{border-color:var(--ink);color:var(--ink)}
.lg-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lg-btn--in{border-color:var(--accent);color:var(--accent)}
@media (max-width:760px){
  .lg-btn{padding:0 10px;height:38px}
  .lg-btn span{display:none}   /* на телефоне остаётся значок: место нужно вводу */
}

/* имя бренда: один раз и крупно */
.hero__name{
  margin:0;font-family:"Georgia","Times New Roman",serif;font-weight:400;
  font-size:clamp(38px,4.8vw,64px);line-height:1.02;letter-spacing:-.01em;
}
.hero__dot{color:var(--accent)}
.hero__slogan{
  margin:9px 0 0;font-size:clamp(15px,1.45vw,17px);line-height:1.4;
  color:var(--ink-2);max-width:30ch;
}

/* Второй ярус той же системы: свойства товара (новинка, культовый, стойкий)
   под ценой. Отличаются от первого яруса не формой, а весом — контурные,
   без заливки. Раньше это был третий независимый набор наклеек со своей
   геометрией, и вместе с плашками на фото читалось как каша. */
.card__badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:2px}
.bdg{
  padding:4px 8px;border-radius:8px;font-size:10.5px;font-weight:600;
  letter-spacing:.05em;text-transform:uppercase;line-height:1.2;
  background:none;color:var(--ink-2);border:1px solid var(--line);
}
.bdg--new{color:var(--ok);border-color:rgba(47,122,86,.35)}
.bdg--cult{color:var(--accent);border-color:rgba(138,106,75,.35)}

/* ── ПОЗИЦИЯ ПЕРВОГО ЭКРАНА: РАСКРЫТИЕ НА МЕСТЕ ────────────────────────────
   Клик по карточке раньше сразу уводил в товар. Теперь сначала объяснение:
   сколько экономии в рублях и что это за аромат — и только потом переход. */
.deal-w{border:1px solid var(--line);border-radius:14px;background:var(--card);overflow:hidden;transition:.16s}
.deal-w:hover{border-color:var(--ink)}
.deal-w .deal{border:0;border-radius:0;background:none;cursor:pointer}
.deal-w .deal:hover{transform:none;box-shadow:none}
.deal__ph{
  width:44px;height:44px;border-radius:8px;background:var(--bg);
  display:flex;align-items:center;justify-content:center;
  font-family:"Georgia","Times New Roman",serif;font-size:19px;color:var(--ink-3);
}
.deal-x{padding:0 12px 12px;border-top:1px solid var(--line);margin-top:-1px}
.deal-x__save{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--ink-2)}
.deal-x__save b{color:var(--sale);font-weight:700}
.deal-x__why{margin:6px 0 0;font-size:13px;line-height:1.55;color:var(--ink-3)}
.deal-x__go{
  margin-top:10px;padding:0;border:0;background:none;cursor:pointer;
  font:inherit;font-size:13px;color:var(--accent);text-decoration:underline;text-underline-offset:3px;
}
.deal-x__go:hover{color:var(--ink)}

/* ── ИКОНКИ У ГРУПП ФИЛЬТРОВ ───────────────────────────────────────────────
   Мелкий контурный значок перед заголовком: он не украшение, а якорь для
   глаза — по нему группа находится боковым зрением, без чтения слова. */
.fic{display:inline-flex;vertical-align:-3px;margin-right:7px;color:var(--ink-3)}
.fic svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.filters__head h3 .fic svg{width:16px;height:16px}

/* ── ГЛУБИНА: ТЕНИ ТОЛЬКО ТАМ, ГДЕ ЕСТЬ ЧТО ПОДНИМАТЬ ──────────────────────
   Тень не «эффект», а сообщение «это можно взять». Поэтому: покой — почти
   плоско, наведение — небольшой подъём. Ровная тень на всём подряд делает
   страницу мутной, а не глубокой. */
.deal-w{box-shadow:0 1px 2px rgba(20,17,15,.04)}
.deal-w:hover{box-shadow:0 6px 20px -8px rgba(20,17,15,.18)}
.kpi,.ord{box-shadow:0 1px 2px rgba(20,17,15,.04)}
.hdr{box-shadow:0 1px 0 rgba(20,17,15,.05)}
.ask{box-shadow:0 2px 10px -6px rgba(20,17,15,.16)}
.ask:focus-within{box-shadow:0 8px 26px -12px rgba(20,17,15,.28)}

/* ── ШИРОКИЙ ЭКРАН: ПЕРВЫЙ ЭКРАН НЕ СХЛОПЫВАЕТСЯ В ПОЛОСУ (02.09) ──────────
   На 2560×1000 контента мало, минимальной высоты не было — герой сжимался
   до ~340 px, и от фонового кадра при cover оставалась лента с куском плеча.
   Минимальная высота задаёт полю кадра разумные пропорции, контент
   центрируется по вертикали. Ширину и так держит .wrap (max 1360). */
@media (min-width:1200px){
  .hero{min-height:500px;display:flex;flex-direction:column;justify-content:center}
}
@media (min-width:1900px){
  .hero{min-height:580px}
}

/* ── ТЕЛЕФОН: ПЕРВЫЙ ЭКРАН ЗАНОВО, А НЕ УЖАТЫЙ ДЕСКТОП (02.09) ─────────────
   Что видно без прокрутки на 390×844: имя, одна фраза, строка ввода
   (главное действие) и первая позиция с выгодой. Служебные цифры
   и гарантии уходят ПОД позиции — они подтверждают, а не продают.
   display:contents распускает .hero__txt, и порядок задаётся flex-order
   поверх одной колонки грида. */
@media (max-width:760px){
  .hero{padding:22px 0 26px}
  .hero__txt{display:contents}
  .hero__in{grid-template-columns:minmax(0,1fr);gap:0}
  .hero h1.hero__name{order:1;font-size:40px}
  .hero__slogan{order:2;margin:6px 0 0;font-size:15px}
  .hero .ask{order:3;margin:16px 0 14px}
  .hero__deals{order:4}
  .hero__meta{order:5;margin:14px 0 0;font-size:12.5px;line-height:1.6;column-gap:12px}

  /* позиции компактнее: три штуки помещаются под строкой ввода */
  .deal{padding:9px 10px;gap:10px}
  .deal img,.deal__ph{width:40px;height:40px}
  .deal__t b{font-size:13.5px}
  .deal__p u{font-size:14px}

  /* тап-цели: ссылка «смотреть каталог» и теги словаря — под палец */
  .hero__link{min-height:44px;display:inline-flex;align-items:center}
  .ticker__t{padding:10px 14px;min-height:40px;display:inline-flex;align-items:center}
  .ticker__more{min-height:44px}
}

/* Совсем узкие (≤420): кнопка «подобрать» не давит на поле ввода */
@media (max-width:420px){
  .ask__go{padding:0 16px}
  .ask__mic{width:40px}
}

/* Каталог на телефоне: ровно две колонки. auto-fill с минимумом 150px на 390px
   и так давал две, но на 320-360 сваливался в одну — теги и цены прыгали.
   Явные две колонки через minmax(0,1fr): карточка не может распереть сетку. */
@media (max-width:640px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Фильтры на телефоне открываются кнопкой и выглядели как десктопная колонка,
   вклеенная над каталогом. Даём им рамку-лист и кнопку закрытия не трогаем:
   тот же тумблер «фильтры» сворачивает обратно. */
@media (max-width:1080px){
  .filters.open{margin-bottom:16px;box-shadow:var(--shadow-lg)}
}

/* Картинка не пришла (сеть, CDN) — вместо иконки битого изображения и
   alt-текста поверх пустоты показываем букву бренда на подложке. Место под
   фото и так зарезервировано aspect-ratio контейнера — карточка не дышит. */
.card__ph{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-family:"Georgia","Times New Roman",serif;font-size:46px;color:var(--ink-3);
  background:#f7f4f1;
}

/* Прилипшая строка ввода на узком экране получала ~50px: логотип и кнопки
   съедали ширину. Пока строка видна, текст логотипа прячем — остаётся знак.
   :has не везде — где его нет, просто остаётся текущее (тесное) поведение. */
@media (max-width:480px){
  .hdr__in:has(.ask--slim:not([hidden])) .logo b{display:none}
}

/* ── РОЛИК ПРО МАГАЗИН ─────────────────────────────────────────────────────
   Кнопка стоит в служебной строке рядом с каталогом, а не отдельным блоком:
   видео — это способ узнать о магазине, а не самостоятельный раздел. */
.hero__link--play{display:inline-flex;align-items:center;gap:5px;text-decoration:none}
.hero__link--play svg{width:15px;height:15px;fill:currentColor}
.hero__link--play:hover{text-decoration:underline;text-underline-offset:3px}

.vmodal{
  position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;
  padding:24px;background:rgba(20,17,15,.86);backdrop-filter:blur(6px);
}
.vmodal__in{width:100%;max-width:960px}
.vmodal video{width:100%;height:auto;border-radius:14px;display:block;background:#000}
.vmodal__x{
  position:absolute;top:14px;right:16px;width:44px;height:44px;border:0;border-radius:999px;
  background:rgba(251,249,247,.14);color:#fff;font-size:26px;line-height:1;cursor:pointer;
}
.vmodal__x:hover{background:rgba(251,249,247,.26)}

/* Подпись над позициями поверх фотофона: вуаль спасает не при любой высоте
   первого экрана — на широком мониторе градиент уже не достаёт до строки.
   Контраст даём самой подписи, а не фону под ней. */
.deals__cap{color:var(--ink);text-shadow:0 1px 0 rgba(251,249,247,.9),0 0 12px rgba(251,249,247,.75)}
.deals__cap i{color:var(--ink-2);text-shadow:0 1px 0 rgba(251,249,247,.9),0 0 10px rgba(251,249,247,.7)}

/* ── ХОД РАБОТЫ ────────────────────────────────────────────────────────────
   Показываем не «идёт загрузка», а что именно происходит: за подбором стоит
   реальная работа, и её видно — это же и есть аргумент в пользу сервиса. */
.prog{margin:14px 0 0}
.prog__row{display:flex;align-items:center;gap:9px;font-size:14.5px;color:var(--ink)}
.prog__t{flex:1;min-width:0}
.prog__s{color:var(--ink-3);font-size:12.5px;font-variant-numeric:tabular-nums}
.prog__dot{
  width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none;
  animation:progPulse 1.1s ease-in-out infinite;
}
@keyframes progPulse{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1.15)}}
.prog__bar{margin:10px 0 12px;height:3px;border-radius:2px;background:var(--line);overflow:hidden}
.prog__bar i{display:block;height:100%;width:0;background:var(--accent);transition:width .3s linear}
.prog__list{margin:0;padding:0;list-style:none;font-size:13px;line-height:1.85;color:var(--ink-3)}
.prog__list li{padding-left:20px;position:relative;opacity:.55;transition:.2s}
.prog__list li::before{content:'·';position:absolute;left:6px;color:var(--ink-3)}
.prog__list li.is-now{opacity:1;color:var(--ink)}
.prog__list li.is-now::before{content:'→';left:4px;color:var(--accent)}
.prog__list li.is-done{opacity:.75}
.prog__list li.is-done::before{content:'✓';left:4px;color:var(--ok,#2F7A56)}
.prog__stop{
  margin-top:14px;height:40px;padding:0 16px;border:1px solid var(--line);border-radius:999px;
  background:none;font:inherit;font-size:13.5px;color:var(--ink-2);cursor:pointer;
}
.prog__stop:hover{border-color:var(--ink);color:var(--ink)}
@media (prefers-reduced-motion:reduce){ .prog__dot{animation:none} }

/* подтверждение контакта после заказа */
.ok-conf{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}
.ok-conf__t{font-size:14px;opacity:.85;margin-bottom:10px}
.ok-conf__row{display:flex;gap:8px;margin-bottom:8px}
.ok-conf__in{flex:1;min-width:0;padding:10px 12px;border:1px solid rgba(255,255,255,.18);
  border-radius:10px;background:rgba(255,255,255,.04);color:inherit;font:inherit}
.ok-conf__btn{padding:10px 14px;border:0;border-radius:10px;cursor:pointer;
  background:#c9a227;color:#1a1410;font:inherit;white-space:nowrap}
.ok-conf__btn:hover{filter:brightness(1.08)}
.ok-conf__note{font-size:13px;opacity:.7;min-height:18px}
@media(max-width:520px){.ok-conf__row{flex-direction:column}}

/* поле распознано голосом — подсказываем, что дальше жать самому */
.btn--ready{box-shadow:0 0 0 2px rgba(201,162,39,.55)}

/* Кнопка покупки прямо в подборе: без неё человек уходит искать позицию
   в каталоге и теряется по дороге. */
.wiz__buy{margin-top:10px;width:100%}
.wiz__card--alt .wiz__buy{width:auto;padding:8px 14px;font-size:14px}

/* Живой консультант — первое, что видит сомневающийся, а не последнее.
   Пульсация мягкая: это приглашение, а не тревога. */
.wiz__human--top{margin:0 0 14px;padding:12px 14px;border:1px solid var(--line);border-radius:14px}
.wiz__human--top p{margin:0 0 10px;font-size:14px;color:var(--ink-2)}
.wiz__pulse{animation:wizPulse 2.2s ease-in-out infinite}
@keyframes wizPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(0,0,0,.28)}
  50%{box-shadow:0 0 0 10px rgba(0,0,0,0)}
}
@media (prefers-reduced-motion:reduce){.wiz__pulse{animation:none}}

/* Честное «этого у нас нет» — не ошибка, а часть ответа: заметно, но не тревожно. */
.wiz__hint--warn{margin:-8px 0 14px;padding:8px 12px;border-left:2px solid var(--ink-3);color:var(--ink)}
