/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme — Davydenko Beauty. Усі власні стилі сайту тут (з 09.11.2026 перенесено з «Налаштування теми → Custom CSS»).
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.1.6
 Text Domain:  woodmart
*/

/*
 Розділи (шукайте за «/* === »):
   • загальні стилі (головна, вкладки товару, мобільне меню, карусель головної)
   • Каталог — лейаути архіву, сайдбар фільтрів
   • Картка товару в каталозі — Loop item «Картка товару — каталог»
   • Футер і перемикачі мови/валюти
   • Картка товару — лейаут «Окремий товар»
   • Картка товару — об'єм (мл) — лейаут «Окремий товар — об'єм (мл)» (очисник пензлів)
 Після правки файл підхоплюється одразу (версія = час зміни файлу), «Зберегти параметри» тиснути не треба.
*/

/* === Загальні стилі === */
/* Каруселі WoodMart: прозора «зона наведення» стрілок (.wd-nav-arrows.wd-pos-sep::after) не повинна перехоплювати кліки по карточках і сторінці
   (09.11.2026 вона перекривала пів сторінки товару і кружки відтінків у каруселі на мобільному). Наведення на карусель працює й без неї. */
.wd-nav-arrows.wd-pos-sep::after { pointer-events: none; }

/* таби головна  */
.wd-products-tabs,
.wd-products-tabs > .wd-tabs-header,
.wd-products-tabs .wd-nav-tabs-wrapper{ max-width:100%; min-width:0; }

.wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs{
  display:flex; width:459px; max-width:100%; margin-inline:auto;
  gap:0; padding:0; border:1px solid #ccb7af; border-radius:8px; overflow:hidden;
}
.wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs > li{ flex:1 1 auto; margin:0; position:relative; }
.wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs > li:first-child{ flex:0 0 auto; }


.wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs > li + li::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:1px; background:#ccb7af;
}
.wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs > li.wd-active::before,
.wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs > li.wd-active + li::before{ display:none; }

.wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs > li > a{
  height:38px; min-height:0; padding:0 24px; justify-content:center; white-space:nowrap;
  border:0; border-radius:0; background:transparent;
  font-family:Mulish,sans-serif; font-size:16px; font-weight:600; line-height:1; text-transform:uppercase;
  color:#1e1e1e; transition:background-color .2s, color .2s;
}
.wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs > li > a .tab-label{ font-weight:inherit; color:inherit; }


.wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs > li.wd-active > a{
  background:#000; color:#f4d2bf; border-radius:8px; margin:-1px; height:40px;
}

@media (hover:hover){
  .wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs > li:not(.wd-active) > a:hover{ color:#000; background:#f8f1ed; }
}

@media (max-width:480px){
  .wd.wd .wd-products-tabs .products-tabs-title.wd-nav-tabs > li > a{ padding:0 12px; font-size:14px; }
}










/* Вхід / Реєстрація / Відновлення пароля — стилі в плагіні «Davydenko Account» (assets/css/account.css) з 09.11.2026 */







/* Картка товару бордери для описів */
/* Вкладки товару — рамка вокруг заголовка, как в макете */
.wd-single-tabs .wd-accordion > .wd-accordion-item + .wd-accordion-item {
	margin-top: 10px;
}

.wd-single-tabs .wd-accordion > .wd-accordion-item > .wd-accordion-title {
	padding: 12px 16px;
	border: 1px solid #2d2826;
	border-radius: 8px;
}

.wd-single-tabs .wd-accordion > .wd-accordion-item > .wd-accordion-content {
	padding: 16px 16px 6px;
	line-height: 20px;
}




/* ===== Мобільне меню Davydenko (макет menu.pdf) ===== */
:root {
	--dbmm-top: 0px;
	--dbmm-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* панель під шапкою */
.mobile-nav.wd-side-hidden {
	top: var(--dbmm-top) !important;
	bottom: 0;
	height: auto !important;
	width: 420px;
	max-width: 100%;
	padding: 40px 16px 40px;
	background: #fff;
	box-shadow: none;
	overflow-y: auto;
	overscroll-behavior: contain;
	z-index: 399;
}
html.dbmm-open .wd-close-side {
	top: var(--dbmm-top) !important;
	z-index: 398;
}
@media (max-width: 767px) {
	.mobile-nav.wd-side-hidden {
		width: 100%;
	}
	html.dbmm-open .wd-close-side {
		background: transparent;
	}
}
html.dbmm-open,
html.dbmm-open body {
	overflow: hidden;
}

/* хрестик */
.mobile-nav .dbmm-close {
	position: absolute;
	top: 21px;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	cursor: pointer;
}
.mobile-nav .dbmm-close:before,
.mobile-nav .dbmm-close:after {
	content: "";
	position: absolute;
	width: 21.5px;
	height: 1.5px;
	background: #000;
	transform: rotate(45deg);
}
.mobile-nav .dbmm-close:after {
	transform: rotate(-45deg);
}

/* пункти 1 рівня */
.mobile-nav .wd-nav-mobile {
	display: block;
	margin: 0;
	padding: 0;
}
.mobile-nav .wd-nav-mobile > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	border: 0;
}
.mobile-nav .wd-nav-mobile > li > a {
	flex: 1 1 0;
	min-width: 0;
	min-height: 30px;
	padding: 0;
	border: 0;
	color: #000;
	font-family: Mulish, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: 0;
	text-transform: uppercase;
}
.mobile-nav .wd-nav-mobile > li > a .nav-link-text {
	padding: 0;
}
.mobile-nav .wd-nav-mobile a:hover,
.mobile-nav .wd-nav-mobile a:focus-visible {
	color: #000;
	opacity: .6;
}

/* стрілка вниз */
.mobile-nav .wd-nav-mobile .wd-nav-opener {
	position: static;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
	width: 44px;
	height: 30px;
	margin: 0 -5px 0 0;
	padding: 0;
	border: 0;
	background: none;
	transform: none;
	cursor: pointer;
}
.mobile-nav .wd-nav-mobile .wd-nav-opener:before {
	display: none;
}
.mobile-nav .wd-nav-mobile .wd-nav-opener:after {
	content: "";
	display: block;
	width: 14px;
	height: 8px;
	margin: 0;
	background: var(--dbmm-chev) no-repeat center / contain;
	font-size: 0;
	transform: none;
	transition: transform .25s;
}
.mobile-nav .wd-nav-mobile > li.dbmm-closed > .wd-nav-opener:after {
	transform: rotate(-90deg);
}

/* підменю */
.mobile-nav .wd-nav-mobile > li > .wd-sub-menu {
	order: 3;
	display: block !important;
	flex: 0 0 100%;
	height: auto !important;
	margin: 0;
	padding: 1px 0 15px;
	border: 0;
}
.mobile-nav .wd-nav-mobile > li.dbmm-closed > .wd-sub-menu {
	display: none !important;
}
.mobile-nav .wd-nav-mobile .wd-sub-menu li {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}
.mobile-nav .wd-nav-mobile .wd-sub-menu li > a {
	display: block;
	min-height: 0;
	padding: 0;
	border: 0;
	color: #000;
	font-family: Mulish, sans-serif;
	font-size: 12px;
	font-weight: 300;
	line-height: 24px;
	letter-spacing: .13em;
	text-transform: uppercase;
}

/* відступ перед «Про нас» */
.mobile-nav .wd-nav-mobile > li.menu-item-1306 {
	margin-top: 64px;
}




/* Главная: стрелки карусели «Усе для цього макіяжу» */
.wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow {
  width: 49px; height: 49px; margin: 0; box-sizing: border-box;
  background: #fff; border: .5px solid #000; border-radius: 8px;
  opacity: 1 !important; visibility: visible; pointer-events: auto !important;
  transform: none !important; transition: opacity .2s;
}
.wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow.wd-disabled { opacity: .35 !important; pointer-events: none !important; }
.wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow .wd-arrow-inner { display: block; width: 100%; height: 100%; line-height: 0; background: center / 12px 24px no-repeat; }
.wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow .wd-arrow-inner::before,
.wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow .wd-arrow-inner::after { display: none !important; }
.wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow.wd-prev .wd-arrow-inner { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24' fill='none'%3E%3Cpath d='M12 0 0 12l12 12' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow.wd-next .wd-arrow-inner { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24' fill='none'%3E%3Cpath d='m0 0 12 12L0 24' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }

@media (min-width: 769px) {
  .wd-17d1a9d6.wd-carousel-container, .wd-17d1a9d6 .wd-carousel-inner { position: static; }
}

/* ПК: по центру правого края фото, выступают за его низ */
@media (min-width: 1200px) {
  .wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow { top: auto !important; bottom: -19px; }
  .wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow.wd-prev { left: calc(41% - 65px) !important; right: auto !important; }
  .wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow.wd-next { left: calc(41% + 16px) !important; right: auto !important; }
}

/* Планшет: на фото справа внизу, чтобы не наезжать на карточки */
@media (min-width: 769px) and (max-width: 1199.98px) {
  .wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow { top: calc(52.58vw - 65px) !important; bottom: auto; }
  .wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow.wd-prev { left: calc(41% - 146px) !important; right: auto !important; }
  .wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow.wd-next { left: calc(41% - 65px) !important; right: auto !important; }
}

/* Мобилка: справа над карточками */
@media (max-width: 768.98px) {
  .wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow { width: 37px; height: 25px; top: -50px !important; bottom: auto; }
  .wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow .wd-arrow-inner { background-size: 6px 12px; }
  .wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow.wd-prev { left: auto !important; right: 69px !important; }
  .wd-17d1a9d6 .wd-nav-arrows.wd-pos-sep .wd-btn-arrow.wd-next { left: auto !important; right: 0 !important; }
}

/* === Каталог (лейаути архіву, сайдбар фільтрів, мітки) === */
/* Head */
.dpc-archive-head { gap: 12px; margin-bottom: 24px; }
.dpc-archive-head .title,
.dpc-archive-title .entry-title,
.dpc-archive-title h1 { margin: 0; text-transform: uppercase; }
.dpc-archive-pretitle .title { margin: 0; letter-spacing: .02em; }

/* Sidebar */
.wd-off-canvas .wp-block-wd-off-sidebar { flex: 0 0 280px; max-width: 280px; }
.dpc-filters-head { gap: 16px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #ccb7af; }
.dpc-filters-head .woocommerce-result-count { margin: 0; font-size: 16px; }
/* 16.11: кнопка «Очистити» не стискається (довгий лічильник витискав текст за межі), лічильник займає решту */
.dpc-filters-head > * { min-width: 0; }
.dpc-filters-head > :has(.dpc-clear-filters), .dpc-clear-filters { flex-shrink: 0; }
.dpc-clear-filters { display: inline-flex; align-items: center; padding: 10px 12px; border: 1px solid #2d2826; color: #2d2826; font-size: 12px; font-weight: 400; line-height: 1; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.dpc-clear-filters:hover { background: #000; border-color: #000; color: #f4d2bf; }
.woodmart-woocommerce-layered-nav.sidebar-widget { margin-bottom: 28px; padding: 0; border: 0; }
.woodmart-woocommerce-layered-nav .widget-title { position: relative; margin-bottom: 12px; padding-right: 32px; color: #000; font-size: 16px; font-weight: 700; line-height: 20px; text-transform: uppercase; cursor: pointer; }
.woodmart-woocommerce-layered-nav .widget-title::after { position: absolute; top: 50%; right: 0; width: 18px; height: 1.5px; background: #2d2826; content: ""; }
.woodmart-woocommerce-layered-nav .widget-title::before { position: absolute; top: 50%; right: 8px; width: 1.5px; height: 18px; margin-top: -8px; background: #2d2826; content: ""; opacity: 0; transition: opacity .2s; }
.woodmart-woocommerce-layered-nav.dpc-collapsed .widget-title::before { opacity: 1; }
.woodmart-woocommerce-layered-nav.dpc-collapsed .wd-scroll { display: none; }
.woodmart-woocommerce-layered-nav .wd-filter-list li { margin-bottom: 4px; } /* 12.11: клієнт просив щільніше (було 14 + 5/5 → крок 44, тепер 30) */
.woodmart-woocommerce-layered-nav .wd-filter-list li:last-child { margin-bottom: 0; }
.woodmart-woocommerce-layered-nav .wd-filter-list a { gap: 12px; padding-top: 2px; padding-bottom: 2px; color: #2d2826; }
.woodmart-woocommerce-layered-nav .wd-filter-lable { font-size: 14px; font-weight: 300; letter-spacing: .14em; text-transform: uppercase; }
.woodmart-woocommerce-layered-nav .count { display: none; }
.woodmart-woocommerce-layered-nav .wd-checkboxes-on a:before { width: 16px; height: 16px; border: 1px solid #b9aaa4; border-radius: 0; background: #fff; }
.woodmart-woocommerce-layered-nav .wd-checkboxes-on .wd-active a:before { border-color: #2d2826; background: #fff; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 10px #2d2826; }
.woodmart-woocommerce-layered-nav .wd-checkboxes-on .wd-active a:after { display: none; }

/* Mobile filter button */
.dpc-filter-bar { margin-bottom: 16px; }
.dpc-filter-btn > a { gap: 6px; color: #000; font-size: 13px; font-weight: 500; text-transform: uppercase; }
.dpc-filter-btn .wd-action-icon:before { content: "" !important; display: block; width: 16px; height: 16px; background: #000; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18l-7 8.5V19l-4 2v-8.5z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%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='M3 4h18l-7 8.5V19l-4 2v-8.5z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* 3: відступ від футера на сторінках каталогу (було 40 → 100) */
body:is(.tax-product_cat, .tax-product_tag, .post-type-archive-product) .wd-page-content { padding-bottom: 60px; }

@media (max-width: 1024px) {
	.wd-off-canvas .wp-block-wd-off-sidebar { flex-basis: auto; max-width: none; }
}

/* 9: фільтр на мобільному/планшеті — Figma «filter» 3328:44904. Шапку «Фільтр (N)» і кнопки внизу додає switcher.js (davydenko-product-card) */
.wp-block-wd-off-sidebar.dpc-mf { width: 375px; max-width: 100%; background: #fff; }
.wp-block-wd-off-sidebar.dpc-mf.dpc-mf-instant { transition: none; }
.wp-block-wd-off-sidebar.wd-side-hidden.dpc-mf > .wd-heading { justify-content: space-between; align-items: center; min-height: 0; padding: 20px 16px; border-bottom: 1px solid #ccb7af; }
.dpc-mf-title { display: inline-flex; align-items: center; gap: 8px; color: #000; font-size: 14px; font-weight: 600; line-height: 18px; }
.dpc-mf-title::before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; background: #000; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h18l-7 8.5V19l-4 2v-8.5z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%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='M3 4h18l-7 8.5V19l-4 2v-8.5z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.dpc-mf > .wd-heading .close-side-widget { margin: 0; }
.dpc-mf > .wd-heading .close-side-widget > a { gap: 0; color: #000; }
.dpc-mf > .wd-heading .close-side-widget .wd-action-text { display: none; }
.dpc-mf > .wd-heading .close-side-widget .wd-action-icon:before { font-size: 18px; color: #000; }
.wp-block-wd-off-sidebar.wd-side-hidden.dpc-mf > .wd-content { padding: 28px 0 16px; }
.dpc-mf .dpc-filters-head { display: none; }
.dpc-mf .woodmart-woocommerce-layered-nav.sidebar-widget { margin: 0 0 12px; padding: 0 16px 12px; border-bottom: 1px solid #ccb7af; }
.dpc-mf .woodmart-woocommerce-layered-nav .widget-title { margin: 0; font-size: 16px; line-height: 30px; }
.dpc-mf .woodmart-woocommerce-layered-nav .wd-scroll { padding-top: 8px; }
.dpc-mf .woodmart-woocommerce-layered-nav .widget-title::after { right: 3px; }
.dpc-mf .woodmart-woocommerce-layered-nav .widget-title::before { right: 11px; }
.dpc-mf-actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 12px; padding: 16px 16px 24px; background: #fff; }
.dpc-mf-actions > .dpc-mf-show, .dpc-mf-actions > .dpc-mf-clear { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; height: 48px; min-height: 0; margin: 0; padding: 0 16px; border: 1px solid #1a1a1a; border-radius: 0; box-shadow: none; font-size: 12px; font-weight: 500; line-height: 30px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.dpc-mf-actions > .dpc-mf-show { background: #2d2826; color: #ccb7af; }
.dpc-mf-actions > .dpc-mf-show:hover { background: #000; color: #f4d2bf; }
.dpc-mf-actions > .dpc-mf-clear { background: #fff; color: #1a1a1a; }
.dpc-mf-actions > .dpc-mf-clear:hover { background: #f6f6f6; color: #000; }
@media (max-width: 768.98px) {
	.wp-block-wd-off-sidebar.dpc-mf { width: 100%; }
	/* шапка сайту видна над фільтром (Figma) — відступ рахує switcher.js */
	.wp-block-wd-off-sidebar.wd-side-hidden.dpc-mf { top: var(--dpc-mf-top, 0px); height: auto; bottom: 0; }
	.wp-block-wd-off-sidebar.wd-side-hidden.dpc-mf > .wd-heading { padding-top: 16px; padding-bottom: 16px; }
}

@media (max-width: 768.98px) {
	.dpc-filters-head { padding-bottom: 16px; margin-bottom: 16px; }
	body:is(.tax-product_cat, .tax-product_tag, .post-type-archive-product) .wd-page-content { padding-bottom: 40px; }
}
/* === /Каталог === */



/* === Картка товару в каталозі (лейаут «Картка товару — каталог», класи dpc-card-*; розміри з Figma: картка 3255:27124, головна 3041:26343, моб. 3311:54369) === */
/* Desktop card 334 x 535: photo 365, title +16 (2 lines reserved, 40), desc +8 (2 lines, 36), +24, price row 46 */
.wd-product .wd-product-wrapper:has(.dpc-card-buy) { position: relative; display: flex; flex-direction: column; height: 100%; }
.wd-carousel-item > .wd-product:has(.dpc-card-buy) { height: 100%; }
.wd-carousel-container.wd-loop-builder-on .wd-carousel-wrap { align-items: stretch; }
.wd-products.wd-grid-g.wd-loop-builder-on:has(.dpc-card-buy) { align-items: stretch; }
.wd-product .wd-product-wrapper > .dpc-card-photo { margin: 0; }
.dpc-card-photo { aspect-ratio: 333 / 365; overflow: hidden; background: #f6f6f6; }
.dpc-card-photo .wd-product-img-link, .dpc-card-photo img { width: 100%; height: 100%; }
.dpc-card-photo img { object-fit: cover; }
.wd-loop-prod-btn.dpc-card-wishlist { position: absolute; top: 12px; right: 12px; z-index: 3; margin: 0; }
.dpc-card-wishlist .wd-action-icon:before { font-size: 22px; color: #2d2826; }
.wd-product .wd-product-wrapper > .dpc-card-head { gap: 8px; margin: 16px 0 0; }
.dpc-card-head .wd-entities-title { flex: 1 1 auto; max-width: 240px; min-height: 40px; margin: 0; }
.dpc-card-head .wd-entities-title.wd-line-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-height: 40px; overflow: hidden; }
.dpc-card-swatches { flex: 0 0 auto; margin-top: 0 !important; padding-top: 0; }
.wd-product .wd-product-wrapper > .dpc-card-desc { min-height: 36px; margin: 8px 0 0; }
.dpc-card-desc p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* stock note sits in the 24px gap above the price row (Figma: 9px under the description, 12/300 #6f1a00) */
.wd-product .wd-product-wrapper > .dpc-card-stock { position: relative; height: 0; margin: 0; }
.dpc-card-stock .in-stock { display: none; }
.dpc-card-stock .stock { position: absolute; top: 9px; left: 0; margin: 0; font-size: 12px; font-weight: 300; line-height: 15px; color: #6f1a00; white-space: nowrap; }
.dpc-card-stock .stock:before { display: none; }
.wd-product .wd-product-wrapper > .dpc-card-buy { margin: auto 0 0; padding-top: 24px; gap: 12px; }
.dpc-card-buy .price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; white-space: nowrap; line-height: 30px; }
.dpc-card-buy .price del { margin: 0; text-decoration-thickness: 1px; opacity: 1; }
.dpc-card-buy .price ins { margin: 0; text-decoration: none; }
/* 12.11: ціна і «В кошик» — як назва товару (16/700), щоб рядок не «розбігався» (у Figma 24 і 18) */
@media (min-width: 769px) {
	/* розмір ціни задає блок лейауту (.wd.wd .wd-xxxx .price, 0-4-0) — перебиваємо подвоєним класом */
	.wd-product.wd-product .dpc-card-buy.dpc-card-buy .price, .wd-product.wd-product .dpc-card-buy.dpc-card-buy .price :is(.amount, del, ins) { font-size: 16px; line-height: 20px; }
	.wd-product .dpc-card-btn .wd-loop-prod-btn.wd-add-btn-replace > a { font-size: 16px; line-height: 20px; }
}
/* WoodMart перебиває display на .price (block), а nowrap лишався — стара+нова ціна на вузьких картках (EN «64.31 $ 59.47 $», слайдер 1280) залазили під кнопку.
   Контейнер переносить рядок, кожна ціна — цілою. */
.wd-product .dpc-card-buy .price { white-space: normal; min-width: 0; }
.wd-product .dpc-card-buy .price > del, .wd-product .dpc-card-buy .price > ins, .wd-product .dpc-card-buy .price .woocommerce-Price-amount { white-space: nowrap; }
/* Labels: Figma «pencil all» — flush in the photo's top-left corner, h 32, padding 0 16, 12/700 #f4d2bf on #000, border 1.5 #2d2826 */
.wd-product .dpc-card-labels { position: absolute; inset: 0 auto auto 0; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 0; padding: 0; }
.wd-product .dpc-card-labels .product-label,
.wd-product .dpc-card-labels .wd-custom-label { display: inline-flex; align-items: center; box-sizing: border-box; min-width: 0; max-width: none; height: 32px; min-height: 0; margin: 0; padding: 0 16px; border: 1.5px solid #2d2826; border-radius: 0; background: #000; color: #f4d2bf; font-size: 12px; font-weight: 700; line-height: 15px; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }
/* 12.11: мітку «Розпродано» в картці не показуємо — досить напису «Немає в наявності» над ціною */
.wd-product .dpc-card-labels .product-label.out-of-stock { display: none; }
.dpc-card-labels .wd-custom-label p { margin: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
/* «В кошик»: Figma button/add 111 x 46 = border 1.5 + padding 10/16 + text 18/700 (line 23) */
.dpc-card-btn { --btn-accented-bgcolor: transparent; --btn-accented-bgcolor-hover: #000; --btn-accented-color: #2d2826; --btn-accented-color-hover: #f4d2bf; --btn-accented-box-shadow: none; --btn-accented-box-shadow-hover: none; --btn-accented-brd-radius: 0px; flex: 0 0 auto; }
.dpc-card-btn .wd-loop-prod-btn.wd-add-btn-replace > a { box-sizing: border-box; min-width: 111px; height: 46px; min-height: 46px; padding: 0; border: 1.5px solid #2d2826; text-transform: none; font-size: 18px; font-weight: 700; line-height: 23px; white-space: nowrap; }
.dpc-card-btn .wd-loop-prod-btn.wd-add-btn-replace > a .wd-action-text { min-height: 0; height: 100%; padding: 0 16px; font-size: inherit; font-weight: inherit; line-height: inherit; text-transform: none; }
.dpc-card-btn .wd-loop-prod-btn.wd-add-btn-replace > a:hover,
.dpc-card-btn .wd-loop-prod-btn.wd-add-btn-replace > a.added,
.dpc-card-btn .wd-loop-prod-btn.wd-add-btn-replace > a.loading { border-color: #000; background-color: #000; color: #f4d2bf; }
.dpc-card-btn .added_to_cart { display: none; }
/* Mobile card (Figma main/mob, card 168 x 311): photo, +8 title 12/700 (2 lines, 30), +4 swatches 18, +4 desc 10/300 (2 lines, 26), +12 price row 24 */
@media (max-width: 768.98px) {
	.wd-loop-prod-btn.dpc-card-wishlist { top: 6px; right: 6px; }
	.wd-product .wd-product-wrapper > .dpc-card-head { flex-wrap: wrap !important; gap: 4px; margin-top: 8px; }
	.dpc-card-head .wd-entities-title { flex: 1 1 100%; max-width: none; min-height: 30px; }
	.dpc-card-head .wd-entities-title.wd-line-clamp { max-height: 30px; }
	.dpc-card-swatches, .dpc-card-swatches .dpc-loop { display: flex; gap: 4px; height: 18px; line-height: 18px; }
	.dpc-card-swatches .dpc-sw--sm, .dpc-card-swatches .dpc-sw--sm .dpc-sw__img,
	.dpc-card-swatches .dpc-loop__more, .dpc-card-swatches .dpc-icon--plus { width: 18px; height: 18px; }
	.wd-product .dpc-card-head > .dpc-card-swatches { flex: 1 1 100%; }
	.dpc-card-swatches .dpc-loop .dpc-sw--sm.dpc-sw--extra { width: 0; }
	.dpc-card-swatches .dpc-loop.is-open { left: 0; right: 0; flex-wrap: wrap; height: auto; row-gap: 4px; padding: 0 0 6px; box-shadow: 0 10px 8px #fff; }
	.dpc-card-swatches .dpc-loop.is-open::before { display: none; }
	.dpc-card-swatches .dpc-loop.is-open .dpc-sw--sm.dpc-sw--extra { width: 18px; }
	.wd-product .wd-product-wrapper > .dpc-card-desc { min-height: 26px; margin-top: 4px; }
	.wd-product .wd-product-wrapper > .dpc-card-stock { height: auto; }
	.dpc-card-stock .stock { position: static; margin-top: 4px; font-size: 10px; line-height: 13px; white-space: normal; }
	.wd-product .wd-product-wrapper > .dpc-card-buy { padding-top: 12px; gap: 4px; }
	.dpc-card-buy .price { column-gap: 4px; line-height: 20px; }
	/* labels: no mobile frame in Figma — same corner, scaled to the 168px photo */
	.wd-product .dpc-card-labels .product-label,
	.wd-product .dpc-card-labels .wd-custom-label { height: 24px; padding: 0 8px; border-width: 1px; font-size: 10px; line-height: 13px; }
	/* shop button: Figma «shop» 24 x 24, #000, round, bag icon 14 white */
	.dpc-card-btn .wd-loop-prod-btn.wd-add-btn-replace > a { width: 24px; min-width: 0; height: 24px; min-height: 24px; padding: 0; border: 0; border-radius: 50%; background: #000; color: #fff; }
	.dpc-card-btn .wd-loop-prod-btn.wd-add-btn-replace > a .wd-action-text { display: none; }
	.dpc-card-btn .wd-loop-prod-btn.wd-add-btn-replace > a .wd-action-icon { position: static; display: inline-flex !important; align-items: center; justify-content: center; transform: none; opacity: 1; }
	.dpc-card-btn .wd-loop-prod-btn.wd-add-btn-replace > a .wd-action-icon:before { content: "" !important; display: block; width: 14px; height: 14px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg width=%2214%22 height=%2214%22 viewBox=%220 0 14 14%22 fill=%22none%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M5.13925 1.1665L3.02759 3.284%22 stroke-width=%220.8%22 stroke-miterlimit=%2210%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke=%22white%22/%3E%3Cpath d=%22M8.86084 1.1665L10.9725 3.284%22 stroke-width=%220.8%22 stroke-miterlimit=%2210%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke=%22white%22/%3E%3Cpath d=%22M1.16675 4.57926C1.16675 3.5001 1.74425 3.4126 2.46175 3.4126H11.5384C12.2559 3.4126 12.8334 3.5001 12.8334 4.57926C12.8334 5.83343 12.2559 5.74593 11.5384 5.74593H2.46175C1.74425 5.74593 1.16675 5.83343 1.16675 4.57926Z%22 stroke-width=%220.8%22 stroke=%22white%22/%3E%3Cpath d=%22M5.69336 8.1665V10.2373%22 stroke-width=%220.8%22 stroke-linecap=%22round%22 stroke=%22white%22/%3E%3Cpath d=%22M8.37671 8.1665V10.2373%22 stroke-width=%220.8%22 stroke-linecap=%22round%22 stroke=%22white%22/%3E%3Cpath d=%22M2.04175 5.8335L2.86425 10.8735C3.05091 12.0052 3.50008 12.8335 5.16841 12.8335H8.68592C10.5001 12.8335 10.7684 12.0402 10.9784 10.9435L11.9584 5.8335%22 stroke-width=%220.8%22 stroke-linecap=%22round%22 stroke=%22white%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg width=%2214%22 height=%2214%22 viewBox=%220 0 14 14%22 fill=%22none%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath d=%22M5.13925 1.1665L3.02759 3.284%22 stroke-width=%220.8%22 stroke-miterlimit=%2210%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke=%22white%22/%3E%3Cpath d=%22M8.86084 1.1665L10.9725 3.284%22 stroke-width=%220.8%22 stroke-miterlimit=%2210%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke=%22white%22/%3E%3Cpath d=%22M1.16675 4.57926C1.16675 3.5001 1.74425 3.4126 2.46175 3.4126H11.5384C12.2559 3.4126 12.8334 3.5001 12.8334 4.57926C12.8334 5.83343 12.2559 5.74593 11.5384 5.74593H2.46175C1.74425 5.74593 1.16675 5.83343 1.16675 4.57926Z%22 stroke-width=%220.8%22 stroke=%22white%22/%3E%3Cpath d=%22M5.69336 8.1665V10.2373%22 stroke-width=%220.8%22 stroke-linecap=%22round%22 stroke=%22white%22/%3E%3Cpath d=%22M8.37671 8.1665V10.2373%22 stroke-width=%220.8%22 stroke-linecap=%22round%22 stroke=%22white%22/%3E%3Cpath d=%22M2.04175 5.8335L2.86425 10.8735C3.05091 12.0052 3.50008 12.8335 5.16841 12.8335H8.68592C10.5001 12.8335 10.7684 12.0402 10.9784 10.9435L11.9584 5.8335%22 stroke-width=%220.8%22 stroke-linecap=%22round%22 stroke=%22white%22/%3E%3C/svg%3E") center / contain no-repeat; }
}
/* === /Картка товару в каталозі === */

/* === Футер і перемикачі === */
/* Footer switchers (Figma footer «change» 418 x 148: box «ВАЛЮТА» / «МОВА», black buttons 161 x 56, radius 8, flag 32 x 24 + code 16/20 #f4d2bf + chevron).
   Markup: cms_block 1148 «footer» (EN copy — its WPML translation), black wd/container .dpc-sw-box with a core/shortcode inside:
   [currency_switcher switcher_style="wcml-dropdown-click" format='<i class="dpc-cur dpc-cur-%code%"></i>%code%'] and [wpml_language_switcher ... template="wpml-legacy-dropdown-click"] */
.wp-block-wd-container.dpc-sw-box { position: relative; }
.wp-block-wd-container.dpc-sw-box > .wcml_currency_switcher.wcml-dropdown-click, .wp-block-wd-container.dpc-sw-box > .wpml-ls { flex: 1 1 auto; align-self: stretch; width: 100%; max-width: none; margin: 0; padding: 0; }
.wp-block-wd-container.dpc-sw-box ul { margin: 0; padding: 0; list-style: none; }
.wp-block-wd-container.dpc-sw-box li, .wp-block-wd-container.dpc-sw-box .wcml_currency_switcher li, .wp-block-wd-container.dpc-sw-box .wcml_currency_switcher li:hover, .wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-submenu li, .wp-block-wd-container.dpc-sw-box li:hover, .wp-block-wd-container.dpc-sw-box li:focus, .wp-block-wd-container.dpc-sw-box li:has(:focus-visible) { margin: 0; padding: 0; border: 0; background: transparent; }
.wp-block-wd-container.dpc-sw-box .wcml-cs-active-currency, .wp-block-wd-container.dpc-sw-box .wpml-ls-current-language { position: static; height: 100%; margin: 0; }
.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-item-toggle, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-item-toggle,
.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-submenu button, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-sub-menu a { display: flex; align-items: center; justify-content: center; gap: 16px; box-sizing: border-box; width: 100%; height: 100%; min-height: 56px; margin: 0; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; box-shadow: none; color: #f4d2bf; font-family: inherit; font-size: 16px; font-weight: 400; line-height: 20px; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; cursor: pointer; }
.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-item-toggle:after, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-item-toggle:after { content: ""; position: static; flex: 0 0 10px; width: 10px; height: 6px; margin: 0 0 0 -6px; border: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%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 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-item-toggle[aria-expanded="true"]:after, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-item-toggle[aria-expanded="true"]:after { transform: rotate(180deg); }
.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-submenu, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-sub-menu { position: absolute; z-index: 30; top: calc(100% + 4px); right: 0; left: 0; margin: 0; padding: 4px 0; border: 0; border-radius: 8px; background: #000; box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-submenu li, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-sub-menu li { margin: 0; border: 0; }
.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-submenu button, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-sub-menu a { min-height: 44px; border-radius: 0; }
.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-submenu button:hover, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-sub-menu a:hover,
.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-submenu button:focus-visible, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-sub-menu a:focus-visible { background: #2d2826; color: #fff; }
.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-item-toggle:hover, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-item-toggle:hover { color: #fff; background: transparent; }
/* currency flags */
.dpc-cur { display: block; flex: 0 0 32px; width: 32px; height: 24px; background: center / 100% 100% no-repeat; }
.dpc-cur-UAH { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath fill='%23ffd500' d='M0 0h32v24H0z'/%3E%3Cpath fill='%23005bbb' d='M0 0h32v12H0z'/%3E%3C/svg%3E"); }
.dpc-cur-USD { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath fill='%23fff' d='M0 0h32v24H0z'/%3E%3Cpath fill='%23b22234' d='M0 0.000h32v1.846H0z'/%3E%3Cpath fill='%23b22234' d='M0 3.692h32v1.846H0z'/%3E%3Cpath fill='%23b22234' d='M0 7.385h32v1.846H0z'/%3E%3Cpath fill='%23b22234' d='M0 11.077h32v1.846H0z'/%3E%3Cpath fill='%23b22234' d='M0 14.769h32v1.846H0z'/%3E%3Cpath fill='%23b22234' d='M0 18.462h32v1.846H0z'/%3E%3Cpath fill='%23b22234' d='M0 22.154h32v1.846H0z'/%3E%3Cpath fill='%233c3b6e' d='M0 0h13v12.923H0z'/%3E%3C/svg%3E"); }
.dpc-cur-EUR { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath fill='%23039' d='M0 0h32v24H0z'/%3E%3Cg fill='%23fc0'%3E%3Ccircle cx='22.50' cy='12.00' r='1'/%3E%3Ccircle cx='21.63' cy='15.25' r='1'/%3E%3Ccircle cx='19.25' cy='17.63' r='1'/%3E%3Ccircle cx='16.00' cy='18.50' r='1'/%3E%3Ccircle cx='12.75' cy='17.63' r='1'/%3E%3Ccircle cx='10.37' cy='15.25' r='1'/%3E%3Ccircle cx='9.50' cy='12.00' r='1'/%3E%3Ccircle cx='10.37' cy='8.75' r='1'/%3E%3Ccircle cx='12.75' cy='6.37' r='1'/%3E%3Ccircle cx='16.00' cy='5.50' r='1'/%3E%3Ccircle cx='19.25' cy='6.37' r='1'/%3E%3Ccircle cx='21.63' cy='8.75' r='1'/%3E%3C/g%3E%3C/svg%3E"); }
/* language: code instead of the name (aria-label keeps the full name) */
.wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-native { font-size: 0; line-height: 0; }
.wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-native:before { font-size: 16px; line-height: 20px; }
.wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-item-uk > a .wpml-ls-native:before { content: "UA"; }
.wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-item-en-gb > a .wpml-ls-native:before { content: "EN"; }
/* Header switchers (Figma header «language / currency» 186 x 24, gap 16: round flag 24 + code 16/20 Light #000 + chevron 24). cms_block 31222 «header switchers» in Header Builder (desktop, right column before search) */
.wp-block-group.dpc-hsw { gap: 16px; align-items: center; margin: 0 8px 0 0; }
.wp-block-group.dpc-hsw > .wpml-ls, .wp-block-group.dpc-hsw > .wcml_currency_switcher.wcml-dropdown-click { position: relative; width: auto; max-width: none; margin: 0; padding: 0; }
.wp-block-group.dpc-hsw ul { margin: 0; padding: 0; list-style: none; }
.wp-block-group.dpc-hsw li, .wp-block-group.dpc-hsw .wcml_currency_switcher li, .wp-block-group.dpc-hsw .wcml_currency_switcher li:hover, .wp-block-group.dpc-hsw .wcml_currency_switcher .wcml-cs-submenu li, .wp-block-group.dpc-hsw li:hover, .wp-block-group.dpc-hsw li:focus, .wp-block-group.dpc-hsw li:has(:focus-visible) { margin: 0; padding: 0; border: 0; background: transparent; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-item-toggle, .wp-block-group.dpc-hsw .wcml_currency_switcher .wcml-cs-item-toggle,
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-sub-menu a, .wp-block-group.dpc-hsw .wcml_currency_switcher .wcml-cs-submenu button { display: flex; align-items: center; gap: 6px; box-sizing: border-box; width: auto; height: 24px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #000; font-family: inherit; font-size: 16px; font-weight: 300; line-height: 20px; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; cursor: pointer; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-item-toggle:hover, .wp-block-group.dpc-hsw .wcml_currency_switcher .wcml-cs-item-toggle:hover { background: transparent; color: #000; opacity: .7; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-item-toggle:after, .wp-block-group.dpc-hsw .wcml_currency_switcher .wcml-cs-item-toggle:after { content: ""; position: static; flex: 0 0 24px; width: 24px; height: 24px; margin: 0; border: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 8px 5px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 8px 5px no-repeat; transition: transform .2s; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-item-toggle[aria-expanded="true"]:after, .wp-block-group.dpc-hsw .wcml_currency_switcher .wcml-cs-item-toggle[aria-expanded="true"]:after { transform: rotate(180deg); }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-flag, .wp-block-group.dpc-hsw .dpc-cur { display: block; flex: 0 0 24px; width: 24px; height: 24px; margin: 0; border-radius: 50%; object-fit: cover; background-size: cover; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-flag + span { margin: 0; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-native { font-size: 0; line-height: 0; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-native:before { font-size: 16px; line-height: 20px; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-item-uk > a .wpml-ls-native:before { content: "UA"; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-item-en-gb > a .wpml-ls-native:before { content: "EN"; }
html[lang^="uk"] .wp-block-group.dpc-hsw .dpc-cur-t-UAH { font-size: 0; line-height: 0; }
html[lang^="uk"] .wp-block-group.dpc-hsw .dpc-cur-t-UAH:before { content: "грн"; font-size: 16px; line-height: 20px; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-sub-menu, .wp-block-group.dpc-hsw .wcml_currency_switcher .wcml-cs-submenu { position: absolute; z-index: 300; top: calc(100% + 10px); right: auto; left: -12px; min-width: calc(100% + 24px); margin: 0; padding: 6px 0; border: 1px solid #ccb7af; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(45, 40, 38, .12); }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-sub-menu a, .wp-block-group.dpc-hsw .wcml_currency_switcher .wcml-cs-submenu button { width: 100%; height: auto; min-height: 36px; padding: 0 12px; }
.wp-block-group.dpc-hsw .wpml-ls .wpml-ls-sub-menu a:hover, .wp-block-group.dpc-hsw .wcml_currency_switcher .wcml-cs-submenu button:hover { background: #f4f3eb; color: #000; }
/* WPML automatic footer switcher (WPML → Languages → footer switcher) duplicates ours — hidden */
.wpml-ls-statics-footer { display: none; }

@media (max-width: 1024px) {
	.wp-block-wd-container.dpc-sw-box .wcml_currency_switcher .wcml-cs-item-toggle, .wp-block-wd-container.dpc-sw-box .wpml-ls .wpml-ls-item-toggle { gap: 10px; padding: 0 10px; }
	.dpc-cur { flex-basis: 27px; width: 27px; height: 20px; }
}
/* === /Футер і перемикачі === */

/* === Картка товару (лейаут «Окремий товар») === */
.dpc-summary-head { margin-bottom: 24px; }
.dpc-delivery-note { display: flex; align-items: center; gap: 8px; margin: 0; color: #000; font-size: 16px; line-height: 20px; }
.dpc-delivery-note::before { flex: 0 0 24px; width: 24px; height: 24px; background: #000; -webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cg%3E %3Cpath d='M18 17C18 18.1046 17.1046 19 16 19C14.8954 19 14 18.1046 14 17M18 17C18 15.8954 17.1046 15 16 15C14.8954 15 14 15.8954 14 17M18 17C19.1046 17 20 16.1046 20 15V11M14 17H11M11 17C11 18.1046 10.1046 19 9 19C7.89543 19 7 18.1046 7 17M11 17C11 15.8954 10.1046 15 9 15C7.89543 15 7 15.8954 7 17M7 17H6C4.89543 17 4 16.1046 4 15V7H11M11 7V5H15L19.6247 8.69976C19.8619 8.88953 20 9.17684 20 9.48062V11M11 7V12H5M17 7H16V11H20' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='black'/%3E %3C/g%3E %3C/svg%3E ") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cg%3E %3Cpath d='M18 17C18 18.1046 17.1046 19 16 19C14.8954 19 14 18.1046 14 17M18 17C18 15.8954 17.1046 15 16 15C14.8954 15 14 15.8954 14 17M18 17C19.1046 17 20 16.1046 20 15V11M14 17H11M11 17C11 18.1046 10.1046 19 9 19C7.89543 19 7 18.1046 7 17M11 17C11 15.8954 10.1046 15 9 15C7.89543 15 7 15.8954 7 17M7 17H6C4.89543 17 4 16.1046 4 15V7H11M11 7V5H15L19.6247 8.69976C19.8619 8.88953 20 9.17684 20 9.48062V11M11 7V12H5M17 7H16V11H20' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='black'/%3E %3C/g%3E %3C/svg%3E ") center / contain no-repeat; content: ""; }
.dpc-summary-head .product_title { margin: 0; }
.dpc-summary-head .woocommerce-product-details__short-description p { margin: 0; }
.dpc-summary-price { padding: 0 8px; }
.dpc-summary-price .price { line-height: 40px; }

/* Quantity + add to cart + buy now */
.wd-single-add-cart.dpc-buy form.cart { display: grid; grid-template-columns: 118px minmax(0, 301px); gap: 16px; align-items: end; max-width: 435px; margin: 0; }
.wd-single-add-cart.dpc-buy .quantity { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 118px; height: 48px; margin: 28px 0 0; padding: 0 12px; border: 1px solid #2d2826; border-radius: 8px; }
.wd-single-add-cart.dpc-buy .quantity::before { position: absolute; top: -28px; left: 0; color: #000; font-size: 16px; font-weight: 300; line-height: 20px; content: "Кількість"; }
html[lang^="en"] .wd-single-add-cart.dpc-buy .quantity::before { content: "Quantity"; }
.wd-single-add-cart.dpc-buy .quantity .minus,
.wd-single-add-cart.dpc-buy .quantity .plus { width: 20px; height: 20px; min-height: 20px; padding: 0; border: 0; background: transparent center / 20px no-repeat; color: transparent; font-size: 0; box-shadow: none; }
.wd-single-add-cart.dpc-buy .quantity .minus { background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cg%3E %3Cpath d='M7 10H13' stroke='%23222222'/%3E %3C/g%3E %3C/svg%3E "); }
.wd-single-add-cart.dpc-buy .quantity .plus { background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cg%3E %3Cpath d='M5.07451 6.57191C3.44207 8.9116 3.66968 12.155 5.75736 14.2426C8.10051 16.5858 11.8995 16.5858 14.2426 14.2426C16.5858 11.8995 16.5858 8.10051 14.2426 5.75736C12.155 3.66968 8.9116 3.44207 6.57191 5.07451M10 7.17647V10M10 10V12.8235M10 10H12.8235M10 10L7.17647 10' stroke-linecap='round' stroke='%23222222'/%3E %3C/g%3E %3C/svg%3E "); }
.wd-single-add-cart.dpc-buy .quantity .qty { width: 28px; height: 28px; min-height: 0; padding: 0; border: 0; background: none; color: #000; font-size: 16px; font-weight: 300; text-align: center; }
.wd-single-add-cart.dpc-buy .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 48px; min-height: 48px; margin: 0; padding: 0 12px; border: 1px solid #2d2826; border-radius: 8px; background: transparent; box-shadow: none; color: #000; font-size: 16px; font-weight: 400; text-transform: uppercase; }
.wd-single-add-cart.dpc-buy .single_add_to_cart_button::before { flex: 0 0 24px; width: 24px; height: 24px; background: #000; -webkit-mask: url("data:image/svg+xml,%3Csvg width='23.3005' height='23.7858' viewBox='0 0 23.3005 23.7858' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cg%3E %3Cpath d='M20.8561 10.1786H2.47884C2.23368 10.1765 1.99092 10.2271 1.76693 10.3268C1.54296 10.4265 1.34299 10.5732 1.18051 10.7568C1.01803 10.9404 0.896818 11.1567 0.825062 11.3911C0.753307 11.6256 0.732674 11.8727 0.764556 12.1158L2.01598 21.5443C2.07038 21.9593 2.27474 22.3402 2.59053 22.6149C2.90631 22.8897 3.31171 23.0393 3.73027 23.0357H19.5703C19.9888 23.0393 20.3942 22.8897 20.71 22.6149C21.0258 22.3402 21.2301 21.9593 21.2846 21.5443L22.5361 12.1158C22.5674 11.8755 22.5477 11.6314 22.4779 11.3993C22.4082 11.1673 22.2901 10.9527 22.1313 10.7696C21.9726 10.5866 21.7768 10.4393 21.557 10.3374C21.3373 10.2355 21.0983 10.1814 20.8561 10.1786Z' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M7.38177 14.4643V18.75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M11.6675 14.4643V18.75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M15.9532 14.4643V18.75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M15.9189 2.53293C16.9458 2.71034 17.8866 3.21828 18.5983 3.97951C19.3101 4.74072 19.7538 5.71358 19.8618 6.75007L20.2389 10.1786' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M3.09605 10.1787L3.47319 6.7501C3.58826 5.71975 4.035 4.75469 4.74614 4.00027C5.45727 3.24585 6.39429 2.74293 7.41605 2.56725' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M15.9532 2.89286C15.9532 3.17426 15.8978 3.45291 15.7901 3.71289C15.6824 3.97287 15.5246 4.2091 15.3256 4.40808C15.1266 4.60707 14.8904 4.76491 14.6304 4.8726C14.3704 4.98029 14.0917 5.03571 13.8103 5.03571H9.52462C8.9563 5.03571 8.41126 4.80994 8.0094 4.40808C7.60754 4.00622 7.38177 3.46118 7.38177 2.89286C7.38177 2.32454 7.60754 1.7795 8.0094 1.37763C8.41126 0.975765 8.9563 0.75 9.52462 0.75H13.8103C14.3787 0.75 14.9237 0.975765 15.3256 1.37763C15.7274 1.7795 15.9532 2.32454 15.9532 2.89286Z' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3C/g%3E %3C/svg%3E ") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg width='23.3005' height='23.7858' viewBox='0 0 23.3005 23.7858' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cg%3E %3Cpath d='M20.8561 10.1786H2.47884C2.23368 10.1765 1.99092 10.2271 1.76693 10.3268C1.54296 10.4265 1.34299 10.5732 1.18051 10.7568C1.01803 10.9404 0.896818 11.1567 0.825062 11.3911C0.753307 11.6256 0.732674 11.8727 0.764556 12.1158L2.01598 21.5443C2.07038 21.9593 2.27474 22.3402 2.59053 22.6149C2.90631 22.8897 3.31171 23.0393 3.73027 23.0357H19.5703C19.9888 23.0393 20.3942 22.8897 20.71 22.6149C21.0258 22.3402 21.2301 21.9593 21.2846 21.5443L22.5361 12.1158C22.5674 11.8755 22.5477 11.6314 22.4779 11.3993C22.4082 11.1673 22.2901 10.9527 22.1313 10.7696C21.9726 10.5866 21.7768 10.4393 21.557 10.3374C21.3373 10.2355 21.0983 10.1814 20.8561 10.1786Z' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M7.38177 14.4643V18.75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M11.6675 14.4643V18.75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M15.9532 14.4643V18.75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M15.9189 2.53293C16.9458 2.71034 17.8866 3.21828 18.5983 3.97951C19.3101 4.74072 19.7538 5.71358 19.8618 6.75007L20.2389 10.1786' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M3.09605 10.1787L3.47319 6.7501C3.58826 5.71975 4.035 4.75469 4.74614 4.00027C5.45727 3.24585 6.39429 2.74293 7.41605 2.56725' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3Cpath d='M15.9532 2.89286C15.9532 3.17426 15.8978 3.45291 15.7901 3.71289C15.6824 3.97287 15.5246 4.2091 15.3256 4.40808C15.1266 4.60707 14.8904 4.76491 14.6304 4.8726C14.3704 4.98029 14.0917 5.03571 13.8103 5.03571H9.52462C8.9563 5.03571 8.41126 4.80994 8.0094 4.40808C7.60754 4.00622 7.38177 3.46118 7.38177 2.89286C7.38177 2.32454 7.60754 1.7795 8.0094 1.37763C8.41126 0.975765 8.9563 0.75 9.52462 0.75H13.8103C14.3787 0.75 14.9237 0.975765 15.3256 1.37763C15.7274 1.7795 15.9532 2.32454 15.9532 2.89286Z' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' stroke='%232D2826'/%3E %3C/g%3E %3C/svg%3E ") center / contain no-repeat; content: ""; }
.wd-single-add-cart.dpc-buy .single_add_to_cart_button:hover { background: #000; color: #f4d2bf; }
.wd-single-add-cart.dpc-buy .single_add_to_cart_button:hover::before { background: #f4d2bf; }
.wd-single-add-cart.dpc-buy .wd-buy-now-btn { grid-column: 1 / -1; height: 48px; min-height: 48px; margin: 0; border: 0; border-radius: 8px; background: #000; box-shadow: none; color: #f4d2bf; font-size: 16px; font-weight: 600; text-transform: uppercase; }
.wd-single-add-cart.dpc-buy .wd-buy-now-btn:hover { background: #2d2826; color: #f4d2bf; }

/* Labels on the gallery */
.single-product .woocommerce-product-gallery .product-labels { inset: 16px auto auto 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.single-product .woocommerce-product-gallery .product-labels .product-label,
.single-product .woocommerce-product-gallery .product-labels .wd-custom-label { min-width: 0; max-width: none; min-height: 0; margin: 0; padding: 6px 10px; border-radius: 0; background: #000; color: #f4d2bf; font-size: 12px; font-weight: 500; line-height: 1; text-transform: uppercase; white-space: nowrap; word-break: normal; }
/* WoodMart: у круглої мітки max-width 50px і word-break: break-all — «Розпродано» ламалося по буквах */
.single-product .woocommerce-product-gallery .wd-custom-label p { margin: 0; color: inherit; font-size: inherit; }

/* Gallery: main slider + thumbnails (Figma «photo slider» 3202:24382: thumbs 98 x 98, radius 8, gap 22 under the photo). Video slides keep the photo frame, video plays letterboxed inside it */
@media (min-width: 769px) {
	.single-product .wd-gallery-images .wd-carousel-item { overflow: hidden; }
	.single-product .wd-gallery-images .wd-carousel-item > figure { aspect-ratio: 1072 / 1136; overflow: hidden; }
	.single-product .wd-gallery-images .wd-carousel-item figure > a { display: block; height: 100%; }
	.single-product .wd-gallery-images .wd-carousel-item figure img:not(.zoomImg) { width: 100%; height: 100%; object-fit: cover; }
}
.single-product .wd-gallery-images .wd-with-video .wd-product-video { background-color: #000; }
.single-product .wd-gallery-thumb .wd-carousel-item img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.single-product .wd-gallery-thumb .wd-with-video:before { left: calc(50% - 16px); top: calc(50% - 16px); width: 32px; height: 32px; font-size: 14px; }

@media (max-width: 768.98px) {
	.dpc-summary-head { margin-bottom: 16px; }
	.dpc-delivery-note { font-size: 13px; }
	.wd-single-add-cart.dpc-buy form.cart { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; max-width: none; }
	.wd-single-add-cart.dpc-buy .quantity { width: 110px; }
	.wd-single-add-cart.dpc-buy .single_add_to_cart_button { font-size: 14px; }
	.wd-single-add-cart.dpc-buy { width: 100%; }
	.single-product .wd-gallery-images .wd-carousel-wrap { align-items: flex-start; }
	.single-product .wd-gallery-images .wd-carousel-item { aspect-ratio: 1 / 1; overflow: hidden; }
	.single-product .wd-gallery-images .wd-carousel-item figure,
	.single-product .wd-gallery-images .wd-carousel-item figure > a { height: 100%; }
	.single-product .wd-gallery-images .wd-carousel-item img,
	.single-product .wd-gallery-images .wd-carousel-item video { width: 100%; height: 100%; object-fit: cover; }
	.single-product .woocommerce-product-gallery .product-additional-galleries { position: absolute; z-index: 3; bottom: 12px; right: 12px; margin: 0; padding: 0; }
	.single-product .woocommerce-product-gallery .product-additional-galleries .wd-action-text { display: none; }
}

/* Slider «Часто обирають разом з цим продуктом» (Figma «сhoose with product» 3255:27233): title 2 lines, left column 189 (200 here, Mulish renders wider) (description + arrows 40 x 12, gap 20) centred on the cards, cards from x 269. Wrapper .dpc-upsells is a grid; the products block and its carousel-inner are display: contents, so title / carousel / arrows become grid items */
.wp-block-wd-container.dpc-upsells { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 69px; row-gap: 0; align-items: center; }
.dpc-upsells > .wd-products-element,
.dpc-upsells > .wd-products-element > .wd-carousel-inner { display: contents; }
.dpc-upsells > .wd-products-element > .title { grid-column: 1 / -1; grid-row: 1; max-width: 600px; }
.dpc-upsells > .wd-products-element > .wd-carousel-inner > .wd-carousel { grid-column: 2; grid-row: 2; min-width: 0; margin-top: -15px; }
.wp-block-wd-container.dpc-upsells > .dpc-upsells-desc { grid-column: 1; grid-row: 2; align-self: center; max-width: 200px; margin: 0 0 44px; }
.dpc-upsells .wd-nav-arrows { grid-column: 1; grid-row: 2; align-self: center; justify-self: center; display: flex; gap: 20px; margin-top: 74px; }
/* Стрілки завжди видимі й клікабельні: WoodMart (.wd-nav-arrows[class*=wd-hover].wd-pos-sep .wd-btn-arrow) ховає їх до наведення на карусель — селектори вище з [class*=wd-hover], щоб бути сильнішими.
   WoodMart малює під стрілками прозору «зону наведення» .wd-nav-arrows::after (inset 0 -50px від найближчого позиціонованого батька).
   Тут стрілки винесені з каруселі, тож вона розтягувалась на пів сторінки й перехоплювала кліки. Вимикаємо; обгортка — свій контекст позиціонування. */
.wp-block-wd-container.dpc-upsells { position: relative; }
.dpc-upsells .wd-nav-arrows.wd-pos-sep::after { content: none; display: none; }
.dpc-upsells .wd-nav-pagin-wrap { display: none; }
/* equal card heights: theme gives .wd-carousel-item height: 100%, which blocks align-items: stretch of the row (card-loop.css sets stretch + 100% inside) */
.dpc-upsells .wd-carousel-wrap > .wd-carousel-item { height: auto; }
.dpc-upsells .wd-nav-arrows[class*=wd-hover].wd-pos-sep .wd-btn-arrow { position: static; inset: auto; width: 40px; height: 12px; margin: 0; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.dpc-upsells .wd-nav-arrows.wd-pos-sep .wd-btn-arrow .wd-arrow-inner { width: 40px; height: 12px; min-height: 0; padding: 0; line-height: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='14' viewBox='-1 -1 42 14' fill='none'%3E%3Cpath d='M6.376 0L0 6M0 6L6.376 12M0 6H40' stroke='%232d2826' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 42px 14px no-repeat; }
.dpc-upsells .wd-nav-arrows.wd-pos-sep .wd-next .wd-arrow-inner { transform: scaleX(-1); }
.dpc-upsells .wd-nav-arrows.wd-pos-sep .wd-arrow-inner:after { content: none; }
.dpc-upsells .wd-nav-arrows[class*=wd-hover].wd-pos-sep .wd-btn-arrow.wd-disabled { opacity: .3; pointer-events: none; }
.dpc-upsells .wd-nav-arrows[class*=wd-hover].wd-pos-sep .wd-btn-arrow:not(.wd-disabled):hover { opacity: .6; }
.dpc-upsells .wd-nav-arrows.wd-lock .wd-btn-arrow, .dpc-upsells .wd-nav-arrows.wd-hide { display: none; }

@media (max-width: 1024px) {
	.wp-block-wd-container.dpc-upsells { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 16px; }
	.dpc-upsells > .wd-products-element > .title { max-width: 460px; }
	.wp-block-wd-container.dpc-upsells > .dpc-upsells-desc { grid-column: 1; grid-row: 2; max-width: none; margin: 0; }
	.dpc-upsells .wd-nav-arrows { grid-column: 2; grid-row: 2; margin: 0; }
	.dpc-upsells > .wd-products-element > .wd-carousel-inner > .wd-carousel { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 768.98px) {
	.wp-block-wd-container.dpc-upsells > .dpc-upsells-desc { font-size: 14px; line-height: 18px; }
	.dpc-upsells .wd-nav-arrows { gap: 16px; }
	.dpc-upsells .wd-nav-arrows.wd-pos-sep .wd-btn-arrow, .dpc-upsells .wd-nav-arrows.wd-pos-sep .wd-btn-arrow .wd-arrow-inner { width: 32px; }
	.dpc-upsells .wd-nav-arrows.wd-pos-sep .wd-btn-arrow .wd-arrow-inner { background-size: 34px 12px; }
}
/* 12.11: лупа галереї на PNG з прозорим фоном (Сет блисків) — крізь збільшене фото просвічувало звичайне → «наслойка». Даємо лупі фон сторінки */
.woocommerce-product-gallery .zoomImg { background-color: #fff; }
/* === /Картка товару === */

/* === Картка товару — об'єм (мл) (лейаут «Окремий товар — об'єм (мл)», умова: категорія «Очисник для пензлів»; Figma «brush cleaner» 3277:30258) ===
   Зверху пляшечки (блок «Перемикач товарів», режим групи «Пляшечки з радіокнопками» — стилі пляшечок у плагіні davydenko-product-card),
   під ними смуга на всю ширину: назва 56/500 + ціна 40/700 зліва, кількість + «Додати в кошик» справа (без «Кількість» і «Оформити замовлення»),
   далі ліворуч відео 486 × 864 (x +80, y +64), праворуч акордеони, як у лейауті «Окремий товар». */

/* Hero: box 956 × 858 starts 48px under the header bottom edge (the top of the photos is transparent) */
.wp-block-davydenko-switcher.dpc-vol-hero { margin-top: -88px; margin-bottom: 7px; }

/* Bar (.wd.wd — stronger than the block CSS WoodMart generates, e.g. flex-wrap of the containers): lines 1px #414143 across the whole window (border-image outset does not widen the page), row 70 high, padding 16 */
.wd.wd .wp-block-wd-container.dpc-volbar { border-image: linear-gradient(#414143, #414143) 1 / 1px 0 / 0 100vw; column-gap: 40px; flex-wrap: nowrap; }
.wd.wd .wp-block-wd-container.dpc-volbar__info { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; column-gap: 106px; }
.dpc-volbar__info > .wd-single-title { flex: 0 1 auto; min-width: 0; margin: 0; }
.dpc-volbar .product_title { margin: 0; }
.dpc-volbar__info > .dpc-volbar__price { flex: 0 0 auto; margin: 0; }
.dpc-volbar .dpc-volbar__price .price { margin: 0; white-space: nowrap; }
.dpc-volbar > .wd-single-add-cart.dpc-buy--bar { flex: 0 0 435px; margin: 0; }
.wd-single-add-cart.dpc-buy.dpc-buy--bar form.cart { align-items: center; }
.wd-single-add-cart.dpc-buy.dpc-buy--bar .quantity { margin: 0; }
.wd-single-add-cart.dpc-buy.dpc-buy--bar .quantity::before,
html[lang] .wd-single-add-cart.dpc-buy.dpc-buy--bar .quantity::before { content: none; }
.wd-single-add-cart.dpc-buy.dpc-buy--bar .wd-buy-now-btn { display: none; }

/* Video: overlay picture = frame of the clip from Figma, play button and YouTube in a popup */
.wp-block-wd-video.dpc-vol-video { max-width: 100%; }
.wp-block-wd-video.dpc-vol-video .wd-el-video-overlay img { width: 100%; height: 100%; object-fit: cover; }
.wp-block-wd-video.dpc-vol-video .wd-el-video-overlay::after { background: transparent; } /* без затемнення кадру, як у макеті */

@media (max-width: 1024px) {
	.wp-block-davydenko-switcher.dpc-vol-hero { margin-top: -24px; margin-bottom: 0; }
	.wd.wd .wp-block-wd-container.dpc-volbar { flex-wrap: wrap; }
	.wd.wd .wp-block-wd-container.dpc-volbar__info { flex: 1 1 100%; flex-wrap: wrap; column-gap: 40px; }
	.dpc-volbar > .wd-single-add-cart.dpc-buy--bar { flex: 0 1 435px; }
	/* description first, then the video */
	.dpc-vol-row > .wp-block-wd-column:first-child { order: 2; }
	.wd.wd .wp-block-wd-video.dpc-vol-video { margin-inline: auto; }
}
@media (max-width: 768.98px) {
	.wd.wd .wp-block-wd-container.dpc-volbar__info { column-gap: 16px; row-gap: 4px; }
	.dpc-volbar > .wd-single-add-cart.dpc-buy--bar { flex: 0 0 auto; width: 100%; }
}
/* === /Картка товару — об'єм (мл) === */

/* === Список бажань (сторінка «Список бажань» / Wishlist, WoodMart; макета немає — у стилі сайту) === */
.wd-empty-wishlist { max-width: 560px; margin: 40px auto 100px; padding: 0 16px; }
.wd-empty-wishlist .wd-empty-block-title::before { margin-bottom: 24px; color: #ccb7af; font-size: 80px; }
.wd-empty-wishlist .wd-empty-block-title { margin-bottom: 12px; color: #2d2826; font-size: 32px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.wd-empty-wishlist .wd-empty-block-text { margin-bottom: 32px; color: #2d2826; font-size: 16px; font-weight: 300; line-height: 1.5; }
.wd-empty-wishlist .wd-empty-block-btn.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 32px; border: 1px solid #000; border-radius: 0; background: #000; box-shadow: none; color: #f4d2bf; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.wd-empty-wishlist .wd-empty-block-btn.btn:hover { background: #2d2826; border-color: #2d2826; color: #f4d2bf; }
/* заповнений список: 4 колонки як у каталозі, «прибрати» в куті фото замість сердечка */
.wd-wishlist-content .wd-products.wd-grid-g { --wd-col-lg: 4 !important; } /* WoodMart задає 3 у style="" */
@media (max-width: 1024px) { .wd-wishlist-content .wd-products.wd-grid-g { --wd-col-md: 3 !important; } }
.wd-wishlist-content .wd-product .wd-product-wrapper > .wd-wishlist-product-actions { position: absolute; top: 12px; right: 12px; z-index: 4; margin: 0; padding: 0; }
.wd-wishlist-content .wd-product .dpc-card-wishlist { display: none; }
@media (max-width: 768.98px) {
	.wd-empty-wishlist { margin: 24px auto 60px; }
	.wd-empty-wishlist .wd-empty-block-title { font-size: 22px; }
	.wd-empty-wishlist .wd-empty-block-text { font-size: 14px; }
	.wd-wishlist-content .wd-product .wd-product-wrapper > .wd-wishlist-product-actions { top: 6px; right: 6px; }
}
/* === /Список бажань === */
