/* =========================================================
   Cosmoluxe: карточка товара в каталоге + страница товара
   + плавающая кнопка связи.
   Грузится после style.css и mobile.css (functions.php).
   Дизайн карточки (наведение, кнопка с ценой) остаётся из style.css,
   здесь только добавки поверх него.
   ========================================================= */

:root {
	--cl-ease: cubic-bezier(.2, .7, .2, 1);
	--cl-sw-row: 34px; /* высота строки с кружками цветов в каталоге */
}

/* Все правила каталога: только плитка, не список «С этим товаром так же выбирают» */

/* ---------------- Каталог: кружки цветов ---------------- */
/* Под фото, крупнее, а не в углу картинки */
body .website-wrapper .wd-product.product-grid-item:not(.product-list-item) .wrapp-swatches {
	position: static !important;
	inset: auto !important;
	transform: none !important;
	display: flex !important;
	align-items: center;
	justify-content: flex-start !important;
	width: 100% !important;
	height: var(--cl-sw-row) !important;
	min-height: 0 !important;
	padding: 0 2vh !important;
	margin: 0 !important;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
body .website-wrapper .wd-product.product-grid-item .wrapp-swatches:not(:has(.wd-swatch)) { display: none !important; }
.website-wrapper .wd-product.product-grid-item .wrapp-swatches .wd-swatches-grid {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
}
.website-wrapper .wd-product.product-grid-item .wrapp-swatches .wd-swatch {
	width: 22px;
	height: 22px;
	min-width: 22px;
	margin: 0;
	border: 0;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
	cursor: pointer;
	transition: box-shadow .25s var(--cl-ease), transform .25s var(--cl-ease);
}
.website-wrapper .wd-product.product-grid-item .wrapp-swatches .wd-swatch .wd-swatch-bg {
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}
.website-wrapper .wd-product.product-grid-item .wrapp-swatches .wd-swatch:hover { transform: scale(1.12); }
.website-wrapper .wd-product.product-grid-item .wrapp-swatches .wd-swatch.wd-active {
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px #111;
}
.website-wrapper .wd-product.product-grid-item .wrapp-swatches .cl-sw-hidden { display: none !important; }
.website-wrapper .wd-product.product-grid-item .wrapp-swatches .cl-sw-more {
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-text, #898989);
	line-height: 22px !important;
}

/* Фото сверху, кружки под ним */
.website-wrapper .wd-product.product-grid-item:not(.product-list-item) .product-element-top:has(.wrapp-swatches .wd-swatch) {
	flex-direction: column;
	align-items: stretch;
}

/* Фото в карточке плавно меняется при выборе цвета */
.website-wrapper .wd-product.product-grid-item .product-image-link img { transition: height .5s, opacity .25s; }
.website-wrapper .wd-product.product-grid-item.cl-img-swap .product-image-link img { opacity: .35; }

/* У вариативного товара строка с кружками забирает место у фото,
   поэтому карточки в ряду остаются одной высоты, а сужение при наведении работает как раньше */
@media (min-width: 769px) {
	.website-wrapper .wd-product.product-grid-item:not(.product-list-item):has(.wrapp-swatches .wd-swatch) .product-element-top img {
		height: calc(32vh - var(--cl-sw-row));
	}
	.website-wrapper .wd-product.product-grid-item:not(.product-list-item):has(.wrapp-swatches .wd-swatch) .product-wrapper:hover .product-element-top img {
		height: calc(25vh - var(--cl-sw-row));
	}
}

/* Метка «Распродано» / «Скидка» в одну строку */
.website-wrapper .wd-product .product-label.wd-shape-round { white-space: nowrap; }

/* «от 1 464 000 сум» */
.cl-price-from {
	font-size: .78em;
	font-weight: 500;
	margin-right: 2px;
}

/* Список «С этим товаром»: метка «Распродано» над названием, а не на крошечной картинке */
.product-list-item .product-labels.cl-list-labels {
	position: static;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 6px;
	padding: 0;
	pointer-events: none;
}
.product-list-item .cl-list-labels .product-label {
	margin: 0;
	min-width: 0;
	min-height: 0;
	padding: 3px 8px;
	font-size: 11px;
	line-height: 1.3;
	border-radius: 20px;
}
.product-list-item .cl-list-labels .out-of-stock { background: #F3F3F3; color: #666; }

/* ---------------- Страница товара ---------------- */

/* «Цвет: Чёрный» */
#my_product table.variations tr.cl-color-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
#my_product table.variations tr.cl-color-row th.label.cell {
	display: flex !important;
	align-items: baseline;
	gap: 6px;
	padding: 0;
	font-size: 15px;
}
#my_product table.variations tr.cl-color-row th.label label {
	font-weight: 500;
	color: var(--gray-text, #898989);
	margin: 0;
}
#my_product table.variations tr.cl-color-row .wd-attr-selected {
	font-weight: 600;
	color: var(--black-color, #0A0A0A);
	display: inline-block !important;
	transition: opacity .2s, transform .25s var(--cl-ease);
}
#my_product table.variations tr.cl-color-row .wd-attr-selected.cl-fade { opacity: 0; transform: translateY(4px); }
#my_product table.variations tr.cl-color-row td.value { padding: 0; width: 100%; }
#my_product table.variations tr.cl-color-row .wd-reset-var { display: none !important; }

/* Кружки цветов: крупные, мягкая анимация выбора */
#my_product .wd-single-add-cart .wd-swatches-product {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	padding: 4px;
}
#my_product .wd-single-add-cart .wd-swatches-product .wd-swatch {
	width: 40px;
	height: 40px;
	min-width: 40px;
	margin: 0;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 0 #fff, 0 0 0 0 transparent, inset 0 0 0 1px rgba(0, 0, 0, .18);
	transition: box-shadow .35s var(--cl-ease), transform .35s var(--cl-ease);
}
#my_product .wd-single-add-cart .wd-swatches-product .wd-swatch .wd-swatch-bg {
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}
#my_product .wd-single-add-cart .wd-swatches-product .wd-swatch:hover { transform: scale(1.08); }
/* полоска WoodMart под выбранным кружком не нужна, есть обводка */
.website-wrapper .wd-swatch.wd-bg::after { display: none !important; }
#my_product .wd-single-add-cart .wd-swatches-product .wd-swatch:active { transform: scale(.94); }
#my_product .wd-single-add-cart .wd-swatches-product .wd-swatch.wd-active {
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px #111, inset 0 0 0 1px rgba(0, 0, 0, .18);
	transform: scale(1.04);
}

/* Цена и наличие в кнопке: плавная смена при выборе цвета */
#my_product .single_add_to_cart_button { white-space: nowrap; gap: 14px; }
#my_product .single_add_to_cart_button .woocommerce-variation,
#my_product .single_add_to_cart_button .wd-single-price { white-space: nowrap; transition: opacity .25s, transform .3s var(--cl-ease); }
#my_product .single_add_to_cart_button.cl-fade .woocommerce-variation { opacity: 0; transform: translateY(4px); }
/* в кнопке только иконка, «В корзину» и цена, наличие вынесено отдельно */
#my_product .single_add_to_cart_button .woocommerce-variation-availability { display: none !important; }
#my_product .single_add_to_cart_button { display: inline-flex; align-items: center; }
#my_product .single_add_to_cart_button .cl-cart-ic { display: inline-flex; flex: 0 0 auto; margin: 0 -4px 0 0 !important; }
#my_product .single_add_to_cart_button .cl-cart-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#my_product .cl-qty-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; width: 100%; margin: 0 0 14px; }
#my_product .cl-qty-row .quantity { width: auto !important; margin: 0 !important; }
#my_product .cl-qty-row p.stock { margin: 0 !important; }
#my_product .cl-var-stock { margin: 0; transition: opacity .2s, transform .25s var(--cl-ease); }
#my_product .cl-var-stock.cl-fade { opacity: 0; transform: translateY(4px); }
#my_product .cl-var-stock p.stock { margin: 0; }

/* Галерея: все фото одной высоты (без пустой полосы на телефоне) */
#my_product .woocommerce-product-gallery .wd-gallery-images img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
}

/* Галерея: плавная смена фото при выборе цвета */
#my_product .woocommerce-product-gallery .wd-gallery-images img { transition: opacity .3s; }
#my_product .woocommerce-product-gallery.cl-img-swap .wd-gallery-images img { opacity: .2; }

/* Миниатюры галереи: картинка целиком, рамка не обрезается */
#my_product .wd-gallery-thumb img {
	object-fit: contain;
	background: #fff;
	box-sizing: border-box;
}
#my_product .wd-gallery-thumb .wd-carousel,
#my_product .wd-gallery-thumb .wd-carousel-wrap { padding-bottom: 2px; }

/* ---------------- Плавающая кнопка связи ---------------- */
.cl-fab {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 9990;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	font-family: 'Gilroy', sans-serif;
	/* сам блок не ловит клики, только кнопка и открытое меню (иначе он перекрывал «В корзину» и «Читать больше») */
	pointer-events: none;
}
.cl-fab-btn { pointer-events: auto; }
.cl-fab-btn {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: var(--black-color, #0A0A0A);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
	position: relative;
	transition: transform .3s var(--cl-ease), background-color .2s;
}
.cl-fab-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--my-primary, #CE1429);
	opacity: .45;
	z-index: -1;
	animation: cl-fab-pulse 2.4s ease-out infinite;
}
.cl-fab-btn:hover { transform: scale(1.06); background: var(--my-primary, #CE1429); }
.cl-fab-btn .o,
.cl-fab-btn .x { display: flex; transition: transform .3s, opacity .25s; }
.cl-fab-btn svg { width: 26px; height: 26px; fill: currentColor; }
.cl-fab-btn .x { position: absolute; width: 22px; height: 22px; opacity: 0; transform: rotate(-90deg); }
.cl-fab-btn .x::before,
.cl-fab-btn .x::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 2px;
	height: 100%;
	margin-left: -1px;
	background: #fff;
	border-radius: 2px;
	transform: rotate(45deg);
}
.cl-fab-btn .x::after { transform: rotate(-45deg); }
.cl-fab.open .cl-fab-btn { background: var(--my-primary, #CE1429); }
.cl-fab.open .cl-fab-btn::before { animation: none; opacity: 0; }
.cl-fab.open .cl-fab-btn .o { opacity: 0; transform: rotate(90deg); }
.cl-fab.open .cl-fab-btn .x { opacity: 1; transform: none; }
.cl-fab-list {
	position: absolute;
	left: 0;
	bottom: calc(100% + 12px);
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: #fff;
	border-radius: 22px;
	padding: 10px;
	box-shadow: 0 20px 48px rgba(13, 13, 13, .18);
	min-width: 250px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px) scale(.96);
	transform-origin: left bottom;
	transition: opacity .25s, transform .3s var(--cl-ease), visibility 0s .3s;
}
.cl-fab.open .cl-fab-list {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition: opacity .25s, transform .3s var(--cl-ease), visibility 0s;
}
.cl-fab-i {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 10px;
	border-radius: 14px;
	color: var(--black-color, #0A0A0A) !important;
	transition: background-color .2s;
	opacity: 0;
	transform: translateY(6px);
}
.cl-fab.open .cl-fab-i { opacity: 1; transform: none; transition: background-color .2s, opacity .3s, transform .35s var(--cl-ease); }
.cl-fab.open .cl-fab-i:nth-child(2) { transition-delay: 0s, .04s, .04s; }
.cl-fab.open .cl-fab-i:nth-child(3) { transition-delay: 0s, .08s, .08s; }
.cl-fab.open .cl-fab-i:nth-child(4) { transition-delay: 0s, .12s, .12s; }
.cl-fab-i:hover { background: var(--gray-bg, #F3F3F3); }
.cl-fab-i .ic {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #fff;
	background: var(--black-color, #0A0A0A);
}
.cl-fab-i .ic svg { width: 22px; height: 22px; fill: currentColor; }
.cl-fab-tg .ic { background: #2AABEE; }
.cl-fab-wa .ic { background: #25D366; }
.cl-fab-ig .ic { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.cl-fab-i .t { display: flex; flex-direction: column; }
.cl-fab-i b { font-size: 15px; font-weight: 600; line-height: 1.25 !important; }
.cl-fab-i small { font-size: 13px; color: var(--gray-text, #898989); line-height: 1.25 !important; }
@keyframes cl-fab-pulse {
	0% { transform: scale(1); opacity: .45; }
	80%, 100% { transform: scale(1.55); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.cl-fab-btn::before { animation: none; }
}
/* старая кнопка Telegram заменена на .cl-fab */
.messenger-fixed-button { display: none !important; }

/* ---------------- Метки: Хит (с огоньком), Новинка, скидка, остаток ---------------- */
.product-labels .product-label.cl-label-hit {
	background: linear-gradient(135deg, #FF7A18, #E11D48);
	color: #fff;
	box-shadow: 0 4px 12px rgba(225, 29, 72, .3);
}
.product-labels .product-label.cl-label-hit::before {
	content: '';
	display: inline-block;
	width: 11px;
	height: 13px;
	margin: -2px 4px 0 0;
	vertical-align: middle;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M10 0c1 4 5 6.5 5 12a5 5 0 0 1-10 0c0-2 1-3.5 2-4.5 0 2 1 3 2 3C9 8 8 4 10 0zm-4.5 9C3 11.5 2 14 2 16a8 8 0 0 0 16 0c0-3-1.5-5.5-3-7 .3 3-1 5-2.5 5.5C14 12 11 10 11 6 9 7.5 6 9 5.5 9z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 24'%3E%3Cpath d='M10 0c1 4 5 6.5 5 12a5 5 0 0 1-10 0c0-2 1-3.5 2-4.5 0 2 1 3 2 3C9 8 8 4 10 0zm-4.5 9C3 11.5 2 14 2 16a8 8 0 0 0 16 0c0-3-1.5-5.5-3-7 .3 3-1 5-2.5 5.5C14 12 11 10 11 6 9 7.5 6 9 5.5 9z'/%3E%3C/svg%3E") center / contain no-repeat;
	animation: cl-flame 1.4s ease-in-out infinite;
	transform-origin: 50% 100%;
}
.product-labels .product-label.cl-label-new { background: #111; color: #fff; }
.product-labels .product-label.onsale { background: var(--my-primary, #CE1429); color: #fff; }
.product-labels .product-label.cl-label-low { background: #FFF4E5; color: #B45309; }
@keyframes cl-flame {
	0%, 100% { transform: scale(1) rotate(-3deg); opacity: 1; }
	50% { transform: scale(1.15, 1.08) rotate(3deg); opacity: .85; }
}

/* ---------------- «Горячие предложения» в меню: живой огонёк ---------------- */
header .hot-menu-item > a .nav-link-text::before { animation: cl-flame 1.4s ease-in-out infinite; transform-origin: 50% 100% !important; }
header .hot-menu-item > a .nav-link-text {
	background: linear-gradient(90deg, #E11D48, #FF7A18, #E11D48);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	        background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 600;
	animation: cl-hot-shine 3s linear infinite;
}
header .hot-menu-item > a .nav-link-text::before { -webkit-text-fill-color: initial; }
@keyframes cl-hot-shine { to { background-position: -200% 0; } }

/* ---------------- Выпадающее меню в шапке ---------------- */
header .wd-nav-main > li > .wd-dropdown-menu {
	border-radius: 16px;
	padding: 8px !important;
	min-width: 240px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(13, 13, 13, .14), 0 0 0 1px rgba(13, 13, 13, .04);
	transform: translateY(10px) scale(.98);
	transform-origin: top left;
	transition: opacity .25s, visibility .25s, transform .3s var(--cl-ease) !important;
}
header .wd-nav-main > li:hover > .wd-dropdown-menu,
header .wd-nav-main > li.wd-opened > .wd-dropdown-menu { transform: none; }
header .wd-nav-main > li > .wd-dropdown-menu::before {
	content: '';
	position: absolute;
	left: 0; right: 0; top: -14px;
	height: 14px;
}
header .wd-nav-main .wd-dropdown-menu .wd-sub-menu > li > a.woodmart-nav-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px !important;
	border-radius: 10px;
	font-weight: 500;
	transition: background-color .2s, color .2s, padding .25s var(--cl-ease);
}
header .wd-nav-main .wd-dropdown-menu .wd-sub-menu > li > a.woodmart-nav-link::after {
	content: '→';
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity .2s, transform .25s var(--cl-ease);
}
header .wd-nav-main .wd-dropdown-menu .wd-sub-menu > li > a.woodmart-nav-link:hover {
	background: var(--gray-bg, #F5F5F5);
	color: var(--my-primary, #CE1429);
	padding-left: 18px !important;
}
header .wd-nav-main .wd-dropdown-menu .wd-sub-menu > li > a.woodmart-nav-link:hover::after { opacity: 1; transform: none; }
header .wd-nav-main > li.menu-item-has-children > a .nav-link-text + *,
header .wd-nav-main > li.menu-item-has-children > a::after { transition: transform .3s var(--cl-ease); }
header .wd-nav-main > li.menu-item-has-children:hover > a::after { transform: rotate(180deg); }

/* ---------------- Счётчик корзины: прыжок ---------------- */
.wd-header-cart .wd-tools-icon.cl-bump { animation: cl-bump .6s var(--cl-ease); }
.wd-header-cart .wd-tools-icon.cl-bump .wd-cart-number { animation: cl-pop .6s var(--cl-ease); }
@keyframes cl-bump {
	0% { transform: none; }
	30% { transform: translateY(-6px) scale(1.12); }
	55% { transform: translateY(0) scale(.95); }
	75% { transform: translateY(-2px) scale(1.03); }
	100% { transform: none; }
}
@keyframes cl-pop {
	0%, 100% { transform: scale(1); }
	40% { transform: scale(1.5); background: #16A34A; }
}

/* ---------------- Под кнопкой: полоса доверия ---------------- */
#my_product .cl-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
#my_product .cl-trust li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	margin: 0;
	padding: 12px 8px;
	border-radius: 14px;
	background: var(--gray-bg, #F6F6F6);
	list-style: none;
}
#my_product .cl-trust .ic { display: flex; flex: 0 0 auto; color: var(--my-primary, #CE1429); }
#my_product .cl-trust svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#my_product .cl-trust .t { display: flex; flex-direction: column; align-items: center; min-width: 0; }
#my_product .cl-trust b { font-size: 13.5px; line-height: 1.25; color: var(--black-color, #0A0A0A); }
#my_product .cl-trust small { font-size: 12px; line-height: 1.3; color: var(--gray-text, #898989); }

/* липкая панель (только телефоны, см. ниже) */
.cl-sticky-buy { display: none; }

/* ---------------- Вы недавно смотрели ---------------- */
.cl-rv { margin: 40px auto 60px; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--cl-ease); }
.cl-rv.show { opacity: 1; transform: none; }
.cl-rv-title { margin: 0 0 24px; font-size: 32px; }

/* ---------------- Корзина: доставка и итоги ---------------- */
.woocommerce-cart .cart_totals .cart-totals-inner {
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 40px rgba(13, 13, 13, .08), 0 0 0 1px rgba(13, 13, 13, .05);
}
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { display: flex; flex-direction: column; }
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th { padding-bottom: 6px; border: 0; text-align: left; }
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td { width: 100%; padding-top: 0; text-align: left !important; }
#shipping_method.woocommerce-shipping-methods { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 10px; padding: 0; }
#shipping_method.woocommerce-shipping-methods li {
	position: relative;
	display: block;
	margin: 0 !important;
	padding: 0;
	list-style: none;
	text-align: left;
}
#shipping_method.woocommerce-shipping-methods li input.shipping_method {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
#shipping_method.woocommerce-shipping-methods li label {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 14px 16px 14px 46px;
	border: 1.5px solid #E6E6E6;
	border-radius: 14px;
	background: #fff;
	font-weight: 500;
	line-height: 1.3;
	cursor: pointer;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
#shipping_method.woocommerce-shipping-methods li label::before {
	content: '';
	position: absolute;
	left: 16px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	border: 2px solid #C9C9C9;
	border-radius: 50%;
	background: #fff;
	transition: border .2s, box-shadow .2s;
}
#shipping_method.woocommerce-shipping-methods li label:hover { border-color: #BDBDBD; }
#shipping_method.woocommerce-shipping-methods li input:checked + label {
	border-color: var(--wd-title-color, #0A0A0A);
	background: #FAFAFA;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
#shipping_method.woocommerce-shipping-methods li input:checked + label::before {
	border: 6px solid var(--wd-title-color, #0A0A0A);
}
#shipping_method.woocommerce-shipping-methods li input:focus-visible + label { outline: 2px solid var(--my-primary, #CE1429); outline-offset: 2px; }
#shipping_method.woocommerce-shipping-methods li label .amount { color: var(--wd-title-color, #0A0A0A); font-weight: 700; white-space: nowrap; }
.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
.woocommerce-cart .cart_totals .woocommerce-shipping-calculator { font-size: 13px; color: var(--gray-text, #898989); text-align: left; margin: 0 0 4px; }
.woocommerce-cart .cart_totals .shipping-calculator-button { font-size: 13px; }
.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td { padding-top: 18px; font-size: 20px; }
.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button {
	border-radius: 50px;
	min-height: 54px;
	font-size: 16px;
	transition: transform .2s, box-shadow .25s;
}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout .checkout-button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .18); }
.woocommerce-cart table.shop_table .product-remove a.remove { border-radius: 50%; transition: background-color .2s, color .2s, transform .2s; }
.woocommerce-cart table.shop_table .product-remove a.remove:hover { background: var(--my-primary, #CE1429); color: #fff !important; transform: rotate(90deg); }

/* ---------------- Уведомление «Добавлено в корзину» ---------------- */
.cl-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100vw - 32px);
	padding: 12px 14px 12px 12px;
	border-radius: 16px;
	background: #16A34A;
	color: #fff;
	font-family: 'Gilroy', sans-serif;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 14px 36px rgba(22, 163, 74, .35);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 20px);
	transition: opacity .25s, transform .35s var(--cl-ease), visibility 0s .35s;
}
.cl-toast.show {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
	transition: opacity .25s, transform .35s var(--cl-ease), visibility 0s;
}
.cl-toast-ic { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.cl-toast-ic svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cl-toast-t { white-space: nowrap; }
.cl-toast-a { color: #fff !important; white-space: nowrap; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .2); font-size: 14px; }
.cl-toast-a:hover { background: rgba(255, 255, 255, .32); }

/* ---------------- SEO-текст под каталогом категории ---------------- */
.cl-cat-seo {
	margin: 40px 0 20px;
	padding-top: 32px;
	border-top: 1px solid var(--brdcolor-gray-300, #E6E6E6);
	color: var(--gray-text, #555);
	font-size: 15px;
	line-height: 1.65;
}
.cl-cat-seo-body { position: relative; overflow: hidden; transition: max-height .45s var(--cl-ease); }
.cl-cat-seo.is-collapsed .cl-cat-seo-body { max-height: 190px; }
.cl-cat-seo.is-collapsed .cl-cat-seo-body::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 80px;
	background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}
.cl-cat-seo h2, .cl-cat-seo h3 { color: var(--black-color, #0A0A0A); margin: 0 0 12px; }
.cl-cat-seo h2 { font-size: 24px; }
.cl-cat-seo h3 { font-size: 19px; margin-top: 18px; }
.cl-cat-seo p { margin: 0 0 12px; }
.cl-cat-seo-more {
	margin-top: 10px;
	padding: 0;
	background: none;
	border: 0;
	font-weight: 600;
	color: var(--black-color, #0A0A0A);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------------- Телефоны ---------------- */
@media (max-width: 768px) {
	:root { --cl-sw-row: 30px; }

	/* Карточки в ряду одной высоты, цена и кнопки внизу */
	.website-wrapper .products.wd-grid-g:not(.elements-list) { align-items: stretch; }
	.website-wrapper .wd-product.product-grid-item:not(.product-list-item) .product-wrapper {
		height: 100% !important;
		display: flex;
		flex-direction: column;
	}
	.website-wrapper .wd-product.product-grid-item:not(.product-list-item) .product-information {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
	}
	.website-wrapper .wd-product.product-grid-item:not(.product-list-item) .product-rating-price { margin-top: auto !important; }
	body .website-wrapper .wd-product.product-grid-item:not(.product-list-item) .wrapp-swatches { padding: 0 3vw !important; }
	.website-wrapper .wd-product.product-grid-item .wrapp-swatches .wd-swatch { width: 20px; height: 20px; min-width: 20px; }
	.website-wrapper .wd-product.product-grid-item .wrapp-swatches .wd-swatches-grid { gap: 7px; }
	/* «Быстрый просмотр» на телефоне налезал на кнопку «Подробнее» */
	.website-wrapper .wd-product.product-grid-item:not(.product-list-item) .wrap-quickview-button { display: none !important; }

	#my_product .wd-single-add-cart .wd-swatches-product .wd-swatch { width: 38px; height: 38px; min-width: 38px; }

	/* Кнопка «В корзину» с ценой + сердечко справа, всё в ширину экрана */
	#my_product .wd-single-add-cart form.cart { width: 100% !important; padding-right: 58px; box-sizing: border-box; }
	#my_product .wd-single-add-cart .woocommerce-variation-add-to-cart { width: 100% !important; }
	#my_product .wd-single-add-cart .cart .single_add_to_cart_button {
		width: 100% !important;
		min-height: 50px;
		justify-content: center;
		white-space: normal;
		flex-wrap: wrap;
		gap: 4px 12px;
		padding: 1vh 16px;
	}
	#my_product .wd-single-add-cart .wd-single-action-btn {
		right: 0 !important;
		width: 48px;
		max-width: 48px;
		height: 48px;
	}

	#my_product .wd-gallery-thumb .wd-carousel { --wd-col-sm: 5 !important; --wd-col-md: 5 !important; }
	#my_product .product-additional-galleries { top: 10px; bottom: auto; right: 10px; left: auto; }

	.cl-fab { left: 12px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
	.cl-fab-btn { width: 54px; height: 54px; }
	.cl-fab-list { min-width: 230px; }
	.cl-toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 24px); font-size: 14px; }
	.cl-toast-t { white-space: normal; flex: 1; }
	.cl-cat-seo { margin-top: 28px; padding-top: 24px; font-size: 14px; }
	.cl-cat-seo h2 { font-size: 20px; }
	/* полоса доверия на телефоне */
	#my_product .cl-trust { gap: 6px; }
	#my_product .cl-trust li { padding: 10px 4px; }
	#my_product .cl-trust b { font-size: 12.5px; }
	#my_product .cl-trust small { font-size: 11px; }

	/* липкая панель «В корзину» */
	.cl-sticky-buy {
		position: fixed;
		left: 8px;
		right: 8px;
		bottom: calc(var(--cl-toolbar-h, 0px) + 8px + env(safe-area-inset-bottom, 0px));
		z-index: 9980;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 8px 8px 8px 10px;
		border-radius: 18px;
		background: rgba(255, 255, 255, .97);
		box-shadow: 0 12px 34px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .05);
		opacity: 0;
		visibility: hidden;
		transform: translateY(120%);
		transition: transform .35s var(--cl-ease), opacity .25s, visibility 0s .35s;
	}
	.cl-sticky-buy.show { opacity: 1; visibility: visible; transform: none; transition: transform .35s var(--cl-ease), opacity .25s, visibility 0s; }
	.cl-sticky-buy img { width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; border-radius: 10px; background: #fff; }
	.cl-sb-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
	.cl-sb-title { font-size: 12px; line-height: 1.25; color: var(--gray-text, #777); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.cl-sb-price { font-size: 15px; font-weight: 700; color: var(--black-color, #0A0A0A); white-space: nowrap; }
	.cl-sb-btn {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		flex: 0 0 auto;
		height: 44px;
		padding: 0 16px;
		border-radius: 50px !important;
		background: var(--wd-title-color, #0A0A0A) !important;
		color: #fff !important;
		font-weight: 600;
		font-size: 14px;
		text-transform: none;
	}
	.cl-sb-btn .cl-cart-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
	body.cl-sticky-on .cl-fab { bottom: calc(var(--cl-toolbar-h, 0px) + 84px + env(safe-area-inset-bottom, 0px)); transition: bottom .3s var(--cl-ease); }
	body.cl-sticky-on .cl-toast { bottom: calc(var(--cl-toolbar-h, 0px) + 84px); }

	.cl-rv { margin: 24px auto 40px; }
	.cl-rv-title { font-size: 22px; margin-bottom: 16px; }
	header .wd-nav-main > li > .wd-dropdown-menu { min-width: 0; }
}
