/* dim24: UX-правки карточек, слайдера и футера (подключается после css_upstore) */

/* Единый формат фото товара: квадрат, белый фон, без обрезки */
.product-thumb .image {
	background: #fff;
}
.product-thumb .image a > img.img-responsive {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
}

/* Название: не больше 3 строк, без пустоты под ним */
.product-thumb .product-name {
	min-height: 0;
	margin-bottom: 8px;
}
.product-thumb .product-name a {
	-webkit-line-clamp: 3;
}

/* «В наявності» не повторяем у каждой карточки, показываем только отсутствие */
.product-thumb .stock-status.instock {
	display: none;
}
.product-thumb .product_model_sstatus {
	margin-bottom: 6px;
}

/* Контраст артикула (было #C5C5C5) */
.product-thumb .product-model,
.container-module-viewed .product-model {
	color: #767676;
}

/* Индикаторы слайдера: читаемая подложка вместо наложения на картинку */
.container-banner .swiper-banner-pagination,
.container-slideshow .swiper-slideshow-pagination,
.megasliderpro .swiper .swiper-ms-pagination,
.promo-slider__pagination {
	padding: 4px 8px;
	border-radius: 12px;
	background: rgba(0, 0, 0, .35);
}

/* Подзаголовки секций: контраст */
.container-module .module-subtitle,
.container-module .heading-subtitle {
	color: #6b6b6b;
}

/* Футер: ссылки в палитре сайта */
footer a.read-more,
footer .more-link,
footer a[href*="#more"] {
	color: inherit;
	text-decoration: underline;
}

/* Единая шкала радиусов: крупные карточки 20px, кнопки-«пилюли» */
.product-thumb,
.dim24-popular-categories__item,
.dim24-popular-categories a,
.subcategory {
	border-radius: 20px;
}

/* Заголовки секций: чуть плотнее, чем 300 */
.title-module > span,
.dim24-popular-categories__title {
	font-weight: 500;
}

/* Карточка товара: главная кнопка «Купити» — залитая и заметная */
#product .cart #button-cart.btn-general {
	background: #FD6000;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	min-height: 48px;
	padding: 0 28px;
	border-radius: 44px;
}
#product .cart #button-cart.btn-general:hover {
	background: #E55600;
}
#product .cart #button-cart.btn-general * {
	color: #fff;
	fill: currentColor;
}

/* Карточка товара: контраст вкладок и кода */
.my-tabs > li:not(.active) > a {
	color: #6b6b6b;
}
.info-model span {
	color: #6b6b6b;
}

/* Футер: ссылка «Далі…» в палитре сайта */
a.seo-more {
	color: #FD6000;
	font-weight: 500;
}

/* «Показати ще» по центру, чтобы не пересекаться с виджетом чата справа */
.box-showmore {
	text-align: center;
}

@media (max-width: 767px) {
	/* Плитки подкатегорий: три в ряд, подпись мельче */
	.swiper-sub-category .subcategory {
		font-size: 12px;
		line-height: 15px;
	}

	/* Карточка плотнее */
	.product-thumb .caption {
		padding-top: 8px;
	}
	.product-thumb .product-name a {
		font-size: 13px;
		line-height: 18px;
	}
}

/* Мегаменю на главной (десктоп): компактные иконки в кружках, подсветка, аккуратный выпадающий список */
@media (min-width: 992px) {
	#menu-vertical-list {
		padding: 6px 0 !important;
	}
	#menu-vertical-list > li {
		height: 40px !important;
		margin: 0 8px;
	}
	#menu-vertical-list > li > a.parent-link {
		display: flex !important;
		align-items: center;
		height: 40px;
		padding: 4px 30px 4px 10px !important;
		border-radius: 12px;
		font-size: 14px;
		font-weight: 500;
		color: #102535;
		transition: background .2s, color .2s;
	}
	#menu-vertical-list > li > a.parent-link img.nsmenu-thumb {
		width: 30px !important;
		height: 30px !important;
		margin-right: 10px !important;
		padding: 5px;
		border-radius: 50%;
		background: #FFF3EA;
		box-sizing: border-box;
		flex: 0 0 30px;
		transition: background .2s;
	}
	#menu-vertical-list > li:hover > a.parent-link,
	#menu-vertical-list > li.open > a.parent-link {
		background: #FFF3EA;
		color: #FD6000;
	}
	#menu-vertical-list > li:hover > a.parent-link img.nsmenu-thumb {
		background: #fff;
	}
	#menu-vertical-list .ns-dd.dropdown-menu-simple {
		padding: 8px !important;
		border-radius: 0 16px 16px 0 !important;
		box-shadow: 0 16px 40px rgba(16, 37, 53, .14) !important;
		animation: dim24MenuIn .22s ease both;
	}
	#menu-vertical-list .ns-dd.dropdown-menu-simple li > a {
		display: block;
		padding: 10px 14px !important;
		border-radius: 10px;
		color: #102535;
		font-weight: 500;
		transition: background .15s, color .15s;
	}
	#menu-vertical-list .ns-dd.dropdown-menu-simple li:hover > a {
		background: #FFF3EA;
		color: #FD6000;
	}
}
@keyframes dim24MenuIn {
	from { opacity: 0; transform: translateX(-8px); }
	to { opacity: 1; transform: none; }
}

/* Шапка (десктоп): фирменный оранжевый на ключевых действиях, телефон без дубля, отклик при наведении */
@media (min-width: 992px) {
	.box-cart button.btn {
		background: #FD6000 !important;
		transition: background .2s;
	}
	.box-cart button.btn:hover {
		background: #E55600 !important;
	}
	.box-cart .cart-total {
		background: #102535 !important;
		color: #fff !important;
	}
	.btn-account,
	.btn-compare-top {
		transition: background .2s, color .2s;
	}
	.btn-account:hover,
	.btn-compare-top:hover {
		background: #FFF3EA !important;
	}
	.btn-account:hover i,
	.btn-compare-top:hover i {
		color: #FD6000 !important;
	}
	.box-search {
		border-radius: 56px;
		transition: box-shadow .2s;
	}
	.box-search:focus-within {
		box-shadow: 0 0 0 2px rgba(253, 96, 0, .45);
	}
	.box-search .btn-search {
		background: #FD6000 !important;
		transition: background .2s;
	}
	.box-search .btn-search i,
	.box-search .btn-search svg {
		color: #fff !important;
		fill: #fff;
	}
	.box-search .btn-search:hover {
		background: #E55600 !important;
	}
	/* Телефон один раз, мессенджеры значками рядом (в настройках темы номер задан дважды) */
	.up-header-phones__items {
		display: flex !important;
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		gap: 6px 12px;
	}
	.up-header-phones__item + .up-header-phones__item a {
		font-size: 0;
	}
}

/* Шапка (десктоп): кнопка «Каталог», верхняя строка ссылок, мягкая тень */
@media (min-width: 992px) {
	.header-nav-links .btn-link {
		font-size: 13px;
		font-weight: 500;
		color: #102535;
		transition: color .2s;
	}
	.header-nav-links .btn-link:hover {
		color: #FD6000;
	}
	.btn-menu-top {
		background: #FD6000 !important;
		border-color: #FD6000 !important;
		color: #fff !important;
		transition: background .2s;
	}
	.btn-menu-top * {
		color: #fff !important;
	}
	.btn-menu-top:hover {
		background: #E55600 !important;
		border-color: #E55600 !important;
	}
	.up-header {
		box-shadow: 0 4px 16px rgba(16, 37, 53, .06);
	}
}

/* Бейджи на карточках товаров: Хіт, Новинка, Акція */
.stickers-ns {
	top: 10px !important;
	left: 10px !important;
}
.sticker-ns {
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	padding: 6px 12px !important;
	border-radius: 999px !important;
	letter-spacing: .2px;
	box-shadow: 0 4px 10px rgba(16, 37, 53, .18);
}
.sticker-ns.popular {
	background: #FD6000 !important;
	color: #fff !important;
}
.sticker-ns.newproduct {
	background: #102535 !important;
	color: #fff !important;
}
.sticker-ns.special {
	background: #E5383B !important;
	color: #fff !important;
}
.sticker-ns.bestseller {
	background: #FFB020 !important;
	color: #102535 !important;
}

/* Отзывы на мобильной: ссылка «Всі відгуки» под заголовком, без наложения */
@media (max-width: 575px) {
	.title-module .see-all-reviews {
		position: static !important;
		display: flex !important;
		align-items: center;
		gap: 8px;
		margin: 6px 0 0 14px;
		padding: 0;
		background: transparent !important;
		font-size: 14px;
	}
}

/* Мегаменю: выпадающий список по высоте содержимого; верхние ссылки */
@media (min-width: 992px) {
	#menu-vertical-list .ns-dd.dropdown-menu-simple {
		bottom: auto !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: 75vh;
		overflow-y: auto;
		border-radius: 16px !important;
	}
	#menu-vertical-list .ns-dd.dropdown-menu-simple > ul {
		height: auto !important;
	}
	#top .header-nav-links .btn-link {
		color: #102535;
	}
	#top .header-nav-links .btn-link:hover {
		color: #FD6000;
	}
}

/* Отзывы о магазине: фирменные цвета вместо «светофора» */
.rating-summary__icon[class*="bg-icon-start"] {
	background: #FD6000 !important;
}
.store-reviews__letter {
	background: #FFF3EA !important;
	color: #FD6000 !important;
	font-weight: 700;
}
.store-reviews__content [class*="date"] {
	color: #6b6b6b !important;
}
.reviews-block.s-box {
	display: flex;
	align-items: center;
}
.reviews-block.s-box .reviews_theme {
	width: 100%;
}

/* Статьи на главной: ровные превью, без дублирующего обрезанного текста */
.module-articles__image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 14px;
}
.module-articles__image a,
.module-articles__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.module-articles__title a {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-weight: 700;
	transition: color .2s;
}
.module-articles__content:hover .module-articles__title a {
	color: #FD6000;
}
.module-articles__description {
	display: none !important;
}
.module-articles__caption::after {
	content: "Читати статтю →";
	order: 2;
	margin: 8px 0 12px;
	color: #FD6000;
	font-size: 14px;
	font-weight: 600;
}
.module-atricles__footer {
	order: 3;
	margin-top: auto;
	color: #6b6b6b;
}
.module-articles__date-text {
	color: #6b6b6b;
}
.module-articles__content {
	transition: transform .22s ease, box-shadow .22s ease;
}
.module-articles__content:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(16, 37, 53, .10);
}

/* SEO-текст категории: без плавающей иконки слева, аккуратная типографика */
.category_description .psfl-l {
	display: none !important;
}
.category_description h2 {
	margin: 28px 0 12px;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 600;
	color: #102535;
}
.category_description h3 {
	margin: 22px 0 10px;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 600;
	color: #102535;
}
.category_description p {
	margin: 0 0 12px;
	line-height: 1.6;
}
.category_description ul,
.category_description ol {
	margin: 0 0 14px;
	padding-left: 22px;
}
.category_description li {
	margin-bottom: 6px;
	line-height: 1.5;
}
@media (max-width: 575px) {
	.category_description h2 { font-size: 22px; }
	.category_description h3 { font-size: 18px; }
}

/* Доступность: ссылки внутри текста различимы не только цветом */
.category_description p a,
.category_description li a,
#tab-description p a,
#tab-description li a,
.dim24-overview a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ===== Маскот dim24 в шапке (PNG) ===== */
.dim-mascot{position:relative;flex:0 0 auto;width:84px;height:66px;margin:0 14px 0 6px;cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none;z-index:5}
.dim-mascot__body{position:absolute;left:2px;bottom:-10px;width:80px;height:80px;will-change:transform;rotate:var(--lean,0deg);transition:rotate .35s ease-out;transform-origin:50% 100%;animation:dimMascotIdle 3.2s ease-in-out infinite}
.dim-mascot__body img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none}
.dim-mascot__shadow{position:absolute;left:50%;bottom:-11px;width:48px;height:7px;margin-left:-24px;border-radius:50%;background:rgba(0,0,0,.22);filter:blur(2px);animation:dimMascotShadow 3.2s ease-in-out infinite}
.dim-mascot:hover .dim-mascot__body{animation:dimMascotWiggle .7s ease-in-out infinite}
.dim-mascot.jump .dim-mascot__body,.dim-mascot.jump .dim-mascot__shadow{animation:dimMascotShadowJump .8s ease-out 1}
@keyframes dimMascotIdle{0%,100%{transform:translateY(0) scale(1,1)}45%{transform:translateY(-3px) scale(.98,1.03)}70%{transform:translateY(0) scale(1.03,.97)}}
@keyframes dimMascotShadow{0%,100%{transform:scaleX(1);opacity:.9}45%{transform:scaleX(.85);opacity:.6}}
@keyframes dimMascotWiggle{0%,100%{transform:rotate(-5deg) translateY(-2px)}50%{transform:rotate(5deg) translateY(-5px)}}
@keyframes dimMascotJump{0%{transform:scale(1.12,.86)}25%{transform:translateY(-26px) scale(.94,1.08) rotate(-8deg)}50%{transform:translateY(-30px) scale(1) rotate(360deg)}75%{transform:translateY(0) scale(1.12,.88)}100%{transform:scale(1)}}
@keyframes dimMascotShadowJump{0%,100%{transform:scaleX(1);opacity:.9}40%,60%{transform:scaleX(.5);opacity:.3}}
.dim-mascot .act-hop{animation:dmaHop .9s cubic-bezier(.3,.7,.4,1) 1}
.dim-mascot .act-spin{animation:dmaSpin 1s ease-in-out 1}
.dim-mascot .act-shake{animation:dmaShake .8s ease-in-out 1}
.dim-mascot .act-squish{animation:dmaSquish .9s ease-in-out 1}
.dim-mascot .act-nod{animation:dmaNod 1s ease-in-out 1}
.dim-mascot .act-sway{animation:dmaSway 1.6s ease-in-out 1}
.dim-mascot__heart{position:absolute;left:50%;top:10px;font-size:15px;line-height:1;opacity:0;pointer-events:none;animation:dmaHeart 1.2s ease-out forwards;z-index:30}
@keyframes dmaHop{0%,100%{transform:translateY(0) scale(1)}15%{transform:translateY(0) scale(1.1,.88)}35%{transform:translateY(-16px) scale(.95,1.07)}55%{transform:translateY(0) scale(1.08,.92)}70%{transform:translateY(-8px)}85%{transform:translateY(0) scale(1.04,.96)}}
@keyframes dmaSpin{0%{transform:perspective(300px) rotateY(0)}100%{transform:perspective(300px) rotateY(360deg)}}
@keyframes dmaShake{0%,100%{transform:rotate(0)}15%{transform:rotate(-10deg)}35%{transform:rotate(9deg)}55%{transform:rotate(-7deg)}75%{transform:rotate(5deg)}}
@keyframes dmaSquish{0%,100%{transform:scale(1,1)}25%{transform:scale(1.12,.86)}50%{transform:scale(.9,1.12) translateY(-6px)}75%{transform:scale(1.06,.94)}}
@keyframes dmaNod{0%,100%{transform:rotate(0) translateY(0)}25%{transform:rotate(7deg) translateY(2px)}50%{transform:rotate(-3deg)}75%{transform:rotate(5deg) translateY(1px)}}
@keyframes dmaSway{0%,100%{transform:translateX(0) rotate(0)}25%{transform:translateX(-6px) rotate(-6deg)}75%{transform:translateX(6px) rotate(6deg)}}
@keyframes dmaHeart{0%{opacity:0;transform:translate(-50%,0) scale(.4)}20%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),var(--dy)) scale(1.2)}}
@media (max-width:991px){.dim-mascot{display:none!important}}
@media (prefers-reduced-motion:reduce){.dim-mascot *,.dim-mascot__shadow{animation:none!important}}

/* ===== Карточка товара: блоки под описанием (доставка/оплата, статьи блога) ===== */
.dim-extra{display:flex;flex-wrap:wrap;gap:16px;margin-top:24px}
.dim-extra__box{flex:1 1 320px;padding:16px 18px;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa;font-size:14px;line-height:1.5}
.dim-extra__title{margin:0 0 8px;font-size:16px;font-weight:700}
.dim-extra__box p{margin:0 0 8px}
.dim-extra__box ul{margin:0 0 8px;padding-left:18px}
.dim-extra__box li{margin-bottom:4px}

/* ===== Карточка товара: блок скидки и преимущества справа от фото (компактно) ===== */
.dim-promo{margin:8px 0 6px;padding:8px 12px;border:1px solid #f6d9c6;border-radius:12px;background:linear-gradient(135deg,#fff7f1 0%,#fff 70%);display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.dim-promo__main{flex:1 1 240px;display:flex;align-items:center;gap:10px;min-width:0}
.dim-promo__icon{flex:0 0 auto;line-height:0}
.dim-promo__title{font-size:14px;font-weight:700;line-height:1.25;color:#1f2937}
.dim-promo__desc{margin-top:2px;font-size:12px;line-height:1.35;color:#4b5563}
.dim-promo__btn{flex:0 0 auto;display:inline-block;padding:7px 14px;border-radius:30px;background:#ee6a1f;color:#fff!important;font-size:13px;font-weight:600;line-height:1.2;text-decoration:none!important;white-space:nowrap;transition:background .15s ease}
.dim-promo__btn:hover{background:#d85a12}
.dim-perks{margin-top:6px;border:1px solid #eceef2;border-radius:12px;background:#fafbfc}
.dim-perks__item{display:flex;align-items:center;gap:8px;padding:6px 12px}
.dim-perks__item+.dim-perks__item{border-top:1px solid #eceef2}
.dim-perks__ico{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;background:#fff1e8;color:#ee6a1f}
.dim-perks__body{font-size:12.5px;line-height:1.35;color:#4b5563}
.dim-perks__title{display:inline;margin-right:4px;font-size:13px;font-weight:700;color:#1f2937}
.dim-perks__title:after{content:":"}
.dim-perks__text{display:inline}
@media (max-width:480px){.dim-promo__btn{width:100%;text-align:center}}

/* ===== Отзывы: пустое состояние ===== */
.dim-reviews-empty{margin:0 0 12px;font-size:14px;line-height:1.5;color:#4b5563;max-width:420px}

/* ===== Карточка товара: компактная галерея фото ===== */
@media (min-width:1200px){
  #product > .col-lg-7{flex:0 0 50%;max-width:50%;width:50%}
  #product > .right-block.col-lg-5{flex:0 0 50%;max-width:50%;width:50%}
}
#product .image-block .thumbnails{max-width:600px;margin:0 auto}
#product .general-image .swiper{border-radius:16px;background:#fff;border:1px solid #eceef2;overflow:hidden}
#product .general-image .swiper-slide{background:#fff;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;max-height:520px}
#product .general-image .swiper-slide a{display:flex!important;align-items:center;justify-content:center;width:100%;height:100%;padding:18px}
#product .general-image .swiper-slide img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:10px;transition:transform .35s ease}
#product .general-image .swiper-slide a:hover img{transform:scale(1.03)}
#product .image-additional .swiper{border-radius:0}
#product .image-additional .swiper-slide{width:72px!important;height:72px!important;margin-bottom:10px}
#product .image-additional .thumbnail{width:72px;height:72px;padding:4px;border:1.5px solid #eceef2;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;transition:border-color .2s ease,box-shadow .2s ease}
#product .image-additional .thumbnail img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px}
#product .image-additional .thumbnail:hover{border-color:#f3a26b}
#product .image-additional .swiper-slide-thumb-active .thumbnail,#product .image-additional .swiper:not(.swiper-initialized) .item.swiper-slide:first-child .thumbnail{border-color:#ee6a1f;box-shadow:0 0 0 3px rgba(238,106,31,.12)}
#product .image-additional .swiper-slide:not(.swiper-slide-thumb-active) .thumbnail:before{display:none}
@media (max-width:767px){
  #product .general-image .swiper-slide{max-height:none}
  #product .general-image .swiper-slide a{padding:10px}
}
/* Калькулятор «Скільки потрібно» */
.dim-calc{margin:14px 0;padding:14px 16px;border:1px solid #f3d3bc;border-radius:10px;background:#fff8f3}
.dim-calc[hidden],.dim-calc__apply[hidden]{display:none}
.dim-calc__title{font-weight:700;font-size:16px;margin-bottom:10px}
.dim-calc__row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dim-calc__input{width:110px;height:38px;padding:0 10px;border:1px solid #ccc;border-radius:6px;font-size:15px}
.dim-calc__check{display:block;margin:8px 0 0;font-weight:400;font-size:13px;cursor:pointer}
.dim-calc__piece{margin-top:8px;font-size:13px;color:#777}
.dim-calc__result{margin-top:6px;font-size:15px}
.dim-calc__apply{margin-top:8px;padding:8px 16px;border:0;border-radius:6px;background:#ee6a1f;color:#fff;font-weight:600;cursor:pointer}
.dim-calc__apply:hover{background:#d85a14}
.dim-calc__row+.dim-calc__row{margin-top:8px}
.dim-calc__label{min-width:130px;margin:0;font-weight:400}
.dim-calc__or{margin:8px 0 4px;font-size:12px;color:#999}
/* Карточка: кнопки «Купити» и «Купити в 1 клік» ближе к количеству */
#product .action-group .cart{margin-left:20px}
/* Калькулятор слева, знижка и переваги справа (десктоп) */
.dim-calc-wrap{display:flex;align-items:flex-start;gap:16px;margin:14px 0}
.dim-calc-wrap .dim-calc{flex:0 0 280px;margin:0}
.dim-calc-side{flex:1 1 0;min-width:0}
.dim-calc-side .dim-promo{margin-top:0}
/* Компактная карточка Інтер'єр (где есть калькулятор) */
#product .right-block-inner:has(.dim-calc) .info-product,
#product .right-block-inner:has(.dim-calc) .price-group,
#product .right-block-inner:has(.dim-calc) .action-group{padding-bottom:12px;margin-bottom:12px}
.dim-calc{display:grid;grid-template-columns:repeat(3,1fr);gap:6px 10px;padding:10px 12px}
.dim-calc[hidden]{display:none}
.dim-calc>*{grid-column:1/-1;margin:0}
.dim-calc__title{font-size:15px;margin-bottom:0}
.dim-calc>.dim-calc__row{grid-column:auto;display:flex;flex-direction:column;align-items:stretch;gap:3px}
.dim-calc__row+.dim-calc__row{margin-top:0}
.dim-calc__label{min-width:0;font-size:12px;line-height:1.2;color:#555}
.dim-calc__input{width:100%;height:34px}
.dim-calc__or{display:none}
.dim-calc__check{font-size:12px}
.dim-calc__piece{margin:0;font-size:12px}
.dim-calc__result{margin:0;font-size:14px}
.dim-calc__apply{margin:0;padding:7px 14px;justify-self:start}
.dim-calc-wrap{margin:8px 0}
.dim-calc-wrap .dim-calc{flex:0 0 300px}
/* Плашка «Офіційний постачальник» */
.dim-official{display:flex;align-items:center;gap:8px;margin:8px 0 6px;padding:7px 12px;border:1px solid #f6d9c6;border-radius:12px;background:#fff;font-size:13px;font-weight:700;color:#1f2937}
.dim-official svg{flex:0 0 auto}
.dim-calc-side .dim-official{margin-top:0}
/* Крупная цена в карточке Інтер'єр */
#product .right-block-inner:has(.dim-calc) .price-group .price{font-size:34px;font-weight:700;line-height:1.1}
#product .right-block-inner:has(.dim-calc) .price-group .price-old{font-size:18px;font-weight:400}
@media (max-width:767px){#product .right-block-inner:has(.dim-calc) .price-group .price{font-size:28px}}
/* Купити / Купити в 1 клік под калькулятором, количество ниже */
.dim-calc-main{flex:0 0 340px;display:flex;flex-direction:column;gap:10px;min-width:0}
.dim-calc-wrap .dim-calc-main .dim-calc{flex:none}
.dim-calc-buy{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#product .dim-calc-buy .cart{margin-left:0}
#product .dim-calc-buy .btn-fastorder{margin-left:0}
.dim-calc-main .dim-calc-qty{align-self:center;margin:0}
#product .action-group.dim-ag-empty{display:none}
.dim-calc>.dim-calc__row{justify-content:flex-end}

/* Мегаменю: «Штучні ялинки» — небесний фон и падающий снег */
@media (min-width: 992px) {
	#menu-vertical-list > li > a.parent-link[href$="shtuchni-yalinki"] {
		position: relative;
		overflow: hidden;
		isolation: isolate;
		color: #0b2540;
		font-weight: 600;
		background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 32'><rect x='11' y='26' width='4' height='5' rx='1' fill='%238a5a33'/><path d='M13 7 L21 16 H17 L23 24 H3 L9 16 H5 Z' fill='%231f8a4c'/><path d='M13 11 L18 16 H8 Z M13 19 L19 24 H7 Z' fill='%2334b968'/><path d='M13 1.5 l1.4 3 3.2.4-2.4 2.2.7 3.2-2.9-1.7-2.9 1.7.7-3.2-2.4-2.2 3.2-.4z' fill='%23ffd23f'><animate attributeName='opacity' values='1;.55;1' dur='1.6s' repeatCount='indefinite'/></path><circle cx='11' cy='14' r='1.3' fill='%23ff4d4d'><animate attributeName='opacity' values='1;.2;1' dur='1.2s' repeatCount='indefinite'/></circle><circle cx='16' cy='19' r='1.3' fill='%23ffd23f'><animate attributeName='opacity' values='.2;1;.2' dur='1.4s' repeatCount='indefinite'/></circle><circle cx='9' cy='22' r='1.3' fill='%23ff8a3d'><animate attributeName='opacity' values='1;.2;1' dur='1.7s' begin='.3s' repeatCount='indefinite'/></circle><circle cx='17' cy='22.5' r='1.2' fill='%23ff4d4d'><animate attributeName='opacity' values='.2;1;.2' dur='1.1s' repeatCount='indefinite'/></circle><circle cx='13' cy='16' r='1.2' fill='%23fff'><animate attributeName='opacity' values='1;.25;1' dur='1.9s' repeatCount='indefinite'/></circle></svg>") no-repeat right 30px center / 24px 30px, linear-gradient(180deg, #7fbdee 0%, #b4dcf6 55%, #e6f4fd 100%);
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
	}
	#menu-vertical-list > li:hover > a.parent-link[href$="shtuchni-yalinki"],
	#menu-vertical-list > li.open > a.parent-link[href$="shtuchni-yalinki"] {
		color: #0b2540;
		background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 32'><rect x='11' y='26' width='4' height='5' rx='1' fill='%238a5a33'/><path d='M13 7 L21 16 H17 L23 24 H3 L9 16 H5 Z' fill='%231f8a4c'/><path d='M13 11 L18 16 H8 Z M13 19 L19 24 H7 Z' fill='%2334b968'/><path d='M13 1.5 l1.4 3 3.2.4-2.4 2.2.7 3.2-2.9-1.7-2.9 1.7.7-3.2-2.4-2.2 3.2-.4z' fill='%23ffd23f'><animate attributeName='opacity' values='1;.55;1' dur='1.6s' repeatCount='indefinite'/></path><circle cx='11' cy='14' r='1.3' fill='%23ff4d4d'><animate attributeName='opacity' values='1;.2;1' dur='1.2s' repeatCount='indefinite'/></circle><circle cx='16' cy='19' r='1.3' fill='%23ffd23f'><animate attributeName='opacity' values='.2;1;.2' dur='1.4s' repeatCount='indefinite'/></circle><circle cx='9' cy='22' r='1.3' fill='%23ff8a3d'><animate attributeName='opacity' values='1;.2;1' dur='1.7s' begin='.3s' repeatCount='indefinite'/></circle><circle cx='17' cy='22.5' r='1.2' fill='%23ff4d4d'><animate attributeName='opacity' values='.2;1;.2' dur='1.1s' repeatCount='indefinite'/></circle><circle cx='13' cy='16' r='1.2' fill='%23fff'><animate attributeName='opacity' values='1;.25;1' dur='1.9s' repeatCount='indefinite'/></circle></svg>") no-repeat right 30px center / 24px 30px, linear-gradient(180deg, #6db2ea 0%, #a6d5f4 55%, #dff0fc 100%);
	}
	#menu-vertical-list > li > a.parent-link[href$="shtuchni-yalinki"] > * {
		position: relative;
		z-index: 1;
	}
	#menu-vertical-list > li > a.parent-link[href$="shtuchni-yalinki"] img.nsmenu-thumb {
		background: rgba(255, 255, 255, .85);
	}
	#menu-vertical-list > li > a.parent-link[href$="shtuchni-yalinki"]::before,
	#menu-vertical-list > li > a.parent-link[href$="shtuchni-yalinki"]::after {
		content: "";
		position: absolute;
		z-index: 0;
		left: 0;
		right: 0;
		top: -60px;
		bottom: 0;
		pointer-events: none;
		background-repeat: repeat;
		will-change: transform;
	}
	/* мелкий быстрый снег */
	#menu-vertical-list > li > a.parent-link[href$="shtuchni-yalinki"]::before {
		background-image:
			radial-gradient(circle 1.4px at 8px 6px, #fff 98%, transparent),
			radial-gradient(circle 1.1px at 27px 22px, rgba(255,255,255,.9) 98%, transparent),
			radial-gradient(circle 1.6px at 44px 11px, #fff 98%, transparent),
			radial-gradient(circle 1.2px at 52px 33px, rgba(255,255,255,.85) 98%, transparent);
		background-size: 60px 40px;
		animation: dim24SnowA 3.2s linear infinite;
	}
	/* крупные хлопья по диагонали */
	#menu-vertical-list > li > a.parent-link[href$="shtuchni-yalinki"]::after {
		background-image:
			radial-gradient(circle 2.4px at 12px 14px, rgba(255,255,255,.95) 60%, rgba(255,255,255,0)),
			radial-gradient(circle 2px at 35px 38px, rgba(255,255,255,.85) 60%, rgba(255,255,255,0));
		background-size: 47px 47px;
		animation: dim24SnowB 7s linear infinite;
	}
	@keyframes dim24SnowA {
		from { transform: translate3d(0, 0, 0); }
		to   { transform: translate3d(0, 40px, 0); }
	}
	@keyframes dim24SnowB {
		from { transform: translate3d(0, 0, 0); }
		to   { transform: translate3d(-47px, 47px, 0); }
	}
}
@media (prefers-reduced-motion: reduce) {
	#menu-vertical-list > li > a.parent-link[href$="shtuchni-yalinki"]::before,
	#menu-vertical-list > li > a.parent-link[href$="shtuchni-yalinki"]::after {
		animation: none;
	}
}
