/* by Asel: сайт в духе модного журнала. Белый фон, тёмно-синий текст, видео на первом экране. */
:root {
  --navy: #302622; --navy-2: #4A3A35; --blue: #783D49; --blue-soft: #EFE6DE; --mist: #EFE8E0;
  --lemon: #783D49; --paper: #F7F3EE; --ink-2: #6E5E57; --line: #E8DED4;
  --serif: "Jost", system-ui, sans-serif; --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px; --gut: clamp(16px, 2.6vw, 34px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--lemon); padding: 8px 12px; z-index: 99; }
h1, h2, h3 { font-family: var(--sans); font-weight: 500; letter-spacing: -.01em; }
.display { font-size: clamp(46px, 6.4vw, 96px); line-height: 1; margin: 0; font-weight: 500; letter-spacing: -.02em; }
.h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.05; margin: 0 0 18px; }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }

/* ─── верхняя панель: прозрачная над видео, белая при прокрутке ─── */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: start; padding: 18px var(--gut) 0; pointer-events: none; }
.bar > * { pointer-events: auto; }
.ico { width: 46px; height: 46px; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; border-radius: 50%; transition: color .3s, background .3s; }
.ico svg { width: 24px; height: 24px; }
.burger { gap: 7px; align-content: center; justify-items: start; padding-left: 8px; }
.burger span { display: block; width: 30px; height: 1.6px; background: currentColor; }
.rcol { justify-self: end; display: grid; justify-items: center; gap: 6px; }
.rmark img { width: clamp(46px, 4.2vw, 64px); height: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.25)); }
.bar.on .rmark { display: none; }
.portrait.photo img { width: 100%; height: 100%; object-fit: cover; }
.pill { justify-self: center; max-width: 100%; overflow: hidden; display: flex; align-items: center; gap: 2px; background: rgba(48,38,34,.72); backdrop-filter: blur(8px); padding: 6px 10px 6px 6px; margin-top: -18px; opacity: 0; transform: translateY(-12px); transition: opacity .35s, transform .35s; pointer-events: none; }
.pill a { color: #fff; text-decoration: none; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 8px 10px; }
.pill a:hover, .pill a[aria-current="page"] { color: #FFF9F2; }
.pill-logo { padding: 2px 6px !important; margin-right: 4px; }
.pill-logo img { height: 26px; width: auto; }
.bar.on { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); padding-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
.bar.on .ico { color: var(--navy); }
.bar.on .pill { opacity: 1; transform: none; pointer-events: auto; margin-top: -8px; }
.edge { position: fixed; top: 50%; z-index: 30; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.edge-l { left: 8px; } .edge-r { right: 8px; transform: translateY(-50%); }
body:not(.scrolled) .edge { color: rgba(255,255,255,.8); }

/* полноэкранное меню */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--navy); color: #fff; display: grid; align-content: center; justify-items: center; gap: 28px; padding: 40px 20px; }
.menu[hidden] { display: none; }
.menu-x { position: absolute; top: 18px; left: var(--gut); font-size: 38px; font-weight: 300; }
.menu-logo { height: 120px; width: auto; }
.menu nav { display: grid; gap: 6px; text-align: center; }
.menu nav a { font-size: clamp(30px, 5vw, 54px); text-decoration: none; font-weight: 500; line-height: 1.2; }
.menu nav a:hover { color: var(--lemon); }
.menu p { display: flex; gap: 22px; margin: 0; } .menu p a { color: #E9DCCF; }

/* ─── первый экран: видео ─── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; background: #1a1f2e; overflow: hidden; }
.hero-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* прячем системную кнопку «плей» (iPhone в режиме энергосбережения), видео запустится от касания */
.hero-v::-webkit-media-controls, .hero-v::-webkit-media-controls-start-playback-button, .hero-v::-webkit-media-controls-overlay-play-button,
.hero-v::-webkit-media-controls-panel, .hero-v::-webkit-media-controls-play-button { display: none !important; -webkit-appearance: none; opacity: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(48,38,34,.28), transparent 22%, transparent 70%, rgba(48,38,34,.45)); pointer-events: none; }
.hero-logo { position: absolute; z-index: 3; top: 0; left: 50%; transform: translateX(-50%); background: #fff; padding: 14px 16px 11px; border-radius: 0 0 14px 14px; box-shadow: 0 14px 30px rgba(48,38,34,.16); }
.hero-logo img { width: clamp(64px, 5.4vw, 84px); height: auto; }
.hero-nav { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; background: rgba(48,38,34,.62); backdrop-filter: blur(8px); padding: 10px 14px; white-space: nowrap; }
.hero-nav a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; padding: 8px 12px; }
.hero-nav a:hover { color: var(--lemon); }
.snd { position: absolute; z-index: 3; left: var(--gut); bottom: 22px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.6); background: rgba(48,38,34,.35); backdrop-filter: blur(6px); color: #fff; border-radius: 999px; padding: 9px 16px 9px 12px; font: 500 13px var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.snd svg { width: 22px; height: 22px; }
.snd .w { display: none; } .snd[aria-pressed="true"] .w { display: inline; } .snd[aria-pressed="true"] .x { display: none; }

/* ─── разделы главной ─── */
.sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 7vw, 100px) var(--gut); }
.sec-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.big { font-size: clamp(56px, 8vw, 118px); line-height: .92; margin: 0; font-weight: 500; letter-spacing: -.03em; }
.subl { display: flex; gap: 22px; margin: 0 0 8px; font-size: 15px; }
.subl a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.subl a:hover { border-color: var(--navy); }
.feat { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: end; text-decoration: none; }
.feat.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); } .feat.rev .feat-img { order: 2; }
.feat .cover { aspect-ratio: 4 / 3; border-radius: 0; }
.feat-t { display: grid; gap: 12px; padding-bottom: 8px; }
.feat-t small, .card small, .rcard small { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.feat-t b { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.12; font-weight: 500; }
.feat-t span { color: var(--ink-2); font-size: 17px; }
.feat-t em { font-style: normal; font-size: 14px; color: var(--ink-2); }
.feat:hover b, .card:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.card { text-decoration: none; display: grid; gap: 10px; }
.card .cover { aspect-ratio: 16 / 10; border-radius: 0; margin-bottom: 6px; }
.card b { font-size: 24px; line-height: 1.2; font-weight: 500; }

.actual { overflow: hidden; background: var(--navy); color: #fff; padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); position: relative; }
.spaced { font-size: clamp(42px, 6.5vw, 96px); font-weight: 400; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 34px; padding: 0 var(--gut); line-height: 1; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gut); }
.rail::-webkit-scrollbar { display: none; }
.rcard { position: relative; scroll-snap-align: start; text-decoration: none; color: #fff; display: block; }
.rcard .cover { aspect-ratio: 4 / 3; border-radius: 0; }
.rcard > .rt { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 16px; background: linear-gradient(transparent, rgba(48,38,34,.92)); display: grid; gap: 4px; }
.rcard em { font-style: normal; font-size: 13px; opacity: .85; }
.rcard b { font-size: 19px; line-height: 1.25; font-weight: 500; }
.rcard small { color: #E9DCCF; }
.rail-ctl { display: flex; gap: 8px; justify-content: flex-end; padding: 18px var(--gut) 0; }
.rail-ctl button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: none; color: #fff; font-size: 26px; cursor: pointer; }
.rail-ctl button:hover { background: #fff; color: var(--navy); }

.how { background: var(--mist); padding: clamp(56px, 7vw, 100px) var(--gut); }
.how-in { max-width: var(--wrap); margin: 0 auto; }
.how ol { list-style: none; margin: 36px 0 36px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--navy); }
.how li { counter-increment: s; padding: 22px 24px 0 0; display: grid; gap: 6px; }
.how li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.how li::before { content: counter(s); font-size: 44px; line-height: 1; color: var(--blue); font-weight: 400; margin-bottom: 10px; }
.how li b { font-size: 21px; font-weight: 500; } .how li span { color: var(--ink-2); font-size: 16px; }

/* внутренние страницы: место под фиксированную панель */
body:not(.home) main { padding-top: 70px; }
/* ─── кнопки ─── */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; border-radius: 0; padding: 18px 28px; border: 0; cursor: pointer; }
.btn-lemon { background: var(--lemon); color: var(--navy); }
.btn-lemon:hover { background: #64323C; }
.btn-line { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; padding: 15.5px 24px; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn svg { width: 20px; height: 20px; }

/* обложка без фото: цвет + лента + раздел */
.cover { position: relative; aspect-ratio: 16 / 10; border-radius: 0; overflow: hidden; display: block; }
.cover img.ph { width: 100%; height: 100%; object-fit: cover; }
.cover.blue { background: var(--blue); color: var(--navy); }
.cover.navy { background: var(--navy); color: #fff; }
.cover.lemon { background: var(--lemon); color: var(--navy); }
.cover svg.rb { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover .ct { position: absolute; left: 7%; bottom: 9%; right: 30%; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.05; }
.jside .cover .ct { font-size: 17px; left: 10%; bottom: 10%; right: 10%; }
.tagpill { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--mist); color: var(--navy); }


.story { text-decoration: none; display: block; }
.story h3 { font-size: 26px; line-height: 1.2; margin: 16px 0 8px; font-weight: 500; }
.story.big h3 { font-size: clamp(30px, 3vw, 42px); }
.story p { margin: 0; color: var(--ink-2); font-size: 16px; }
.story .meta { font-size: 14px; color: var(--ink-2); margin-top: 10px; }
.story:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.story .cover { border-radius: 0; }
.tagpill { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 11px; background: var(--mist); color: var(--navy); text-decoration: none; }
/* ─── подвал ─── */
.foot { background: var(--navy); color: #E9DCCF; border-top: 1px solid var(--navy-2); padding: 48px 0 40px; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.foot img { height: 44px; width: auto; margin-bottom: 14px; }
.foot a { text-decoration: none; color: #fff; }
.foot a:hover { text-decoration: underline; }
.foot nav { display: grid; gap: 8px; }
.foot .small { grid-column: 1 / -1; border-top: 1px solid var(--navy-2); padding-top: 22px; font-size: 13.5px; }

/* ─── внутренние страницы ─── */
.pagehead { padding: clamp(40px, 6vw, 84px) 0 clamp(28px, 4vw, 48px); }
.pagehead .display { font-size: clamp(42px, 5.6vw, 80px); }
.pagehead .lede { margin-top: 22px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.chips a { text-decoration: none; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; }
.chips a[aria-current="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.newsgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; padding-bottom: 100px; }
.newsgrid .story:first-child { grid-column: span 2; }
.empty { padding: 40px 0 120px; }

/* статья */
.art { padding: clamp(34px, 5vw, 70px) 0 90px; }
.art-head { max-width: 860px; }
.art-head .display { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.06; margin-top: 18px; }
.art-head .lede { margin-top: 22px; max-width: none; }
.art-head .meta { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.art .cover { margin: 40px 0 10px; aspect-ratio: 21 / 9; }
.art .cover img.ph { object-position: center 35%; }
.prose { max-width: 700px; font-size: 18.5px; line-height: 1.72; margin-top: 30px; }
.prose h2 { font-size: 30px; line-height: 1.2; margin: 46px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.prose li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; background: var(--blue); transform: rotate(45deg); border-radius: 2px; }
.prose blockquote { margin: 34px 0; padding: 26px 30px; background: var(--mist); border-radius: 0 22px 22px 22px; font-family: var(--serif); font-size: 22px; line-height: 1.45; }
.srcs { max-width: 700px; margin-top: 44px; padding-top: 22px; border-top: 1.5px solid var(--navy); font-size: 15px; }
.srcs h2 { font-size: 20px; margin: 0 0 10px; }
.srcs ol { padding-left: 20px; margin: 0; } .srcs li { margin-bottom: 6px; } .srcs a { word-break: break-word; }
.srcs p { color: var(--ink-2); }
.more { margin-top: 80px; }
.more .newsgrid .story:first-child { grid-column: auto; }

/* обо мне */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); padding-bottom: 90px; align-items: start; }
.portrait { position: sticky; top: 100px; aspect-ratio: 4 / 5; border-radius: 28px; background: var(--blue-soft); display: grid; place-items: center; overflow: hidden; }
.portrait img { width: 62%; height: auto; }
.portrait figcaption { position: absolute; left: 22px; bottom: 18px; right: 22px; font-size: 13.5px; color: var(--ink-2); }
.about .prose { margin-top: 0; }
.rules { display: grid; gap: 0; margin: 30px 0; border-top: 1.5px solid var(--navy); }
.rules div { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.rules dt, .rules b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.faq { padding: 70px 0 100px; background: var(--mist); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; max-width: 860px; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 22px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 26px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); max-width: 44em; }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 60px; }
.plan { border: 1.5px solid var(--line); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; }
.plan.main { border-color: var(--navy); background: var(--navy); color: #fff; }
.plan h2 { font-size: 34px; margin: 0 0 6px; }
.plan .pr { font-size: 15px; color: var(--ink-2); margin-bottom: 24px; }
.plan.main .pr, .plan.main li { color: #E9DCCF; }
.plan ul { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 12px; }
.plan li { padding-left: 30px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 11px; height: 11px; transform: rotate(45deg); background: var(--blue); border-radius: 2px; }
.plan.main li::before { background: var(--lemon); }
.status { background: var(--mist); border-radius: 22px; padding: 26px 30px; margin-bottom: 70px; display: flex; gap: 18px; align-items: center; }
.status img { width: 54px; flex: none; }
.reqform { max-width: 720px; padding-bottom: 110px; }
.reqform .g { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reqform label { display: block; font-weight: 600; font-size: 15px; margin: 16px 0 6px; }
.reqform input, .reqform textarea { width: 100%; font: 400 17px/1.4 var(--sans); padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 14px; color: var(--navy); background: #fff; }
.reqform input:focus, .reqform textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.reqform .btn { margin-top: 22px; }
.ok { background: var(--blue-soft); border-radius: 16px; padding: 16px 20px; font-weight: 600; }
.hp { position: absolute; left: -5000px; }

/* ─── помощник Блик ─── */
.blik { position: fixed; right: 22px; bottom: 22px; z-index: 60; }
.blik-btn { width: 92px; height: 92px; border: 0; background: none; box-shadow: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.blik-btn .bai { width: 92px; height: 92px; filter: drop-shadow(0 8px 16px rgba(48,38,34,.22)); }

.blik-hi { position: absolute; right: 86px; bottom: 16px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 14px 14px 4px 14px; white-space: nowrap; }
.blik-panel { position: absolute; right: 0; bottom: 90px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 140px)); background: #fff; border-radius: 26px; box-shadow: 0 24px 60px rgba(48,38,34,.28); display: flex; flex-direction: column; overflow: hidden; }
.blik-panel[hidden] { display: none; }
.blik-h { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--mist); }
.blik-h .bai { width: 50px; height: 50px; flex: none; }
.blik-h b { font-family: var(--serif); font-weight: 400; font-size: 20px; display: block; line-height: 1.1; }
.blik-h small { color: var(--ink-2); font-size: 13px; }
.blik-h button { margin-left: auto; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--navy); width: 40px; height: 40px; border-radius: 10px; }
.blik-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; font-size: 15.5px; line-height: 1.5; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 18px; }
.msg.me { justify-self: end; background: var(--navy); color: #fff; border-bottom-right-radius: 5px; }
.msg.bot { background: var(--mist); border-bottom-left-radius: 5px; }
.msg q { display: block; margin-top: 8px; padding-left: 12px; border-left: 3px solid var(--blue); font-style: normal; quotes: none; }
.msg a { font-weight: 700; }
.msg .lk { display: grid; gap: 4px; margin-top: 8px; font-size: 14.5px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.quick button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font: 600 13.5px var(--sans); color: var(--navy); cursor: pointer; }
.blik-f { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.blik-f input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 16px; font: 16px var(--sans); color: var(--navy); }
.blik-f input:focus { outline: none; border-color: var(--blue); }
.blik-f button { border: 0; background: var(--lemon); color: var(--navy); border-radius: 999px; padding: 0 18px; font: 700 15px var(--sans); cursor: pointer; }


/* ─── адаптация ─── */
@media (max-width: 980px) {
  .pill a:not(.pill-logo) { display: none; }
  .feat, .feat.rev { grid-template-columns: minmax(0, 1fr); } .feat.rev .feat-img { order: 0; }
  .duo { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: minmax(260px, 46%); }
  .how ol { grid-template-columns: 1fr 1fr; } .how li:nth-child(3) { padding-left: 0; border-left: 0; } .how li { padding-bottom: 22px; }
  .about, .jgrid { grid-template-columns: minmax(0, 1fr); }
  .newsgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > div:first-child { grid-column: 1 / -1; }
  .portrait { position: static; max-width: 420px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .edge { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero-nav { left: 0; right: 0; transform: none; overflow-x: auto; justify-content: flex-start; padding: 8px 6px; scrollbar-width: none; }
  .hero-nav a { font-size: 12px; padding: 8px 9px; }
  .snd { bottom: 70px; left: 14px; }
  .hero-logo { padding: 10px 12px 8px; border-radius: 0 0 12px 12px; }
  .hero-logo img { width: 58px; }
  .rail { grid-auto-columns: 82%; }
  .spaced { font-size: 30px; letter-spacing: .2em; }
  .big { font-size: 46px; }
  .how ol { grid-template-columns: 1fr; } .how li, .how li + li { padding: 18px 0; border-left: 0; }
  .newsgrid { grid-template-columns: minmax(0, 1fr); } .newsgrid .story:first-child { grid-column: auto; }
  .rules div { grid-template-columns: 1fr; gap: 4px; }
  .reqform .g { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .blik { right: 14px; bottom: 14px; } .blik-btn, .blik-btn .bai { width: 74px; height: 74px; } .blik-hi { display: none; }
  .home .blik { bottom: 84px; }
  .plan { padding: 26px; }
  .status { flex-direction: column; align-items: flex-start; }
  .sec-h { margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { .pill { transition: none; } }


/* ─── BAI: помощник. Картинка по настроению, внутри бегут огоньки ─── */
.bai { position: relative; display: inline-block; width: 64px; height: 64px; }
.bai img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .25s; }
.bai .bai-hi, [data-mood="shy"] .bai .bai-shy, [data-mood="wow"] .bai .bai-wow, [data-mood="look"] .bai .bai-look,
[data-mood="angry"] .bai .bai-angry, [data-mood="love"] .bai .bai-love { opacity: 1; }
[data-mood]:not([data-mood="hi"]) .bai .bai-hi { opacity: 0; }
.bai-in { position: absolute; left: 18%; right: 18%; top: 38%; bottom: 20%; overflow: hidden; border-radius: 40%; pointer-events: none; mix-blend-mode: screen; }
.bai-in i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px 1px rgba(190,225,255,.9); left: calc(6% + var(--i) * 10.5%); top: 70%; opacity: 0; }
.bai-in i:nth-child(odd) { top: 40%; } .bai-in i:nth-child(3n) { top: 58%; width: 2px; height: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .bai { animation: bai-breathe 3.4s ease-in-out infinite; transform-origin: 50% 90%; }
  .bai-in i { animation: bai-spark 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.31s); }
  [data-mood="look"] .bai-in i { animation-duration: .9s; }
  [data-mood="wow"] .bai, [data-mood="love"] .bai { animation: bai-hop .45s ease-in-out 3; }
  [data-mood="angry"] .bai { animation: bai-shake .35s ease-in-out 3; }
  [data-mood="shy"] .bai { animation: bai-shy 1.2s ease-in-out 2; }
  @keyframes bai-breathe { 50% { transform: translateY(-3px) scale(1.02, .985); } }
  @keyframes bai-spark { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 35% { opacity: 1; } 70% { opacity: .8; } 100% { opacity: 0; transform: translateY(-14px) scale(1.1); } }
  @keyframes bai-hop { 50% { transform: translateY(-8px) scale(1.04); } }
  @keyframes bai-shake { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
  @keyframes bai-shy { 50% { transform: scale(.94) translateY(2px); } }
}

/* на первом экране с видео BAI не показываем: появляется, когда листают ниже */
.blik { transition: opacity .35s, transform .35s; }
.home:not(.scrolled) .blik { opacity: 0; transform: translateY(24px); pointer-events: none; }

/* ─── выбор языка ─── */
.lang { position: relative; }
.lang-btn { border: 0; background: none; color: #fff; font: 600 12.5px var(--sans); letter-spacing: .08em; padding: 8px 6px; cursor: pointer; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.bar.on .lang-btn { color: var(--navy); text-shadow: none; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; min-width: 180px; padding: 6px; box-shadow: 0 14px 34px rgba(48,38,34,.2); display: grid; z-index: 70; }
.lang-menu[hidden] { display: none; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; text-decoration: none; color: var(--navy); font-size: 15px; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--mist); }
.lang-menu .bag { width: 22px; height: 24px; flex: none; }
.lang.in-menu .lang-btn { color: #fff; font-size: 15px; border: 1px solid rgba(255,255,255,.4); padding: 8px 14px; }
.lang.in-menu .lang-menu { right: auto; left: 50%; transform: translateX(-50%); }
/* BAI не прижимаем к краю, чтобы не обрезался */
.blik { right: clamp(28px, 3vw, 48px); bottom: 26px; }
.blik-btn, .blik-btn .bai { overflow: visible; }
@media (max-width: 620px) { .blik { right: 18px; bottom: 16px; } }

/* ─── BAI в шапке, слева от WhatsApp и языка ─── */
.rcol { justify-items: end; }
.rmark img { filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.rrow { display: flex; align-items: center; gap: 4px; }
.rstack { display: grid; justify-items: center; }
.bar .blik { position: relative; right: auto; bottom: auto; z-index: 60; }
.bar .blik-btn, .bar .blik-btn .bai { width: 64px; height: 64px; }
.bar .blik-hi { right: auto; left: auto; bottom: auto; top: 50%; right: calc(100% + 8px); transform: translateY(-50%); }
.bar .blik-panel { position: fixed; top: 86px; right: var(--gut); bottom: auto; }
.bar.on .blik-btn, .bar.on .blik-btn .bai { width: 52px; height: 52px; }
.bar.on .rstack { grid-auto-flow: column; align-items: center; gap: 2px; }
.home:not(.scrolled) .bar .blik { display: none; }
.bar .blik { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 620px) {
  .bar .blik-btn, .bar .blik-btn .bai, .bar.on .blik-btn, .bar.on .blik-btn .bai { width: 46px; height: 46px; }
  .bar .blik-panel { left: 12px; right: 12px; top: 72px; width: auto; height: calc(100vh - 90px); }
}

/* в полосе меню при прокрутке только вкладки, без розового значка */
.pill-logo { display: none !important; }
.pill { padding: 6px 10px; }
@media (max-width: 980px) { .pill { display: none !important; } }
/* телефон: видео квадратное, чтобы были видны города и флаги */
@media (max-aspect-ratio: 4/5) {
  .hero { height: 100vw; min-height: 0; }
  .hero-nav { position: absolute; }
  .snd { bottom: 62px; padding: 7px 12px 7px 10px; font-size: 12px; }
  .rmark img { width: 40px; }
}

/* ─── палитра by Asel: молочный, шоколад, приглушённый бордовый ─── */
:root { --cream: #FFF9F2; --choc-deep: #352A27; --bordo: #783D49; --beige: #E8DED4; }
body { background: var(--paper); }
.btn-lemon, .btn-navy { background: var(--bordo); color: var(--cream); }
.btn-lemon:hover, .btn-navy:hover { background: #64323C; }
.btn-line { border-color: var(--navy); }
.bar.on { background: rgba(247,243,238,.96); }
.menu, .actual, .foot, .plan.main { background: var(--choc-deep); }
.menu, .menu nav a, .foot a, .actual, .rcard { color: var(--cream); }
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--cream); text-decoration: underline; text-decoration-color: #B76E7C; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.pill { background: rgba(53,42,39,.78); }
.pill a:hover, .pill a[aria-current="page"], .hero-nav a:hover { color: var(--beige); }
.pill a[aria-current="page"] { box-shadow: inset 0 -2px 0 #B76E7C; }
.hero-nav { background: rgba(53,42,39,.62); }
.lang-menu, .blik-panel, .dd-menu { background: #FFFDF9; }
.plan.main li::before { background: #D9A7B1; }
.cover.blue { background: var(--beige); color: var(--navy); }
.cover.navy { background: var(--choc-deep); color: var(--cream); }
.cover.lemon { background: var(--bordo); color: var(--cream); }
.msg.me { background: var(--bordo); color: var(--cream); }
.blik-f button { background: var(--bordo); color: var(--cream); }
.rail-ctl button:hover { background: var(--cream); color: var(--choc-deep); }
.tagpill, .chips a { background: transparent; }
.chips a[aria-current="true"] { background: var(--bordo); border-color: var(--bordo); color: var(--cream); }
.how { background: #EFE8E0; }
.status, .prose blockquote, .faq { background: #EFE8E0; }
.about-cta { margin-top: 30px; padding: 26px 28px; background: #EFE8E0; }
.about-cta p { margin: 0 0 16px; font-size: 19px; }

/* ── Вкладка «Скидки» ── */
:root { --sale: #C62F2F; }
.pill a.hot, .menu nav a.hot, .foot a.hot { font-weight: 800; color: #FF6A5C; }
.menu nav a.hot { color: #FF7A6C; }
.pill a.hot::before, .menu nav a.hot::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin: 0 7px 2px 0; vertical-align: middle; animation: hotdot 1.6s ease-in-out infinite; }
.menu nav a.hot::after { width: 10px; height: 10px; margin: 0 0 8px 12px; }
@keyframes hotdot { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .pill a.hot::before, .menu nav a.hot::after { animation: none; } }
.sales-h { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; margin: 0 0 22px; }
.sales-top { margin-bottom: clamp(48px, 6vw, 80px); }
.sales-all { padding-bottom: 100px; }
.sales-all .chips { margin: 0 0 28px; }
.countdown { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 26px; padding: 14px 20px; background: var(--sale); color: #fff; }
.countdown .cd-label { font-size: 14px; letter-spacing: .04em; }
.countdown .cd-time { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.salegrid { display: grid; grid-template-columns: repeat(auto-fill, 180px); gap: 26px 24px; padding-top: 10px; }
.salegrid.top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.sale { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.sale[hidden] { display: none; }
.sale-img { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--beige); overflow: hidden; text-decoration: none; }
.sale-img.has-img { background: #fff; }
.sale-img img { width: 100%; height: 100%; object-fit: contain; padding: 14% 18%; box-sizing: border-box; display: block; transition: transform .4s ease; }
.sale.sale-big .sale-img { aspect-ratio: 16 / 9; }
.sale.sale-big .sale-img img { object-fit: cover; padding: 0; }
.sale:hover .sale-img img { transform: scale(1.04); }
.sale-name { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; color: var(--choc-deep); }
.sale:nth-child(3n+2) .sale-img:not(.has-img) { background: var(--choc-deep); } .sale:nth-child(3n+2) .sale-name { color: var(--cream); }
.sale:nth-child(3n) .sale-img:not(.has-img) { background: var(--bordo); } .sale:nth-child(3n) .sale-name { color: var(--cream); }
.sale.sale-big .sale-name { font-size: clamp(30px, 3.4vw, 52px); }
.sale-pct { position: absolute; top: -12px; right: -12px; z-index: 1; width: 58px; height: 58px; border-radius: 50%; background: var(--sale); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: -.02em;
  box-shadow: 0 4px 12px rgba(198, 47, 47, .3); }
.sale-pct small { font-size: 10px; font-weight: 600; letter-spacing: 0; margin-bottom: 2px; }
.sale.sale-big .sale-pct { width: 84px; height: 84px; font-size: 26px; top: 14px; right: 14px; }
.sale.sale-big .sale-pct small { font-size: 13px; }
.sale-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.sale-cat { font-size: 12px; color: var(--ink-2); margin: 0; }
.sale h3 { font-size: 16px; font-weight: 600; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sale.sale-big h3 { white-space: normal; }
.sale.sale-big h3 { font-size: 26px; }
.sale-note { font-size: 13px; margin: 0; }
.sale-upto { margin: 0; font-size: 13px; font-weight: 700; color: var(--sale); }
.sale-cd { margin: 2px 0 6px; font-size: 12px; color: var(--sale); }
.sale-cd .cd-t { display: inline-block; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sale-go { margin-top: auto; display: block; text-align: center; padding: 10px 12px; background: var(--bordo); color: var(--cream); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.sale.sale-big .sale-go { align-self: flex-start; padding: 12px 20px; font-size: 13px; }
.sale-go:hover { background: #64323C; }
.sale-go:focus-visible { outline: 2px solid var(--sale); outline-offset: 3px; }
@media (max-width: 800px) { .salegrid.top { grid-template-columns: minmax(0, 1fr); gap: 16px; } .sale.sale-big h3 { font-size: 20px; } .sale.sale-big .sale-pct { width: 68px; height: 68px; font-size: 21px; } }
@media (max-width: 560px) { .salegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .sale-body { padding: 10px; } .sale h3 { font-size: 15px; }
  .sale-pct { width: 48px; height: 48px; font-size: 14px; top: -8px; right: -6px; } .sale-pct small { font-size: 9px; } .sale-cd .cd-t { font-size: 14px; } }

/* ── Блог и переход на главную ── */
.pill a.home-link, .menu nav a.home-link { opacity: .85; }
.foot-logo { display: inline-block; }
.foot-logo:hover img { opacity: .8; }
.foot a.hot { color: #FF7A6C; }
.blog-filter { margin: 0 0 28px; }
.brand-index { padding: 20px 0 100px; border-top: 1px solid var(--line); margin-top: 20px; }
.brand-index .sales-h { margin-top: 40px; }
.az { columns: 4 200px; column-gap: 32px; }
.az-group { break-inside: avoid; margin-bottom: 24px; }
.az-ch { display: block; font-size: 28px; font-weight: 600; color: var(--bordo); margin-bottom: 6px; }
.az ul { list-style: none; margin: 0; padding: 0; }
.az li { padding: 3px 0; }
.az li ul { padding-left: 14px; font-size: 15px; }
.az a { text-decoration: none; } .az a:hover { text-decoration: underline; }
.author-note { margin: 40px auto; max-width: 720px; padding: 24px 28px; background: var(--beige); border-left: 4px solid var(--bordo); }
.author-note h2 { font-size: 20px; margin: 0 0 10px; }
.author-note p:last-child { margin-bottom: 0; }
.sale-plaque { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; max-width: 720px; margin: 28px auto; padding: 16px 22px; background: var(--sale); color: #fff; text-decoration: none; }
.sale-plaque span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1.5px solid #fff; }
.sale-story { font-size: 14px; color: var(--bordo); font-weight: 600; }
/* меню-«таблетка» стало длиннее (Главная, Скидки, Блог): ужимаем, на узких экранах остаётся кнопка меню */
.pill a { padding: 8px 7px; letter-spacing: .035em; font-size: 12px; }
@media (max-width: 1200px) { .pill { display: none !important; } }
/* большая карточка статьи не должна наследовать стиль крупного заголовка .big */
.story.big { font-size: inherit; line-height: inherit; letter-spacing: normal; font-weight: inherit; }
@media (max-width: 1400px) and (min-width: 1201px) { .scrolled .blik-hi, .blik-hi { display: none !important; } }
.author-note, .sale-plaque { margin-left: 0; margin-right: 0; }

/* ── Конструктор главной: блок «Фото и текст» ── */
.blk:target { scroll-margin-top: 80px; }
.blk-empty { max-width: var(--wrap); margin: 20px auto; padding: 18px var(--gut); border: 2px dashed #c9b9ab; color: #6B5B54; font-size: 15px; }
.mb { --mb-bg: var(--cream); --mb-ink: var(--choc-deep); background: var(--mb-bg); color: var(--mb-ink); padding: clamp(48px, 7vw, 100px) var(--gut); }
.mb.tone-white { --mb-bg: #fff; }
.mb.tone-beige { --mb-bg: var(--beige); }
.mb.tone-choc { --mb-bg: var(--choc-deep); --mb-ink: var(--cream); }
.mb.tone-bordo { --mb-bg: var(--bordo); --mb-ink: var(--cream); }
.mb-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.mb-img { margin: 0; }
.mb-img img { width: 100%; height: auto; display: block; }
.mb-t h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -.02em; margin: 0 0 20px; }
.mb-t p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; margin: 0 0 16px; max-width: 60ch; }
.mb-btn { display: inline-block; margin-top: 10px; padding: 14px 24px; background: var(--mb-ink); color: var(--mb-bg); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mb-btn:focus-visible { outline: 2px solid var(--sale); outline-offset: 3px; }
.mb.mb-right .mb-img { order: 2; }
.mb.noimg .mb-in { grid-template-columns: minmax(0, 1fr); }
.mb.mb-center .mb-in, .mb.mb-full .mb-in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.mb.mb-center .mb-img { max-width: 760px; width: 100%; }
.mb.mb-center .mb-t, .mb.mb-full .mb-t { max-width: 760px; }
.mb.mb-center .mb-t p, .mb.mb-full .mb-t p { margin-left: auto; margin-right: auto; }
.mb.mb-full { padding-left: 0; padding-right: 0; }
.mb.mb-full .mb-in { max-width: none; }
.mb.mb-full .mb-img { width: 100%; }
.mb.mb-full .mb-t { padding: 0 var(--gut); }
.mb.mb-bg { position: relative; min-height: min(80vh, 720px); display: grid; align-items: center; background-size: cover; background-position: center; --mb-ink: #fff; }
.mb.mb-bg:not(.noimg)::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 22, 20, .25), rgba(30, 22, 20, .6)); }
.mb.mb-bg .mb-in { position: relative; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; width: 100%; }
.mb.mb-bg .mb-t p { margin-left: auto; margin-right: auto; }
.mb.mb-bg .mb-btn { background: #fff; color: var(--choc-deep); }
@media (max-width: 800px) {
  .mb-in { grid-template-columns: minmax(0, 1fr); }
  .mb.mb-right .mb-img { order: 0; }
  .mb.mb-bg { min-height: 70vh; }
}
.home-sales .salegrid { margin-top: 28px; }

/* ── Фото внутри статьи: !фото слева | ссылка | подпись ── */
.pf { margin: 30px 0; }
.pf img { width: 100%; height: auto; display: block; }
.pf figcaption { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.pf-left { float: left; width: 46%; margin: 6px 28px 16px 0; }
.pf-right { float: right; width: 46%; margin: 6px 0 16px 28px; }
.pf-center { max-width: 560px; margin-left: auto; margin-right: auto; text-align: center; }
.pf-wide { clear: both; width: min(100vw - 2 * var(--gut), 1100px); max-width: none; }
.prose h2, .prose blockquote { clear: both; }
.prose::after { content: ""; display: block; clear: both; }
@media (max-width: 640px) { .pf-left, .pf-right { float: none; width: 100%; margin: 24px 0; } }

/* Статья: фото обложки целиком, без обрезки (надписи на картинке не теряются) */
.art .cover:has(img.ph) { aspect-ratio: auto; background: transparent; text-align: center; }
.art .cover img.ph { display: block; width: auto; max-width: 100%; height: auto; max-height: 85vh; margin: 0 auto; object-fit: contain; }

/* Обложки во всех списках в пропорции 4:3, как картинки из ChatGPT: ничего не срезается.
   Если фото другой формы, держим верх кадра (там обычно надпись). */
.cover, .card .cover, .story .cover, .rcard .cover, .feat .cover { aspect-ratio: 4 / 3; }
.cover img.ph { object-position: center top; }

.sale-cd .cd-tz { display: block; font-size: 11px; color: var(--ink-2); margin-top: 1px; }

/* Магазины и фильтр по странам */
.chips + .chips-country { margin-top: 10px; }
.sale-country { margin: 0; font-size: 12px; color: var(--ink-2); }
.sale.no-sale .sale-go { background: transparent; color: var(--bordo); box-shadow: inset 0 0 0 1px var(--bordo); }
.sale.no-sale .sale-go:hover { background: var(--bordo); color: var(--cream); }
.shops-sale { margin-top: 14px; font-weight: 600; }
.shops-sale a { color: var(--sale); }

/* Поиск бренда и переключатель вида */
.ftools { display: flex; gap: 10px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.fsearch { flex: 1 1 260px; max-width: 420px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 15px; color: var(--choc-deep); }
.fsearch:focus-visible { outline: 2px solid var(--bordo); outline-offset: 2px; }
.fview { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.fview button { width: 46px; height: 42px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.fview button svg { width: 18px; height: 18px; fill: #9a8a80; }
.fview button[aria-pressed="true"] { background: var(--bordo); }
.fview button[aria-pressed="true"] svg { fill: #fff; }
.fview button:focus-visible { outline: 2px solid var(--bordo); outline-offset: -3px; }
.ftools + .chips { margin-top: 16px; }

/* Вид «строкой»: логотип, бренд, скидка, таймер, кнопка в одну линию */
.salegrid.as-list { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 4px; }
.salegrid.as-list .sale { flex-direction: row; align-items: center; }
.salegrid.as-list .sale-img { width: 96px; flex: 0 0 96px; aspect-ratio: 3 / 2; }
.salegrid.as-list .sale-img img { padding: 10% 12%; }
.salegrid.as-list .sale-name { font-size: 13px; }
.salegrid.as-list .sale-pct { display: none; }
.salegrid.as-list .sale-body { display: grid; grid-template-columns: minmax(0, 1fr) 120px 150px 200px 132px; align-items: center; column-gap: 16px; padding: 10px 14px; flex: 1; }
.salegrid.as-list .sale-body > * { grid-row: 1; margin: 0; }
.salegrid.as-list .sale-body h3 { grid-column: 1; font-size: 17px; white-space: normal; }
.salegrid.as-list .sale-country { grid-column: 2; font-size: 13px; }
.salegrid.as-list .sale-upto { grid-column: 3; font-size: 15px; }
.salegrid.as-list .sale-note, .salegrid.as-list .sale-story { display: none; }
.salegrid.as-list .sale-cd { grid-column: 4; }
.salegrid.as-list .sale-go { grid-column: 5; padding: 10px 12px; }
@media (max-width: 800px) {
  .salegrid.as-list .sale-img { width: 72px; flex-basis: 72px; }
  .salegrid.as-list .sale-body { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 8px 10px; }
  .salegrid.as-list .sale-body h3 { flex: 1 1 100%; font-size: 15px; }
  .salegrid.as-list .sale-country, .salegrid.as-list .sale-upto, .salegrid.as-list .sale-cd { flex: 0 0 auto; font-size: 12px; }
  .salegrid.as-list .sale-cd .cd-t { font-size: 13px; }
  .salegrid.as-list .sale-cd .cd-tz { display: none; }
  .salegrid.as-list .sale-go { margin: 6px 0 0; flex: 1 1 100%; padding: 8px; }
}

/* Калькулятор цены для клиентов */
.calc { background: var(--choc-deep); color: var(--cream); padding: clamp(48px, 7vw, 96px) var(--gut); margin-top: clamp(40px, 6vw, 80px); }
.calc-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.calc-intro h2 { margin: 0 0 14px; color: var(--cream); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; }
.calc-intro p { margin: 0; font-size: 16px; line-height: 1.55; opacity: .85; max-width: 34ch; }
.calc-form { display: grid; gap: 14px; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.calc-f { display: grid; gap: 6px; font-size: 13px; }
.calc-f span { opacity: .8; }
.calc-f input, .calc-f select { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid rgba(255, 249, 242, .3); border-radius: 0; background: rgba(255, 249, 242, .08); color: var(--cream); font: inherit; font-size: 16px; }
.calc-f select option { color: #222; }
.calc-f input:focus-visible, .calc-f select:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.calc-price input { font-size: 22px; font-weight: 600; }
.calc-out { background: var(--cream); color: var(--choc-deep); padding: 22px 22px 20px; }
.calc-lines { margin: 0; display: grid; gap: 8px; }
.calc-lines div[hidden] { display: none; }
.calc-lines div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.calc-lines dt span { color: var(--ink-2); font-size: 12px; }
.calc-lines dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-lines .calc-sub { border-top: 1px solid var(--line); padding-top: 8px; font-weight: 600; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 14px 0 10px; padding-top: 12px; border-top: 2px solid var(--choc-deep); }
.calc-total span { font-size: 14px; font-weight: 600; flex: 1 1 auto; min-width: 0; }
.calc-total b { white-space: nowrap; font-size: clamp(22px, 2.2vw, 28px); color: var(--sale); font-variant-numeric: tabular-nums; }
.calc-note { margin: 0 0 8px; font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.calc-wa { display: block; margin-top: 12px; padding: 14px; text-align: center; background: #1F8F4E; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.calc-wa:hover { background: #18743F; }
.calc-wa:focus-visible { outline: 2px solid var(--choc-deep); outline-offset: 3px; }
.calc-jump { margin: 12px 0 0; }
.calc-jump a { font-weight: 600; color: var(--bordo); }
@media (max-width: 1000px) { .calc-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .calc-intro { grid-column: 1 / -1; } }
@media (max-width: 640px) { .calc-in { grid-template-columns: minmax(0, 1fr); } .calc-out { padding: 18px 16px; } }

/* «Как заказать»: кнопка и ссылка на условия; страница условий */
.how-cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.how-terms { color: inherit; font-weight: 600; text-underline-offset: 4px; }
.how-terms:focus-visible, .about-terms a:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; }
.about-terms { margin: 18px 0 0; }
.about-terms a { color: var(--bordo); font-weight: 600; }
.terms { max-width: 760px; padding-bottom: clamp(48px, 7vw, 96px); }
.terms .prose h2 { margin-top: 36px; }
.terms-cta { margin-top: 32px; }

.sale-img.has-img.dark { background: var(--choc-deep); }
