/* ==========================================================================
   ECH Couture — design system
   Burgundy #4E0000 · Gold #D8B865 · Ivory #F7F3EC · Playfair Display + Manrope
   ========================================================================== */

:root {
	--burgundy: #4e0000;
	--burgundy-d: #2b0000;
	--burgundy-l: #6e1717;
	--gold: #d8b865;
	--gold-d: #a8843b;          /* золото для текста на светлом фоне (контраст AA) */
	--ivory: #f7f3ec;
	--paper: #fbf9f5;
	--sand: #efe8dc;            /* подложка под фото */
	--ink: #161922;
	--text: #2b2724;
	--muted: #7d756c;
	--line: #e4dccf;
	--line-d: rgba(247, 243, 236, .16);

	--serif: "Playfair Display", "Times New Roman", Georgia, serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1480px;
	--gut: clamp(16px, 3.6vw, 56px);
	--hdr: 76px;
	--gap: clamp(12px, 1.6vw, 24px);
	--ease: cubic-bezier(.22, .7, .2, 1);
	--slow: 1.2s;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font: 400 15px/1.7 var(--sans);
	letter-spacing: .005em;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease), opacity .3s var(--ease); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid var(--gold-d); outline-offset: 3px; }
::selection { background: var(--burgundy); color: var(--ivory); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; padding: 10px 16px; background: var(--ink); color: #fff; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* --- Типографика ---------------------------------------------------------- */
.eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	font: 500 11px/1.4 var(--sans);
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--gold-d);
}
.eyebrow--light { color: rgba(255, 255, 255, .82); }
.eyebrow--gold { color: var(--gold); }

.sec-title {
	font: 400 clamp(30px, 3.4vw, 50px)/1.08 var(--serif);
	letter-spacing: -.01em;
	color: var(--ink);
}
.gold-rule { display: block; width: 56px; height: 1px; margin: 28px 0; background: var(--gold); }

.prose { max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose a { border-bottom: 1px solid var(--gold); }
.prose ul { list-style: none; padding: 0; }
.prose li { position: relative; padding-left: 18px; margin: .3em 0; }
.prose li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 1px; background: var(--gold-d); }

/* --- Кнопки и ссылки ------------------------------------------------------ */
.btn,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 34px;
	font: 500 12px/1 var(--sans) !important;
	letter-spacing: .22em;
	text-transform: uppercase;
	border-radius: 0 !important;
	border: 1px solid transparent;
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--dark,
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce .button,
.single_add_to_cart_button { background: var(--burgundy) !important; color: var(--ivory) !important; }
.btn--dark:hover,
.woocommerce .button:hover,
.single_add_to_cart_button:hover { background: var(--burgundy-d) !important; }
.btn--line { border-color: currentColor; color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 6px;
	font: 500 11px/1 var(--sans);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink);
	background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1px no-repeat;
	transition: background-size .5s var(--ease), gap .4s var(--ease);
}
.link-arrow:hover { gap: 16px; background-size: 30% 1px; }

/* --- Пропорции изображений (единый размер везде) -------------------------- */
.ratio-34, .ratio-45, .ratio-23, .ratio-wide { position: relative; overflow: hidden; background: var(--sand); }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-23 { aspect-ratio: 2 / 3; }
.ratio-wide { aspect-ratio: 16 / 8; }
.ratio-34 > img, .ratio-45 > img, .ratio-23 > img, .ratio-wide > img,
.ech-img__el {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top; /* голова модели не обрезается */
}
.ech-img__ph { position: absolute; inset: 0; background: linear-gradient(135deg, var(--sand), #e6dccb); }

/* ==========================================================================
   Шапка
   ========================================================================== */
.topbar { background: var(--burgundy-d); color: rgba(247, 243, 236, .78); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.topbar__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 36px; gap: 16px; }
.topbar__msg { margin: 0; text-align: center; }
.topbar__side { display: flex; gap: 18px; align-items: center; }
.topbar__side--r { justify-content: flex-end; }

.hdr {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--burgundy);
	color: var(--ivory);
	transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--hdr); }
.hdr__l { display: flex; align-items: center; height: 100%; }
.hdr__r { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.ech-logo img { width: auto; height: 46px; transition: height .4s var(--ease); }
.hdr.is-stuck .ech-logo img { height: 40px; }

.hdr-ic { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; color: inherit; }
.hdr-ic:hover { color: var(--gold); }
.hdr-burger { display: none; margin-left: -10px; }
.hdr-cart__n {
	position: absolute; top: 5px; right: 3px;
	min-width: 16px; height: 16px; padding: 0 4px;
	font: 600 9.5px/16px var(--sans); text-align: center;
	border-radius: 8px; background: var(--gold); color: var(--burgundy-d);
}
.hdr-cart__n[data-count="0"] { display: none; }

/* Главная: шапка прозрачная поверх триптиха, при прокрутке — бордовая */
.is-home .hdr { margin-bottom: calc(var(--hdr) * -1); background: linear-gradient(rgba(20, 0, 0, .42), rgba(20, 0, 0, 0)); }
.is-home .hdr.is-stuck { background: var(--burgundy); box-shadow: 0 1px 0 rgba(216, 184, 101, .18); }

/* Навигация + mega menu */
.nav { height: 100%; }
.nav__list { display: flex; gap: clamp(18px, 2vw, 34px); height: 100%; }
.nav__list > li { display: flex; align-items: center; }
.nav__list > li > a {
	position: relative;
	padding: 8px 0;
	font: 500 11.5px/1 var(--sans);
	letter-spacing: .2em;
	text-transform: uppercase;
}
.nav__list > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--gold); transform: scaleX(0); transform-origin: right;
	transition: transform .45s var(--ease);
}
.nav__list > li:hover > a::after,
.nav__list > li.current-menu-item > a::after,
.nav__list > li.current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }

.nav__list > li > .sub-menu {
	position: absolute;
	left: 0; right: 0; top: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 28px 40px;
	padding: 44px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
	background: var(--paper);
	color: var(--text);
	border-top: 1px solid rgba(216, 184, 101, .4);
	box-shadow: 0 30px 60px -30px rgba(43, 0, 0, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.nav__list > li:hover > .sub-menu,
.nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.nav__list .sub-menu > li > a {
	display: block; margin-bottom: 12px;
	font: 400 19px/1.25 var(--serif); color: var(--ink);
}
.nav__list .sub-menu > li > a:hover { color: var(--burgundy); }
.nav__list .sub-menu .sub-menu { display: grid; gap: 7px; }
.nav__list .sub-menu .sub-menu a { font: 400 13px/1.4 var(--sans); color: var(--muted); }
.nav__list .sub-menu .sub-menu a:hover { color: var(--burgundy); }
.nav__list .sub-menu .sub-menu .sub-menu { display: none; }

/* Поиск */
.search-ov { position: fixed; inset: 0 0 auto; z-index: 80; background: var(--paper); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .25); animation: drop .4s var(--ease); }
.search-ov__form { display: flex; align-items: center; gap: 16px; height: 110px; border-bottom: 1px solid var(--line); }
.search-ov__form input { flex: 1; border: 0; background: none; font: 400 clamp(22px, 3vw, 34px)/1 var(--serif); outline: none; }
@keyframes drop { from { transform: translateY(-100%); } }

/* Мобильное меню */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__veil { position: absolute; inset: 0; background: rgba(22, 25, 34, .5); animation: fade .4s var(--ease); }
.drawer__panel {
	position: absolute; z-index: 1; inset: 0 auto 0 0;
	display: flex; flex-direction: column;
	width: min(420px, 90vw);
	background: var(--burgundy); color: var(--ivory);
	animation: slide .45s var(--ease);
	overflow-y: auto;
}
.drawer__top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gut); border-bottom: 1px solid var(--line-d); }
.drawer__top .ech-logo img { height: 38px; }
.drawer__nav { flex: 1; padding: 12px var(--gut); }
.m-nav > li { border-bottom: 1px solid var(--line-d); }
.m-nav a { display: block; padding: 16px 0; font: 400 22px/1.2 var(--serif); }
.m-nav .menu-item-has-children { position: relative; }
.m-nav .m-toggle { position: absolute; right: -10px; top: 8px; width: 44px; height: 44px; display: grid; place-items: center; transition: transform .3s var(--ease); }
.m-nav .is-open > .m-toggle { transform: rotate(45deg); }
.m-nav .sub-menu { display: none; padding: 0 0 14px 14px; }
.m-nav .is-open > .sub-menu { display: block; }
.m-nav .sub-menu a { padding: 9px 0; font: 400 14px/1.3 var(--sans); letter-spacing: .04em; color: rgba(247, 243, 236, .75); }
.drawer__foot { display: grid; gap: 18px; padding: 24px var(--gut) 32px; border-top: 1px solid var(--line-d); }
@keyframes slide { from { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } }

/* Перемикач мови */
.lang-sw { display: inline-flex; align-items: center; gap: 2px; font: 500 11px/1 var(--sans); letter-spacing: .14em; }
.lang-sw__i { padding: 5px 7px; opacity: .6; border-bottom: 1px solid transparent; }
.lang-sw__i:hover { opacity: 1; }
.lang-sw__i.is-on { opacity: 1; color: var(--gold); border-bottom-color: rgba(216, 184, 101, .5); }
.topbar__side--r .lang-sw + .cur-sw { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line-d); }
.drawer__foot .lang-sw { font-size: 13px; }
.drawer__foot .lang-sw__i { padding: 10px 14px; border: 1px solid var(--line-d); }
.drawer__foot .lang-sw__i.is-on { border-color: var(--gold); }
.drawer__foot > .lang-sw, .drawer__foot > .cur-sw { flex-wrap: wrap; }
.ftr__switch { display: flex; flex-wrap: wrap; gap: 10px; }

/* Перемикач валюти */
.cur-sw { display: inline-flex; align-items: center; gap: 2px; font: 500 11px/1 var(--sans); letter-spacing: .12em; }
.cur-sw__i { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; opacity: .6; border-bottom: 1px solid transparent; }
.cur-sw__i span { font-size: 10px; }
.cur-sw__i:hover { opacity: 1; }
.cur-sw__i.is-on { opacity: 1; color: var(--gold); border-bottom-color: rgba(216, 184, 101, .5); }
.drawer__foot .cur-sw { font-size: 13px; }
.drawer__foot .cur-sw__i { padding: 10px 14px; border: 1px solid var(--line-d); }
.drawer__foot .cur-sw__i.is-on { border-color: var(--gold); }
.socials { display: flex; gap: 6px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; opacity: .75; }
.socials a:hover { opacity: 1; color: var(--gold); }

/* ==========================================================================
   Главная
   ========================================================================== */
.sec { padding: clamp(64px, 8vw, 128px) 0; }
.sec + .sec--rail, .sec--rail + .sec--rail { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3.4vw, 52px); }

/* Reveal-анимации */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- 1. Триптих ----------------------------------------------------------- */
.hero { position: relative; background: var(--burgundy-d); }
.hero__track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	height: clamp(560px, calc(100svh - 36px), 1040px);
}
.hero__panel { position: relative; margin: 0; overflow: hidden; }
.hero__link { position: absolute; inset: 0; display: block; color: #fff; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-loaded .hero__media img { transform: scale(1); }
.hero__panel:hover .hero__media img { transform: scale(1.035); }
.hero__panel::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(20, 0, 0, 0) 62%, rgba(20, 0, 0, .45) 100%);
}
.hero__cap {
	position: absolute; z-index: 2; left: clamp(20px, 2.4vw, 40px); right: 20px; bottom: clamp(24px, 3vw, 44px);
	display: grid; justify-items: start; gap: 4px; color: #fff;
}
.hero__cap .eyebrow { margin: 0; font-size: 10px; }
.hero__title { font: 400 clamp(17px, 1.35vw, 22px)/1.2 var(--serif); letter-spacing: .01em; }
.hero__more {
	display: inline-flex; align-items: center; gap: 8px;
	margin-top: 8px; font: 500 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
	opacity: .75; transition: opacity .4s var(--ease), gap .4s var(--ease);
}
.hero__panel:hover .hero__more { opacity: 1; gap: 12px; }
.hero__dots { display: none; }

/* --- 2. Коллекции --------------------------------------------------------- */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cols--2 { grid-template-columns: repeat(2, 1fr); }
.col-tile { position: relative; display: block; color: #fff; }
.col-tile__media img { transition: transform var(--slow) var(--ease); }
.col-tile:hover .col-tile__media img { transform: scale(1.04); }
.col-tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 0, 0, .55)); }
.col-tile__body { position: absolute; left: 0; right: 0; bottom: clamp(24px, 3vw, 44px); z-index: 2; display: grid; justify-items: center; gap: 14px; text-align: center; }
.col-tile__title { font: 400 clamp(26px, 2.4vw, 38px)/1.1 var(--serif); }
.col-tile__more {
	display: inline-flex; align-items: center; gap: 10px;
	font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
	transition: gap .4s var(--ease);
}
.col-tile:hover .col-tile__more { gap: 16px; }

/* --- Лента товаров -------------------------------------------------------- */
.rail { position: relative; }
.rail__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * var(--gap)) / 4);
	gap: var(--gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; min-width: 0; }
.rail__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 28px; }
.rail__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; transition: all .3s var(--ease); }
.rail__btn:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.rail__btn:disabled { opacity: .3; cursor: default; }
.rail.is-static .rail__nav { display: none; }

/* --- Карточка товара ------------------------------------------------------ */
.card { position: relative; }
.card__media { display: block; }
.card__media > img { transition: opacity .7s var(--ease), transform var(--slow) var(--ease); }
.card__alt { opacity: 0; }
.card.has-alt:hover .card__alt { opacity: 1; }
.card:not(.has-alt):hover .card__media > img { transform: scale(1.04); }
.card__sizes {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	padding: 12px 14px;
	font: 500 11px/1 var(--sans); letter-spacing: .18em; text-align: center; text-transform: uppercase;
	background: rgba(251, 249, 245, .92);
	backdrop-filter: blur(6px);
	transform: translateY(101%);
	transition: transform .45s var(--ease);
}
.card:hover .card__sizes { transform: none; }
.card__body { padding-top: 16px; }
.card__cat { margin: 0 0 6px; font: 500 10px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.card__title { font: 400 17px/1.3 var(--serif); color: var(--ink); }
.card__title a:hover { color: var(--burgundy); }
.card__price { margin-top: 8px; font: 500 14px/1.4 var(--sans); letter-spacing: .03em; color: var(--ink); }
.card__price del, .pdp__price del, .buybar__p del { margin-right: 8px; color: var(--muted); font-weight: 400; }
.card__price ins, .pdp__price ins, .buybar__p ins { text-decoration: none; color: var(--burgundy); }

.badges { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge { padding: 6px 10px; font: 600 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; background: var(--paper); color: var(--ink); }
.badge--sale { background: var(--burgundy); color: var(--ivory); }
.badge--new { background: var(--gold); color: var(--burgundy-d); }
.badge--muted { background: rgba(251, 249, 245, .88); color: var(--muted); }

/* --- 4. Популярные категории --------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cat-grid--5 { grid-template-columns: repeat(5, 1fr); }
.cat-tile { position: relative; display: grid; gap: 4px; min-width: 0; }
.cat-grid > *, .cols > *, .grid > *, .new-grid > *, .offer > * { min-width: 0; }
.cat-tile__media img { transition: transform var(--slow) var(--ease), filter .6s var(--ease); filter: saturate(.92); }
.cat-tile:hover .cat-tile__media img { transform: scale(1.05); filter: saturate(1.05); }
.cat-tile__n { position: absolute; top: 10px; left: 10px; padding: 5px 8px; font: italic 400 13px/1 var(--serif); color: var(--burgundy); background: rgba(251, 249, 245, .9); }
.cat-tile__name { margin-top: 12px; font: 400 18px/1.25 var(--serif); color: var(--ink); }
.cat-tile:hover .cat-tile__name { color: var(--burgundy); }
.cat-tile__count { font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* --- Новинки ------------------------------------------------------------ */
.new-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.new-grid__lead .card__title { font-size: clamp(20px, 1.8vw, 26px); }
.new-grid__rest { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3vw, 44px) var(--gap); }

/* --- Спецпредложение ---------------------------------------------------- */
.sec--offer { background: var(--burgundy); color: var(--ivory); }
.offer { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.offer__title { font: italic 400 clamp(40px, 5vw, 76px)/1 var(--serif); color: var(--ivory); }
.offer__text { margin: 22px 0 0; max-width: 46ch; color: rgba(247, 243, 236, .78); }
.offer__products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(32px, 4vw, 52px); }
.sec--offer .card__title, .sec--offer .card__price { color: var(--ivory); }
.sec--offer .card__price ins { color: var(--gold); }
.sec--offer .card__cat { color: rgba(216, 184, 101, .8); }
.sec--offer .ratio-34 { background: var(--burgundy-d); }
.countdown { display: flex; gap: 10px; margin-top: 30px; }
.countdown span { display: grid; justify-items: center; min-width: 66px; padding: 12px 6px; border: 1px solid rgba(216, 184, 101, .35); }
.countdown b { font: 400 30px/1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.countdown i { margin-top: 6px; font: 500 9.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; font-style: normal; opacity: .7; }

/* --- Сервис ------------------------------------------------------------- */
.sec--services { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.service { display: grid; justify-items: center; gap: 12px; text-align: center; }
.service .ech-ic { color: var(--gold-d); }
.service__t { font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.service__d { max-width: 28ch; margin: 0; font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   Архив
   ========================================================================== */
.bc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bc a:hover { color: var(--burgundy); }
.bc__sep { opacity: .5; }

.arch-head { position: relative; padding: clamp(48px, 6vw, 96px) 0 clamp(32px, 4vw, 56px); text-align: center; background: var(--ivory); }
.arch-head .bc { justify-content: center; }
.arch-head__title { font: 400 clamp(36px, 4.6vw, 68px)/1.05 var(--serif); color: var(--ink); }
.arch-head__desc { max-width: 62ch; margin: 18px auto 0; color: var(--muted); }
.arch-head--cover { display: grid; align-items: end; min-height: clamp(360px, 52vh, 560px); color: var(--ivory); background: var(--burgundy-d); }
.arch-head--cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 0, 0, .15), rgba(20, 0, 0, .6)); }
.arch-head__bg { position: absolute; inset: 0; }
.arch-head__in { position: relative; z-index: 2; }
.arch-head--cover .arch-head__title, .arch-head--cover .bc, .arch-head--cover .arch-head__desc { color: var(--ivory); }

.arch { padding-bottom: clamp(64px, 8vw, 120px); }
.chips { display: flex; gap: 8px; padding: 26px 0; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 10px 18px; font: 500 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); white-space: nowrap; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--burgundy); border-color: var(--burgundy); color: var(--ivory); }

.arch-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; padding: 14px 0; border-block: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.arch-bar .woocommerce-result-count { margin: 0; }
.arch-bar__tools { display: flex; align-items: center; gap: 22px; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
	appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23161922'/%3E%3C/svg%3E") right center no-repeat;
	padding: 6px 22px 6px 0; font: 500 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.grid-switch { display: flex; gap: 6px; }
.grid-switch button { padding: 6px; opacity: .35; }
.grid-switch button.is-on { opacity: 1; }
.gs { display: flex; gap: 2px; }
.gs i { width: 4px; height: 14px; background: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(32px, 3.4vw, 56px) var(--gap); }
.grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.grid[data-cols="2"] .card__title { font-size: 21px; }
.grid__item { min-width: 0; }

.woocommerce-pagination { margin-top: clamp(48px, 5vw, 80px); }
.woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; gap: 4px; border: 0 !important; }
.woocommerce-pagination .page-numbers li { border: 0 !important; }
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; font: 400 16px/1 var(--serif); }
.woocommerce-pagination span.current { color: var(--burgundy); border-bottom: 1px solid var(--gold); }

.empty { padding: 80px 0; text-align: center; }
.empty__t { font: 400 26px/1.3 var(--serif); color: var(--ink); margin-bottom: 26px; }

/* ==========================================================================
   Карточка товара
   ========================================================================== */
.pdp { padding-top: 28px; }
.pdp__main { display: grid; grid-template-columns: min(58%, max(340px, calc((100svh - var(--hdr) - 245px) * .75))) minmax(0, 560px); justify-content: center; gap: clamp(32px, 5vw, 96px); align-items: start; padding-bottom: clamp(64px, 7vw, 112px); }

/* Галерея: большое фото-слайдер + миниатюры под ним */
.pdp-g { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 12px; min-width: 0; }
.pdp-g__stage { position: relative; }
.pdp-g__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.pdp-g__track::-webkit-scrollbar { display: none; }
.pdp-g__item { flex: 0 0 100%; margin: 0; scroll-snap-align: start; cursor: zoom-in; }
.pdp-g__arrow {
	position: absolute; top: 50%; z-index: 3;
	display: grid; place-items: center; width: 46px; height: 46px; margin-top: -23px;
	border-radius: 50%; background: rgba(251, 249, 245, .88); color: var(--ink);
	opacity: 0; transition: opacity .35s var(--ease), background .3s var(--ease);
}
.pdp-g__arrow--prev { left: 16px; }
.pdp-g__arrow--next { right: 16px; }
.pdp-g__stage:hover .pdp-g__arrow, .pdp-g__arrow:focus-visible { opacity: 1; }
.pdp-g__arrow:hover { background: var(--paper); }
.pdp-g__arrow:disabled { opacity: 0 !important; pointer-events: none; }
.pdp-g__count { position: absolute; right: 16px; bottom: 16px; z-index: 3; padding: 7px 12px; font: 500 11px/1 var(--sans); letter-spacing: .14em; background: rgba(251, 249, 245, .9); font-variant-numeric: tabular-nums; }
.pdp-g__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.pdp-g__thumb { opacity: .55; transition: opacity .3s var(--ease); }
.pdp-g__thumb.is-on, .pdp-g__thumb:hover { opacity: 1; }
.pdp-g__thumb.is-on { outline: 1px solid var(--ink); outline-offset: 2px; }
.pdp-g .badges { left: 16px; top: 16px; }

.pdp__info { min-width: 0; }
.pdp__sticky { position: sticky; top: calc(var(--hdr) + 24px); }
.pdp__cat { margin-bottom: 16px; }
.pdp__title { font: 400 clamp(28px, 2.6vw, 40px)/1.12 var(--serif); color: var(--ink); }
.pdp__price { margin: 18px 0 0; font: 500 19px/1.3 var(--sans); letter-spacing: .02em; color: var(--ink); }
.pdp__lead { margin-top: 22px; color: var(--muted); }
.pdp__buy { margin-top: 30px; }
.pdp__buy .stock { margin: 0 0 14px; font-size: 12.5px; letter-spacing: .06em; color: var(--muted); }
.pdp__buy .stock.out-of-stock { color: var(--burgundy); }
.pdp__buy form.cart { display: grid; gap: 18px; margin: 0; }
.pdp__buy .quantity { display: none; } /* в fashion-корзине количество меняют в корзине */
.pdp__buy .single_add_to_cart_button { width: 100%; min-height: 58px; }
.pdp__buy .woocommerce-variation-add-to-cart { display: grid; gap: 14px; }
.pdp__buy .woocommerce-variation-price .price { font-size: 17px; }
.pdp__buy .woocommerce-variation-description { font-size: 13.5px; color: var(--muted); }

.pdp table.variations { width: 100%; border: 0; margin: 0; border-collapse: collapse; }
.pdp table.variations tr { display: grid; gap: 12px; margin-bottom: 18px; }
.pdp table.variations th, .pdp table.variations td { padding: 0; text-align: left; border: 0; background: none; }
.pdp table.variations label { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.ech-swatch-src.is-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pdp table.variations select:not(.is-hidden) { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); background: var(--paper); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
	min-width: 52px; height: 46px; padding: 0 14px;
	font: 500 12.5px/1 var(--sans); letter-spacing: .08em;
	border: 1px solid var(--line); background: var(--paper);
	transition: all .25s var(--ease);
}
.swatch:hover { border-color: var(--ink); }
.swatch.is-on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.swatch:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.pdp__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 22px 0 32px; }
.pdp__guide, .pdp__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.pdp__guide { border-bottom: 1px solid var(--gold); padding-bottom: 5px; }
.pdp__note { color: var(--gold-d); }

.acc { border-bottom: 1px solid var(--line); }
.acc__item { border-top: 1px solid var(--line); }
.acc__item summary {
	display: flex; justify-content: space-between; align-items: center;
	padding: 20px 0; list-style: none; cursor: pointer;
	font: 500 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary .ech-ic { transition: transform .35s var(--ease); }
.acc__item[open] summary .ech-ic { transform: rotate(45deg); }
.acc__n { margin-left: 6px; margin-right: auto; color: var(--muted); }
.acc__body { padding: 0 0 26px; font-size: 14.5px; color: var(--text); }
.acc__body .woocommerce-product-attributes { width: 100%; border-collapse: collapse; margin: 0; }
.acc__body .woocommerce-product-attributes th,
.acc__body .woocommerce-product-attributes td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.acc__body .woocommerce-product-attributes th { width: 42%; color: var(--muted); font-size: 12.5px; letter-spacing: .08em; }
.acc__body .woocommerce-product-attributes td p { margin: 0; }
.pdp__sku { margin: 14px 0 0; font-size: 12px; letter-spacing: .08em; color: var(--muted); }

.pdp__share { display: flex; align-items: center; gap: 14px; margin-top: 26px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pdp__share a:hover { color: var(--burgundy); }

/* Отзывы */
.acc__body #reviews .commentlist { list-style: none; padding: 0; }
.acc__body #reviews .comment-text { margin: 0 !important; border: 0 !important; padding: 0 !important; }
.acc__body #review_form input[type=text], .acc__body #review_form input[type=email], .acc__body #review_form textarea { width: 100%; padding: 12px; border: 1px solid var(--line); background: var(--paper); }

/* Модалка размеров */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; }
.modal__veil { position: absolute; inset: 0; background: rgba(22, 25, 34, .55); animation: fade .3s var(--ease); }
.modal__box { position: relative; z-index: 1; width: min(720px, 100%); max-height: 86vh; overflow: auto; padding: clamp(28px, 4vw, 52px); background: var(--paper); animation: rise .4s var(--ease); }
.modal__x { position: absolute; top: 12px; right: 12px; }
.modal__t { margin-bottom: 26px; font: 400 30px/1.1 var(--serif); color: var(--ink); }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.size-table th { font: 500 10.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* Лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 99; background: var(--paper); animation: fade .3s var(--ease); }
.lightbox__x { position: absolute; top: 14px; right: 14px; z-index: 2; }
.lightbox__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__track img { flex: 0 0 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }

/* Мобильная панель покупки */
.buybar { display: none; }

/* ==========================================================================
   Страницы, футер, служебные страницы Woo
   ========================================================================== */
.page-head { padding: clamp(48px, 6vw, 96px) var(--gut) clamp(24px, 3vw, 44px); text-align: center; }
.page-head__title { font: 400 clamp(34px, 4vw, 60px)/1.08 var(--serif); color: var(--ink); }
.page__content { padding-bottom: clamp(64px, 8vw, 120px); margin-inline: auto; }
.page__wc { padding-bottom: clamp(64px, 8vw, 120px); }
.page__cover { margin-bottom: 48px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px var(--gap); padding-bottom: 80px; }
.post-card__media { display: block; margin-bottom: 18px; }
.post-card__t { font: 400 22px/1.25 var(--serif); color: var(--ink); }
.e404 { padding: clamp(80px, 12vw, 180px) var(--gut); text-align: center; display: grid; justify-items: center; }
.e404__n { margin: 0; font: italic 400 clamp(90px, 14vw, 200px)/1 var(--serif); color: var(--gold); }
.e404__a { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.ftr { background: var(--burgundy-d); color: rgba(247, 243, 236, .72); font-size: 14px; }
.ftr__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: clamp(56px, 6vw, 96px); padding-bottom: 56px; }
.ftr__brand { display: grid; align-content: start; gap: 22px; }
.ftr__brand .ech-logo img { height: 54px; }
.ftr__h { margin-bottom: 20px; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.ftr__menu { display: grid; gap: 11px; }
.ftr__menu a:hover { color: var(--gold); }
.ftr__switch { margin-top: 22px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line-d); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 243, 236, .45); }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
	margin: 0 0 28px !important; padding: 16px 20px !important; list-style: none;
	border: 0 !important; border-left: 2px solid var(--gold) !important;
	background: var(--ivory) !important; color: var(--text) !important; font-size: 14px;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-error { border-left-color: var(--burgundy) !important; }
.woocommerce-message .button { float: right; min-height: 38px; padding: 0 18px; }
.page--service input.input-text, .page--service select, .page--service textarea {
	min-height: 48px; padding: 10px 14px !important; border: 1px solid var(--line) !important; border-radius: 0 !important; background: var(--paper);
}
.page--service table.shop_table { border-radius: 0 !important; border-color: var(--line) !important; }
.page--service .cart_totals h2, .page--service #order_review_heading, .page--service .woocommerce-billing-fields h3 { font: 400 26px/1.2 var(--serif); color: var(--ink); margin-bottom: 18px; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1199px) {
	.nav { display: none; }
	.hdr-burger { display: inline-grid; }
	.grid { grid-template-columns: repeat(3, 1fr); }
	.cat-grid { grid-template-columns: repeat(3, 1fr); }
	.rail__track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
	.ftr__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
	.pdp__main { grid-template-columns: 1fr; }
	.pdp-g { position: static; margin-inline: calc(var(--gut) * -1); gap: 8px; }
	.pdp-g__item { cursor: default; }
	.pdp-g__arrow { display: none; }
	.pdp-g__thumbs { display: flex; gap: 6px; overflow-x: auto; padding-inline: var(--gut); scrollbar-width: none; }
	.pdp-g__thumbs::-webkit-scrollbar { display: none; }
	.pdp-g__thumb { flex: 0 0 58px; }
	.pdp__sticky { position: static; }
	.pdp__info { max-width: none; }
	.offer { grid-template-columns: 1fr; }
	.offer__media { max-width: 520px; }
	.new-grid { grid-template-columns: 1fr; }

	.buybar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
		display: flex; align-items: center; gap: 14px;
		padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
		background: var(--paper); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .15);
		transform: translateY(110%); transition: transform .4s var(--ease);
	}
	.buybar.is-on { transform: none; }
	.buybar__info { display: grid; min-width: 0; flex: 1; }
	.buybar__t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 15px/1.3 var(--serif); color: var(--ink); }
	.buybar__p { font-size: 13px; }
	.buybar .btn { min-height: 48px; padding: 0 20px; }
}

@media (max-width: 767px) {
	:root { --hdr: 62px; }
	body { font-size: 14.5px; }
	.topbar__in { grid-template-columns: 1fr; }
	.topbar__side { display: none; }
	.ech-logo img { height: 38px; }
	.hdr-ic--acc { display: none; }

	.hero__track { display: flex; gap: 2px; height: min(calc(100svh - 36px), 780px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.hero__track::-webkit-scrollbar { display: none; }
	.hero__panel { flex: 0 0 86%; scroll-snap-align: center; }
	.hero__panel:first-child { flex-basis: 93%; scroll-snap-align: start; }
	.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; }
	.hero__dots i { width: 18px; height: 1px; background: rgba(255, 255, 255, .45); transition: all .4s var(--ease); }
	.hero__dots i.is-on { width: 34px; background: var(--gold); }
	.hero__cap { bottom: 48px; }

	.sec-head { flex-direction: column; align-items: flex-start; }
	.cols, .cols--2 { grid-template-columns: 1fr; }
	.col-tile__media { aspect-ratio: 4 / 5; }
	.rail__track { grid-auto-columns: 64%; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
	.rail__nav { display: none; }
	.grid, .grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); gap: 32px 12px; }
	.grid[data-cols="2"] .card__title { font-size: 15px; }
	.grid-switch { display: none; }
	.card__title { font-size: 15px; }
	.card__sizes { display: none; }
	.cat-grid, .cat-grid--3, .cat-grid--4, .cat-grid--5 { grid-template-columns: repeat(2, 1fr); }
	.new-grid__rest { gap: 28px 12px; }
	.offer__products { grid-template-columns: repeat(3, 62%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.offer__products > * { scroll-snap-align: start; }
	.services { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
	.post-grid { grid-template-columns: 1fr; }
	.ftr__in { grid-template-columns: 1fr; gap: 34px; }
	.arch-bar__count { display: none; }
	.arch-bar { justify-content: flex-end; }
	body.single-product { padding-bottom: 72px; }
}

@media (hover: none) {
	.card__alt { display: none; }
}

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

/* --- Сторінка «Контакти» -------------------------------------------------- */
.btn--gold { background: var(--gold); color: var(--burgundy-d); }
.btn--gold:hover { background: #e6cb85; color: var(--burgundy-d); }
.btn--ghost { border-color: rgba(247, 243, 236, .4); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { flex: none; }

.ct-hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 150px) 0 clamp(64px, 8vw, 120px); background: radial-gradient(120% 90% at 85% 10%, var(--burgundy-l) 0%, var(--burgundy) 45%, var(--burgundy-d) 100%); color: var(--ivory); }
.ct-hero__mark { position: absolute; right: clamp(-120px, -4vw, -40px); top: 50%; width: min(46vw, 620px); height: auto; opacity: .06; transform: translateY(-50%); pointer-events: none; user-select: none; }
.ct-hero__in { position: relative; display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.ct-hero__title { margin: 0; font: 400 clamp(44px, 6.4vw, 104px)/.98 var(--serif); letter-spacing: -.02em; color: var(--ivory); }
.ct-hero__lead { margin: 0 0 22px; font: italic 400 clamp(20px, 1.8vw, 27px)/1.4 var(--serif); color: var(--ivory); }
.ct-hero__lead span { color: var(--gold); }
.ct-hero__text { margin: 0 0 34px; max-width: 52ch; line-height: 1.75; color: rgba(247, 243, 236, .78); }
.ct-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.ct-sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(32px, 4vw, 60px); }
.ct-sec-head .sec-title { margin: 0; }
.ct-num { font: 400 13px/1 var(--sans); letter-spacing: .2em; color: var(--gold-d); }
.ct-num::after { content: ""; display: inline-block; width: 36px; height: 1px; margin-left: 14px; vertical-align: middle; background: var(--gold); }

.ct-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ct-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 34px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s var(--ease); }
.ct-card:first-child { padding-left: 0; }
.ct-card:last-child { border-right: 0; }
.ct-card:hover { background: var(--paper); }
.ct-card__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border: 1px solid var(--gold); border-radius: 50%; color: var(--burgundy); }
.ct-card__label { font: 500 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ct-card__value { font: 400 clamp(19px, 1.6vw, 24px)/1.3 var(--serif); color: var(--ink); overflow-wrap: anywhere; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; align-self: flex-start; }
.ct-card__value--sm { font-size: clamp(16px, 1.15vw, 19px); }
.ct-card__value:hover { color: var(--burgundy); background-size: 100% 1px; }
.ct-card__links { display: flex; gap: 18px; margin-top: auto; padding-top: 6px; }
.ct-card__links a { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.ct-card__links a:hover { color: var(--burgundy); }

.ct-offices { background: var(--ivory); }
.ct-cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.ct-city { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 34px 0 30px; border-top: 1px solid var(--burgundy); }
.ct-city__n { font: 500 11px/1 var(--sans); letter-spacing: .22em; color: var(--gold-d); }
.ct-city__name { font: 400 clamp(32px, 3.6vw, 56px)/1.05 var(--serif); letter-spacing: -.01em; color: var(--burgundy); }
.ct-city__sub { color: var(--muted); }
.ct-delivery { display: inline-flex; align-items: center; gap: 14px; margin: clamp(28px, 3vw, 44px) 0 0; padding: 14px 26px; border: 1px solid var(--gold); font: 500 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.ct-delivery svg { color: var(--gold-d); flex: none; }

.ct-support .ct-sec-head { flex-direction: column; gap: 16px; }
.ct-support__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.ct-support__text { margin: 0 0 28px; font: 400 clamp(19px, 1.5vw, 23px)/1.6 var(--serif); color: var(--text); }
.ct-topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; padding: 0; list-style: none; }
.ct-topics li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 40px; font-size: 14px; color: var(--text); }
.ct-support__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.ct-quote { padding: clamp(72px, 9vw, 140px) 0; background: radial-gradient(90% 120% at 50% 0%, var(--burgundy-l) 0%, var(--burgundy) 60%); color: var(--ivory); text-align: center; border-bottom: 1px solid rgba(216, 184, 101, .35); }
.ct-quote__rule { display: block; width: 1px; height: 64px; margin: 0 auto 36px; background: linear-gradient(transparent, var(--gold)); }
.ct-quote__text { max-width: 22ch; margin: 0 auto; font: italic 400 clamp(28px, 3.8vw, 58px)/1.18 var(--serif); color: var(--ivory); }

@media (max-width: 1100px) {
	.ct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ct-card:nth-child(2) { border-right: 0; }
	.ct-card:nth-child(3) { padding-left: 0; }
}
@media (max-width: 860px) {
	.ct-hero__in, .ct-support__in { grid-template-columns: 1fr; }
	.ct-hero__mark { width: 80vw; right: -24vw; top: auto; bottom: -6vw; transform: none; }
}
@media (max-width: 560px) {
	.ct-cards { grid-template-columns: 1fr; }
	.ct-card, .ct-card:nth-child(3) { padding: 26px 0; border-right: 0; }
	.ct-card:hover { background: none; }
	.ct-hero__cta .btn, .ct-support__cta .btn { flex: 1 1 100%; }
	.ct-delivery { display: flex; padding: 14px 18px; }
	.ct-sec-head { flex-direction: column; gap: 14px; }
}

/* --- Форма «Напишіть нам», Telegram ------------------------------------- */
.ct-write { background: var(--ivory); }
.ct-write__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.ct-write .ct-sec-head { flex-direction: column; gap: 16px; margin-bottom: 24px; }
.ct-write__text { margin: 0 0 24px; max-width: 40ch; line-height: 1.7; color: var(--muted); }
.ct-write__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0; }
.ct-write__alt span { font-size: 13px; color: var(--muted); }
.ct-write__alt a { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--burgundy); border-bottom: 1px solid var(--gold); padding-bottom: 6px; }
.ct-write__alt a:hover { color: var(--gold-d); }
.ct-form { display: grid; gap: 20px; padding: clamp(24px, 3vw, 44px); background: #fff; border: 1px solid var(--line); }
.ct-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ct-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-field { display: grid; gap: 8px; }
.ct-field span { font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ct-field input, .ct-field textarea { width: 100%; padding: 12px 0; font: 400 16px/1.5 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: none; transition: border-color .3s var(--ease); }
.ct-field textarea { resize: vertical; min-height: 120px; }
.ct-field input:focus, .ct-field textarea:focus { border-bottom-color: var(--burgundy); }
.ct-field.is-err input, .ct-field.is-err textarea { border-bottom-color: #b32d2e; }
.ct-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.ct-form__msg { margin: 0; flex: 1 1 240px; font-size: 14px; line-height: 1.5; }
.ct-form__msg.is-ok { color: #2e6b2f; }
.ct-form__msg.is-err { color: #b32d2e; }
.ask-tg { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.ask-tg span { border-bottom: 1px solid var(--gold); padding-bottom: 5px; }
.ask-tg:hover { color: var(--gold-d); }
.tg-follow { display: flex; align-items: center; gap: 18px; margin: 0 0 32px; padding: 20px 24px; background: var(--ivory); border: 1px solid var(--line); }
.tg-follow__ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%; color: var(--burgundy); }
.tg-follow b { font: 400 19px/1.3 var(--serif); color: var(--ink); }
.tg-follow p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.tg-follow .btn { margin-left: auto; flex: none; }
@media (max-width: 860px) {
	.ct-write__in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.ct-form__row { grid-template-columns: 1fr; }
	.ct-form .btn { flex: 1 1 100%; }
	.tg-follow { flex-wrap: wrap; }
	.tg-follow .btn { margin-left: 0; flex: 1 1 100%; }
}

/* --- Текстові сторінки ---------------------------------------------------- */
.page__content.prose { max-width: 760px; font-size: 16px; line-height: 1.75; }
.prose .lead { font: italic 400 clamp(19px, 1.6vw, 23px)/1.55 var(--serif); color: var(--ink); margin: 0 0 1.6em; }
.prose h2 { margin: 2.2em 0 .7em; font: 400 clamp(23px, 2vw, 30px)/1.2 var(--serif); color: var(--ink); }
.prose h3 { margin: 1.8em 0 .6em; font: 500 13px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ol { counter-reset: ol; list-style: none; padding: 0; }
.prose ol > li { position: relative; padding-left: 40px; margin: .9em 0; counter-increment: ol; }
.prose ol > li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; top: .15em; font: 500 12px/1.6 var(--sans); letter-spacing: .1em; color: var(--gold-d); }
.prose details { border-top: 1px solid var(--line); }
.prose details:last-of-type { border-bottom: 1px solid var(--line); }
.prose summary { position: relative; padding: 20px 40px 20px 0; font: 400 clamp(18px, 1.5vw, 21px)/1.4 var(--serif); color: var(--ink); cursor: pointer; list-style: none; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 1px solid var(--gold-d); border-bottom: 1px solid var(--gold-d); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.prose details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.prose details > p { margin: 0 0 22px; color: var(--text); }
.prose .size-table { width: 100%; margin: 1.4em 0 2em; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prose .size-table th, .prose .size-table td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.prose .size-table th { font: 500 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.prose .size-table td:first-child { font-weight: 600; color: var(--burgundy); }
.seller { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 1em 0; padding: 22px 26px; background: var(--ivory); border: 1px solid var(--line); }
.seller dt { font: 500 11px/1.8 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.seller dd { margin: 0; }
.seller-note { font-size: 14px; color: var(--muted); }
.seller-warn { padding: 12px 16px; background: #fcf0f1; border-left: 3px solid #b32d2e; font-size: 14px; }
.ftr__more { color: var(--gold); }
.ftr__legal-menu { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.ftr__legal-menu a:hover { color: var(--gold); }
@media (max-width: 560px) {
	.seller { grid-template-columns: 1fr; gap: 2px; padding: 18px; }
	.seller dd { margin-bottom: 10px; }
	.prose .size-table th, .prose .size-table td { padding: 10px 4px; font-size: 14px; }
	.ftr__bottom { flex-direction: column; }
}

/* --- Меню «Каталог» з дерева категорій ----------------------------------- */
.nav__list .ech-mega .ech-mega__group > a { margin-top: 10px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.nav__list .ech-mega .ech-mega__group:first-child > a { margin-top: 0; }
.nav__list .ech-mega .ech-mega__all > a { color: var(--burgundy); }
.m-nav .ech-mega .ech-mega__group > a { padding-top: 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.m-nav .ech-mega .ech-mega__in > a { padding-left: 10px; }

/* --- Instagram ------------------------------------------------------------ */
.sec--ig { padding-bottom: clamp(48px, 6vw, 96px); }
.ig-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.ig-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ig-grid--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ig-grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ig-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.04); }
.ig-tile__type { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(22, 25, 34, .55); font-size: 11px; line-height: 1; color: #fff; backdrop-filter: blur(4px); }
.ig-tile__hover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px; text-align: center; color: var(--ivory); background: rgba(43, 0, 0, .62); opacity: 0; transition: opacity .45s var(--ease); }
.ig-tile__hover span { font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ig-tile:hover .ig-tile__hover, .ig-tile:focus-visible .ig-tile__hover { opacity: 1; }
@media (max-width: 960px) {
	.ig-grid, .ig-grid--12 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.ig-grid, .ig-grid--4, .ig-grid--8, .ig-grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
	.ig-grid--6 > li:nth-child(n+5), .ig-grid--12 > li:nth-child(n+7) { display: none; }
	.ig-tile__hover { display: none; }
}
