@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//teahouse.ua/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7") format("woff2");
}

:root {
	--wd-text-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Montserrat", 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: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Montserrat", 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: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 14px;
	--wd-primary-color: rgb(217,169,39);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: rgb(31,64,196);
	--wd-link-color-hover: rgb(31,113,196);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(251,188,52);
	--btn-accented-bgcolor-hover: rgb(251,188,52);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(69,150,71);
	--notices-warning-color: #fff;
	--wd-sticky-btn-height: 95px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
.header-banner {
	background-color: rgb(250,250,250);
	background-image: none;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:#E6FFDF40;
	--wd-bordered-bg:#E6FFDF40;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(249,249,249);
	background-image: url(https://teahouse.ua/wp-content/uploads/2025/06/chaj.webp);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(0,90,62);
	background-image: none;
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-family: "Montserrat", Arial, Helvetica, sans-serif;
	color: rgb(0,90,62);
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 13px;
	line-height: 12px;
	text-transform: inherit;
	color: rgb(0,90,62);
}
html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a {
	color: rgb(0,0,0);
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-weight: 700;
	font-size: 28px;
	line-height: 30px;
	color: rgb(0,90,62);
}
h1 {
	font-weight: 600;
}
h2 {
	font-weight: 500;
}
h3 {
	font-weight: 500;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-weight: 700;
	font-size: 16px;
	line-height: 16px;
}
html .page-title .wd-breadcrumbs a, html .page-title .wd-breadcrumbs span, html .page-title .yoast-breadcrumb a, html .page-title .yoast-breadcrumb span {
	font-weight: 600;
	color: rgb(45,107,27);
}
html .widget_product_categories .product-categories > li > a {
	font-weight: 600;
	color: rgb(51,51,51);
}
html .product-image-summary-wrap .summary-inner > .price del, html .product-image-summary-wrap .summary-inner > .price del .amount, html .wd-single-price .price del .amount {
	color: rgb(128,0,0);
}
.product-label {
	font-size: 12px;
	line-height: 12px;
	text-transform: none;
}
.page .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.single-post .wd-page-content {
	background-color: rgb(255,255,255);
	background-image: none;
}
.product-labels .product-label.onsale {
	background-color: rgb(221,51,51);
}
.product-labels .product-label.new {
	background-color: rgb(62,160,49);
	color: rgb(255,255,255);
}
.product-labels .product-label.featured {
	background-color: rgb(221,51,51);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.wd-builder-off .wd-fbt.wd-design-side {
	--wd-form-width: 40%;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}
	html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
		font-size: 13px;
	}
	html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
		font-size: 24px;
	line-height: 28px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 35px;
	line-height: 34px;
	}
	html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
		font-size: 12px;
	line-height: 13px;
	}
	html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
		font-size: 20px;
	line-height: 22px;
	}
	h1 {
		font-size: 20px;
	line-height: 21px;
	}
	h2 {
		font-size: 18px;
	line-height: 19px;
	}
	h3 {
		font-size: 18px;
	line-height: 19px;
	}

}
:root{
--wd-container-w: 1440px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #333;
--btn-accented-color-hover: #333;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 12px;
--wd-cat-brd-radius: 5px;
}

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


.product-tabs-wrapper {
    padding: 0 !important;
    margin-top: 80px; !important;
}

.postid-299923 #bez_dostavka,
.postid-300360 #bez_dostavka {
    display: none !important;
}

.price del {
    color: #800000;
    font-size: 90%;
}
del .amount {
    color: #800000;
    font-weight: 400;
}
.wd-checkout-prod-title {
    display: flex;
    flex-wrap: wrap;
    margin-inline-end: 0px;
}
/* Бейдж "Немає в наявності" на фото — как возле цены */
.single-product .product-labels .product-label.out-of-stock{
  /* цвет как у .stock.out-of-stock */
  background: var(--color-error, #e65b5b) !important;
  color:#fff !important;

  /* форма и типографика */
  padding: 6px 12px !important;
  border-radius: 8px !important;       /* «пилюля» */
  line-height: 1.1 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: none !important;
  border: 0 !important;
  box-shadow: 0 2px 10px rgba(230,91,91,.25);
  z-index: 5;
}

/* убираем «уголки/ленточки», если тема их рисует псевдо-элементами */
.single-product .product-labels .product-label.out-of-stock::before,
.single-product .product-labels .product-label.out-of-stock::after{
  display: none !important;
}

/* немного подправить позицию на фотографии (опционально) */
.single-product .wd-gallery-images .product-labels-rectangular .product-label.out-of-stock{
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  margin: 0 !important;
}
/* Скрыть блок с флагом и любые языковые метки в тексте комментария */
#reviews .comment-text img[src*="/sitepress-multilingual-cms/res/flags/"]
 {
  display: none !important;
  visibility: hidden !important;
}

#ship-to-different-address { display:none !important; }
.filter--style-premmerce .filter__item {
    border: none;
}
.filter--style-premmerce .filter__checkgroup-title {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 5px;
}
.filter--style-premmerce .filter__title {
    text-transform: none;
}
.sidebar-container.wd-inited .sidebar-widget {
    padding-right: 10px;
    padding-left: 10px;
}
.filter--style-premmerce .filter__item {
    padding: 10px;
}
.wd-entry-meta .meta-author {
    display: none;
}
.wd-entry-meta .meta-reply {
    display: none;
}
.hovered-social-icons {
    display: none;
}
.wd-entry-meta {
    display: none;
   }
.category-grid-item .hover-mask {
    padding: 5px;
}
.read-more-section a {
    display: none;
    
}

#coupons_list{
padding-bottom: 20px;
}
#billing_country_field,
#shipping_country_field {
    display:none;
}
filter__icon-minus, .filter__icon-plus {
    width: 12px;
    height: 12px;
   }
.wpc-page-seo-description {
    margin-bottom: 1em;
    margin-top: 5em;
}


    
}
.wccs-live-price-container {
  
  display: none;
}

.wd-empty-mini-cart .title {
    text-transform: none;
    }
.btn-size-small {
    text-transform: none;
}
.added_to_cart, .btn, .button, [type=button], [type=submit], button {
    text-transform: none;
}
.woocommerce-MyAccount-title {
     text-transform: none;
}
.wd-my-account-links a {
     text-transform: none;
}
.wd-nav>li>a {
    text-transform: none;
}
.wd-checkout-steps li {
    text-transform: none;
}
.wd-dropdown-register .login-title {
    text-transform: none;
}
.slider-title {
    text-transform: none;
}
.wd-login-title {
 text-transform: none;
}
.widget-heading .close-side-widget {
text-transform: none;
}
.tabs-layout-tabs .tabs li a {
    text-transform: none;
}
.filter__title {
    font-weight: 600;
}
.product-tabs-wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: rgba(119,119,119,.2);
    background-color: #fffcf4;
}
.woocommerce-billing-fields>h3 {
    text-transform: none;
}
#order_review_heading {
    text-transform: none;
}
table th {
    text-transform: none;
}
.summary-inner>.price {
  padding-top: 15px;  
	
}
.dgwt-wcas-pd-addtc-form {
   
    display: none;
   
}
.dgwt-wcas-details-outside .dgwt-wcas-details-wrapp, .dgwt-wcas-details-outside.dgwt-wcas-is-details .dgwt-wcas-suggestions-wrapp{
    background-color: #f9f9f9;
    
}
.wcus-checkout-np-fields {
padding-top: 30px;
}
.trust-badges{
padding: 10px;
    background-color: #cdfdc9;
}
.wd-meta-author {
    display: none;
    
}
.wd-post-author {
    display: none;
}
.wd-post-share {
    display: none;
}
/* Поменять цвет и толщину полоски */
#nprogress .bar {
    background: #ff0000 !important; /* цвет */
    height: 10px !important; /* толщина */
}

/* Убираем спиннер */
#nprogress .spinner {
    display: none !important;
}
.product-label.onsale {
    background-color: red;
   
}
.widget .product-categories {
    margin-bottom: -8px;
    padding-left: 15px;
}
.widget:last-child {
   padding-bottom: 15px;
  padding-right: 15px;
}
widget {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--brdcolor-gray-300);
}
.create-account-question::before {
  display: none;
  
}
/* по умолчанию скрыто */
.show-if-wtl{ display:none; }
/* показывать, когда форма ожидания есть на странице */
.has-wtl-form .show-if-wtl{ display:block; }
/* === OUT OF STOCK: "rozetka-style" === */

/* 0) Базовые цели под Woodmart/WooCommerce */
.woocommerce ul.products li.product.outofstock,
.product-grid-item.outofstock,
.wd-product.outofstock {
  filter: grayscale(100%) saturate(0.6);
  opacity: 0.65;
}

/* 1) Убираем эффекты наведения/тени/подскока */
.woocommerce ul.products li.product.outofstock .product-wrapper,
.product-grid-item.outofstock .product-wrapper,
.wd-product.outofstock .product-wrapper {
  transform: none !important;
  box-shadow: none !important;
}

/* 2) Серый оверлей и надпись по центру на изображении */
.product-grid-item .product-image,
.wd-product .product-image { position: relative; }

.woocommerce ul.products li.product.outofstock .product-image::after,
.product-grid-item.outofstock .product-image::after,
.wd-product.outofstock .product-image::after {
  content: "Немає в наявності";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 12px;          /* подправь под свой размер сетки */
  color: #2f2f2f;
  pointer-events: none;
}

/* 3) Цена — серым и/или зачёркнуть */
.woocommerce ul.products li.product.outofstock .price,
.product-grid-item.outofstock .price,
.wd-product.outofstock .price {
  color: #9a9a9a !important;
  text-decoration: line-through;
  opacity: .9;
}

/* 4) Делаем кнопки неактивными и менее заметными */
.woocommerce ul.products li.product.outofstock .add_to_cart_button,
.product-grid-item.outofstock .add_to_cart_button,
.wd-product.outofstock .add_to_cart_button,
.product-grid-item.outofstock .wd-add-btn,
.wd-product.outofstock .wd-add-btn {
  pointer-events: none !important;
  opacity: .35 !important;
  filter: grayscale(100%);
}

/* 5) Бэйджи/лейблы тоже приглушить */
.woocommerce ul.products li.product.outofstock .product-labels,
.product-grid-item.outofstock .product-labels,
.wd-product.outofstock .product-labels {
  opacity: .5;
  filter: grayscale(100%);
}

/* 6) На ховере ничего не «оживает» */
.woocommerce ul.products li.product.outofstock:hover,
.product-grid-item.outofstock:hover,
.wd-product.outofstock:hover {
  filter: grayscale(100%) saturate(0.6) !important;
  opacity: 0.65 !important;
  transform: none !important;
}
.product-labels {
    position: absolute;
    top: 7px;
    inset-inline-start: 7px;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    max-width: 70%;
    transition: all .3s 
ease;
    transform: translateZ(0);
}
.widget:last-child {
    padding-bottom: 15px;
    padding-right: 0px;
}
.product-label {
    text-transform: none;
	font-size: 12px;
	font-weight: 400;
}



/* ПЛАВАЮЩИЕ КНОПКИ *****************************************************************************/
/* ============================================================
   STICKY MOBILE UI — WoodMart
   ============================================================ */
@media (max-width: 768.98px) {

/* 1. Sticky ATC видима одразу, без скролу — НЕ ЧІПАТИ, працює */
.wd-sticky-btn-on-mb .wd-sticky-btn {
    transform: translate3d(0, 0, 0) !important;
}

/* 2. КОШИК — кнопка "Оформити замовлення" */
.woocommerce-cart .checkout-button {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 340;
    width: 100% !important;
    border-radius: 0 !important;
    height: var(--wd-sticky-btn-height, 55px);
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.12);
}
body.sticky-toolbar-on .checkout-button {
    bottom: 55px !important;
}

.woocommerce-cart .wc-proceed-to-checkout {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.woocommerce-cart .cart-collaterals {
    padding-bottom: calc(var(--wd-sticky-btn-height, 55px) + 15px) !important;
}
body.sticky-toolbar-on .cart-collaterals {
    padding-bottom: calc(55px + var(--wd-sticky-btn-height, 55px) + 15px) !important;
}

/* 3. ЧЕКАУТ — кнопка "Place order" */
.woocommerce-checkout #place_order {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 340;
    width: 100% !important;
    border-radius: 0 !important;
    height: var(--wd-sticky-btn-height, 55px);
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.12);
}
body.sticky-toolbar-on .woocommerce-checkout #place_order {
    bottom: 55px !important;
}
.woocommerce-checkout #payment {
    padding-bottom: calc(var(--wd-sticky-btn-height, 55px) + 15px) !important;
}
body.sticky-toolbar-on .woocommerce-checkout #payment {
    padding-bottom: calc(55px + var(--wd-sticky-btn-height, 55px) + 15px) !important;
}

} /* end @media max-width: 768.98px */


/* ================================================================
   TEAHOUSE — CUSTOM CSS (всі задачі разом)
   Вставити в: WoodMart → Theme Settings → Custom CSS → Глобальний
   (саме туди, де зараз вставлено — поле "Глобальний користувацький CSS")

   Весь мобільний функціонал обгорнутий в @media (max-width: 768.98px),
   тому вставляти можна саме в Глобальний — на десктопі нічого не зміниться.
   ================================================================ */


/* ================================================================
   ЗАДАЧА 1 — Sticky ATC на сторінці товару: видима одразу
   Без @media — вже закодована умова в самій темі через
   body.wd-sticky-btn-on-mb, яку тема ставить тільки на мобільних.
   Цей рядок підтверджено робочим, не торкати.
   ================================================================ */
.wd-sticky-btn-on-mb .wd-sticky-btn {
    transform: translate3d(0, 0, 0) !important;
}


/* ================================================================
   ЗАДАЧІ 2 + 2б — Sticky кнопка на кошику і чекауті
   ================================================================ */
@media (max-width: 768.98px) {

/* --- Фікс "порожнього білого простору" під футером ---
   Коли .checkout-button / #place_order стають position:fixed,
   вони виходять з потоку документа. На коротких сторінках
   (кошик зі згорнутим акордеоном категорій у футері) під футером
   видно білий фон <body>. Фарбуємо його в колір футера #005a3e,
   щоб порожнє місце зливалося з дизайном, а не виглядало як дірка. */
body.woocommerce-cart,
body.woocommerce-checkout,
html:has(body.woocommerce-cart),
html:has(body.woocommerce-checkout) {
    background-color: #005a3e;
}

/* --- КОШИК: кнопка "Оформити замовлення" ---
   Робимо fixed САМУ кнопку, а НЕ ховаємо її батька (.wc-proceed-to-checkout)
   через display:none — інакше fixed-дитина гарантовано пропадає разом
   з контейнером (це і була причина провалу першої спроби).
   Підтверджено вживу: на /cart/ .wc-proceed-to-checkout живе на <body>,
   тому body.sticky-toolbar-on — без пробілу між класами (один елемент). */
.woocommerce-cart .checkout-button {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 340;
    width: 100% !important;
    border-radius: 0 !important;
    height: var(--wd-sticky-btn-height, 55px);
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.12);
}
/* sticky-toolbar-on і woocommerce-cart — обидва на <body>,
   тому без пробілу між ними (не потомковий, а той самий елемент) */
body.sticky-toolbar-on .checkout-button {
    bottom: 55px !important;
}

/* Батько кнопки лишається в DOM без display:none,
   просто скидаємо йому відступи (він тепер порожній у потоці) */
.woocommerce-cart .wc-proceed-to-checkout {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

/* Відступ знизу картки "Підсумки кошика",
   щоб контент не ховався під fixed-кнопкою.
   Примітка: .cart-collaterals відсутній у цій версії теми —
   є .cart_totals — тому беремо обидва для надійності. */
.woocommerce-cart .cart_totals,
.woocommerce-cart .cart-collaterals {
    padding-bottom: calc(var(--wd-sticky-btn-height, 55px) + 15px) !important;
}
body.sticky-toolbar-on .cart_totals,
body.sticky-toolbar-on .cart-collaterals {
    padding-bottom: calc(55px + var(--wd-sticky-btn-height, 55px) + 15px) !important;
}

/* --- ЧЕКАУТ: кнопка "Підтвердити замовлення" / "Place order" --- */
.woocommerce-checkout #place_order {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 340;
    width: 100% !important;
    border-radius: 0 !important;
    height: var(--wd-sticky-btn-height, 55px);
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.12);
}
body.sticky-toolbar-on .woocommerce-checkout #place_order {
    bottom: 55px !important;
}
.woocommerce-checkout #payment {
    padding-bottom: calc(var(--wd-sticky-btn-height, 55px) + 15px) !important;
}
body.sticky-toolbar-on .woocommerce-checkout #payment {
    padding-bottom: calc(55px + var(--wd-sticky-btn-height, 55px) + 15px) !important;
}

} /* end @media — Задачі 2 + 2б */


/* ================================================================
   ЗАДАЧА 3 — Sticky variation bar: вид як на макеті №2
   Мобільний sticky для варіативного товару:
   1 рядок: Вага + пілюлі варіацій + кругла стрілка
   2 рядок: кількість + зелена кнопка "Додати в кошик"
   ================================================================ */
@media (max-width: 768.98px) {

/* Робимо нижній sticky-бар вищим, бо тепер у ньому 2 рядки */
body.single-product.wd-sticky-btn-on-mb {
    --wd-sticky-btn-height: 88px;
}

body.single-product.wd-sticky-btn-on-mb .wd-sticky-btn {
    height: 88px !important;
    min-height: 88px !important;
    padding: 0 !important;
    background: #f6bd2f !important;
    transform: translate3d(0, 0, 0) !important;
    overflow: visible !important;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.12) !important;
}

/* У WoodMart слева могут оставаться фото/цена/название товара. Для макета №2 они не нужны */
body.single-product.wd-sticky-btn-on-mb .wd-sticky-btn .wd-sticky-btn-content,
body.single-product.wd-sticky-btn-on-mb .wd-sticky-btn .wd-sticky-btn-image,
body.single-product.wd-sticky-btn-on-mb .wd-sticky-btn .wd-sticky-btn-info,
body.single-product.wd-sticky-btn-on-mb .wd-sticky-btn .price {
    display: none !important;
}

body.single-product.wd-sticky-btn-on-mb .wd-sticky-btn .container,
body.single-product.wd-sticky-btn-on-mb .wd-sticky-btn .wd-sticky-btn-container,
body.single-product.wd-sticky-btn-on-mb .wd-sticky-btn .wd-sticky-btn-cart {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-product.wd-sticky-btn-on-mb .wd-sticky-btn-cart {
    display: block !important;
    flex: 1 1 100% !important;
}

/* Старую кнопку "Вибрати опції" прячем, но только когда JS уже поставил наш класс */
.wd-sticky-btn-cart .wd-sticky-add-to-cart.th-sv-hidden-original {
    display: none !important;
}

/* Главная сетка: две строки */
.wd-sticky-btn-cart .th-sticky-variation-bar {
    position: relative;
    display: grid !important;
    grid-template-columns: 84px 1fr 38px;
    grid-template-rows: 36px 44px;
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    width: 100% !important;
    height: 88px !important;
    padding: 5px 8px 7px 8px;
    background: #f6bd2f;
    overflow: visible !important;
    box-sizing: border-box;
}

/* Подпись "Вага:" слева */
.th-sticky-variation-bar::before {
    content: "Вага:";
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    color: #43330f;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
}

/* Ряд с пілюлями */
.th-sticky-variation-bar .th-sv-rows {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.th-sticky-variation-bar .th-sv-rows::-webkit-scrollbar {
    display: none;
}

.th-sticky-variation-bar .th-sv-row {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
}

/* Пілюлі как на втором скрине */
.th-sticky-variation-bar .th-sv-pill {
    flex: 0 0 auto;
    min-width: 48px;
    height: 25px;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff7df !important;
    color: #6b5a2d !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 12px !important;
    line-height: 25px !important;
    font-weight: 600 !important;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.th-sticky-variation-bar .th-sv-pill.wd-active {
    background: #006b43 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}


/* Количество внизу слева */
.th-sticky-variation-bar .th-sv-qty {
    grid-column: 1;
    grid-row: 2;
    display: grid !important;
    grid-template-columns: 28px 1fr 28px;
    align-items: center;
    width: 82px;
    height: 34px;
    border-radius: 999px;
    background: #fff7df;
    overflow: hidden;
}

/* Зеленая кнопка внизу */
.th-sticky-variation-bar .th-sv-add-btn {
    grid-column: 2 / 4;
    grid-row: 2;
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: #006b43 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 13px !important;
    line-height: 34px !important;
    font-weight: 600 !important;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.th-sticky-variation-bar .th-sv-add-btn:disabled {
    opacity: 0.65 !important;
    cursor: not-allowed;
}

/* Чтобы контент страницы не залезал под высокий sticky */
body.single-product.wd-sticky-btn-on-mb {
    padding-bottom: 88px;
}

body.single-product.wd-sticky-btn-on-mb.sticky-toolbar-on {
    padding-bottom: 143px;
}

body.single-product.wd-sticky-btn-on-mb.sticky-toolbar-on .wd-sticky-btn {
    bottom: 55px !important;
}

}
@media (max-width: 768.98px) {

  body.single-product .th-sticky-variation-bar .quantity,
  body.single-product .wd-sticky-btn-cart .quantity {
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    align-self: center !important;
    transform: translateY(0) !important;
  }

  body.single-product .th-sticky-variation-bar .quantity input.qty,
  body.single-product .wd-sticky-btn-cart .quantity input.qty {
    height: 34px !important;
    line-height: 34px !important;
    min-height: 34px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  body.single-product .th-sticky-variation-bar .quantity .minus,
  body.single-product .th-sticky-variation-bar .quantity .plus,
  body.single-product .wd-sticky-btn-cart .quantity .minus,
  body.single-product .wd-sticky-btn-cart .quantity .plus {
    height: 34px !important;
    line-height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

}
@media (max-width: 768.98px) {

  /* Обычный товар без вариаций: делаем sticky-бар как на референсе */
  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) {
    background: #f7c52b !important;
    padding: 8px 12px !important;
    min-height: 56px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) .wd-sticky-btn-container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) .wd-sticky-btn-content {
    display: grid !important;
    grid-template-columns: 84px 1fr !important;
    column-gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Прячем лишние элементы WoodMart в sticky */
  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) .wd-sticky-btn-content > *:not(.quantity):not(.cart):not(form):not(.single_add_to_cart_button) {
    display: none !important;
  }

  /* Количество */
  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) .quantity {
    grid-column: 1 !important;
    width: 84px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: #fff7df !important;
    overflow: hidden !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) .quantity input.qty {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    line-height: 34px !important;
    font-size: 14px !important;
    color: #111 !important;
  }

  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) .quantity .minus,
  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) .quantity .plus {
    width: 25px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 16px !important;
    line-height: 1 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Кнопка */
  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) .single_add_to_cart_button,
  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) button.single_add_to_cart_button {
    grid-column: 2 !important;
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 3px !important;
    background: #006b43 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    text-align: center !important;
    box-shadow: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.single-product .wd-sticky-btn-cart:not(:has(.th-sticky-variation-bar)) .single_add_to_cart_button:hover {
    background: #005638 !important;
    color: #fff !important;
  }

}
@media (max-width: 768.98px) {

  /* Простой товар: разделить количество и кнопку, высоту не трогаем */
  body.single-product .wd-sticky-btn-cart.wd-product-simple {
    position: relative !important;
  }

  body.single-product .wd-sticky-btn-cart.wd-product-simple form.cart {
    position: relative !important;
    width: 100% !important;
  }

  body.single-product .wd-sticky-btn-cart.wd-product-simple .quantity {
    position: relative !important;
    z-index: 3 !important;
  }

  body.single-product .wd-sticky-btn-cart.wd-product-simple .single_add_to_cart_button,
  body.single-product .wd-sticky-btn-cart.wd-product-simple button.single_add_to_cart_button {
    width: calc(100% - 118px) !important;
    max-width: calc(100% - 118px) !important;
    margin-left: 118px !important;
    margin-right: 0 !important;
  }

}
/* ── ФІНАЛЬНИЙ OVERRIDE: висота бару для простого товару ── */
@media (max-width: 768.98px) {

body.single-product.wd-sticky-btn-on-mb .wd-sticky-btn:not(:has(.th-sticky-variation-bar)) {
    height: 55px !important;
    min-height: 55px !important;
    max-height: 55px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.single-product.wd-sticky-btn-on-mb:not(:has(.th-sticky-variation-bar)) {
    padding-bottom: 55px !important;
}

}
@media (max-width: 768.98px) {

/* form.cart всередині бару — flex-рядок */
body.single-product .wd-sticky-btn:not(:has(.th-sticky-variation-bar)) form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
}

/* Кількість — фіксована ширина зліва */
body.single-product .wd-sticky-btn:not(:has(.th-sticky-variation-bar)) form.cart .quantity {
    flex: 0 0 82px !important;
    width: 82px !important;
    min-width: 82px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: #fff7df !important;
    overflow: hidden !important;
    display: grid !important;
    grid-template-columns: 25px 1fr 25px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.single-product .wd-sticky-btn:not(:has(.th-sticky-variation-bar)) form.cart .quantity input.qty {
    width: 100% !important;
    height: 34px !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #43330f !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.single-product .wd-sticky-btn:not(:has(.th-sticky-variation-bar)) form.cart .quantity .minus,
body.single-product .wd-sticky-btn:not(:has(.th-sticky-variation-bar)) form.cart .quantity .plus {
    width: 25px !important;
    height: 34px !important;
    border: 0 !important;
    background: transparent !important;
    color: #6b5a2d !important;
    font-size: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

/* Кнопка — займає решту ширини */
body.single-product .wd-sticky-btn:not(:has(.th-sticky-variation-bar)) form.cart .single_add_to_cart_button {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    margin-left: 0 !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: #006b43 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

}
@media (max-width: 768.98px) {

/* Фікс вертикального вирівнювання − 1 + у qty-блоці */
.th-sticky-variation-bar .th-sv-qty-btn {
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.th-sticky-variation-bar .th-sv-qty-value {
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
}

}
@media (max-width: 768.98px) {

/* Фікс: кнопки і цифра в qty не по центру вертикально.
   Причина: .th-sv-qty — grid, його дочірні елементи (button, span)
   отримують vertical-align: baseline від браузера і не центруються
   через align-items на батьку. Виправлення — align-self: center
   і display:flex на кожній дочірній ячейці. */
.th-sticky-variation-bar .th-sv-qty-btn {
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.th-sticky-variation-bar .th-sv-qty-value {
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    line-height: 1 !important;
}

}
@media (max-width: 768.98px) {

:is(.btn,.button,button,[type=submit],[type=button]).th-sv-qty-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    height: 34px !important;
    width: 28px !important;
    padding: 0 !important;
    font-size: 16px !important;
    color: #6b5a2d !important;
    background: transparent !important;
    border: 0 !important;
    cursor: pointer !important;
}

:is(.btn,.button,button,[type=submit],[type=button]).th-sv-qty-value {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    height: 34px !important;
}

}
/* === HARD FIX: центрируем - 1 + в sticky qty === */
@media (max-width: 768.98px) {

  body.single-product .th-sticky-variation-bar .th-sv-qty {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 82px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #fff7df !important;
    overflow: hidden !important;
  }

  body.single-product .th-sticky-variation-bar .th-sv-qty-btn,
  body.single-product .th-sticky-variation-bar button.th-sv-qty-btn {
    all: unset !important;

    width: 28px !important;
    height: 34px !important;
    min-width: 28px !important;
    min-height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: #6b5a2d !important;
    cursor: pointer !important;

    position: relative !important;
    top: -1px !important;
  }

  body.single-product .th-sticky-variation-bar .th-sv-qty-value {
    width: 26px !important;
    height: 34px !important;
    min-width: 26px !important;
    min-height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #43330f !important;

    position: relative !important;
    top: -1px !important;
  }

}
@media (max-width: 768.98px) {

.woocommerce-cart .checkout-button {
    background: #006b43 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

}
.woocommerce-shipping-destination {
    display: none !important;
}
@media (max-width: 768.98px) {

/* Жовта смуга через ::before — бо .wd-sticky-btn відсутній в DOM чекауту */
body.woocommerce-checkout::before {
    content: '';
    position: fixed;
    bottom: 55px;
    left: 0;
    right: 0;
    height: 66px;
    background: #f6bd2f;
    z-index: 339;
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

/* Специфічність (1,2,0) — рівна з sticky-toolbar-on але іде ПІСЛЯ → перемагає */
body.sticky-toolbar-on .woocommerce-checkout #place_order {
    bottom: 63px !important;
    height: 50px !important;
    left: 8px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
    border-radius: 3px !important;
    background: #006b43 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 12px !important;
    z-index: 340 !important;
}

.woocommerce-checkout #payment {
    padding-bottom: calc(66px + 55px + 15px) !important;
}

}

@media (min-width: 769px) {
body.wd-sticky-btn-on {
    padding-bottom: 0 !important;
}
.wd-sticky-btn {
    display: none !important;
}
}
@media (max-width: 768.98px) {

/* Жёлтый бар — двухрядный, высота увеличена */
.wd-sticky-price-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 55px !important;
    height: 88px !important;
    background: #f6bd2f !important;
    padding: 8px 12px !important;
    z-index: 340 !important;
    gap: 6px !important;
    box-shadow: rgba(0,0,0,0.12) 0px -2px 6px !important;
    line-height: 1 !important;
}

/* Строка с суммой */
.wd-sticky-price-bar__row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.wd-sticky-price-bar__label {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #1a1a1a !important;
}

.wd-sticky-price-bar__amount {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: #1a1a1a !important;
}

/* Зелёная кнопка внутри жёлтого бара */
.wd-sticky-price-bar__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 36px !important;
    background: #006b43 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
}

/* Прячем оригинальную кнопку — она теперь не нужна */
.woocommerce-cart .checkout-button {
    display: none !important;
}

}
/* ПЛАВАЮЩИЕ КНОПКИ *****************************************************************************/@media (min-width: 1025px) {
	.filter {
padding: 10px;
	background-color: #f9fef7;
}
}

