/*
Theme Name: СтройМатериалыТорг
Description: A custom block theme scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.9.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stroymaterialytorg
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts a margin-block-start equal to the block gap (24px unless
   theme.json sets styles.spacing.blockGap) between the template's top-level
   sections (header part, main, footer part) — a gap that exists even when no
   markup asks for it. Zero it so sections butt edge-to-edge and own their
   vertical rhythm via padding; this does not affect block gaps inside nested
   layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* With that gap gone, main carries its own vertical padding so templates this
   theme does not author (WooCommerce shop, product, cart…) still clear the
   header and footer. A descendant selector, not a child one: WooCommerce wraps
   the single-product main in an extra group. Templates built from full-bleed
   sections opt out with is-flush and let the sections own the rhythm. */
.wp-site-blocks main {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
}
.wp-site-blocks main.is-flush {
	padding-block: 0;
}

/* =====================================================================
   СтройМатериалыТорг — витрина магазина
   Все цвета через пресеты темы, структура — рамками 1px.
   ===================================================================== */

:root {
	--smt-line: var(--wp--preset--color--line);
	--smt-control: var(--wp--preset--color--control);
	--smt-accent: var(--wp--preset--color--primary);
	--smt-accent-dark: var(--wp--preset--color--primary-dark);
	--smt-muted: var(--wp--preset--color--muted);
	--smt-radius-sm: 5px;
	--smt-radius-md: 7px;
	--smt-radius-lg: 9px;
	--smt-wrap: 1280px;
}

.wp-site-blocks {
	background: var(--wp--preset--color--background);
}

.smt-wrap {
	width: 100%;
	max-width: var(--smt-wrap);
}

p,
h1,
h2,
h3 {
	margin-block: 0;
}

.smt-muted,
.smt-note {
	color: var(--smt-muted);
}

.smt-note {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.35;
}

/* Ссылка-действие с красной стрелкой */
.smt-link > a,
a.smt-link {
	color: var(--smt-accent);
	font-weight: 700;
	text-underline-offset: 0.23em;
}

.smt-link > a::after {
	content: "\00a0→" / "";
	font-size: 0.86em;
}

.smt-link > a:hover,
a.smt-link:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------------------
   Шапка
   --------------------------------------------------------------------- */

.smt-utility {
	border-bottom: 1px solid var(--smt-line);
	font-size: 0.86rem;
	color: var(--smt-muted);
}

.smt-utility p {
	margin: 0;
	white-space: nowrap;
}

.smt-utility .smt-utility-row {
	min-height: 34px;
	gap: 10px;
}

.smt-utility-phone {
	display: none;
	font-weight: 700;
}

.smt-utility-phone a {
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.smt-utility .wp-block-navigation__container {
	gap: 0 13px;
	font-size: 0.82rem;
}

.smt-utility .wp-block-navigation-item__content {
	min-height: 34px;
	display: inline-flex;
	align-items: center;
	font-weight: 600;
	white-space: nowrap;
}

.smt-masthead {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: clamp(10px, 1.6vw, 22px);
	padding-block: 14px;
}

.smt-brand,
.smt-brand.wp-block-site-title {
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
	white-space: nowrap;
	margin: 0;
}

.smt-brand a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--smt-accent);
	text-decoration: none;
}

.smt-brand a::before {
	content: "";
	flex: none;
	width: 34px;
	height: 34px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M8.5 1.4h25.2L25.2 20H0z' fill='%23ffda49'/%3E%3Cpath d='M8.8 23.1h15L19.4 32.6h-15z' fill='%23e12618'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

.smt-masthead .wp-block-buttons {
	margin: 0;
	flex: none;
}

.smt-masthead .wp-block-button__link {
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	padding: 0 14px;
	font-size: 0.94rem;
}

.smt-search {
	flex: 1 1 auto;
	min-width: 0;
}

.smt-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--smt-control);
	border-radius: var(--smt-radius-sm);
	overflow: hidden;
	background: #fff;
}

.smt-search .wp-block-search__input {
	border: 0;
	padding: 10px 12px;
	font-size: 0.94rem;
	min-height: 46px;
}

.smt-search .wp-block-search__button {
	margin: 0;
	border: 0;
	border-left: 1px solid var(--smt-control);
	border-radius: 0;
	background: #fff;
	color: var(--wp--preset--color--text);
	font-weight: 700;
	min-height: 46px;
	padding-inline: 16px;
}

.smt-search .wp-block-search__button:hover {
	background: #fff;
	color: var(--smt-accent);
}

.smt-phone {
	margin: 0;
	font-weight: 700;
	white-space: nowrap;
}

.smt-header-contact {
	flex-shrink: 0;
	align-items: center !important;
	row-gap: 3px !important;
}

.smt-callback {
	margin: 0;
	line-height: 1.1;
	text-align: center;
}

.smt-callback-open {
	display: inline-block;
	padding-bottom: 1px;
	border-bottom: 1px dashed rgba(225, 38, 24, 0.45);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--smt-accent);
	text-decoration: none;
}

.smt-callback-open:hover,
.smt-callback-open:focus-visible {
	border-bottom-style: solid;
	color: var(--smt-accent);
}

/* Кнопка-трубка «Обратный звонок» для телефона и планшета */
.smt-callback-icon-wrap {
	display: none;
}

.smt-callback-icon {
	display: inline-flex;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	color: var(--smt-accent);
	text-decoration: none;
	transition: border-color 140ms cubic-bezier(0.23, 1, 0.32, 1), color 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.smt-callback-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.smt-callback-icon:hover,
.smt-callback-icon:focus-visible {
	border-color: var(--smt-accent);
}

.smt-phone a {
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.smt-cart .wc-block-mini-cart__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	color: var(--wp--preset--color--text);
	font-family: inherit;
	font-weight: 750;
	font-size: 0.9rem;
	cursor: pointer;
	transition: border-color 0.16s cubic-bezier(0.23, 1, 0.32, 1), color 0.16s cubic-bezier(0.23, 1, 0.32, 1);
}

.smt-cart .wc-block-mini-cart__button:hover {
	border-color: var(--smt-control);
	color: var(--smt-accent);
}

.smt-cart .wc-block-mini-cart__button::after {
	content: "Корзина";
}

.smt-cart .wc-block-mini-cart__icon {
	width: 20px;
	height: 20px;
	flex: none;
}

.smt-cart .wc-block-mini-cart__quantity-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.smt-cart .wc-block-mini-cart__amount {
	font-variant-numeric: tabular-nums;
}

.smt-cart .wc-block-mini-cart__badge {
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--smt-accent);
	color: #fff;
	font-size: 11.5px;
	font-weight: 750;
	line-height: 19px;
	text-align: center;
	transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.smt-cart .wc-block-mini-cart__badge--hidden {
	display: none;
}

.smt-catstrip {
	border-top: 1px solid var(--smt-line);
}

/* ---------------------------------------------------------------------
   Закреплённая шапка при прокрутке
   --------------------------------------------------------------------- */

.smt-sticky {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 60;
	padding-top: env(safe-area-inset-top, 0px);
	background: #fff;
	border-bottom: 1px solid var(--smt-line);
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform 0.24s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.24s linear;
}

.smt-sticky.is-visible {
	transform: none;
	visibility: visible;
}

.smt-sticky-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: clamp(8px, 1.4vw, 18px);
	margin: 0;
	padding-block: 8px;
}

.smt-sticky .smt-brand.wp-block-site-title {
	font-size: 1.05rem;
}

.smt-sticky .smt-brand a::before {
	width: 26px;
	height: 26px;
}

.smt-sticky .wp-block-buttons {
	margin: 0;
	flex: none;
}

.smt-sticky .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	font-size: 0.9rem;
}

.smt-sticky .smt-search .wp-block-search__input,
.smt-sticky .smt-search .wp-block-search__button {
	min-height: 40px;
	font-size: 0.9rem;
}

.smt-sticky .smt-search .wp-block-search__input {
	padding: 8px 12px;
}

.smt-sticky .smt-phone {
	font-size: 0.9rem;
	white-space: nowrap;
}

.smt-sticky .smt-cart .wc-block-mini-cart__button {
	min-height: 40px;
	padding: 0 10px;
}

.smt-sticky .smt-cart .wc-block-mini-cart__icon {
	width: 18px;
	height: 18px;
}

@media (max-width: 900px) {
	.smt-sticky .smt-phone {
		display: none;
	}
}

/* На телефоне и планшете в закреплённой шапке поиск уступает место звонку */
@media (max-width: 851px) {
	.smt-sticky .smt-sticky-search {
		display: none;
	}

	.smt-sticky .smt-callback-icon-wrap {
		display: block;
	}

	/* Телефон возвращаем в закреплённую шапку — между «Каталогом» и трубкой */
	.smt-sticky .smt-phone {
		display: block;
		min-width: 0;
		margin-right: auto;
		font-size: 0.78rem;
		white-space: nowrap;
	}

	.smt-sticky .smt-phone a {
		white-space: nowrap;
	}
}

@media (max-width: 600px) {
	.smt-sticky-row {
		gap: 6px;
	}

	.smt-sticky .smt-brand a {
		font-size: 0;
		gap: 0;
	}

	.smt-sticky .smt-brand.wp-block-site-title {
		font-size: 0.95rem;
	}

	.smt-sticky .smt-brand a::before {
		width: 22px;
		height: 22px;
	}

	.smt-sticky .wp-block-button__link {
		padding: 0 10px;
		font-size: 0.85rem;
	}

	.smt-sticky .smt-cart .wc-block-mini-cart__button::after {
		content: none;
	}
}

/* Совсем узкие экраны: номер не влезает — остаётся трубка */
@media (max-width: 380px) {
	.smt-sticky .smt-phone {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.smt-sticky {
		transition: none;
	}
}

.smt-catstrip .wp-block-navigation__container {
	display: flex;
	flex-wrap: wrap;
	gap: 0 25px;
}

.smt-catstrip .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	border-bottom: 2px solid transparent;
	font-size: 0.9rem;
	font-weight: 650;
	white-space: nowrap;
}

.smt-catstrip .wp-block-navigation-item__content:hover {
	color: var(--smt-accent);
	border-color: var(--smt-accent);
}

/* Меню разделов каталога: выпадающая панель подразделов */
.smt-catmenu {
	position: relative;
}

.smt-catmenu__list {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.smt-catmenu__item {
	flex: 1 0 auto;
}

.smt-catmenu__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 46px;
	padding: 0 10px;
	border-bottom: 2px solid transparent;
	color: inherit;
	font-size: 0.9rem;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}

.smt-catmenu__chev {
	flex: none;
	width: 7px;
	height: 7px;
	margin-top: -3px;
	border-right: 1.5px solid var(--smt-accent);
	border-bottom: 1.5px solid var(--smt-accent);
	transform: rotate(45deg);
	transition: transform 0.15s ease, margin 0.15s ease;
}

.smt-catmenu__item:hover > .smt-catmenu__link,
.smt-catmenu__item:focus-within > .smt-catmenu__link {
	color: var(--smt-accent);
	border-bottom-color: var(--smt-accent);
}

.smt-catmenu__item.is-open > .smt-catmenu__link .smt-catmenu__chev,
.smt-catmenu__item:focus-within > .smt-catmenu__link .smt-catmenu__chev {
	margin-top: 3px;
	transform: rotate(225deg);
}

.smt-catmenu__panel {
	display: none;
	position: absolute;
	z-index: 40;
	top: 100%;
	left: 0;
	right: 0;
	max-height: min(70vh, 560px);
	overflow: auto;
	padding: 16px 20px 20px;
	border: 1px solid var(--smt-line);
	border-radius: 0 0 9px 9px;
	background: #fff;
}

/* Панель раскрывается не от наведения, а по классу is-open: его ставит скрипт
   с задержкой, чтобы меню не мигало при случайном проведении мышью.
   С клавиатуры (Tab) панель открывается сразу — по :focus-within. */
.smt-catmenu__item.is-open > .smt-catmenu__panel,
.smt-catmenu__item:focus-within > .smt-catmenu__panel {
	display: block;
	animation: smt-catmenu-fade 0.16s ease both;
}

@keyframes smt-catmenu-fade {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.smt-catmenu__item.is-open > .smt-catmenu__panel,
	.smt-catmenu__item:focus-within > .smt-catmenu__panel {
		animation: none;
	}
}

.smt-catmenu__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	margin-bottom: 12px;
}

.smt-catmenu__title {
	color: var(--wp--preset--color--text);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.smt-catmenu__all {
	color: var(--smt-accent);
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.smt-catmenu__all:hover {
	text-decoration: underline;
}

.smt-catmenu__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	column-gap: 20px;
	row-gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.smt-catmenu__col-link {
	display: block;
	margin-bottom: 6px;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--smt-line);
	color: var(--wp--preset--color--text);
	font-size: 0.86rem;
	font-weight: 650;
	text-decoration: none;
}

.smt-catmenu__col-link:hover {
	color: var(--smt-accent);
	border-bottom-color: var(--smt-accent);
}

.smt-catmenu__sub {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.smt-catmenu__sub a {
	color: var(--wp--preset--color--muted);
	font-size: 0.83rem;
	line-height: 1.35;
	text-decoration: none;
}

.smt-catmenu__sub a:hover {
	color: var(--smt-accent);
}

@media (max-width: 920px) {
	.smt-catmenu__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.smt-catmenu__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.smt-catmenu__list::-webkit-scrollbar {
		display: none;
	}

	.smt-catmenu__item {
		flex: 0 0 auto;
	}

	.smt-catmenu__link {
		font-size: 0.87rem;
	}

	.smt-catmenu__panel,
	.smt-catmenu__chev {
		display: none;
	}
}

/* ---------------------------------------------------------------------
   Секции и первый экран
   --------------------------------------------------------------------- */

.smt-section {
	margin-top: clamp(22px, 3vw, 42px);
}

.smt-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
	margin-bottom: 13px;
}

.smt-head h2 {
	color: var(--wp--preset--color--text);
}

.smt-section:has(.smt-strip) .smt-head h2 {
	color: var(--smt-accent);
}

.smt-hero {
	display: flex;
	flex-direction: column;
	margin-top: 18px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-lg);
	overflow: hidden;
	background: #fff;
}

.smt-hero .wp-block-columns {
	margin: 0;
	gap: 0;
	align-items: stretch;
}

.smt-hero .wp-block-column {
	margin: 0;
}

.smt-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(18px, 3vw, 42px);
}

.smt-hero-kicker {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.86rem;
	font-weight: 750;
	color: var(--wp--preset--color--text);
}

.smt-hero-kicker::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--highlight);
}

.smt-hero-headline {
	margin: 8px 0 10px;
	color: var(--smt-accent);
	font-size: clamp(1.7rem, 3.14vw, 3.4rem);
	font-weight: 850;
	letter-spacing: -0.052em;
	line-height: 1.02;
}

.smt-hero-summary {
	max-width: 36ch;
	color: var(--smt-muted);
}

.smt-hero-media {
	min-height: 0;
	height: 100%;
}

.smt-hero-media img {
	width: 100%;
	height: 100%;
	min-height: clamp(252px, 24vw, 324px);
	object-fit: cover;
	object-position: 56% center;
}

.smt-hero-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-top: 0;
	padding: 9px 13px;
	border-top: 1px solid var(--smt-line);
}

.smt-hero-bar .wp-block-buttons {
	margin: 0;
}

.smt-hero-bar .wp-block-button__link {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

/* Главный баннер: карусель слайдов */
.smt-hero-slides {
	position: relative;
}

.smt-hero-slide:not(:first-child) {
	display: none;
}

.smt-hero-slides.is-mounted .smt-hero-slide {
	display: none;
}

.smt-hero-slides.is-mounted .smt-hero-slide.is-active {
	display: block;
	animation: smt-hero-fade 0.24s ease both;
}

@keyframes smt-hero-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.smt-hero-slide.smt-hero-banner {
	margin: 0 !important;
}

.smt-hero-banner img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 0;
	padding: 0;
	object-fit: contain;
}

.smt-hero-controls {
	display: flex;
	align-items: center;
	gap: 6px;
}

.smt-hero-controls[hidden] {
	display: none;
}

.smt-hero-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--smt-control);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	color: var(--wp--preset--color--text);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.smt-hero-step:hover {
	border-color: var(--smt-accent);
	color: var(--smt-accent);
}

.smt-hero-step:focus-visible {
	outline: 2px solid var(--smt-accent);
	outline-offset: 2px;
}

.smt-hero-count {
	min-width: 52px;
	color: var(--smt-muted);
	font-size: 0.82rem;
	font-variant-numeric: tabular-nums;
	text-align: center;
	white-space: nowrap;
}

.smt-hero-status {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (max-width: 600px) {
	.smt-hero-bar .smt-note {
		display: none;
	}
}

/* ---------------------------------------------------------------------
   Ленты и карточки
   --------------------------------------------------------------------- */

.smt-strip {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding-bottom: 4px;
}

.smt-strip > * {
	scroll-snap-align: start;
	flex: 0 0 calc((100% - 36px) / 4);
	min-width: 0;
	margin: 0;
}

.smt-strip:has(> .wp-block-image) > * {
	flex: 0 0 calc((100% - 12px) / 2);
}

.smt-strip--wide > * {
	flex-basis: calc((100% - 24px) / 3);
}

.smt-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	overflow: hidden;
	transition: border-color 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.smt-card:hover {
	border-color: var(--smt-control);
}

.smt-card .wp-block-image {
	margin: 0;
	border-bottom: 1px solid var(--smt-line);
}

.smt-card .wp-block-image img {
	width: 100%;
	height: 140px;
	object-fit: contain;
	padding: 10px;
	box-sizing: border-box;
}

.smt-card-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 13px;
	flex: 1 1 auto;
}

.smt-card-title {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.23;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--text);
	margin: 0;
}

.smt-card-title a {
	color: inherit;
	text-decoration: none;
}

.smt-card:hover .smt-card-title a {
	color: var(--smt-accent);
}

.smt-card-action {
	margin-top: auto;
	padding-top: 8px;
	font-size: 0.89rem;
}

.smt-cat-card .wp-block-image img {
	height: clamp(88px, 10vw, 152px);
	object-fit: cover;
	padding: 0;
}

.smt-cat-card .smt-card-body {
	justify-content: center;
	align-items: center;
	text-align: center;
	display: flex;
}

.smt-cat-card .smt-card-title {
	font-size: 1rem;
}

/* ---------------------------------------------------------------------
   Доставка, о компании, отзывы
   --------------------------------------------------------------------- */

.smt-delivery-card {
	height: 100%;
	padding: 13px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	background: #fff;
}

.smt-delivery-card p {
	color: var(--smt-muted);
}

.smt-delivery-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.smt-delivery-head .wp-block-image {
	margin: 0;
	flex: none;
}

.smt-delivery-head img {
	width: clamp(48px, 6vw, 64px);
	height: auto;
}

.smt-delivery-title {
	font-size: 1.02rem;
	font-weight: 750;
	line-height: 1.2;
	margin: 0;
}

.smt-about {
	padding: clamp(16px, 2.2vw, 28px);
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	background: #fff;
}

.smt-about .wp-block-columns {
	margin-bottom: 0;
	gap: clamp(14px, 2.4vw, 32px);
}

.smt-about p {
	color: var(--smt-muted);
}

.smt-about p + p {
	margin-top: 10px;
}

.smt-about h2 {
	margin-bottom: 14px;
}

.smt-about-photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 43%;
	border-radius: var(--smt-radius-sm);
}

.smt-review {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	background: #fff;
}

.smt-review blockquote,
.smt-review .smt-quote {
	margin: 0 0 10px;
	font-size: 1.06rem;
	color: var(--wp--preset--color--text);
}

.smt-review cite {
	font-style: normal;
	font-size: 0.9rem;
	color: var(--smt-muted);
}

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

.smt-faq .wp-block-details {
	padding: 0 14px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	background: #fff;
}

.smt-faq .wp-block-details + .wp-block-details {
	margin-top: 8px;
}

.smt-faq summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	min-height: 46px;
	display: flex;
	align-items: center;
	padding: 12px 34px 12px 0;
	font-weight: 700;
}

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

.smt-faq summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-52%);
	color: var(--smt-accent);
	font-size: 1.15rem;
	line-height: 1;
}

.smt-faq details[open] > summary::after {
	content: "−";
}

.smt-faq summary:hover {
	color: var(--smt-accent);
}

.smt-faq .wp-block-details p {
	padding-bottom: 13px;
	color: var(--smt-muted);
}

/* ---------------------------------------------------------------------
   Заявка
   --------------------------------------------------------------------- */

.smt-estimate {
	margin-top: clamp(20px, 2.4vw, 32px);
	padding: clamp(18px, 2.6vw, 22px);
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	background: #fff;
}

.smt-estimate .wp-block-columns {
	margin: 0;
	gap: clamp(16px, 2.4vw, 22px);
	align-items: start;
}

.smt-estimate p {
	color: var(--smt-muted);
}

.smt-estimate p + p {
	margin-top: 8px;
}

.smt-form p {
	margin: 0 0 12px;
}

.smt-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 5px;
	color: var(--wp--preset--color--text);
}

.smt-form input[type="tel"],
.smt-form input[type="text"],
.smt-form input[type="email"],
.smt-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 11px;
	border: 1px solid var(--smt-control);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	color: var(--wp--preset--color--text);
	font: inherit;
	font-weight: 400;
}

.smt-form input {
	min-height: 44px;
}

.smt-form textarea {
	resize: vertical;
}

.smt-form .wp-block-jetpack-input::placeholder {
	color: #9a9a9a;
	opacity: 1;
}

/* Согласие на обработку персональных данных: флажок в строку с текстом */
.smt-form .grunion-field-consent-wrap {
	margin: 2px 0 16px;
}

.smt-form label.consent {
	display: block;
	margin: 0;
	padding-left: 26px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
}

.smt-form label.consent input[type="checkbox"] {
	float: left;
	width: 16px;
	height: 16px;
	min-height: 0;
	margin: 2px 0 0 -26px;
	accent-color: var(--smt-accent);
	cursor: pointer;
}

.smt-form label.consent a {
	color: var(--smt-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.smt-form label.consent a:hover {
	text-decoration: none;
}

.smt-form .grunion-field-consent-wrap .contact-form__input-error {
	margin-top: 6px;
	font-size: 12.5px;
}

.smt-form .grunion-field:focus,
.smt-form .grunion-field:focus-visible {
	border-color: var(--smt-accent);
	outline: 3px solid var(--smt-accent);
	outline-offset: 1px;
}

.smt-form .grunion-field-label .grunion-label-required {
	margin-left: 4px;
	font-size: 11.5px;
	font-weight: 400;
	color: var(--wp--preset--color--muted);
}

/* Экран «заявка отправлена» */
.contact-form-submission .go-back-message {
	margin: 0 0 10px;
}

.contact-form-submission .go-back-message .link {
	font-size: 13px;
	font-weight: 600;
	color: var(--smt-accent);
	text-decoration: none;
	cursor: pointer;
}

.contact-form-submission .go-back-message .link:hover {
	text-decoration: underline;
}

.contact-form-submission .smt-form-sent {
	margin: 0 0 6px;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--wp--preset--color--text);
}

.contact-form-submission .jetpack_forms_contact-form-success-summary {
	margin: 0;
	padding: 12px 0;
	border-top: 1px solid var(--smt-line);
	font-size: 13.5px;
}

.contact-form-submission .jetpack_forms_contact-form-success-summary:last-child {
	padding-bottom: 0;
}

.contact-form-submission .field-name-wrapper {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 4px;
}

.contact-form-submission .field-type-icon {
	display: flex;
	width: 14px;
	height: 14px;
	color: var(--wp--preset--color--muted);
}

.contact-form-submission .field-type-icon svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.contact-form-submission .field-name {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.contact-form-submission .jetpack_forms_contact-form-success-summary .field-value {
	margin-left: 20px;
	padding-left: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--wp--preset--color--text);
}

.contact-form-submission .field-value .emoji {
	display: none;
}

/* ---------------------------------------------------------------------
   Футер
   --------------------------------------------------------------------- */

.smt-footer {
	border-top: 1px solid var(--smt-line);
	padding-block: 28px 18px;
	background: var(--wp--preset--color--background);
}

.smt-footer .smt-brand {
	font-size: 0.95rem;
	margin-bottom: 14px;
}

.smt-footer .smt-brand a::before {
	width: 26px;
	height: 26px;
}

.smt-footer h2 {
	font-size: 1.12rem;
	letter-spacing: -0.01em;
	margin-bottom: 10px;
}

.smt-footer p,
.smt-footer address {
	color: var(--smt-muted);
	font-style: normal;
}

.smt-footer p + p,
.smt-footer address + p {
	margin-top: 6px;
}

.smt-footer .wp-block-columns {
	margin-bottom: 0;
}

.smt-footer .smt-phone {
	display: block;
	width: fit-content;
}

.smt-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.smt-footer li a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	color: var(--smt-muted);
	text-decoration: none;
}

.smt-footer li a:hover {
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.smt-footer-meta {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0 20px;
	margin-top: 24px;
	padding-top: 12px;
	border-top: 1px solid var(--smt-line);
	font-size: 0.86rem;
}

.smt-footer-meta a {
	color: var(--smt-muted);
	display: inline-flex;
	align-items: center;
	min-height: 30px;
}

/* ---------------------------------------------------------------------
   Адаптив
   --------------------------------------------------------------------- */

/* ---------------------------------------------------------------------
   Внутренние страницы
   --------------------------------------------------------------------- */

.smt-page {
	padding-block: clamp(16px, 2.6vw, 30px) clamp(24px, 4vw, 46px);
}

.smt-crumbs {
	margin: 0 0 12px;
	font-size: 0.94rem;
	color: var(--wp--preset--color--muted);
}

.smt-crumbs a {
	color: inherit;
	text-decoration: none;
}

.smt-crumbs a:hover {
	color: var(--smt-accent);
}

.smt-page-head {
	margin: 0 0 clamp(20px, 3vw, 30px);
	padding-bottom: clamp(14px, 2vw, 20px);
	border-bottom: 1px solid var(--smt-line);
}

.smt-page-head h1 {
	margin: 0 0 10px;
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	letter-spacing: -0.04em;
}

.smt-lead {
	max-width: 64ch;
	margin: 0;
	font-size: 1.04rem;
	color: var(--wp--preset--color--text);
}

.smt-page h2 {
	margin: 34px 0 10px;
	font-size: clamp(1.24rem, 1.9vw, 1.55rem);
	letter-spacing: -0.02em;
}

.smt-page h3 {
	margin: 24px 0 8px;
	font-size: 1.06rem;
}

.smt-page p,
.smt-page li {
	color: var(--wp--preset--color--muted);
}

.smt-page ul,
.smt-page ol {
	margin: 0 0 14px;
	padding-left: 20px;
}

.smt-page li {
	margin: 5px 0;
	line-height: 1.55;
}

.smt-page a {
	color: var(--smt-accent);
	text-underline-offset: 2px;
}

.smt-page .wp-block-table {
	margin: 0 0 18px;
	overflow-x: auto;
}

.smt-page table {
	font-size: 0.9rem;
}

.smt-page table th {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--text);
	font-weight: 750;
	text-align: left;
	white-space: nowrap;
}

.smt-page table td,
.smt-page table th {
	border-color: var(--smt-line);
	padding: 7px 10px;
	vertical-align: top;
}

.smt-page-note {
	margin: 26px 0 0;
	padding: 16px 18px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
}

.smt-page-note p:last-child {
	margin-bottom: 0;
}

.smt-contact-card {
	height: 100%;
	padding: 16px 18px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	background: #fff;
}

.smt-contact-card h2,
.smt-contact-card h3 {
	margin-top: 0;
}

/* сетка производителей */
.smt-page .smt-brands {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
	gap: 8px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.smt-brands li {
	margin: 0;
	line-height: 1;
}

.smt-brands a {
	display: block;
	padding: 11px 12px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	color: var(--wp--preset--color--text);
	font-size: 0.9rem;
	font-weight: 650;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: border-color 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.smt-brands a:hover {
	border-color: var(--smt-control);
	color: var(--smt-accent);
}

@media (max-width: 900px) {
	.smt-masthead {
		flex-wrap: wrap;
	}

	.smt-search {
		flex-basis: 100%;
		order: 9;
	}
}

@media (max-width: 851px) {
	.smt-masthead.smt-masthead {
		display: grid;
		grid-template-columns: auto 1fr auto auto;
		grid-template-areas:
			"brand brand call cart"
			"catalog search search search";
		align-items: center;
		gap: 10px;
	}

	.smt-masthead .smt-brand {
		grid-area: brand;
		justify-self: start;
	}

	.smt-masthead .wp-block-buttons {
		grid-area: catalog;
		justify-self: start;
	}

	.smt-masthead .smt-search {
		grid-area: search;
		flex-basis: auto;
		order: 0;
	}

	.smt-masthead .smt-cart {
		grid-area: cart;
		justify-self: end;
	}

	.smt-masthead .smt-callback-icon-wrap {
		display: block;
		grid-area: call;
		justify-self: end;
	}

	.smt-masthead .smt-phone {
		display: none;
	}

	.smt-masthead .smt-header-contact {
		display: none;
	}

	.smt-utility .smt-utility-row {
		flex-wrap: nowrap;
	}

	.smt-utility .wp-block-navigation,
	.smt-utility .smt-utility-hours {
		display: none;
	}

	.smt-utility-phone {
		display: block;
	}

	.smt-catstrip .wp-block-navigation {
		overflow: hidden;
	}

	.smt-catstrip .wp-block-navigation__container {
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 0 18px;
		scrollbar-width: none;
	}

	.smt-catstrip .wp-block-navigation__container::-webkit-scrollbar {
		display: none;
	}

	.smt-strip > * {
		flex-basis: calc((100% - 12px) / 2);
	}

	.smt-strip--wide > * {
		flex-basis: calc((100% - 12px) / 2);
	}

	.smt-hero .wp-block-columns {
		flex-direction: column;
	}

	.smt-hero-copy {
		padding: 20px 18px 22px;
	}

	.smt-hero-media img {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 611px) {
	.smt-utility .smt-utility-hours {
		display: none;
	}

	.smt-brand,
	.smt-brand.wp-block-site-title {
		font-size: 1rem;
	}

	.smt-brand a::before {
		width: 24px;
		height: 24px;
	}

	.smt-strip > * {
		flex-basis: calc(100% - 22px);
	}

	.smt-strip--wide > * {
		flex-basis: calc(100% - 22px);
	}

	.smt-strip:has(> .wp-block-image) > * {
		flex-basis: calc(100% - 22px);
	}

	.smt-card .wp-block-image img {
		height: 120px;
	}

	.smt-hero-headline {
		font-size: clamp(1.7rem, 7.2vw, 2.3rem);
	}

	.smt-footer-meta {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.smt-card,
	.smt-card * {
		transition: none;
	}
}

/* Cookie notice */
.smt-cookie {
	position: fixed;
	left: 50%;
	bottom: max(14px, env(safe-area-inset-bottom));
	z-index: 90;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 18px;
	width: min(760px, calc(100vw - 24px));
	margin: 0;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	box-shadow: 0 20px 44px -20px rgba(24, 24, 24, 0.4);
	transform: translateX( -50%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.smt-cookie.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.smt-cookie p {
	flex: 1 1 320px;
	min-width: 0;
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.smt-cookie p a {
	color: var(--smt-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.smt-cookie .wp-block-buttons {
	flex: 0 0 auto;
	margin: 0;
	gap: 8px;
}

.smt-cookie .wp-block-button {
	margin: 0;
}

.smt-cookie .wp-block-button__link {
	padding: 9px 16px;
	font-size: 0.78rem;
	white-space: nowrap;
}

.smt-cookie-decline .wp-block-button__link {
	background: #fff;
	color: var(--wp--preset--color--text);
	border: 1px solid var(--smt-line);
}

.smt-cookie-decline .wp-block-button__link:hover {
	border-color: var(--smt-accent);
	color: var(--smt-accent);
}

@media (max-width: 700px) {
	.smt-cookie {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 14px 16px;
	}

	.smt-cookie .wp-block-buttons {
		flex-wrap: wrap;
	}

	.smt-cookie p {
		flex: 0 0 auto;
	}

	.smt-cookie .wp-block-button__link {
		flex: 1 1 auto;
	}
}

/* ---------------------------------------------------------------------
   Каталог: сетка разделов
   --------------------------------------------------------------------- */

.smt-catpage {
	padding-block: 20px 48px;
}

.smt-catpage > * + * {
	margin-block-start: 18px;
}

.smt-catpage .woocommerce-breadcrumb {
	margin: 0;
	font-size: 0.94rem;
	color: var(--wp--preset--color--muted);
}

/* Наличие в карточке каталога — строкой над ценой */
.smt-cat-products .smt-stock {
	margin: 4px 0 6px !important;
	font-size: 12px;
	font-weight: 600;
	text-align: left;
}

.smt-catpage .woocommerce-breadcrumb a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.smt-catpage .woocommerce-breadcrumb a:hover {
	color: var(--smt-accent);
}

.smt-cathead {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.smt-cathead .wp-block-query-title {
	margin: 0;
	letter-spacing: -0.035em;
	line-height: 1.06;
}

.smt-cathead .wp-block-term-description p {
	margin: 0;
	max-width: 72ch;
	color: var(--wp--preset--color--muted);
}

.smt-catgrid-wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.smt-catgrid__heading {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.smt-catgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
	gap: 10px;
}

.smt-catgrid__item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	overflow: hidden;
	text-decoration: none;
	color: var(--wp--preset--color--text);
	transition: border-color 140ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.smt-catgrid__item:hover {
	border-color: var(--smt-control);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.smt-catgrid__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	background: #fff;
	border-bottom: 1px solid var(--smt-line);
	overflow: hidden;
}

.smt-catgrid__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	padding: 8px;
	box-sizing: border-box;
}

.smt-catgrid__letter {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 850;
	line-height: 1;
	color: var(--smt-line);
}

.smt-catgrid__title {
	padding: 11px 12px;
	font-size: 0.93rem;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -0.01em;
	transition: color 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.smt-catgrid__item:hover .smt-catgrid__title {
	color: var(--smt-accent);
}

.smt-catgrid__count {
	margin-top: auto;
	padding: 0 12px 11px;
	font-size: 0.78rem;
	line-height: 1.2;
	color: var(--wp--preset--color--muted);
}

/* Блок с товарами внутри архивного шаблона */

.smt-cat-products {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.smt-cat-products .woocommerce-result-count,
.smt-cat-products .woocommerce-ordering {
	margin: 0;
}

/* Панель над сеткой: сколько найдено слева, сортировка справа */
.smt-cat-products .wp-block-group:has(> .wc-block-catalog-sorting) {
	align-items: center;
}

.smt-cat-products .woocommerce-result-count {
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.smt-cat-products .wc-block-product-results-count .woocommerce-result-count {
	font-size: 13px !important;
}

.smt-cat-products .wc-block-catalog-sorting,
.smt-cat-products .wc-block-catalog-sorting.has-small-font-size {
	font-size: 13.5px !important;
	line-height: 1.2;
}

.smt-cat-products .wc-block-catalog-sorting select.orderby {
	height: 40px;
	max-width: 240px;
	padding: 0 34px 0 12px;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--wp--preset--color--text);
	background-color: #fff;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23242424' stroke-width='1.4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	appearance: none;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.smt-cat-products .wc-block-catalog-sorting select.orderby:hover {
	border-color: var(--smt-control);
}

.smt-cat-products .wc-block-catalog-sorting select.orderby:focus-visible {
	outline: 3px solid var(--smt-accent);
	outline-offset: 1px;
}

/* На телефоне строка не помещается — разрешаем перенос */
@media (max-width: 600px) {
	.smt-cat-products .wp-block-group:has(> .wc-block-catalog-sorting) {
		flex-wrap: wrap;
		gap: 8px;
	}

	.smt-cat-products .wc-block-catalog-sorting,
	.smt-cat-products .wc-block-catalog-sorting select.orderby {
		width: 100%;
		max-width: 100%;
	}
}

/* Страница 404: узкая колонка и спокойный поиск */
.smt-404 {
	max-width: 720px;
	margin-inline: auto;
	padding-block: 56px 72px;
}

.smt-404 > .smt-page-title {
	margin: 0;
	font-size: clamp(26px, 4vw, 34px);
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.smt-404 .smt-404-lead {
	margin-top: 10px;
	color: var(--wp--preset--color--muted);
}

.smt-404 .wp-block-search {
	max-width: 430px;
	margin-top: 24px;
}

.smt-404 .wp-block-search__input {
	height: 44px;
	padding: 0 14px;
	font-size: 14px;
	border: 1px solid var(--smt-control);
	border-radius: var(--smt-radius-sm);
}

.smt-404 .wp-block-search__input:focus-visible {
	outline: 3px solid var(--smt-accent);
	outline-offset: 1px;
}

.smt-404 .wp-block-search__button {
	height: 44px;
	margin-left: 8px;
}

.smt-404 .wp-block-buttons {
	margin-top: 22px;
}

.smt-404 .smt-404-help {
	margin-top: 24px;
	font-size: 13.5px;
	color: var(--wp--preset--color--muted);
}

/* Пагинация под сеткой товаров */
.smt-cat-products .wp-block-query-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--smt-line);
}

.smt-cat-products .wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.smt-cat-products .wp-block-query-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 38px;
	height: 38px;
	padding: 0;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1;
	color: var(--wp--preset--color--text);
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.smt-cat-products .wp-block-query-pagination .page-numbers:hover {
	color: var(--smt-accent);
	border-color: var(--smt-control);
}

.smt-cat-products .wp-block-query-pagination .page-numbers:focus-visible {
	outline: 3px solid var(--smt-accent);
	outline-offset: 1px;
}

.smt-cat-products .wp-block-query-pagination .page-numbers.current {
	color: #fff;
	background: var(--wp--preset--color--text);
	border-color: var(--wp--preset--color--text);
	font-weight: 700;
	cursor: default;
}

.smt-cat-products .wp-block-query-pagination .page-numbers.dots {
	min-width: 0;
	padding: 0 4px;
	color: var(--wp--preset--color--muted);
	background: transparent;
	border-color: transparent;
}

.smt-cat-products .wp-block-query-pagination .wp-block-query-pagination-previous,
.smt-cat-products .wp-block-query-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	height: 38px;
	padding: 0 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--text);
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.smt-cat-products .wp-block-query-pagination .wp-block-query-pagination-previous:hover,
.smt-cat-products .wp-block-query-pagination .wp-block-query-pagination-next:hover {
	color: var(--smt-accent);
	border-color: var(--smt-control);
}

@media (max-width: 600px) {
	.smt-cat-products .wp-block-query-pagination .page-numbers {
		min-width: 34px;
		height: 34px;
		padding: 0;
		font-size: 13px;
	}

	.smt-cat-products .wp-block-query-pagination .wp-block-query-pagination-previous,
	.smt-cat-products .wp-block-query-pagination .wp-block-query-pagination-next {
		height: 34px;
		padding: 0 10px;
		font-size: 12.5px;
	}
}

@media (max-width: 700px) {
	.smt-catgrid {
		grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
		gap: 8px;
	}

	.smt-catgrid__title {
		padding: 9px 10px;
		font-size: 0.84rem;
	}

	.smt-catgrid__media img {
		padding: 6px;
	}
}

/* ==================== Фильтры каталога ==================== */

.smt-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 24px;
	padding: 11px 14px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	background: var(--wp--preset--color--surface);
}

.smt-filters__title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 750;
	letter-spacing: -0.01em;
}

.smt-filters .wp-block-woocommerce-product-filters {
	margin: 0;
}

/* Кнопка, открывающая панель */

.smt-filters .wc-block-product-filters__open-overlay {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 7px 14px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	color: var(--wp--preset--color--text);
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: color 140ms cubic-bezier(0.23, 1, 0.32, 1),
		border-color 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.smt-filters .wc-block-product-filters__open-overlay:hover {
	border-color: var(--smt-accent);
	color: var(--smt-accent);
}

.smt-filters .wc-block-product-filters__open-overlay:focus-visible {
	outline: 2px solid var(--smt-accent);
	outline-offset: 2px;
}

.smt-filters .wc-block-product-filters__open-overlay svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Сама выдвижная панель */

.wc-block-product-filters__overlay-dialog {
	width: min(92vw, 430px) !important;
	padding: 0 0 20px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--text);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
	overflow-y: auto;
}

.wc-block-product-filters__overlay-header {
	padding: 14px 18px;
	border-bottom: 1px solid var(--smt-line);
	align-items: center;
}

.wc-block-product-filters__close-overlay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
	transition: color 140ms cubic-bezier(0.23, 1, 0.32, 1),
		border-color 140ms cubic-bezier(0.23, 1, 0.32, 1);
}

.wc-block-product-filters__close-overlay:hover {
	border-color: var(--smt-accent);
	color: var(--smt-accent);
}

.wc-block-product-filters__close-overlay svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.wc-block-product-filters__overlay-content {
	padding: 0 18px;
	gap: 14px;
	--wc-product-filter-checkbox-list-option-element-border: #cfcfcf;
	--wc-product-filter-checkbox-list-option-element-selected: var(--smt-accent);
	--wc-product-filter-price-slider: var(--smt-accent);
	--wc-product-filter-price-slider-handle: #fff;
	--wc-product-filter-price-slider-handle-border: var(--smt-accent);
}

.wc-block-product-filters__overlay-content h3 {
	margin: 0 0 9px;
	font-size: 0.94rem;
	font-weight: 750;
	letter-spacing: -0.01em;
}

.wp-block-woocommerce-product-filter-attribute {
	padding-top: 14px;
	border-top: 1px solid var(--smt-line);
}

.wc-block-product-filter-checkbox-list__items {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.wc-block-product-filter-checkbox-list__label {
	font-size: 0.92rem;
	line-height: 1.3;
	cursor: pointer;
}

.wc-block-product-filter-checkbox-list__show-more-button {
	margin-top: 8px;
	color: var(--wp--preset--color--muted);
	font-size: 0.82rem;
	font-weight: 650;
	text-decoration: none;
	border-bottom: 1px dashed var(--smt-line);
}

.wc-block-product-filter-checkbox-list__show-more-button:hover {
	color: var(--smt-accent);
	border-bottom-color: currentColor;
}

/* Цена: поля ввода */

.wc-block-product-filter-price-slider .text input[type="text"] {
	max-width: 84px;
	padding: 7px 7px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	font-family: inherit;
	font-size: 0.85rem;
	color: var(--wp--preset--color--text);
}

.wc-block-product-filters__apply,
.wc-block-product-filters .wc-block-components-button:not(.is-link) {
	border-radius: var(--smt-radius-sm);
	background: var(--smt-accent);
	color: #fff;
	font-weight: 750;
}

@media (max-width: 700px) {
	.smt-filters {
		padding: 10px 12px;
		gap: 8px 10px;
	}

	.smt-filters__title {
		font-size: 0.9rem;
	}

	.smt-filters .wp-block-woocommerce-product-filters {
		flex: 1 1 100%;
	}

	.smt-filters .wc-block-product-filters__open-overlay {
		width: 100%;
		justify-content: center;
	}

	.wc-block-product-filters__overlay-content {
		padding: 0 14px;
	}
}

/* Таблица характеристик в карточке товара */

.woocommerce table.woocommerce-product-attributes {
	width: 100%;
	max-width: 720px;
	margin: 4px 0 24px;
	border-collapse: collapse;
	border-top: 0;
	font-size: 0.92rem;
}

.woocommerce table.woocommerce-product-attributes th,
.woocommerce table.woocommerce-product-attributes td {
	width: auto;
	padding: 9px 12px;
	border: 0;
	border-bottom: 1px solid var(--smt-line);
	background: none !important;
	text-align: left;
	vertical-align: top;
}

.woocommerce table.woocommerce-product-attributes th {
	width: 42%;
	font-weight: 650;
	color: var(--wp--preset--color--muted);
}

.woocommerce table.woocommerce-product-attributes td {
	font-weight: 600;
}

.woocommerce table.woocommerce-product-attributes td p {
	margin: 0;
}

.woocommerce table.woocommerce-product-attributes tr:first-child th,
.woocommerce table.woocommerce-product-attributes tr:first-child td {
	border-top: 1px solid var(--smt-line);
}

/* ==================== Карточка товара в каталоге (Product Collection) ==================== */

.wc-block-product-template .wc-block-product {
	display: flex;
	flex-direction: column;
	padding: 12px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	background: #fff;
	transition: border-color 0.16s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.16s cubic-bezier(0.23, 1, 0.32, 1);
}

.wc-block-product-template .wc-block-product:hover {
	border-color: var(--smt-control);
}

/* Фото */

.wc-block-product .wc-block-components-product-image {
	margin: 0 0 12px;
	border-radius: var(--smt-radius-sm);
	overflow: hidden;
	background: #fff;
}

.wc-block-product .wc-block-components-product-image a {
	display: block;
}

.wc-block-product .wc-block-components-product-image img {
	display: block;
	width: 100%;
	transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.03);
}

/* Название: чёрное, мельче цены, слева, ровно три строки */

.wc-block-product .wp-block-post-title,
.wc-block-product .wc-block-components-product-title {
	margin: 0 0 8px;
	height: calc(1.4em * 3);
	font-size: 13.5px !important;
	font-weight: 600;
	line-height: 1.4 !important;
	letter-spacing: -0.1px;
	color: var(--wp--preset--color--text);
	text-align: left;
	display: -webkit-box !important;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wc-block-product .wp-block-post-title a,
.wc-block-product .wc-block-components-product-title a {
	color: inherit;
	text-decoration: none;
}

.wc-block-product:hover .wp-block-post-title a,
.wc-block-product:hover .wc-block-components-product-title a {
	color: var(--smt-accent);
}

/* Цена: главный акцент карточки */

.wc-block-product .wc-block-components-product-price {
	margin: 0 0 12px !important;
	font-size: 17px !important;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -0.2px;
	color: var(--wp--preset--color--text);
	text-align: left;
}

.wc-block-product .wc-block-components-product-price .woocommerce-Price-amount {
	font-weight: 750;
	color: inherit;
}

.wc-block-product .wc-block-components-product-price del,
.wc-block-product .wc-block-components-product-price del .woocommerce-Price-amount {
	font-size: 13px;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

.wc-block-product .wc-block-components-product-price ins {
	text-decoration: none;
}

/* Кнопка — внизу карточки, на всю ширину */

.wc-block-product .wp-block-woocommerce-product-button,
.wc-block-product .wc-block-components-product-button {
	margin: auto 0 0 !important;
	width: 100%;
	gap: 8px;
}

.wc-block-product .wc-block-components-product-button .wp-block-button__link {
	width: 100%;
	justify-content: center;
	padding: 11px 14px;
	border-radius: var(--smt-radius-sm);
	font-size: 13px;
	font-weight: 700;
}

/* Ссылка «Просмотр корзины» после добавления не нужна: товар уходит в мини-корзину,
   а лишняя строка ломала высоту карточки и поднимала кнопку вверх. */
.wc-block-product .wc-block-components-product-button .added_to_cart,
.wc-block-product .wc-block-components-product-button span[data-wp-bind--hidden="!state.displayViewCart"] {
	display: none !important;
}

/* ==================== Выдвижная корзина ==================== */

.wc-block-components-drawer__screen-overlay {
	background: rgba(36, 36, 36, 0.45);
}

.wc-block-components-drawer {
	border-radius: var(--smt-radius-lg) 0 0 var(--smt-radius-lg);
	box-shadow: -18px 0 40px rgba(36, 36, 36, 0.18);
}

.wc-block-mini-cart__title {
	font-size: 1rem;
	font-weight: 750;
	letter-spacing: -0.2px;
}

.wc-block-mini-cart .wc-block-components-product-name {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--wp--preset--color--text);
}

.wc-block-mini-cart .wc-block-components-product-price,
.wc-block-mini-cart .wc-block-components-product-price .woocommerce-Price-amount {
	font-size: 14px;
	font-weight: 750;
	color: var(--wp--preset--color--text);
}

.wc-block-mini-cart__footer .wc-block-components-button {
	width: 100%;
	justify-content: center;
	padding: 12px 14px;
	border-radius: var(--smt-radius-sm);
	font-size: 14px;
	font-weight: 700;
}

.wp-block-woocommerce-mini-cart-checkout-button-block .wc-block-components-button {
	background: var(--smt-accent);
	color: #fff;
}

.wp-block-woocommerce-mini-cart-cart-button-block .wc-block-components-button {
	background: #fff;
	border: 1px solid var(--smt-line);
	color: var(--wp--preset--color--text);
}

@media (max-width: 700px) {
	.wc-block-product .wp-block-post-title,
	.wc-block-product .wc-block-components-product-title {
		font-size: 12.5px !important;
		height: calc(1.4em * 2);
		-webkit-line-clamp: 2;
	}

	.wc-block-product .wc-block-components-product-price {
		font-size: 15px !important;
	}

	.wc-block-product .wc-block-components-product-button .wp-block-button__link {
		padding: 9px 8px;
		font-size: 12px;
	}

	.smt-cart .wc-block-mini-cart__button::after {
		display: none;
	}
}

/* ==================== Карточка товара ==================== */

.smt-product-main {
	align-items: flex-start;
	gap: 48px;
}

/* Ширина колонок задаётся атрибутом width у блоков колонок. */
.smt-product-media .wp-block-woocommerce-product-image-gallery {
	max-width: 100%;
}

/* Галерея */
.smt-product .woocommerce-product-gallery {
	box-sizing: border-box;
	max-width: 100%;
	background: #fff;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	padding: 14px;
}

.smt-product .woocommerce-product-gallery__image img {
	border-radius: var(--smt-radius-sm);
	object-fit: contain;
}

.smt-product .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
}

.smt-product .flex-control-thumbs li {
	width: calc(20% - 7px);
	float: none;
	margin: 0;
}

.smt-product .flex-control-thumbs img {
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	padding: 3px;
	background: #fff;
	opacity: 0.75;
	transition: opacity 0.15s ease, border-color 0.15s ease;
}

.smt-product .flex-control-thumbs img:hover,
.smt-product .flex-control-thumbs img.flex-active {
	opacity: 1;
	border-color: var(--smt-control);
}

.smt-product .woocommerce-product-gallery__trigger {
	border-radius: 999px;
	opacity: 0.7;
	z-index:50;
}

/* Название и цена */
.smt-product-title.wp-block-post-title {
	margin: 0 0 12px;
	font-size: clamp(19px, 2.1vw, 26px) !important;
	font-weight: 800;
	line-height: 1.24;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--text);
}

.smt-product .smt-product-price {
	margin: 0 0 16px !important;
	font-size: 30px !important;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--text);
}

.smt-product .smt-product-price .wc-block-components-product-price,
.smt-product .smt-product-price .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.smt-product .smt-product-price .woocommerce-Price-currencySymbol {
	margin-left: 2px;
	font-size: 0.62em;
	font-weight: 700;
}

.smt-product .smt-product-price del {
	font-size: 15px;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

.smt-product .smt-product-price ins {
	text-decoration: none;
}

.smt-product-lead.wp-block-post-excerpt {
	margin: 0 0 16px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
}

.smt-product-lead .wp-block-post-excerpt__more-text {
	margin: 6px 0 0;
}

/* Покупка */
.smt-product-buybox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	/* 96 поля количества + 10 зазор + 210 кнопка + 2 × 16 поля + 2 рамка */
	box-sizing: border-box;
	width: 350px;
	max-width: 100%;
	background: #fff;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-md);
	padding: 14px 16px;
}

/* Остаток показывается строкой наличия в блоке характеристик, а не здесь. */
.smt-product-buybox .stock {
	display: none;
}

/* Сама форма не создаёт своего бокса: поле количества и кнопка — прямые элементы панели,
   поэтому рамка облегает их с одинаковыми полями слева и справа. */
.smt-product-buybox form.cart {
	display: contents;
	margin: 0 !important;
	padding: 0;
}

/* У form.cart у WooCommerce есть clearfix-псевдоэлементы; при display: contents они
   становятся ещё двумя пустыми элементами панели и добавляют по 10 px с каждой стороны. */
.smt-product-buybox form.cart::before,
.smt-product-buybox form.cart::after {
	content: none !important;
	display: none !important;
}

.smt-product-buybox .quantity {
	flex: 0 0 96px;
	min-width: 0;
	margin: 0 !important;
}

.smt-product-buybox .quantity .qty {
	width: 100%;
	min-width: 0;
	height: 44px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	padding: 0 10px;
	font-size: 14px;
	font-weight: 600;
	background: #fff;
}

.smt-product-buybox .single_add_to_cart_button {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 210px;
	min-height: 44px;
	padding: 12px 26px;
	border: 0;
	border-radius: var(--smt-radius-sm);
	background: var(--smt-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.smt-product-buybox .single_add_to_cart_button:hover {
	background: #c11f13;
	color: #fff;
}

@media (max-width: 781px) {
	.smt-product-buybox {
		width: 100%;
	}

	.smt-product-buybox .quantity {
		flex: 1 1 96px;
	}

	.smt-product-buybox .single_add_to_cart_button {
		flex: 1 1 100%;
	}
}

/* Артикул, бренд, раздел */
.smt-product-meta {
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--wp--preset--color--muted);
}

.smt-product-meta > * {
	margin: 0;
}

.smt-product-meta > * + * {
	margin-top: 7px;
}

.smt-product-meta .sku,
.smt-product-meta a {
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

/* Наличие и единица измерения */
.smt-stock {
	margin: 0 !important;
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
}

.smt-stock--low {
	font-weight: 700;
	color: var(--wp--preset--color--text);
}

.smt-stock--out {
	font-weight: 700;
	color: var(--smt-accent);
}

.smt-product-unit {
	margin: 0 0 14px;
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.smt-product-unit span {
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

.smt-product-meta a {
	color: var(--wp--preset--color--text);
	text-decoration: none;
	border-bottom: 1px solid var(--smt-line);
}

.smt-product-meta a:hover {
	color: var(--smt-accent);
	border-bottom-color: var(--smt-accent);
}

/* Панель доставки */
.smt-product-notes {
	margin: 18px 0 0;
	padding: 16px;
	border-radius: var(--smt-radius-md);
	background: var(--wp--preset--color--surface);
}

.smt-product-notes-title {
	margin: 0 0 6px !important;
	font-size: 11.5px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.smt-product-notes p {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--wp--preset--color--text);
}

.smt-product-notes .smt-product-notes-phone {
	margin: 10px 0 0 !important;
}

.smt-product-notes .smt-product-notes-phone a {
	font-size: 15px;
	font-weight: 750;
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.smt-product-notes .smt-product-notes-phone a:hover {
	color: var(--smt-accent);
}

/* Вкладки «Характеристики / Описание» — тонкое подчёркивание вместо кнопок */
.smt-product .woocommerce-tabs {
	border-top: 1px solid var(--smt-line);
	padding-top: 18px;
}

html body .smt-product .wp-block-woocommerce-product-details ul.tabs.wc-tabs {
	margin: 0 0 18px;
	padding: 0;
}

html body .smt-product .wp-block-woocommerce-product-details ul.tabs.wc-tabs li {
	border-width: 0 0 2px;
	border-color: transparent;
	margin: 0 20px 0 0;
	padding: 0;
	opacity: 1;
	background: transparent;
}

html body .smt-product .wp-block-woocommerce-product-details ul.tabs.wc-tabs li a {
	padding: 8px 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--wp--preset--color--muted);
}

html body .smt-product .wp-block-woocommerce-product-details ul.tabs.wc-tabs li a:hover,
html body .smt-product .wp-block-woocommerce-product-details ul.tabs.wc-tabs li.active a {
	color: var(--wp--preset--color--text);
}

html body .smt-product .wp-block-woocommerce-product-details ul.tabs.wc-tabs li.active,
html body .smt-product .wp-block-woocommerce-product-details ul.tabs.wc-tabs li:hover {
	border-color: var(--smt-accent);
}

/* Заголовок панели не слипается с текстом */
html body .smt-product .woocommerce-Tabs-panel h2 {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

/* Списки в описании товара */
html body .smt-product .woocommerce-Tabs-panel ul {
	margin: 0 0 18px;
	padding-left: 20px;
	list-style: disc outside;
}

html body .smt-product .woocommerce-Tabs-panel ul > li {
	margin: 0 0 6px;
}

html body .smt-product .woocommerce-Tabs-panel ul > li::marker {
	color: inherit;
}

@media only screen and (max-width: 768px) {
	html body .smt-product .wp-block-woocommerce-product-details ul.tabs.wc-tabs li {
		border-width: 0 0 2px;
		margin: 0 18px 4px 0;
	}
}

.smt-product .woocommerce-tabs .panel {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
}

/* Вкладка «Отзывы» */
.smt-product .woocommerce-Reviews {
	margin: 0;
}

.smt-product .woocommerce-Reviews-title {
	display: none;
}

.smt-product .woocommerce-noreviews {
	margin: 0 0 18px;
	color: var(--wp--preset--color--muted);
}

.smt-product #review_form #respond {
	border-top: 1px solid var(--smt-line);
	padding-top: 18px;
}

.smt-product #review_form .comment-reply-title {
	display: block;
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.smt-product #review_form p {
	margin: 0 0 14px;
}

.smt-product #review_form .comment-notes {
	font-size: 12px;
	color: var(--wp--preset--color--muted);
}

.smt-product #review_form label {
	display: block;
	margin-bottom: 6px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

.smt-product #review_form .comment-form-rating select,
.smt-product #review_form input[type="text"],
.smt-product #review_form input[type="email"],
.smt-product #review_form textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 520px;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	font-family: inherit;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--wp--preset--color--text);
}

.smt-product #review_form textarea {
	min-height: 130px;
	resize: vertical;
}

.smt-product #review_form select:focus,
.smt-product #review_form input:focus,
.smt-product #review_form textarea:focus {
	outline: none;
	border-color: var(--smt-accent);
}

.smt-product #review_form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.smt-product #review_form .comment-form-cookies-consent input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: var(--smt-accent);
}

.smt-product #review_form .comment-form-cookies-consent label {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	color: var(--wp--preset--color--muted);
}

.smt-product #review_form .form-submit {
	margin: 0;
}

.smt-product #review_form .form-submit input#submit {
	min-height: 44px;
	padding: 0 26px;
	border: 0;
	font-size: 13.5px;
	cursor: pointer;
}

/* Оценка в форме — родной звёздный виджет WooCommerce (его таблица стилей подключена на карточке товара) */
.smt-product #review_form .comment-form-rating .stars {
	margin: 0 0 8px;
	font-size: 14px;
}

.smt-product #review_form .comment-form-rating select#rating {
	display: none;
}

.smt-product .commentlist {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.smt-product .commentlist li.review {
	padding: 14px 0;
	border-top: 1px solid var(--smt-line);
}

.smt-product .commentlist .comment_container {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.smt-product .commentlist .comment-text {
	min-width: 0;
}

.smt-product .commentlist .meta {
	margin: 0 0 4px;
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
}

/* Похожие товары */
.smt-product .wp-block-woocommerce-product-collection {
	margin-top: 8px;
}

.smt-product .wp-block-woocommerce-product-collection > h2,
.smt-product .wp-block-woocommerce-product-collection > .wp-block-heading {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

@media (max-width: 900px) {
	.smt-product-main {
		gap: 20px;
	}

	.smt-product-media,
	.smt-product-buy {
		flex-basis: 100%;
	}

	.smt-product-title.wp-block-post-title {
		font-size: 19px !important;
	}

	.smt-product .smt-product-price {
		font-size: 24px !important;
	}
}

/* ==================== Корзина ==================== */

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	padding-block: 4px 0;
}

.wc-block-cart-items {
	border-collapse: collapse;
}

.wc-block-cart-items thead .wc-block-cart-items__header,
.wc-block-cart-items__header {
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.wc-block-cart-items tbody tr.wc-block-cart-items__row,
.wc-block-cart-items__row {
	border-bottom: 1px solid var(--smt-line);
}

.wc-block-cart-item__image img {
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	padding: 4px;
	object-fit: contain;
}

.wc-block-cart-item__product .wc-block-components-product-name {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.wc-block-cart-item__prices .wc-block-components-product-price,
.wc-block-cart-item__total .wc-block-components-product-price {
	font-size: 14px;
	font-weight: 750;
	color: var(--wp--preset--color--text);
}

.wc-block-cart-item__prices .wc-block-components-product-price del {
	font-size: 12px;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	min-height: 36px;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector input {
	font-size: 13.5px;
	font-weight: 600;
}

.wc-block-cart-item__remove-link {
	font-size: 12px;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	border-bottom: 1px solid var(--smt-line);
}

.wc-block-cart-item__remove-link:hover {
	color: var(--smt-accent);
	border-bottom-color: var(--smt-accent);
}

/* Блок итогов */
.wc-block-cart__sidebar .wc-block-components-totals-item__label,
.wc-block-components-order-summary .wc-block-components-totals-item__label {
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.wc-block-cart__sidebar .wc-block-components-totals-item__value,
.wc-block-components-order-summary .wc-block-components-totals-item__value {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--wp--preset--color--text);
}

.wc-block-cart__sidebar .wc-block-components-totals-footer-item {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--smt-line);
}

.wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 20px;
	font-weight: 800;
}

.wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--wp--preset--color--text);
}

.wc-block-components-totals-coupon-link,
.wc-block-components-totals-item__description {
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
}

.wc-block-cart__submit-button .wc-block-components-button,
.wc-block-components-checkout-place-order-button {
	width: 100%;
	justify-content: center;
	padding: 13px 18px;
	border-radius: var(--smt-radius-sm);
	background: var(--smt-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.wc-block-cart__submit-button .wc-block-components-button:hover,
.wc-block-components-checkout-place-order-button:hover {
	background: #c11f13;
	color: #fff;
}

/* Пустая корзина */
.wc-block-cart__empty-cart__title.wp-block-heading {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
}

/* ==================== Оформление заказа ==================== */

.wc-block-checkout .wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-components-checkout-step__heading .wc-block-components-title {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.wc-block-checkout .wc-block-components-checkout-step {
	margin-bottom: 22px;
}

/* Поля */
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-select select {
	height: 44px;
	border: 1px solid var(--smt-control);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	font-size: 14px;
	color: var(--wp--preset--color--text);
}

.wc-block-components-text-input label,
.wc-block-components-combobox .wc-block-components-combobox-control label.components-form-token-field__label,
.wc-block-components-select label {
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
}

.wc-block-components-text-input.is-active label,
.wc-block-components-combobox.is-active label,
.wc-block-components-select.is-active label {
	transform: translateY(-19px) scale(0.82);
	background: #fff;
	padding-inline: 4px;
}

.wc-block-components-text-input textarea {
	border: 1px solid var(--smt-control);
	border-radius: var(--smt-radius-sm);
	font-size: 14px;
	padding: 10px 12px;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-block-components-select select:focus {
	outline: 3px solid var(--smt-accent);
	outline-offset: 1px;
}

/* Радио доставки и оплаты */
.wc-block-components-radio-control .wc-block-components-radio-control__option {
	padding: 10px 12px 10px 38px;
}

.wc-block-components-radio-control__label,
.wc-block-components-radio-control-accordion-option {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

.wc-block-components-radio-control__description,
.wc-block-components-radio-control__secondary-description {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

/* Сводка заказа */
.wc-block-checkout__sidebar .wc-block-components-product-name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary-item__quantity {
	font-size: 11.5px;
	font-weight: 700;
	background: var(--wp--preset--color--text);
	color: #fff;
	border: 0;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary-item__image img {
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	object-fit: contain;
}

.wc-block-checkout__sidebar .wc-block-components-product-price {
	font-size: 13px;
	font-weight: 750;
}

.wc-block-checkout__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 19px;
	font-weight: 800;
}

.wc-block-components-checkbox label,
.wc-block-components-checkout-policies {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.wc-block-components-checkout-policies a {
	color: var(--wp--preset--color--text);
}

/* ==================== Заказ принят ==================== */

.wc-block-order-confirmation-status .wc-block-components-notice-banner,
.wc-block-order-confirmation-status {
	font-size: 13.5px;
}

.wc-block-order-confirmation-summary .wc-block-components-order-summary-item__image img {
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	background: #fff;
}

.wc-block-order-confirmation-totals__table th,
.wc-block-order-confirmation-totals__table td,
.wc-block-order-confirmation-summary-item__name {
	font-size: 13px;
}

.wc-block-order-confirmation-totals__table tfoot th {
	font-size: 15px;
	font-weight: 800;
}

@media (max-width: 900px) {
	.wc-block-cart-item__image img {
		max-width: 64px;
	}

	.wc-block-cart-items__header {
		display: none;
	}

	.wc-block-checkout .wc-block-components-checkout-step {
		margin-bottom: 18px;
	}
}

/* Сильнее заводских правил WooCommerce — вложенность таблицы корзины */
table.wc-block-cart-items .wc-block-cart-item__product a.wc-block-components-product-name {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wp--preset--color--text);
}

table.wc-block-cart-items .wc-block-cart-item__product a.wc-block-components-product-name:hover {
	color: var(--smt-accent);
}

table.wc-block-cart-items .wc-block-cart-item__prices .wc-block-components-product-price,
table.wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price,
table.wc-block-cart-items .wc-block-cart-item__total .wc-block-components-product-price__value {
	font-size: 14px;
	font-weight: 750;
	color: var(--wp--preset--color--text);
}

.wc-block-cart__submit-button,
.wc-block-cart__submit-button.contained,
.wc-block-components-checkout-place-order-button {
	min-height: 44px;
	padding: 13px 18px;
	border-radius: var(--smt-radius-sm);
	font-size: 14px;
	font-weight: 700;
}

/* Поля оформления — специфичность выше заводских правил WooCommerce
   (.wc-block-components-form .wc-block-components-text-input input[type=email]) */
html body .wc-block-checkout .wc-block-components-form .wc-block-components-text-input input,
html body .wc-block-checkout .wc-block-components-form .wc-block-components-text-input textarea,
html body .wc-block-checkout .wc-block-components-form .wc-block-components-text-input select,
html body .wc-block-checkout .wc-block-components-combobox input {
	height: 48px;
	padding: 14px 12px;
	border: 1px solid var(--smt-control);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	font-size: 15px;
	color: var(--wp--preset--color--text);
}

html body .wc-block-checkout .wc-block-components-form .wc-block-components-text-input textarea {
	height: auto;
	min-height: 84px;
}

html body .wc-block-checkout .wc-block-components-text-input label,
html body .wc-block-checkout .wc-block-components-select label {
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
}

html body .wc-block-checkout .wc-block-components-radio-control__label,
html body .wc-block-checkout .wc-block-components-radio-control-accordion-option {
	font-size: 13.5px;
	font-weight: 600 !important;
	color: var(--wp--preset--color--text);
}

html body .wc-block-checkout .wc-block-components-radio-control__description,
html body .wc-block-checkout .wc-block-components-radio-control__secondary-description {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

html body .wc-block-checkout .wc-block-components-checkout-step__title,
html body .wc-block-checkout .wc-block-components-checkout-step__heading .wc-block-components-title {
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* Заголовки страниц корзины и оформления */
.smt-catpage .wp-block-post-title.smt-page-title {
	margin: 0;
	font-size: clamp(21px, 2.4vw, 28px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--text);
}

.smt-cart-page .wp-block-post-title.smt-page-title,
.smt-checkout-page .wp-block-post-title.smt-page-title {
	margin-bottom: 4px;
}

/* Список «Страна/регион» — тот же вид, что у текстовых полей */
html body .wc-block-checkout .wc-blocks-components-select__container {
	position: relative;
	display: block;
}

html body .wc-block-checkout .wc-blocks-components-select__select {
	height: 48px;
	width: 100%;
	padding: 18px 34px 2px 12px;
	font-size: 15px;
	line-height: 20px;
	color: var(--wp--preset--color--text);
	background-color: #fff;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23242424' stroke-width='1.4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	border: 1px solid var(--smt-control);
	border-radius: var(--smt-radius-sm);
	appearance: none;
	cursor: pointer;
}

html body .wc-block-checkout .wc-blocks-components-select__select:focus {
	outline: 3px solid var(--smt-accent);
	outline-offset: 1px;
}

/* Подпись поля — над значением, а не поверх него */
html body .wc-block-checkout .wc-blocks-components-select__label {
	position: absolute;
	top: 7px;
	left: 13px;
	margin: 0;
	transform: none;
	font-size: 10.5px;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	pointer-events: none;
}

/* Шаг строк в адресе — 12 px, включая список страны/региона */
html body .wc-block-checkout .wc-block-components-address-form > .wc-block-components-address-form__country,
html body .wc-block-checkout .wc-block-components-address-form > .wc-block-components-address-form__state {
	margin-top: 12px;
}

/* Радио: кружок слева, текст с отступом, выбранный вариант — красная рамка */
html body .wc-block-checkout .wc-block-components-radio-control__option {
	position: relative;
	display: block;
	padding: 10px 12px 10px 38px;
	border-radius: var(--smt-radius-sm);
	box-shadow: none;
	transition: background-color 0.15s ease;
}

html body .wc-block-checkout .wc-block-components-radio-control__option + .wc-block-components-radio-control__option {
	margin-top: 4px;
}

html body .wc-block-checkout .wc-block-components-radio-control__option:hover {
	background: rgba(36, 36, 36, 0.04);
}

html body .wc-block-checkout .wc-block-components-radio-control__input {
	position: absolute;
	top: 11px;
	left: 12px;
	width: 18px;
	height: 18px;
	margin: 0;
	transform: none;
	accent-color: var(--smt-accent);
	cursor: pointer;
}

/* Выбранный вариант не обводим: выбор виден по красному кружку.
   Заводские классы --highlight-checked дают рамку — гасим их. */
html body .wc-block-checkout .wc-block-components-radio-control__option--checked-option-highlighted,
html body .wc-block-checkout .wc-block-components-radio-control__option-checked,
html body .wc-block-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
html body .wc-block-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option {
	background: transparent;
	box-shadow: none;
}

/* Цена доставки и пометка «Бесплатно» */
html body .wc-block-checkout .wc-block-components-radio-control__secondary-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--wp--preset--color--text);
	white-space: nowrap;
}

html body .wc-block-checkout .wc-block-checkout__shipping-option--free {
	color: var(--wp--preset--color--text);
}

/* Описание под вариантом */
html body .wc-block-checkout .wc-block-components-radio-control__description,
html body .wc-block-checkout .wc-block-components-radio-control__secondary-description,
html body .wc-block-checkout .wc-block-components-radio-control-accordion-content {
	margin-top: 4px;
	padding: 0;
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

html body .wc-block-checkout .wc-block-components-radio-control-accordion-content {
	margin-left: 38px;
	width: auto;
}

/* === Купить в 1 клик === */

/* Кнопка рядом с панелью покупки: второе действие, поэтому без красного */
.smt-oneclick-cta {
	max-width: 350px;
	margin: 12px 0 0;
}

.smt-oneclick-cta .wp-block-button {
	width: 100%;
	margin: 0;
}

.smt-oneclick-cta .wp-element-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 0 20px;
	box-sizing: border-box;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-sm);
	background: #fff;
	color: var(--wp--preset--color--text);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.smt-oneclick-cta .wp-element-button:hover,
.smt-oneclick-cta .wp-element-button:focus-visible {
	border-color: var(--smt-accent);
	color: var(--smt-accent);
}

/* Окно заявки */
.smt-oneclick {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

.smt-oneclick[hidden] {
	display: none;
}

.smt-oneclick-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 20, 20, 0.45);
}

.smt-oneclick-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 48px);
	box-sizing: border-box;
	padding: 24px 24px 20px;
	overflow: auto;
	background: #fff;
	border: 1px solid var(--smt-line);
	border-radius: var(--smt-radius-lg);
}

.smt-oneclick-x {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 24px;
	line-height: 1;
	color: var(--smt-control);
	cursor: pointer;
}

.smt-oneclick-x:hover,
.smt-oneclick-x:focus-visible {
	color: var(--smt-accent);
}

.smt-oneclick-title {
	margin: 0 40px 8px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--wp--preset--color--text);
}

/* Заголовок — одним весом: название товара не выбивается из слова «Купить» */
.smt-oneclick-title strong {
	font-weight: 700;
}

.smt-oneclick-lead {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--wp--preset--color--muted);
}

/* Служебные <br> и скрытые поля Jetpack давали 47 px над формой и 71 px под кнопкой */
.smt-oneclick-dialog form.contact-form > br,
.smt-oneclick-dialog form.contact-form > p:has(> input[type="hidden"]) {
	display: none !important;
}

/* Поля формы: общие стили берём из .smt-form, списку и мелочам нужны свои */
.smt-oneclick-dialog > p:empty,
.smt-oneclick-form .grunion-field-wrap > p:empty {
	display: none;
}

.smt-oneclick-form .grunion-field-wrap {
	margin-bottom: 0;
}

/* Согласие: текст и ссылка — единый абзац, флажок слева отдельным боксом */
.smt-oneclick-form label.consent {
	display: block;
	padding-left: 24px;
	font-size: 12px;
	line-height: 1.45;
}

.smt-oneclick-form label.consent br {
	display: none;
}

.smt-oneclick-form label.consent input.consent {
	float: left;
	display: block;
	width: 16px;
	height: 16px;
	min-height: 0;
	margin: 1px 0 0 -24px;
	accent-color: var(--smt-accent);
}

.smt-oneclick-form label.consent a {
	display: inline;
	white-space: normal;
}

/* Jetpack ставит полям свой крупный отступ — в окне он лишний */
html body .smt-oneclick .smt-oneclick-form {
	row-gap: 12px !important;
}

.smt-oneclick-form .grunion-field-label {
	margin-bottom: 4px;
	font-size: 13px;
	line-height: 1.3;
}

.smt-oneclick-form .grunion-label-required {
	margin-left: 4px;
	font-size: 11px;
	font-weight: 400;
	color: var(--wp--preset--color--muted);
}

.smt-oneclick-form input[type="text"],
.smt-oneclick-form input[type="tel"],
.smt-oneclick-form input[type="email"] {
	height: 44px;
	padding: 0 12px;
	font-size: 14px;
}

.smt-oneclick-form .contact-form__input-error {
	margin: 4px 0 0;
}

html body .smt-oneclick-form select {
	width: 100% !important;
	height: 44px !important;
	box-sizing: border-box;
	padding: 0 12px !important;
	border: 1px solid var(--smt-line) !important;
	border-radius: var(--smt-radius-sm) !important;
	background: #fff !important;
	font-family: inherit;
	font-size: 14px;
	color: var(--wp--preset--color--text);
}

html body .smt-oneclick-form select:focus {
	border-color: var(--smt-accent);
	outline: none;
}

.smt-oneclick-form .wp-block-button,
.smt-oneclick-form .wp-block-button__link {
	width: 100%;
	margin: 0;
}

.smt-oneclick-form .wp-element-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 700;
}

.smt-oneclick-form .smt-form-sent {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

body.smt-oneclick-locked {
	overflow: hidden;
}

@media (max-width: 600px) {
	.smt-oneclick {
		padding: 16px 12px;
	}

	.smt-oneclick-dialog {
		max-height: calc(100vh - 32px);
		padding: 20px 16px 16px;
	}

	.smt-oneclick-title {
		margin-right: 34px;
		font-size: 15px;
	}

	.smt-oneclick-form .grunion-field-label {
		font-size: 12.5px;
	}

	.smt-oneclick-cta {
		max-width: none;
	}
}
