/* ==========================================================================
   Eco-Bricks — основные стили
   ========================================================================== */

:root {
	--paper: #F5F2EC;
	--paper-2: #ECE5D9;
	--white: #FBFAF7;
	--ink: #151412;
	--ink-2: #5A544B;
	--ink-3: #8A8378;
	--line: rgba(21, 20, 18, .12);
	--line-light: rgba(245, 242, 236, .16);
	--kraft: #B8925F;
	--amber: #7A4A22;
	--mint: #A7DCC5;
	--mint-ink: #2F6B55;

	--serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--container: 1160px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(60px, 7.5vw, 112px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

/* --- База ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--ink); }

.eb-skip {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	padding: 12px 18px; background: var(--ink); color: var(--paper);
}
.eb-skip:focus { top: 16px; }

.eb-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.eb-container--narrow { max-width: calc(760px + var(--gutter) * 2); }

.eb-cover { width: 100%; height: 100%; object-fit: cover; }
[class*="__grid"] > * { min-width: 0; }

/* --- Типографика --------------------------------------------------------- */
.eb-h1,
.eb-h2 {
	font-family: var(--serif);
	font-weight: 600;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
.eb-h1 { font-size: clamp(2.6rem, 1.4rem + 3.8vw, 4.8rem); line-height: .98; }
.eb-h1--page { font-size: clamp(2.4rem, 1.6rem + 2.8vw, 4rem); line-height: 1; }
.eb-h1--article { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); line-height: 1.04; }
.eb-h2 { font-size: clamp(2.1rem, 1.3rem + 2.3vw, 3.4rem); line-height: 1.04; }
.eb-h2--sm { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 40px; }
.eb-h1 em,
.eb-h2 em { font-style: italic; font-weight: 500; }

.eb-eyebrow {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-2);
	margin: 0 0 22px;
}
.eb-eyebrow a { text-decoration: underline; text-underline-offset: 3px; }

.eb-lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 34em; }

/* --- Иконки ---------------------------------------------------------------- */
.eb-icon { display: inline-flex; width: 24px; height: 24px; flex: none; }
.eb-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* --- Кнопки ---------------------------------------------------------------- */
.eb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 32px;
	background: var(--ink); color: var(--paper);
	border: 1px solid var(--ink); border-radius: 2px;
	font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
	cursor: pointer; white-space: nowrap;
}
.eb-btn:hover { background: #000; transform: translateY(-1px); }
.eb-btn--ghost { background: transparent; color: var(--ink); }
.eb-btn--ghost:hover { background: var(--ink); color: var(--paper); }
.eb-btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.eb-btn--light:hover { background: var(--white); }
.eb-btn--sm { min-height: 42px; padding: 0 20px; font-size: 12px; }
.eb-btn--block { display: flex; width: 100%; }
.eb-btn.is-disabled { opacity: .42; cursor: not-allowed; transform: none; }
.eb-btn.is-disabled:hover { background: inherit; }
.eb-btn.added::after { content: "✓"; }
.eb-btn.loading { opacity: .6; }

/* --- Полоса объявлений и шапка --------------------------------------------- */
.eb-announce { background: var(--ink); color: var(--paper); text-align: center; padding: 9px var(--gutter); }
.eb-announce p { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.eb-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(245, 242, 236, .86);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease), background .3s var(--ease);
}
.eb-header.is-scrolled { border-bottom-color: var(--line); background: rgba(245, 242, 236, .94); }
.admin-bar .eb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .eb-header { top: 0; } }

.eb-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 24px; }
.eb-burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }

.eb-logo { justify-self: start; display: inline-flex; align-items: center; }
.eb-logo__img { height: 30px; width: auto; }
.eb-logo__text { font-family: var(--serif); font-size: 28px; font-weight: 600; }

.eb-menu { list-style: none; display: flex; gap: 36px; }
.eb-menu a {
	position: relative; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	padding: 6px 0;
}
.eb-menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.eb-menu a:hover::after,
.eb-menu .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }

.eb-header__actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.eb-cart { position: relative; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; }
.eb-cart-count {
	position: absolute; top: 2px; right: 0;
	min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--mint); color: var(--ink);
	font-family: var(--mono); font-size: 10.5px; font-weight: 500; line-height: 18px; text-align: center;
}
.eb-cart-count.is-empty { display: none; }

/* Мобильное меню */
.eb-drawer { position: fixed; inset: 0; z-index: 100; background: rgba(21, 20, 18, .4); }
.eb-drawer[hidden] { display: none; }
.eb-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 400px);
	background: var(--paper); padding: 24px var(--gutter) 40px;
	display: flex; flex-direction: column; gap: 32px;
	animation: eb-slide .45s var(--ease);
}
@keyframes eb-slide { from { transform: translateX(-100%); } to { transform: none; } }
.eb-drawer__close { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; margin-left: -8px; }
.eb-menu--drawer { flex-direction: column; gap: 6px; }
.eb-menu--drawer a { font-family: var(--serif); font-size: 2.3rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.eb-menu--drawer a::after { display: none; }
.eb-drawer .eb-btn { margin-top: auto; }

/* --- Первый экран ------------------------------------------------------------ */
.eb-hero { padding: clamp(32px, 4.5vw, 64px) 0 clamp(48px, 5.5vw, 80px); }
.eb-hero__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eb-hero .eb-h1 { margin-bottom: 24px; font-size: clamp(2.6rem, 1.5rem + 3.4vw, 4.4rem); }
.eb-hero .eb-lead { margin-bottom: 36px; }
.eb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eb-hero__facts {
	list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
	margin-top: 40px;
	font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.eb-hero__facts li { display: inline-flex; align-items: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; }

.eb-hero__media { position: relative; aspect-ratio: 4 / 4.2; max-height: min(66vh, 540px); width: 100%; overflow: hidden; background: var(--paper-2); }
.eb-hero__img { width: 100%; height: 100%; object-fit: cover; animation: eb-zoom 2.4s var(--ease) both; }
@keyframes eb-zoom { from { transform: scale(1.06); } to { transform: none; } }
.eb-hero__label {
	position: absolute; left: 20px; bottom: 20px;
	display: flex; flex-direction: column; gap: 2px;
	padding: 12px 16px; background: var(--white); border: 1px solid var(--line);
	font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}

/* --- Бегущая строка ---------------------------------------------------------- */
.eb-ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.eb-ticker__track { display: flex; gap: 32px; width: max-content; animation: eb-marquee 48s linear infinite; }
.eb-ticker span { font-family: var(--serif); font-style: italic; font-size: 1.4rem; white-space: nowrap; line-height: 1.2; }
.eb-ticker span:nth-child(even) { color: var(--kraft); font-style: normal; font-size: 1rem; align-self: center; }
@keyframes eb-marquee { to { transform: translateX(-50%); } }

/* --- Общие секции ------------------------------------------------------------- */
.eb-section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); }
.eb-section-head__sub { color: var(--ink-2); margin: 22px auto 0; max-width: 34em; }
.eb-section-head--left { text-align: left; margin: 0; }

/* Состав */
.eb-formula { padding: var(--section) 0; background: var(--white); }
.eb-formula__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.eb-formula__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.eb-formula .eb-h2 { margin-bottom: 22px; }
.eb-formula__text { color: var(--ink-2); max-width: 30em; }
.eb-formula__without { margin-top: 36px; }
.eb-formula__without .eb-eyebrow { margin-bottom: 14px; }
.eb-formula__without ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.eb-formula__without li {
	padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
	font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
	text-decoration: line-through; text-decoration-color: var(--kraft); text-decoration-thickness: 1.5px;
}
.eb-formula__list { list-style: none; counter-reset: eb-f; }
.eb-formula__list li {
	display: grid; grid-template-columns: 48px 1fr 1.25fr; gap: 8px 20px; align-items: baseline;
	padding: 20px 0; border-top: 1px solid var(--line); counter-increment: eb-f;
}
.eb-formula__list li:last-child { border-bottom: 1px solid var(--line); }
.eb-formula__list li::before { content: counter(eb-f, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--kraft); }
.eb-formula__list h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; }
.eb-formula__list p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* О нас — «что дальше» */
.eb-next { padding: var(--section) 0; }
.eb-next__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.eb-next .eb-prose { font-size: 17px; color: var(--ink-2); }

/* Как это работает */
.eb-how { padding: var(--section) 0; }
.eb-how__grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.eb-how__media { aspect-ratio: 4 / 4.6; max-height: 520px; overflow: hidden; background: var(--paper-2); }
.eb-how .eb-h2 { margin-bottom: 36px; }
.eb-steps { list-style: none; }
.eb-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.eb-steps li:last-child { border-bottom: 1px solid var(--line); }
.eb-steps__num { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--kraft); padding-top: 8px; }
.eb-steps h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin-bottom: 6px; }
.eb-steps p { color: var(--ink-2); margin: 0; }

/* Почему брикеты */
.eb-why { padding: var(--section) 0; background: var(--white); }
.eb-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
.eb-feature { border-top: 1px solid var(--ink); padding-top: 28px; }
.eb-feature .eb-icon { width: 34px; height: 34px; margin-bottom: 20px; }
.eb-feature .eb-icon svg { stroke-width: 1.2; }
.eb-feature h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; margin-bottom: 12px; }
.eb-feature p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* Магазин */
.eb-shop { padding: var(--section) 0; }
.eb-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.5vw, 28px); max-width: 880px; margin: 0 auto; }
.eb-product { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.eb-product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.eb-product__media img { transition: transform 1.2s var(--ease); }
.eb-product:hover .eb-product__media img { transform: scale(1.035); }
.eb-product__tag {
	position: absolute; top: 14px; left: 14px; padding: 7px 12px; background: var(--white);
	font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.eb-product__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.4vw, 28px); }
.eb-product__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.eb-product__title { font-family: var(--serif); font-size: clamp(1.7rem, 1.4rem + .8vw, 2.1rem); line-height: 1; }
.eb-product__price { margin: 0; font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.eb-product__desc { color: var(--ink-2); }
.eb-product .eb-btn { margin-top: auto; }
.eb-checklist { list-style: none; display: grid; gap: 8px; margin: 4px 0 24px; font-size: 15px; }
.eb-checklist li { display: flex; gap: 10px; align-items: flex-start; }
.eb-checklist .eb-icon { width: 20px; height: 20px; color: var(--mint-ink); margin-top: 2px; }
.eb-checklist .eb-icon svg { stroke-width: 1.8; }
.eb-checklist--light .eb-icon { color: var(--mint); }

.eb-dots { display: none; }
.eb-shop__sub-link {
	display: flex; align-items: center; justify-content: center; gap: 12px;
	width: fit-content; margin: clamp(36px, 5vw, 56px) auto 0;
	font-family: var(--serif); font-style: italic; font-size: 1.5rem;
	border-bottom: 1px solid var(--line); padding-bottom: 6px;
	transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.eb-shop__sub-link:hover { border-color: var(--ink); gap: 18px; }

/* --- Счётчик тюбиков ------------------------------------------------------- */
.eb-impact { padding: var(--section) 0; background: var(--paper-2); text-align: center; overflow: hidden; }
.eb-impact__head { max-width: 820px; margin: 0 auto; }
.eb-impact__number { display: flex; align-items: baseline; justify-content: center; gap: 16px; flex-wrap: wrap; margin: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 56px); }
.eb-impact__value {
	font-family: var(--serif); font-weight: 600; font-variant-numeric: lining-nums tabular-nums;
	font-size: clamp(5rem, 2.5rem + 8vw, 10rem); line-height: .82; letter-spacing: -0.03em;
}
.eb-impact__unit { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem); }

.eb-meter { max-width: 760px; margin: 0 auto; }
.eb-meter__track { position: relative; height: 10px; border-radius: 999px; background: rgba(21, 20, 18, .1); }
.eb-meter__fill {
	position: absolute; inset: 0 auto 0 0; width: var(--eb-fill, 0%); border-radius: inherit;
	background: linear-gradient(90deg, var(--mint) 0%, var(--mint-ink) 100%);
	transition: width 1.8s var(--ease);
}
.eb-meter__thumb {
	position: absolute; top: 50%; left: var(--eb-fill, 0%);
	width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px rgba(21, 20, 18, .22);
	transition: left 1.8s var(--ease);
}
.eb-meter__thumb .eb-icon { width: 26px; height: 26px; }
.eb-meter.is-armed .eb-meter__fill { width: 0; }
.eb-meter.is-armed .eb-meter__thumb { left: 0; }
.eb-meter.is-armed.is-in .eb-meter__fill { width: var(--eb-fill); }
.eb-meter.is-armed.is-in .eb-meter__thumb { left: var(--eb-fill); }
.eb-meter__labels {
	display: flex; justify-content: space-between; margin-top: 44px;
	font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}

.eb-impact__text { max-width: 620px; margin: clamp(36px, 5vw, 56px) auto 0; color: var(--ink-2); }
.eb-impact__how summary {
	display: inline-block; cursor: pointer; list-style: none;
	font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
	border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.eb-impact__how summary::-webkit-details-marker { display: none; }
.eb-impact__how p { margin: 16px auto 0; font-size: 15px; }

/* --- Подписка ------------------------------------------------------------------ */
.eb-sub { background: var(--ink); color: var(--paper); }
.eb-sub__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; max-width: 1600px; margin: 0 auto; }
.eb-sub__media { position: relative; overflow: hidden; }
.eb-sub__media img { position: absolute; inset: 0; }
.eb-sub__copy { padding: clamp(48px, 6vw, 88px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.eb-sub .eb-eyebrow { color: var(--mint); }
.eb-sub .eb-h2 { margin-bottom: 36px; max-width: 11em; }
.eb-sub .eb-h2 em { color: var(--mint); }
.eb-sub .eb-checklist { font-size: 16.5px; margin-bottom: 40px; color: rgba(245, 242, 236, .86); }
.eb-sub__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.eb-sub__note { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }

/* --- FAQ ---------------------------------------------------------------------------- */
.eb-faq { padding: var(--section) 0; }
.eb-faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.eb-faq__list details { border-bottom: 1px solid var(--line); }
.eb-faq__list details:first-child { border-top: 1px solid var(--line); }
.eb-faq__list summary {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 20px 0; cursor: pointer; list-style: none;
	font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .45vw, 1.55rem); font-weight: 600; line-height: 1.2;
}
.eb-faq__list summary::-webkit-details-marker { display: none; }
.eb-faq__list summary .eb-icon { transition: transform .35s var(--ease); }
.eb-faq__list details[open] summary .eb-icon { transform: rotate(45deg); }
.eb-faq__list details p { color: var(--ink-2); max-width: 60ch; margin: -6px 0 26px; }

/* --- Финальный призыв ----------------------------------------------------------- */
.eb-final { padding: var(--section) 0; background: var(--paper-2); }
.eb-final__grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.eb-final .eb-h2 { margin-bottom: 24px; }
.eb-final .eb-lead { margin-bottom: 36px; }
.eb-final__media { aspect-ratio: 4 / 4.6; max-height: 460px; overflow: hidden; }
.eb-final--compact { background: var(--white); }

/* --- Подвал ----------------------------------------------------------------------- */
.eb-footer { background: var(--ink); color: rgba(245, 242, 236, .82); padding: clamp(64px, 8vw, 100px) 0 32px; }
.eb-footer__top { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding-bottom: 56px; }
.eb-footer__logo img { height: 34px; width: auto; }
.eb-footer__logo .eb-logo__text { color: var(--paper); }
.eb-footer__tagline { margin-top: 22px; max-width: 22em; font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.3; color: var(--paper); }
.eb-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.eb-footer .eb-eyebrow { color: rgba(245, 242, 236, .5); margin-bottom: 18px; }
.eb-footer ul { list-style: none; display: grid; gap: 10px; }
.eb-footer ul a { transition: color .2s; }
.eb-footer ul a:hover { color: var(--mint); }
.eb-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
	padding-top: 28px; border-top: 1px solid var(--line-light);
	font-size: 12.5px; color: rgba(245, 242, 236, .5);
}
.eb-footer__bottom p { margin: 0; }
.eb-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* --- Страницы и статьи --------------------------------------------------------- */
.eb-page__head { padding: clamp(56px, 8vw, 110px) 0 clamp(32px, 4vw, 56px); }
.eb-page__head--blog { text-align: center; }
.eb-page__head--blog .eb-lead { margin: 22px auto 0; }
.eb-page .eb-prose,
.eb-page-extra { padding-bottom: var(--section); }

.eb-prose { font-size: 18px; line-height: 1.75; }
.eb-prose > * + * { margin-top: 1.2em; }
.eb-prose p { margin: 0; }
.eb-prose h2 { font-family: var(--serif); font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); line-height: 1.1; margin-top: 1.8em; }
.eb-prose h3 { font-family: var(--serif); font-size: 1.65rem; line-height: 1.15; margin-top: 1.6em; }
.eb-prose a { text-decoration: underline; text-decoration-color: var(--kraft); text-underline-offset: 3px; }
.eb-prose ul,
.eb-prose ol { padding-left: 1.3em; }
.eb-prose li + li { margin-top: .4em; }
.eb-prose blockquote { margin-left: 0; padding-left: 24px; border-left: 2px solid var(--kraft); font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1.3; }
.eb-prose img { border-radius: 2px; }
.eb-prose figure { margin: 2em 0; }
.eb-prose figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; }

.eb-blog { padding: 0 0 var(--section); }
.eb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.eb-card__link { display: block; }
.eb-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); margin-bottom: 20px; }
.eb-card__media img { transition: transform 1.2s var(--ease); }
.eb-card__link:hover .eb-card__media img { transform: scale(1.04); }
.eb-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--kraft); }
.eb-card__placeholder .eb-icon { width: 64px; height: 64px; }
.eb-card__meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.eb-card__title { font-family: var(--serif); font-size: 1.75rem; line-height: 1.12; margin-bottom: 10px; }
.eb-card__excerpt { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.eb-empty { text-align: center; padding: 40px 0; }
.eb-empty .eb-lead { margin: 0 auto 28px; }

.eb-pagination { margin-top: 56px; }
.eb-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.eb-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--line); font-family: var(--mono); font-size: 13px;
}
.eb-pagination .page-numbers.current,
.eb-pagination .page-numbers:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.eb-article__head { padding: clamp(56px, 8vw, 100px) 0 clamp(28px, 4vw, 48px); }
.eb-article__head .eb-h1 { margin-bottom: 22px; }
.eb-article__cover { margin-bottom: clamp(40px, 6vw, 72px); }
.eb-article__cover img { aspect-ratio: 16 / 9; }
.eb-article__body { padding-bottom: 56px; }
.eb-article__cta {
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	padding: clamp(28px, 4vw, 44px); background: var(--paper-2); margin-bottom: var(--section);
}
.eb-article__cta .eb-eyebrow { margin-bottom: 10px; }
.eb-article__cta-title { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.1; margin-bottom: 8px; }
.eb-article__cta p:last-child { color: var(--ink-2); margin: 0; }
.eb-related { padding: 0 0 var(--section); }

/* О нас */
.eb-about-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); }
.eb-about-hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.eb-about-story { padding: 0 0 var(--section); }
.eb-about-story__grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.eb-about-story__media { aspect-ratio: 4 / 4.8; max-height: 560px; overflow: hidden; }
.eb-about-story .eb-h2 { margin-bottom: 32px; }
.eb-about-story .eb-prose { font-size: 17px; color: var(--ink-2); }
.eb-values { padding: var(--section) 0; background: var(--white); }
.eb-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.eb-value { border-top: 1px solid var(--ink); padding-top: 26px; }
.eb-value h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.12; margin: 14px 0 12px; }
.eb-value p { color: var(--ink-2); margin: 0; }

/* 404 */
.eb-404 { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.eb-404 .eb-h1 { margin-bottom: 24px; }
.eb-404 .eb-lead { margin: 0 auto 36px; }

/* --- WooCommerce: базовая стыковка со стилем ------------------------------------ */
.eb-woo { padding: clamp(48px, 6vw, 88px) 0 var(--section); }
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--ink); color: var(--paper); border-radius: 2px; padding: 16px 28px;
	font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover { background: #000; color: var(--paper); }
.woocommerce .button.alt,
.woocommerce button.button.alt { background: var(--ink); }
.woocommerce div.product .product_title { font-family: var(--serif); font-size: clamp(2.4rem, 1.6rem + 2.5vw, 3.8rem); line-height: 1; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--ink); font-size: 1.5rem; font-weight: 600; }
.woocommerce-message,
.woocommerce-info { border-top-color: var(--mint-ink); background: var(--white); }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--mint-ink); }

/* --- Появление первого экрана (без JS, сразу при загрузке) ------------------------ */
.eb-rise { animation: eb-rise .9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes eb-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* --- Появление при прокрутке ------------------------------------------------------ */
.eb-js .eb-reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.eb-js .eb-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.eb-js .eb-reveal { opacity: 1; transform: none; }
	.eb-ticker__track { animation: none; }
}

/* --- Адаптив ----------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.eb-why__grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
	.eb-menu { gap: 26px; }
}

@media (max-width: 960px) {
	:root { --header-h: 64px; }
	.eb-header__inner { grid-template-columns: 1fr auto 1fr; }
	.eb-burger { display: inline-flex; justify-self: start; margin-left: -8px; }
	.eb-logo { justify-self: center; }
	.eb-logo__img { height: 24px; }
	.eb-nav,
	.eb-header__cta { display: none; }

	.eb-formula__grid,
	.eb-next__grid,
	.eb-hero__grid,
	.eb-how__grid,
	.eb-faq__grid,
	.eb-final__grid,
	.eb-about-hero__grid,
	.eb-about-story__grid { grid-template-columns: 1fr; }

	.eb-formula__intro { position: static; }
	.eb-hero { padding-top: 28px; }
	.eb-hero__media { aspect-ratio: 4 / 3.2; }
	.eb-hero__facts { margin-top: 28px; }
	.eb-hero__label { left: 12px; bottom: 12px; padding: 8px 10px; font-size: 10px; }
	.eb-how__media { aspect-ratio: 4 / 3.6; }
	.eb-final__media { aspect-ratio: 4 / 3.8; }
	.eb-about-story__media { aspect-ratio: 4 / 3.8; }

	.eb-sub__grid { grid-template-columns: 1fr; min-height: 0; }
	.eb-sub__media { aspect-ratio: 4 / 3; }

	.eb-values__grid { grid-template-columns: 1fr; }
	.eb-footer__top { grid-template-columns: 1fr; }
	.eb-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Мобильная версия (до 640px) — отдельная «вёрстка для телефона»
   ========================================================================== */
@media (max-width: 640px) {
	:root { --gutter: 20px; --section: 64px; --header-h: 58px; }
	body { font-size: 16px; line-height: 1.6; }

	/* Типографика */
	.eb-h1 { font-size: 2.6rem; line-height: 1.02; letter-spacing: -0.01em; }
	.eb-h1--page { font-size: 2.45rem; }
	.eb-h1--article { font-size: 2.15rem; line-height: 1.08; }
	.eb-h2 { font-size: 2.05rem; line-height: 1.06; }
	.eb-eyebrow { font-size: 10.5px; letter-spacing: .16em; margin-bottom: 16px; }
	.eb-lead { font-size: 16px; line-height: 1.6; }
	.eb-section-head { margin-bottom: 32px; }
	.eb-section-head__sub { font-size: 15px; margin-top: 14px; }

	/* Кнопки */
	.eb-btn { min-height: 52px; padding: 0 22px; font-size: 12px; letter-spacing: .14em; }

	/* Полоса и шапка */
	.eb-announce { padding: 8px var(--gutter); }
	.eb-announce p { font-size: 9.5px; letter-spacing: .14em; }
	.eb-announce__extra { display: none; }
	.eb-logo__img { height: 21px; }
	.eb-cart, .eb-burger { width: 44px; height: 44px; }

	/* Первый экран: текст по центру, фото в край экрана */
	.eb-hero { padding: 36px 0 0; text-align: center; }
	.eb-hero__grid { gap: 32px; }
	.eb-hero .eb-h1 { font-size: 2.75rem; margin-bottom: 18px; }
	.eb-hero .eb-lead { margin: 0 auto 26px; font-size: 15.5px; max-width: 22em; }
	.eb-hero__actions { flex-direction: column; align-items: center; gap: 14px; }
	.eb-hero__actions .eb-btn { width: 100%; }
	.eb-hero__actions .eb-btn--ghost {
		width: auto; min-height: 0; padding: 4px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
		background: none; color: var(--ink); font-size: 11.5px;
	}
	.eb-hero__actions .eb-btn--ghost:hover { background: none; color: var(--ink); transform: none; }
	.eb-hero__facts { justify-content: center; gap: 6px; margin-top: 22px; }
	.eb-hero__facts li { padding: 6px 10px; font-size: 9.5px; }
	.eb-hero__media {
		margin: 0 calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2);
		aspect-ratio: 1 / 1.08; max-height: none;
	}
	.eb-hero__label { left: 50%; transform: translateX(-50%); bottom: 16px; flex-direction: row; gap: 10px; white-space: nowrap; }

	/* Бегущая строка */
	.eb-ticker { margin-top: 18px; padding: 15px 0; background: var(--ink); border: 0; }
	.eb-ticker__track { gap: 22px; animation-duration: 36s; }
	.eb-ticker span { font-size: 1.3rem; color: var(--paper); }
	.eb-ticker span:nth-child(even) { font-size: .8rem; color: var(--mint); }

	/* Состав */
	.eb-formula__grid { gap: 28px; }
	.eb-formula__text { font-size: 15px; }
	.eb-formula__without { margin-top: 24px; }
	.eb-formula__without ul {
		flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
		margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px;
		-webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
		mask-image: linear-gradient(90deg, #000 85%, transparent);
	}
	.eb-formula__without ul::-webkit-scrollbar { display: none; }
	.eb-formula__without li { flex: none; font-size: 10px; padding: 6px 10px; }
	.eb-formula__list li { grid-template-columns: 34px 1fr; gap: 4px 10px; padding: 16px 0; }
	.eb-formula__list li::before { font-size: 10.5px; padding-top: 5px; }
	.eb-formula__list h3 { font-size: 1.28rem; }
	.eb-formula__list p { grid-column: 2; font-size: 14px; line-height: 1.5; }

	/* Как это работает */
	.eb-how__grid { gap: 28px; }
	.eb-how__media { margin: 0 calc(var(--gutter) * -1); aspect-ratio: 1 / 1; max-height: none; }
	.eb-how .eb-h2 { margin-bottom: 20px; }
	.eb-steps li { grid-template-columns: 38px 1fr; padding: 16px 0; }
	.eb-steps__num { font-size: 11px; padding-top: 6px; }
	.eb-steps h3 { font-size: 1.35rem; }
	.eb-steps p { font-size: 14.5px; }

	/* Преимущества: сетка 2×2 */
	.eb-why__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
	.eb-feature { padding-top: 16px; }
	.eb-feature .eb-icon { width: 26px; height: 26px; margin-bottom: 12px; }
	.eb-feature h3 { font-size: 1.2rem; margin-bottom: 6px; }
	.eb-feature p { font-size: 13.5px; line-height: 1.5; }

	/* Товары: карусель со свайпом */
	.eb-products {
		display: flex; gap: 12px; max-width: none;
		margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
		overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
		scrollbar-width: none; -webkit-overflow-scrolling: touch;
	}
	.eb-products::-webkit-scrollbar { display: none; }
	.eb-product { flex: 0 0 84%; scroll-snap-align: start; }
	.eb-product__media { aspect-ratio: 4 / 3.3; }
	.eb-product__tag { top: 12px; left: 12px; font-size: 9.5px; padding: 6px 9px; }
	.eb-product__body { padding: 18px 18px 20px; }
	.eb-product__top { margin-bottom: 8px; }
	.eb-product__title { font-size: 1.55rem; }
	.eb-product__price { font-size: 1.05rem; }
	.eb-product__desc { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
	.eb-checklist { font-size: 13.5px; gap: 6px; margin-bottom: 18px; }
	.eb-checklist .eb-icon { width: 17px; height: 17px; }
	.eb-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
	.eb-dots button { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s; }
	.eb-dots button.is-active { width: 22px; border-radius: 999px; background: var(--ink); }
	.eb-shop__sub-link { font-size: 1.15rem; text-align: center; margin-top: 28px; }

	/* Счётчик */
	.eb-impact__number { gap: 8px; margin: 22px 0 34px; flex-direction: column; align-items: center; }
	.eb-impact__value { font-size: 6.2rem; }
	.eb-impact__unit { font-size: 1.5rem; }
	.eb-meter__track { height: 8px; }
	.eb-meter__thumb { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
	.eb-meter__thumb .eb-icon { width: 20px; height: 20px; }
	.eb-meter__labels { margin-top: 32px; font-size: 10px; }
	.eb-impact__text { font-size: 14.5px; margin-top: 30px; }

	/* Подписка */
	.eb-sub__media { aspect-ratio: 1 / .9; }
	.eb-sub__copy { padding: 44px var(--gutter) 52px; text-align: center; }
	.eb-sub .eb-h2 { max-width: none; margin-bottom: 24px; }
	.eb-sub .eb-checklist { font-size: 14.5px; text-align: left; max-width: 320px; margin: 0 auto 28px; }
	.eb-sub__actions { flex-direction: column; gap: 14px; }
	.eb-sub__actions .eb-btn { width: 100%; }

	/* Вопросы */
	.eb-faq__grid { gap: 20px; }
	.eb-faq__list summary { font-size: 1.2rem; padding: 17px 0; gap: 16px; }
	.eb-faq__list summary .eb-icon { width: 20px; height: 20px; }
	.eb-faq__list details p { font-size: 14.5px; margin-bottom: 18px; }

	/* Финальный блок: фото сверху в край, текст по центру */
	.eb-final { padding-top: 0; }
	.eb-final__grid { gap: 32px; }
	.eb-final__media { order: -1; margin: 0 calc(var(--gutter) * -1); aspect-ratio: 1 / 1; max-height: none; }
	.eb-final__copy { text-align: center; }
	.eb-final .eb-lead { margin: 0 auto 24px; font-size: 15px; }
	.eb-final .eb-btn { width: 100%; }

	/* Подвал */
	.eb-footer { padding: 52px 0 110px; }
	.eb-footer__top { gap: 36px; padding-bottom: 36px; }
	.eb-footer__logo img { height: 26px; }
	.eb-footer__tagline { font-size: 1.3rem; margin-top: 16px; }
	.eb-footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
	.eb-footer__cols > div:last-child { grid-column: 1 / -1; }
	.eb-footer__bottom { flex-direction: column; font-size: 11px; line-height: 1.6; }

	/* О нас */
	.eb-about-hero { padding: 40px 0 32px; }
	.eb-about-hero__grid { gap: 18px; }
	.eb-about-story__media { margin: 0 calc(var(--gutter) * -1); aspect-ratio: 1 / 1; max-height: none; }
	.eb-about-story__grid { gap: 28px; }
	.eb-about-story .eb-prose,
	.eb-next .eb-prose { font-size: 15.5px; }
	.eb-values__grid { gap: 26px; }
	.eb-value h3 { font-size: 1.35rem; margin: 10px 0 8px; }
	.eb-value p { font-size: 14.5px; }

	/* Статьи */
	.eb-cards { grid-template-columns: 1fr; gap: 36px; }
	.eb-card__media { aspect-ratio: 4 / 3.4; margin-bottom: 14px; }
	.eb-card__title { font-size: 1.5rem; }
	.eb-prose { font-size: 16.5px; }
	.eb-article__cta .eb-btn { width: 100%; }
}

/* --- Липкая кнопка покупки на телефоне ---------------------------------------- */
.eb-buybar,
.eb-drawer__top,
.eb-drawer__bottom { display: none; }
@media (max-width: 640px) {
	.eb-buybar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
		background: rgba(245, 242, 236, .94);
		-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
		border-top: 1px solid var(--line);
		transform: translateY(110%); transition: transform .45s var(--ease);
	}
	.eb-buybar.is-visible { transform: none; }
	.eb-buybar__info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
	.eb-buybar__title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
	.eb-buybar__meta { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
	.eb-buybar .eb-btn { min-height: 46px; padding: 0 22px; flex: none; }
}

/* --- Полноэкранное меню на телефоне и планшете ------------------------------- */
@media (max-width: 960px) {
	.eb-drawer { background: var(--paper); }
	.eb-drawer__panel {
		inset: 0; width: 100%; padding: 12px var(--gutter) calc(28px + env(safe-area-inset-bottom));
		gap: 0; animation: eb-fade .4s var(--ease);
	}
	@keyframes eb-fade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
	.eb-drawer__top { display: flex; align-items: center; justify-content: space-between; height: 46px; margin-bottom: 36px; }
	.eb-drawer__top .eb-logo__img { height: 21px; }
	.eb-drawer__close { margin: 0 -10px 0 0; width: 44px; height: 44px; }
	.eb-menu--drawer { counter-reset: eb-m; gap: 0; border-top: 1px solid var(--line); }
	.eb-menu--drawer li { counter-increment: eb-m; border-bottom: 1px solid var(--line); }
	.eb-menu--drawer a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; font-size: 2.1rem; line-height: 1.1; }
	.eb-menu--drawer a::before {
		content: counter(eb-m, decimal-leading-zero); position: static; transform: none; background: none; height: auto;
		font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--kraft); font-weight: 400;
	}
	.eb-drawer__bottom { margin-top: auto; display: grid; gap: 18px; }
	.eb-drawer__contact { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
}

/* ==========================================================================
   Магазин: корзина, оформление заказа, личный кабинет (блоки WooCommerce)
   ========================================================================== */
/* Защищаем логотипы от общих правил WooCommerce для картинок */
.eb-header .eb-logo .eb-logo__img,
.eb-drawer .eb-drawer__top .eb-logo__img { height: 30px; width: auto; max-width: none; }
.eb-footer .eb-footer__logo img { height: 34px; width: auto; max-width: none; }
@media (max-width: 960px) { .eb-header .eb-logo .eb-logo__img { height: 24px; } }
@media (max-width: 640px) {
	.eb-header .eb-logo .eb-logo__img,
	.eb-drawer .eb-drawer__top .eb-logo__img { height: 21px; }
	.eb-footer .eb-footer__logo img { height: 26px; }
}

.eb-page__head--shop { padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 32px); }
.eb-shop-page { padding-bottom: var(--section); }

.eb-shop-page,
.eb-shop-page .wc-block-components-text-input input,
.eb-shop-page .wc-block-components-textarea,
.eb-shop-page .wc-blocks-components-select__select,
.eb-shop-page .wc-block-components-combobox .wc-block-components-combobox-control input { font-family: var(--sans); }

.eb-shop-page .wc-block-components-title,
.eb-shop-page .wc-block-components-checkout-step__title,
.eb-shop-page .wc-block-cart__totals-title,
.eb-shop-page .wc-block-components-order-summary .wc-block-components-panel__button,
.eb-shop-page .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text {
	font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: 0; text-transform: none;
}
.eb-shop-page .wc-block-components-checkout-step__description { color: var(--ink-2); }

/* Поля */
.eb-shop-page .wc-block-components-text-input input,
.eb-shop-page .wc-block-components-textarea,
.eb-shop-page .wc-blocks-components-select .wc-blocks-components-select__select,
.eb-shop-page .wc-block-components-combobox .wc-block-components-combobox-control input {
	border: 1px solid var(--line) !important; border-radius: 2px !important; background: var(--white) !important;
	color: var(--ink); font-size: 16px !important;
}
.eb-shop-page .wc-block-components-text-input.is-active input,
.eb-shop-page .wc-block-components-text-input input:focus { border-color: var(--ink) !important; box-shadow: none !important; }
.eb-shop-page .wc-block-components-radio-control__option,
.eb-shop-page .wc-block-components-radio-control-accordion-option { border-radius: 2px !important; }

/* Кнопки */
.eb-shop-page .wc-block-components-button:not(.is-link),
.eb-shop-page .wc-block-cart__submit-button,
.eb-shop-page .wc-block-components-checkout-place-order-button {
	min-height: 56px; border-radius: 2px !important; background: var(--ink) !important; color: var(--paper) !important; border: 0 !important;
	font-family: var(--sans) !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase;
}
.eb-shop-page .wc-block-components-button:not(.is-link):hover { background: #000 !important; }
.eb-shop-page a { text-decoration-color: var(--kraft); }

/* Сводка заказа */
.eb-shop-page .wp-block-woocommerce-checkout-order-summary-block,
.eb-shop-page .wc-block-cart__sidebar .wc-block-components-sidebar-layout__sidebar,
.eb-shop-page .wp-block-woocommerce-cart-totals-block {
	background: var(--white); border: 1px solid var(--line) !important; border-radius: 2px !important;
}
.eb-shop-page .wc-block-components-order-summary-item__image img,
.eb-shop-page .wc-block-cart-item__image img { border-radius: 2px; }
.eb-shop-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.eb-shop-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 700; font-size: 1.15rem; }
.eb-shop-page .wc-block-components-product-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }

/* Пустая корзина */
.eb-shop-page .wc-block-cart__empty-cart__title { font-family: var(--serif); font-size: 2rem; }

@media (max-width: 640px) {
	.eb-page__head--shop { padding: 24px 0 12px; }
	.eb-page--shop .eb-h1--page { font-size: 2.1rem; }
	.eb-shop-page .wc-block-components-title,
	.eb-shop-page .wc-block-components-checkout-step__title { font-size: 1.3rem; }
}

/* --- Документы в подвале --------------------------------------------------- */
.eb-footer__docs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.eb-footer__docs a { text-decoration: underline; text-underline-offset: 3px; }
.eb-footer__docs a:hover { color: var(--mint); }

/* --- Уведомление о cookie -------------------------------------------------------- */
.eb-cookie {
	position: fixed; z-index: 70; left: 20px; bottom: 20px; max-width: 420px;
	display: flex; align-items: center; gap: 18px;
	padding: 16px 18px; background: var(--ink); color: var(--paper);
	box-shadow: 0 16px 40px rgba(21, 20, 18, .25);
	animation: eb-rise .6s var(--ease) both;
}
.eb-cookie[hidden] { display: none; }
.eb-cookie p { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(245, 242, 236, .86); }
.eb-cookie a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.eb-cookie .eb-btn { background: var(--paper); color: var(--ink); border-color: var(--paper); flex: none; }
.eb-cookie .eb-btn:hover { background: var(--white); }
.has-cookie .eb-buybar { transform: translateY(110%) !important; }
@media (max-width: 640px) {
	.eb-cookie { left: 0; right: 0; bottom: 0; max-width: none; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); gap: 14px; }
	.eb-cookie p { font-size: 12.5px; }
	.eb-footer__docs { flex-direction: column; gap: 6px; }
}

/* --- Документы (оферта, политика) ------------------------------------------------ */
.eb-page .eb-prose h2 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); margin-top: 1.6em; }
.eb-page .eb-prose p,
.eb-page .eb-prose li { font-size: 16px; line-height: 1.7; }
.eb-page .eb-prose > * + p,
.eb-page .eb-prose > * + ul,
.eb-page .eb-prose > * + ol { margin-top: .85em; }
.eb-page .eb-prose > h2 + * { margin-top: .6em; }
.eb-page .eb-prose > :first-child { margin-top: 0; }
@media (max-width: 640px) {
	.eb-page .eb-prose p,
	.eb-page .eb-prose li { font-size: 15px; }
}

/* Согласия на оформлении заказа */
.eb-shop-page .wc-block-checkout__terms,
.eb-shop-page .wc-block-components-checkbox__label { font-size: 14px; line-height: 1.5; }
.eb-shop-page .wc-block-checkout__terms a { text-decoration: underline; }

/* Развёрнутые ответы в вопросах (несколько абзацев) */
.eb-faq__more { max-width: 60ch; margin: -6px 0 26px; color: var(--ink-2); }
.eb-faq__list .eb-faq__more p { margin: 0; }
.eb-faq__list .eb-faq__more p + p { margin-top: 10px; }
.eb-faq__more strong { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
	.eb-faq__more { margin-bottom: 18px; }
	.eb-faq__list .eb-faq__more p { font-size: 14.5px; }
}

/* Короткая форма оформления заказа: только имя, телефон и город, остальное не нужно для доставки в пункт СДЭК */
.eb-shop-page .wc-block-components-address-form__country,
.eb-shop-page .wc-block-components-address-form__last_name,
.eb-shop-page .wc-block-components-address-form__company,
.eb-shop-page .wc-block-components-address-form__address_1,
.eb-shop-page .wc-block-components-address-form__address_2,
.eb-shop-page .wc-block-components-address-form__state,
.eb-shop-page .wc-block-components-address-form__postcode,
.eb-shop-page .wc-block-checkout__use-address-for-billing,
.eb-shop-page .wc-block-checkout__add-note { display: none !important; }
.eb-shop-page .wc-block-components-address-form__first_name { flex: 0 0 100% !important; max-width: 100% !important; }
.eb-shop-page .wc-block-components-checkout-step__description { color: var(--ink-2); font-size: 14px; margin-bottom: 14px; }

/* --- Подписка: управление, подсказка в оформлении, блок на «Заказ принят» ------- */
.eb-manage { padding-bottom: var(--section); }
.eb-manage__card { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.eb-manage__msg { margin: 0 0 20px; padding: 16px 20px; font-size: 15.5px; line-height: 1.55; border-left: 3px solid var(--mint-ink); background: rgba(167, 220, 197, .28); }
.eb-manage__msg--warn { border-left-color: var(--amber); background: rgba(184, 146, 95, .16); }
.eb-manage__status { display: inline-block; margin: 0 0 22px; padding: 7px 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; background: var(--mint); color: var(--ink); }
.eb-manage__status.is-stopped { background: var(--paper-2); color: var(--ink-2); }
.eb-manage__rows { margin: 0; }
.eb-manage__rows > div { display: grid; grid-template-columns: 210px 1fr; gap: 6px 24px; padding: 15px 0; border-top: 1px solid var(--line); }
.eb-manage__rows > div:last-child { border-bottom: 1px solid var(--line); }
.eb-manage__rows dt { font-size: 13.5px; color: var(--ink-3); }
.eb-manage__rows dd { margin: 0; font-size: 16.5px; line-height: 1.45; }
.eb-manage__rows small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }
.eb-manage__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eb-manage__actions form { margin: 0; }
.eb-manage__hint { margin: 18px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.eb-manage__hint a,
.eb-subinfo a,
.eb-subnote a { text-decoration: underline; text-decoration-color: var(--kraft); text-underline-offset: 3px; }
.eb-manage__lead { margin: 0 0 22px; font-size: 17px; line-height: 1.6; }
.eb-manage__label { display: block; margin-bottom: 8px; font-size: 13.5px; color: var(--ink-3); }
.eb-manage__field { display: flex; gap: 12px; }
.eb-manage__field input {
	flex: 1; min-width: 0; min-height: 56px; padding: 0 18px;
	font: inherit; font-size: 16px; color: var(--ink);
	background: var(--paper); border: 1px solid var(--line); border-radius: 0;
}
.eb-manage__field input:focus { outline: 2px solid var(--ink); outline-offset: 0; }

.eb-subnote { margin: 4px 0 28px; padding: 18px 20px; background: rgba(167, 220, 197, .28); border-left: 3px solid var(--mint-ink); font-size: 14px; line-height: 1.55; }
.eb-subnote p { margin: 0; }
.eb-subnote p + p { margin-top: 8px; }
.eb-subnote__title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-ink); }

.eb-subinfo { margin: 0 0 32px; padding: 24px 26px; background: var(--white); border: 1px solid var(--line); }
.eb-subinfo h2 { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; }
.eb-subinfo p { margin: 0; font-size: 16px; line-height: 1.6; }
.eb-subinfo p + p { margin-top: 10px; }

.eb-sub__price { margin: -18px 0 30px; font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; color: var(--paper); }
.eb-sub__price small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 14px; color: rgba(245, 242, 236, .7); }

@media (max-width: 640px) {
	.eb-manage__rows > div { grid-template-columns: 1fr; gap: 2px; padding: 13px 0; }
	.eb-manage__rows dd { font-size: 15.5px; }
	.eb-manage__actions { flex-direction: column; }
	.eb-manage__actions .eb-btn { width: 100%; }
	.eb-manage__field { flex-direction: column; }
	.eb-manage__field .eb-btn { width: 100%; }
	.eb-sub__price { margin: -6px 0 24px; }
}
.eb-faq__more a { text-decoration: underline; text-decoration-color: var(--kraft); text-underline-offset: 3px; }

/* --- Правки по отзыву: заголовок «Чего здесь нет», «О нас», реквизиты в подвале -- */
.eb-formula__without-title { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.08; margin: 0 0 18px; }
.eb-formula__without-title em { font-style: italic; font-weight: 500; }
.eb-formula__without { margin-top: 44px; }

.eb-about-story__grid { align-items: start; }
.eb-about-story__media { position: sticky; top: calc(var(--header-h) + 32px); }
.eb-about-story .eb-steps p { font-size: 16.5px; }
.eb-next { padding: 0 0 var(--section); }
.eb-next__grid { align-items: center; }
.eb-next .eb-prose a { text-decoration: underline; text-decoration-color: var(--kraft); text-underline-offset: 3px; }

.eb-footer__bottom { align-items: flex-start; }
.eb-footer__legal { display: grid; gap: 5px; line-height: 1.5; }
.eb-footer__legal span { display: block; }
.eb-footer__legal span:first-child { color: rgba(245, 242, 236, .82); }
.eb-footer__docs { flex-direction: column; align-items: flex-end; gap: 5px; line-height: 1.5; }

@media (max-width: 960px) {
	.eb-about-story__media { position: static; }
}
@media (max-width: 640px) {
	.eb-formula__without { margin-top: 28px; }
	.eb-formula__without-title { font-size: 1.6rem; margin-bottom: 14px; }
	.eb-about-story .eb-steps p { font-size: 14.5px; }
	.eb-footer__docs { align-items: flex-start; }
	.eb-footer__legal { gap: 3px; }
}
