/* ==========================================================
   Fashion-UA — новая главная и футер (2026-11)
   Все классы с префиксом fu- , чтобы не пересекаться со старой темой.
   ========================================================== */
.fu-home, .fu-footer {
	--fu-text: #1c1c1c;
	--fu-muted: #6f6b66;
	--fu-line: #e7e3dd;
	--fu-bg: #f6f4f1;
	--fu-card: #efece8;
	--fu-dark: #2b2a28;
	--fu-sale: #c62828;
	--fu-new: #6d5c42;
	font-family: 'Open Sans', Arial, sans-serif;
	color: var(--fu-text);
	box-sizing: border-box;
}
.fu-home *, .fu-footer * { box-sizing: border-box; }
.fu-home a, .fu-footer a { color: inherit; text-decoration: none; }
.fu-home img, .fu-footer img { max-width: 100%; display: block; }

.fu-home {
	max-width: 1400px;
	margin: 0 auto;
	padding: 24px 20px 0;
}
.fu-arrow {
	width: 16px; height: 16px; flex: none;
	fill: none; stroke: currentColor; stroke-width: 1.8;
	stroke-linecap: round; stroke-linejoin: round;
	transition: transform .2s ease;
}

/* ---------- Блок 2: категории ---------- */
.fu-cats {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
	margin-bottom: 44px;
}
.fu-cat {
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--fu-line);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.fu-cat__img { display: block; aspect-ratio: 6 / 5; background: var(--fu-card); overflow: hidden; }
.fu-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fu-cat__name {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 14px 16px;
	font-size: 16px; font-weight: 600; line-height: 1.2;
}
.fu-cat:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.fu-cat:hover .fu-cat__img img { transform: scale(1.04); }
.fu-cat:hover .fu-arrow { transform: translateX(3px); }

/* ---------- Заголовки секций ---------- */
.fu-section { margin-bottom: 44px; }
.fu-section__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	margin-bottom: 20px;
}
.fu-home .fu-section__title {
	margin: 0; padding: 0;
	font-size: 28px; font-weight: 700; line-height: 1.2; text-align: left;
	text-transform: none; letter-spacing: 0;
}
.fu-section__all {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.fu-section__all:hover .fu-arrow { transform: translateX(3px); }

/* ---------- Блоки 3 и 5: товары ---------- */
.fu-products__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}
.fu-card { display: flex; flex-direction: column; min-width: 0; }
.fu-card__img {
	position: relative; display: block;
	aspect-ratio: 3 / 4;
	background: var(--fu-card);
	overflow: hidden;
	margin-bottom: 12px;
}
.fu-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fu-card:hover .fu-card__img img { transform: scale(1.04); }
.fu-badge {
	position: absolute; top: 10px; left: 10px;
	padding: 3px 8px;
	font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .04em;
	color: #fff;
}
.fu-badge_new { background: var(--fu-new); }
.fu-badge_sale { background: var(--fu-sale); }
.fu-card__name {
	font-size: 14px; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 2.7em;
	margin-bottom: 6px;
}
.fu-card__name:hover { text-decoration: underline; }
.fu-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 17px; font-weight: 700; }
.fu-card__old { font-size: 13px; font-weight: 400; color: var(--fu-muted); text-decoration: line-through; }
.fu-card__new { color: var(--fu-sale); }

/* ---------- Блок 4: баннеры ---------- */
.fu-banners {
	display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
	margin-bottom: 44px;
}
.fu-banner {
	position: relative; display: flex; align-items: center;
	min-height: 240px;
	padding: 32px 40px;
	background-repeat: no-repeat;
	background-position: right center;
	background-size: auto 100%;
	overflow: hidden;
}
.fu-banner::before { /* плавный переход цвета фона в фото */
	content: ""; position: absolute; inset: 0; pointer-events: none;
}
.fu-home .fu-banner_dark { background-color: #3a3936; color: #fff; }
.fu-banner_dark::before { background: linear-gradient(90deg, #3a3936 45%, rgba(58,57,54,0) 70%); }
.fu-home .fu-banner_light { background-color: #e9e7e4; color: var(--fu-text); }
.fu-banner_light::before { background: linear-gradient(90deg, #e9e7e4 45%, rgba(233,231,228,0) 70%); }
.fu-banner__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; max-width: 60%; }
.fu-banner__title { font-size: 30px; font-weight: 700; line-height: 1.15; margin-bottom: 12px; }
.fu-banner__text { font-size: 15px; line-height: 1.45; opacity: .9; margin-bottom: 22px; }
.fu-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 20px;
	font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
	border: 1px solid currentColor;
	transition: background .2s ease, color .2s ease;
}
.fu-home .fu-banner_dark:hover .fu-btn { background: #fff; color: #3a3936; }
.fu-home .fu-banner_light:hover .fu-btn { background: var(--fu-text); color: #fff; }
.fu-banner:hover .fu-arrow { transform: translateX(3px); }

/* ---------- Блок 6: преимущества ---------- */
.fu-adv {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
	background: var(--fu-bg);
	border-top: 1px solid var(--fu-line); border-bottom: 1px solid var(--fu-line);
	padding: 24px 32px;
	margin-bottom: 44px;
}
.fu-adv__item { display: flex; align-items: center; gap: 16px; font-size: 13px; line-height: 1.4; }
.fu-adv__item b { display: block; font-size: 14px; font-weight: 600; }
.fu-adv__item span { color: var(--fu-muted); }
.fu-adv__icon {
	width: 38px; height: 38px; flex: none;
	fill: none; stroke: var(--fu-text); stroke-width: 1.3;
	stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Блок 7: SEO-текст ---------- */
.fu-seo {
	color: #444; font-size: 14px; line-height: 1.65;
	padding-bottom: 40px;
}
.fu-seo #seo_text { padding: 0 !important; }
.fu-seo h1 { font-size: 26px; line-height: 1.25; margin: 0 0 16px; color: var(--fu-text); text-align: left; }
.fu-seo h2, .fu-seo h3 { font-size: 18px; line-height: 1.3; margin: 28px 0 10px; color: var(--fu-text); text-align: left; }
.fu-seo h4 { font-size: 15px; margin: 18px 0 6px; color: var(--fu-text); }
.fu-seo p { margin: 0 0 12px; }
.fu-seo ol, .fu-seo ul { margin: 0 0 12px; padding-left: 22px; }
.fu-seo li { margin-bottom: 4px; }

/* ---------- Блок 8: футер ---------- */
.fu-footer {
	background: var(--fu-bg);
	border-top: 1px solid var(--fu-line);
	font-size: 14px; line-height: 1.5;
	clear: both;
}
.fu-footer__in {
	max-width: 1400px; margin: 0 auto;
	padding: 44px 20px 32px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.2fr;
	gap: 32px;
}
.fu-footer__brand img { width: 190px; height: auto; }
.fu-footer__brand p { margin: 8px 0 16px; color: var(--fu-muted); font-size: 13px; }
.fu-footer__social { display: flex; gap: 10px; margin-bottom: 18px; }
.fu-footer__social a {
	width: 36px; height: 36px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--fu-line); background: #fff;
	transition: background .2s ease, border-color .2s ease;
}
.fu-footer__social svg { width: 18px; height: 18px; fill: none; stroke: var(--fu-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fu-footer__social svg .fill { fill: var(--fu-text); stroke: none; }
.fu-footer__social a:hover { background: var(--fu-text); border-color: var(--fu-text); }
.fu-footer__social a:hover svg { stroke: #fff; }
.fu-footer__social a:hover svg .fill { fill: #fff; }
.fu-footer .fu-footer__pay { width: 150px; height: auto; }
.fu-footer__title { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.fu-footer ul { list-style: none; margin: 0; padding: 0; }
.fu-footer li { margin: 0 0 8px; padding: 0; }
.fu-footer li a, .fu-footer__mail { color: #4a4743; }
.fu-footer li a:hover, .fu-footer__mail:hover { color: var(--fu-text); text-decoration: underline; }
.fu-footer__muted { color: var(--fu-muted); font-size: 13px; margin: 14px 0 0; }
.fu-footer__phone { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.fu-footer__mail { display: block; margin-top: 8px; }
.fu-footer__bottom {
	border-top: 1px solid var(--fu-line);
	text-align: center; color: var(--fu-muted); font-size: 12px;
	padding: 14px 20px;
}

/* ---------- Адаптив (основной дизайн — ПК) ---------- */
@media (max-width: 1100px) {
	.fu-cats, .fu-products__grid { grid-template-columns: repeat(3, 1fr); }
	.fu-adv { grid-template-columns: repeat(2, 1fr); }
	.fu-footer__in { grid-template-columns: repeat(3, 1fr); }
	.fu-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
	.fu-home { padding: 16px 12px 0; }
	.fu-cats { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 32px; }
	.fu-cat__name { padding: 8px; font-size: 13px; }
	.fu-cat__name .fu-arrow { display: none; }
	.fu-products__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.fu-home .fu-section__title { font-size: 22px; }
	.fu-banners { grid-template-columns: 1fr; }
	.fu-banner { min-height: 190px; padding: 24px; }
	.fu-banner__title { font-size: 24px; }
	.fu-adv { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
	.fu-footer__in { grid-template-columns: 1fr 1fr; gap: 24px; }
	.fu-footer__contacts { grid-column: 1 / -1; }
}

/* ==========================================================
   Карточка товара в слайдерах раздела (Топ, Новинки, Просмотренные, Похожие)
   ========================================================== */
div:has(> .fu-pcard) { display: flex !important; flex: 0 0 auto !important; padding-bottom: 10px; } /* не сжимать в строке слайдера; место под карточкой — здесь, а не в margin */
.fu-pcard {
	--pc-accent: #e4471d;
	--pc-accent-hover: #c93b14;
	--pc-sale: #e30613;
	--pc-text: #1c1c1c;
	--pc-muted: #8a8580;
	--pc-line: #ebe7e2;
	position: relative;
	display: flex !important; flex-direction: column;
	flex: 0 0 auto !important; /* ширину задают тема и скрипт слайдера — карточка не должна сжиматься */
	/* ВАЖНО: отступ строго одним значением 5px — скрипт слайдера (images.min.js) берёт из него цифры
	   и вычитает из ширины карточки. «5px 5px 16px» превращалось в 5516 и карточка сжималась в 0. */
	height: auto !important;
	margin: 5px !important; padding: 0 !important;
	background: #fff !important;
	border: 1px solid var(--pc-line) !important;
	border-radius: 16px !important;
	overflow: hidden;
	box-shadow: none;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--pc-text);
	text-align: left;
	transition: box-shadow .2s ease, transform .2s ease;
}
.fu-pcard:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.fu-pcard * { box-sizing: border-box; }

/* фото на всю ширину, пропорции 350×450 */
.fu-pcard .fu-pcard__img { position: relative; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; background: #f3f1ee; }
.fu-pcard .slideritem_imgin { width: 100% !important; height: auto !important; aspect-ratio: 350 / 450; margin: 0 !important; overflow: hidden; }
.fu-pcard .slideritem_imgin a { display: block; width: 100%; height: 100%; }
.fu-pcard .slideritem_imgin img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover; display: block; transition: transform .4s ease; }
.fu-pcard:hover .slideritem_imgin img { transform: scale(1.03); }

/* ярлыки */
.fu-pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; pointer-events: none; }
.fu-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; text-transform: uppercase; letter-spacing: .02em; }
.fu-pill_sale { background: var(--pc-sale); }
.fu-pill_hit { background: var(--pc-accent); }
.fu-pill_new { background: #9e1b1f; } /* тёмно-красный, не яркий */

/* избранное */
.fu-pcard__fav {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(0,0,0,.08);
	transition: transform .15s ease;
}
.fu-pcard__fav:hover { transform: scale(1.08); }
.fu-pcard__fav svg { width: 21px; height: 21px; fill: none; stroke: var(--pc-text); stroke-width: 1.7; stroke-linejoin: round; }
.fu-pcard__fav.is-on svg { fill: var(--pc-sale); stroke: var(--pc-sale); }

/* текст */
.fu-pcard__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 14px 16px 16px; }
.fu-pcard a.fu-pcard__name {
	color: var(--pc-text) !important; text-decoration: none !important;
	font-size: 16px; font-weight: 400; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 2.7em; margin-bottom: 8px;
}
.fu-pcard a.fu-pcard__name:hover { color: var(--pc-accent) !important; }
.fu-pcard__rating { display: flex; align-items: center; gap: 5px; font-size: 14px; color: var(--pc-muted); margin-bottom: 10px; }
.fu-pcard__rating svg { width: 18px; height: 18px; fill: none; stroke: var(--pc-accent); stroke-width: 1.8; stroke-linejoin: round; }
.fu-pcard__rating b { color: var(--pc-text); font-weight: 600; }
.fu-pcard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 14px; }
.fu-pcard__now { font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--pc-text); }
.fu-pcard__price.is-sale .fu-pcard__now { color: var(--pc-sale); }
.fu-pcard__old { font-size: 15px; color: var(--pc-muted); text-decoration: line-through; }

/* кнопка на всю ширину */
.fu-pcard .fu-pcard__btn {
	margin-top: auto; width: 100%;
	display: flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 12px; border-radius: 12px;
	background: var(--pc-accent); color: #fff !important; text-decoration: none !important;
	font-size: 17px; font-weight: 600; line-height: 1.2;
	transition: background .2s ease;
}
.fu-pcard .fu-pcard__btn:hover { background: var(--pc-accent-hover); }
.fu-pcard .fu-pcard__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fu-pcard .fu-pcard__btn.is-disabled { background: #eceae6; color: var(--pc-muted) !important; cursor: default; }

/* старые элементы карточки, если тема их рисует поверх */
.fu-pcard .product_topicon, .fu-pcard .slideritem_topname, .fu-pcard .slideritem_bottomname, .fu-pcard .slideritem_pricefav, .fu-pcard .slideritem_buyinfo { display: none !important; }

@media (max-width: 600px) {
	.fu-pcard { border-radius: 14px !important; }
	.fu-pcard__badges { top: 8px; left: 8px; gap: 4px; }
	.fu-pill { font-size: 11px; padding: 3px 8px; }
	.fu-pcard__fav { top: 8px; right: 8px; width: 34px; height: 34px; }
	.fu-pcard__fav svg { width: 18px; height: 18px; }
	.fu-pcard__body { padding: 10px 10px 12px; }
	.fu-pcard a.fu-pcard__name { font-size: 14px; }
	.fu-pcard__rating { font-size: 12px; }
	.fu-pcard__now { font-size: 19px; }
	.fu-pcard__old { font-size: 13px; }
	.fu-pcard .fu-pcard__btn { font-size: 15px; padding: 11px 8px; gap: 6px; border-radius: 10px; }
	.fu-pcard .fu-pcard__btn svg { width: 18px; height: 18px; }
}

/* ---------- Карточка в сетке товаров категории ---------- */
div.product_main.fu-gwrap {
	border: 0 !important; background: transparent !important; box-shadow: none !important;
	transform: none !important; padding: 0 !important;
}
div.product_main.fu-gwrap:hover { border: 0 !important; box-shadow: none !important; transform: none !important; }
div.product_one.fu-pcard.fu-pcard_grid { flex: 1 1 auto !important; width: auto !important; margin: 6px !important; }
.fu-pcard_grid .product_img.fu-pcard__img { height: auto !important; margin: 0 !important; display: block !important; overflow: hidden; }
.fu-pcard_grid .product_imgin { width: 100% !important; height: auto !important; aspect-ratio: 350 / 450; margin: 0 !important; overflow: hidden; }
.fu-pcard_grid .product_imgin a { display: block; width: 100%; height: 100%; }
.fu-pcard_grid .product_imgin img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover; display: block; transition: transform .4s ease; }
.fu-pcard_grid:hover .product_imgin img { transform: scale(1.03); }
.fu-pcard__sizes { font-size: 13px; color: var(--pc-muted); letter-spacing: .03em; margin: -4px 0 10px; }
.fu-pill_video { background: #2b2a28; pointer-events: auto; cursor: pointer; }
.fu-pcard .product_topicon { display: none !important; }

/* ---------- Телефон: по 2 карточки в ряд и в сетке, и в слайдерах ---------- */
@media (max-width: 649px) {
	/* скрипт слайдера делит ширину ленты на ширину карточки — 150px даёт 2 карточки на экран */
	div.slideritem.fu-pcard { width: 150px; }
}
@media (max-width: 600px) {
	div.product_one.fu-pcard.fu-pcard_grid { margin: 4px !important; }
	.fu-pcard__sizes { font-size: 11px; margin: -4px 0 8px; }
}

/* ---------- Телефон: карточки в нижних слайдерах шире — как в сетке категории ---------- */
@media (max-width: 649px) {
	/* блок слайдера на ширину сетки товаров */
	div.slidertopitems, div.slidernewitems, div.sliderlasitems, div.slideractitems, div.slidersameitems { margin-left: -5px; margin-right: -5px; }
	/* стрелки поверх карточек: скрипт вычитает их ширину из ленты — делаем её 0 */
	div[id^="slider"][id$="Item_Left"], div[id^="slider"][id$="Item_Right"] {
		position: relative; z-index: 5; width: 0 !important; min-width: 0 !important; padding: 0 !important; overflow: visible;
	}
	div[id^="slider"][id$="Item_Left"] input, div[id^="slider"][id$="Item_Right"] input {
		position: absolute; top: 50%; transform: translateY(-50%);
		width: 34px !important; height: 34px !important; padding: 0 !important; border-radius: 50% !important;
		background: rgba(255,255,255,.92) !important; box-shadow: 0 2px 8px rgba(0,0,0,.12); border: 0 !important;
		color: #1c1c1c !important; font-size: 13px !important; line-height: 34px !important;
	}
	div[id^="slider"][id$="Item_Left"] input { left: 8px; }
	div[id^="slider"][id$="Item_Right"] input { right: 8px; }
}

/* ---------- Телефон: ровно 2 карточки в нижних слайдерах, той же ширины, что в сетке категории ----------
   Не зависим от расчёта старого скрипта (на iPhone он иногда давал 3 узкие карточки):
   лента — на всю ширину, карточка — половина экрана минус поля (5px страница + 5px отступ карточки). */
@media (max-width: 649px) {
	div[id$="ItemAllCont"] { max-width: calc(100vw - 10px) !important; } /* 5px поля страницы с каждой стороны */
	div.slideritem.fu-pcard { width: calc((100vw - 30px) / 2) !important; }
	.fu-pcard__rating span { white-space: nowrap; }
}

/* ---------- Сетка категории: название до 3 строк ---------- */
.fu-pcard_grid a.fu-pcard__name { -webkit-line-clamp: 3; min-height: 4.05em; }

/* ---------- Ярлыки (Новинка, Хит, Акция, Видео): на 20% меньше, отступы от края вдвое меньше ---------- */
.fu-pcard__badges { top: 6px; left: 6px; gap: 5px; }
.fu-pill { font-size: 10.5px; padding: 3px 9px; }
@media (max-width: 600px) {
	.fu-pcard__badges { top: 4px; left: 4px; gap: 3px; }
	.fu-pill { font-size: 9px; padding: 2px 6px; }
}

/* ---------- Пагинация в разделах: оранжевая, как кнопки «Купить» ---------- */
div.paging { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0 10px; }
div.paging div.pagingbutton { width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
div.paging div.pagingnow, div.paging div.pagingall, div.paging div.pagingleft, div.paging div.pagingright {
	min-width: 40px; height: 40px; padding: 0 10px !important; box-sizing: border-box;
	display: flex; align-items: center; justify-content: center;
	border-radius: 10px !important; border: 1px solid #ebe7e2 !important;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
div.paging div.pagingnow { background: #e4471d !important; border-color: #e4471d !important; color: #fff !important; cursor: default; }
div.paging div.pagingall { background: #fff !important; color: #1c1c1c !important; }
div.paging div.pagingall a { color: inherit !important; text-decoration: none !important; }
div.paging div.pagingall:hover { background: #fff1ea !important; border-color: #e4471d !important; color: #e4471d !important; }
div.paging div.pagingleft, div.paging div.pagingright { padding: 0 !important; background: transparent !important; border: 0 !important; }
div.paging div.pagingleft input, div.paging div.pagingright input {
	width: 40px !important; height: 40px !important; padding: 0 !important; margin: 0 !important;
	border-radius: 10px !important; border: 0 !important; background: #e4471d !important; color: #fff !important;
	font-size: 14px !important; cursor: pointer; transition: background .2s ease;
}
div.paging div.pagingleft input:hover, div.paging div.pagingright input:hover { background: #c93b14 !important; }

/* ---------- SEO-текст: свёрнут до первых строк, раскрывается кнопкой (текст целиком остаётся в коде для поисковиков) ---------- */
.fu-seo-fold { position: relative; max-height: 150px; overflow: hidden; transition: max-height .35s ease; }
.fu-seo-fold::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; pointer-events: none;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 90%);
}
.fu-seo-fold.is-open { max-height: none; }
.fu-seo-fold.is-open::after { display: none; }
.fu-seo-toggle {
	display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 24px; padding: 9px 16px;
	border: 1px solid #ebe7e2; border-radius: 10px; background: #fff; cursor: pointer;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 14px; font-weight: 600; color: #1c1c1c; transition: border-color .2s ease, color .2s ease;
}
.fu-seo-toggle:hover { border-color: #e4471d; color: #e4471d; }
.fu-seo-toggle::after {
	content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.fu-seo-toggle.is-open::after { transform: translateY(2px) rotate(-135deg); }

/* ---------- «Показать еще N товаров» — в общем оранжевом стиле, по центру ---------- */
button.js_see--more--items {
	display: block; margin: 14px auto 4px !important; padding: 12px 26px !important;
	background: #e4471d !important; color: #fff !important; border: 0 !important; border-radius: 12px !important;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 15px !important; font-weight: 600; cursor: pointer; transition: background .2s ease;
}
button.js_see--more--items:hover { background: #c93b14 !important; }

/* ==========================================================
   Страница категории: общий шрифт, теги, отзывы, таблицы цен
   (только внутри страниц категорий — класс allcentermain_category_*)
   ========================================================== */
[class*="allcentermain_category"],
[class*="allcentermain_category"] h1, [class*="allcentermain_category"] h2, [class*="allcentermain_category"] h3,
[class*="allcentermain_category"] p, [class*="allcentermain_category"] a, [class*="allcentermain_category"] span,
[class*="allcentermain_category"] td, [class*="allcentermain_category"] th, [class*="allcentermain_category"] li,
[class*="allcentermain_category"] div, [class*="allcentermain_category"] button, [class*="allcentermain_category"] input {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
[class*="allcentermain_category"] h1 { font-weight: 700; color: #1c1c1c; letter-spacing: -.01em; }
.categories--undertree--name { padding: 0 3px; line-height: 1.25; -webkit-hyphens: auto; hyphens: auto; }
.categories--undertree--name a { color: #1c1c1c !important; text-decoration: none !important; font-size: 12.5px; }
.categories--undertree--name a:hover { color: #e4471d !important; }

/* теги и ссылки-теги (вверху в слайдере и внизу в дереве разделов): светло-серая скруглённая рамка */
.tags a.tag, .root-tags a.tag-link, .category-tree a.tag-link {
	display: inline-block; padding: 7px 13px !important; margin: 0 !important;
	border: 1px solid #dcd8d2 !important; border-radius: 10px !important; background: #fff !important;
	color: #1c1c1c !important; text-decoration: none !important; font-size: 13.5px; line-height: 1.3;
	box-shadow: none !important; transition: border-color .2s ease, color .2s ease;
}
.tags a.tag { white-space: nowrap; }
.tags a.tag:hover, .root-tags a.tag-link:hover, .category-tree a.tag-link:hover { border-color: #e4471d !important; color: #e4471d !important; }
/* внизу: ссылки-теги в строку с переносом, а не по одной */
.category-tree ul.root-tags, .category-tree ul.tags { display: flex !important; flex-wrap: wrap; gap: 6px; list-style: none !important; padding: 0 !important; margin: 8px 0 14px !important; }
.category-tree ul.root-tags > li.tag, .category-tree ul.tags > li.tag { margin: 0 !important; padding: 0 !important; list-style: none !important; border: 0 !important; background: none !important; }
.category-tree ul.root-tags > li.tag::before, .category-tree ul.tags > li.tag::before { display: none !important; }

/* таблицы «Цена» внизу категории: тот же шрифт, аккуратнее, границы оставлены */
.price-table h3 { font-size: 18px; font-weight: 600; color: #1c1c1c; margin: 18px 0 10px; }
.price-table table { border-collapse: collapse; width: 100%; font-size: 14px; }
.price-table th { background: #ece5da; font-weight: 600; color: #1c1c1c; padding: 10px 12px !important; }
.price-table td { padding: 9px 12px !important; color: #1c1c1c; }
.price-table td a { color: #1c1c1c !important; text-decoration: none !important; }
.price-table td a:hover { color: #e4471d !important; }
.price-table td:last-child { font-weight: 600; white-space: nowrap; }

/* отзывы: карточки по 3 в ряд */
[class*="centermain_category"] .commentspage {
	display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 10px 0 24px;
}
[class*="centermain_category"] .commentspage .pagecomment_separator { display: none !important; }
[class*="centermain_category"] .commentspage .pagecomment {
	display: flex !important; flex-direction: column; margin: 0 !important; padding: 16px !important;
	background: #fff !important; border: 1px solid #ebe7e2 !important; border-radius: 16px !important;
	box-shadow: none !important; width: auto !important; min-width: 0;
}
[class*="centermain_category"] .pagecomment small { display: block; font-size: inherit; }
[class*="centermain_category"] .pagecomment_info { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
[class*="centermain_category"] .pagecomment_name, [class*="centermain_category"] .pagecomment_name span { font-size: 15px; font-weight: 600; color: #1c1c1c; }
[class*="centermain_category"] .pagecomment_date { font-size: 13px; color: #8a8580; white-space: nowrap; }
/* звёзды → одна звезда и цифра оценки (цифра берётся из числа закрашенных звёзд) */
[class*="centermain_category"] .pagecomment_vote { display: flex !important; align-items: center; gap: 5px; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #1c1c1c; }
[class*="centermain_category"] .pagecomment_vote .addcomment_voterate { display: none !important; }
[class*="centermain_category"] .pagecomment_vote::before {
	content: ""; width: 18px; height: 18px; background: #e4471d;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.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 24 24'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
[class*="centermain_category"] .pagecomment_vote::after { content: "0"; }
[class*="centermain_category"] .pagecomment_vote:has(.addcomment_voterate:nth-child(1) .item_actrate)::after { content: "1"; }
[class*="centermain_category"] .pagecomment_vote:has(.addcomment_voterate:nth-child(2) .item_actrate)::after { content: "2"; }
[class*="centermain_category"] .pagecomment_vote:has(.addcomment_voterate:nth-child(3) .item_actrate)::after { content: "3"; }
[class*="centermain_category"] .pagecomment_vote:has(.addcomment_voterate:nth-child(4) .item_actrate)::after { content: "4"; }
[class*="centermain_category"] .pagecomment_vote:has(.addcomment_voterate:nth-child(5) .item_actrate)::after { content: "5"; }
[class*="centermain_category"] .pagecomment_text { flex: 1 1 auto; font-size: 14px; line-height: 1.55; color: #33302c; margin-bottom: 12px; }
[class*="centermain_category"] div.pagecomment_product { margin-top: auto; padding-top: 12px; border-top: 1px solid #ebe7e2; }
[class*="centermain_category"] a.pagecomment_product { display: flex !important; align-items: center; gap: 10px; text-decoration: none !important; border: 0 !important; padding-top: 0 !important; margin-top: 0 !important; }
[class*="centermain_category"] a.pagecomment_product img { width: 46px !important; height: 60px !important; object-fit: cover; border-radius: 8px; flex: none; }
[class*="centermain_category"] .pagecomment_product-name { font-size: 13px; font-weight: 600; line-height: 1.35; color: #1c1c1c;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[class*="centermain_category"] a.pagecomment_product:hover .pagecomment_product-name { color: #e4471d; }
@media (max-width: 1000px) { [class*="centermain_category"] .commentspage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { [class*="centermain_category"] .commentspage { grid-template-columns: 1fr; gap: 10px; } }


/* ==========================================================
   Фон сайта — светло-бежевый; карточки и блоки — белые
   ========================================================== */
/* фон сайта оставлен белым (бежевый пробовали — вернули как было) */
.price-table table { background: #fff; }
.categories--undertree--item { background: #fff; border-radius: 12px; overflow: hidden; }
.tags a.tag, .root-tags a.tag-link, .category-tree a.tag-link { background: #fff !important; }
.fu-seo-toggle { background: #fff; }

/* ==========================================================
   Левое меню фильтров
   ========================================================== */
div.filtercolumn {
	background: #fff !important; border: 1px solid #e3ddd4 !important; border-radius: 14px !important;
	overflow: hidden; margin-bottom: 10px !important;
}
div.filtercolumnseparator { display: none !important; }
div.filtercolumnname {
	background: #ece5da !important; color: #1c1c1c !important;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 14px !important; font-weight: 600 !important; padding: 11px 14px !important; border: 0 !important;
}
div.filtercolumn input.filter { border: 1px solid #e3ddd4 !important; border-radius: 8px !important; padding: 6px 8px !important; }
div.filtercolumn .ui-slider-range { background: #e4471d !important; }
div.filtercolumn .ui-slider-handle { border-radius: 50% !important; background: #fff !important; border: 2px solid #e4471d !important; }

/* цвета: только кружочки, в ряд с переносом (название — подсказкой при наведении).
   Только блок «Цвет»: у его кружков есть картинка-образец (style="background:url(...)"). Материал/Сезон/Страна не трогаем. */
div.filtercolumn:has(.filterparaminfocolors input[style*="background"]) { display: flex !important; flex-wrap: wrap; gap: 10px; padding: 0 16px 16px !important; }
div.filtercolumn:has(.filterparaminfocolors input[style*="background"]) > .filtercolumnname { flex: 1 0 calc(100% + 32px); margin: 0 -16px 4px !important; }
div.filterparaminfocolors:has(input[style*="background"]) { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
div.filterparaminfocolors:has(input[style*="background"]) label.incolor2 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
div.filterparaminfocolors:has(input[style*="background"]) .incolor1 { margin: 0 !important; padding: 0 !important; }
div.filterparaminfocolors .incolor1 input[style*="background"] {
	width: 28px !important; height: 28px !important; margin: 0 !important; border-radius: 50% !important;
	border: 1px solid #d9d3ca !important; background-size: cover !important; cursor: pointer;
	box-shadow: 0 0 0 2px #fff; transition: box-shadow .15s ease;
}
div.filterparaminfocolors .incolor1 input[style*="background"]:hover { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #c9c1b6; }
div.filterparaminfocolors .incolor1 input[style*="background"]:checked,
div.filterparaminfocolors .incolor1 input[style*="background"][data-checked="1"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e4471d; }

/* кнопка «Применить / Застосувати» под фильтрами */
div.filtercolumnbutton { display: flex !important; gap: 8px; margin: 4px 0 14px; }
div.filtercolumnbutton > div { flex: 1 1 0; min-width: 0; }
input#clearFilters {
	display: block; width: 100%; margin: 0 !important; padding: 12px 10px !important;
	background: #fff !important; color: #1c1c1c !important; border: 1px solid #e3ddd4 !important; border-radius: 12px !important;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 15px !important; font-weight: 600; cursor: pointer; transition: border-color .2s ease, color .2s ease;
}
input#clearFilters:hover { border-color: #e4471d !important; color: #e4471d !important; }
input#applyFilters {
	display: block; width: 100%; margin: 0 !important; padding: 12px 16px !important;
	background: #e4471d !important; color: #fff !important; border: 0 !important; border-radius: 12px !important;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 15px !important; font-weight: 600; cursor: pointer; transition: background .2s ease;
}
input#applyFilters:hover { background: #c93b14 !important; }

/* ---------- Мобильные фильтры (раскрывающиеся пункты): бежевые заголовки и цвета кружочками ---------- */
div.filtercolumnname_mobile {
	background: #ece5da !important; color: #1c1c1c !important; font-weight: 600 !important;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
div.filterparamname_mobile > div:has(> .filterparaminfocolors_mobile) { display: flex !important; flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
div.filterparaminfocolors_mobile { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
div.filterparaminfocolors_mobile label.incolor2 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
div.filterparaminfocolors_mobile .incolor1 { margin: 0 !important; padding: 0 !important; }
div.filterparaminfocolors_mobile .incolor1 input[style*="background"] {
	width: 30px !important; height: 30px !important; margin: 0 !important; border-radius: 50% !important;
	border: 1px solid #d9d3ca !important; background-size: cover !important; box-shadow: 0 0 0 2px #fff;
}
div.filterparaminfocolors_mobile .incolor1 input[style*="background"]:checked,
div.filterparaminfocolors_mobile .incolor1 input[style*="background"][data-checked="1"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e4471d; }

/* фильтр «Цена»: ползунок и поля не упираются в края блока */
div.filtercolumn .filterparaminfo_slide { padding: 12px 14px 0 !important; box-sizing: border-box; }
div.filtercolumn .filterslider { margin: 14px 20px 18px !important; }

/* ==========================================================
   Сортировка (ПК и телефон): кнопка-плашка и список скруглёнными строками
   ========================================================== */
div.sorting { display: flex !important; align-items: center; gap: 10px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
div.sorting .sorting_title { font-size: 14px !important; color: #6f6b66 !important; }
div.sorting .sort_one_block {
	position: relative; display: inline-flex !important; align-items: center;
	padding: 9px 38px 9px 14px !important; border: 1px solid #e3ddd4 !important; border-radius: 10px !important; background: #fff !important;
	font-size: 14px !important; font-weight: 600; color: #1c1c1c !important; cursor: pointer; white-space: nowrap;
	transition: border-color .2s ease;
}
div.sorting .sort_one_block:hover { border-color: #e4471d !important; }
div.sorting .sort_one_block::after {
	content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
	border-right: 2px solid #1c1c1c; border-bottom: 2px solid #1c1c1c; transform: rotate(45deg); background: none !important;
}
div.sorting #selectedIn { background: none !important; padding: 0 !important; }
div.sorting .choose_sort_div {
	min-width: 220px; margin-top: 6px !important; padding: 6px !important; z-index: 50 !important;
	background: #fff !important; border: 1px solid #e3ddd4 !important; border-radius: 12px !important;
	box-shadow: 0 12px 30px rgba(0,0,0,.10) !important;
}
div.sorting .choose_sort_line {
	display: flex !important; align-items: center; gap: 8px;
	margin: 0 0 4px !important; padding: 10px 12px !important; border-radius: 8px !important;
	background: #f6f4f1 !important; border: 0 !important;
	font-size: 14px !important; color: #1c1c1c !important; cursor: pointer; white-space: nowrap;
	transition: background .15s ease, color .15s ease;
}
div.sorting .choose_sort_line:last-child { margin-bottom: 0 !important; }
div.sorting .choose_sort_line:hover { background: #ece5da !important; color: #e4471d !important; }
.fu-sort-arrow { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.fu-sort-arrow.is-down { transform: translateY(-2px) rotate(45deg); }
.fu-sort-arrow.is-up { transform: translateY(2px) rotate(-135deg); }

/* ==========================================================
   Мобильные фильтры: больше воздуха в строках с флажками и в «Цене»
   ========================================================== */
div.filterparamname_mobile > div:has(> div > input[type="checkbox"]) { padding: 6px 0 10px !important; }
div.filterparamname_mobile > div > div:has(> input[type="checkbox"]) {
	align-items: center; gap: 10px; margin: 0 !important; padding: 7px 16px !important; box-sizing: border-box;
}
div.filterparamname_mobile > div > div > input[type="checkbox"] { width: 18px !important; height: 18px !important; margin: 0 !important; flex: none; }
div.filterparamname_mobile > div > div > input[type="checkbox"] + label { font-size: 15px; line-height: 1.45; cursor: pointer; }
div.filterparamname_mobile .filterparaminfo_slide { padding: 12px 14px 18px !important; gap: 6px; align-items: center; }
@media (max-width: 600px) {
	/* на телефоне, как и раньше в теме: только «Сортировать ⌄», выбранный пункт не дублируем */
	div.sorting .sort_one_block { display: none !important; }
	div.sorting .sorting_title { font-size: 16px !important; color: #1c1c1c !important; }
}
@media (max-width: 600px) {
	/* список сортировки на телефоне: прижат к правому краю и не выходит за экран */
	div.sorting .choose_sort_div {
		left: auto !important; right: 0 !important;
		min-width: 0 !important; width: max-content !important; max-width: calc(100vw - 20px) !important;
		box-sizing: border-box;
	}
	div.sorting .choose_sort_line { white-space: normal !important; }
}

/* ==========================================================
   Страница товара (allcentermain_item): шрифт, цвета, размеры, кнопки, блок справа, звёзды
   ========================================================== */
[class*="allcentermain_item"] h1, [class*="allcentermain_item"] h2, [class*="allcentermain_item"] h3,
[class*="allcentermain_item"] p, [class*="allcentermain_item"] a, [class*="allcentermain_item"] span,
[class*="allcentermain_item"] div, [class*="allcentermain_item"] li, [class*="allcentermain_item"] td,
[class*="allcentermain_item"] input, [class*="allcentermain_item"] button, [class*="allcentermain_item"] label {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
[class*="allcentermain_item"] .productname h1 { font-weight: 600 !important; color: #1c1c1c; letter-spacing: 0; }

/* выбор цвета (фото других цветов): оранжевая окантовка, скругления */
.initemnewparam .family_item {
	border: 1.5px solid #e4471d !important; border-radius: 10px !important; overflow: hidden;
	background: #fff !important; padding: 2px !important; margin: 0 8px 8px 0 !important; transition: box-shadow .15s ease;
}
.initemnewparam .family_item img { border-radius: 8px; display: block; }
.initemnewparam .family_item:hover { box-shadow: 0 0 0 1px #e4471d; }
.initemnewparam .family_item.sizeactchanger { border-width: 2.5px !important; box-shadow: 0 0 0 2px rgba(228,71,29,.18); }

/* выбор размера: оранжевая окантовка, выбранный — оранжевый фон */
.initemnewparam_param > div.sizechanger:not(.family_item),
.initemnewparam_param > div.sizeactchanger:not(.family_item) {
	min-width: 52px; box-sizing: border-box; text-align: center;
	margin: 0 8px 8px 0 !important; padding: 10px 16px !important;
	border: 1.5px solid #e4471d !important; border-radius: 10px !important;
	font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.initemnewparam_param > div.sizechanger:not(.family_item) { background: #fff !important; color: #1c1c1c !important; }
.initemnewparam_param > div.sizechanger:not(.family_item):hover { background: #fff1ea !important; }
.initemnewparam_param > div.sizeactchanger:not(.family_item) { background: #e4471d !important; color: #fff !important; }

/* кнопки «Добавить в корзину» и «Купить в один клик» */
input[id^="toCartButton"], input[id^="toCartOneButton"] {
	border-radius: 12px !important; padding: 13px 22px !important; font-size: 16px !important; font-weight: 600 !important;
	text-transform: none !important; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}
input[id^="toCartButton"] { background: #e4471d !important; border: 1.5px solid #e4471d !important; color: #fff !important; }
input[id^="toCartButton"]:hover { background: #c93b14 !important; border-color: #c93b14 !important; }
input[id^="toCartOneButton"] { background: #fff !important; border: 1.5px solid #e4471d !important; color: #e4471d !important; }
input[id^="toCartOneButton"]:hover { background: #fff1ea !important; }

/* блок справа (оплата, доставка, гарантия, обмен, скидки): отдельные скруглённые карточки с бежевым заголовком */
.productrightcolumn .rightItemBlock {
	border: 1px solid #e3ddd4 !important; border-radius: 12px !important; overflow: hidden;
	background: #fff !important; margin-bottom: 10px !important;
}
.productrightcolumn .rightItemTitle {
	background: #ece5da !important; color: #1c1c1c !important; border: 0 !important;
	font-size: 13px !important; font-weight: 600 !important; letter-spacing: .02em; padding: 10px 14px !important;
}
.productrightcolumn .rightItemText { padding: 10px 14px !important; font-size: 13px; line-height: 1.5; color: #33302c; border: 0 !important; }

/* звёзды рейтинга — оранжевые, как на карточках (вместо картинок starsm1/starsm) */
div.item_actrate, div.item_rate {
	background-image: none !important; width: 18px !important; height: 18px !important;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.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 24 24'%3E%3Cpath d='M12 2.8l2.8 5.8 6.3.9-4.6 4.4 1.1 6.3L12 17.2l-5.6 3 1.1-6.3L2.9 9.5l6.3-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
div.item_actrate { background-color: #e4471d !important; }
div.item_rate { background-color: #ddd6cc !important; }

/* выбранный цвет — рамка на 1px толще */
.initemnewparam .family_item.sizeactchanger { border-width: 3.5px !important; }

/* ---------- Страница товара, телефон: отступы и крупнее цена ---------- */
@media (max-width: 767px) {
	[class*="allcentermain_item"] .productcode { margin-top: 20px !important; }          /* пустая строка между «Є у наявності» и артикулом */
	[class*="allcentermain_item"] .productprice { font-size: 25px !important; margin-bottom: 18px !important; } /* цена крупнее (+4px) и +10px до кнопок */
	[class*="allcentermain_item"] .productrightcolumn { margin-top: 15px !important; }    /* отступ после описания перед «Оплата після отримання» */
}

/* ==========================================================
   Верхнее меню категорий (ПК): пункты-«пилюли» и выпадающая панель в стиле Бетонбрука
   ========================================================== */
@media (min-width: 771px) {
	div.megacatalog { background: #fff !important; border-top: 1px solid #f0ece6; border-bottom: 1px solid #f0ece6; }
	div.megacatalogin { justify-content: center !important; gap: 6px; padding: 8px 12px; box-sizing: border-box; }
	div.megacatalogseparator { display: none !important; }
	div.megacategory, div.activemegacategory { flex: 0 0 auto !important; border-bottom: 0 !important; }
	div.megacategory:hover { border-bottom: 0 !important; }
	a.megacategory, a.activemegacategory {
		padding: 10px 18px !important; min-height: 0 !important; border-radius: 12px; border: 1.5px solid transparent;
		font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
		font-size: 15px !important; font-weight: 600; text-transform: none !important; letter-spacing: 0; color: #1c1c1c !important;
		text-decoration: none !important; transition: border-color .2s ease, color .2s ease, background .2s ease;
	}
	div.megacategory:hover > a.megacategory { border-color: #e4471d; color: #e4471d !important; }
	a.activemegacategory { background: #e4471d; border-color: #e4471d; color: #fff !important; }

	/* панель: место для «мостика» под пунктом, чтобы курсор не терял наведение */
	/* «мостик» под пунктом делаем внутри абсолютной панели, а не в обёртке —
	   иначе обёртка (position: relative) прибавляет высоту пункту и меню «сползает» при наведении */
	div.megacatalogsubmenu { top: 0 !important; padding: 0 !important; height: 0 !important; }
	div.megacatalogsubmenuinfo { padding-top: 10px; }
	div.megacatalogsubmenuinfo1 {
		background: #fff !important; border: 1px solid #ebe7e2; border-radius: 16px; padding: 10px;
		box-shadow: 0 18px 40px rgba(0,0,0,.12) !important; box-sizing: border-box;
	}
	div.megasubcategory { min-width: 260px; }
	div.megasubcategoryblock { padding: 0 !important; margin: 2px 0; }
	div.megasubcategoryinfo { margin: 0 !important; }
	div.megasubcategorylink {
		position: relative; padding: 11px 38px 11px 14px; border-radius: 10px;
		background-image: none !important; transition: background-color .15s ease;
	}
	div.megasubcategoryblock:has(.inthreees) div.megasubcategorylink::after {
		content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -4px;
		border-right: 2px solid #8a8580; border-top: 2px solid #8a8580; transform: rotate(45deg);
	}
	a.subcattwo, a.subcattwo:hover {
		font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
		font-size: 15px !important; font-weight: 500 !important; color: #1c1c1c !important; text-decoration: none !important;
	}
	div.megasubcategoryblock:hover > .megasubcategoryinfo div.megasubcategorylink { background-color: #e4471d !important; }
	div.megasubcategoryblock:hover > .megasubcategoryinfo a.subcattwo { color: #fff !important; }
	div.megasubcategoryblock:hover div.megasubcategorylink::after { border-color: #fff !important; }

	/* третий уровень — карточка справа */
	div.inthreees {
		left: calc(100% + 2px) !important; top: -10px !important; min-width: 230px; padding: 8px !important;
		background: #fff !important; border: 1px solid #ebe7e2; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.12) !important;
	}
	div.megasubcategorysublink { padding: 9px 12px 9px 28px !important; border-radius: 8px; position: relative; transition: background .15s ease; }
	div.megasubcategorysublink::before {
		content: ""; position: absolute; left: 12px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
		border-right: 2px solid #e4471d; border-top: 2px solid #e4471d; transform: rotate(45deg);
	}
	div.megasubcategorysublink:hover { background: #fff1ea; }
	a.subcatthree, a.subcatthree:hover {
		font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
		font-size: 14.5px !important; font-weight: 400 !important; color: #33302c !important; text-decoration: none !important;
	}
	div.megasubcategorysublink:hover a.subcatthree { color: #e4471d !important; }
}

/* ==========================================================
   Шапка сайта (ПК от 1001px) по макету 2026-12:
   строка 1 — тонкая полоса: ссылки «Про нас, Як замовити…» слева, телефоны · «Замовити дзвінок» · RU/UA справа;
   строка 2 — логотип · меню каталога · поиск · иконки (вход, обране, кошик).
   Разметку не трогаем: обёртки «растворены» (display: contents), порядок задан order.
   ========================================================== */
@media (min-width: 1001px) {
	div.allheader {
		display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: center;
		column-gap: 22px; row-gap: 0; padding: 0 32px; box-sizing: border-box;
		background: linear-gradient(#f6f4f1 0 36px, #ece7e0 36px 37px, #fff 37px) !important;
		border-bottom: 1px solid #efeae3; position: relative; z-index: 50;
		font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	}
	/* перенос строки между полосой и основной строкой */
	div.allheader::before { content: ""; order: 2; flex: 0 0 100%; height: 0; }
	div.allheader div.overhead, div.allheader div.overheadinfo, div.allheader div.head, div.allheader div.headinfo,
	div.allheader div.underhead, div.allheader div.underheadinfo { display: contents !important; }
	div.allheader div.headcolumn1, div.allheader div.headcolumn2 { display: none !important; }

	/* --- строка 1: тонкая полоса --- */
	div.allheader div.overheadleft { order: 0; flex: 1 1 auto; height: 36px; display: flex !important; align-items: center; margin: 0 !important; padding: 0 !important; }
	div.allheader div.overheadleft .topchapters { display: flex; justify-content: flex-start; align-items: center; gap: 22px; }
	div.allheader div.overheadleft .topchapters_separator { display: none; }
	div.allheader div.overheadleft a.topchapter_link { font-size: 13px; color: #6f6b66 !important; text-decoration: none !important; }
	div.allheader div.overheadleft a.topchapter_link:hover { color: #e4471d !important; }

	div.allheader div.overheadcenter { order: 1; flex: 0 0 auto; height: 36px; display: flex !important; align-items: center; gap: 18px; margin: 0 !important; padding: 0 !important; }
	div.allheader .contacts_head_block { display: flex; align-items: center; gap: 8px; width: auto !important; }
	div.allheader .contacts_head_block img { width: 15px !important; opacity: .7; }
	div.allheader .contacts_head_block p { margin: 0; max-width: none; }
	div.allheader .contacts_head_block span { display: flex; flex-wrap: nowrap; gap: 0; font-size: 0 !important; }
	div.allheader .contacts_head_block span a { font-size: 13px; margin-right: 14px; }
	div.allheader .contacts_head_block span a:last-child { margin-right: 0; }
	div.allheader .contacts_head_block a { color: #1c1c1c !important; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
	div.allheader .contacts_head_block a:hover { color: #e4471d !important; }
	div.allheader .outcallme, div.allheader .callmenewfnc { display: flex !important; align-items: center; gap: 14px; margin: 0 !important; }
	div.allheader #callmeButton {
		padding: 0 !important; border: 0 !important; background: none !important; cursor: pointer; white-space: nowrap;
		color: #e4471d !important; font-size: 13px !important; font-weight: 600 !important; font-family: inherit;
	}
	div.allheader #callmeButton:hover { text-decoration: underline; }
	div.allheader .languages { display: flex !important; gap: 2px; }
	div.allheader .languages > div { padding: 0 !important; margin: 0 !important; }
	div.allheader .languages a { display: inline-block; padding: 3px 7px; border-radius: 6px; font-size: 12px !important; font-weight: 600; color: #6f6b66 !important; text-decoration: none !important; }
	div.allheader .languages .languageact a { background: #e4471d; color: #fff !important; }
	div.allheader .languages .language a:hover { color: #e4471d !important; }

	/* --- строка 2: логотип --- */
	div.allheader div.headcolumnlogo { order: 3; flex: 0 0 auto; padding: 16px 0 !important; margin: 0 !important; }
	div.allheader div.headcolumnlogo img { max-height: 42px; width: auto; display: block; }

	/* меню каталога — в строке с логотипом */
	div.allheader div.megacatalog { order: 4; flex: 1 1 0 !important; min-width: 0; background: none !important; border: 0 !important; margin: 0 !important; }
	div.allheader div.megacatalogin { width: auto !important; justify-content: flex-start !important; gap: 2px; padding: 0 !important; flex-wrap: nowrap; }
	div.allheader a.megacategory, div.allheader a.activemegacategory {
		display: inline-flex !important; align-items: center; gap: 6px;
		padding: 9px 9px !important; border: 0 !important; border-radius: 10px; background: none !important;
		font-size: 14px !important; font-weight: 600; color: #1c1c1c !important; white-space: nowrap;
	}
	div.allheader div.megacategory:has(.megasubcategory) > a::after,
	div.allheader div.activemegacategory:has(.megasubcategory) > a::after {
		content: ""; width: 6px; height: 6px; margin: -3px 0 0 1px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
		transform: rotate(45deg); transition: transform .2s ease;
	}
	div.allheader div.megacategory:hover > a.megacategory, div.allheader a.activemegacategory { color: #e4471d !important; }
	div.allheader div.megacategory:hover > a::after { transform: translateY(3px) rotate(225deg); }
	div.allheader a.megacategory[href$="sales"], div.allheader a.activemegacategory[href$="sales"] { color: #e4471d !important; }

	/* поиск */
	div.allheader div.overheadright { order: 5; flex: 0 1 250px; min-width: 170px; margin: 0 !important; padding: 0 !important; }
	div.allheader div.overheadright .search, div.allheader div.overheadright form { width: 100% !important; max-width: none !important; margin: 0 !important; position: relative; display: block !important; }
	div.allheader div.overheadright .search_input { width: 100% !important; margin: 0 !important; }
	div.allheader div.overheadright .search_input input {
		width: 100% !important; max-width: none !important; height: 42px; box-sizing: border-box; padding: 0 44px 0 16px !important;
		border: 1px solid #e3ddd4 !important; border-radius: 12px !important; background: #faf9f7 !important;
		font-size: 14px !important; color: #1c1c1c; outline: none; transition: border-color .2s ease, background .2s ease;
	}
	div.allheader div.overheadright .search_input input:focus { border-color: #e4471d !important; background: #fff !important; }
	div.allheader div.overheadright .search_button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); margin: 0 !important; }
	div.allheader div.overheadright .search_button input {
		width: 36px !important; height: 36px !important; padding: 0 !important; border: 0 !important; border-radius: 9px !important;
		font-size: 0 !important; color: transparent !important; cursor: pointer;
		background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='1.9' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E") center / 20px no-repeat !important;
	}
	div.allheader div.overheadright .search_button input:hover { background-color: #f3efe9 !important; }

	/* иконки: вход · обране · кошик */
	div.allheader div.headcolumn3 { order: 6; flex: 0 0 auto; display: flex !important; align-items: center; gap: 4px; margin: 0 !important; padding: 0 !important; }
	div.allheader div.headcolumn3row1, div.allheader div.headcolumn3row2, div.allheader .buttonsusers,
	div.allheader .buttonsusers_main, div.allheader .buttonsusers_button1 { margin: 0 !important; padding: 0 !important; float: none !important; }
	div.allheader #loginFormButton, div.allheader a.fu-wish, div.allheader .cart_block {
		position: relative; display: inline-flex !important; align-items: center; justify-content: center;
		width: 42px !important; height: 42px !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box;
		border: 0 !important; border-radius: 12px; cursor: pointer; transition: background-color .2s ease;
		font-size: 0 !important; color: transparent !important; background-color: transparent !important;
	}
	div.allheader #loginFormButton:hover, div.allheader a.fu-wish:hover, div.allheader .cart_block:hover { background-color: #f3efe9 !important; }
	div.allheader #loginFormButton {
		background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5c1.2-3.8 4-5.5 7.5-5.5s6.3 1.7 7.5 5.5'/%3E%3C/svg%3E") center / 24px no-repeat !important;
	}
	div.allheader a.fu-wish svg { width: 24px; height: 24px; fill: none; stroke: #1c1c1c; stroke-width: 1.8; stroke-linejoin: round; }
	div.allheader a.fu-wish:hover svg { stroke: #e4471d; }
	div.allheader .cart_block { background-image: none !important; }
	div.allheader .cart_block::before {
		content: ""; width: 24px; height: 24px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	div.allheader .cart_title { display: none !important; }
	div.allheader .cart_modul { position: absolute; top: 3px; right: 1px; margin: 0 !important; padding: 0 !important; background: none !important; width: auto !important; height: auto !important; }
	div.allheader #cartList { display: block; margin: 0 !important; padding: 0 !important; background: none !important; }
	div.allheader #cartList:not(:empty) {
		min-width: 18px; height: 18px; padding: 0 5px !important; box-sizing: border-box; border-radius: 9px;
		background: #e4471d !important; color: #fff !important; font-size: 11px !important; font-weight: 700; line-height: 18px; text-align: center;
	}
	div.allheader #cartList:not(:empty) * { color: #fff !important; font-size: 11px !important; line-height: 18px; margin: 0 !important; padding: 0 !important; background: none !important; }
}
/* полоса сверху: убираем отступы темы, чтобы ссылки и телефоны помещались в одну строку */
@media (min-width: 1001px) {
	div.allheader div.overheadleft { width: auto !important; min-width: 0; }
	div.allheader div.overheadcenter { width: auto !important; margin-left: auto !important; }
	div.allheader .contacts_head_block > div { margin: 0 !important; }
	div.allheader .outcallme, div.allheader .languages { padding: 0 !important; }
}
@media (min-width: 1001px) and (max-width: 1299px) {
	div.allheader div.overheadleft .topchapters { gap: 14px; }
	div.allheader div.overheadleft a.topchapter_link { font-size: 12.5px; }
	div.allheader div.overheadcenter { gap: 12px; }
	div.allheader .contacts_head_block span a { margin-right: 10px; font-size: 12.5px; }
	div.allheader #callmeButton { font-size: 12.5px !important; }
}
/* совсем узкие ПК: в полосе оставляем 2 телефона (до 1150px) и 1 телефон (до 1100px) */
@media (min-width: 1001px) and (max-width: 1150px) {
	div.allheader .contacts_head_block span a:nth-child(3) { display: none; }
	div.allheader div.overheadleft .topchapters { gap: 12px; }
	div.allheader div.overheadcenter { gap: 10px; }
}
@media (min-width: 1001px) and (max-width: 1100px) {
	div.allheader .contacts_head_block span a:nth-child(2) { display: none; }
}
/* иконка «Обране» пока только на ПК (в мобильной шапке нет места) */
@media (max-width: 1000px) { a.fu-wish { display: none !important; } }
/* 1300–1439px: всё в одну строку, но компактнее */
@media (min-width: 1300px) and (max-width: 1439px) {
	div.allheader { column-gap: 14px; padding: 0 20px; }
	div.allheader div.headcolumnlogo img { max-height: 38px; }
	div.allheader div.overheadright { flex-basis: 200px; min-width: 150px; }
	div.allheader a.megacategory, div.allheader a.activemegacategory { font-size: 13.5px !important; padding: 8px 7px !important; gap: 5px; }
}
/* до 1299px меню не помещается в строку с поиском — переносим его второй строкой по центру */
@media (min-width: 1001px) and (max-width: 1299px) {
	div.allheader { column-gap: 18px; padding: 0 20px; }
	div.allheader div.megacatalog { order: 7; flex: 0 0 100% !important; border-top: 1px solid #f0ece6 !important; }
	div.allheader div.megacatalogin { justify-content: center !important; padding: 6px 0 !important; }
	div.allheader div.overheadright { flex: 1 1 auto; }
	div.allheader .contacts_head_block img { display: none; }
}

/* ==========================================================
   Мобильное меню (кнопка «Меню»): белый фон, разделы — скруглённые плашки,
   открытый / текущий раздел — оранжевый, подразделы — плитки в 2 колонки
   ========================================================== */
.mobilemenuchapters #leftDivNew.menuchapters {
	background: #fff !important; padding: 12px 14px 16px !important; box-sizing: border-box;
	border-top: 1px solid #f0ece6; border-bottom: 1px solid #f0ece6; box-shadow: 0 14px 28px rgba(0,0,0,.08);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.mobilemenuchapters .menuchapters_block {
	position: relative; height: auto !important; margin: 0 0 8px !important; padding: 0 !important;
	background: #fff !important; border: 1.5px solid #ebe7e2 !important; border-radius: 12px !important; overflow: hidden;
	transition: border-color .2s ease, background .2s ease;
}
.mobilemenuchapters .menuchapters_block > a.inmobileanchor {
	display: block; padding: 14px 52px 14px 16px !important;
	font-size: 15px !important; font-weight: 600; text-transform: none !important; letter-spacing: 0;
	color: #1c1c1c !important; text-decoration: none !important;
}
.mobilemenuchapters .menuchapters_block > span.spanshowcat {
	position: absolute !important; top: 4px; right: 4px; width: 44px !important; height: 44px !important; margin: 0 !important; float: none !important;
	border-radius: 10px; cursor: pointer; transition: transform .2s ease;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 20px no-repeat !important;
}
/* открытый раздел и текущая страница — оранжевые */
.mobilemenuchapters .menuchapters_block:has(> .twoincat[style*="block"]),
.mobilemenuchapters .menuchapters_block:has(> a.is-current) { border-color: #e4471d !important; background: #fff7f3 !important; }
.mobilemenuchapters .menuchapters_block:has(> .twoincat[style*="block"]) > a.inmobileanchor,
.mobilemenuchapters .menuchapters_block > a.is-current { color: #e4471d !important; }
.mobilemenuchapters .menuchapters_block:has(> .twoincat[style*="block"]) > span.spanshowcat {
	transform: rotate(180deg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e4471d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
}
/* подразделы — плитки в 2 колонки */
.mobilemenuchapters .twoincat { padding: 0 10px 10px !important; margin: 0 !important; background: transparent !important; }
.mobilemenuchapters .twoincat[style*="block"] { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mobilemenuchapters .twoincatcat { padding: 0 !important; margin: 0 !important; height: auto !important; }
.mobilemenuchapters .twoincatcat a.inmobileanchor {
	display: block; height: 100%; box-sizing: border-box; padding: 11px 12px !important; border-radius: 10px;
	background: #fff; border: 1px solid #efe8e0;
	font-size: 14px !important; font-weight: 500; text-transform: none !important; line-height: 1.3;
	color: #1c1c1c !important; text-decoration: none !important;
}
.mobilemenuchapters .twoincatcat a.inmobileanchor:active,
.mobilemenuchapters .twoincatcat a.is-current { background: #e4471d; border-color: #e4471d; color: #fff !important; }
/* RU / UA */
.mobilemenuchapters .languages { display: flex !important; gap: 6px; margin: 14px 2px 0 !important; padding: 0 !important; }
.mobilemenuchapters .languages > div { padding: 0 !important; margin: 0 !important; }
.mobilemenuchapters .languages a {
	display: inline-block; min-width: 26px; text-align: center; padding: 8px 12px; border-radius: 10px; border: 1.5px solid #ebe7e2;
	font-size: 14px !important; font-weight: 600; color: #6f6b66 !important; text-decoration: none !important;
}
.mobilemenuchapters .languages .languageact a { background: #e4471d; border-color: #e4471d; color: #fff !important; }

/* ==========================================================
   Корзина и оформление заказа: розовый → оранжевый, скруглённые поля и кнопки
   ========================================================== */
div.cartpage_table, div.cartpage_data { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
/* цены, суммы, крестик удаления */
td.cartprice, td.cartsumm, td.cartallsumm { color: #e4471d !important; font-weight: 600; }
td.cartdelete input { color: #e4471d !important; cursor: pointer; }
td.cartdelete input:hover { color: #1c1c1c !important; }
/* изменение количества */
div.number-value-changer { border-radius: 12px !important; border-color: #e3ddd4 !important; overflow: hidden; }
div.number-value-changer a.number-increase, div.number-value-changer a.number-decrease { color: #1c1c1c; }
div.number-value-changer a.number-increase:hover, div.number-value-changer a.number-decrease:hover { color: #e4471d; }
/* заголовок «Введите данные…» */
div.cartpage_title { color: #e4471d !important; border-bottom-color: #e4471d !important; font-weight: 600; }
div.cartpage_blockname .star { color: #e4471d !important; }
/* поля: серая окантовка остаётся, углы скруглены */
div.cartpage_data input[type="text"], div.cartpage_data textarea, div.cartpage_data select {
	border-radius: 12px !important; box-sizing: border-box; outline: none;
	transition: border-color .2s ease;
}
div.cartpage_data input[type="text"]:focus, div.cartpage_data textarea:focus, div.cartpage_data select:focus { border-color: #e4471d !important; }
div.citiesblockabs, div.waresblockabs { border-radius: 12px; border-color: #e3ddd4 !important; box-shadow: 0 12px 30px rgba(0,0,0,.10); }
/* кружочки выбора оплаты / доставки */
input.checkboxposhta + label { border: 1.5px solid #e4471d !important; background: #fff !important; color: #e4471d !important; width: 18px !important; height: 18px !important; box-sizing: border-box; }
input.checkboxposhta:checked + label { border-color: #e4471d !important; background: #e4471d !important; box-shadow: inset 0 0 0 3px #fff; }
/* кнопка «Оформить заказ» */
div.cartpage_blockin2 input, div.cartpage_blockin2 input:hover {
	padding: 15px 34px !important; border-radius: 12px !important; border: 0 !important; cursor: pointer;
	font-size: 17px !important; font-weight: 600; font-family: inherit;
	transition: background .2s ease;
}
div.cartpage_blockin2 input { background: #e4471d !important; color: #fff !important; }
div.cartpage_blockin2 input:hover { background: #c93b14 !important; color: #fff !important; }
/* всплывающее окно «Кошик» после добавления товара */
#fadeDiv.cartform { border-radius: 16px !important; overflow: hidden; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.cartinfo_buttons #gotocart, .cartinfo_buttons #closeFadeDiv {
	padding: 12px 22px !important; border-radius: 12px !important; font-size: 15px !important; font-weight: 600; cursor: pointer;
	font-family: inherit; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cartinfo_buttons #gotocart { background: #e4471d !important; border: 1.5px solid #e4471d !important; color: #fff !important; }
.cartinfo_buttons #gotocart:hover { background: #c93b14 !important; border-color: #c93b14 !important; }
.cartinfo_buttons #closeFadeDiv { background: #fff !important; border: 1.5px solid #e4471d !important; color: #e4471d !important; }
.cartinfo_buttons #closeFadeDiv:hover { background: #fff1ea !important; }

/* ==========================================================
   Главная: «Популярні категорії» и 2 баннера (views/home_blocks.php)
   ========================================================== */
.fh-popular, .fh-banners {
	max-width: 1400px; margin: 0 auto; padding: 0 24px; box-sizing: border-box;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #1c1c1c;
}
.fh-popular { margin-top: 34px; }
.fh-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.fh-title { margin: 0 !important; padding: 0 !important; font-size: 26px !important; font-weight: 800 !important; letter-spacing: -.01em; color: #1c1c1c !important; text-transform: none !important; text-align: left !important; }
.fh-all { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #1c1c1c !important; text-decoration: none !important; white-space: nowrap; }
.fh-all:hover { color: #e4471d !important; }
.fh-popular svg, .fh-banners svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.fh-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.fh-cat {
	display: flex; flex-direction: column; overflow: hidden; background: #fff;
	border: 1px solid #ebe7e2; border-radius: 14px; text-decoration: none !important; color: #1c1c1c !important;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.fh-cat:hover { box-shadow: 0 10px 26px rgba(0,0,0,.08); transform: translateY(-2px); border-color: #e3ddd4; }
.fh-cat__img { display: block; aspect-ratio: 151 / 159; background: #f3f1ee; overflow: hidden; }
.fh-cat__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.fh-cat:hover .fh-cat__img img { transform: scale(1.04); }
.fh-cat__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 14px 15px; font-size: 15px; font-weight: 700; line-height: 1.25; }
.fh-cat:hover .fh-cat__name { color: #e4471d; }

.fh-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; margin-bottom: 10px; }
.fh-banner {
	position: relative; display: flex; align-items: center; min-height: 260px; overflow: hidden; border-radius: 16px;
	background: linear-gradient(90deg, var(--fh-bg) 0, var(--fh-bg) 36%, transparent 64%), var(--fh-img) right center / auto 100% no-repeat, var(--fh-bg);
	text-decoration: none !important; color: #fff !important;
}
.fh-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .25s ease; }
.fh-banner:hover::after { background: rgba(0,0,0,.06); }
.fh-banner__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 30px 38px; }
.fh-banner__title { font-size: 34px; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; color: #fff; }
.fh-banner__text { margin-top: 10px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.9); }
.fh-banner__btn {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 11px 18px; border-radius: 10px;
	background: #fff; color: #1c1c1c; font-size: 15px; font-weight: 700; transition: background .2s ease, color .2s ease;
}
.fh-banner:hover .fh-banner__btn { background: #e4471d; color: #fff; }

@media (max-width: 1000px) {
	.fh-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.fh-popular, .fh-banners { padding: 0 12px; }
	.fh-popular { margin-top: 24px; }
	.fh-title { font-size: 21px !important; }
	.fh-all { font-size: 13px; }
	/* категории — горизонтальная лента со свайпом */
	.fh-cats {
		display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
		margin: 0 -12px; padding: 0 12px 6px; scrollbar-width: none;
	}
	.fh-cats::-webkit-scrollbar { display: none; }
	.fh-cat { flex: 0 0 40%; scroll-snap-align: start; border-radius: 12px; }
	.fh-cat__name { padding: 10px 10px 11px; font-size: 13.5px; }
	.fh-cat__name svg { width: 15px; height: 15px; }
	.fh-banners { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
	.fh-banner { min-height: 190px; border-radius: 14px; background: linear-gradient(90deg, var(--fh-bg) 0, var(--fh-bg) 30%, transparent 70%), var(--fh-img) right center / auto 100% no-repeat, var(--fh-bg); }
	.fh-banner__body { padding: 22px 20px; }
	.fh-banner__title { font-size: 25px; }
	.fh-banner__text { font-size: 13.5px; margin-top: 8px; }
	.fh-banner__btn { margin-top: 16px; padding: 9px 14px; font-size: 14px; }
}

/* ==========================================================
   Карточка товара: цена слева, кнопка «Купить / До кошику» справа в одной строке.
   Кнопка — белая с оранжевой окантовкой (при наведении оранжевая), не шире 50% строки.
   Нет в наличии — серая окантовка.
   ========================================================== */
.fu-pcard .fu-pcard__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.fu-pcard .fu-pcard__buy .fu-pcard__price { flex: 1 1 auto; margin-bottom: 0 !important; min-width: 0; }
.fu-pcard .fu-pcard__buy .fu-pcard__btn {
	flex: 0 1 auto; width: auto !important; max-width: 50%; min-height: 44px; margin: 0 !important; padding: 8px 16px !important; gap: 0;
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; text-align: center;
	background: #fff !important; border: 1.5px solid #e4471d; border-radius: 12px; color: #e4471d !important;
	font-size: 16px; font-weight: 600; line-height: 1.2; white-space: normal; text-decoration: none !important;
	transition: background .2s ease, color .2s ease;
}
.fu-pcard .fu-pcard__buy .fu-pcard__btn:hover { background: #e4471d !important; color: #fff !important; }
.fu-pcard .fu-pcard__buy .fu-pcard__btn.is-disabled { border-color: #d6d1ca; background: #eceae6 !important; color: #8a8580 !important; }
.fu-pcard .fu-pcard__buy .fu-pcard__btn.is-disabled:hover { background: #e3e0db !important; color: #6f6b66 !important; }
@media (max-width: 600px) {
	/* на телефоне карточка узкая: цена сверху, кнопка под ней на всю ширину */
	.fu-pcard .fu-pcard__buy { flex-direction: column; align-items: stretch; gap: 8px; }
	.fu-pcard .fu-pcard__buy .fu-pcard__price { white-space: nowrap; }
	.fu-pcard .fu-pcard__buy .fu-pcard__btn { max-width: none; width: 100% !important; min-height: 38px; padding: 6px 8px !important; border-radius: 10px; font-size: 14px; }
}

/* ==========================================================
   Страница товара (ПК): миниатюры галереи слева.
   Фото заполняет миниатюру целиком, активная — тонкая оранжевая рамка.
   Размер подбирает скрипт в footer.php: 6 миниатюр = высота большого фото
   (переменные --fu-th — высота миниатюры, --fu-gal-h — высота колонки).
   ========================================================== */
@media (min-width: 1001px) {
	div.productpredleftcolumn { width: calc(var(--fu-th, 96px) * 2 / 3) !important; min-width: 0 !important; flex: none !important; margin-right: 16px !important; }
	div.productpredleftcolumn .smallitem_info, div.productpredleftcolumn .smallitem_center,
	#smallItemAllCont, #smallItemAllCont .smallitem_contin { width: 100% !important; padding: 0 !important; margin: 0 !important; }
	#smallItemAllCont { height: var(--fu-gal-h, 510px) !important; overflow-y: auto !important; scrollbar-width: none; overscroll-behavior: contain; }
	#smallItemAllCont::-webkit-scrollbar { display: none; }
	/* отступ между миниатюрами — внутри блока (скрипт листает на высоту блока) */
	#smallItemAllCont .smallitem_main { width: 100% !important; height: calc(var(--fu-th, 96px) + 10px) !important; padding: 0 0 10px !important; margin: 0 !important; border: 0 !important; box-sizing: border-box; background: none !important; }
	#smallItemAllCont .smallitem {
		width: 100% !important; height: var(--fu-th, 96px) !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box;
		border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #f3f1ee; transition: border-color .2s ease;
	}
	#smallItemAllCont .smallitem_main:hover .smallitem { border-color: #f0b9a6; }
	#smallItemAllCont .smallitem_main--active .smallitem { border-color: #e4471d !important; }
	#smallItemAllCont .smallitem_img, #smallItemAllCont .smallitem_imgin { width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; display: block !important; }
	/* основное фото — скруглённые углы */
	div.productbigimg #medImg { border-radius: 16px; }
	#smallItemAllCont img.inproductsmallimg { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover; display: block; border-radius: 8px; }
}

/* ==========================================================
   Страница товара (телефон/планшет с каруселью): большое фото сверху,
   миниатюры под ним — до 6 в ряд, скруглённые, активная с оранжевой рамкой.
   Стили срабатывают только когда включена мобильная карусель (#carouselCastumSlier).
   ========================================================== */
/* телефоны (до 600px): тема ставит фото в колонку — применяем сразу, без ожидания карусели (нет «прыжка» при загрузке) */
@media (max-width: 600px) {
	div.newcolumnitem1 > div.productpredleftcolumn { order: 2; width: 100% !important; margin: 10px 0 4px !important; }
	div.newcolumnitem1 #smallItemAllCont { height: auto !important; overflow: visible !important; }
	div.newcolumnitem1 #smallItemAllCont .smallitem_contin {
		display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; width: 100% !important; padding: 0 !important; margin: 0 !important;
	}
	div.newcolumnitem1 #smallItemAllCont .smallitem_main { width: auto !important; height: auto !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; }
	div.newcolumnitem1 #smallItemAllCont .smallitem {
		width: 100% !important; height: auto !important; aspect-ratio: 2 / 3; margin: 0 !important; padding: 0 !important; box-sizing: border-box;
		border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #f3f1ee; cursor: pointer;
	}
	div.newcolumnitem1 #smallItemAllCont .smallitem_main--active .smallitem { border-color: #e4471d !important; }
	div.newcolumnitem1 #smallItemAllCont .smallitem_img,
	div.newcolumnitem1 #smallItemAllCont .smallitem_imgin { width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; display: block !important; }
	div.newcolumnitem1 #smallItemAllCont img.inproductsmallimg { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover; display: block; border-radius: 6px; }
	/* миниатюра «видео» — иконка целиком, по центру */
	div.newcolumnitem1 #smallItemAllCont img.inproductsmallimg[data-video] { object-fit: contain; padding: 22% !important; box-sizing: border-box; background: #fff; opacity: .85; }
	/* основное фото — скруглённые углы */
	div.productbigimg #medImg { border-radius: 14px; }
	#carouselCastumSlier { border-radius: 14px; overflow: hidden; }
}
/* планшеты (601–1000px) — только когда включена мобильная карусель */
@media (min-width: 601px) and (max-width: 1000px) {
	div.newcolumnitem1:has(#carouselCastumSlier) > div.productpredleftcolumn { order: 2; width: 100% !important; margin: 10px 0 4px !important; }
	div.newcolumnitem1:has(#carouselCastumSlier) #smallItemAllCont { height: auto !important; overflow: visible !important; }
	div.newcolumnitem1:has(#carouselCastumSlier) #smallItemAllCont .smallitem_contin {
		display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; width: 100% !important; padding: 0 !important; margin: 0 !important;
	}
	div.newcolumnitem1:has(#carouselCastumSlier) #smallItemAllCont .smallitem_main { width: auto !important; height: auto !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; }
	div.newcolumnitem1:has(#carouselCastumSlier) #smallItemAllCont .smallitem {
		width: 100% !important; height: auto !important; aspect-ratio: 2 / 3; margin: 0 !important; padding: 0 !important; box-sizing: border-box;
		border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #f3f1ee; cursor: pointer;
	}
	div.newcolumnitem1:has(#carouselCastumSlier) #smallItemAllCont .smallitem_main--active .smallitem { border-color: #e4471d !important; }
	div.newcolumnitem1:has(#carouselCastumSlier) #smallItemAllCont .smallitem_img,
	div.newcolumnitem1:has(#carouselCastumSlier) #smallItemAllCont .smallitem_imgin { width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; display: block !important; }
	div.newcolumnitem1:has(#carouselCastumSlier) #smallItemAllCont img.inproductsmallimg { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover; display: block; border-radius: 6px; }
	/* миниатюра «видео» — иконка целиком, по центру */
	div.newcolumnitem1:has(#carouselCastumSlier) #smallItemAllCont img.inproductsmallimg[data-video] { object-fit: contain; padding: 22% !important; box-sizing: border-box; background: #fff; opacity: .85; }
	/* основное фото — скруглённые углы */
	#carouselCastumSlier { border-radius: 14px; overflow: hidden; }
}
