.header .woocommerce img,
.woocommerce-page img {
    height: revert-layer;
}

/* Уведомление */

.woocommerce-message,
.woocommerce-error {
    display: flex;
    align-items: center;
    padding: 16px;
    color: #ffffff;
    background: #0063BC;
    border-top: 3px solid #FF6B11;
    outline: none;
    list-style: none;
}

.woocommerce-error {
    margin-bottom: 16px;
}

.woocommerce-message::before,
.woocommerce-error::before {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    width: 25px;
    height: 25px;
    border-radius: 100px;
    content: '!';
    color: #ffffff;
    background: #FF6B11;
    margin-right: 10px;
}

.woocommerce-message a,
.woocommerce-errora {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 46px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    padding: 12px 44px;
    transition: 0.2s;
    margin-left: auto;
    color: #ffffff;
    background: #FF6B11;
}

.woocommerce-message a:hover {
    background: #DA5300;
}

.woocommerce-message a:focus {
    background: #A1A1A1;
}

/* .woocommerce-error {
    display: contents;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
} */

.woocommerce-error li {
    margin-right: 8px;
}

@media (max-width: 991px) {
    .woocommerce-message {
        flex-direction: column;
        font-size: 13px;
    }

    .woocommerce-message::before {
        margin-right: auto;
        margin-bottom: 16px;
    }

    .woocommerce-message a {
        margin-top: 16px;
    }
}

/* Отключение выводов */

ul.products .screen-reader-text {
    display: none;
}

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

.woocommerce-breadcrumb {
    display: none;
}

/* Кнопки */

.cart .quantity {
    display: none;
}

.cart button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 46px;
    font-size: 0;
    font-weight: 500;
    border-radius: 4px;
    padding: 12px 44px;
    transition: 0.2s;
    color: #ffffff;
    background: #FF6B11;
}

.cart button:hover {
    background: #DA5300;
}

.cart button:focus {
    background: #A1A1A1;
}

.woocommerce .added_to_cart {
    font-size: 0;
}

.added_to_cart::after {
    content: "В корзине";
    font-size: 14px;
}

ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    width: 100%;
    padding-left: 0;
    margin-top: 60px;
    margin-bottom: 0;
}

ul.page-numbers li .next.page-numbers,
ul.page-numbers li .prev.page-numbers {
    font-size: 0;
}

ul.page-numbers li .next.page-numbers::after,
ul.page-numbers li .prev.page-numbers::after {
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='12' viewBox='0 0 24 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.7656 0.08325C17.5453 0.186375 17.3484 0.383249 17.2781 0.570749C17.2078 0.758249 17.2125 1.14262 17.2922 1.32075C17.3297 1.40512 18.1078 2.22075 19.05 3.15825L20.7422 4.84575L10.6781 4.86919L0.609375 4.89262L0.43125 5.00512C0.332813 5.06606 0.196875 5.202 0.126563 5.30512C0.01875 5.4645 0 5.54887 0 5.80669C0 6.0645 0.01875 6.14887 0.126563 6.30825C0.196875 6.41137 0.332813 6.54731 0.43125 6.60825L0.609375 6.72075L10.6781 6.74419L20.7422 6.76762L19.05 8.45512C18.1078 9.39262 17.3297 10.2082 17.2922 10.2926C17.2125 10.4707 17.2078 10.8551 17.2781 11.0426C17.4469 11.4973 18.0609 11.7411 18.5016 11.5348C18.7031 11.4411 23.6766 6.55669 23.8453 6.28481C24.0047 6.027 24 5.56294 23.8313 5.30981C23.6344 5.0145 18.7031 0.172312 18.5016 0.0785618C18.2766 -0.0292501 18 -0.0245628 17.7656 0.08325Z' fill='%23212121'/%3E%3C/svg%3E");
}

ul.page-numbers li .prev.page-numbers::after {
    transform: rotate(180deg);
}

ul.page-numbers li .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: #212121;
    background: #ffffff;
    border-radius: 8px;
}

ul.page-numbers li .page-numbers.current {
    color: #ffffff;
    background: #0063BC;
}

/* Вывод товаров */

ul.products {
    display: grid;
    grid-gap: 28px;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.home ul.products {
    display: block;
    margin-right: -24px;
}

.home ul.products .slick-slide {
    padding: 0;
    margin-right: 24px;
}

ul.products .product {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1px solid #EEEEEE;
}

ul.products h4 {
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #212121;
    margin-bottom: 4px;
}

ul.products .stock {
    position: absolute;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    margin-top: 8px;
    margin-left: 12px;
    font-size: 14px;
    color: #212121B2;
}

ul.products .stock::before {
    content: '⬤';
    font-size: 10px;
    margin-right: 6px;
}

ul.products .stock.stock_on::before {
    color: #3CCD46;
}

ul.products .stock.stock_off::before {
    color: #dc3232;
}

ul.products .foto_block {
    position: relative;
}

ul.products img {
    object-fit: contain;
    width: 100%;
    border-radius: 12px 12px 0 0;
    background-color: #F8FAFB;
}

.woocommerce img.woocommerce-placeholder,
img.woocommerce-placeholder {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.woocommerce ul.products img.woocommerce-placeholder,
ul.products img.woocommerce-placeholder {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

ul.products .content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px 13px 13px 19px;
}

.attributes {
    font-size: 13px;
    font-weight: 400;
    line-height: 140%;
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.attributes li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.czena {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.price {
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #212121;
}

.prise_on {
    margin-right: 16px;
}

.prise_off {
    font-weight: 300;
    opacity: 50%;
}

ul.products .btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto;
}

ul.products .add_to_cart_button,
.tovar_inner .add_to_cart_button {
    font-size: 0;
}

ul.products .add_to_cart_button::after,
.tovar_inner .add_to_cart_button::after,
.cart button::after {
    content: "Добавить в корзину";
    font-size: 14px;
}

ul.products .click-1.added {
    display: none;
}

ul.products .btns .click:first-child,
ul.products .btns .added_to_cart {
    width: 55%;
    order: 1;
}

ul.products .btns .click:last-child {
    order: 2;
    width: 40%;
    margin-left: auto;
}

ul.products .click,
ul.products .added_to_cart {
    width: 100%;
    padding: 12px 10px;
}

@media (max-width: 1399px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr);
    }

    ul.products .btns .click:first-child,
    ul.products .btns .added_to_cart {
        width: 100%;
        margin-bottom: 8px;
    }

    ul.products .btns .click:last-child {
        width: 100%;
    }
}

@media (max-width: 991px) {
    ul.products {
        grid-gap: 16px;
        grid-template-columns: repeat(2, 1fr);
    }

    .home ul.products {
        margin-right: 0;
    }

    .home ul.products .slick-slide {
        margin-right: 16px;
    }

    ul.products .click-1 {
        font-size: 0;
    }

    ul.products .add_to_cart_button::after,
    .cart button::after {
        content: "В корзину";
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    ul.products .stock {
        display: none;
    }

    ul.products img {
        max-height: 143px;
    }

    ul.products h4 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    ul.products .content {
        padding: 10px;
    }

    .czena {
        grid-template-columns: repeat(1, 1fr);
        margin-bottom: 16px;
    }

    .price {
        font-size: 16px;
    }

    ul.products .attributes {
        display: none;
    }

    .prise_on {
        margin-right: 0;
    }

    .prise_off {
        display: none;
    }
}

/* Сингл страница */

.tovar_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
}

.tovar_content {
    width: 48%;
}

.tovar_inner h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.tovar_inner .czena {
    margin: 40px 0;
}

.tovar_inner .btns {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.tovar_single .attributes {
    font-size: 14px;
    max-width: 400px;
    margin-bottom: 0;
}

.tovar_inner .attributes li {
    margin-bottom: 8px;
}

.tovar_inner .attributes li div {
    width: 50%;
}

.tovar_sliders_inner {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
}

.tovar_slider_for {
    width: 500px;
}

.tovar_slider_for .tovar_image_for,
.tovar_slider_mobile .tovar_image_for {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 534px;
    padding: 10px;
    border-radius: 12px;
    background-color: #F8FAFB;
}

.tovar_image_for img {
    object-fit: contain;
    width: 100%;
    max-width: 100%;
}

.tovar_slider_for.slick-slider .slick-track {
    display: block;
}

.tovar_inner .slick-prev,
.tovar_inner .slick-next {
    display: flex !important;
    width: 22px;
    height: 10px;
    font-size: 0 !important;
    background-color: unset !important;
    border-radius: 0;
    background-size: 100% !important;
    background-image: url(img/arrow_tovar.svg) !important;
}

.tovar_inner .slick-prev:hover,
.tovar_inner .slick-next:hover {
    opacity: 60%;
}

.tovar_inner .slick-prev {
    order: 1;
    transform: rotate(180deg) !important;
    margin-bottom: 16px;
}

.tovar_inner .slick-next {
    margin-left: 0;
    z-index: 3;
    margin-top: 16px;
}

.tovar_inner .tovar_slider_nav {
    order: 2;
}

.tovar_inner .arrows_inner {
    flex-direction: column;
    width: 90px;
    margin-top: 0;
}

.tovar_slider_nav {
    width: 100%;
    height: 100%;
    margin-bottom: -12px;
}

.tovar_slider_nav.slick-slider .slick-track {
    display: block;
}

.tovar_slider_nav .slide {
    padding: 0px;
    margin-bottom: 12px;
    border: 0;
    flex: unset;
}

.tovar_slider_nav .tovar_image_nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 115px;
    padding: 10px;
    border-radius: 8px;
    background-color: #F8FAFB;
}

.tovar_slider_nav .tovar_image_nav img {
    object-fit: contain;
    width: 100%;
    max-width: 100%;
    max-height: 80px;
}

.tovar_tabs {
    display: flex;
    align-items: center;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.tovar_single .tab-content {
    margin-top: 24px;
    max-width: 580px;
}

.tovar_single h4 {
    margin-bottom: 16px;
}

.tovar_tabs button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #0063BC;
    border: 1px solid #0063BC;
    background-color: unset;
}

.tovar_tabs li:last-child button {
    margin-right: 0;
}

.tovar_tabs button:hover {
    color: #A1A1A1;
    border: 1px solid #A1A1A1;
}

.tovar_tabs button:focus {
    color: #ffffff;
    background: #0063BC;
}

.tovar_tabs button:focus:hover {
    border: 1px solid #0063BC;
}

.tovar_tabs button.active {
    color: #ffffff;
    background: #0063BC;
}

@media (max-width: 1199px) {
    .tovar_slider_for {
        width: 400px;
    }

    .tovar_inner .btns {
        flex-direction: column;
    }

    .tovar_inner .btns .click {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .tovar_inner {
        margin-bottom: 60px;
    }

    .tovar_inner h1 {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .tovar_single .attributes {
        max-width: 100%;
    }

    .tovar_content {
        width: 100%;
    }

    .tovar_inner .art {
        margin-bottom: 16px;
    }

    .tovar_sliders_inner {
        display: none;
    }

    .tovar_slider_for {
        width: 100%;
    }

    .tovar_tabs {
        overflow-x: scroll;
    }

    .tovar_slider_for .slide {
        padding: 0;
    }

    .tovar_slider_for .tovar_image_for,
    .tovar_slider_mobile .tovar_image_for {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 300px;
    }

    .tovar_image_for img {
        object-fit: contain;
        max-width: 70%;
        height: auto;
    }

    .tovar_inner .tovar_slider_mobile {
        position: relative;
    }

    .tovar_inner .slick-dots {
        position: absolute;
        bottom: 20px;
        width: 100%;
        height: 25px;
        background-color: unset;
    }

    .tovar_inner .slick-dots li button {
        min-width: 32px;
        max-width: 32px;
        height: 5px;
        background-color: #21212133;
    }

    .tovar_inner .slick-dots li.slick-active button {
        min-width: 32px;
        max-width: 32px;
        background-color: #212121;
    }

    .tovar_slider_nav {
        display: none;
    }

    .tovar_inner .czena {
        margin: 24px 0;
    }

    .tovar_inner .price {
        font-size: 20px;
    }

    .tovar_inner .prise_on {
        margin-right: 16px;
    }

    .tovar_inner .prise_off {
        display: block;
    }

    .cart {
        width: 100%;
    }

    .cart button {
        width: 100%;
    }
}

/* Похожие товары */

.related h2 {
    color: #212121;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-style: Semi Bold;
    line-height: 125%;
    letter-spacing: 0%;
}

/* Корзина */

.woocommerce-cart .wp-block-heading {
    display: none;
}

.woocommerce-cart .wp-block-heading.wc-block-cart__empty-cart__title {
    display: block;
    font-size: 28px;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
    display: none;
}

.wp-block-product-new {
    display: none;
}

.wc-block-components-quantity-selector {
    display: none;
}

.wc-block-formatted-money-amount {
    font-size: 14px;
    font-weight: 300;
}

.wp-block-woocommerce-cart-order-summary-coupon-form-block {
    display: none;
}

.wc-block-components-button {
    width: 100% !important;
    outline: none;
    border: 0;
    transition: 0.2s !important;
    box-shadow: none !important;
}

.wc-block-components-product-name {
    color: #212121;
    font-weight: 600;
}

.wc-block-components-totals-footer-item {
    font-size: 20px;
    font-weight: 500;
}

.wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
    font-size: 20px;
    font-weight: 500;
}

/* личный кабинет */

.logged-in.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce-account h1,
.woocommerce-account h2{
    text-align: center;
}

.logged-in.woocommerce-account h1,
.logged-in.woocommerce-account h2{
    text-align: start;
}

.u-column1.col-1{
    width: 100%;
}

.woocommerce-MyAccount-content a {
    color: #212121;
}

.woocommerce-MyAccount-content a:hover {
    opacity: 60%;
}

.woocommerce-MyAccount-navigation {
    width: 20%;
}

.woocommerce-MyAccount-navigation ul {
    display: inline-block;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    border: 1px solid #F5F5F5;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    color: #212121;
    padding: 10px 20px;
    min-width: 150px;
}

.woocommerce-MyAccount-navigation li:not(:first-child) a {
    border-top: 1px solid #F5F5F5;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    background-color: #FF6B11;
    color: #ffffff;
}

.woocommerce-MyAccount-content {
    width: 80%;
}

.woocommerce-account .woocommerce-MyAccount-content input {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    padding: 0px 12px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    color: #212121;
    outline: none;
    background: none;
}

.woocommerce-account label {
    margin-bottom: 1rem;
}

.woocommerce-account .show-password-input {
    display: none;
}

.woocommerce-account .woocommerce-MyAccount-content input::placeholder {
    color: #212121;
}

.woocommerce-account .woocommerce-Button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 46px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    padding: 12px 44px;
    transition: 0.2s;
    color: #ffffff;
    background: #FF6B11;
}

.woocommerce-account .woocommerce-Button:hover {
    background: #DA5300;
}

.woocommerce-account .woocommerce-Button:focus {
    background: #A1A1A1;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    max-width: 400px;
    margin: 0 auto;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row input {
    outline: none;
    height: 46px;
    padding-left: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme{
    display: flex;
    align-items: center;
}

.woocommerce-form__input.woocommerce-form__input-checkbox{
    margin-right: 5px;
}

.woocommerce-LostPassword.lost_password{
    color: #212121;
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
}

.woocommerce-LostPassword.lost_password a{
    color: #212121;
    font-size: 13px;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    padding: 12px 44px;
    transition: 0.2s;
    color: #ffffff;
    background: #FF6B11;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover {
    color: #ffffff;
    background: #DA5300;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:focus {
    color: #ffffff;
    background: #A1A1A1;
}

@media (max-width: 991px) {
    .woocommerce-MyAccount-navigation {
        width: 100%;
        margin-bottom: 16px;
    }

    .woocommerce-MyAccount-content {
        width: 100%;
    }

    .woocommerce-MyAccount-navigation ul {
        width: 100%;
    }
}

/* чекаут */

.woocommerce-checkout .wc-block-components-button {
    width: fit-content !important;
}

.woocommerce-checkout h2 {
    color: #212121;
}

.woocommerce-order-details {
    display: none;
}

.woocommerce-customer-details {
    display: none;
}

/* .woocommerce-thankyou-order-received{
    text-align: center;
} */

.woocommerce-order-overview {
    display: flex;
    /* justify-content: center; */
    font-size: 18px;
    padding-left: 0;
}

label[for="radio-control-0-flat_rate:3"] .wc-block-components-radio-control__label-group .wc-block-components-radio-control__secondary-label {
    display: none !important;
}

.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label img {
    display: none !important;
}

.wc-block-components-totals-shipping .wc-block-components-totals-item__value {
    display: none;
}

.wc-blocks-components-select .wc-blocks-components-select__select {
    padding-top: 0 !important;
}