:root {
	--wd-text-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: var(--wd-text-font);
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: var(--wd-title-font);
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: var(--wd-text-font);
	--wd-widget-title-font: var(--wd-title-font);
	--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: var(--wd-text-font);
	--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: #83b735;
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--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-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--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-promo-popup-wrap {
	--wd-popup-width: 800px;
}
: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: #ffffff;
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
: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: 8px;
}

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


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

/* ===== BISTRO24 MOBILE CARDS ===== */
@media (max-width: 767px) {

  ul.products, .wd-products, .products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .wd-product {
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    flex: 0 0 calc(50% - 5px) !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .wd-product .wd-product-wrapper {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 18px !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    overflow: hidden !important;
    padding: 0 0 58px 0 !important; /* резерв под цену/кнопку + доп. отступ от заголовка */
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  }

  /* Квадратный контейнер под фото — высота = ширине карточки */
  .wd-product .wd-product-thumb {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    background: #ffffff !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Фото гарантированно заполняет квадрат целиком (без белых полос по краям).
     Если фото не строго 1:1 — края могут слегка подрезаться по бокам/сверху-снизу. */
  .wd-product .wd-product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    padding: 0 !important;
  }

  /* Название — всегда резервирует место под 2 строки */
  .wd-product .wd-entities-title {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    line-height: 1.3 !important;
    min-height: calc(1.3em * 2) !important;
    margin: 10px 10px 4px !important;
    padding: 0 !important;
    text-align: left !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .wd-product .wd-entities-title a {
    color: #1a1a1a !important;
    font-size: inherit !important;
  }

  /* Цена и кнопка — абсолютно спозиционированы в нижней части карточки.
     Это НЕ зависит от высоты фото или количества строк в заголовке — никогда не наложатся. */
  .wd-product .price {
    position: absolute !important;
    bottom: 14px !important;
    left: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #159447 !important;
    line-height: 1 !important;
  }

  .wd-product .price del {
    display: block !important;
    font-size: 10px !important;
    color: #bbb !important;
    font-weight: 400 !important;
    margin-bottom: 2px !important;
  }

  .wd-product .price ins {
    text-decoration: none !important;
  }

  .wd-product .wd-add-btn {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    margin: 0 !important;
    width: auto !important;
  }

  /* Кнопка — корзина через SVG background */
  .wd-product .add_to_cart_button {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background-color: #35a915 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(53,169,21,0.4) !important;
    cursor: pointer !important;
  }

  .wd-product .add_to_cart_button .wd-action-text,
  .wd-product .add_to_cart_button .wd-action-icon,
  .wd-product .add_to_cart_button .wd-check-icon {
    display: none !important;
  }

  .wd-product .add_to_cart_button:hover {
    background-color: #2d9212 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E") !important;
  }

  /* Wishlist */
  .wd-product .wd-wishlist-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 10 !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.95) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
  }

  .wd-product .wd-wishlist-btn .wd-action-text {
    display: none !important;
  }

  .wd-product .wd-compare-btn,
  .wd-product .wd-quick-view-btn,
  .wd-product .quantity,
  .wd-product .bm-counter {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .wd-product .wd-entities-title {
    margin: 7px 10px 2px !important;
  }

  .wd-product .price {
    font-size: 13px !important;
  }
}



.woocommerce-mini-cart__buttons .wc-forward:not(.checkout),
.widget_shopping_cart_content .buttons .button:not(.checkout),
.elementor-menu-cart__footer-buttons .elementor-button--view-cart {
    display: none !important;
}

.woocommerce-mini-cart__buttons .checkout,
.elementor-menu-cart__footer-buttons .checkout {
    width: 100% !important;
    display: block !important;
}