.checkout input {
    height: 43px !important;
    border: 1px solid #E9E9E9 !important;
}

.checkout textarea {
    outline: none;
    border: 1px solid #E9E9E9 !important;
}

.tovar_main_foto {
    width: 100%;
    height: 100%;
    max-height: 427px;
    object-fit: contain;
    background: #E5E8DF;
    border-radius: 12px;
}

.tovar_gallery_foto {
    display: none !important;
    max-width: 145px;
    max-height: 96px;
    object-fit: contain;
    background: #E5E8DF;
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.single .quantity {
    display: none;
}

.woocommerce .quantity input {
    background: none;
    border: 0;
    appearance: unset;
    padding: 0;
}

.woocommerce-product-gallery__wrapper .custom-gallery-slick {
    margin-top: 10px;
}

.woocommerce-product-gallery__wrapper .custom-gallery-slick .woocommerce-product-gallery__image {
    margin: 0 5px;
    width: auto;
    float: none;
}

.woocommerce-product-gallery__wrapper .custom-gallery-slick .woocommerce-product-gallery__image img {
    width: 100%;
    display: block;
}

.woocommerce-product-gallery__wrapper .custom-gallery-slick.slick-slider {
    overflow: hidden;
}

.custom-gallery-slick.slick-slider {
    margin-right: 0px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: #141414;
    text-decoration: none;
}

.posted_in {
    display: none;
}

.sku_wrapper {
    opacity: 70%;
}

.product-gallery-thumbnails {
    margin-top: 12px;
}

.product-gallery-thumbnail {
    border: 0;
    background: transparent;
    padding: 4px;
    cursor: pointer;
    box-sizing: border-box;
}

.product-gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 90px;
    object-fit: contain;
}

.product-gallery-thumbnail.is-active img {
    outline: 1px solid #777;
    outline-offset: -1px;
}

.tovar_slider_prise del {
    opacity: 70%;
    margin-right: 4px;
}

ins {
    text-decoration: none;
}

.restore-item {
    margin-left: 8px;
}

@media(max-width: 991px) {
    .tovar_main_foto {
        height: 427px !important;
    }

    .woocommerce .quantity .qty {
        width: fit-content;
        text-align: start;
    }

    .woocommerce-cart__list .quantity::before {
        content: "Количество:";
        margin-right: 4px;
    }

    .wc-proceed-to-checkout {
        margin-top: 24px !important;
    }

    .wc-proceed-to-checkout .click {
        max-width: 100%;
        width: 100%;
    }

}

.woocommerce-result-count {
    display: none;
}

.woocommerce_katalog_inner {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
    list-style: none;
    margin-bottom: 0;
    width: 100%;
}

.woocommerce_katalog_inner>.tovar_slider_item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

li.product {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce_katalog_inner::before,
.woocommerce_katalog_inner::after {
    display: none !important;
}

.woocommerce_category_inner {
    display: grid;
    grid-gap: 12px;
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
    list-style: none;
    margin-bottom: 48px;
    width: 100%;
}

.product-category a {
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 20px;
    background: #ffffff;
    border-radius: 8px;
    transition: 0.2s;
}

.product-category a img {
    margin: 0 !important;
    object-fit: cover !important;
    object-position: right;
    width: 150px !important;
    height: 90px !important;
    margin-left: -20px !important;
}

/* .woocommerce-shop .product-category a img {
    object-fit: cover;
    object-position: center;
} */

.woocommerce-loop-category__title {
    font-size: 18px !important;
    margin-left: 16px !important;
    margin-bottom: 0 !important;
}

.product-category a:hover {
    background: #92AA56;
}

.product-category a:hover .woocommerce-loop-category__title {
    color: #ffffff;
}

/* Контейнер сортировки */
.woocommerce-ordering {
    background: none;
    padding: 0;
}

/* Сам селект (выпадающий список) */
.woocommerce-ordering select {
    outline: none;
    border: 0;
    padding: 0;
    font-size: 14px;
    color: #31582B;
    border: 0;
    background: none;
}

.related {
    display: none;
}

.woocommerce-message {
    display: flex;
    align-items: center;
    outline: none;
}

.woocommerce-message .click {
    order: 2;
    margin-left: auto;
}

.woocommerce-info {
    border-top-color: #92AA56;
}

.woocommerce-info::before {
    color: #92AA56;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    top: unset;
}

@media(max-width: 991px) {
    .woocommerce_katalog_inner {
        grid-template-columns: repeat(1, 1fr);
    }

    .woocommerce_category_inner {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* woocommerce-cart / корзина */

.woocommerce-cart__list {
    position: relative;
    display: grid;
    align-items: center;
    grid-gap: 28px;
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #A3B18A
}

.woocommerce-cart__list .product-thumbnail img {
    border-radius: 24px;
}

.woocommerce-cart__list .product-name a {
    font-family: "Inter Tight", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #252525;
    text-decoration: none;
    transition: 0.3s;
}

.woocommerce-cart__list .product-name a:hover {
    color: #588157;
    transition: 0.3s;
}

.woocommerce-cart__list .quantity {
    display: flex;
    align-items: center;
}

.woocommerce-cart__list .quantity-arrows.minus {
    order: 1;
}

.woocommerce-cart__list .quantity-arrows.plus {
    order: 3;
}

.woocommerce-cart__list span.quantity-arrows {
    display: none;
    width: 40px;
    height: 40px;
    background-color: #A3B18A;
    border-radius: 50%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    font-size: 16px;
    line-height: 26px;
}

.woocommerce-cart__list span.quantity-arrows:hover {
    background: #588157;
}

.woocommerce-cart__list span.quantity-arrows:focus {
    background: #3A5A40;
}

/* .woocommerce-cart__list .quantity .qty {
    border: none;
    width: 40px;
    text-align: center;
    outline: none;
    order: 2;
} */

.woocommerce-message {
    outline: none;
}

/* .woocommerce-cart__list .product-remove {
    position: absolute;
    top: 0;
    right: 0;
} */

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none;
    margin-right: 0.5rem;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    order: 2;
    color: #252525;
    font-weight: 500;
}

.woocommerce .form-row-first input {
    width: 100%;
    height: 44px;
    border: 1px solid #A3B18A;
    border-radius: 8px;
    padding-left: 15px;
    padding-right: 15px;
    outline: none;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border: 1px solid #A3B18A;
    border-radius: 16px;
}

.woocommerce-cart__list a.remove:hover {
    background: none;
    background-color: transparent;
}

@media (max-width: 768px) {
    .woocommerce-cart__list {
        display: block;
    }

    .woocommerce-cart__list .woocommerce-list__item:first-child {
        display: none;
    }

    .woocommerce-cart__list span.quantity-arrows {
        width: 30px;
        height: 30px;
    }

    .woocommerce-cart__list span.quantity-arrows svg {
        width: 15px;
        height: 15px;
    }
}

/* woocommerce-cart / корзина */

/* woocommerce-total__cart / корзина */

.woocommerce-total__cart .shop_table {
    display: flex;
    justify-content: end;
    padding: 1rem;
    border-radius: 48px;
    background: #F3F2ED;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
}

.woocommerce-total__cart .order-total {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    margin-right: 3rem;
}

.woocommerce-total__cart .wc-proceed-to-checkout {
    display: flex;
    justify-content: end;
    margin-top: 3rem;
}

.product-price {
    font-size: 18px;
    font-weight: 500;
}

.order-total bdi {
    font-weight: 500;
}

@media (max-width: 768px) {
    .woocommerce-total__cart .shop_table {
        justify-content: center;
    }

    .woocommerce-total__cart .order-total {
        margin-right: 0rem;
    }
}

/* woocommerce-total__cart / корзина */

mark {
    display: none;
}

/* Индикатор Catch Infinite Scroll */
#ctis-loading {
    width: 100%;
    text-align: center;
}

/* Если плагин вставил его внутрь сетки товаров */
.woocommerce_katalog_inner>#ctis-loading {
    grid-column: 1 / -1;
    justify-self: stretch;
}

#ctis-loading .spinner {
    display: flex;
    justify-content: center;
    width: 100%;
}

.product_title {
    font-size: 24px;
}