.product-grid-item .product-image-link img,
.product-grid-item .hover-img img,
body:not(.home) .tax-product_cat .cat-design-alt img,
body:not(.home) .category-grid-item img {
    width: 100%;
    border-radius: var(--wd-brd-radius);
    height: 200px;
    object-fit: contain;
}

body:not(.home) .tax-product_cat .cat-design-alt img,
body:not(.home) .category-grid-item img {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
}

/* Бейджики */
.woocommerce-product-gallery .labels-rounded .product-label,
.labels-rounded .out-of-stock {
    min-width: max-content !important;
}

.labels-rounded .product-label {
    min-height: 20px;
}


 .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    max-height: 500px;
    -o-object-fit: contain;
    object-fit: contain;
}

/*Картинки в фильтре*/
/* .wd-swatch :is(img,picture) {
 
    object-fit: contain;
    width: 40px;
} */

@media screen and (max-width: 1024px) {
    .product-grid-item .product-image-link img,
    .product-grid-item .hover-img img {
        height: 150px;
    }

    .product-images img {
        max-height: 300px !important;
    }
}

@media screen and (max-width: 576px) {
    .product-grid-item .product-image-link img,
    .product-grid-item .hover-img img {
        height: 120px;
    }
}

/* ============================================
   Скроллбар
   ============================================ */
::-webkit-scrollbar {
    width: 15px;
    height: 3px;
}

::-webkit-scrollbar-button {
    height: 0;
}

::-webkit-scrollbar-track {
    background-color: linear-gradient(
        88.03deg,
        #f0f4f9 -4.95%,
        #587ca5 578.66%
    );
}

::-webkit-scrollbar-track-piece {
    background: rgb(202, 215, 224);
}

::-webkit-scrollbar-thumb {
    height: 50px;
    background: var(--e-global-color-accent);
    box-shadow: -1px 2px 2px rgba(24, 55, 91, 0.1),
        inset 0px -2px 1px rgba(39, 81, 126, 0.12),
        inset 0px 0px 4px rgba(46, 68, 87, 0.02);
    backdrop-filter: blur(28px);
}

::-webkit-scrollbar-corner {
    background-color: var(--e-global-color-accent);
}

.accent {
	color: var(--e-global-color-accent) !important;
}

.text-align-left a {
	text-align: left !important;
}

/* ============================================
   Хедер
   ============================================ */
.info-box-content div:not(:first-child) {
    margin-top: 5px !important;
}

.info-box-content div:last-child {
    margin-top: 5px !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 23.22px;
}

.wd-sticky-nav-title:before {
    content: "" !important;
    background: url("/wp-content/uploads/2024/11/menu-nav-white.svg");
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width: 18px;
    height: 18px;
}

.wd-header-sticky-nav img {
    max-width: 24px !important;
}

/* ============================================
   Футер
   ============================================ */
.footer-menu ul {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* .footer-cats ul {
    column-count: 2;
} */

.footer-menu li:not(:last-child) {
    margin-bottom: 20px !important;
}

.footer-menu ul a {
    color: #cad7e0 !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 20.49px;
}

.footer-menu ul a:hover {
    color: white !important;
}

.accent-link a {
    color: var(--e-global-color-accent) !important;
}

.accent-link a:hover {
    color: white !important;
}

.margin-25 .title-subtitle {
    margin-bottom: 25px !important;
}

.rounding-50 .title-subtitle {
    border-radius: 50px !important;
    padding: 7px 20px !important;
}

.all-products .btn.btn-style-link {
    padding: 3px 0 !important;
    border-width: 1px !important;
}

/* ============================================
   Стили категорий
   ============================================ */
.category-image {
    background: rgba(242, 244, 249, 1) !important;
}

.category-image img {
    padding: 10px !important;
    aspect-ratio: 1 / 1 !important;
}

.hover-mask .more-products {
    font-size: 13px;
    font-weight: 300;
    line-height: 17.76px;
    color: rgba(102, 116, 125, 1);
    margin-top: 5px;
}

.wrapp-category .wd-entities-title {
    hyphens: auto;
}

/* ============================================
   Бренды
   ============================================ */
.brand-images img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-height: 300px !important;
}

/* ============================================
   Стили товаров
   ============================================ */
.wd-product-grid-slider-pagin {
    opacity: 1 !important;
    visibility: visible !important;
    filter: invert(0) !important;
}

.product-element-top {
    border-radius: 0 !important;
}

.wd-product-grid-slider {
    border-radius: 12px !important;
}

.wd-product-grid-slider-dot {
    background-color: rgba(202, 215, 224, 1) !important;
    opacity: 1 !important;
}

.wd-product-grid-slider-dot.wd-active,
.wd-product-grid-slider-dot:hover {
    background-color: var(--e-global-color-accent) !important;
}

/* ============================================
   Одиночная товаров
   ============================================ */
.colspan2 {
    grid-column: span 2;
}

.recently-viewed-products .wd-carousel:before,
.related-products .wd-carousel:before {
    content: "Похожие товары";
    display: block;
    margin-bottom: 20px;
    padding-left: 10px;
}

.recently-viewed-products .wd-carousel:before {
    content: "Недавно просмотренные";
    display: block;
    margin-bottom: 20px;
    padding-left: 10px;
}

/* ============================================
   Боковое меню категорий
   ============================================ */
.wd-sticky-nav {
    overflow-y: auto !important;
}

.wd-sticky-nav::-webkit-scrollbar {
    width: 5px;
    height: 3px;
}

.wd-sticky-nav {
    opacity: 0;
    animation: fadeIn2 1s ease-out forwards;
}

@keyframes fadeIn2 {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.wd-nav-sticky > li > a .wd-nav-img {
    width: 24px !important;
    height: 24px !important;
}

.contact-list li:last-child {
    cursor: pointer;
}

.instructions ul {
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.instructions li {
	display: flex !important;
	flex-direction: row !important;
	gap: 5px;
}

.reviews:not(:has(#reviews)) {
	display: none;
}

.list-type-check ul {
	list-style-type: '✓';
	padding-left: 15px !important;
}

.list-type-check li {
	padding-left: 8px;
}

.wd-icon-telegram-brands:before {
    content: "\f179";
	font-family: "woodmart-font";
	font-weight: 400;
}

.wd-icon-whatsapp-brands:before {
    content: "\f175";
	font-family: "woodmart-font";
	font-weight: 400;
}

.messengers-icons .wd-icon-telegram-brands, .messengers-icons .wd-icon-whatsapp-brands {
	margin-left: 5px;
}

.brands-gallery img {
	max-height: 80px;
}

.brands-gallery .wd-gallery-item {
	background: white;
	padding: 15px 20px;
	border-radius: 12px;
}

.cookies-buttons .cookies-accept-btn {
	background: var(--wd-primary-color);
	color: white;
}

.product-element-bottom .available-on-backorder, .product-element-bottom .in-stock {
	color: white !important;
	background: #E3963E;
	border-radius: 30px;
	padding: 3px 8px;
	width: max-content;
}

.product-element-bottom .in-stock {
	background: #00C000;
}

.product-element-bottom .in-stock:before {
	color: white !important;
}

p.stock.wd-style-bordered span {
    border: 2px solid #E3963E;
	font-weight: 700;
}

p.stock.in-stock.wd-style-bordered span {
    border: 2px solid #00C000;
}

p.stock.available-on-backorder.wd-style-bordered span:before {
	background-color: #E3963E !important;	
}