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

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//b2b.contigo16.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//b2b.contigo16.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//b2b.contigo16.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//b2b.contigo16.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//b2b.contigo16.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//b2b.contigo16.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//b2b.contigo16.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//b2b.contigo16.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--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: "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: "Montserrat", 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: #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-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;
}
.product-labels .product-label.onsale {
	background-color: rgb(255,50,51);
	color: rgb(255,255,255);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(255,58,58);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 5px;
}

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


.wd-page-title {
background-color: rgb(130,183,53);
}

/* =========================================================
   WOODMART: SQUARE PRODUCT IMAGES (CATALOG + SINGLE)
   MODE: NO CROP (contain)
   Paste into: Appearance -> Customize -> Additional CSS
   ========================================================= */


/* =========================
   1) CATALOG / ARCHIVE
   ========================= */

/* Хващаме основните woodmart контейнери за снимки в каталога */
.products .product-image-wrap,
.products .product-image-link,
.product-grid-item .product-image-wrap,
.product-grid-item .product-image-link,
.wd-product .product-image-wrap,
.wd-product .product-image-link,
.wd-product-thumb,
.wd-product-thumb a {
  position: relative !important;
  overflow: hidden !important;
}

/* Правим квадрат (1:1) със pseudo-element */
.products .product-image-wrap::before,
.products .product-image-link::before,
.product-grid-item .product-image-wrap::before,
.product-grid-item .product-image-link::before,
.wd-product .product-image-wrap::before,
.wd-product .product-image-link::before,
.wd-product-thumb::before,
.wd-product-thumb a::before {
  content: "" !important;
  display: block !important;
  padding-top: 100% !important; /* 1:1 */
}

/* Всички IMG в тези контейнери да “легнат” в квадрата */
.products .product-image-wrap img,
.products .product-image-link img,
.product-grid-item .product-image-wrap img,
.product-grid-item .product-image-link img,
.wd-product .product-image-wrap img,
.wd-product .product-image-link img,
.wd-product-thumb img,
.wd-product-thumb a img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;   /* без рязане */
  object-position: center center !important;
}

/* Ако Woodmart използва background-image вместо <img> */
.products .product-image-wrap,
.products .product-image-link,
.product-grid-item .product-image-wrap,
.product-grid-item .product-image-link,
.wd-product .product-image-wrap,
.wd-product .product-image-link,
.wd-product-thumb,
.wd-product-thumb a {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important; /* без рязане */
}


/* =========================
   2) SINGLE PRODUCT
   ========================= */

/* Заключваме КОНКРЕТНО image box-а, за да няма огромно бяло поле */
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image > a {
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;   /* квадрат */
}

/* Снимката да се побира без рязане */
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery__image > a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;   /* без рязане */
  object-position: center center !important;
}

/* Thumbnails на single да са квадрат */
.single-product .flex-control-thumbs li {
  position: relative !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
}
.single-product .flex-control-thumbs img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;   /* без рязане */
  object-position: center center !important;
}

/* =========================================================
   OPTIONAL: Ако искаш да ПЪЛНИ квадрата (но да реже)
   Смени 4-те "contain" на "cover" (или сложи този блок най-долу)
   ========================================================= */

/*
.products .product-image-wrap img,
.products .product-image-link img,
.product-grid-item .product-image-wrap img,
.product-grid-item .product-image-link img,
.wd-product .product-image-wrap img,
.wd-product .product-image-link img,
.wd-product-thumb img,
.wd-product-thumb a img,
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery__image > a img,
.single-product .flex-control-thumbs img {
  object-fit: cover !important;
}

.products .product-image-wrap,
.products .product-image-link,
.product-grid-item .product-image-wrap,
.product-grid-item .product-image-link,
.wd-product .product-image-wrap,
.wd-product .product-image-link,
.wd-product-thumb,
.wd-product-thumb a {
  background-size: cover !important;
}
*/
/* =========================
   PAGE 5698 = PORTAL MODE
   Hide header + footer (Woodmart)
   ========================= */

/* 1) Header builders / top bars */
body.page-id-5698 .whb-header,
body.page-id-5698 .whb-top-bar,
body.page-id-5698 .whb-general-header,
body.page-id-5698 .whb-mobile-header,
body.page-id-5698 .whb-sticky-header,
body.page-id-5698 .header-wrapper,
body.page-id-5698 .main-header,
body.page-id-5698 .site-header,
body.page-id-5698 .wd-header,
body.page-id-5698 .wd-top-bar,
body.page-id-5698 .topbar,
body.page-id-5698 .header-banner,
body.page-id-5698 #header {
  display: none !important;
}

/* 2) Page title / breadcrumbs (Woodmart често ги показва отделно) */
body.page-id-5698 .page-title,
body.page-id-5698 .page-title-area,
body.page-id-5698 .title-wrapper,
body.page-id-5698 .breadcrumbs,
body.page-id-5698 .yoast-breadcrumb,
body.page-id-5698 .woodmart-breadcrumbs {
  display: none !important;
}

/* 3) Footer */
body.page-id-5698 .footer-container,
body.page-id-5698 .footer-wrapper,
body.page-id-5698 .main-footer,
body.page-id-5698 .site-footer,
body.page-id-5698 .wd-footer,
body.page-id-5698 #footer,
body.page-id-5698 footer {
  display: none !important;
}

/* 4) Ако темата пази „празно място“ след като скрием хедъра/футъра */
body.page-id-5698 .main-page-wrapper,
body.page-id-5698 .website-wrapper,
body.page-id-5698 .site-content,
body.page-id-5698 #content,
body.page-id-5698 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 5) Full-height portal */
body.page-id-5698 .main-page-wrapper,
body.page-id-5698 .website-wrapper {
  min-height: 100vh !important;
}

/* 6) Ако си логнат и admin bar прави дупка */
body.page-id-5698.admin-bar .main-page-wrapper,
body.page-id-5698.admin-bar .website-wrapper {
  min-height: calc(100vh - 32px) !important;
}


/* Маха B2B "Клиентски профил" бокса в Моят акаунт */
body.woocommerce-account .woocommerce-MyAccount-content .sbd-account-box{
  display: none !important;
}

/* (по желание) ако остава празно място */
body.woocommerce-account .woocommerce-MyAccount-content .sbd-account-box + *{
  margin-top: 0 !important;
}
html[lang^="bg"] .product_meta span.posted_in:has(a[href*="/marka/"]) > .meta-label{
  display:none !important;
	font-size: bold;
}
html[lang^="bg"] .product_meta span.posted_in:has(a[href*="/marka/"]) > a:first-of-type::before{
  content:"Марка: ";
}
.woocommerce-shipping-destination {
    display: none !important;
}