:root {
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(118,118,118);
	--wd-text-font-size: 16px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgba(219,164,0,0.94);
	--wd-alternative-color: rgb(229,190,32);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(221,153,51);
	--btn-accented-bgcolor-hover: rgb(232,205,32);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(26,26,26);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* ===== КАТАЛОГ ТОВАРІВ — робоча версія ===== */

/* 1. Картка = рівна колонка однакової висоти */
.products .product-grid-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* 2. Контейнер картинки: фікс. висота, фото по центру, нічого не вилазить */
.product-grid-item .product-element-top {
    position: relative !important;
    height: 230px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 18px !important;
}
.product-grid-item .product-element-top img {
    max-height: 100% !important;
    width: auto !important;
    max-width: 88% !important;
    object-fit: contain !important;
}

/* 3. Блок з текстом */
.product-grid-item .product-information {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 0 6px !important;
    text-align: center !important;
}

/* 4. Назва */
.product-grid-item .wd-entities-title,
.product-grid-item .wd-product-title {
    margin: 0 0 6px !important;
    line-height: 1.3 !important;
    min-height: 2.6em !important;
}

/* 5. Категорія */
.product-grid-item .wd-product-cats,
.product-grid-item .woocommerce-loop-product__category {
    margin: 0 0 10px !important;
    font-size: 13px !important;
    opacity: 0.7 !important;
}

/* 6. Ціна — завжди внизу, в одну лінію у всіх */
.product-grid-item .price {
    margin-top: auto !important;
    display: block !important;
}

/* ===== ФОТО ТОВАРІВ — однаковий розмір для ВСІХ ===== */
.products .product-grid-item .product-element-top,
.products .product-grid-item .wd-product-thumb{
    height: 230px !important;
    max-height: 230px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff !important;
}

/* цілимось у КОЖНЕ зображення всередині, з максимальною специфічністю */
.products .product-grid-item .product-element-top img,
.products .product-grid-item .product-element-top a img,
.products .product-grid-item .wd-product-img-link img,
.products .product-grid-item img.attachment-woocommerce_thumbnail,
.products .product-grid-item img.wp-post-image{
    width: auto !important;
    height: auto !important;
    max-width: 85% !important;
    max-height: 200px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
}

/* ===== ВИРІВНЮВАННЯ — простий потік, без absolute ===== */

/* прибираємо абсолютне позиціонування, повертаємо нормальний потік */
.products .product-grid-item .product-information,
.products .product-grid-item .wd-product-info{
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    position: static !important;
    overflow: visible !important;
    padding: 12px 6px 0 !important;
    text-align: center !important;
}

.products .product-grid-item .wd-entities-title,
.products .product-grid-item .wd-product-cats,
.products .product-grid-item .price,
.products .product-grid-item .wd-add-btn{
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
}

/* 1. НАЗВА — рівно 2 рядки */
.products .product-grid-item .wd-entities-title{
    height: 2.7em !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

/* 2. КАТЕГОРІЯ — фіксована висота */
.products .product-grid-item .wd-product-cats{
    height: 1.4em !important;
    line-height: 1.4em !important;
    overflow: hidden !important;
    margin: 0 0 8px !important;
    font-size: 13px !important;
    opacity: .7 !important;
}

/* 3. ЦІНА — фіксована висота */
.products .product-grid-item .price{
    height: 1.6em !important;
    line-height: 1.6em !important;
    margin: 0 0 10px !important;
    display: block !important;
}

/* 4. КНОПКА */
.products .product-grid-item .wd-add-btn{
    margin: 0 0 12px !important;
    display: block !important;
}

/* резервуємо місце під ціну навіть у товарів БЕЗ ціни */
.products .product-grid-item .wd-product-cats::after{
    content: "" !important;
    display: block !important;
    height: 0 !important;
}

/* блок ціни присутній завжди, навіть порожній */
.products .product-grid-item .price:empty::before,
.products .product-grid-item .price{
    min-height: 1.6em !important;
    display: block !important;
}

/* якщо ціни немає взагалі — додаємо порожній простір перед кнопкою */
.products .product-grid-item:not(:has(.price)) .wd-add-btn{
    margin-top: calc(1.6em + 10px) !important;
}

