/* Лендинги по материалу (вискоза, полиэстер). Основа — вёрстка hottabych-collections; всё под .hmt. */

.hmt {
	--hmt-ink: #1a1a1a;
	--hmt-muted: #6c625c;
	--hmt-wine: #992238;
	--hmt-wine-dark: #7a1b2d;
	--hmt-sand: #f7f3ee;
	--hmt-tint: #f1e9e4;
	--hmt-line: #e1e1e1;
	--hmt-radius: 14px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 8px 0 0;
	color: var(--hmt-ink);
	font-family: Raleway, system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	text-align: left;
}

.hmt *, .hmt *::before, .hmt *::after { box-sizing: border-box; }
.hmt img { display: block; max-width: 100%; height: auto; }
.hmt p { margin: 0 0 18px; }
.hmt a { color: var(--hmt-wine); }
.hmt a:focus-visible, .hmt summary:focus-visible, .hmt button:focus-visible {
	outline: 3px solid var(--hmt-wine);
	outline-offset: 4px;
}

.hmt h1, .hmt h2, .hmt h3 {
	font-family: Raleway, system-ui, sans-serif;
	color: var(--hmt-ink);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	white-space: normal;
	overflow-wrap: break-word;
	height: auto;
	max-height: none;
	margin: 0 0 18px;
}

.hmt .hmt-h1 {
	font-size: clamp(32px, 4vw, 56px) !important;
	line-height: 1.16 !important;
	max-width: 14ch;
	text-wrap: balance;
}

.hmt h2 { font-size: clamp(26px, 2.7vw, 38px); line-height: 1.24 !important; text-wrap: balance; }
.hmt h3 { font-size: 19px; line-height: 1.35 !important; margin-bottom: 10px; }

.hmt .hmt-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--hmt-wine);
	margin-bottom: 18px;
}

.hmt .hmt-lead { font-size: 18px; line-height: 1.75; max-width: 52ch; color: var(--hmt-muted); }

/* ---------------------------------------------------------------- герой */

.hmt-hero {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	padding: clamp(24px, 4vw, 56px) 0 clamp(32px, 5vw, 64px);
}

.hmt-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 34px; }

.hmt .hmt-btn {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 13px 26px;
	border: 1px solid var(--hmt-wine);
	border-radius: 999px;
	background: var(--hmt-wine);
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none !important;
	transition: background .2s, color .2s;
}

.hmt .hmt-btn:hover { background: var(--hmt-wine-dark); border-color: var(--hmt-wine-dark); }
.hmt .hmt-btn--ghost { background: transparent; color: var(--hmt-wine) !important; }
.hmt .hmt-btn--ghost:hover { background: var(--hmt-tint); color: var(--hmt-wine-dark) !important; }

.hmt-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--hmt-line);
}

.hmt-facts dt { font-size: 21px; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.hmt-facts dt .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.hmt-facts dd { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--hmt-muted); }

/* ------------------------------------------------------- панель витрины */

.hmt-controls {
	position: sticky;
	top: 0;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 26px;
	padding: 14px 18px;
	margin-bottom: 12px;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(8px);
	border: 1px solid var(--hmt-line);
	border-radius: var(--hmt-radius);
	scroll-margin-top: 90px;
}

.hmt-controls__group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.hmt-controls__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hmt-muted);
}

.hmt .hmt-chip {
	appearance: none;
	padding: 8px 16px;
	border: 1px solid var(--hmt-line);
	border-radius: 999px;
	background: #fff;
	color: var(--hmt-ink);
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background .18s, border-color .18s, color .18s;
}

.hmt .hmt-chip:hover { border-color: var(--hmt-wine); color: var(--hmt-wine); }

.hmt .hmt-chip[aria-pressed="true"] {
	background: var(--hmt-ink);
	border-color: var(--hmt-ink);
	color: #fff;
}

.hmt-controls__count { margin: 0; font-size: 13px; color: var(--hmt-muted); }

/* ------------------------------------------------------------- секции */

.hmt-section { padding: clamp(40px, 5vw, 72px) 0; scroll-margin-top: 96px; }

.hmt-section--tint {
	background: var(--hmt-sand);
	border-radius: calc(var(--hmt-radius) * 2);
	padding-inline: clamp(20px, 3vw, 48px);
	margin: clamp(20px, 3vw, 40px) 0;
}

.hmt-section__head { max-width: 62ch; margin-bottom: clamp(24px, 3vw, 38px); }
.hmt-section__head p { color: var(--hmt-muted); margin-bottom: 0; }
.hmt-section__more { margin: 24px 0 0; font-size: 15px; font-weight: 600; }

/* -------------------------------------------------------------- сетка */

.hmt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: clamp(14px, 1.6vw, 24px);
}

.hmt-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--hmt-line);
	border-radius: var(--hmt-radius);
	overflow: hidden;
	transition: transform .18s, box-shadow .18s, border-color .18s;
}

.hmt-card:hover {
	transform: translateY(-3px);
	border-color: #d2c6bc;
	box-shadow: 0 14px 30px rgba(43, 39, 37, .1);
}

.hmt-card[hidden] { display: none; }

.hmt-card__media { position: relative; display: block; background: var(--hmt-sand); }

.hmt-card__media .hmt-card__photo,
.hmt-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.hmt-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px 5px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .93);
	color: var(--hmt-ink);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .02em;
}

.hmt-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }

.hmt-card__title { font-size: 15px; line-height: 1.4 !important; font-weight: 600; margin: 0 0 8px; }
.hmt-card__title a { color: var(--hmt-ink); text-decoration: none; }
.hmt-card__title a:hover { color: var(--hmt-wine); }

.hmt-card__facts { font-size: 12.5px; line-height: 1.55; color: var(--hmt-muted); margin: 0 0 14px; }

.hmt-card__price {
	margin: auto 0 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--hmt-ink);
}

.hmt-card__price .woocommerce-Price-amount { color: inherit; font-size: inherit; }
.hmt-card__price del { display: none; }

/* ------------------------------------------------------- сравнение */

.hmt-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin: 0; }
.hmt-compare > div { padding: 22px 0; border-top: 1px solid var(--hmt-line); }
.hmt-compare dt { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.hmt-compare dd { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--hmt-muted); }

/* ------------------------------------------------------------- FAQ */

.hmt-faq { max-width: 78ch; }
.hmt-faq__item { border-bottom: 1px solid var(--hmt-line); }
.hmt-faq__item:first-child { border-top: 1px solid var(--hmt-line); }

.hmt-faq summary {
	position: relative;
	display: block;
	padding: 19px 44px 19px 0;
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.55;
	cursor: pointer;
	list-style: none;
}

.hmt-faq summary::-webkit-details-marker { display: none; }

.hmt-faq summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 11px;
	height: 11px;
	margin-top: -6px;
	border-right: 2px solid var(--hmt-wine);
	border-bottom: 2px solid var(--hmt-wine);
	transform: rotate(45deg);
	transition: transform .2s;
}

.hmt-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.hmt-faq__answer { padding: 0 0 20px; }
.hmt-faq__answer p { font-size: 14.5px; line-height: 1.75; color: var(--hmt-muted); margin: 0; }

/* ---------------------------------------------------------- переходы */

.hmt-bridge {
	background: var(--hmt-tint);
	border-left: 4px solid var(--hmt-wine);
	border-radius: var(--hmt-radius);
	padding: clamp(24px, 3vw, 40px);
	margin: clamp(20px, 3vw, 40px) 0 48px;
}

.hmt-bridge h2 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 18px; }
.hmt-bridge__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }

.hmt-bridge__list a {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid rgba(153, 34, 56, .35);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background .18s, color .18s;
}

.hmt-bridge__list a:hover { background: var(--hmt-wine); color: #fff; }


/* ----------------------------------------------------- крошки и текст */

.hmt-crumbs { margin: 0 0 18px; font-size: 13px; color: var(--hmt-muted); }
.hmt-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.hmt-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--hmt-line); }
.hmt-crumbs a { color: var(--hmt-muted); text-decoration: none; }
.hmt-crumbs a:hover { color: var(--hmt-wine); text-decoration: underline; }

.hmt-prose { max-width: 78ch; }
.hmt-prose p { font-size: 16px; line-height: 1.8; }

/* ------------------------------------------------------- hero-фото */

.hmt-hero__media { margin: 0; border-radius: calc(var(--hmt-radius) * 1.5); overflow: hidden; background: var(--hmt-sand); aspect-ratio: 4 / 3; }
.hmt .hmt-hero__img { width: 100%; height: 100%; object-fit: cover; }
.hmt-hero__art { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--hmt-radius) * 1.5); background: linear-gradient(135deg, #efe7dd, #d9cbbb); }

/* ------------------------------------------------- плюсы и минусы */

.hmt-procon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
.hmt-procon__col { background: #fff; border-radius: var(--hmt-radius); padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--hmt-line); }
.hmt-procon__col h3 { font-size: 18px; margin-bottom: 14px; }
.hmt-procon ul { list-style: none; margin: 0; padding: 0; }
.hmt-procon li { position: relative; padding: 0 0 12px 28px; font-size: 15px; line-height: 1.65; }
.hmt-procon li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.hmt-procon__col--pro li::before { content: "+"; color: #2f7a4a; font-size: 18px; line-height: 1.4; }
.hmt-procon__col--con li::before { content: "!"; color: var(--hmt-wine); left: 6px; }
.hmt .hmt-where { margin: clamp(18px, 2.4vw, 28px) 0 0; font-size: 15.5px; max-width: 78ch; }

/* ------------------------------------------------------- таблица */

.hmt-table-wrap { overflow-x: auto; border: 1px solid var(--hmt-line); border-radius: var(--hmt-radius); }
.hmt-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; margin: 0; font-size: 14.5px; }
.hmt-table th, .hmt-table td { padding: 14px 16px; border-bottom: 1px solid var(--hmt-line); text-align: left; vertical-align: top; line-height: 1.55; }
.hmt-table thead th { font-size: 15px; font-weight: 700; background: var(--hmt-sand); }
.hmt-table tbody th { width: 22%; font-weight: 600; color: var(--hmt-muted); }
.hmt-table .is-current { background: #fbf3f4; }
.hmt-table thead .is-current { color: var(--hmt-wine); background: #f6e6e9; }
.hmt-table tr:last-child th, .hmt-table tr:last-child td { border-bottom: 0; font-weight: 600; }

/* ------------------------------------------------------------ уход */

.hmt-steps { counter-reset: hmt; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.hmt-steps li { counter-increment: hmt; position: relative; padding: 18px 18px 18px 58px; border: 1px solid var(--hmt-line); border-radius: var(--hmt-radius); font-size: 14.5px; line-height: 1.65; }
.hmt-steps li::before { content: counter(hmt); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--hmt-wine); color: #fff; font-size: 13px; font-weight: 700; line-height: 28px; text-align: center; }

/* ------------------------------------------------- новинки, отзывы */

.hmt .hb-nrl { margin: clamp(32px, 4vw, 56px) auto; }
.hmt-reviews { margin: 0 0 12px; }

/* ------------------------------------------------------ помощь */

.hmt-help { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 40px; align-items: center; background: var(--hmt-ink); color: #fff; border-radius: calc(var(--hmt-radius) * 2); padding: clamp(26px, 4vw, 52px); margin: clamp(24px, 3vw, 44px) 0; scroll-margin-top: 96px; }
.hmt .hmt-help h2 { color: #fff; margin-bottom: 12px; }
.hmt .hmt-help p { color: rgba(255, 255, 255, .78); margin-bottom: 10px; }
.hmt .hmt-help__salon { font-size: 14px; }
.hmt-help__links { display: flex; flex-wrap: wrap; gap: 10px; }
.hmt .hmt-help .hmt-btn--ghost { color: #fff !important; border-color: rgba(255, 255, 255, .45); }
.hmt .hmt-help .hmt-btn--ghost:hover { background: rgba(255, 255, 255, .1); }

.hmt .hmt-empty { margin: 18px 0 0; color: var(--hmt-muted); }
.hmt-more { display: flex; justify-content: center; margin-top: 26px; }
.hmt-more [hidden] { display: none; }
.hmt .hmt-card__title { font-size: 15px; line-height: 1.4 !important; }
.hmt-card__media .hmt-card__photo, .hmt-card__media img { aspect-ratio: 1 / 1; }
.hmt .hmt-table th, .hmt .hmt-table td { text-align: left !important; padding: 14px 16px !important; }
.hmt .hmt-steps { margin: 0 !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ------------------------------------------------------- адаптивность */

@media (max-width: 1024px) {
	.hmt .hmt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hmt-hero { grid-template-columns: 1fr; }
	.hmt-compare { grid-template-columns: 1fr; }
	.hmt-help { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.hmt { padding-inline: 16px; }
	.hmt .hmt-h1 { font-size: clamp(30px, 8vw, 40px) !important; max-width: none; }
	.hmt .hmt-lead { font-size: 16px; }
	.hmt-hero { padding-top: 12px; gap: 26px; }
	.hmt-facts { grid-template-columns: 1fr; gap: 14px; }
	.hmt-facts dt { font-size: 19px; }
	.hmt-controls { gap: 10px 16px; padding: 12px 14px; }
	.hmt-controls__label { width: 100%; }
	.hmt-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
	.hmt-card__body { padding: 12px 12px 14px; }
	.hmt-card__title { font-size: 14px; }
	.hmt-card__price { font-size: 15.5px; }
	.hmt-section--tint { padding-inline: 18px; border-radius: var(--hmt-radius); }
	.hmt-procon { grid-template-columns: 1fr; }
	.hmt-hero__media { aspect-ratio: 16 / 10; }
	.hmt-hero { display: flex; flex-direction: column; }
	.hmt-table, .hmt-table thead, .hmt-table tbody, .hmt-table tr, .hmt-table th, .hmt-table td { display: block; width: auto; }
	.hmt-table thead { display: none; }
	.hmt-table tr { padding: 12px 14px; border-bottom: 1px solid var(--hmt-line); }
	.hmt-table tbody th { width: auto; padding: 0 0 6px; border: 0; color: var(--hmt-ink); }
	.hmt-table td { display: flex; gap: 10px; padding: 4px 0; border: 0; background: none !important; }
	.hmt-table td::before { content: attr(data-label); flex: 0 0 34%; color: var(--hmt-muted); font-weight: 600; }
	.hmt-table td.is-current::before { color: var(--hmt-wine); }
	.hmt .hmt-steps { grid-template-columns: 1fr; }
	.hmt-steps li { padding-left: 54px; }
	.hmt .hmt-table tbody th { padding: 0 0 6px !important; }
	.hmt .hmt-table td { padding: 4px 0 !important; }
	.hmt-help__links .hmt-btn { flex: 1 1 45%; }
	.hmt .hmt-btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.hmt *, .hmt *::before, .hmt *::after { transition: none !important; }
	.hmt { scroll-behavior: auto; }
}
