/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* Кастомная сетка товаров */
/*  .woocommerce ul.custom-grid {
    display: flex!important;
    flex-wrap: wrap!important;
    column-gap:20px!important;
	row-gap:30px!important;
	padding:0!important;
}

.woocommerce ul.custom-grid li.product {
    box-sizing: border-box;
    position: relative;
}

.woocommerce ul.custom-grid li.product img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.woocommerce ul.custom-grid li.product.size-310x335 img {
    width: 310px!important;
    height: 335px!important;
}

.woocommerce ul.custom-grid li.product.size-640x545 img {
    width: 640px!important;
    height: 546px!important;
}
@media (max-width: 992px) {
    .woocommerce ul.custom-grid li.product.size-310x335 img,
    .woocommerce ul.custom-grid li.product.size-640x545 img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.custom-grid li.product.size-310x335 img,
    .woocommerce ul.custom-grid li.product.size-640x545 img {
        width: 100%;
        height: auto;
    }
} */
ul, li { list-style: none; } 

.custom-category-list {
    list-style-type: none;
    padding: 0;
}

.category-item {
    position: relative;
    margin-bottom: 15px;
}

.category-item a {
    text-decoration: none;
    color: #333;
}

.category-item img {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 10px;
    max-width: 100px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.category-item:hover img {
    opacity: 1;
}



.image-category-hover-19,
.image-category-hover-20 {
	display: none;
	opacity: 0;
	transition: opacity 0.1s ease-in-out;
}

.image-category-hover-visible {
	display: block;
	opacity: 1;
}


/* Заголовки товаров в сетке WoodMart */
.products .wd-product .wd-entities-title {
  --title-line-height: 1.35;
  --title-visible-lines: 3.0; /* 2 строки + немного 3-й */

  position: relative;
  overflow: hidden;
  line-height: var(--title-line-height);
  height: calc(1em * var(--title-line-height) * var(--title-visible-lines));
  margin-bottom: 10px;
}
@media (max-width: 1025px) {
	.products .wd-product .wd-entities-title {margin-bottom: 0;}
}

/* Ссылка внутри заголовка */
.products .wd-product .wd-entities-title > a {
  display: block;
  line-height: inherit;
  text-decoration: none;
}

/* Красивое затухание текста снизу */
@supports ((-webkit-mask-image: linear-gradient(to bottom, #000, transparent)) or (mask-image: linear-gradient(to bottom, #000, transparent))) {
  .products .wd-product .wd-entities-title {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 72%,
      rgba(0, 0, 0, 0.45) 88%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 72%,
      rgba(0, 0, 0, 0.45) 88%,
      transparent 100%
    );
  }
}

/* стили единого h1 с артикулом */
.product_title .product-h1-title {
    display: block;
}

.product_title .product-h1-sku {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400;
    opacity: 0.65;
}

.elementor-element-85c2050 {
    display: none !important;
}