/* «Зёрна» v3 — по мотивам mastercoffee.kz: светлый магазин со скруглёнными карточками.
   Цвета «Зёрна»: пурпур этикетки вместо бирюзы, эспрессо, поля вкусов на карточках. */

body[data-theme='v3'] {
  --font: 'Manrope', 'Sofia Sans', system-ui, sans-serif;
  --h3f: 'Dela Gothic One', 'Manrope', sans-serif;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --surface: #f5f3f2;
  --surface-2: #ebe7e5;
  font-family: var(--font);
  background: #fff;
  letter-spacing: 0;
}
[data-theme='v3'] .wrap { max-width: 1400px; }

/* ---------- Кнопки ---------- */
.b3 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: var(--r-sm); background: var(--accent); color: #fff; font: 700 0.875rem/1 var(--font); text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; white-space: nowrap; transition: background-color .2s, transform .15s var(--ease); }
.b3 .ico { width: 18px; height: 18px; }
.b3:active { transform: scale(0.97); }
.b3--sm { min-height: 38px; padding: 0 14px; font-size: 0.8125rem; }
.b3--lg { min-height: 56px; padding: 0 32px; font-size: 0.9375rem; }
.b3--ink { background: var(--espresso); }
.b3--light { background: #fff; color: var(--espresso); }
.b3--ghost { background: var(--surface); color: var(--ink); }
.b3.is-done { background: var(--ok); }
@media (hover: hover) and (pointer: fine) {
  .b3:hover { background: var(--accent-strong); }
  .b3--ink:hover { background: #000; }
  .b3--light:hover, .b3--ghost:hover { background: var(--surface-2); color: var(--ink); }
}
.h3t { font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem)/1.1 var(--h3f); text-transform: uppercase; letter-spacing: 0.01em; }
.t3all { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 0.9375rem; white-space: nowrap; }
.t3all:hover { text-decoration: underline; }

/* ---------- Верхняя полоса и шапка ---------- */
.t3top { background: var(--espresso); color: #e9ddd6; font-size: 0.8125rem; }
.t3top__in { display: flex; align-items: center; gap: 22px; min-height: 38px; }
.t3top__in > * { white-space: nowrap; }
.t3top__del { min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; }
.t3top__del > span { overflow: hidden; text-overflow: ellipsis; }
.t3top a { color: #fff; text-decoration: none; }
.t3top a:hover { text-decoration: underline; }
.t3top a span { color: #cdbdb4; }
.t3top__del { display: inline-flex; align-items: center; gap: 8px; color: #e9ddd6; }
.t3top__del .ico { width: 17px; height: 17px; color: var(--f-nut); }
.t3top__nav { display: flex; gap: 18px; margin-left: auto; }
.t3top__acc { display: inline-flex; align-items: center; gap: 6px; }
.t3top__acc .ico { width: 16px; height: 16px; }
.t3hdr { background: #fff; }
.t3hdr__in { display: flex; align-items: center; gap: 18px; height: 76px; }
.t3cat { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px 0 16px; border: 0; border-radius: var(--r-sm); background: var(--accent); color: #fff; font: 700 0.9375rem/1 var(--font); transition: background-color .2s; }
.t3cat:hover, .t3cat[aria-expanded='true'] { background: var(--accent-strong); }
.t3cat .ico { width: 20px; height: 20px; }
.t3hdr__biz { font: 800 0.875rem/1 var(--font); text-transform: uppercase; text-decoration: none; letter-spacing: 0.02em; white-space: nowrap; }
.t3hdr__biz:hover { color: var(--accent); }
.t3search { flex: 1; max-width: 420px; margin-left: 0; }
.t3search input { height: 46px; border-radius: var(--r-sm); padding: 0 44px 0 16px; background: var(--surface); }
.t3search > .ico { left: auto; right: 14px; }
.t3hdr__link { display: inline-flex; align-items: center; gap: 8px; font: 800 0.8125rem/1.1 var(--font); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }
.t3hdr__link .ico { color: var(--accent); }
.t3hdr__link:hover { color: var(--accent); }
.t3hdr .hdr__acts { margin-left: auto; }
.t3cart__l { font-weight: 600; }
.t3mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 24px 50px -20px rgba(43, 26, 20, .35); z-index: 45; } /* taste-skill-ignore: выпадающее меню */
.t3mega__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding-top: 18px; padding-bottom: 24px; }
.t3mega a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r-md); text-decoration: none; font-weight: 700; }
.t3mega a:hover { background: var(--surface); }
.t3mega a small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.8125rem; }
.t3mega__i { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; color: var(--accent); flex: none; }

/* ---------- Баннер со слайдами ---------- */
.t3hero { position: relative; margin-top: 4px; }
.t3slides { position: relative; height: clamp(360px, 34vw, 480px); border-radius: var(--r-lg); overflow: hidden; background: var(--espresso); }
.t3slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.t3slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.t3slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t3slide:first-child::after { content: ''; position: absolute; inset: 0; background: rgba(30, 19, 16, 0.55); }
.t3slide__in { position: relative; z-index: 1; width: 100%; padding: 0 clamp(24px, 6vw, 88px); text-align: center; color: #fff; }
.t3slide__h { font: 400 clamp(2rem, 1rem + 3.6vw, 3.75rem)/1.05 var(--h3f); text-transform: uppercase; margin: 0 auto; max-width: 22ch; }
.t3slide__in p:not(.t3slide__h) { margin: 16px auto 0; max-width: 46ch; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); font-weight: 500; }
.t3slide__in .b3 { margin-top: 26px; }
.t3slide--gift { background: var(--f-berry); }
.t3slide--rent { background: var(--f-nut); }
.t3slide--gift .t3slide__in, .t3slide--rent .t3slide__in { color: var(--espresso); text-align: left; width: 58%; padding-right: 0; }
.t3slide--gift .t3slide__h, .t3slide--rent .t3slide__h { margin: 0; }
.t3slide--gift .t3slide__in p:not(.t3slide__h), .t3slide--rent .t3slide__in p:not(.t3slide__h) { margin-left: 0; }
.t3slide__art { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.t3slide__art span { display: block; height: 78%; margin: 0 -4%; }
.t3slide__art span img { height: 100%; width: auto; mix-blend-mode: multiply; }
.t3slide__art span:nth-child(1) { transform: rotate(-8deg) translateY(6%); }
.t3slide__art span:nth-child(3) { transform: rotate(8deg) translateY(6%); }
.t3slide--rent .t3slide__art { align-items: center; }
.t3slide--rent .t3slide__art img { height: 84%; width: auto; mix-blend-mode: multiply; }
.t3slide__credit { position: absolute; right: 18px; bottom: 12px; z-index: 1; font-size: 0.75rem; color: rgba(255, 255, 255, .7); }
.t3slide__credit a { color: inherit; }
.t3dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.t3dots button { width: 30px; height: 6px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .55); padding: 0; transition: width .3s var(--ease), background-color .2s; }
.t3dots button[aria-selected='true'] { width: 48px; background: var(--accent); }
.t3slide:not(:first-child).is-on ~ .t3dots button { background: rgba(43, 26, 20, .3); }

/* ---------- Категории ---------- */
.t3cats { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; padding-top: 28px; padding-bottom: 8px; }
.t3cats a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 4px; border-radius: var(--r-md); text-align: center; text-decoration: none; font-size: 0.8125rem; font-weight: 600; line-height: 1.25; transition: background-color .2s; }
.t3cats a:hover { background: var(--surface); }
.t3cats__i { width: 60px; height: 60px; border-radius: 18px; background: var(--surface); display: grid; place-items: center; color: var(--accent); transition: transform .3s var(--ease), background-color .2s; }
.t3cats__i .ico { width: 28px; height: 28px; stroke-width: 1.6; }
.t3cats a:hover .t3cats__i { transform: translateY(-3px); background: var(--accent-soft); }

/* ---------- Секции ---------- */
.t3sec { padding-top: clamp(48px, 5vw, 80px); }
.t3head { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.t3head__sub { color: var(--ink-soft); font-size: 0.9375rem; }
.t3head .t3all, .t3head .t3arr, .t3head .t3tabs { margin-left: auto; }
.t3head--light .h3t, .t3head--light .t3all { color: #fff; }
.t3arr { display: flex; gap: 8px; }
.t3arr__b { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); display: grid; place-items: center; }
.t3arr__b:hover { background: var(--accent); color: #fff; }
.t3rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.t3rail::-webkit-scrollbar { display: none; }
.t3rail > * { scroll-snap-align: start; }

/* ---------- Мини-карточка ---------- */
.c3m { display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 14px; border-radius: var(--r-lg); background: var(--surface); }
.c3m__img { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-md); background: var(--fc); overflow: hidden; display: block; }
.c3m__img img { position: absolute; inset: 0; margin: auto; height: 86%; width: auto; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.c3m__img.is-tea img, .c3__img.is-tea img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.c3m:hover .c3m__img img { transform: scale(1.05); }
.c3m__fresh { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--accent-strong); font-weight: 600; padding: 0 4px; }
.c3m__fresh .ico { width: 15px; height: 15px; }
.c3m__name { font: 700 0.9375rem/1.3 var(--font); padding: 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.c3m__name a { text-decoration: none; }
.c3m__name a:hover { color: var(--accent); }
.c3m__notes { font-size: 0.8125rem; color: var(--ink-soft); padding: 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c3m__row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 4px 0; }
.c3m__row b { font-size: 1.125rem; font-variant-numeric: tabular-nums; }

/* ---------- Полная карточка ---------- */
.c3 { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 16px; border-radius: var(--r-lg); background: var(--surface); min-width: 0; }
.c3__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.c3__bonus { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #e2f1e7; color: var(--ok); font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.c3__fav { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.c3__fav .ico { width: 20px; height: 20px; }
.c3__fav.is-on { color: var(--accent); }
.c3__fav.is-on .ico { fill: currentColor; }
.c3__img { position: relative; aspect-ratio: 1 / 0.9; border-radius: var(--r-md); background: var(--fc); overflow: hidden; display: block; }
.c3__img img { position: absolute; inset: 0; margin: auto; height: 88%; width: auto; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.c3:hover .c3__img img { transform: scale(1.04); }
.c3__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.c3__tags span { padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 0.75rem; font-weight: 700; }
.c3__tags .is-sp { background: var(--accent-soft); color: var(--accent-strong); }
.c3__tags .is-sale { background: var(--accent); color: #fff; }
.c3__name { font: 800 1.0625rem/1.25 var(--font); }
.c3__name a { text-decoration: none; }
.c3__name a:hover { color: var(--accent); }
.c3__notes { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.c3__w { display: grid; gap: 4px; margin-top: auto; }
.c3__w button { display: flex; justify-content: space-between; align-items: center; min-height: 38px; padding: 0 12px; border: 1.5px solid transparent; border-radius: var(--r-sm); background: #fff; font: 600 0.875rem/1 var(--font); font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.c3__w button b { color: var(--ink); font-weight: 800; }
.c3__w button[aria-checked='true'] { border-color: var(--accent); color: var(--ink); }
.c3__one { margin-top: auto; display: flex; justify-content: space-between; align-items: center; min-height: 38px; padding: 0 12px; border-radius: var(--r-sm); background: #fff; font-size: 0.875rem; color: var(--ink-soft); }
.c3__one b { color: var(--ink); font-weight: 800; font-size: 1rem; }
.c3__grind { width: 100%; min-height: 38px; padding: 0 30px 0 12px; border: 0; border-radius: var(--r-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1a14' stroke-width='1.8'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; appearance: none; font: 600 0.8125rem/1 var(--font); text-transform: uppercase; letter-spacing: 0.02em; }
.c3__buy { display: flex; gap: 8px; }
.c3__buy .b3 { flex: 1; padding: 0 12px; }
.c3q { display: inline-flex; align-items: center; background: #fff; border-radius: var(--r-sm); }
.c3q button { width: 36px; height: 46px; border: 0; background: transparent; display: grid; place-items: center; }
.c3q button .ico { width: 16px; height: 16px; }
.c3q span { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Наборы ---------- */
.t3sets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.t3set { display: grid; grid-template-columns: 44% 1fr; gap: 16px; padding: 12px; border-radius: var(--r-lg); background: var(--surface); }
.t3set__img { position: relative; border-radius: var(--r-md); background: var(--fc); aspect-ratio: 1 / 1; overflow: hidden; }
.t3set__img img { position: absolute; inset: 0; margin: auto; height: 90%; width: auto; mix-blend-mode: multiply; }
.t3set__t { display: flex; flex-direction: column; gap: 8px; padding: 6px 6px 4px 0; min-width: 0; }
.t3set__t h3 { font: 800 1.125rem/1.25 var(--font); }
.t3set__t h3 a { text-decoration: none; }
.t3set__t p { font-size: 0.875rem; color: var(--ink-soft); }
.t3set__row { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t3set__row b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.t3set__row span { font-size: 0.8125rem; color: var(--ink-soft); }
.t3set__row .b3 { margin-left: auto; }

/* ---------- Скидки ---------- */
.t3sale { margin-top: clamp(48px, 5vw, 80px); padding: clamp(40px, 4vw, 64px) 0; background: var(--espresso); }
.t3sale__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.t3sale__c { position: relative; display: flex; align-items: flex-end; min-height: 300px; border-radius: var(--r-lg); background: var(--fc); overflow: hidden; text-decoration: none; color: var(--espresso); }
.t3sale__img { position: absolute; right: 4%; top: 6%; bottom: 6%; width: 50%; }
.t3sale__img img { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.t3sale__c:hover .t3sale__img img { transform: rotate(-4deg) scale(1.04); }
.t3sale__b { position: absolute; left: 18px; top: 18px; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: #fff; font: 400 1.125rem/1 var(--h3f); }
.t3sale__t { position: relative; z-index: 1; padding: 22px; max-width: 52%; display: grid; gap: 6px; }
.t3sale__t b { font: 400 1.25rem/1.15 var(--h3f); text-transform: uppercase; }
.t3sale__t span { font-weight: 700; font-variant-numeric: tabular-nums; }
.t3sale__c.is-photo .t3sale__img { top: 18px; bottom: 18px; right: 18px; width: 42%; }
.t3sale__c.is-photo .t3sale__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); mix-blend-mode: normal; }

/* ---------- Подобрать кофе ---------- */
.t3pick { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); }
.t3pick__ctrl .t3head__sub { margin-top: 10px; }
.t3q { margin-top: 24px; }
.t3q h3 { font: 800 0.9375rem/1.3 var(--font); margin-bottom: 10px; }
.t3q .chips { display: flex; flex-wrap: wrap; gap: 6px; }
[data-theme='v3'] .chip { background: #fff; font-family: var(--font); font-weight: 600; }
[data-theme='v3'] .chip[aria-pressed='true'], [data-theme='v3'] .chip.is-on { background: var(--accent); color: #fff; }
.t3pick__res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
.t3pick__res .c3 { background: #fff; }
.t3pick__res .c3 .c3__w button, .t3pick__res .c3 .c3__grind, .t3pick__res .c3 .c3q, .t3pick__res .c3 .c3__fav, .t3pick__res .c3 .c3__tags span:not(.is-sp):not(.is-sale) { background: var(--surface); }
.t3pick__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.t3pick__head p { font-weight: 800; font-size: 1.0625rem; }

/* ---------- Вкладки и сетка ---------- */
.t3tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.t3tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface); font: 700 0.875rem/1 var(--font); color: var(--ink); }
.t3tabs button[aria-selected='true'] { background: var(--espresso); color: #fff; }
.t3grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.t3more { display: flex; justify-content: center; margin-top: 28px; margin-bottom: 24px; }

/* ---------- К кофе + блог ---------- */
.t3duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
.t3recs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.t3blog { list-style: none; display: grid; gap: 10px; }
.t3blog a { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 10px; border-radius: var(--r-lg); background: var(--surface); text-decoration: none; transition: background-color .2s; }
.t3blog a:hover { background: var(--surface-2); }
.t3blog img { width: 150px; height: 104px; object-fit: cover; border-radius: var(--r-md); }
.t3blog b { display: block; font: 700 1.0625rem/1.35 var(--font); }
.t3blog time { display: block; margin-top: 8px; font-size: 0.8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- Преимущества ---------- */
.t3adv { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.t3adv li { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); font-weight: 700; line-height: 1.35; }
.t3adv__i { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--accent); flex: none; }

/* ---------- О нас и отзывы ---------- */
.t3about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); }
.t3about__t p { margin-top: 16px; max-width: 60ch; }
.t3about__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.t3about__acts .b3--ghost { background: #fff; }
.t3about__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.t3rev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: var(--f-berry); }
.t3rev p { margin-top: 12px; max-width: 62ch; }
.t3rev__acts { display: flex; flex-direction: column; gap: 10px; }
.t3rev__acts .b3--ghost { background: #fff; }

/* ---------- Доставка и оплата ---------- */
.t3faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; align-items: start; }
.t3faq__i { border-radius: var(--r-md); background: var(--surface); }
.t3faq__i summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 800; list-style: none; }
.t3faq__i summary::-webkit-details-marker { display: none; }
.t3faq__i summary .ico { color: var(--accent); transition: transform .3s var(--ease); }
.t3faq__i[open] summary .ico { transform: rotate(45deg); }
.t3faq__i p { padding: 0 20px 20px; max-width: 60ch; }

/* ---------- Подвал ---------- */
.t3ftr { margin-top: clamp(64px, 6vw, 104px); padding: 56px 0 28px; background: var(--espresso); color: #e9ddd6; }
.t3ftr a { color: #fff; text-decoration: none; }
.t3ftr a:hover { text-decoration: underline; }
.t3ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.t3ftr__brand img { width: 170px; }
.t3ftr__brand p { margin-top: 16px; max-width: 34ch; font-size: 0.9375rem; }
.t3ftr h2 { font: 800 0.9375rem/1.3 var(--font); color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.03em; }
.t3ftr nav a { display: block; padding: 4px 0; font-size: 0.9375rem; color: #e9ddd6; }
.t3ftr__c p { font-size: 0.9375rem; }
.t3ftr__c p + p { margin-top: 12px; }
.t3ftr__c small { color: #b9a79d; }
.t3pay { display: flex; flex-wrap: wrap; gap: 6px; }
.t3pay span { padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .1); font-weight: 700; font-size: 0.8125rem; }
.t3ftr__last { margin-top: 40px; font-size: 0.8125rem; color: #b9a79d; }

/* ---------- Движение ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .t3cats a, .js .c3m, .js .t3set, .js .t3sale__c, .js .t3adv li, .js .t3blog li, .js .t3faq__i { animation: rise .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 50ms); }
  .js .t3slide.is-on .t3slide__in > * { animation: rise .8s var(--ease) both; }
  .js .t3slide.is-on .t3slide__in > *:nth-child(2) { animation-delay: .1s; }
  .js .t3slide.is-on .t3slide__in > *:nth-child(3) { animation-delay: .2s; }
  .js .t3slide.is-on .t3slide__art span { animation: rise .9s var(--ease) both; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1500px) { .t3top__mail { display: none; } }
@media (max-width: 1280px) {
  .t3hdr__link span { display: none; }
  .t3top__nav { display: none; }
  .t3cats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .t3rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .t3grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t3sets { grid-template-columns: minmax(0, 1fr); }
  .t3set { grid-template-columns: 200px 1fr; }
}
@media (max-width: 1000px) {
  .t3top__mail, .t3top__acc { display: none; }
  .t3hdr__biz, .t3hdr__link { display: none; }
  .t3pick, .t3duo, .t3about, .t3rev { grid-template-columns: minmax(0, 1fr); }
  .t3pick__res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t3pick__res .c3:nth-of-type(n + 3) { display: none; }
  .t3grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t3sale__grid { grid-template-columns: minmax(0, 1fr); }
  .t3adv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t3faq { grid-template-columns: minmax(0, 1fr); }
  .t3ftr__grid { grid-template-columns: 1fr 1fr; }
  .t3mega__in { grid-template-columns: repeat(2, 1fr); }
  .t3slide--gift .t3slide__in, .t3slide--rent .t3slide__in { width: 100%; text-align: center; padding-right: clamp(24px, 6vw, 88px); }
  .t3slide--gift .t3slide__h, .t3slide--rent .t3slide__h { margin: 0 auto; }
  .t3slide__art { display: none; }
  .t3rev__acts { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .t3top__del { font-size: 0.75rem; line-height: 1.3; white-space: normal; }
  .t3top__in > a:first-child { display: none; }
  .t3top__in { min-height: 34px; padding-top: 5px; padding-bottom: 5px; }
  .t3hdr__in { height: 64px; gap: 10px; flex-wrap: nowrap; }
  .t3hdr .hdr__logo img { width: 116px; }
  .t3cat { padding: 0 12px; min-height: 42px; }
  .t3cat span { display: none; }
  .t3search input { height: 42px; padding-left: 12px; font-size: 0.875rem; }
  .t3cart__l { display: none; }
  .t3slides { height: 420px; border-radius: 18px; }
  .t3slide__h { font-size: 1.875rem; }
  .t3slide__credit { top: 12px; bottom: auto; right: 14px; }
  .c3m__row { flex-direction: column; align-items: stretch; }
  .c3m__row .b3 { width: 100%; }
  .c3__grind { text-transform: none; font-size: 0.8125rem; letter-spacing: 0; }
  .c3__bonus { font-size: 0.8125rem; }
  .t3cats { display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; margin-right: 0; }
  .t3cats::-webkit-scrollbar { display: none; }
  .t3cats a { flex: 0 0 84px; }
  .t3cats__i { width: 54px; height: 54px; }
  .t3rail { grid-auto-columns: 46%; gap: 10px; }
  .t3arr { display: none; }
  .t3head { margin-bottom: 18px; }
  .t3head .t3tabs { margin-left: 0; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; width: 100%; }
  .t3tabs button { flex: none; }
  .t3grid, .t3pick__res { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .t3pick__res .c3:nth-of-type(n + 3) { display: flex; }
  .t3pick__res .c3:nth-of-type(1) { grid-column: 1 / -1; }
  .c3 { padding: 8px 8px 12px; border-radius: 18px; }
  .c3__bonus { padding: 4px 8px; }
  .c3__name { font-size: 0.9375rem; }
  .c3__notes { display: none; }
  .c3__w button { padding: 0 8px; font-size: 0.8125rem; }
  .c3__buy { flex-direction: column; }
  .c3q { justify-content: space-between; }
  .c3__buy .b3 { min-height: 42px; }
  .t3set { grid-template-columns: 120px 1fr; }
  .t3sale__c { min-height: 230px; }
  .t3recs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t3recs .c3m:nth-child(3) { display: none; }
  .t3blog a { grid-template-columns: 96px 1fr; gap: 12px; }
  .t3blog img { width: 96px; height: 76px; }
  .t3adv { grid-template-columns: minmax(0, 1fr); }
  .t3ftr__grid { grid-template-columns: 1fr 1fr; }
  .t3ftr__brand, .t3ftr__c { grid-column: 1 / -1; }
  .t3ftr { padding-bottom: 90px; }
}

/* =====================================================================
   Внутренние страницы в стиле v3
   ===================================================================== */
body[data-theme='v3'] { --display: 'Dela Gothic One', 'Manrope', sans-serif; --s-name: 1.25rem; }
[data-theme='v3'] .page-h { padding-top: 22px; padding-bottom: 22px; }
[data-theme='v3'] .crumbs { font-size: 0.8125rem; margin-bottom: 12px; }
[data-theme='v3'] .h-sec { font: 400 clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem)/1.08 var(--h3f); text-transform: uppercase; letter-spacing: 0.01em; }
[data-theme='v3'] .h-sub { font: 400 clamp(1.25rem, 1rem + .8vw, 1.625rem)/1.15 var(--h3f); text-transform: uppercase; }
[data-theme='v3'] .lead { font-size: 1.0625rem; }

/* кнопки и поля */
[data-theme='v3'] .btn { border-radius: var(--r-sm); min-height: 48px; padding: 0 24px; font: 700 0.875rem/1 var(--font); text-transform: uppercase; letter-spacing: 0.03em; }
[data-theme='v3'] .btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.8125rem; }
[data-theme='v3'] .btn--add { border-radius: var(--r-sm); }
[data-theme='v3'] .seg { border-radius: var(--r-sm); }
[data-theme='v3'] .seg__b { border-radius: 8px; }
[data-theme='v3'] .field > span { font-weight: 700; }
[data-theme='v3'] .field input, [data-theme='v3'] .field select, [data-theme='v3'] .field textarea, [data-theme='v3'] .input { border-radius: var(--r-sm); }
[data-theme='v3'] .field select { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1a14' stroke-width='1.8'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; padding-right: 40px; }
[data-theme='v3'] .icon-btn { border-radius: 12px; }
[data-theme='v3'] .tag { border-radius: 999px; }
[data-theme='v3'] .link { color: var(--accent); text-decoration-color: rgba(35, 105, 76, .35); }
[data-theme='v3'] .toast { border-radius: var(--r-md); }
[data-theme='v3'] .toast img { border-radius: 8px; }
[data-theme='v3'] dialog { border-radius: var(--r-lg); }
[data-theme='v3'] .sugg { border-radius: var(--r-md); }
[data-theme='v3'] .sugg__t { border-radius: 8px; }
[data-theme='v3'] .sugg__i { border-radius: 10px; }

/* каталог */
[data-theme='v3'] .cat { grid-template-columns: 290px minmax(0, 1fr); gap: 24px; padding-bottom: 0; }
[data-theme='v3'] .filters { background: var(--surface); border-radius: var(--r-lg); padding: 6px 20px 16px; }
[data-theme='v3'] .fgroup .chip { background: #fff; }
[data-theme='v3'] .fgroup .chip[aria-pressed='true'] { background: var(--accent); color: #fff; }
[data-theme='v3'] .flist label:hover { background: #fff; border-radius: 8px; }
[data-theme='v3'] .toggle input { background: var(--surface-2); }
[data-theme='v3'] .toggle input:checked { background: var(--accent); }
[data-theme='v3'] .cat__sort select { border-radius: var(--r-sm); }
[data-theme='v3'] .cat-kinds .chip.is-on { background: var(--espresso); color: #fff; }
[data-theme='v3'] .cat-kinds .chip.is-on .cnt { color: #d9cfca; }
[data-theme='v3'] .cat-quick .chip[aria-pressed='true'] { background: var(--accent); color: #fff; }
[data-theme='v3'] .active-f .chip { background: var(--accent); }
[data-theme='v3'] .grid-spec.t3cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.c3__meta { font-size: 0.8125rem; color: var(--ink-soft); margin-top: -4px; }
.c3__scales { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.c3__cmp { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--ink-soft); cursor: pointer; }
.c3__cmp input { width: 16px; height: 16px; margin: 0; }
.c3__cmp.is-empty { min-height: 19px; visibility: hidden; }
[data-theme='v3'] .cmpbar { border-radius: var(--r-md); }
[data-theme='v3'] .cmpbar__th span { border-radius: 8px; }
[data-theme='v3'] .cmp .c3__img { margin-bottom: 10px; aspect-ratio: 4 / 3; }
[data-theme='v3'] .empty { background: var(--surface); border-radius: var(--r-lg); padding: 32px; max-width: none; }
[data-theme='v3'] .empty h2 { font: 400 1.375rem/1.2 var(--h3f); text-transform: uppercase; }
[data-theme='v3'] .empty .chip { background: #fff; }

/* карточка товара */
[data-theme='v3'] .pd { padding-bottom: 32px; }
[data-theme='v3'] .pd__tile { border-radius: var(--r-lg); }
[data-theme='v3'] .pd__tile .spec__fav { border-radius: 50%; }
[data-theme='v3'] .pd__notes .chip { background: var(--surface); }
[data-theme='v3'] .pd__title { font: 800 clamp(1.75rem, 1.2rem + 1.6vw, 2.625rem)/1.12 var(--font); letter-spacing: -0.02em; }
[data-theme='v3'] .pd__descr { font-size: 1.125rem; }
[data-theme='v3'] .wopt, [data-theme='v3'] .gopt, [data-theme='v3'] .mode label { border-radius: 14px; }
[data-theme='v3'] .wopt[aria-pressed='true'], [data-theme='v3'] .gopt[aria-pressed='true'], [data-theme='v3'] .mode label:has(input:checked) { border-color: var(--accent); }
[data-theme='v3'] .qty { border-radius: var(--r-sm); }
[data-theme='v3'] .qty button { border-radius: 8px; }
[data-theme='v3'] .perks { border-radius: var(--r-md); }
[data-theme='v3'] .pd-sec { padding: 48px 0 0; }
[data-theme='v3'] .pd-panel { background: var(--surface); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 40px); }
[data-theme='v3'] #rev-root .rev__form { background: #fff; }
[data-theme='v3'] #rev-root .rev__form .chip, [data-theme='v3'] #rev-root .rev__form .field textarea, [data-theme='v3'] #rev-root .rev__form .field input, [data-theme='v3'] #rev-root .rev__pick label { background: var(--surface); }
[data-theme='v3'] .bar__track i { border-radius: 4px; }
[data-theme='v3'] .bar__track i:not(.on) { background: #fff; }
[data-theme='v3'] .brew { border-radius: var(--r-lg); background: var(--f-nut); }
[data-theme='v3'] .brew__out div { border-radius: 14px; }
[data-theme='v3'] .brew .chip { background: rgba(255, 255, 255, .7); }
[data-theme='v3'] .brew .chip[aria-pressed='true'] { background: var(--accent); color: #fff; }
[data-theme='v3'] .specs th, [data-theme='v3'] .specs td { border-top-color: rgba(43, 26, 20, .1); }
[data-theme='v3'] .sticky-buy { border-radius: 18px 18px 0 0; }

/* корзина и оформление */
[data-theme='v3'] .goal { border-radius: var(--r-md); }
[data-theme='v3'] .goal__track { border-radius: 4px; }
[data-theme='v3'] .goal__track i { background: var(--accent); }
[data-theme='v3'] .goal.is-done .goal__track i { background: var(--ok); }
[data-theme='v3'] .line { border-radius: var(--r-lg); padding: 12px 18px 12px 12px; }
[data-theme='v3'] .line + .line { margin-top: 8px; }
[data-theme='v3'] .line__ph { border-radius: 14px; overflow: hidden; }
[data-theme='v3'] .line__name { font: 800 1.0625rem/1.25 var(--font); }
[data-theme='v3'] .line__opts select { border-radius: 8px; background-color: #fff; text-transform: none; }
[data-theme='v3'] .line .qty { background: #fff; }
[data-theme='v3'] .line .icon-btn { background: #fff; }
[data-theme='v3'] .summary { border-radius: var(--r-lg); }
[data-theme='v3'] .summary h2 { font: 400 1.375rem/1.1 var(--h3f); text-transform: uppercase; }
[data-theme='v3'] .summary .total dd { font: 800 1.75rem/1 var(--font); }
[data-theme='v3'] .bonus-use, [data-theme='v3'] .promo input { border-radius: var(--r-sm); }
[data-theme='v3'] .co-step { background: var(--surface); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
[data-theme='v3'] .co-step + .co-step { margin-top: 12px; padding-top: clamp(20px, 3vw, 32px); }
[data-theme='v3'] .co-step h2 { font: 400 1.375rem/1.1 var(--h3f); text-transform: uppercase; }
[data-theme='v3'] .co-step .field input, [data-theme='v3'] .co-step .field textarea, [data-theme='v3'] .co-step .field select { background-color: #fff; }
[data-theme='v3'] .optc, [data-theme='v3'] .slot { border-radius: 14px; background: #fff; }
[data-theme='v3'] .optc:has(input:checked), [data-theme='v3'] .slot[aria-pressed='true'] { border-color: var(--accent); }
[data-theme='v3'] .zone { border-radius: var(--r-md); background: #fff; }
[data-theme='v3'] .co-items .line__ph { border-radius: 10px; }
[data-theme='v3'] .done__card { border-radius: var(--r-lg); }
[data-theme='v3'] .cart-empty .grid-spec { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px; }

/* кабинет */
[data-theme='v3'] .acc__nav { background: var(--surface); border-radius: var(--r-lg); padding: 10px; gap: 2px; }
[data-theme='v3'] .acc__nav a { border-radius: 12px; font-weight: 600; }
[data-theme='v3'] .acc__nav a:hover { background: #fff; }
[data-theme='v3'] .acc__nav a[aria-current='page'] { background: var(--accent); color: #fff; }
[data-theme='v3'] .acc-pane > h2 { font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2rem)/1.1 var(--h3f); text-transform: uppercase; }
[data-theme='v3'] .hello__lv, [data-theme='v3'] .hello__next, [data-theme='v3'] .panel, [data-theme='v3'] .order, [data-theme='v3'] .sub, [data-theme='v3'] .addr__c, [data-theme='v3'] .calc { border-radius: var(--r-lg); }
[data-theme='v3'] .order + .order, [data-theme='v3'] .sub + .sub { margin-top: 12px; }
[data-theme='v3'] .order__th a, [data-theme='v3'] .sub__ph { border-radius: 12px; overflow: hidden; }
[data-theme='v3'] .sub__grid select { border-radius: 8px; }
[data-theme='v3'] .lvbar i { border-radius: 4px; }

@media (max-width: 1000px) {
  [data-theme='v3'] .cat { grid-template-columns: minmax(0, 1fr); }
  [data-theme='v3'] .filters { border-radius: var(--r-lg) var(--r-lg) 0 0; background: #fff; }
  [data-theme='v3'] .grid-spec.t3cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-theme='v3'] .acc__nav { background: none; padding: 0; }
  [data-theme='v3'] .acc__nav a { background: var(--surface); border-radius: 999px; }
}
@media (max-width: 720px) {
  [data-theme='v3'] .grid-spec.t3cat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  [data-theme='v3'] .cart-empty .grid-spec { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  [data-theme='v3'] .line { padding: 10px; }
}

.co-agree { margin-top: 4px; font-size: 0.875rem; }
.co-agree.is-err span { color: var(--err); }
.co-agree a { color: var(--accent); }
.t3rail--4 { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
.c3m__row b s, .c3__w b s, .wopt s { font-weight: 500; color: var(--ink-soft); font-size: 0.8125rem; margin-right: 2px; }
@media (max-width: 720px) { .t3rail--4 { grid-auto-columns: 46%; } }

/* ---------- Кабинет v3 ---------- */
.login3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.login3__card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); display: grid; gap: 16px; }
.login3__card form { display: grid; gap: 14px; }
.login3__card .field input { background: #fff; }
.login3__code { font: 800 1.75rem/1 var(--font) !important; letter-spacing: 0.5em; text-align: center; }
.login3__why { list-style: none; display: grid; gap: 10px; }
.login3__why li { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-lg); background: var(--surface); }
.login3__why .ico { color: var(--accent); width: 26px; height: 26px; }
.acc3__me { display: flex; align-items: center; gap: 12px; padding: 10px 10px 14px; }
.acc3__me b { display: block; }
.acc3__me small { color: var(--ink-soft); font-size: 0.8125rem; }
.acc3__ava { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 400 1.25rem/1 var(--h3f); flex: none; }
.acc3__out { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 8px; padding: 12px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-soft); font: 600 1rem/1 var(--font); text-align: left; }
.acc3__out:hover { background: #fff; color: var(--ink); }
.acc3__h { font: 400 1.25rem/1.2 var(--h3f); text-transform: uppercase; margin: 36px 0 16px; }
.acc3__subh { font: 800 1.375rem/1.2 var(--font); }
.acc3__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.acc3__q { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 0; border-radius: var(--r-lg); background: var(--surface); text-align: left; text-decoration: none; color: var(--ink); font: inherit; cursor: pointer; transition: background-color .2s; }
.acc3__q:hover { background: var(--accent-soft); }
.acc3__q .ico { width: 28px; height: 28px; color: var(--accent); flex: none; }
.acc3__q b { display: block; }
.acc3__q small { color: var(--ink-soft); font-size: 0.8125rem; }
[data-theme='v3'] .hello { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; }
[data-theme='v3'] .hello__lv { background: var(--espresso); min-height: 240px; }
[data-theme='v3'] .hello__lv b.big { font: 800 clamp(2.75rem, 2rem + 2.4vw, 4rem)/0.95 var(--font); }
[data-theme='v3'] .hello__next { background: var(--f-berry); }
[data-theme='v3'] .hello__next b { font: 800 1.5rem/1.15 var(--font); }
.lv3 { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .18); overflow: hidden; margin-top: auto; }
.lv3 i { display: block; height: 100%; border-radius: 6px; background: var(--f-nut); }
.st3 { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; }
.st3--ok { background: #e2f1e7; color: var(--ok); }
.st3--way { background: var(--accent-soft); color: var(--accent-strong); }
.st3--off { background: var(--surface-2); color: var(--ink-soft); }
[data-theme='v3'] .order__h b { font: 800 1.125rem/1.2 var(--font); }
[data-theme='v3'] .order__h .st3 { margin-left: auto; }
.od3__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.od3__steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.od3__steps li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: var(--r-md); background: var(--surface); }
.od3__steps i { width: 28px; height: 28px; border-radius: 50%; background: #fff; flex: none; display: grid; place-items: center; }
.od3__steps i .ico { width: 16px; height: 16px; color: #fff; stroke-width: 2.4; }
.od3__steps li.is-done i, .od3__steps li.is-cur i { background: var(--accent); }
.od3__steps li.is-cur { background: var(--accent-soft); }
.od3__steps b { display: block; font-size: 0.875rem; line-height: 1.3; }
.od3__steps small { color: var(--ink-soft); font-size: 0.8125rem; }
.od3__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; }
.od3__grid .panel + .panel { margin-top: 0; }
.od3__grid .co-items { max-height: none; }
.od3__dl { display: grid; gap: 10px; margin: 0 0 16px; }
.od3__dl div { display: flex; justify-content: space-between; gap: 16px; }
.od3__dl dt { color: var(--ink-soft); }
.od3__dl dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.od3__total { padding-top: 10px; }
.od3__total dt { color: var(--ink) !important; font-weight: 800; }
.od3__total dd { font-size: 1.375rem; font-weight: 800; }
.hist3 { width: 100%; border-collapse: collapse; }
.hist3 th, .hist3 td { text-align: left; padding: 12px 10px 12px 0; border-top: 1px solid rgba(43, 26, 20, .08); }
.hist3 th { color: var(--ink-soft); font-size: 0.8125rem; font-weight: 600; border-top: 0; }
.hist3 td.amt { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hist3 td.amt.plus { color: var(--ok); }
.acc3__ref { background: var(--f-nut) !important; }
.acc3__ref b { font: 400 1.75rem/1 var(--h3f) !important; letter-spacing: 0.04em; }
.acc3__refacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.acc3__wait { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.acc3__w { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: var(--r-md); background: var(--surface); }
.acc3__w > a:first-child { width: 56px; height: 64px; display: grid; place-items: center; border-radius: 10px; background: var(--fc); overflow: hidden; }
.acc3__w > a:first-child img { height: 56px; width: auto; mix-blend-mode: multiply; }
.acc3__w b { display: block; font-size: 0.9375rem; }
.acc3__w small { color: var(--ink-soft); font-size: 0.8125rem; }
.acc3__rev { display: grid; gap: 8px; }
.rstars3 { color: #e2a12b; letter-spacing: 2px; }
.acc3__save { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.acc3__terms ul { margin: 0 0 12px 20px; display: grid; gap: 6px; }
.calc3__r { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-weight: 600; }
[data-theme='v3'] .calc { background: var(--f-nut); margin-top: 12px; }
[data-theme='v3'] .panel { margin-top: 12px; }
[data-theme='v3'] .panel h3 { font: 800 1.125rem/1.2 var(--font); margin-bottom: 12px; }
[data-theme='v3'] .prefs { max-width: none; gap: 0; }
[data-theme='v3'] .prefs .panel .field input { background: #fff; }
[data-theme='v3'] .prefs .chip { background: #fff; }
[data-theme='v3'] .prefs .chip[aria-pressed='true'] { background: var(--accent); color: #fff; }
.acc3__save { margin-top: 18px; }
.co-guest { margin-bottom: 12px; padding: 14px 18px; border-radius: var(--r-md); background: var(--accent-soft); }
@media (max-width: 1000px) {
  .login3, .od3__grid { grid-template-columns: minmax(0, 1fr); }
  .acc3__quick { grid-template-columns: minmax(0, 1fr); }
  .od3__steps { grid-template-columns: minmax(0, 1fr); }
  .acc3__me, .acc3__out { display: none; }
  .acc3__wait { grid-template-columns: minmax(0, 1fr); }
  [data-theme='v3'] .hello { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .t3top, .t3hdr, .t3ftr, .tabbar, .acc__nav, .crumbs, .order__acts, .toast, .od3__steps { display: none !important; }
  body { background: #fff; }
  .panel { background: #fff !important; border: 1px solid #ccc; }
}

/* ---------- Информационные страницы v3 ---------- */
.ip3__lead { margin-top: 12px; max-width: 70ch; font-size: 1.0625rem; color: var(--ink-soft); }
.ip3 { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.ip3__nav { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 2px; padding: 10px; border-radius: var(--r-lg); background: var(--surface); }
.ip3__nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.ip3__nav a:hover { background: #fff; color: var(--accent); }
.ip3__body { display: grid; gap: 12px; }
.ip3__card { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); }
.ip3__card > .h3t { margin-bottom: 16px; }
.ip3__card p + p { margin-top: 10px; }
.ip3__card--hot { background: var(--f-berry); }
.ip3__card--hot a { font-weight: 700; }
.ip3__split { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: center; }
.ip3__map { background: #fff; border-radius: var(--r-md); padding: 16px; }
.ip3__map svg { width: 100%; height: auto; display: block; }
.ip3__dl { display: grid; gap: 8px; margin: 0 0 16px; }
.ip3__dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 12px; background: #fff; }
.ip3__dl dt { color: var(--ink-soft); }
.ip3__dl dd { margin: 0; font-weight: 800; text-align: right; white-space: nowrap; }
.ip3__list { margin: 0 0 0 20px; display: grid; gap: 8px; max-width: 74ch; }
.ip3__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ip3__chips span { padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 0.875rem; }
.ip3__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ip3__m { padding: 18px; border-radius: var(--r-md); background: #fff; }
.ip3__m b { display: block; font-size: 1.0625rem; margin-bottom: 6px; }
.ip3__note { margin-top: 14px; color: var(--ink-soft); font-size: 0.9375rem; }
.ip3__card .b3 { margin-top: 14px; }

.prose3 { max-width: 860px; padding: clamp(20px, 3vw, 44px); border-radius: var(--r-lg); background: var(--surface); }
.prose3 h2 { font: 800 1.25rem/1.3 var(--font); margin: 28px 0 10px; }
.prose3 h2:first-of-type { margin-top: 8px; }
.prose3 p { max-width: 75ch; font-size: 0.9375rem; line-height: 1.65; }
.prose3 p + p { margin-top: 8px; }
.prose3__sub { font-weight: 700; color: var(--ink-soft); }

.biz3__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; }
.biz3__tabs::-webkit-scrollbar { display: none; }
.biz3__tabs a { flex: none; padding: 10px 16px; border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 700; font-size: 0.875rem; }
.biz3__tabs a:hover { background: var(--accent); color: #fff; }
.biz3 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); }
.biz3 + .biz3 { margin-top: 12px; }
.biz3:nth-of-type(even) .biz3__ph { order: -1; }
.biz3__t > p { margin: 14px 0; max-width: 62ch; }
.biz3__ph { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--fc, #fff); }
.biz3__ph img { width: 100%; height: 100%; object-fit: cover; }
.biz3__ph--cut img { object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.biz3__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.biz3__acts .b3--ghost { background: #fff; }
.biz3__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.biz3__plan { padding: 18px; border-radius: var(--r-md); background: #fff; }
.biz3__plan b { display: block; font: 800 1.5rem/1.1 var(--font); color: var(--accent); }
.biz3__plan b small { font-size: 0.875rem; color: var(--ink-soft); font-weight: 600; }
.biz3__plan p { margin-top: 8px; font-size: 0.9375rem; }
.biz3__courses { display: grid; gap: 10px; }
.biz3__courses div { padding: 16px 18px; border-radius: var(--r-md); background: #fff; }
.biz3__courses b { display: inline; font-size: 1.0625rem; }
.biz3__courses span { float: right; font-weight: 800; color: var(--accent); }
.biz3__courses p { clear: both; margin-top: 6px; font-size: 0.9375rem; color: var(--ink-soft); }
.biz3 .ip3__dl div { background: #fff; }

.lead3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(20px, 3vw, 48px); margin-top: 12px; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: var(--f-nut); }
.lead3 > div p { margin-top: 12px; max-width: 46ch; }
.lead3 > div a { font-weight: 800; }
.lead3__f { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead3__f .field input, .lead3__f .field select, .lead3__f .field textarea { background-color: #fff; }
.lead3__full { grid-column: 1 / -1; }
.lead3__done { grid-column: 1 / -1; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-md); background: #fff; }
.lead3__done > .ico { width: 34px; height: 34px; color: var(--ok); }
.lead3__done b { font-size: 1.125rem; }

.ab3__hero { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--espresso); }
.ab3__hero video { display: block; width: 100%; height: clamp(260px, 32vw, 440px); object-fit: cover; opacity: .7; }
.ab3__hero-t { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 40px); color: #fff; }
.ab3__hero-t p { font: 800 clamp(1.25rem, 1rem + 1vw, 1.875rem)/1.3 var(--font); max-width: 36ch; }
.ab3__hero-t small { display: block; margin-top: 10px; color: rgba(255, 255, 255, .7); font-size: 0.75rem; }
.ab3__hero-t a { color: inherit; }
.ab3__nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.ab3__nums div { padding: 22px; border-radius: var(--r-lg); background: var(--surface); }
.ab3__nums b { display: block; font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)/1 var(--h3f); color: var(--accent); }
.ab3__nums span { display: block; margin-top: 8px; font-size: 0.9375rem; }
.ab3__story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.ab3__story .ip3__card--hot { grid-column: 1 / -1; }
.ab3__map { margin-top: 12px; }
.ab3__countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 16px; }
.ab3__countries a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #fff; text-decoration: none; }
.ab3__countries a:hover { color: var(--accent); }
.ab3__countries span { color: var(--ink-soft); font-size: 0.8125rem; }

.ct3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.ct3__main { display: grid; gap: 18px; }
.ct3__row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.ct3__i { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--accent); }
.ct3__h { font: 800 1.0625rem/1.3 var(--font); margin-bottom: 4px; }
.ct3__main a:not(.b3) { font-weight: 700; }
.ct3__lead { margin-top: 0; grid-template-columns: minmax(0, 1fr); }
.ct3__req div { background: #fff; }
.ct3__req dd { white-space: normal; font-variant-numeric: tabular-nums; }

.nf3 { padding: clamp(48px, 8vw, 120px) var(--gut); text-align: center; }
.nf3__code { font: 400 clamp(5rem, 3rem + 10vw, 11rem)/1 var(--h3f); color: var(--accent); }
.nf3 p { margin: 16px auto 0; max-width: 48ch; }
.nf3 .t3about__acts { justify-content: center; }

.lp3__hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.lp3__intro { padding: clamp(22px, 3vw, 40px); border-radius: var(--r-lg); background: var(--espresso); color: #f3e9e4; }
.lp3__big { font: 400 clamp(1.75rem, 1.2rem + 2vw, 3rem)/1.05 var(--h3f); text-transform: uppercase; color: #fff; margin-bottom: 16px; max-width: 14ch; }
.lp3__intro > p:not(.lp3__big) { max-width: 52ch; }
.lp3__jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.lp3__jump a { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.875rem; }
.lp3__jump a:hover { background: var(--accent); }
.lp3__me { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--f-berry); display: flex; flex-direction: column; gap: 10px; }
.lp3__me .b3 { margin-top: auto; align-self: flex-start; }
.lp3__me .lv3 { background: rgba(43, 26, 20, .15); margin-top: 6px; }
.lp3__me .lv3 i { background: var(--accent); }
.lp3__bal { font: 800 clamp(2.75rem, 2rem + 2.4vw, 4rem)/0.95 var(--font); }
.lp3__levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lp3__lv { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--c); color: var(--t); }
.lp3__lv.is-me { outline: 4px solid var(--accent); outline-offset: 3px; }
.lp3__ph { aspect-ratio: 16 / 10; overflow: hidden; }
.lp3__ph img { width: 100%; height: 100%; object-fit: cover; }
.lp3__lvt { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lp3__lvt h3 { font: 800 1.25rem/1.2 var(--font); }
.lp3__rate { font: 400 2.5rem/1 var(--h3f); }
.lp3__from { font-weight: 700; font-size: 0.9375rem; }
.lp3__lvt ul { list-style: none; display: grid; gap: 4px; margin-top: auto; font-size: 0.9375rem; }
.lp3__credit { margin-top: 10px; font-size: 0.8125rem; color: var(--ink-soft); }
.lp3__credit a { color: inherit; }
.lp3__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.lp3__ways { list-style: none; display: grid; gap: 8px; }
.lp3__ways li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; background: #fff; }
.lp3__ways li > span b { display: block; }
.lp3__ways li > span small { display: block; color: var(--ink-soft); font-size: 0.8125rem; margin-top: 2px; }
.lp3__ways li > b { font: 800 1.25rem/1 var(--font); color: var(--accent); white-space: nowrap; }
.lp3__calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-lg); background: var(--f-nut); }
.lp3__calc input[type='range'] { width: 100%; margin-top: 22px; accent-color: var(--accent); }
.lp3__val { font: 800 2.25rem/1 var(--font); margin: 14px 0 8px; }
.lp3__out { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lp3__out div { padding: 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .65); display: flex; flex-direction: column; gap: 6px; min-height: 150px; }
.lp3__out div.is-cur { background: var(--espresso); color: #fff; }
.lp3__out .lv { font-weight: 800; font-size: 0.9375rem; }
.lp3__out b { font: 800 1.75rem/1 var(--font); margin-top: auto; }
.lp3__out small { font-size: 0.8125rem; }
.lp3__sub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); }
.lp3__sub .h3t { margin-bottom: 12px; }
.lp3__steps { margin: 16px 0 20px 20px; display: grid; gap: 8px; }
.lp3__h3 { font: 800 1.125rem/1.2 var(--font); margin-bottom: 10px; }

@media (max-width: 1000px) {
  .ip3, .ip3__split, .biz3, .lead3, .ct3, .lp3__hero, .lp3__two, .lp3__calc, .lp3__sub, .ab3__story { grid-template-columns: minmax(0, 1fr); }
  .ip3__nav { position: static; display: flex; overflow-x: auto; background: none; padding: 0; gap: 6px; scrollbar-width: none; }
  .ip3__nav a { flex: none; background: var(--surface); border-radius: 999px; }
  .biz3:nth-of-type(even) .biz3__ph { order: 0; }
  .lp3__levels, .ab3__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp3__out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ip3__grid, .biz3__plans, .lead3__f { grid-template-columns: minmax(0, 1fr); }
  .lp3__levels { grid-template-columns: minmax(0, 1fr); }
  .ip3__dl div { flex-direction: column; gap: 2px; }
  .ip3__dl dd { text-align: left; white-space: normal; }
  .biz3__courses span { float: none; display: block; margin-top: 2px; }
}
.t3ftr__last { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.t3ftr__last a { color: #b9a79d !important; }
.t3call { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(35, 105, 76, .6); transition: transform .2s var(--ease); } /* taste-skill-ignore: плавающая кнопка связи */
.t3call:hover { transform: scale(1.06); }
.t3call .ico { width: 26px; height: 26px; }
.t3tel { display: none; }
@media (max-width: 720px) { .t3call { bottom: calc(76px + env(safe-area-inset-bottom)); right: 14px; width: 52px; height: 52px; } }
@media print { .t3call { display: none; } }

@media (max-width: 720px) {
  .t3tel { display: inline-flex; }
  .c3__bl { display: none; }
  .c3__cmp { display: none; }
  .t3hdr .hdr__acts { gap: 0; }
  .t3hdr .hdr__act { padding: 0 6px; }
  .t3acc { display: none !important; }
}
@media (max-width: 720px) {
  .hdr__acts .hdr__act.t3tel { display: inline-flex; }
  .lp3__big { font-size: 1.5rem; }
}
@media (max-width: 720px) { .t3search input::placeholder { color: transparent; } }

/* ---------- Подвал: пять колонок ---------- */
.t3ftr__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; }
@media (max-width: 1280px) {
  .t3ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t3ftr__brand, .t3ftr__c { grid-column: 1 / -1; }
}
@media (max-width: 720px) { .t3ftr__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Кофе Академия ---------- */
.ac3__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: var(--f-nut); }
.ac3__big, .rp3__big { font: 400 clamp(1.375rem, 1.05rem + 1vw, 2.125rem)/1.1 var(--h3f); text-transform: uppercase; }
.ac3__hero-t > p + p { margin-top: 14px; max-width: 52ch; }
.ac3__hero-ph { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; }
.ac3__hero-ph img { width: 100%; height: 100%; object-fit: cover; }
.ac3__topics { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; counter-reset: t; }
.ac3__topics li { counter-increment: t; display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); font-weight: 700; }
.ac3__topics li::before { content: counter(t, decimal-leading-zero); flex: none; font: 400 1.25rem/1 var(--h3f); color: var(--accent); }
.crs3__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.crs3 { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--surface); scroll-margin-top: calc(var(--hdr-h, 120px) + 20px); }
.crs3__h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.crs3__t { font: 400 clamp(1.25rem, 1rem + .8vw, 1.625rem)/1.15 var(--h3f); text-transform: uppercase; }
.crs3__meta { margin-top: 6px; color: var(--ink-soft); font-size: 0.9375rem; }
.crs3__price { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.crs3__who { font-size: 0.9375rem; }
.crs3__days { display: grid; gap: 10px; }
.crs3__days > div { padding: 16px 18px; border-radius: var(--r-md); background: #fff; }
.crs3__days h3, .crs3__sub { font-weight: 800; font-size: 1rem; margin-bottom: 8px; }
.crs3 .ip3__list { font-size: 0.9375rem; gap: 6px; }
.crs3 > .b3 { margin-top: auto; align-self: flex-start; }
.crs3 .ip3__note { margin-top: 0; }

/* ---------- Аренда ---------- */
.rt3__perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.rt3__perks div { padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); }
.rt3__perks div:nth-child(1) { background: var(--f-nut); } .rt3__perks div:nth-child(2) { background: var(--f-floral); } .rt3__perks div:nth-child(3) { background: var(--f-choc); } .rt3__perks div:nth-child(4) { background: var(--f-berry); }
.rt3__perks b { display: block; font-size: 1.0625rem; }
.rt3__perks span { display: block; margin-top: 6px; font-size: 0.875rem; }
.rt3__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rt3__plan { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 20px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--surface); }
.rt3__ph { border-radius: var(--r-md); background: #fff; display: grid; place-items: center; padding: 12px; align-self: start; }
.rt3__ph img { width: 100%; height: auto; mix-blend-mode: multiply; }
.rt3__pt .h3t { font-size: clamp(1.125rem, 0.95rem + .6vw, 1.5rem); }
.rt3__price { margin: 10px 0 14px; font: 800 1.75rem/1 var(--font); color: var(--accent); font-variant-numeric: tabular-nums; }
.rt3__price small { font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); }
.rt3__inc { font-size: 0.9375rem; }
.rt3__h { margin: 16px 0 8px; font-weight: 800; font-size: 0.9375rem; }
.rt3__models { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.rt3__models li { padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 0.8125rem; font-weight: 700; }
.rt3__pt .b3 { margin-top: 18px; }
.rt3__terms { margin-bottom: 0; }
.rt3__acc { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); }
.rt3__acc-t p { margin-top: 12px; }
.rt3__acc-ph { margin-top: 18px; border-radius: var(--r-md); background: #fff; padding: 12px; }
.rt3__acc-ph img { width: 100%; height: auto; mix-blend-mode: multiply; }
.rt3__list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; align-content: start; }
.rt3__list dd { font-variant-numeric: tabular-nums; }
.rt3__clean { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: clamp(48px, 5vw, 80px); }
.rt3__clean img { width: 140px; height: 140px; object-fit: contain; border-radius: var(--r-md); background: #fff; mix-blend-mode: multiply; }
.rt3__clean p { margin-top: 10px; max-width: 75ch; }

/* ---------- Ремонт ---------- */
.rp3__hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; }
.rp3__prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rp3__prices div { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); }
.rp3__prices span { font-weight: 700; }
.rp3__prices b { font: 800 clamp(1.375rem, 1.1rem + .8vw, 1.875rem)/1 var(--font); color: var(--accent); font-variant-numeric: tabular-nums; }
.rp3__offer p + p { margin-top: 10px; }
.rp3__g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rp3__g div { padding: 20px; border-radius: var(--r-md); background: var(--surface); }
.rp3__g b { display: block; font-size: 1.0625rem; }
.rp3__g p { margin-top: 8px; font-size: 0.9375rem; }
.rp3__steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: s; }
.rp3__steps li { counter-increment: s; padding: 20px; border-radius: var(--r-md); background: var(--f-nut); }
.rp3__steps li::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: 14px; font: 400 1.75rem/1 var(--h3f); color: var(--accent); }
.rp3__steps b { display: block; font-size: 1.0625rem; }
.rp3__steps span { display: block; margin-top: 6px; font-size: 0.9375rem; }

/* ---------- Зелёный кофе ---------- */
.gr3__who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gr3__who div { padding: 20px; border-radius: var(--r-md); background: var(--c); }
.gr3__who b { display: block; font-size: 1.0625rem; }
.gr3__who p { margin-top: 8px; font-size: 0.9375rem; }
.gr3__as { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gr3__h { font: 400 1.25rem/1.15 var(--h3f); text-transform: uppercase; margin-bottom: 12px; }
.gr3__for { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--surface-2); color: var(--ink-soft); font-size: 0.9375rem; }
.gr3__fm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gr3__fm div { padding: 22px; border-radius: var(--r-lg); background: var(--surface); }
.gr3__fm b { display: block; font: 400 clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)/1 var(--h3f); color: var(--accent); }
.gr3__fm span { display: block; margin-top: 10px; font-weight: 800; }
.gr3__fm p { margin-top: 4px; font-size: 0.9375rem; }

/* ---------- Сертификаты ---------- */
.ce3 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ce3__i { margin: 0; padding: 12px; border-radius: var(--r-lg); background: var(--surface); }
.ce3__b { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: #fff; cursor: zoom-in; }
.ce3__b img { width: 100%; height: auto; display: block; transition: transform .4s var(--ease); }
.ce3__b:hover img { transform: scale(1.03); }
.ce3__i figcaption { padding: 12px 6px 4px; }
.ce3__i figcaption b { display: block; font-size: 0.9375rem; }
.ce3__i figcaption span { display: block; margin-top: 4px; font-size: 0.8125rem; color: var(--ink-soft); }
.ce3__dlg { max-width: min(92vw, 760px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; overflow: auto; }
.ce3__dlg::backdrop { background: rgba(43, 26, 20, .7); }
.ce3__dlg img { display: block; width: 100%; height: auto; }
.ce3__x { position: sticky; top: 10px; float: right; margin: 10px 10px -54px 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--espresso); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 1; }

/* ---------- Прайс-лист ---------- */
.pr3__tabs { align-items: center; }
.pr3__print { flex: none; margin-left: auto; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--espresso); color: #fff; font: 700 0.875rem/1 var(--font); cursor: pointer; }
.pr3 { margin-top: 12px; padding: clamp(18px, 2.6vw, 32px); border-radius: var(--r-lg); background: var(--surface); scroll-margin-top: calc(var(--hdr-h, 120px) + 20px); }
.pr3__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 16px; }
.pr3__h p { color: var(--ink-soft); font-size: 0.9375rem; }
.pr3__t { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: 0.9375rem; }
.pr3__t thead th { padding: 6px 14px; text-align: left; font-size: 0.8125rem; font-weight: 700; color: var(--ink-soft); }
.pr3__t td, .pr3__t tbody th { padding: 12px 14px; background: #fff; text-align: left; vertical-align: top; }
.pr3__t tbody tr > :first-child { border-radius: 12px 0 0 12px; }
.pr3__t tbody tr > :last-child { border-radius: 0 12px 12px 0; }
.pr3__t tbody th { font-weight: 700; }
.pr3__t tbody th a { text-decoration: none; }
.pr3__t tbody th a:hover { color: var(--accent); }
.pr3__n { width: 44px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pr3__d { color: var(--ink-soft); }
.pr3__t .pr3__p { text-align: right; white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; }
.pr3__del { margin-top: 12px; scroll-margin-top: calc(var(--hdr-h, 120px) + 20px); }

/* ---------- Блог ---------- */
.bl3 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bl3__i a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); background: var(--surface); text-decoration: none; overflow: hidden; transition: background-color .2s; }
.bl3__i a:hover { background: var(--surface-2); }
.bl3__ph { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.bl3__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bl3__i a:hover .bl3__ph img { transform: scale(1.04); }
.bl3__t { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.bl3__t time { font-size: 0.8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.bl3__t b { font: 800 1.125rem/1.3 var(--font); }
.bl3__t > span { font-size: 0.9375rem; color: var(--ink-soft); }
.ar3 { max-width: 860px; }
.ar3__meta { display: flex; gap: 16px; color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: 14px; }
.ar3__cover { margin: 0 0 12px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.ar3__cover img { width: 100%; height: 100%; object-fit: cover; }
.ar3__body { max-width: none; }
.ar3__body h2 { font: 800 clamp(1.1875rem, 1.05rem + .4vw, 1.375rem)/1.3 var(--font); margin: 30px 0 10px; text-transform: none; }
.ar3__body h3 { font: 800 1.0625rem/1.35 var(--font); margin: 22px 0 8px; }
.ar3__body p, .ar3__body li { font-size: 1rem; line-height: 1.7; }
.ar3__body ul, .ar3__body ol { margin: 10px 0 10px 22px; display: grid; gap: 6px; max-width: 75ch; }
.ar3__body figure { margin: 18px 0; border-radius: var(--r-md); overflow: hidden; }
.ar3__body figure img { width: 100%; height: auto; display: block; }
.ar3__body > :first-child { margin-top: 0; }
.ar3__cta { margin-top: 12px; max-width: 860px; }

@media (max-width: 1280px) {
  .ce3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rt3__plan { grid-template-columns: minmax(0, 1fr); }
  .rt3__ph { max-width: 280px; }
}
@media (max-width: 1000px) {
  .ac3__hero, .rp3__hero, .rt3__acc, .crs3__list, .rt3__plans, .gr3__as { grid-template-columns: minmax(0, 1fr); }
  .ac3__topics, .bl3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt3__perks, .rp3__g, .rp3__steps, .gr3__who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt3__plan { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); }
  .pr3__t .pr3__d { display: none; }
}
@media (max-width: 720px) {
  .ac3__topics, .bl3, .gr3__fm, .rt3__list, .rp3__steps { grid-template-columns: minmax(0, 1fr); }
  .ce3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rt3__plan { grid-template-columns: minmax(0, 1fr); }
  .rt3__clean { grid-template-columns: minmax(0, 1fr); }
  .crs3__h { flex-direction: column; gap: 10px; }
  .pr3__print { display: none; }
  .pr3__t thead { display: none; }
  .pr3__t, .pr3__t tbody { display: block; }
  .pr3__t tbody tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; margin-bottom: 6px; padding: 14px 16px; border-radius: 12px; background: #fff; }
  .pr3__t td, .pr3__t tbody th { padding: 0; background: none; border-radius: 0 !important; }
  .pr3__t .pr3__n { width: auto; }
  .pr3__t .pr3__p { grid-column: 1 / -1; display: flex; justify-content: space-between; font-weight: 800; }
  .pr3__t .pr3__p::before { content: attr(data-l); font-weight: 600; color: var(--ink-soft); }
}
@media print {
  .pr3__tabs, .ar3__cta { display: none; }
  .pr3 { break-inside: auto; background: none; padding: 0; }
  .pr3__t td, .pr3__t tbody th { background: none; border-bottom: 1px solid #ddd; padding: 6px 8px; }
  .pr3__t .pr3__d { display: table-cell; }
}
.rt3__sub { margin-top: 4px; color: var(--ink-soft); font-size: 0.9375rem; }
.gr3__hero { background: var(--f-floral); }
@media (max-width: 720px) {
  .rt3__list div, .biz3 .ip3__dl div { flex-direction: row; gap: 12px; }
  .rt3__list dd, .biz3 .ip3__dl dd { text-align: right; white-space: nowrap; }
  .ip3__card .b3, .biz3__acts .b3, .t3rev__acts .b3 { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
}
@media (max-width: 720px) {
  .pr3__t tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
  .pr3__t tbody th { grid-column: 1 / -1; }
  .pr3__t .pr3__n { display: none; }
  .pr3__t .pr3__p { grid-column: auto; flex-direction: column; justify-content: flex-start; gap: 2px; text-align: left; }
  .pr3__t .pr3__p::before { font-size: 0.8125rem; }
  .pr3__t td.pr3__p:nth-child(4):last-child { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}
.gr3__for { border-top: 0; padding-top: 0; font-weight: 600; }
.rp3__ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); margin-bottom: 18px; }
.rp3__offer { display: flex; flex-direction: column; align-items: flex-start; }
[data-theme='v3'] .h-sec--long { max-width: 40ch; font-size: clamp(1.375rem, 1rem + 1.3vw, 2.25rem); line-height: 1.12; }
.ar3__body p, .ar3__body li { max-width: 68ch; }

/* ---------- Адаптив: доводка (кнопки и карточки не вылезают ни на одной ширине) ---------- */
/* карточка товара сама решает, помещается ли «количество + В корзину» в одну строку */
.c3 { container: card / inline-size; }
@container card (max-width: 270px) {
  .c3__buy { flex-direction: column; }
  .c3__buy .c3q { justify-content: space-between; }
  .c3__buy .b3 { min-height: 42px; }
  .c3__w button { padding: 0 8px; }
}
.c3m { container: mini / inline-size; }
@container mini (max-width: 200px) {
  .c3m__row { flex-direction: column; align-items: stretch; gap: 8px; }
  .c3m__row .b3 { width: 100%; }
}
.c3__buy .b3, .c3m__row .b3 { min-width: 0; }
/* длинные слова в заголовках переносятся, а не упираются в край */
.h3t, .h-sec, .crs3__t, .gr3__h, .ac3__big, .rp3__big, .lp3__big { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 400px) {
  .h3t { font-size: 1.375rem; }
  [data-theme='v3'] .h-sec { font-size: 1.625rem; }
}
/* корзина: выбор помола не шире строки, сумма не наезжает на количество */
.line__opts { min-width: 0; }
.line__opts select { max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.promo input { min-width: 0; }
.summary .btn { white-space: normal; text-align: center; line-height: 1.2; height: auto; min-height: 52px; padding-block: 12px; }
@media (max-width: 720px) {
  .line__sum { justify-self: end; min-width: 0; }
  .line__opts select { width: 100%; }
}
/* подписка в кабинете: пачка целиком в своей плашке */
.sub__ph { position: relative; }
.sub__ph img { position: absolute; inset: 0; margin: auto; height: 86%; width: auto; max-width: 90%; object-fit: contain; }
/* аренда: кнопки тарифов на одном уровне */
.rt3__pt { display: flex; flex-direction: column; }
.rt3__pt .b3 { margin-top: auto; align-self: flex-start; }
.rt3__models { margin-bottom: 18px; }
/* удобные для пальца цели */
input[type='range'] { min-height: 32px; }
.qty input { min-height: 40px; }
@media (max-width: 1023px) {
  .link-btn { min-height: 32px; padding-block: 6px; }
  .t3dots button { position: relative; }
  .t3dots button::after { content: ''; position: absolute; inset: -14px -4px; }
}
/* сетки-колонки не растягиваются по самому широкому содержимому (иначе телефон уменьшает страницу) */
.summary, .co-sum { grid-template-columns: minmax(0, 1fr); }
.lead3__f { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .lead3__f { grid-template-columns: minmax(0, 1fr); } }
.summary > *, .sub__grid > *, .sub__grid select { min-width: 0; }
.sub__grid select { width: 100%; max-width: 100%; }
.c3m__row { align-items: flex-end; }
.c3m__notes, .c3__notes { overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .sub { padding: 16px; }
  .line .qty { grid-row: 2; }
  .line__sum { grid-row: 3; grid-column: 2 / 4; justify-self: start; text-align: left; }
}
/* длинные слова в узких плитках переносятся, а не выталкивают страницу за край */
[data-theme='v3'] main { overflow-wrap: break-word; }
.rt3__perks b, .gr3__who b, .rp3__g b, .rp3__steps b, .gr3__fm span, .ab3__nums span, .ip3__m b, .biz3__plan p, .crs3__who { hyphens: auto; }
@media (max-width: 420px) {
  .rt3__perks, .gr3__who, .rp3__g, .ab3__nums { grid-template-columns: minmax(0, 1fr); }
  .acc3__w { flex-wrap: wrap; }
  .optc { min-width: 0; }
}
/* узкие экраны 320–420 px: доводка мелочей */
.flist label { margin: 0; }
input[type='range'] { margin: 0; }
.brew__out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acc3__w { grid-template-columns: 56px minmax(0, 1fr) auto; }
.t3sale__c { container: sale / inline-size; }
@container sale (max-width: 400px) {
  .t3sale__t { max-width: 58%; padding: 18px; }
  .t3sale__t b { font-size: 1rem; hyphens: auto; overflow-wrap: break-word; }
  .t3sale__img { width: 40%; }
}
@container card (max-width: 170px) {
  .c3__scales { display: none; }
  .c3__buy .b3 { padding: 0 8px; font-size: 0.75rem; gap: 4px; }
  .c3__buy .b3 .ico { display: none; }
}
@media (max-width: 720px) { .acc3__wait { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) {
  .rev__pick { gap: 2px; }
  .rev__pick label { width: 40px; height: 40px; }
  .rev__pick .rstar { width: 26px; height: 26px; }
  .brew__out b { font-size: 1.625rem; }
  .brew__out div { padding: 14px; }
  .acc3__w { grid-template-columns: 56px minmax(0, 1fr); }
  .acc3__w .btn, .acc3__w .b3 { grid-column: 1 / -1; justify-self: start; }
}
/* длинные значения в строках «название — значение» переносятся */
.ip3__dl dd { white-space: normal; min-width: 0; overflow-wrap: break-word; }
.ip3__dl dt { min-width: 0; }
.addr__c .acts { flex-wrap: wrap; gap: 6px 14px; }
.optc > * { min-width: 0; }
.optc { overflow-wrap: break-word; }
@media (max-width: 420px) {
  .biz3 .ip3__dl div { flex-direction: column; gap: 2px; }
  .biz3 .ip3__dl dd { text-align: left; white-space: normal; }
}
/* корзина: строка товара перестраивается по ширине своей колонки (на 1024 px рядом стоит итог заказа) */
.lines { container: lines / inline-size; }
@container lines (max-width: 640px) {
  .line { grid-template-columns: 72px minmax(0, 1fr) 36px; gap: 12px 14px; align-items: start; }
  .line__ph { width: 72px; height: 90px; }
  .line__ph img { height: 78px; }
  .line .qty { grid-column: 2; grid-row: 2; justify-self: start; }
  .line__sum { grid-column: 2 / 4; grid-row: 2; justify-self: end; align-self: center; min-width: 0; }
  .line .icon-btn { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }
}
@container lines (max-width: 340px) {
  .line__sum { grid-row: 3; justify-self: start; text-align: left; }
}
.line__name, .c3__name, .c3m__name { text-wrap: pretty; }
.sheet-foot > * { min-width: 0; }

/* шаблон «Зёрна»: бонусы — жёлтой плашкой, чтобы не сливались с зелёными кнопками */
.c3__bonus { background: #fbefc9; color: #6b4e12; }
.ab3__img { display: block; width: 100%; height: clamp(260px, 32vw, 440px); object-fit: cover; opacity: .75; }
.rt3__ph { padding: 0; overflow: hidden; aspect-ratio: 1; }
.rt3__ph img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; filter: none; }
.rt3__acc-ph { padding: 0; overflow: hidden; }
.rt3__acc-ph img { mix-blend-mode: normal; display: block; }
.ce3--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 980px; }
@media (max-width: 720px) { .ce3--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .ce3--3 .ce3__i { padding: 6px; } .ce3--3 figcaption span { display: none; } .ce3--3 figcaption b { font-size: .8125rem; } }
