/*
Theme Name:     TFS Theme Premium
Description:    TFS Theme
Author:         TT
Template:       Satori_premium
Version:        0.1.0
*/

/* Add custom styling from here */
@font-face {
    font-family: 'Philosopher';
    src: url('fonts/Philosopher.eot');
    src: url('fonts/Philosopher.eot?#iefix') format('embedded-opentype'),
        url('fonts/Philosopher.woff') format('woff'),
        url('fonts/Philosopher.ttf') format('truetype'),
        url('fonts/Philosopher.svg#MyWebFontLight') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {font-family: 'Philosopher';}

@font-face {
    font-family: 'Philosopher';
    src: url('fonts/Philosopher-Bold.eot');
    src: url('fonts/Philosopher-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Philosopher-Bold.woff') format('woff'),
        url('fonts/Philosopher-Bold.ttf') format('truetype'),
        url('fonts/Philosopher-Bold.svg#MyWebFontLight') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Philosopher';
    src: url('fonts/Philosopher-Italic.eot');
    src: url('fonts/Philosopher-Italic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Philosopher-Italic.woff') format('woff'),
        url('fonts/Philosopher-Italic.ttf') format('truetype'),
        url('fonts/Philosopher-Italic.svg#MyWebFontLight') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Philosopher';
    src: url('fonts/Philosopher-BoldItalic.eot');
    src: url('fonts/Philosopher-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('fonts/Philosopher-BoldItalic.woff') format('woff'),
        url('fonts/Philosopher-BoldItalic.ttf') format('truetype'),
        url('fonts/Philosopher-BoldItalic.svg#MyWebFontLight') format('svg');
    font-weight: bold;
    font-style: italic;
}


.flex-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.d-inline {
    display: inline;
}

.flex-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.files__item {
    gap: 8px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.product-info__files_col {
    gap: 10px;
}

/* Скрываем артикул */
.sku_wrapper{display:none}

/* Скрываем метки */
.tagged_as{display:none}

/*кнопка*/
.woocommerce button.button.alt.disabled {    background-color: #8E7A50; !important;}
.woocommerce button.button.alt.disabled:hover {    background-color: #8E7A50; !important;}

.woocommerce div.product form.cart .variations select {
     max-width: 100%; !important; 
     min-width: 0%; !important;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 24%; !important;
}

/*
Карточки товаров
 */
.single-product.woocommerce-page div.product h1.product_title {
    color: #675738;
    font-size: 32px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 30px;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item),
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    padding: 0;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
    -webkit-box-shadow: 0 0 0 2px #83C150;
    box-shadow: 0 0 0 2px #83C150;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item.selected:not(.no-stock) .variable-item-contents:before,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.selected:not(.no-stock) .variable-item-contents:before {
    background-image: none;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item .variable-item-span-color {
    min-width: 40px;
    min-height: 40px;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    max-width: 40px;
    max-height: 40px;
}

.woocommerce-variation-add-to-cart .ywapo_group_container.form-row.form-row-wide h3 {
    margin-top: 0;
    margin-bottom: 5px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    line-height: 1em;
    background-color: transparent;
    color: #000;
    border-radius: 0;
    padding: 0;
}

.woocommerce-variation-add-to-cart .yith_wapo_groups_container .ywapo_options_container {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.woocommerce-variation-add-to-cart .ywapo_input_container.ywapo_input_container_labels {
    height: auto !important;
    margin: 0 11px 11px 0;
    padding: 0;
    position: relative;
}

.woocommerce-variation-add-to-cart .ywapo_input_container.ywapo_input_container_labels.ywapo_selected {
    border-color: #83C150;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: -40px;
}

.woocommerce-variation-add-to-cart .ywapo_input_container.ywapo_input_container_labels .ywapo_label:not(.with_image) {
    line-height: 1em;
    padding: 7px 11px;
    font-size: 14px;
    font-weight: 400 !important;
    text-transform: lowercase;
}

.woocommerce-variation-add-to-cart .ywapo_input_container.ywapo_input_container_labels .with_image img {
    margin-bottom: 0;
}

.woocommerce-variation-add-to-cart .ywapo_input_container .wapo_option_tooltip {
    position: absolute;
    top: 0;
    margin-top: 0 !important;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    max-width: 100%;
    width: auto;
    height: auto;
    min-height: 32px;
    margin: 0 11px 11px 0;
}

.woo-variation-swatches .variable-items-wrapper .variable-item img {
    max-width: 40px;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item .variable-item-span {
    padding: 7px 11px;
    line-height: 1em;
}

.woocommerce-variation-add-to-cart .ywapo_group_container.form-row.form-row-wide h3,
.woocommerce div.product form.cart .variations th {
    line-height: 1em;
    margin-bottom: 10px;
}

.woocommerce div.product form.cart .variations th label {
    margin-left: 0;
}

.woocommerce .summary .ywapo_group_container.form-row.form-row-wide .required {
    display: none;
}

.woocommerce .summary .ywapo_group_container.form-row.form-row-wide {
    margin-bottom: 19px;
}

.woocommerce .summary .woo-variation-items-wrapper {
    padding-bottom: 19px;
}


.woocommerce-loop-product__link .product-meta {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1em;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title h2 {
    font-size: 18px;
    margin-bottom: 0;
}

.ywapo_group_container[data-type="checkbox"] .ywapo_input_container {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.ywapo_group_container[data-type="checkbox"] .ywapo_input_container label {
    width: 100%;
}

.ywapo_group_container[data-type="checkbox"] .ywapo_input_container label:nth-child(3) {
    display: none;
}

.silicone {
    text-align: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    margin: 2em 0 1em;
}

.silicone span {
    z-index: 2;
    padding: 0 5px;
    font-size: 12px;
    background-color: #ffffff;
}

.silicone span:first-child {
    padding-left: 0;
}

.silicone span:last-child {
    margin-left: auto;
}

.silicone:before {
    content: '';
    position: absolute;
    z-index: 0;
    bottom: .3rem;
    width: 100%;
    height: 0;
    line-height: 0;
    border-bottom: 1px dotted #675738;
}



@media (max-width: 767px) {

    .woocommerce-loop-product__link .product-meta {
        font-size: 10px;
    }
}

/*
*  Новое оформление страниц товаров
 */

.single-product .nickx-slider-for {
    margin-bottom: 15px;
}

.single.single-product.woocommerce .woocommerce-breadcrumb {
    text-align: left;
}

.single-product .product_thumbnail_item {
    border: 1px solid #D9D9D9 !important;
}



.single-product .product_thumbnail_item {
    border-radius: 6px;
    overflow: hidden;
}

.single-product .loading .product_thumbnail_item, .single-product .loading .product_thumbnail_item img {
    display: block;
    max-width:  min(23vw, 141px);
    max-height: min(23vw, 141px);
}


.single-product #nickx-gallery {
    padding: 0 10px;
    width: calc(100% + 20px);
    left: -10px;
}

.single-product #nickx-gallery .btn-next {
    right: 10px;
}

.single-product #nickx-gallery .nslick-slide {
    margin: 0 7.5px;
}

.single-product .nickx-slider-for .btn-prev, .single-product .nickx-slider-for .btn-next {
    display: none !important;
}

.single-product .nickx-slider-for .nslick-list {
    border: 1px solid #D9D9D9 !important;
    margin: 0 5px 0 7.5px;
    border-radius: 10px;
}

.single-product .dashicons-arrow-right-alt2:before, .single-product .dashicons-arrow-left-alt2:before {
    color: #fff;
    background: #000000;
    border-radius: 100%;
    padding: 5px;
}

.single-product.woocommerce form.variations_form {
    margin-top: 0;
    max-width: 264px;
}

.single-product .product_meta {
    display: none;
}

.single-product .cart_block, .single-product .tinvwl-before-add-to-cart, .single-product .yith_wapo_group_total, .single-product .digi-dolyame-button--wrapper {
    position: absolute;
}

.single-product .cart_block {
    right: 0;
    top: 175px;
    text-align: left;
}

.single-product .digi-dolyame-button--wrapper {
    right: 0;
    top: 273px;
}

.single-product.woocommerce div.product form.cart .button.one-click-order-single {
    margin-left: 0;
    background-color: #DE9233;
    color: #fff;
    font-size: 14px;
    border: none;
    font-weight: 500;
    line-height: 14px;
    padding: 10px 21px 10px 21px;
    border-radius: 4px;
}

.single-product.woocommerce form.cart .qib-container + button[type='submit']:not(#qib_id):not(#qib_id) {
    padding: 9px 22px 10px;
    margin-left: 22px!important;
}
.cart_block {
    display: none!important;
}
.logged-in .cart_block {
    display: inline-flex!important;
}

.single-product .yith_wapo_group_total, .single-product .digi-dolyame-button--wrapper, .single-product .cart_block, .product-adv {
    width: 268px;
}

.single-product .yith_wapo_group_total {
    right: 0;
    top: 70px;
}

.single-product .digi-dolyame-button {
    width: 100%;
    padding: 11px;
}

.single-product .yith_wapo_group_total tbody {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.single-product .yith_wapo_group_total tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.single-product .ywapo_tr_order_totals {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
}

.single-product .ywapo_tr_product_base_price td, .single-product .ywapo_tr_additional_options td {
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    text-align: left;
    color: #777777;
    padding-right: 5px;
    padding-bottom: 5px;
}

.single-product .ywapo_tr_product_base_price td span.price, .single-product .ywapo_tr_additional_options td span.price {
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    text-align: left;
    color: #000;
}

.single-product.woocommerce .ywapo_tr_order_totals span.price {
    font-size: 26px;
    color: #000000;
    font-weight: 700;
    line-height: 26px;
    text-align: left;
}

.single-product .ywapo_tr_order_totals td:first-of-type {
    display: none;
}

.single-product .tinvwl-before-add-to-cart {
    right: 0;
    top: 0;
}


.variations-popup__wrap {
    --close-btn-size: 50px;
    --color-white: #fff;
    --color-dark: #000000;
    --color-grey: #D9D9D9;
    --popup-width: 516px;
}

.variations-popup__wrap * {
    color: var(--color-dark);
    font-family: Montserrat, sans-serif;
}

.variations-popup__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    opacity: 0;
    visibility: hidden;
    z-index: 10001;
    position: fixed;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100%;
}

.variations-popup__wrap.active {
    opacity: 1;
    visibility: visible;
}

.variation-popup__overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background-color: #1a1a1a;
}

.variation-popup {
    right: calc(var(--popup-width) * -1);
    -webkit-transition: -webkit-transform 0.7s ease;
    transition: -webkit-transform 0.7s ease;
    -o-transition: transform 0.7s ease;
    transition: transform 0.7s ease;
    transition: transform 0.7s ease, -webkit-transform 0.7s ease;
    position: relative;
    height: 100%;
    width: 100%;
    max-width: var(--popup-width);
    background-color: var(--color-white);
}

.variations-popup__wrap.active .variation-popup {
    -webkit-transform: translateX(calc(var(--popup-width) * -1));
    -ms-transform: translateX(calc(var(--popup-width) * -1));
    transform: translateX(calc(var(--popup-width) * -1));
}

.variation-popup__close {
    position: absolute;
    width: var(--close-btn-size);
    height: var(--close-btn-size);
    cursor: pointer;
    left: calc(0px - (var(--close-btn-size) + 20px));
    top: 20px;
    background-color: var(--color-white);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 6px;
}

.variation-popup__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    position: relative;
    overflow-x: scroll;
    scrollbar-gutter: stable;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0;
}

.variation-popup__title {
    text-transform: capitalize;
    padding: 30px;
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
}

.variation-item {
    display: block;
}

.variation-item_empty {
    display: none;
}

.variation-item__header {
    padding: 20px 30px;
    display: none;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-top: 1px solid var(--color-grey);
    border-bottom: 1px solid var(--color-grey);
}

.variation-item__header.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.variation-item__price, .variation-item__pricenumber {
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    text-align: right;
    color: #777777;
}

.variation-item__price {
    display: none;
}

.variation-item__price.active {
    display: block;
}

.variation-item__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    text-align: left;
}

.variation-item__block {
    padding: 20px 30px;
}

.decorator {
    padding-bottom: 35px;
}

.decorator__empty {
    display: none;
}

.decorator__title {
    text-transform: capitalize;
    font-size: 17px;
    font-weight: 600;
    line-height: 18px;
    text-align: left;
    color: #3D2A2A;
}

.decorator__items {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 6px 0;
    gap: 6px;
}

.decorator__row {
    gap: 6px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.decorator__item {
    background-size: cover;
    width: 33px;
    height: 33px;
    border-radius: 6px;
    border: 2px solid #A8A8A8;
}

.decorator__item.selected {
    border: 2px solid #84C14F;
}

.decorator__count {
    position: relative;
    font-size: 16px;
    font-weight: 400;
    line-height: 14px;
    color: #000000;
}
.decorator__tooltip {
    position: absolute;
    right: -16px;
    top: -16px;
    width: 16.67px;
    height: 16.67px;
    background: url("assets/img/tooltip.svg") no-repeat;
    background-size: contain;
}
.decorator__tooltip-text {
    background-color: #191919;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    line-height: 14.63px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    text-transform: none;
    padding: 6px 7px;
    border-radius: 5px;
    width: 174px;
    position: absolute;
    top: -46px;
    left: -56px;
    z-index: 1;
    display: none;
    max-width: 174px;
}
.decorator__tooltip-text::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-width: 4px;
    border-style: solid;
    border-color: #191919 transparent transparent transparent;
    left: 60px;
    bottom: -8px;
}
.decorator__tooltip:hover .decorator__tooltip-text {
    display: block;
}

.decorator__choice {
    display: none;
    padding: 13px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 10px;
    gap: 10px;
    border: 1px solid #D9D9D9;
}

.decorator__choice.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.decorator__item, .decorator__count, .decorator__choice {
    cursor: pointer;
}

.decorator__image {
    flex-shrink: 0;
    border: 1px solid #D9D9D980;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-size: cover;
}

.decorator__subtitile, .decorator__subtitile * {
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    color: #777777;
    margin-bottom: 5px;
    text-align: left;
}

.decorator__name {
    text-transform: capitalize;
    font-size: 15px;
    font-weight: 700;
    line-height: 14px;
    text-align: left;
    color: #3D2A2A;
}

.variation-item__block {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
}

.variation-item__block_empty {
    display: none;
}

.variation-item__item {
    cursor: pointer;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 15px 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: calc(33% - 10px);
    height: 136px;
    border-radius: 10px;
    border: 1px solid #D9D9D980;
}

.variation-item__item-title {
    text-transform: capitalize;
    pointer-events: none;
    padding: 3px 6px;
    color: #000000;
    font-size: 11px;
    font-weight: 500;
    line-height: 14px;
    text-align: center;
    background: #fff;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .variation-popup {
        width: 90%;
        min-width: 320px;
    }

    .variation-popup__close {
        left: auto;
        right: 20px;
        top: 8px;
        z-index: 10;
    }

    .variation-item__item {
        height: 23vw;
        padding: 8px;
        width: calc(33% - 5px);
    }

    .variation-item__block {
        gap: 8px;
    }

    .variation-item__block, .variation-popup__title {
        padding: 20px;
    }

    .variation-item__item-title {
        font-size: 10px;
    }
}

.single-product.woocommerce div.product form.cart .variations {
    margin-bottom: 0;
}

.single-product .woocommerce-variation-price, .single-product .woocommerce-variation-description, .single-product .woocommerce-variation-availability {
    display: none !important;
}

.single-product .variations tr {
    margin-bottom: 15px;
}

.single-product .btn-prev, .single-product .btn-next {
    background: transparent;
}



@media (max-width: 1401px) {
    .single-product.woocommerce form.variations_form {
        max-width: 224px;
    }
}

@media (max-width: 1101px) {
    .single-product.woocommerce form.variations_form {
        max-width: 100%;
    }

    .single-product .cart_block, .single-product .yith_wapo_group_total, .single-product .digi-dolyame-button--wrapper {
        position: relative;
        top: 0 !important;
    }

    .single-product .tinvwl-before-add-to-cart {
        top: 0;
    }

    .single-product.woocommerce .summary .ywapo_group_container.form-row.form-row-wide {
        margin-bottom: 0;
    }

    .single-product .yith_wapo_group_total {
        margin-top: 30px;
    }
}

@media (max-width: 769px) {
    .single-product .yith_wapo_group_total, .single-product .digi-dolyame-button--wrapper, .single-product .cart_block, .product-adv {
        width: 100%;
    }
    .single-product .yith_wapo_group_total h4 {
        text-align: left;
    }
    .single-product .tinvwl-before-add-to-cart {
        position: relative;
        height: 0;
    }

    .single-product .cart_block {
        width: 100%;
    }

    .decorator {
        padding-bottom: 30px;
    }

    .single-product.woocommerce div.product form.cart .variations {
        margin-bottom: -10px;
    }

    .single-product .nickx-slider-for {
        margin-bottom: 7px;
    }

    .single-product .nickx-slider-for .nslick-list {
        margin: 0;
    }

    .single-product.woocommerce .woocommerce-breadcrumb, .woocommerce-page .site-main .woocommerce-breadcrumb {
        margin-left: 5px;
    }

    .single-product #nickx-gallery .nslick-slide {
        margin: 0 3.5px;
    }
}

/*
* Корзина и оформление заказа на одной странице
 */

form.checkout {
    display: flex;
    gap: 50px;
    flex-direction: column;
}
.woocommerce-checkout .woocommerce form .form-row input.input-text, .woocommerce-page form .form-row input, .woocommerce form .form-row select, .woocommerce-checkout .woocommerce-page form .form-row select {
    background-color: #fff!important;
    border: 1px solid #c4c4c4!important;
    border-radius: 4px!important;
    box-sizing: border-box;
    padding: 0 15px!important;
    min-height: 40px!important;
    transition: border-color .2s;
    font-weight: 400!important;
}

.custom-cart-section, .woocommerce #customer_details {
    margin-right: 0 !important;
    width: calc(100% - 380px) !important;
}
#order_review {
    position: absolute;
    top: 0;
    right: 0;
}

.woocommerce #order_review_heading, .woocommerce-page #order_review_heading, .woocommerce #order_review, .woocommerce-page #order_review {
    width: 330px !important;
}
.woocommerce div#order_review, .woocommerce-page div#order_review, .woocommerce-page table.shop_table, .woocommerce-page table.shop_table *  {
    height: fit-content;
    border: none!important;
    background-color: transparent!important;
}
.woocommerce-page table.shop_table {
    margin-bottom: 30px!important;
}
#order_review .order-total {
    display: flex;
    justify-content: space-between;
}
#order_review .order-total th, #order_review .order-total td bdi, #order_review .cart-discount * {
    font-weight: 500;
}
#order_review .order-total th {
    line-height: 2em;
    font-size: 25px;
}
#order_review .order-total td {
    font-size: 35px;
}
.woocommerce-privacy-policy-text {
    font-size: 12px;
}
.coupon-form input, .coupon-form button {
    border: 1px solid #c4c4c4!important;
    min-height: 42px!important;
    background: transparent!important;
    color: #767676!important;
}
.woocommerce-checkout .woocommerce form .coupon-form .form-row.woocommerce-validated input.input-text {
    border-color: #c4c4c4;
}
.woocommerce-checkout .woocommerce form .coupon-form .form-row.woocommerce-validated input.input-text:focus {
    border-color: #c4c4c4;
}


.page-id-9 {
    background: #f5f3f1;
}

.page-id-9 .entry-header {
    border: none;
}

.woocommerce-shipping-fields, .checkout .col-1, .woocommerce-additional-fields {
    background: #fff;
    padding: 30px 30px 40px;
    margin-top: 50px;
}
.checkout .col-1 {
    margin-top: 30px;
}

.woocommerce #customer_details .col-2, .woocommerce-page #customer_details .col-2 {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.discount {
    height: max-content;
    width: max-content;
}

.ui-G4iQB {
    display: grid;
    height: 28px;
    white-space: nowrap;
    width: max-content;
}

.ui-G4iQB .ui-A4pWG {
    stroke-width: 1px;
    overflow: visible;
    width: auto;
}

.ui-G4iQB .ui-A4pWG, .ui-G4iQB .ui-OQy8X {
    grid-column: 1/2;
    grid-row: 1/2;
    height: inherit;

}

.ui-G4iQB .ui-OQy8X {
    align-items: center;
    color: #c4c4c4 !important;
    font-size: 13px !important;
    border-radius: 2px .3125em .3125em 2px;
    display: flex;
    font-weight: 500;
    justify-content: center;
    margin-left: .2em;
    padding-left: .3em;
    padding-right: .3em;
}

.ui-PzkuZ .ui-OQy8X:before {
    content: "-";
    color: #c4c4c4;
}

.ui-PzkuZ .ui-OQy8X:after {
    content: "%";
    color: #c4c4c4;
}

.woocommerce ul.products li.product .price .ui-WATUm.ui-G4iQB .ui-OQy8X {
    border: none;
    font-size: 13px !important;
    color: #c4c4c4 !important;
}

.ui-5kIyv {
    color: #767676;
}

.ui-5kIyv.ui-G4iQB {
    fill: #fff;
    stroke: #c4c4c4;
}

/*! CSS Used from: https://hhw.servicecdn.ru/divan/node/website/1802.121eb1ab143b7587e56a.css */
.discount_bg {
    font-size: 13px;
}

@media (max-width: 1023px) {
    .discount_bg {
        grid-area: discount;
    }
}

.form-row.place-order, #ship-to-different-address, .actions {
    display: none !important;
}

.cart-item-related-products {
    display: flex;
}

.digi-dolyame-scheme__content {
    display: block !important;
}

.delivery-method-selector {
    --inner-padding: 5px;
    background: #f5f3f1;
    border-radius: 45px;
    display: flex;
    padding: var(--inner-padding);
    position: relative;
    box-sizing: border-box;
    font-weight: 500;
    min-width: 330px;
    white-space: nowrap;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 0 20px;
}
.woocommerce-checkout h3:not(.related-product-title) {
    margin-bottom: 40px;
    font-size: 22px;
    color: #000000;
}

.delivery-method-selector.large {
    --inner-padding: 5px;
}

.delivery-option {
    cursor: pointer;
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    padding: 5px;
    text-align: center;
    z-index: 1;
}

.delivery-option.active {
    border-radius: 45px;
    background: #fff;
}

.delivery-method-selector.large .delivery-option {
    padding: 5px;
}

.delivery-selector-container {
    bottom: var(--inner-padding);
    left: var(--inner-padding);
    position: absolute;
    right: var(--inner-padding);
    top: var(--inner-padding);
}

.delivery-selector-highlight {
    background: #fff;
    background: var(--color-white);
    border-radius: 45px;
    bottom: 0;
    position: absolute;
    top: 0;
    transition: all .2s ease-in-out;
}

.shipping_address {
    font-size: 0;
    display: flex;
    flex-direction: column;;
}

.shipping_address .form-row {
    order: 1;
}

.woocommerce div.shipping_address .form-row input{
    width: 50%
}

/* Shipping methods styling to match payment methods */
div.woocommerce ul#shipping_method
{
    margin-bottom: 10px;
    border: none;
}
.woocommerce-checkout #payment ul.wc_payment_methods.payment_methods {
    border-bottom: none;
    padding: 0;
}
.wt_coupon_wrapper  {
    display: none!important;
}

.woocommerce-shipping-methods::after,
.woocommerce-shipping-methods::before {
    content: " ";
    display: table;
}

.woocommerce-shipping-methods::after {
    clear: both;
}

.woocommerce-shipping-methods li {

    text-align: left;
    margin: 0;
    font-weight: 400;
    position: relative;
}

/* Hide default radio buttons */
.woocommerce-shipping-methods .shipping_method {
    display: none;
}

/* Custom radio button styling */
.woocommerce-shipping-methods label {
    font-size: 14px;
    line-height: 2em;
    margin-left: 35px;
    position: relative;
    cursor: pointer;
}

/* Outer circle */
.woocommerce-shipping-methods label:before {
    transition: all 0.2s;
    content: "";
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid #c4c4c4;
    border-radius: 50%;
    background-color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    justify-content: center;
}

/* Inner circle (unchecked state) */
.woocommerce-shipping-methods label:after {
    transition: all 0.2s;
    content: "";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    justify-content: center;
}

/* Checked state */
.woocommerce-shipping-methods .shipping_method:checked + label:before {
    background-color: #404040;
}

/* Hover state */
.woocommerce-shipping-methods .shipping_method:not(:checked) + label:hover:after {
    background-color: #767676;
}

.notice {
    margin-top: 60px;
    padding: 30px;
    border-radius: 15px;
    background: #9a975252;
}

/* General styling for the cart item */
.cart_item {
    background-color: #fff;
    position: relative;
    margin-bottom: 20px;
}

/* Top block styling */
.cart-item__top_block {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

/* Left block styling */
.cart-item__left_block {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.product-thumbnail {
    flex-shrink: 0;
    width: 142px;
    height: auto;
    object-fit: contain;
    margin-right: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-name {
    margin-top: 20px;
}

.product-name a {
    color: #000000 !important;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.variation {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-direction: column;
    font-size: 12px;
    color: #767676;
}

.variation.hidden {
    display: none;
}

.variation__wrap {
    display: flex;
}

.variation__wrap p {
    margin-bottom: 0;
}

.variation__wrap * {
    font-size: 14px;
}

.variation__wrap dt {
    font-weight: 500;
    color: #767676
}

.variation__wrap dd {
    color: #000000;
}

.variation dt, .variation dd {
    display: inline;
    margin: 0;
}

.variation dt:after {
    /*content: ":";*/
}

.variation dd {
    margin-left: 5px;
}

/* Right block styling */
.cart-item__right_block {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-direction: column;
}

.product-subtotal {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

.product-quantity {

}

.qib-container {
    display: flex;
    align-items: center;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
}
div.qib-container > *:not(:last-child):not(#qib_id):not(#qib_id) {
    margin: 0 !important;
}

.qib-container * {
    margin: 0 !important;
    border: none !Important;
}

.qib-button {
    background: transparent;
    border: 1px solid #c4c4c4;
    color: #767676;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 35px;
}

.qib-button:hover {
    border-color: #000;
    color: #000;
}

.quantity input.qty {
    width: 45px;
    height: 35px;
    text-align: center;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    margin: 0 5px;
    font-size: 15px;
}

.product-remove a {
    color: #767676;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    transition: all 0.2s;
}

.product-remove a:hover {
    border-color: #000;
    color: #000;
}

/* Bottom block styling */
.cart-item__bottom {
    border-top: 1px solid #f5f3f1;
    padding: 20px 30px;
}

.bottom__preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.bottom__title {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.bottom__preview-images {
    display: flex;
    gap: 10px;
    transition: all .3s ease;
}

.bottom__preview-images.hidden {
    opacity: 0;
    visibility: hidden;
}

.bottom__preview-images img {
    height: 54px;
    width: auto;
    border-radius: 5px;
}

.bottom__button {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.bottom__button-js {
    cursor: pointer;
}

.bottom__toggle {
    font-size: 14px;
    color: #767676;
    margin-right: 5px;
}
.bottom__toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom__toggle-icon svg {
    width: 12px;
    height: 12px;
}

/* Related products styling */
.bottom__content, .woocommerce-additional-fields h3:first-child, .woocommerce-shipping-fields, #billing_country {
    display: none; /* Initially hidden */
}

.bottom__content.is-open {
    display: block;
}

.bottom__content .related-product img {
    max-width: 210px;
    height: 150px;
    object-fit: contain;
}

.related-product-price .discount {
    display: none !important;
}

.related-product-price ins {
    background: none;
    margin-right: 10px;
}

.bottom__toggle-icon svg.rotated {
    transform: rotate(180deg);
}

.cart-item-related-products {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.cart-item-related-products::-webkit-scrollbar {
    display: none;
}

.related-product {
    flex: 0 0 calc(25% - 30px);
    display: flex;
    flex-direction: column;
}

.woocommerce .related-product a.add_to_cart_button {
    display: flex !important;
    margin-top: auto !important;
    background-color: transparent !important;
    border: 1px solid #c4c4c4 !important;
    padding: 0 20px !important;
    transition: all .2s !important;
    color: #000000 !important;
    width: 100% !important;
    margin-left: 0 !important;
    min-height: 42px !important;
    border-radius: 4px !important;
}

.woocommerce .related-product a.add_to_cart_button:hover {
    background: #f5f3f1 !important;
    border-color: #c4c4c4 !important;
    background-blend-mode: multiply !important;
}

.related-product-image {
    display: block;
    border-radius: 5px;
    margin-bottom: 10px;
}

.related-product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.related-product-title {
    font-size: 12px;
    color: #000;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.related-product-price {
    font-size: 12px;
    color: #767676;
    margin-bottom: 10px;
}

.related-product-price .amount {
    color: #000;
    font-weight: 500;
}

.button.add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #c4c4c4;
    color: #000;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 45px;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.button.add_to_cart_button:hover {
    background: #f5f3f1;
    border-color: #c4c4c4;
}

div.woocommerce form .form-row textarea.input-text, div.woocommerce-page form .form-row textarea.input-text {
    background-color: #fff;
}

div.woocommerce form .form-row-first, div.woocommerce form .form-row-last, div.woocommerce-page form .form-row-first, div.woocommerce-page form .form-row-last {
    width: calc(50% - 5px);
}
.woocommerce-checkout-review-order-table thead, .woocommerce-checkout-review-order-table tbody {
    display: none!important;
}
.woocommerce-checkout-review-order-table tfoot {
    display: flex;
    flex-direction: column-reverse;
    margin-left: -10px;
}
.notice {
    padding: 50px;
    border-radius: 30px;
    margin: 50px 0;
    font-style: normal;
    background-color: #b5b26024;
}
.more__wrap {
    display: flex;
    gap: 5px;
}

.more__wrap .attrs_more {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}
#order_review {
    width: 330px; /* Set your desired width */
}

#main {
    position: relative; /* Required for absolute positioning */
}

/* Optional: Prevent layout shifts */
html {
    scrollbar-gutter: stable;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .more__wrap .attrs_more {
        justify-content: flex-end;
        margin-bottom: 0;
    }

    .variation__wrap, .more__wrap {
        justify-content: flex-end;
    }

    .variation__wrap *, .more__wrap .attrs_more {
        font-size: 12px;
    }

    .notice {
        padding: 20px 15px;
        margin: 20px 0;
        border-radius: 0;
    }
    form.checkout {
        width: 100%;
        flex-direction: column;
        gap: 0;
    }

    .custom-cart-section, .woocommerce #customer_details {
        width: 100% !important;
    }

    .bottom__preview-images, .bottom__toggle, .product-meta {
        display: none !important;
    }

    .cart-item__bottom {
        padding: 15px;
    }

    .cart-item__top_block {
        flex-direction: column;
        padding: 40px 15px 25px;
    }

    .cart-item__right_block {
        margin-top: 5px;
        justify-content: space-between;
        width: 100%;
        gap: 0;
        flex-direction: row-reverse;
        flex-wrap: wrap;
    }

    .cart-item-related-products {
        gap: 25px;
        width: fit-content;
        overflow-x: visible;
    }

    .product-thumbnail {
        width: 30%;
        margin-right: 15px;
    }

    .product-name {
        margin-top: 10px;
    }

    .product-remove {
        position: absolute;
        right: 10px;
        top: 13px;
    }

    .product-remove svg {
        width: 16px;
    }

    .qib-container .quantity input.qty:not(#qib_id):not(#qib_id), .qib-button:not(#qib_id):not(#qib_id) {
        height: 27px !important;
        width: 28px !important;
    }

    .product-quantity {
        display: flex;
        width: 50%;
        justify-content: flex-start;
    }

    .product-subtotal {
        width: 50%;
        text-align: right;
    }

    .product-name {
        width: 100%;
        text-align: right;
    }

    .product-name a {
        font-size: 13px;
        font-weight: 500;
    }

    .related-product {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 8px;
        max-width: 60vw;
    }

    .related-product-content {
        flex: 1;
    }

    .bottom__content {
        overflow-x: scroll;
    }

    .bottom__content::-webkit-scrollbar {
        width: 6px;
        height: 6px; /* for horizontal scrollbars */
    }

    .bottom__content::-webkit-scrollbar-track {
        background: transparent;
        border-radius: 3px;
    }

    .bottom__content::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }

    .bottom__content::-webkit-scrollbar-thumb:hover {
        background: #666;
    }

    .woocommerce div.shipping_address .form-row input, div.woocommerce form .form-row-first, div.woocommerce form .form-row-last, div.woocommerce-page form .form-row-first, div.woocommerce-page form .form-row-last {
        width: 100%;
    }

    .woocommerce-checkout h3 {
        margin-bottom: 20px;
    }

    .woocommerce #order_review, .woocommerce-page #order_review {
        position: relative;
        width: 100% !important;
        padding: 20px 15px !important;
    }

    .woocommerce-shipping-fields, .woocommerce-additional-fields {
        margin-top: 40px;
    }

    .woocommerce-shipping-fields, .checkout .col-1, .woocommerce-additional-fields {
        padding: 20px 15px;
    }

    .page-id-9 #page > .container-xl {
        padding: 0;
        margin-top: 120px;
    }

    .checkout .col-1 {
        margin-top: 20px;
    }


    .delivery-method-selector {
        min-width: 100%;
    }
    .woocommerce-shipping-methods label:before, .woocommerce-shipping-methods label:after {
        transform: none;
        top: 0;
    }
    .woocommerce-shipping-methods label:after {
        top: 5px;
    }

    .woocommerce-shipping-methods label:before, .payment_methods .wc_payment_method > label:before{
        left: -30px!important;
    }

    .woocommerce-shipping-methods label:after, .payment_methods .wc_payment_method > label:after {
        left: -25px!important;
    }

    div.woocommerce .coupon-form .form-row-first {
        width: 60%;
    }

    div.woocommerce .coupon-form .form-row-last {
        width: 38%;
    }

    div.woocommerce .coupon-form .form-row-first input {
        width: 100%;
    }

    .woocommerce-page table.shop_table {
        margin-bottom: 10px !important;
    }

    .woocommerce-shipping-methods label, .payment_methods .wc_payment_method > label {
        font-size: 13px;
        margin-left: 30px!important;
    }
}
.woocommerce-terms-and-conditions-wrapper {
    margin-top: 10px;
}

.qib-container .quantity input.qty:not(#qib_id):not(#qib_id), .qib-button:not(#qib_id):not(#qib_id) {
    height: 33px !important;
    width: 33px !important;
}

div.woocommerce a.remove:hover {
    background: none;
    color: inherit;
}

.remove svg {
    color: #000000;
}
.custom-submit-order {
    margin: 25px 0;
    align-items: center;
    width: 100%;
    background: #404040;
    border: 1px solid #404040;
    border-radius: 4px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 500;
    height: 50px;
    justify-content: center;
    line-height: 1.5;
    outline: none;
    padding: 0 20px;
    transition: all .2s;
}

.custom-submit-order {
    margin: 0;
}

 .custom-submit-order:hover {
    color: #fff;
    background: #000000;
}

/* Корзина и оформление заказа*/

.woocommerce-checkout .woocommerce form .form-row input.input-text, .woocommerce-page form .form-row input, .woocommerce form .form-row select, .woocommerce-checkout .woocommerce-page form .form-row select {
    background: #fff;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 0 15px;
    min-height: 40px;
    transition: border-color .2s;
    font-weight: 400;
}
.woocommerce-checkout .required, .woocommerce-notices-wrapper {
    display: none!important;
}
.woocommerce-checkout .woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce-checkout .woocommerce form .form-row.woocommerce-invalid select {
    border-color: var(--wc-red);
}
.woocommerce-checkout .woocommerce form .form-row.woocommerce-validated input.input-text,.woocommerce-checkout .woocommerce form .form-row.woocommerce-validated select {
    border-color: var(--wc-green);
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: none;
}
#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
    content: none;
}
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #c4c4c4;
}
.payment_methods .wc_payment_method >  input {
    display: none;
}
.payment_methods .wc_payment_method >  label {
    margin-left: 35px;
    position: relative;
}
.payment_methods .wc_payment_method >  label:before {
    transition: all .2s;
    content: "";
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid #c4c4c4;
    border-radius: 50%;
    background-color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    display: flex
;
    justify-content: center;
}
.payment_methods .wc_payment_method >  label:after {
    transition: all .2s;
    content: "";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    display: flex
;
    justify-content: center;
}
.payment_methods .wc_payment_method >  input:checked+label:before {
    background-color: #404040;
}
.payment_methods .wc_payment_method >  input:not(:checked)+label:hover:after {
    background-color: #767676;
}

.input-radio-group .radio {
    position: relative;
    display: block;
    cursor: pointer;
    margin-left: 35px;
}

.site-footer-widgets .widget ul li a, .site-footer-widgets .widget ul li a strong {
    color: #cccccc;
}

.product__dimension, .product__dimension * {
    color: #767676;
    font-size: 12px;
    line-height: 1.2em;
    margin-top: 10px;
    text-align: center;
}

.woocommerce ul.products li.product h3, .woocommerce-page ul.products li.product h3, .woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title
{
    height: auto!important;
    min-height: 0!important;
}
.woocommerce ul.products, .woocommerce-page ul.products {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
}
div.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
    margin: 0!important;
    padding: 20px;
    width: calc(25% - 16px) !important;
}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
    content: none!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title h2 {
    text-transform: uppercase;
    font-size: 16px;
}
@media screen and (max-width: 767px) {
    .product__dimension {
        font-size: 8px;
    }
    .woocommerce ul.products, .woocommerce-page ul.products {
        gap: 10px;
    }
    div.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        padding: 10px;
        width: calc(50% - 7px)!important;
    }
    .woocommerce ul.products li.product .woocommerce-loop-product__title h2 {
        font-size: 14px;
    }
}


