/* Panettone Russia — стили темы. Токены — из «дизайн проект/tokens.css» (вариант Б). */

/* ---------- Шрифты (свои, OFL) ---------- */
@font-face { font-family: 'Kurale'; font-weight: 400; font-display: swap; src: url(../fonts/kurale-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Kurale'; font-weight: 400; font-display: swap; src: url(../fonts/kurale-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-weight: 500; font-display: swap; src: url(../fonts/golos-text-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-weight: 500; font-display: swap; src: url(../fonts/golos-text-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Знак рубля ₽ — только он из latin-ext, файл грузится, когда на странице есть цена */
@font-face { font-family: 'Golos Text'; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+20BD; }
@font-face { font-family: 'Golos Text'; font-weight: 500; font-display: swap; src: url(../fonts/golos-text-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+20BD; }
@font-face { font-family: 'Golos Text'; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+20BD; }

/* ---------- Токены ---------- */
:root {
	--red: #8E1E24; --red-hover: #6B1519; --red-soft: #FBF3F3;
	--blue: #1C3A8A; --blue-deep: #1A2C66; --blue-soft: #F1F4FB; --blue-text-on: #D9E0F2;
	--gold: #B8892B; --gold-text: #8A6418; --gold-light: #F2D58A; --green: #2E6B3F; /* --gold-text: золото для мелкого текста на светлом фоне (контраст 4.5:1) */
	--ink: #2B2421; --body-2: #4E433D; --muted: #6B6058;
	--line: #EDE6DA; --line-strong: #E2D8C8; --paper: #FAF7F2; --bg: #FFFFFF;
	--font-display: 'Kurale', Georgia, serif;
	--font-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-xl: 22px; --r-pill: 999px;
	--container: 1320px; --gutter: 16px;
	--shadow-card: 0 4px 14px rgba(60, 30, 20, .10);
	--shadow-sticky: 0 -6px 16px rgba(60, 30, 20, .08);
	--header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --header-h: 88px; } }

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); overflow-x: clip; } /* страховка: страница никогда не шире экрана (iOS иначе даёт «уменьшить» сайт) */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--font-body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
@media (min-width: 768px) { body { font-size: 16px; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .15em; }
a:hover { color: var(--red-hover); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; color: var(--red); margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
body.is-locked { overflow: hidden; }

body > main { flex: 1 0 auto; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--blue); color: #fff; border-radius: var(--r-sm); }
.skip-link:focus { top: 8px; color: #fff; }

.eyebrow { font: 600 13px/1.4 var(--font-body); color: var(--gold-text); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.eyebrow--light { color: var(--gold-light); }
.ornament { color: var(--gold); margin: 0 auto 10px; }
.frame-gold { border: 1.5px solid var(--gold); outline: 1.5px solid var(--gold); outline-offset: 5px; border-radius: 4px; margin: 6px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); font: 500 16px/1 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-hover); color: #fff; }
.btn--outline { background: #fff; color: var(--red); border-color: var(--red); }
.btn--outline:hover { background: var(--red-soft); }
.btn--gold { background: var(--gold-light); color: var(--blue-deep); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; flex: none; }
.icon-btn:hover { border-color: var(--red); color: var(--red); }

.badge { display: inline-block; font-size: 12px; line-height: 1.4; padding: 4px 10px; border-radius: 12px; color: #fff; }
.badge--preorder { background: var(--blue); }
.badge--instock { background: var(--green); }
.badge--out { background: var(--muted); }

/* ---------- Верхняя полоса ---------- */
.topbar { background: var(--red); color: #fff; font-size: 13px; }
.topbar__row { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar__promo a { color: var(--gold-light); font-weight: 500; }
.topbar__contacts { display: none; gap: 20px; }
@media (min-width: 768px) { .topbar { font-size: 14px; } .topbar__contacts { display: flex; } }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand__logo { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font-family: var(--font-display); color: var(--red); white-space: nowrap; }
.brand__tag { display: none; font-size: 13px; color: var(--muted); }
.main-nav { display: none; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-header__actions .search-form { display: none; }
.site-header__account { display: none; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); background: var(--red); color: #fff; text-decoration: none; font-size: 15px; }
.cart-btn:hover { background: var(--red-hover); color: #fff; }
.cart-btn__label { display: none; }
.cart-btn { justify-content: center; width: 44px; padding: 0; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold-light); color: var(--blue-deep); font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
.cart-count[data-count="0"] { display: none; }
.brand__name { font-size: 19px; }
@media (max-width: 359px) { .brand__text { display: none; } }
.site-header--minimal .site-header__row { justify-content: space-between; }
.site-header__help { color: var(--muted); text-decoration: none; font-size: 14px; text-align: right; }
.site-header__help strong { color: var(--ink); font-weight: 500; white-space: nowrap; }

@media (min-width: 560px) and (max-width: 1023px) { .brand__tag { display: block; } }
@media (min-width: 1280px) { .brand__tag { display: block; } }
@media (min-width: 1024px) {
	.site-header__burger, .site-header__search-toggle { display: none; }
	.brand__logo { width: 52px; height: 52px; }
	.brand__name { font-size: 23px; }
	.main-nav { display: flex; align-items: center; gap: 4px 20px; margin-left: 20px; font-size: 15px; font-weight: 500; white-space: nowrap; }
	.main-nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); text-decoration: none; cursor: pointer; font-weight: 500; }
	.main-nav__link:hover, .main-nav__link[aria-current="page"], .main-nav__catalog[aria-expanded="true"] { color: var(--red); }
	.main-nav__catalog .icon { transition: transform .2s; }
	.main-nav__catalog[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.site-header__actions .search-form { display: flex; width: 200px; }
	.site-header__account { display: inline-flex; }
	.cart-btn { width: auto; padding: 0 18px; white-space: nowrap; }
	.cart-btn__label { display: inline; }
	.cart-count { position: static; min-width: 0; height: auto; padding: 0; background: none; color: inherit; font-size: inherit; font-weight: 400; line-height: inherit; }
	.cart-count::before { content: '· '; }
	.cart-count[data-count="0"] { display: inline; }
}
@media (min-width: 1280px) { .brand__logo { width: 60px; height: 60px; } .brand__name { font-size: 28px; } .main-nav { gap: 4px 26px; margin-left: 28px; } .site-header__actions .search-form { width: 260px; } }

/* ---------- Поиск ---------- */
.search-form { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: #fff; color: var(--muted); }
.search-form:focus-within { border-color: var(--red); }
.search-form__input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); outline: none; }
.search-form__input::-webkit-search-cancel-button { cursor: pointer; }

/* ---------- Мега-меню ---------- */
.mega-menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(60, 30, 20, .12); z-index: 41; }
.mega-menu__inner { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.mega-menu__cats { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 32px; }
.mega-menu__cat { break-inside: avoid; margin-bottom: 20px; }
.mega-menu__cat-link { font-family: var(--font-display); font-size: 21px; color: var(--red); text-decoration: none; }
.mega-menu__cat-link:hover { text-decoration: underline; }
.mega-menu__count { font: 400 13px var(--font-body); color: var(--muted); }
.mega-menu__sub { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.mega-menu__sub a { color: var(--body-2); text-decoration: none; }
.mega-menu__sub a:hover { color: var(--red); }
.mega-menu__links { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.mega-menu__links a { color: var(--ink); text-decoration: none; }
.mega-menu__links a:hover { color: var(--red); }
.mega-menu__backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(43, 36, 33, .35); }
.promo-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: var(--blue); color: #fff; text-decoration: none; }
.promo-card::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(242, 213, 138, .5); border-radius: 12px; pointer-events: none; }
.promo-card:hover { color: #fff; background: var(--blue-deep); }
.promo-card__title { font-family: var(--font-display); font-size: 24px; line-height: 1.15; }
.promo-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); font-weight: 500; font-size: 15px; }

/* ---------- Мобильное меню ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; overscroll-behavior: contain; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); border-bottom: 1px solid var(--line); min-height: var(--header-h); }
.mobile-menu__body { flex: 1; overflow-y: auto; padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }
.mobile-menu__body .eyebrow { margin: 8px 0 -8px; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mobile-menu__list a { display: flex; justify-content: space-between; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 16px; }
.mobile-menu__child a { padding-left: 16px; font-size: 15px; color: var(--body-2); }
.mobile-menu__count { font-size: 13px; color: var(--muted); }
.mobile-menu__list--main a { font-weight: 500; }
.mobile-menu__contacts { display: grid; gap: 10px; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--red); }

/* ---------- Страницы ---------- */
.content { padding-top: 22px; padding-bottom: 72px; }
.content__title { margin-bottom: 24px; }
.content__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.content--404 { text-align: center; max-width: 720px; }
.content--404 .search-form { max-width: 480px; margin: 0 auto; }
.content--404 .content__actions { justify-content: center; }

.prose { max-width: 800px; color: var(--body-2); font-size: 16px; line-height: 1.7; }
@media (min-width: 768px) { .prose { font-size: 17px; } }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose h2 { font-size: clamp(24px, 3vw, 34px); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--r-md); margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); }
.prose a { word-break: break-word; }
/* Разметка из старого конструктора YOOtheme в юридических текстах */
.prose [class*="uk-"] { max-width: 100%; }

.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-list__item a { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); text-decoration: none; height: 100%; }
.post-list__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-list__title { font-family: var(--font-display); font-size: 24px; line-height: 1.15; padding: 0 20px 20px; }

/* ---------- Плашка условий ---------- */
.info-strip { background: var(--paper); border-top: 1px solid var(--line); }
.info-strip__row { display: grid; gap: 22px; padding-top: 36px; padding-bottom: 36px; }
.info-strip__item { display: flex; gap: 14px; align-items: flex-start; }
.info-strip__item p { margin: 0; color: var(--body-2); font-size: 15px; }
.info-strip__icon { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; flex: none; color: var(--red); }
.info-strip__item .info-strip__title { font-family: var(--font-display); font-size: 21px; line-height: 1.2; color: var(--red); margin-bottom: 4px; }
.info-strip__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
@media (min-width: 900px) { .info-strip__row { grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 48px; } .info-strip__more { grid-column: 1 / -1; } }

/* ---------- Подвал ---------- */
.site-footer { background: var(--blue); color: var(--blue-text-on); border-top: 6px solid var(--gold); font-size: 15px; }
.site-footer__inner { padding-top: 44px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 32px; }
.site-footer__cols { display: grid; gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__brand { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; }
.site-footer__brand p { margin: 0; }
.site-footer__logo { width: 68px; height: 68px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.site-footer__logo img { width: 56px; height: 56px; }
.site-footer__name { font-family: var(--font-display); font-size: 28px; color: #fff; }
.site-footer__title { color: var(--gold-light); font-weight: 500; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--blue-text-on); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__phone { color: #fff !important; font-weight: 500; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; color: #AEB9DA; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: #AEB9DA; }
@media (min-width: 900px) { .site-footer__cols { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px 48px; } .site-footer__brand { grid-column: auto; } }

/* ---------- Cookies ---------- */
.cookie-notice { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 10px 30px rgba(60, 30, 20, .18); font-size: 14px; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; flex: 1 1 260px; }
@media (min-width: 768px) { .cookie-notice { left: auto; max-width: 520px; right: 24px; bottom: 24px; } }

/* ---------- WooCommerce: уведомления, кнопки, поля (штатные стили Woo отключены) ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--r-md); background: var(--blue-soft); color: var(--ink); border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.woocommerce-error { background: var(--red-soft); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { margin-left: auto; order: 2; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce-Button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); background: var(--red); color: #fff; border: 0; font: 500 15px var(--font-body); text-decoration: none; cursor: pointer; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--red-hover); color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button[disabled] { opacity: .5; cursor: default; }
.woocommerce input.input-text, .woocommerce select, .woocommerce textarea, .woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"], .woocommerce input[type="password"] { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: inherit; color: var(--ink); background: #fff; max-width: 100%; }
.woocommerce select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B6058' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.woocommerce input:focus, .woocommerce select:focus, .woocommerce textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.woocommerce textarea { min-height: 96px; }
.woocommerce form .form-row { margin: 0; padding: 0; }
.woocommerce form .form-row label:not(.check):not(.segmented__opt) { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.woocommerce form .form-row .required { color: var(--red); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { font-size: 12px; }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--red); }
.woocommerce form .form-row .description { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.woocommerce .select2-container .select2-selection--single { height: 48px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; padding-left: 14px; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.select2-dropdown { border-color: var(--line-strong); border-radius: var(--r-sm); }
.select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--red) !important; }
.woocommerce .price, .woocommerce-Price-amount { white-space: nowrap; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* ---------- Секции ---------- */
.section { padding-top: 56px; }
.home > .section:last-child { padding-bottom: 72px; }
@media (min-width: 1024px) { .section { padding-top: 88px; } .home > .section:last-child { padding-bottom: 96px; } }
.section__head { margin-bottom: 24px; }
.section__head h2 { margin-bottom: 8px; }
.section__head--center { text-align: center; }
.section__head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.section__lead { color: var(--muted); font-size: 16px; margin: 0; max-width: 640px; }
.section__head--center .section__lead { margin: 0 auto; }
@media (min-width: 768px) { .section__lead { font-size: 17px; } .section__head { margin-bottom: 32px; } }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Герой ---------- */
/* Баннер «Рецепт Рождества»: надписи нарисованы на картинке, кнопки — настоящие.
   Телефон: картинка 3:4 целиком, кнопки под ней. ПК: кнопки на баннере, как в макете. */
.hero { padding-top: 12px; }
.hero__frame { position: relative; }
.hero__img { width: 100%; height: auto; border-radius: var(--r-lg); aspect-ratio: 3 / 4; object-fit: cover; }
.hero__text { padding: 16px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions .btn { flex: 1 1 auto; padding: 0 18px; white-space: nowrap; }
@media (min-width: 768px) {
	.hero { padding-top: 20px; }
	.hero__img { aspect-ratio: 2560 / 1040; border-radius: var(--r-xl); }
	/* размеры и место — как у нарисованных кнопок в макете (в долях ширины баннера) */
	.hero__frame { container-type: inline-size; }
	.hero__text { position: absolute; left: 0; width: 52.66%; top: 73.9%; padding: 0; }
	.hero__actions { justify-content: center; flex-wrap: nowrap; gap: .75cqw; }
	.hero__actions .btn { flex: 0 0 auto; min-height: max(32px, 3.25cqw); padding: 0 max(10px, 1.7cqw); font-size: max(12px, 1.2cqw); }
	.hero__actions .btn--outline { background: #fff; }
}

/* ---------- Баннеры ---------- */
.banners { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 16px; padding-bottom: 8px; scrollbar-width: none; }
.banners::-webkit-scrollbar { display: none; }
.banners__item { scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 6px 18px rgba(60, 30, 20, .12); }
.banners__item img { width: 100%; aspect-ratio: 1600 / 920; object-fit: cover; transition: transform .3s; }
.banners__item:hover img { transform: scale(1.02); }
@media (min-width: 768px) { .banners { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; gap: 20px; overflow: visible; padding-top: 20px; } .banners__item { border-radius: 16px; } }

/* ---------- Плитки категорий ---------- */
.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.cat-tile { display: block; height: 100%; border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(60, 30, 20, .14); }
.cat-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
/* Плитка без фирменной картинки — в стиле фирменных: красная рамка, фото, надпись Kurale, кайма с полукругами */
.cat-tile--plain { position: relative; aspect-ratio: 1; display: grid; grid-template-rows: 1fr auto; text-decoration: none; border: 5px solid #A3242C; padding-bottom: 11%; }
.cat-tile--plain::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 11%; background: radial-gradient(circle at 50% 0, #fff 0 32%, transparent 34%) 0 0 / 22px 100% repeat-x, #A3242C; }
.cat-tile--plain .cat-tile__photo { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; object-fit: cover; }
.cat-tile__name { display: block; padding: 8px 10px 10px; text-align: center; font-family: var(--font-display); font-size: clamp(16px, 2vw, 25px); line-height: 1.12; color: #A3242C; }

/* ---------- Карточки товаров ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* На телефоне — горизонтальная лента */
@media (max-width: 767px) {
	.product-grid--scroll { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-left: var(--gutter); scrollbar-width: none; }
	.product-grid--scroll::-webkit-scrollbar { display: none; }
	.product-grid--scroll > * { scroll-snap-align: start; }
}
.product-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.product-card__media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.product-card__img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product-card__media:hover .product-card__img { transform: scale(1.03); }
.product-card__media .badge { position: absolute; top: 8px; left: 8px; }
.product-card__title { font: 500 15px/1.35 var(--font-body); color: var(--ink); margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { color: var(--red); }
.product-card__meta { margin: 0; font-size: 13px; color: var(--muted); }
.product-card__buy { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.product-card__price { margin: 0; display: flex; flex-direction: column; color: var(--red); font-weight: 600; font-size: 17px; line-height: 1.25; }
.product-card__price del { color: var(--muted); font-weight: 400; font-size: 14px; }
.product-card__price ins { text-decoration: none; }
.product-card__unit { font-size: 13px; font-weight: 400; color: var(--muted); }
.product-card__add { flex: none; }
.product-card__add.added { background: var(--blue); }
.product-card .added_to_cart { display: none; }
@media (min-width: 768px) { .product-card__title { font-size: 16px; } }

/* ---------- Блок предзаказа ---------- */
.preorder-block { padding: 24px 16px; }
.preorder-block__head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.preorder-block__head > div { max-width: 640px; }
.preorder-block__head h2 { margin-bottom: 8px; }
@media (min-width: 768px) { .preorder-block { padding: 44px 40px; } .preorder-block__head { margin-bottom: 32px; } }

/* ---------- Блок «О нас» ---------- */
.about-block { display: grid; background: var(--blue); color: #fff; border-radius: var(--r-xl); overflow: hidden; }
.about-block__text { position: relative; padding: 32px 24px; display: flex; flex-direction: column; gap: 14px; }
.about-block__text::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(242, 213, 138, .55); border-radius: 12px; pointer-events: none; }
.about-block__text h2 { color: #fff; margin: 0; }
.about-block__text p { color: var(--blue-text-on); margin: 0; font-size: 16px; }
.about-block__text .eyebrow { color: var(--gold-light); }
.about-block__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.about-block__img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
@media (min-width: 900px) { .about-block { grid-template-columns: 1.1fr 1fr; } .about-block__text { padding: 56px; gap: 20px; } .about-block__text::before { inset: 14px; } .about-block__text p { font-size: 17px; } .about-block__img { min-height: 420px; } }

/* ---------- Рецепты ---------- */
.recipe-grid { display: grid; gap: 16px; }
@media (min-width: 768px) { .recipe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .recipe-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .recipe-grid--1 { grid-template-columns: minmax(0, 720px); } }
.recipe-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.recipe-card__media { display: block; overflow: hidden; background: var(--paper); }
.recipe-card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s; }
.recipe-card__media:hover .recipe-card__img { transform: scale(1.03); }
.recipe-card__body { padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.recipe-card__body .eyebrow { margin: 0; }
.recipe-card__title { font-size: clamp(21px, 2.2vw, 26px); color: var(--ink); margin: 0; }
.recipe-card__title a { color: inherit; text-decoration: none; }
.recipe-card__title a:hover { color: var(--red); }
.recipe-card__excerpt { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .recipe-card--large { display: grid; grid-template-columns: 1.3fr 1fr; grid-column: 1 / -1; } .recipe-card--large .recipe-card__media { position: relative; min-height: 380px; } .recipe-card--large .recipe-card__img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; } .recipe-card--large .recipe-card__body { padding: 40px; justify-content: center; } .recipe-card--large .recipe-card__title { font-size: 38px; } }

/* ---------- Чипы, пагинация ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip[aria-current="page"] { background: var(--red-soft); border-color: var(--red); color: var(--red); font-weight: 500; }
@media (max-width: 767px) { .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; } .chip { flex: none; } }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 40px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; }
.page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
a.page-numbers:hover { border-color: var(--red); color: var(--red); }

/* ---------- «О нас» ---------- */
.about-hero { background: var(--blue); color: #fff; position: relative; }
.about-hero::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(242, 213, 138, .5); border-radius: 12px; pointer-events: none; }
.about-hero__inner { padding-top: 24px; padding-bottom: 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.about-hero .breadcrumbs { align-self: flex-start; }
.about-hero .breadcrumbs, .about-hero .breadcrumbs a { color: var(--blue-text-on); }
.about-hero__logo { width: 88px; height: 88px; background: #fff; border-radius: 50%; padding: 8px; }
.about-hero__title { color: var(--gold-light); font: 600 14px/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.about-hero__lead { font-family: var(--font-display); font-size: clamp(30px, 5vw, 52px); line-height: 1.1; margin: 0; }
.about-story { display: grid; gap: 24px; align-items: center; }
.about-story__img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 4 / 3; object-fit: cover; }
.about-story__text h2 { margin-top: 0; }
@media (min-width: 900px) { .about-story { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .about-facts { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.about-facts__item { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); color: var(--muted); font-size: 14px; }
.about-facts__big { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); color: var(--red); line-height: 1.1; }
.contacts-card { padding: 28px 22px; }
.contacts-card h2 { margin-top: 0; }
.contacts-card__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.contacts-card__list li { display: grid; gap: 2px; }
.contacts-card__label { font-size: 13px; color: var(--muted); }
.contacts-card__list a { font-size: 18px; font-weight: 500; }
@media (min-width: 768px) { .contacts-card { padding: 40px; } .contacts-card__list { grid-template-columns: repeat(3, auto); justify-content: start; gap: 16px 56px; } }
.about > .section:last-child { padding-bottom: 72px; }

/* ---------- Рецепты ---------- */
.recipes__head { margin-bottom: 8px; }
.recipes__head .content__title { margin-bottom: 16px; }
@media (min-width: 768px) { .recipe-grid--feed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .recipe-grid--feed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tg-card { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px; border-radius: 16px; background: var(--blue); color: #fff; text-decoration: none; min-height: 200px; }
.tg-card:hover { background: var(--blue-deep); color: #fff; }
.tg-card .link-more { color: var(--gold-light); }
.tg-card__title { font-family: var(--font-display); font-size: 24px; line-height: 1.2; }
.recipe { max-width: 960px; }
.recipe__head .eyebrow a { color: inherit; text-decoration: none; }
.recipe__meta { color: var(--muted); font-size: 14px; margin-top: -12px; }
.recipe__cover { margin: 0 0 28px; }
.recipe__img { width: 100%; border-radius: var(--r-xl); max-height: 560px; object-fit: cover; }
.recipe__body { max-width: 760px; }
.recipe__share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.recipe .section { padding-top: 56px; }

/* ---------- Поиск, список категорий ---------- */
.search-page__form { max-width: 560px; margin-bottom: 16px; }
.search-page__form .search-form { height: 52px; }
.search-page__count { color: var(--muted); margin-bottom: 16px; }
.search-page__empty { padding: 24px 0; }
.cat-list { list-style: none; margin: 0; padding: 0; columns: 2 260px; column-gap: 40px; }
.cat-list > li { break-inside: avoid; margin-bottom: 16px; }
.cat-list ul { list-style: none; margin: 6px 0 0 16px; padding: 0; display: grid; gap: 4px; }
.cat-list__link { font-family: var(--font-display); font-size: 22px; text-decoration: none; }
.cat-list__count { font-size: 13px; color: var(--muted); }

/* ---------- Каталог ---------- */
.catalog__head { margin-bottom: 16px; }
.catalog__title { margin: 0; }
.catalog { display: grid; gap: 20px; }
.catalog__side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.catalog__main { min-width: 0; }
.catalog__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; }
.catalog__count { margin: 0; color: var(--muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B6058' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; font: inherit; font-size: 14px; color: var(--ink); -webkit-appearance: none; appearance: none; cursor: pointer; }
.catalog__empty { padding: 32px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.catalog__desc { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.catalog__desc strong:first-child { color: var(--ink); }

/* Разделы: на телефоне — лента чипов, на десктопе — список в рамке */
.cats-nav__list { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats-nav__list::-webkit-scrollbar { display: none; }
.cats-nav__item a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.cats-nav__item a:hover { border-color: var(--red); color: var(--red); }
.cats-nav__item a[aria-current="page"] { background: var(--red-soft); border-color: var(--red); color: var(--red); font-weight: 500; }
.cats-nav__item--child { display: none; }
.cats-nav__item--accent a { border-color: var(--blue); color: var(--blue); }

/* Фильтры: на телефоне свёрнуты под кнопку */
.catalog__filters > summary { list-style: none; width: max-content; }
.catalog__filters > summary::-webkit-details-marker { display: none; }
.filters { display: grid; gap: 22px; padding: 18px 0 4px; }
.filters__group { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.filters__title { font-family: var(--font-display); font-size: 21px; color: var(--red); margin-bottom: 6px; padding: 0; }
.filters__price { display: flex; align-items: center; gap: 8px; }
.filters__price input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: inherit; }
.filters__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.js .filters__actions .btn--primary { display: none; }
.js .filters--price-dirty .filters__actions .btn--primary { display: inline-flex; }

/* Чекбоксы и радио — настоящие input, свой вид */
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-size: 15px; }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 2px solid #B9AEA2; border-radius: 5px; background: #fff; cursor: pointer; }
.check--radio input { border-radius: 50%; }
.check input:checked { background: var(--red); border-color: var(--red); box-shadow: inset 0 0 0 3px #fff; }
.check input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.check--consent { align-items: flex-start; font-size: 14px; min-height: 0; }
.check--consent input { margin-top: 2px; }

@media (min-width: 1024px) {
	.catalog { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
	.catalog__side { gap: 28px; }
	.cats-nav__list { display: block; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
	.cats-nav__item a { display: flex; min-height: 44px; border: 0; border-bottom: 1px solid #F2EDE4; border-radius: 0; font-size: 15px; white-space: normal; }
	.cats-nav__item:last-child a { border-bottom: 0; }
	.cats-nav__item--child { display: block; }
	.cats-nav__item--child a { padding-left: 32px; font-size: 14px; color: var(--body-2); }
	.cats-nav__item--accent a { color: var(--blue); font-weight: 500; }
	.catalog__filters > summary { display: none; }
	.filters { padding: 0; }
	.product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Карточка товара ---------- */
.product-hero { display: grid; gap: 28px; }
@media (min-width: 900px) { .product-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; } }
.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 900px) { .gallery { position: sticky; top: calc(var(--header-h) + 16px); } }
.gallery__main { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r-xl); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery__img { width: 92%; height: 92%; object-fit: contain; }
.gallery__main .badge { position: absolute; top: 14px; left: 14px; font-size: 13px; padding: 6px 12px; }
.gallery__thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.gallery__thumb { width: 100%; aspect-ratio: 1; padding: 4px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb[aria-pressed="true"] { border-color: var(--red); }

.product-hero__info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.product-hero__head .eyebrow { margin-bottom: 8px; }
.product-hero__title { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin: 0; }
.product-hero__lead { color: var(--body-2); margin-top: 10px; }
.product-hero__lead p:last-child { margin-bottom: 0; }

.packs__title { font-weight: 500; margin: 0 0 10px; }
.packs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.packs__item { display: flex; flex-direction: column; gap: 2px; height: 100%; min-height: 76px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; background: #fff; }
.packs__item:hover { border-color: var(--line-strong); color: var(--ink); }
.packs__item[aria-current="page"] { border-color: var(--red); background: var(--red-soft); }
.packs__label { font-weight: 500; }
.packs__unit { font-size: 14px; color: var(--muted); }
.packs__save { font-size: 13px; font-weight: 600; color: var(--blue); }
.packs__out { font-size: 13px; color: var(--muted); }

.buy-box { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 768px) { .buy-box { padding: 24px; } }
.buy-box__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.buy-box__amount { font-family: var(--font-display); font-size: clamp(30px, 4vw, 40px); color: var(--red); line-height: 1.1; }
.buy-box__amount del { font-size: .6em; color: var(--muted); }
.buy-box__amount ins { text-decoration: none; }
.buy-box__unit { color: var(--muted); }
.buy-box__price .badge { align-self: center; }
.buy-box__note { margin: 0; font-size: 14px; color: var(--body-2); }
.buy-box__form--out { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-box form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.buy-box form.cart .single_add_to_cart_button { flex: 1 1 200px; min-height: 52px; border-radius: var(--r-pill); font-size: 16px; }
.buy-box form.variations_form { flex-direction: column; }
.buy-box table.variations { width: 100%; border-collapse: collapse; }
.buy-box table.variations th, .buy-box table.variations td { display: block; text-align: left; padding: 0 0 6px; }
.buy-box .reset_variations { font-size: 14px; }
.buy-box .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.quantity { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: #fff; }
.quantity .qty { width: 48px; height: 50px; border: 0; background: transparent; text-align: center; font: 500 16px var(--font-body); -moz-appearance: textfield; appearance: textfield; }
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 46px; height: 50px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; border-radius: var(--r-pill); }
.qty-btn:hover { color: var(--red); }

.specs { margin: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); font-size: 15px; }
.specs dt, .specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-right: 12px; }

.product-section { padding-top: 48px; }
@media (min-width: 1024px) { .product-section { padding-top: 64px; } }
.product-page > .product-section:last-child { padding-bottom: 8px; }

/* Отзывы — разметка WooCommerce */
.product-reviews .woocommerce-Reviews-title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); color: var(--red); font-weight: 400; display: block; margin: 0 0 16px; }
.product-reviews #reply-title { font-family: var(--font-display); font-size: 24px; line-height: 1.2; color: var(--red); font-weight: 400; display: block; margin: 0 0 8px; }
.product-reviews #reviews { display: grid; gap: 32px; }
@media (min-width: 1024px) { .product-reviews #reviews { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; } }
.product-reviews .woocommerce-noreviews { color: var(--muted); }
.product-reviews #review_form_wrapper { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.product-reviews .comment-notes { font-size: 13px; color: var(--muted); margin: 0; }
.product-reviews .comment-form > p { margin: 0; }
.product-reviews .comment-form textarea { height: 120px; min-height: 96px; }
.product-reviews .comment-form .form-submit input { min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r-pill); background: var(--red); color: #fff; font: 500 15px var(--font-body); cursor: pointer; }
.product-reviews .comment-form .form-submit input:hover { background: var(--red-hover); }
.product-reviews .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.product-reviews .comment-form-cookies-consent label { margin: 0 !important; }
.product-reviews ol.commentlist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; max-width: 800px; }
.product-reviews .comment_container { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.product-reviews .comment_container img.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.product-reviews .comment-text { flex: 1; min-width: 0; }
.product-reviews .meta { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.product-reviews .description p:last-child { margin: 0; }
.product-reviews .comment-form { display: grid; gap: 14px; }
.product-reviews .comment-form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.product-reviews .comment-form textarea, .product-reviews .comment-form input[type="text"], .product-reviews .comment-form input[type="email"] { width: 100%; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: inherit; }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; overflow: hidden; font-size: 15px; line-height: 1; color: var(--gold-text); }
.star-rating::before { content: '★★★★★'; color: var(--line-strong); letter-spacing: .1em; }
.star-rating span { position: absolute; top: 0; left: 0; overflow: hidden; padding-top: 1.5em; }
.star-rating span::before { content: '★★★★★'; position: absolute; top: 0; left: 0; letter-spacing: .1em; }
/* Выбор оценки: WooCommerce превращает select в 5 ссылок «1 из 5 звезд» — текст прячем, рисуем звёзды */
p.stars { margin: 0; line-height: 1; }
p.stars span { display: inline-flex; gap: 4px; }
p.stars a { position: relative; display: inline-block; width: 32px; height: 32px; overflow: hidden; text-indent: -999em; text-decoration: none; color: var(--gold); }
p.stars a::before { content: '☆'; position: absolute; inset: 0; text-indent: 0; font-size: 30px; line-height: 32px; text-align: center; }
p.stars:hover a::before, p.stars.selected a::before { content: '★'; }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { content: '☆'; }
p.stars.selected:hover a:hover ~ a::before { content: '☆'; }
p.stars.selected:hover a::before { content: '★'; }
.comment-form-rating select#rating { display: none; }

/* ---------- Лендинг предзаказа ---------- */
.preorder-hero { position: relative; background: var(--blue); color: #fff; }
.preorder-hero::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(242, 213, 138, .5); border-radius: 12px; pointer-events: none; }
.preorder-hero__inner { position: relative; z-index: 1; padding-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1024px) { .preorder-hero__inner { padding-top: 32px; padding-bottom: 72px; } }
.preorder-hero .breadcrumbs, .preorder-hero .breadcrumbs a { color: var(--blue-text-on); }
.preorder-hero__title { color: #fff; margin: 0; font-size: clamp(36px, 6vw, 64px); }
.preorder-hero__lead { max-width: 680px; color: var(--blue-text-on); font-size: 17px; margin: 0; }
.preorder-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.steps__item { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.steps__n { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; color: var(--red); }
.steps__title { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--red); line-height: 1.2; }
.steps__text { color: var(--muted); font-size: 15px; }
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; font-size: 24px; color: var(--red); flex: none; transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { margin: 0 0 16px; color: var(--body-2); max-width: 720px; }
.preorder > .section:last-child { padding-bottom: 72px; }

.b2b { position: relative; display: grid; gap: 24px; padding: 28px 22px; border-radius: var(--r-xl); background: var(--blue); color: #fff; }
.b2b::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(242, 213, 138, .5); border-radius: 14px; pointer-events: none; }
.b2b > * { position: relative; }
@media (min-width: 900px) { .b2b { grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px; align-items: start; } }
.b2b__title { color: #fff; margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 40px); }
.b2b__intro p:last-child { color: var(--blue-text-on); margin: 0; }
.b2b__form { display: grid; gap: 14px; }
.b2b__form a, .b2b__error a { color: var(--gold-light); }
.b2b__form .check input { border-color: rgba(255, 255, 255, .6); background: transparent; }
.b2b__form .check input:checked { background: var(--gold-light); border-color: var(--gold-light); box-shadow: inset 0 0 0 3px var(--blue); }
.b2b__form .btn { justify-self: start; }
.b2b__error { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); }
.b2b__done { padding: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .1); }
.b2b__done p { margin: 0; color: var(--blue-text-on); }
.b2b__done-title { font-family: var(--font-display); font-size: 26px; color: var(--gold-light) !important; margin-bottom: 6px !important; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; color: var(--blue-text-on); }
.field__input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); color: #fff; font: inherit; }
.field__input::placeholder { color: rgba(217, 224, 242, .6); }
.field__input:focus { outline: none; border-color: var(--gold-light); }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Пагинация WooCommerce: ul.page-numbers > li > a.page-numbers */
.woocommerce-pagination ul.page-numbers { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; border: 0; height: auto; min-width: 0; border-radius: 0; }
.woocommerce-pagination ul.page-numbers li { display: block; }

/* ---------- Корзина ---------- */
.content--shop .woocommerce { display: grid; gap: 24px; }
@media (min-width: 1024px) { .woocommerce-cart .content--shop .woocommerce { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; } .woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; } }
.cart-list { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.cart-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.cart-group--preorder .cart-group__head { border-color: var(--blue); }
.cart-group__title { font-size: 24px; margin: 0; }
.cart-group--preorder .cart-group__title { color: var(--blue); }
.cart-group__count { font: 500 14px var(--font-body); color: var(--muted); }
.cart-group__note { margin: 0; font-size: 14px; color: var(--muted); }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "thumb info remove" "thumb qty total"; gap: 8px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
@media (min-width: 768px) { .cart-item { grid-template-columns: 88px minmax(0, 1fr) auto 110px 40px; grid-template-areas: "thumb info qty total remove"; gap: 20px; } }
.cart-item__thumb { grid-area: thumb; align-self: start; }
.cart-item__thumb img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.cart-item__info { grid-area: info; min-width: 0; }
.cart-item__name { color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item__name:hover { color: var(--red); }
.cart-item__price { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.cart-item__qty { grid-area: qty; }
.cart-item__qty .quantity { height: 44px; }
.cart-item__qty .qty { height: 42px; width: 44px; }
.cart-item__qty .qty-btn { height: 42px; width: 40px; }
.cart-item__total { grid-area: total; font-weight: 600; color: var(--red); text-align: right; }
.cart-item__remove { grid-area: remove; justify-self: end; }
.cart-item__remove .remove { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); }
.cart-item__remove .remove:hover { background: var(--red-soft); color: var(--red); }
.cart-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.js .cart-actions__update { display: none; }
.coupon summary { cursor: pointer; color: var(--red); font-weight: 500; }
.coupon__row { display: flex; gap: 8px; margin-top: 10px; }
.coupon__row .input-text { max-width: 220px; min-height: 40px; }
.cart-collaterals { min-width: 0; }
.cart_totals { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
@media (min-width: 1024px) { .cart_totals { position: sticky; top: calc(var(--header-h) + 16px); } }
.cart_totals h2 { font-size: 26px; margin: 0 0 12px; }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals th, .cart_totals td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.cart_totals td { text-align: right; }
.cart_totals .order-total th, .cart_totals .order-total td { border-bottom: 0; font-size: 20px; font-weight: 600; color: var(--red); padding-top: 14px; }
.cart_totals .woocommerce-shipping-totals td { font-size: 14px; color: var(--muted); }
.cart_totals .shipping-calculator-button, .cart_totals .woocommerce-shipping-destination { display: none; }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 52px !important; font-size: 16px !important; }
.cart-ship-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.cart-empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 32px 0 16px; color: var(--muted); max-width: 560px; margin: 0 auto; }
.cart-empty-state .icon { color: var(--gold); }
.cart-empty-state__title { font-family: var(--font-display); font-size: 32px; color: var(--red); margin: 8px 0 0; }
.woocommerce-cart .content--shop .woocommerce:has(.cart-empty-state) { display: block; }

/* ---------- Оформление ---------- */
.checkout-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) { .checkout-layout { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; } .checkout-layout__side { position: sticky; top: 16px; } }
.checkout-card { padding: 22px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
@media (min-width: 768px) { .checkout-card { padding: 28px; } }
.checkout-card--summary { background: var(--paper); }
.checkout-card__title, .woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3, .checkout-subtitle { font-family: var(--font-display); font-weight: 400; color: var(--red); font-size: 24px; margin: 0 0 16px; }
.checkout-subtitle { margin: 14px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--line); }
.woocommerce-billing-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 14px; }
.woocommerce-billing-fields__field-wrapper > *, .woocommerce-additional-fields__field-wrapper > *, .woocommerce-address-fields__field-wrapper > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 640px) {
	.woocommerce-billing-fields__field-wrapper > .form-row-first, .woocommerce-billing-fields__field-wrapper > .form-row-last,
	.woocommerce-address-fields__field-wrapper > .form-row-first, .woocommerce-address-fields__field-wrapper > .form-row-last { grid-column: span 3; }
	.woocommerce-billing-fields__field-wrapper > .form-row-third, .woocommerce-address-fields__field-wrapper > .form-row-third { grid-column: span 2; }
}
.woocommerce-additional-fields { margin-top: 22px; }
.woocommerce-account-fields { margin-top: 16px; }
.woocommerce-account-fields .form-row label { display: flex !important; align-items: center; gap: 8px; color: var(--ink) !important; }
.pnt-company-hidden { display: none !important; }
.segmented { border: 0; margin: 0 0 4px !important; padding: 4px !important; display: inline-flex !important; gap: 4px; background: var(--paper); border-radius: var(--r-pill); justify-self: start; grid-column: 1 / -1; }
.segmented__opt { position: relative; cursor: pointer; }
.segmented__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented__opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-size: 15px; color: var(--body-2); }
.segmented__opt input:checked + span { background: #fff; color: var(--red); font-weight: 500; box-shadow: 0 1px 4px rgba(60, 30, 20, .14); }
.segmented__opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.woocommerce-form-login-toggle .woocommerce-info, .woocommerce-form-coupon-toggle .woocommerce-info { background: var(--paper); }
.woocommerce-form-login, .checkout_coupon { margin: 0 0 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 12px; }
.checkout_coupon { grid-template-columns: 1fr auto; align-items: end; }
.checkout_coupon p:first-child { grid-column: 1 / -1; margin: 0; }
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; padding-left: 12px; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--muted); font-weight: 400; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 20px; font-weight: 600; color: var(--red); border-bottom: 0; padding-top: 14px; }
#payment { margin-top: 16px; }
#payment .wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
#payment .wc_payment_method { padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: #fff; }
#payment .wc_payment_method > label { display: inline; font-weight: 500; cursor: pointer; }
#payment .wc_payment_method img { display: inline-block; max-height: 22px; vertical-align: middle; margin-left: 6px; }
#payment .payment_box { margin-top: 8px; font-size: 14px; color: var(--muted); }
#payment .payment_box p:last-child { margin: 0; }
.woocommerce-terms-and-conditions-wrapper { display: grid; gap: 10px; margin-bottom: 16px; font-size: 14px; }
.woocommerce-terms-and-conditions-wrapper .form-row label.checkbox, .woocommerce-form__label-for-checkbox { display: flex !important; gap: 10px; align-items: flex-start; color: var(--ink) !important; font-size: 14px !important; }
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"], .woocommerce-form__input-checkbox { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.woocommerce-terms-and-conditions { max-height: 240px; overflow: auto; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 13px; }
#place_order { width: 100%; min-height: 54px; font-size: 17px; }
.checkout-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- «Заказ принят» и детали заказа ---------- */
.thankyou { display: flex; flex-direction: column; gap: 32px; max-width: 900px; }
.thankyou__card { padding: 28px 22px; }
@media (min-width: 768px) { .thankyou__card { padding: 40px; } }
.thankyou__card .eyebrow { margin-bottom: 6px; }
.thankyou__title { margin: 0 0 6px; }
.thankyou__card .woocommerce-notice { background: none; padding: 0; margin: 0 0 20px; color: var(--muted); }
.thankyou__facts { margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
@media (min-width: 768px) { .thankyou__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.thankyou__facts dt { font-size: 13px; color: var(--muted); }
.thankyou__facts dd { margin: 2px 0 0; font-weight: 500; word-break: break-word; }
.thankyou__steps { margin: 0 0 16px; padding-left: 1.3em; display: grid; gap: 8px; color: var(--body-2); }
.thankyou__help { margin: 0; font-size: 14px; color: var(--muted); }
.thankyou__card--failed { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--red-soft); }
.woocommerce-order-details, .woocommerce-customer-details { margin: 0; }
.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-customer-details h2 { font-size: 26px; margin: 0 0 12px; }
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.woocommerce-table--order-details td:last-child, .woocommerce-table--order-details th:last-child { text-align: right; }
.woocommerce-table--order-details tfoot tr:last-child th, .woocommerce-table--order-details tfoot tr:last-child td { font-weight: 600; color: var(--red); }
.woocommerce-customer-details address { font-style: normal; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); line-height: 1.6; }
.woocommerce-customer-details--phone, .woocommerce-customer-details--email { margin: 6px 0 0; }
.order-extra { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15px; }
.order-extra dt { color: var(--muted); }
.order-extra dd { margin: 0; }
.order-tracking { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--r-md); background: var(--blue-soft); color: var(--blue-deep); }

/* ---------- Личный кабинет ---------- */
.woocommerce-account .content--shop .woocommerce { display: grid; gap: 24px; }
@media (min-width: 900px) { .woocommerce-account.logged-in .content--shop .woocommerce { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; } }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 14px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--red-soft); border-color: var(--red); color: var(--red); font-weight: 500; }
@media (min-width: 900px) {
	.woocommerce-MyAccount-navigation ul { display: block; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
	.woocommerce-MyAccount-navigation a { display: flex; min-height: 46px; border: 0; border-bottom: 1px solid #F2EDE4; border-radius: 0; font-size: 15px; }
	.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; color: var(--muted); }
}
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > p:first-child { color: var(--muted); }
.woocommerce-orders-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.woocommerce-orders-table th { font-size: 13px; color: var(--muted); font-weight: 400; text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.woocommerce-orders-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.woocommerce-orders-table .button { min-height: 36px !important; padding: 0 14px !important; font-size: 14px !important; margin: 2px; }
@media (max-width: 767px) {
	.woocommerce-orders-table thead { display: none; }
	.woocommerce-orders-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.woocommerce-orders-table td { display: block; padding: 0; border: 0; }
	.woocommerce-orders-table td::before { content: attr(data-title) ': '; color: var(--muted); font-size: 13px; }
	.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions { grid-column: 1 / -1; }
	.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before { display: none; }
}
.order-status { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 13px; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; }
.order-status--processing, .order-status--awaiting-batch { background: var(--blue-soft); border-color: transparent; color: var(--blue-deep); }
.order-status--shipped, .order-status--completed { background: #EAF3EC; border-color: transparent; color: var(--green); }
.order-status--cancelled, .order-status--failed { background: var(--red-soft); border-color: transparent; color: var(--red); }
.woocommerce-Addresses { display: grid; gap: 20px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.woocommerce-Address-title h2 { font-size: 24px; margin: 0; }
.woocommerce-Address address { font-style: normal; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
.woocommerce-EditAccountForm, .woocommerce-address-fields { display: grid; gap: 16px; max-width: 720px; }
.woocommerce-EditAccountForm fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: grid; gap: 12px; }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { max-width: 480px; }
.u-columns.col2-set { display: grid; gap: 32px; }
@media (min-width: 900px) { .u-columns.col2-set { grid-template-columns: 1fr 1fr; gap: 56px; } }
.u-columns h2 { font-size: 28px; }
.woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: 8px; color: var(--ink) !important; }
.woocommerce-LostPassword { font-size: 14px; }
.account-dash { display: grid; gap: 24px; }
.account-dash__hello { font-family: var(--font-display); font-size: 28px; color: var(--red); margin: 0; }
.account-dash__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.account-dash__links a { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; }
.account-dash__links a:hover { border-color: var(--red); }
.account-dash__links strong { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--red); }
.account-dash__links span { font-size: 14px; color: var(--muted); }

/* Поле количества — без рамки внутри «таблетки» (перебивает общие стили полей Woo) */
.woocommerce .quantity .qty, .quantity .qty { width: 48px !important; min-height: 0; padding: 0; border: 0 !important; box-shadow: none !important; background: transparent; }
/* Название и ИНН обязательны для компании (проверка на сервере) — «необязательно» не пишем */
.woocommerce-checkout .pnt-company-only .optional { display: none; }

/* Горизонтальные ленты — позиционированы: скрытые подписи (.sr-only, position: absolute) внутри них
   иначе считаются от всей страницы и растягивают её вправо (на айфоне сайт «уменьшался» с пустотой справа) */
.banners, .product-grid--scroll, .chips, .cats-nav__list, .woocommerce-MyAccount-navigation ul, .banners__item, .product-card { position: relative; }
.product-reviews #reviews > .clear { display: none; }

/* =====================================================================
   Правки по UI/UX-аудиту (2026-10-14)
   ===================================================================== */

/* ---------- Карточка товара в сетках ---------- */
.product-card__meta { color: var(--body-2); font-weight: 500; }
.product-card__buy { align-items: flex-end; }
@media (min-width: 768px) { .product-card__title { min-height: calc(3 * 1.35em); } }
@media (max-width: 767px) {
	.product-card__buy { flex-direction: column; align-items: stretch; gap: 8px; }
	.product-card__add { width: 100%; }
	.product-card__media .badge { top: 6px; left: 6px; font-size: 11px; padding: 2px 8px; }
}
.product-card--out .product-card__price { color: var(--muted); }
.product-card--out .product-card__img { opacity: .7; }
.badge--sale { background: var(--red); font-weight: 600; }
.product-card__media .badge--sale, .gallery__main .badge--sale { left: auto; right: 8px; }
.gallery__main .badge--sale { right: 14px; top: 14px; font-size: 13px; padding: 6px 12px; }
@media (max-width: 767px) {
	.page-numbers { min-width: 40px; height: 40px; padding: 0 8px; }
	.woocommerce-pagination ul.page-numbers, .pagination, .nav-links { gap: 4px; }
}

/* ---------- Шапка, меню, главная ---------- */
.mobile-menu__body > * { flex-shrink: 0; }
.mega-menu__count { white-space: nowrap; }
.site-header__row { position: relative; z-index: 42; background: #fff; } /* затемнение мега-меню не накрывает шапку */
.banners { scroll-padding-inline: var(--gutter); }
@media (max-width: 767px) {
	/* верхняя полоса — одна строка */
	.topbar__promo { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.topbar__row { flex-wrap: nowrap; }
}
.section__head--split { align-items: baseline; }
.cat-tile__name { min-height: 2.24em; display: flex; align-items: center; justify-content: center; }
.recipe-grid--1 { grid-template-columns: minmax(0, 420px); }
.prose blockquote > :last-child { margin-bottom: 0; }
.recipe__body > p:first-child img, .recipe__body > figure:first-child img { width: 100%; max-height: 560px; object-fit: cover; }
@media (max-width: 767px) {
	.about-hero__inner { padding-top: 32px; padding-left: 28px; padding-right: 28px; }
	.site-footer ul { gap: 0; }
	.site-footer ul a { display: block; padding: 8px 0; }
	.cat-list ul a { display: inline-block; padding: 6px 0; }
	.search-page__empty .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
}
.content--404 { padding-top: 56px; }
.content--404 p { text-wrap: balance; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Каталог ---------- */
@media (max-width: 1023px) {
	.cats-nav__item--family { display: block; }
	.cats-nav__item--family a { font-size: 13px; background: var(--paper); }
	.cats-nav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}
@media (min-width: 1024px) {
	.cats-nav__item a { padding: 10px 16px; line-height: 1.3; }
	.cats-nav__item--child a { padding-left: 32px; }
	.filters__sheet-head { display: none; }
}
.catalog__empty { padding: 40px 24px; background: var(--paper); border-radius: var(--r-lg); align-items: center; text-align: center; }
/* Фильтры на телефоне — шторка снизу */
@media (max-width: 1023px) {
	.catalog__filters[open] > .filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 85vh; overflow-y: auto; padding: 0 var(--gutter) calc(16px + env(safe-area-inset-bottom)); background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(43, 36, 33, .25); }
	.catalog__filters[open]::before { content: ''; position: fixed; inset: 0; z-index: 69; background: rgba(43, 36, 33, .4); }
	.filters__sheet-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin: 0 calc(-1 * var(--gutter)); padding: 12px var(--gutter); background: #fff; border-bottom: 1px solid var(--line); }
	.filters__sheet-title { font-family: var(--font-display); font-size: 22px; color: var(--red); }
	.filters__actions { position: sticky; bottom: 0; background: #fff; padding-top: 8px; }
	.filters__actions .btn { flex: 1; }
	.js .filters__actions .btn--primary { display: inline-flex; }
}
/* Лендинг предзаказа */
@media (max-width: 767px) {
	.preorder-hero::after { inset: 8px; }
	.preorder-hero__inner { padding-left: 28px; padding-right: 28px; padding-top: 28px; }
	.preorder-hero__actions .btn { width: 100%; }
	.steps__item { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 16px; }
	.steps__n { grid-row: span 2; }
	.steps__title { font-size: 19px; }
}

/* ---------- Карточка товара ---------- */
.product-hero__title { text-wrap: balance; }
.product-hero__title--long { font-size: clamp(24px, 2.4vw, 32px); }
.product-hero__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 14px; text-decoration: none; }
.product-section > h2, .product-reviews .woocommerce-Reviews-title { font-size: clamp(24px, 2.6vw, 34px); }
.packs { scroll-margin-top: calc(var(--header-h) + 12px); }
.packs__total { font-weight: 600; color: var(--red); }
.packs__item--out { border-style: dashed; }
.packs__item--out .packs__label, .packs__item--out .packs__total { color: var(--muted); }

.buy-box__note a[href^="tel:"] { white-space: nowrap; }
.buy-box__form--out .btn { flex: 1 1 200px; }
.buy-box__other p { margin: 0 0 10px; font-weight: 500; }
.buy-box__other-list { display: flex; flex-wrap: wrap; gap: 8px; }
.single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; }
.buy-box .reset_variations { display: inline-block; margin-top: 6px; }
.buy-box .reset_variations[style*="hidden"], .buy-box .single_variation:empty, .buy-box form.cart .clear { display: none; }
.buy-box table.variations td.value { padding: 0; }
.buy-box table.variations select { width: 100%; }
.buy-box .woocommerce-variation-price .price { font-family: var(--font-display); font-size: 26px; color: var(--red); }
@media (max-width: 599px) {
	.buy-box form.cart:not(.variations_form) { flex-wrap: nowrap; }
	.buy-box form.cart .single_add_to_cart_button { flex: 1 1 0; min-width: 0; }
	.buy-box .quantity .qty-btn { width: 38px; }
	.buy-box .quantity .qty { width: 36px !important; }
	.product-reviews .comment_container img.avatar { display: none; }
	.single-product .breadcrumbs__item:last-child, .single-product .breadcrumbs__sep:nth-last-child(2) { display: none; }
}
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: var(--shadow-sticky); }
.buy-bar[hidden] { display: none; }
.buy-bar__price { display: flex; flex-direction: column; font-weight: 600; color: var(--red); font-size: 18px; line-height: 1.2; min-width: 0; }
.buy-bar__price del { font-size: 13px; color: var(--muted); font-weight: 400; }
.buy-bar__price ins { text-decoration: none; }
.buy-bar__price span { font-size: 12px; font-weight: 400; color: var(--muted); }
.buy-bar .btn { flex: none; min-width: 150px; }
body.has-buy-bar { padding-bottom: 72px; }
@media (min-width: 900px) { .buy-bar { display: none !important; } }

/* ---------- Корзина ---------- */
.woocommerce-cart .woocommerce-message .button { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { font-size: 15px; }
@media (max-width: 767px) { .woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 10px 14px; font-size: 14px; } .cart-item__name { -webkit-line-clamp: 4; } }
.woocommerce-error:focus, .woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-NoticeGroup:focus { outline: none; }
.woocommerce-error { border-left: 3px solid var(--red); }
.woocommerce .cart_totals td, .woocommerce table.woocommerce-checkout-review-order-table td:last-child, .woocommerce table.woocommerce-checkout-review-order-table th:last-child, .woocommerce table.woocommerce-table--order-details td:last-child, .woocommerce table.woocommerce-table--order-details th:last-child { text-align: right; }

/* ---------- Оформление ---------- */
.checkout-layout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-NoticeGroup-checkout .woocommerce-error li[data-id] { display: none; }
.woocommerce-NoticeGroup-checkout .woocommerce-error:has(li[data-id])::before { content: 'Проверьте поля, отмеченные красным'; font-weight: 500; }
.checkout-inline-error-message { color: var(--red); font-size: 13px; line-height: 1.35; margin: 6px 0 0; }
.woocommerce-invalid input[type="checkbox"] { outline: 2px solid var(--red); outline-offset: 2px; }
@media (min-width: 1024px) { .checkout-layout__side { top: calc(var(--header-h) + 16px); } }
.checkout-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.checkout-card__edit { font-size: 14px; }
.woocommerce-terms-and-conditions-wrapper .validate-required label .required { margin-left: 4px; }
.pnt-consent { margin-bottom: 16px !important; }
.woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 8px; }
.woocommerce-form-login-toggle + .woocommerce-form-coupon-toggle .woocommerce-info { margin-top: 0; }
@media (max-width: 639px) { .segmented { display: flex !important; } .segmented__opt { flex: 1; } .segmented__opt span { justify-content: center; width: 100%; } }
.site-footer--minimal { border-top-width: 0; }
.site-footer--minimal .site-footer__inner { padding-top: 18px; gap: 0; }
.site-footer--minimal .site-footer__bottom { border-top: 0; padding-top: 0; }

/* ---------- Кабинет и вход ---------- */
.woocommerce-account .content--shop .woocommerce { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .woocommerce-account.logged-in .content--shop .woocommerce { grid-template-columns: 240px minmax(0, 1fr); } }
.woocommerce-MyAccount-navigation { min-width: 0; }
@media (max-width: 899px) { .woocommerce-MyAccount-navigation { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); } }
.account-dash__links { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.woocommerce-MyAccount-content mark, .woocommerce-order mark { background: none; color: inherit; font-weight: 600; }
.woocommerce-MyAccount-content form > h3, .woocommerce-MyAccount-content > h2 { font-size: 26px; }
.woocommerce-customer-details { margin-top: 32px !important; }
.woocommerce-customer-details address { max-width: 480px; }
@media (max-width: 767px) {
	.woocommerce table.woocommerce-orders-table td { border: 0; vertical-align: middle; }
}
.woocommerce-orders-table td { vertical-align: middle; }
.woocommerce-form-register { margin: 0 0 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 12px; }
.woocommerce-privacy-policy-text, .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--muted); }
.password-input { position: relative; display: block; }
.show-password-input { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B6058' stroke-width='1.8'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center; }
.show-password-input.display-password { opacity: .6; }
.woocommerce-form-login__submit { margin-top: 8px; }
@media (max-width: 599px) { .account-dash__links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .account-dash__links a { padding: 14px; } }

/* =====================================================================
   Улучшения из аудита, второй заход
   ===================================================================== */

/* ---------- Поиск ---------- */
.search-page__filter { margin-bottom: 16px; }
.search-page__subtitle { font-size: 24px; margin: 0 0 12px; }
.search-page__recipes { margin-bottom: 28px; }
.search-recipes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 768px) { .search-recipes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.search-recipes a { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.3; }
.search-recipes a:hover { border-color: var(--red); color: var(--red); }
.search-recipes__img { width: 64px; height: 64px; flex: none; border-radius: var(--r-sm); object-fit: cover; }

/* ---------- Рецепт: товары ---------- */
.recipe__need { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.recipe__need h2 { font-size: clamp(24px, 2.6vw, 32px); }
@media (min-width: 768px) { .recipe__need .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Каталог: тулбар, чипы выбранных фильтров, счётчики ---------- */
.check__count { font-size: 12px; color: var(--muted); margin-left: 2px; }
.check--empty { opacity: .45; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 18px; }
.chip--remove { gap: 8px; background: var(--red-soft); border-color: var(--red); color: var(--red); }
.chip--remove span[aria-hidden] { font-size: 18px; line-height: 1; }
.active-filters__reset { font-size: 14px; }
.catalog__filters-btn { display: none; }
@media (max-width: 1023px) {
	.catalog__filters > summary { display: none; } /* кнопка «Фильтры» — в тулбаре, рядом с сортировкой */
	.catalog__toolbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.catalog__filters-btn { display: inline-flex; width: 100%; }
	.catalog__toolbar .woocommerce-ordering, .catalog__toolbar .woocommerce-ordering select { width: 100%; }
	.catalog__count { grid-column: 1 / -1; grid-row: 2; font-size: 14px; }
	.catalog__side { gap: 0; }
}

/* ---------- Предзаказ: группы ---------- */
.preorder__jump { margin: 0 0 8px; }
.preorder__group { scroll-margin-top: calc(var(--header-h) + 12px); }
.preorder__group + .preorder__group { margin-top: 40px; }
.preorder__group-title { font-size: clamp(22px, 2.4vw, 28px); margin: 24px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* ---------- Галерея: лента ---------- */
.gallery__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline-offset: -3px; }
.gallery__slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; scroll-snap-align: center; }
.gallery__main { flex-direction: column; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(43, 36, 33, .25); transition: background .2s, width .2s; }
.gallery__dots span.is-active { width: 18px; border-radius: 4px; background: var(--red); }
@media (max-width: 899px) { .gallery__thumbs { display: none; } }
@media (min-width: 900px) { .gallery__dots { display: none; } .gallery__track { overflow-x: hidden; } }

/* ---------- Вариативный товар: плашки ---------- */
.var-select--hidden { display: none !important; }
.var-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.var-pill { min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--r-md); background: #fff; font: 500 15px var(--font-body); cursor: pointer; color: var(--ink); }
.var-pill:hover { border-color: var(--line-strong); }
.var-pill[aria-checked="true"] { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.var-pill:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.buy-box table.variations th label { font-weight: 500; color: var(--ink); }

/* ---------- Карточка товара: раскрывающиеся блоки ---------- */
.product-acc > summary { list-style: none; cursor: pointer; }
.product-acc > summary::-webkit-details-marker { display: none; }
.product-acc__head h2 { margin: 0; }
@media (max-width: 899px) {
	.product-acc { padding-top: 0; border-top: 1px solid var(--line); }
	.product-page > .product-acc:first-of-type { margin-top: 32px; }
	.product-acc__head { display: flex; justify-content: space-between; align-items: center; min-height: 60px; }
	.product-acc__head h2 { font-size: 22px; }
	.product-acc__head::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; margin-right: 6px; }
	.product-acc[open] > .product-acc__head::after { transform: rotate(-135deg) translateY(-3px); }
	.product-acc[open] { padding-bottom: 20px; }
	.product-acc + .section:not(.product-acc) { border-top: 1px solid var(--line); }
}
@media (min-width: 900px) {
	.product-acc > summary { pointer-events: none; margin-bottom: 16px; }
}
.product-reviews.product-acc .woocommerce-Reviews-title { display: none; } /* заголовок уже в summary */
.product-delivery { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.product-delivery li { display: flex; gap: 12px; align-items: flex-start; color: var(--body-2); }
.product-delivery .icon { color: var(--gold); flex: none; margin-top: 2px; }

/* ---------- Итоги: доставка и предзаказ ---------- */
.totals-ship td, .totals-pre td { color: var(--muted); font-size: 14px; }
.totals-pre th { color: var(--blue); }

/* ---------- Оформление: шаги ---------- */
#customer_details { counter-reset: step; }
.woocommerce-billing-fields > h3, .checkout-subtitle, .checkout-card--summary .checkout-card__title { counter-increment: step; }
.woocommerce-billing-fields > h3::before, .checkout-subtitle::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; border: 1.5px solid var(--gold); font: 500 15px var(--font-body); color: var(--red); vertical-align: 3px; }
#payment::before { content: '3  Оплата'; display: block; font-family: var(--font-display); font-size: 22px; color: var(--red); margin-bottom: 12px; white-space: pre; }

/* ---------- Страницы: оглавление и «Остались вопросы?» ---------- */
.page-layout--aside { display: grid; gap: 32px; }
@media (min-width: 1024px) {
	.page-layout--aside { grid-template-columns: minmax(0, 800px) 300px; gap: 56px; align-items: start; justify-content: space-between; }
	.page-aside { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
}
@media (max-width: 1023px) { .page-aside { order: -1; } .toc { display: none; } }
.page-aside { display: grid; gap: 16px; }
.toc { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.toc__title { font-family: var(--font-display); font-size: 21px; color: var(--red); margin: 0 0 8px; }
.toc__list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 14px; }
.toc__list a { color: var(--body-2); text-decoration: none; }
.toc__list a:hover { color: var(--red); text-decoration: underline; }
.prose [id^="r"] { scroll-margin-top: calc(var(--header-h) + 16px); }
.help-card { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--blue); color: var(--blue-text-on); }
.help-card p { margin: 0; }
.help-card__title { font-family: var(--font-display); font-size: 24px; color: #fff; }
.help-card .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
@media (max-width: 1023px) { .help-card { order: 2; } .page-layout--aside .page-aside:has(.help-card):not(:has(.toc)) { order: 2; } }
.woocommerce-checkout .woocommerce-message .button { display: none; }

/* Карточка: цена сразу под названием, вниз прижата только кнопка (раньше цена со скидкой в 3 строки
   выталкивала соседние цены вниз и над ними появлялась пустота). Старая цена — в строку с новой. */
.product-card__price { display: block; }
.product-card__price del { font-size: 13px; margin-left: 6px; }
.product-card__price del, .product-card__price ins { display: inline; }
.product-card__price ins { order: -1; }
.product-card__unit { display: block; }
.product-card__buy { flex: 1; align-items: stretch; }
@media (min-width: 768px) {
	/* ПК: цена слева, кнопка справа, обе по низу карточки */
	.product-card__buy { flex: 0 0 auto; margin-top: auto; flex-direction: row; flex-wrap: nowrap; align-items: flex-end; }
	.product-card__price { flex: 1 1 auto; min-width: 0; align-self: flex-start; }
}
@media (max-width: 767px) {
	.product-card__buy { justify-content: space-between; }
}

/* Суммы в итогах — у правого края (перебиваем .woocommerce table.shop_table td { text-align: left }) */
.woocommerce .cart_totals table.shop_table td, .woocommerce .cart_totals table.shop_table th { vertical-align: top; }
.woocommerce .cart_totals table.shop_table td { text-align: right; }
.woocommerce .cart_totals table.shop_table th { text-align: left; padding-right: 12px; }
.totals-ship td { max-width: 180px; }

/* Новые фото товаров — квадрат с собственным тёплым фоном: на всю рамку, без белых полей */
.gallery__img { width: 100%; height: 100%; object-fit: contain; }
.gallery__slide { padding: 0; }
/* Баннеры разделов на телефоне — три квадратные плитки в ряд, без прокрутки */
@media (max-width: 767px) {
	.banners { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; gap: 8px; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
	.banners__item { border-radius: var(--r-sm); box-shadow: 0 4px 12px rgba(60, 30, 20, .12); }
	.banners__item img { aspect-ratio: 1; }
}

/* ---------- Мобильный хедер (до 1024px): лёгкий — иконки без кругов, логотип и название крупнее ---------- */
@media (max-width: 1023px) {
	:root { --header-h: 60px; }
	.site-header__row { gap: 4px; min-height: var(--header-h); }
	.site-header__burger, .site-header__search-toggle { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: var(--r-sm); }
	.site-header__burger { margin-left: -10px; }
	.site-header__burger:hover, .site-header__search-toggle:hover { color: var(--red); background: var(--red-soft); }
	.brand { gap: 8px; }
	.brand__logo { width: 40px; height: 40px; }
	.brand__name { font-size: 21px; letter-spacing: .01em; }
	.brand__tag { display: block; font-size: 11px; line-height: 1.2; margin-top: 1px; }
	.site-header__actions { gap: 0; margin-right: -10px; }
	/* корзина — иконка с бейджем количества, без красного круга */
	.cart-btn { width: 44px; height: 44px; padding: 0; background: transparent; color: var(--ink); border-radius: var(--r-sm); }
	.cart-btn:hover { background: var(--red-soft); color: var(--red); }
	.cart-btn .icon { width: 24px; height: 24px; }
	.cart-count { top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; line-height: 18px; }
	.site-header__burger .icon, .site-header__search-toggle .icon { width: 24px; height: 24px; }
}
@media (max-width: 374px) {
	.brand__logo { width: 34px; height: 34px; }
	.brand__name { font-size: 19px; }
	.brand__tag { font-size: 10px; }
}
@media (min-width: 560px) and (max-width: 1023px) { .brand__tag { font-size: 12px; } }
@media (max-width: 1023px) { .brand__tag { white-space: nowrap; } .brand__text { min-width: 0; } }
@media (max-width: 429px) { .brand__tag { font-size: 10px; letter-spacing: -.01em; } .brand__name { font-size: 20px; } }
@media (max-width: 374px) { .brand__tag { font-size: 9.5px; } .brand__name { font-size: 18px; } .brand__logo { width: 32px; height: 32px; } }

/* ---------- Мега-меню: разделы карточками ---------- */
.site-header__row { background: transparent; } /* затемнение теперь вне шапки — подложка не нужна */
.mega-menu { box-shadow: 0 24px 40px rgba(43, 36, 33, .14); }
.mega-menu__inner { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px 40px; padding-top: 24px; padding-bottom: 24px; }
.mm-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; align-content: start; }
@media (min-width: 1280px) { .mm-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mm-cat { min-width: 0; padding: 8px; border-radius: var(--r-md); transition: background .15s; }
.mm-cat:hover { background: var(--paper); }
.mm-cat__main { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.mm-cat__thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.mm-cat__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mm-cat__text { display: flex; flex-direction: column; min-width: 0; }
.mm-cat__name { font-family: var(--font-display); font-size: 19px; line-height: 1.15; color: var(--red); }
.mm-cat__main:hover .mm-cat__name { text-decoration: underline; text-underline-offset: .15em; }
.mm-cat__count { font-size: 13px; color: var(--muted); margin-top: 2px; }
.mm-cat__sub { list-style: none; margin: 8px 0 2px 68px; padding: 0; display: grid; gap: 2px; }
.mm-cat__sub a { display: inline-flex; gap: 6px; padding: 2px 0; font-size: 14px; color: var(--body-2); text-decoration: none; }
.mm-cat__sub a span { color: var(--muted); font-size: 12px; }
.mm-cat__sub a:hover { color: var(--red); }
.mm-side { display: flex; flex-direction: column; gap: 16px; }
.mm-help { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.mm-help__title { margin: 0 0 8px; font: 600 12px/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.mm-help__links { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; font-size: 15px; }
.mm-help__links a { color: var(--ink); text-decoration: none; }
.mm-help__links a:hover { color: var(--red); }
.mm-help__contacts { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.mm-help__contacts a { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 500; text-decoration: none; white-space: nowrap; }
.mm-quick { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.mm-quick a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.mm-quick a:first-child { color: var(--red); }
.mm-quick a:hover { color: var(--red); }
.mm-dot { width: 8px; height: 8px; border-radius: 50%; }
.mm-dot--green { background: var(--green); }
.mm-dot--blue { background: var(--blue); }
.mm-cat__sub a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-cat__sub a span { margin-left: 4px; }
.mm-cat__sub { margin-left: 68px; }

/* ---------- Мобильное меню: плитки каталога ---------- */
.mobile-menu__head { min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
.mobile-menu__close { border: 0; background: transparent; margin-right: -10px; }
.mobile-menu__body { gap: 20px; padding-top: 14px; background: var(--paper); }
.mobile-menu__body .search-form { background: #fff; }
.mm-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -6px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); }
.mm-chips::-webkit-scrollbar { display: none; }
.mm-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.mm-block__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.mm-block__title { margin: 0; font-size: 24px; }
.mm-block__all { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; text-decoration: none; }
.mm-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mm-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.mm-tile__main { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px; color: var(--ink); text-decoration: none; min-height: 68px; }
.mm-tile__main:active { background: var(--red-soft); }
.mm-tile__thumb { grid-row: span 2; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.mm-tile__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mm-tile__name { align-self: end; font-family: var(--font-display); font-size: 16px; line-height: 1.15; color: var(--red); overflow-wrap: anywhere; }
.mm-tile__count { align-self: start; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mm-tile__sub { display: flex; flex-wrap: wrap; gap: 4px 6px; padding: 0 10px 10px; margin-top: -2px; }
.mm-tile__sub a { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: var(--paper); color: var(--body-2); font-size: 12px; text-decoration: none; }
.mm-pages { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.mm-pages li + li { border-top: 1px solid var(--line); }
.mm-pages a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; color: var(--ink); text-decoration: none; font-size: 15px; }
.mm-pages a span { flex: 1; }
.mm-pages a .icon:first-child { color: var(--gold); }
.mm-pages a .icon--chevron { transform: rotate(-90deg); color: var(--muted); }
.mm-contacts { padding: 4px 0 8px; text-align: center; }
.mm-contacts__title { margin: 0 0 10px; font-family: var(--font-display); font-size: 20px; color: var(--red); }
.mm-contacts__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mm-contacts__row .btn { padding: 0 12px; }
.mm-contacts__row .btn--outline { background: #fff; }
.mm-contacts__phone { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* плитка: фото сверху, название во всю ширину (длинные названия не рвутся посреди слова) */
.mm-tile__main { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-height: 0; padding: 12px 12px 10px; }
.mm-tile__thumb { width: 44px; height: 44px; margin-bottom: 8px; }
.mm-tile__name { font-size: 17px; line-height: 1.15; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }
.mm-tile__count { margin-top: 3px; }
.mm-tile__sub { padding: 0 12px 12px; }
.mm-tile__name, .mm-tile__count { align-self: auto; } .mm-tile__name { hyphens: manual; -webkit-hyphens: manual; }

/* ---------- Вертикальный ритм: один шаг между секциями по всему сайту ---------- */
:root { --section-gap: 40px; --page-end: 48px; }
@media (min-width: 768px) { :root { --section-gap: 52px; --page-end: 56px; } }
@media (min-width: 1024px) { :root { --section-gap: 64px; --page-end: 64px; } }
.section, .recipe .section, .product-section { padding-top: var(--section-gap); }
.home > .section:last-child, .about > .section:last-child, .preorder > .section:last-child { padding-bottom: var(--page-end); }
.content { padding-bottom: var(--page-end); }
.section__head { margin-bottom: 20px; }
@media (min-width: 768px) { .section__head { margin-bottom: 28px; } }
.ornament { margin-bottom: 8px; }
/* текст раздела под сеткой и на лендинге — тем же шагом, без двойного отступа */
.catalog__desc { margin-top: var(--section-gap); padding-top: var(--section-gap); }
.preorder .catalog__desc { margin-top: 0; padding-top: 0; border-top: 0; }
@media (min-width: 900px) { .product-acc > summary { margin-bottom: 12px; } }
.catalog__desc { padding-top: 28px; }
.prose > :last-child, .catalog__desc > :last-child, .faq__a:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .banners { padding-bottom: 0; } }

/* iOS приближает страницу при фокусе на поле со шрифтом меньше 16px — на телефоне все поля 16px */
@media (max-width: 1023px) {
	input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), select, textarea,
	.woocommerce input.input-text, .woocommerce select, .woocommerce textarea, .search-form__input, .woocommerce-ordering select { font-size: 16px !important; }
}

/* ---------- «О нас» ---------- */
.about-hero__inner { text-align: left; align-items: flex-start; padding-bottom: 44px; gap: 14px; }
.about-hero__title { color: var(--gold-light); }
.about-hero__lead { max-width: 820px; font-size: clamp(28px, 4.4vw, 48px); line-height: 1.12; }
.about-hero__sub { max-width: 720px; margin: 0; color: var(--blue-text-on); font-size: 16px; line-height: 1.6; }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (min-width: 1024px) { .about-hero__inner { padding-top: 32px; padding-bottom: 64px; } .about-hero__sub { font-size: 17px; } }
@media (max-width: 767px) { .about-hero__actions .btn { flex: 1 1 auto; } }
.about-range { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .about-range { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .about-range { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.about-range__item { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.about-range__item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); color: var(--ink); }
.about-range__thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--paper); }
.about-range__thumb img { width: 100%; height: 100%; object-fit: cover; }
.about-range__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.about-range__name { font-family: var(--font-display); font-size: 19px; line-height: 1.15; color: var(--red); }
.about-range__count { font: 400 13px var(--font-body); color: var(--muted); }
.about-range__what { font-size: 14px; line-height: 1.45; color: var(--body-2); }
.about-origin { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .about-origin { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; } }
.about-origin__text h2 { margin-bottom: 14px; }
.about-origin__text p { color: var(--body-2); max-width: 680px; }
.about-brands { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.about-brands li { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-weight: 500; font-size: 14px; background: #fff; }
.about-origin__promo { gap: 10px; padding: 26px; }
.about-origin__promo > span:not([class]) { color: var(--blue-text-on); font-size: 15px; }
.about-who { display: grid; gap: 14px; }
@media (min-width: 768px) { .about-who { grid-template-columns: 1fr 1fr; gap: 20px; } }
.about-who__item { padding: 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.about-who__item h3 { font-size: 24px; margin: 0 0 8px; }
.about-who__item p { margin: 0 0 8px; color: var(--body-2); }
.about-who__item p:last-child { margin-bottom: 0; }
.about-more { margin: 16px 0 0; }
.contacts-card__req { margin: 0 0 12px; display: grid; gap: 2px; font-size: 15px; color: var(--body-2); }
.contacts-card__docs { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Корзина: недоступные позиции ---------- */
.cart-group--out .cart-group__head { border-color: var(--red); flex-wrap: wrap; }
.cart-group--out .cart-group__title { color: var(--red); }
.cart-group__remove { margin-left: auto; }
.cart-item--out { background: var(--red-soft); border-radius: var(--r-md); padding-left: 10px; padding-right: 6px; margin-top: 8px; border-bottom: 0; }
.cart-item--out .cart-item__thumb img { opacity: .6; filter: grayscale(.4); }
.cart-item--out .cart-item__total { color: var(--muted); text-decoration: line-through; }
.cart-item__flag { display: inline-block; margin-bottom: 4px; padding: 2px 8px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; }
.cart-out-warning { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--red-soft); color: var(--red); font-size: 14px; }
.cart-out-warning a { font-weight: 600; }
.totals-ship td { white-space: nowrap; }
@media (max-width: 767px) { .cart-group__remove { margin-left: 0; width: 100%; } }
.checkout-removed strong, .woocommerce-info strong { display: inline; }

.about-stats { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 820px; }
@media (min-width: 768px) { .about-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.about-stats li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid rgba(242, 213, 138, .35); border-radius: var(--r-md); background: rgba(255, 255, 255, .06); }
.about-stats strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.1; color: var(--gold-light); }
.about-stats span { font-size: 13px; color: var(--blue-text-on); }

/* ---------- Страница рецепта (single.php) ---------- */
.recipe-hero { position: relative; color: #fff; background: #0E3A8E url(../img/pattern-blue.webp) repeat; background-size: 195px 216px; overflow: hidden; }
.recipe-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 40%, rgba(255,255,255,.06), rgba(5,20,70,.45) 90%); pointer-events: none; }
.recipe-hero::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(242, 213, 138, .5); border-radius: 14px; pointer-events: none; }
.recipe-hero__inner { position: relative; z-index: 1; display: grid; gap: 22px; padding-top: 22px; padding-bottom: 36px; }
.recipe-hero .breadcrumbs, .recipe-hero .breadcrumbs a { color: var(--blue-text-on); }
.recipe-hero__eyebrow { margin: 14px 0 10px; font: 600 13px/1.3 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); display: flex; align-items: center; gap: 12px; }
.recipe-hero__eyebrow::after { content: ''; width: 48px; height: 1px; background: rgba(242, 213, 138, .7); }
.recipe-hero__title { color: #FBF3E4; font-size: clamp(32px, 6vw, 58px); line-height: 1.06; margin: 0 0 12px; text-wrap: balance; }
.recipe-hero__sub { color: var(--blue-text-on); font-size: 17px; line-height: 1.5; margin: 0; max-width: 560px; }
.recipe-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 22px 0 0; }
.recipe-facts__item { padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(242, 213, 138, .28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.recipe-facts dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 2px; }
.recipe-facts dd { margin: 0; font-weight: 600; font-size: 16px; color: #fff; }
.recipe-hero__cover { margin: 0; order: -1; }
.recipe-hero__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; box-shadow: 0 24px 50px rgba(0, 10, 40, .45); }
@media (min-width: 640px) { .recipe-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.recipe-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 56px; padding-top: 28px; padding-bottom: 60px; }
	.recipe-hero__cover { order: 0; transform: rotate(1.2deg); }
	.recipe-hero::after { inset: 16px; }
	.recipe-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; }
}
@media (min-width: 1280px) { .recipe-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; } }

.recipe-page__body { padding-top: 32px; }
.recipe-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .recipe-layout { grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: start; } .recipe-layout__aside { position: sticky; top: 104px; } }

/* ингредиенты — карточка-рецепт в двойной золотой рамке */
.ingredients { position: relative; padding: 26px 24px 22px; background: #FFFDF8; border: 1.5px solid var(--gold); outline: 1.5px solid var(--gold); outline-offset: -8px; border-radius: 6px; }
.ingredients__title { font-size: 30px; margin: 0 0 6px; }
.ingredients__group + .ingredients__group { margin-top: 18px; }
.ingredients__group-title { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin: 14px 0 4px; }
.ingredients__list { list-style: none; margin: 0; padding: 0; }
.ingredients__list li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line-strong); font-size: 15px; line-height: 1.4; }
.ingredients__name { flex: 1 1 auto; min-width: 0; color: var(--ink); }
.ingredients__qty { flex: none; max-width: 48%; text-align: right; font-weight: 600; color: var(--red); white-space: normal; }
.ingredients__note { margin: 8px 0 0; font-size: 13px; color: var(--muted); text-align: right; }

.recipe-share { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.recipe-share__label { font-size: 13px; color: var(--muted); }
.recipe-share__btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* вступление и шаги */
.recipe-lead { font-size: 18px; line-height: 1.65; color: var(--body-2); }
.recipe-lead p { margin: 0 0 1em; }
.recipe-lead p:first-child::first-letter { float: left; font-family: var(--font-display); font-size: 3.4em; line-height: .9; padding: 4px 10px 0 0; color: var(--red); }
.recipe-steps__title { font-size: clamp(30px, 3.4vw, 40px); margin: 8px 0 18px; display: flex; align-items: center; gap: 16px; }
.recipe-steps__title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.recipe-stage { margin-top: 26px; }
.recipe-stage__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: clamp(22px, 2.4vw, 27px); color: var(--ink); margin: 0 0 12px; }
.recipe-stage__n { font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); padding: 6px 10px; border: 1px solid var(--gold); border-radius: var(--r-pill); }
.recipe-steps { list-style: none; margin: 0; padding: 0; }
.recipe-steps__item { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.65; color: var(--body-2); }
.recipe-steps__item:last-child { border-bottom: 0; }
.recipe-steps__item p { margin: 0; }
.recipe-steps__n { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font: 600 15px/1 var(--font-body); margin-top: 1px; }
@media (min-width: 768px) { .recipe-steps__item { font-size: 17px; } }

.recipe-tip { position: relative; margin: 32px 0 0; padding: 22px 24px 22px 74px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--body-2); }
.recipe-tip::before { content: '✶'; position: absolute; left: 22px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-light); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.recipe-tip__label { margin: 0 0 4px; font: 600 12px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.recipe-tip p { margin: 0; }
.recipe-layout__main--plain { max-width: 820px; }
.recipe-need { margin-top: 8px; }

/* ---------- Посадочные страницы (page-landing.php) ---------- */
.landing-hero__inner { grid-template-columns: minmax(0, 1fr) !important; padding-bottom: 44px; }
.landing-hero .recipe-hero__text { max-width: 760px; }
.landing-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.landing-page__body > .section:first-child { padding-top: 32px; }
.landing-more { margin: 22px 0 0; }
.landing-text .prose { max-width: 860px; }
.landing-text table { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.landing-text thead th { background: var(--paper); font-weight: 600; color: var(--ink); }
.landing-text figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.landing-faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font: 400 clamp(19px, 2vw, 22px)/1.3 var(--font-display); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font: 400 20px/1 var(--font-body); color: var(--red); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__a { padding: 0 0 18px; color: var(--body-2); font-size: 16px; line-height: 1.65; max-width: 760px; }
.faq-item__a p { margin: 0; }

/* ---------- Вход по коду ---------- */
.login-code { max-width: 480px; display: grid; gap: 14px; }
.login-code h2 { margin: 0; font-size: 28px; }
.login-code__lead, .login-code__note { margin: 0; color: var(--muted); }
.login-code__form { display: grid; gap: 12px; }
.login-code__form .input-text { width: 100%; font-size: 17px; padding: 14px 16px; }
.login-code__digits { font-size: 28px !important; letter-spacing: 10px; text-align: center; font-variant-numeric: tabular-nums; }
.login-code__alt { margin: 0; font-size: 15px; }
.login-code__password { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.login-code__password summary { cursor: pointer; color: var(--muted); font-size: 15px; }
.login-code__password .woocommerce-form-login { margin-top: 12px; }
.checkout-login-hint { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r-md); background: var(--paper); }

/* ---------- Отследить заказ ---------- */
.order-track { display: grid; gap: 18px; max-width: 760px; }
.order-track .content__title { margin-bottom: 0; }
.order-track .eyebrow { margin: 0; }
.order-track__note { margin: 0; font-size: 17px; }
.order-steps { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: st; }
.order-steps__item { position: relative; text-align: center; font-size: 13px; color: var(--muted); padding-top: 34px; }
.order-steps__item::before { counter-increment: st; content: counter(st); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg, #fff); line-height: 22px; font-weight: 700; font-size: 13px; z-index: 1; }
.order-steps__item::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.order-steps__item:first-child::after { display: none; }
.order-steps__item.is-done, .order-steps__item.is-current { color: var(--ink); }
.order-steps__item.is-done::before { content: "✓"; background: var(--blue); border-color: var(--blue); color: #fff; }
.order-steps__item.is-current::before { border-color: var(--blue); color: var(--blue); }
.order-steps__item.is-done::after, .order-steps__item.is-current::after { background: var(--blue); }
.order-steps__item.is-current span { font-weight: 700; }
.order-track__items table { width: 100%; }
.order-track__thumb { width: 64px; }
.order-track__thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; display: block; }
.order-track__qty { color: var(--muted); white-space: nowrap; }
.order-track__sum { text-align: right; white-space: nowrap; }
.order-track tfoot th { text-align: left; font-weight: 400; color: var(--muted); }
.order-track tfoot tr:last-child th, .order-track tfoot tr:last-child td { font-weight: 700; color: var(--ink); }
.order-track__help { color: var(--muted); margin: 0; }
