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

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

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

:root {
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--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: 14px;
	--wd-primary-color: rgb(82,189,114);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(82,189,114);
	--btn-accented-bgcolor-hover: rgb(69,169,99);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://test.micasa.lv/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: url(https://test.micasa.lv/wp-content/uploads/2024/10/catalog_header_img.jpg);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav.wd-nav-main > li > a, html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a, html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a, .whb-general-header .wd-nav.wd-nav-secondary > li > a, html .wd-dropdown-cats .wd-nav.wd-nav-vertical > li > a {
	font-weight: 500;
	font-size: 16px;
	color: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--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: 0px;
}

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


.wd-header span.nav-link-text {
	color:#000000;
}

.wd-header-secondary-nav .menu.wd-nav span.nav-link-text {
    color: #fff;
}

.whb-main-header {
background-image: linear-gradient(180deg, #00000085 0%, #00000036 35%, #0000000f 100%);
}

.header_custom_titile .wd-text-block h3 {
	font-size: 40px;
}


.whb-color-dark.whb-header-bottom:not(.whb-with-bg) {
    background-color: #212121;
}

.tax-product_cat.term-76 .wd-action-btn.quick-view,
.tax-product_cat.term-76 .wd-action-btn.wd-compare-btn{
	display: none;
}

.custom_product_grid .wd-carousel-wrap {
	display: flex !important;
	flex-wrap: wrap;
	gap:5px;
	justify-content: center;
}


.custom_product_grid .wd-carousel-wrap .woocommerce-product-gallery img {
    width: 100%;
    max-height: 180px;
    border-radius: var(--wd-brd-radius);
	object-fit: cover;
}
.custom_product_grid .woocommerce-product-gallery img {
	width: 100%;
    max-height: 180px;

}

.wd-sub-menu li {
    margin-left: 10px;
}

.woocommerce-MyAccount-navigation-link a span{
	color: rgb(0 0 0);
}

.otgs-development-site-front-end {
	display:none;
}

.product-attributes {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}
.product-attributes p {
    margin: 5px 0;
}

.widget li.menu-item.menu-item-type-taxonomy.menu-item-object-product_cat.current-menu-item {
    background-color: #dfdfe8 !important;
}

.elementor-shortcode .related-products {
	  display: flex;
    justify-content: center;
    gap: 10px;
}

.elementor-shortcode .related-products .wd-product{
	max-width:200px;
}


/* Стили для продукта с реферера */
.related-products .referrer-product {
    background-color: #f9f9f9;
    border: 2px solid #ff6600;
    padding: 15px;
    margin-bottom: 10px;
}

/* Стили для остальных продуктов */
.related-products .regular-product {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
}



/*       */

.custom_sidebar_menu .menu .current-menu-item {
	background-color: #dfdfe8;
}


/*    Добавляем краткое описание справа от карточки продукта   */
.product {
    position: relative;
}

/* Блок с описанием — изначально скрыт */
.product .product-description-hidden {
    display: none; /* Скрываем по умолчанию */
    position: absolute;
    top: 0;
    top: 0%; /* Размещаем справа от карточки */
    width: 75%; /* Ширина блока описания */
    background: rgba(255, 255, 255, 0.95); /* Белый фон с легкой прозрачностью */
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    font-size: 14px;
    z-index: 10;
    transition: all 0.3s ease-in-out; /* Анимация для плавного появления */
	 overflow-wrap: break-word;
}

/* Показываем блок при наведении */
.product-wrapper:hover .product-description-hidden {
    display: block;
}

/* Ограничиваем область описания на небольших экранах */
@media (max-width: 768px) {
    .product .product-description-hidden {
        width: 100%; /* Описание занимает всю ширину */
        left: 0; /* Размещаем под карточкой */
        top: 100%; /* Сдвигаем вниз */
    }
}

/* enddd    Добавляем краткое описание справа от карточки продукта   */

/* отографии продукта в табах */

.product-images-tab img {
    max-height: 150px;
    max-width: 150px;
    object-fit: contain; /* Или "cover" в зависимости от желаемого результата */
    margin: 0 auto;
		padding: 5px;
}

/* end фотографии продукта в табах */

.product-image-with-background .woocommerce-product-gallery__wrapper .wd-active img {
	width: auto;
}

.product-image-with-background .woocommerce-product-gallery__wrapper .wd-active {
	display: flex;
	justify-content: center;
}

.test-container-class {
	  display: flex;
    justify-content: space-around;
}


/*attribute count on product page   */

.attribute_value_count {
	    position: relative;
    cursor: pointer;
}

.attribute_value_count:hover::after {
    content: attr(title);
    position: absolute;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    line-height: 1.2;
}

.woocommerce-product-gallery__wrapper .wd-carousel-item img {
	max-height:500px;
	object-fit: contain;
}

.wd-gallery-thumb .wd-carousel-wrap .wd-carousel-item img {
    max-height: 150px;
    object-fit: contain;
}

.main-page-slider {
	   display: flex;
    align-items: center;
    justify-content: center;
}

/* .wd-carousel-wrap .wd-carousel-item:not(.wd-active), .wd-carousel-wrap .wd-carousel-item .wd-thumb-active {
    HEIGHT: 200PX;
	  align-content: center;
	  background: rgba(15, 15, 15, 0.05);
}

.wd-carousel-wrap .wd-carousel-item:not(.wd-active), {
    align-content: center;
    background: rgba(15, 15, 15, 0.05);
}

.wd-carousel-wrap .wd-carousel-item.wd-thumb-active{
    height: 200px;
    align-content: center;
} */

.wd-gallery-thumb .wd-carousel-wrap .wd-carousel-item:not(.woocommerce-product-gallery__wrapper .wd-carousel-wrap .wd-carousel-item .woocommerce-product-gallery__image){
	    height: 200px;
    align-content: center;
	background: rgba(15, 15, 15, 0.05);
	border: 3px solid white;
}

.product-image-with-background .woocommerce-product-gallery__wrapper .wd-carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(10, 10, 10, 0.05);
}


.wd-carousel-item {
    height: height: calc(100% / var(--wd-col)) !important;
}

.wd-product:not(.wd-hover-small) :is(.product-image-link,.hover-img) img {
    width: 100%;
    object-fit: contain;
    background: rgba(10, 10, 10, 0.02);
    aspect-ratio: 1 / 1;
}


.product-wrapper:hover .product-description-hidden {
    display: none;
}


.wd-products[class*="wd-stretch-cont"] .wd-product :is(.price,.wrap-price,.product-rating-price) {
    margin-top: unset;
}

/*  SHOW MORE 1 ATTRIBUTE IN CATALOG PAGE UNDER PRODUCT CART  */
/* body .wd-quick-shop-2:not(.wd-form-inited) tr:not(:first-child) :is(.wd-swatches-grid),
body .wd-quick-shop-2:not(.wd-form-inited) tr:not(:first-child) :is(select,.wd-swatches-grid) {
    display: none;
} */


.elementor-shortcode .related-products {
    flex-wrap: wrap;
}

div.quantity input[type="number"] {
    width: 70px;
}

.pswp__bg {
    background: #fff !important;
}

.wcpa_section_head {
    border: 3px solid black !important;
}



/* product attribute  ================================================================                        */



.product-wrapper {
  position: relative; /* Для абсолютного позиционирования */
  overflow: visible !important; /* Чтобы блок не обрезался */
}

/* Блок с атрибутами — абсолютный оверлей */
.product-attributes {
  position: absolute;
  top: -50px;
  left: 100%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  max-width: 90%;
  pointer-events: none; /* Чтобы не мешал кликам */
  display: none; /* Скрыт по умолчанию */
  z-index: 120;
  white-space: normal; /* Чтобы текст переносился */
}

/* Показать при наведении на всю карточку */
.product-wrapper:hover .product-attributes {
  display: none;
}

.product-element-top{
    position: relative;
    overflow: visible !important;
}



/* ===== hide collection product block if 0 product ===== */

.coll-product-hide {
    display: none;
}

/* ===== link to collection page in product page  ===== */
.linked-product-block {
		 position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fafafa;
    text-decoration: none;
    color: #222;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
		overflow: visible;
}

.linked-product-block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;                 /* толщина линии при анимации */
  width: 100%;
  background-color: #777777;  /* цвет "утолщения" */
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transform-origin: left;
  transform: scaleX(0);        /* изначально скрыт (по ширине) */
  transition: transform 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

/* При наведении раскрываем псевдоэлемент слева направо */
.linked-product-block:hover::after,
.linked-product-block:focus::after {
  transform: scaleX(1);
}



.linked-product-image img {
    max-width: 80px;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
}

.linked-product-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    gap: 10px;
}

.linked-product-text {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}

.linked-product-arrow {
    display: inline-flex;
    color: inherit;
    transition: transform 0.3s ease;
}

.linked-product-block:hover .linked-product-arrow,
.linked-product-block:focus .linked-product-arrow {
    transform: translateX(4px);
}

.linked-product-label {
    font-weight: 400;
    font-size: 14px;
    color: rgb(119, 119, 119);
}

/* Адаптивность */
@media (max-width: 600px) {
    .linked-product-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .linked-product-image img {
        max-width: 100%;
        border-radius: 10px;
    }

    .linked-product-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* checkot error message */
.checkout-inline-error-message {
    position: absolute;
}

/* product count form   */
div.quantity input[type="number"] {
    width: 70px !important;
}@media (min-width: 1025px) {
	.header_custom_titile {
	font-size: 50px;
	
}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.custom_product_grid .woocommerce-product-gallery img {

    max-height: 120px;
}
}

@media (max-width: 576px) {
	.custom_product_grid .woocommerce-product-gallery img {

    max-height: 80px;
}
}

