/*
Theme Name: Kadence Child
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
*/

.home-hero-slider {
    position: relative;
    overflow: hidden;
}

.home-hero-slider .swiper-slide {
    height: auto;
}

.hero-slide {
    position: relative;
    height: 460px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-slide__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide__bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-slide__content {
    position: relative;
    z-index: 3;
    max-width: 1150px;
    width: 100%;
}

.hero-slide__title {
    margin: 0 0 18px;
    font-size: 60px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    color: #222;
    max-width: 680px;
}

.hero-slide__title span {
    display: inline-block;
    font-size: 0.5em;
    line-height: 1.4;
}

.hero-slide__content .button.kb-button {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 18px 35px !important;
}

.home-hero-slider__nav {
    position: absolute;
    left: 70px;
    bottom: 26px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-hero-slider__prev,
.home-hero-slider__next {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    position: relative;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.home-hero-slider__prev:hover,
.home-hero-slider__next:hover {
    background: #fff;
    border-color: rgba(0, 95, 174, 0.4);
}

.home-hero-slider__prev::before,
.home-hero-slider__next::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid #222;
    border-right: 2px solid #222;
    position: absolute;
    top: 50%;
    left: 50%;
}

/* .home-hero-slider__prev:hover::before,
.home-hero-slider__next:hover::before {
     border-top: 2px solid #fff;
    border-right: 2px solid #fff;
} */


.home-hero-slider__prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.home-hero-slider__next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

/* .home-hero-slider__pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-hero-slider__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.22);
    opacity: 1;
}

.home-hero-slider__pagination .swiper-pagination-bullet-active {
    background: #005fae;
} */

@media (max-width: 1199px) {

    .home-hero-slider__nav {
        left: 40px;
    }

    /* .hero-slide__bg img {
        object-position: 80% center;
    } */
}

@media (max-width: 991px) {

    .hero-slide__content {
        max-width: 100%;
    }

    .hero-slide__title {
        font-size: 34px;
        max-width: 60%;
    }


    .home-hero-slider__nav {
        left: 24px;
        bottom: 8px;
    }
}

@media (max-width: 767px) {
    .hero-slide {
        height: 400px;
        align-items: flex-end;
        padding: 0 20px 55px;
    }

    .hero-slide__title {
        font-size: 30px;
        max-width: 100%;
    }

    .home-hero-slider__nav {
        left: 18px;
        gap: 10px;
    }

    .home-hero-slider__prev,
    .home-hero-slider__next {
        width: 38px;
        height: 38px;
    }

    .hero-slide__content .button.kb-button {
        padding: 10px 35px !important;
    }
}



.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-price {
    margin: 0;
    display: none;
}

.wc-block-grid__product .wc-block-grid__product-title,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .product-details .woocommerce-loop-product__title,
.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title {
    font-size: 16px;
    padding-top: 0;
    font-weight: 700;
}

.woocommerce ul.products li.product .product-details .woocommerce-loop-product__title {
    margin-bottom: 0;
}

.wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title,
.wc-block-grid__product .wc-block-grid__product-title {
    margin-bottom: 5px;
}

.woocommerce ul.products li.product,
.prod-home li.wc-block-grid__product.product-loop-boxed {
    border: 2px solid #EDF2F7 !important;
}

.woocommerce ul.products li.product:hover,
.prod-home li.wc-block-grid__product.product-loop-boxed:hover {
    border: 2px solid #0661a2 !important;
}

.woocommerce ul.products li.product:hover .product-details.content-bg.entry-content-wrap,
.prod-home li.wc-block-grid__product.product-loop-boxed:hover .product-details.content-bg.entry-content-wrap {
    background-color: #EDF2F7 !important;
}

.woocommerce-LoopProduct-link-title.woocommerce-loop-product__title_ink,
.prod-home .wc-block-grid__product-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metaslider .flexslider .flex-next:focus,
.metaslider .flexslider .flex-prev:focus {
    outline: -none !important;
}

#metaslider-id-1946 .flexslider .flex-direction-nav li a:focus {
    outline: none !important;
}

.summary.entry-summary .price {
    display: none;
}

.summary.entry-summary .product_title.entry-title {
    margin-bottom: 40px;
}

.shop-wrap {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

ul.custom-product-categories {
    list-style: none;
    padding-left: 0;
    margin: 0;
    width: 280px;
    border: 1px solid #eee;
    background-color: #fff;
    flex-shrink: 0;
}

.custom-product-categories li {
    border-bottom: 1px solid #eee;
}

.custom-product-categories li a {
    color: #222;
    display: block;
    padding: 10px 24px;
    font-size: 16px;
    text-decoration: none;
    /* background-color: #fff; */
}

.custom-product-categories li a:hover {
    color: #215387;
    background-color: #EDF2F7;
}

.custom-product-categories li.current-cat>a {
    font-weight: 700;
    color: #0661a2;
    background-color: #EDF2F7;
}

.custom-product-categories li.current-cat-parent>a {
    font-weight: 700;
    /* color: #0661a2; */
}

ul.custom-product-categories ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    /* display: none; */
    border-top: 1px solid #eee;
}

ul.custom-product-categories .current-cat-parent {
    background-color: #fafafa;
}

/* ul.custom-product-categories .current-cat-parent ul.children,
ul.custom-product-categories .current-cat ul.children {
    display: flex;
    flex-direction: column;
} */

ul.custom-product-categories ul.children li a {
    padding-left: 40px;
}

.woocommerce ul.products .product_type_simple.add_to_cart_button.ajax_add_to_cart,
.wc-block-grid__products .wp-block-button__link.add_to_cart_button.ajax_add_to_cart {
    text-transform: uppercase;
    font-size: 15px;
}

.woocommerce-loop-category__title .count {
    display: none !important;
}

/***/


.custom-product-categories>li,
.custom-product-categories .children>li {
    position: relative;
}

.custom-product-categories .children {
    display: none;
}

.custom-product-categories li.is-open>.children {
    display: block;
}

.custom-product-categories .children a {
    padding-left: 40px;
    font-size: 15px;
}

.custom-product-categories .cat-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 37px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

.custom-product-categories .cat-toggle span {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto;
}

.custom-product-categories .cat-toggle span::before,
.custom-product-categories .cat-toggle span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #888888;
    transform: translate(-50%, -50%);
    transition: transform .2s ease, opacity .2s ease;
}

.custom-product-categories .cat-toggle:hover span::before,
.custom-product-categories .cat-toggle:hover span::after {
    background: #0661a2;
}

.custom-product-categories .cat-toggle span::before {
    width: 14px;
    height: 2px;
}

.custom-product-categories .cat-toggle span::after {
    width: 2px;
    height: 14px;
}

.custom-product-categories li.is-open>.cat-toggle span::after {
    opacity: 0;
}

.custom-product-categories li.has-children>a {
    padding-right: 44px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    background-color: #fff;
}




/****/
.woocommerce ul.products li.product.product-category .entry-content-wrap {
    padding: 0.5rem 5px;
    text-align: center;
}

.woocommerce ul.products li.product.product-category .product-details .woocommerce-loop-category__title {
    font-weight: 500;
    margin-bottom: 0;
    text-transform: uppercase;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers {
    background: #fff;
}

.product-details.content-bg.entry-content-wrap {
    border-top: 2px solid #EDF2F7;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {

    background-color: #EDF2F7 !important;
}



/* Общие цены */
.price,
.woocommerce-Price-amount,
.amount {
    display: none !important;
}

/* Корзина */
.woocommerce-cart table.shop_table th.product-price,
.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table th.product-subtotal,
.woocommerce-cart table.shop_table td.product-subtotal {
    display: none !important;
}

/* Блок итогов корзины */
.cart-summary h2,
.cart_totals table tr th,
.cart_totals table tr td,
.cart_totals h2 {
    display: none !important;
}

/* Checkout */
.checkout.woocommerce-checkout h3,
.woocommerce-billing-fields h3,
.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout-review-order-table td.product-total,
.woocommerce-checkout-review-order-table tfoot {
    display: none !important;
}

/* Thank you / Order details */
.woocommerce-order .woocommerce-customer-details h2.woocommerce-column__title,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-details table.shop_table tfoot,
.woocommerce-table--order-details tfoot,
.woocommerce-order-overview__total,
.woocommerce-order-overview__subtotal {
    display: none !important;
}

/* Emails: если где-то приходит классами */
td.td[style*="text-align:right"],
th.td[style*="text-align:right"] {
    display: none;
}

.woocommerce-cart .cart-collaterals .cart_totals table {
    display: none;
}

#payment ul.wc_payment_methods li.wc_payment_method input[type=radio]:first-child:checked+label {
    background: #defbbc;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers {
    margin-bottom: .5em;
}

.woocommerce ul.products li.product a img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}



body.single-product .related.products .content-bg {
    background: #fff;
}


.woocommerce .related.products {
    padding-top: 40px;
}

#tab-description,
.woocommerce-Tabs-panel h2 {
    display: none !important;
}

/* .pars-special-cat .kadence-breadcrumbs {
	display: none !important;
} */
.woocommerce table.shop_attributes,
.woocommerce div.product .woocommerce-tabs {
    border: none !important;
}


.max-mes {
    display: block;
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 40px;
    height: 40px;
    z-index: 50;
}

.max-mes img {
    transition: opacity 0.3s ease-in-out;
}

.max-mes:hover img {
    opacity: 0.8;
}


.product-sku {
    font-size: 14px;
    margin-bottom: 5px;
}

a.kb-adv-form-error-link {
    color: #fff !important;
}


.product-attributes-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    /* border-bottom: 1px solid #d9d9d9;
	padding-bottom: 12px; */
}

.product-attributes-tabs__button {
    padding: 10px 16px;
    border: 1px solid #d9d9d9;
    background-color: #EDF2F7;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.3;
    color: #222;
    transition: all .2s ease;
}




.product-attributes-tabs__button:hover {
    border-color: #0661a2;
}

.product-attributes-tabs__button.is-active {
    background-color: #0661a2;
    border-color: #0661a2;
    color: #fff;

}

.product-attributes-tabs__panel-inner {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.product-attributes-tabs__panel-inner p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .product-attributes-tabs__nav {
        gap: 8px;
    }

    .product-attributes-tabs__button {
        width: 100%;
        text-align: left;
    }
}


.product-attributes-tabs__panel:nth-child(4),
.product-attributes-tabs__panel:nth-child(5),
.product-attributes-tabs__panel:nth-child(6),
.product-attributes-tabs__panel:nth-child(7),
.product-attributes-tabs__button:nth-child(4),
.product-attributes-tabs__button:nth-child(5),
.product-attributes-tabs__button:nth-child(6),
.product-attributes-tabs__button:nth-child(7),
body:not(.pars-special-cat) .woocommerce-tabs,
.single-product .woocommerce-tabs .tabs.wc-tabs {
    display: none !important;
}


.site-main-header-wrap .site-header-row-container-inner {
    border-bottom: 1px solid rgb(237 242 247);
}

.spec-posts .loop-entry .entry-header .entry-meta {
    margin: 0;
}

.wp-site-blocks .post-thumbnail img {
    transition: transform 0.3s ease-in-out;
}

.wp-site-blocks .post-thumbnail:hover img {
    transform: scale(1.05);
}

@media screen and (min-width: 1025px) {

    .kadence-woo-cart-form-wrap>form,
    .kadence-woo-cart-form-wrap .cart-collaterals {
        float: none !important;
    }
}

@media (min-width: 768px) {

    .trigger-cats {
        display: none;
    }

}

@media (max-width: 1200px) {
    .metaslider.ms-theme-databold .flexslider .caption-wrap .caption p {
        margin: 0 0 10px !important;
        font-size: 14px;
        line-height: 1.3;
    }

    .metaslider.ms-theme-databold .flexslider .caption-wrap .caption p:last-child {
        margin: 0 !important;
    }

    .shop-wrap {
        gap: 20px;
    }

    .shop-wrap .grid-cols {
        gap: 24px;
    }


}

@media (max-width: 1023px) {

    .metaslider.ms-theme-databold .flexslider .caption-wrap .caption {
        padding: 20px !important;
        width: 60% !important;
    }

    ul.custom-product-categories {
        width: 230px;
    }
}


@media (max-width: 767px) {
    .metaslider.ms-theme-databold .flexslider .caption-wrap .caption {
        width: 100% !important;
        top: auto !important;
        left: 0 !important;
        transform: none !important;
        position: relative !important;
    }

    .metaslider.ms-theme-databold .flexslider .caption-wrap {
        height: auto !important;
        position: relative !important;
    }

    .site-title-wrap {
        display: none !important;
    }

    .shop-wrap {
        flex-direction: column;
    }

    ul.custom-product-categories {
        width: 100%;
        display: none;
    }

    .custom-product-categories.is-open {
        display: block;
    }

    .trigger-cats {
        text-transform: uppercase;
        color: #fd4400;
        display: flex;
        gap: 10px;
        align-items: center;
        cursor: pointer;
        line-height: 24px;
    }

    .trigger-cats:hover {
        color: #222;
    }

    .trigger-cats span {
        display: none;
    }

    .trigger-cats.is-open span {
        display: block;
    }

    .woocommerce ul.products li.product.product-category .product-details .woocommerce-loop-category__title {
        font-size: 14px;
    }

    .woocommerce ul.products li.product .entry-content-wrap,
    #wrapper .wc-block-grid .wc-block-grid__products .product-loop-boxed .entry-content-wrap,
    #wrapper .wc-block-grid .wc-block-grid__products .woo-archive-action-on-hover .entry-content-wrap,
    .woocommerce .shop-wrap ul.products li.product .entry-content-wrap {
        padding: 0.5rem 6px .5rem !important;
        margin: 0 !important;
    }

    .wc-block-grid__product .wc-block-grid__product-title,
    .woocommerce ul.products li.product h3,
    .woocommerce ul.products li.product .product-details .woocommerce-loop-product__title,
    .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title {
        font-size: 14px;
        font-weight: 400;
    }

    .woocommerce ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap,
    .woocommerce ul.products.woo-archive-action-on-hover li.product:focus-within .entry-content-wrap {
        transform: translateY(-1.5rem) !important;
    }

    .woocommerce ul.products.woo-archive-action-on-hover li.product:hover .product-action-wrap,
    .woocommerce ul.products.woo-archive-action-on-hover li.product:focus-within .product-action-wrap {
        bottom: -1.1rem !important;
    }

    .woocommerce a.added_to_cart {
        line-height: 1;
        letter-spacing: 0;
    }

    .woocommerce ul.products .product_type_simple.add_to_cart_button.ajax_add_to_cart,
    .wc-block-grid__products .wp-block-button__link.add_to_cart_button.ajax_add_to_cart {
        font-size: 14px;
        white-space: nowrap;
    }

    .wp-site-blocks .entry-hero h1.page-title {
        font-size: 28px;
    }

    .woocommerce table.shop_attributes th {
        width: 50px !important;
        line-height: 1 !important;
        font-size: 14px;
        text-orientation: upright;
        writing-mode: vertical-lr;
        letter-spacing: -1.5px;
        vertical-align: top;
        text-align: left;
        font-weight: 400 !important;
    }

    .woocommerce table.shop_attributes {
        font-size: 16px;
    }

    .woocommerce table.shop_attributes td {
        vertical-align: top;
    }

    .max-mes {
        bottom: 60px;
        right: 20px;
    }

    .product-sku {
        font-size: 13px;
    }


}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    max-width: 520px;
    margin-left: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: #1f1f1f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.cookie-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
}

.cookie-banner__actions {
    display: flex;
    justify-content: flex-start;
}

.cookie-banner__btn {
    cursor: pointer;
    user-select: none;
    display: inline-block;
    background-color: #fff;
    color: #222;
    padding: 8px 24px;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 14px;
}
.cookie-banner__btn:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .cookie-banner__inner {
        padding: 16px;
        border-radius: 14px;
    }

    .cookie-banner__text {
        font-size: 13px;
    }

}

.search-results article .entry-summary {
    display: none!important;
}
.woocommerce div.product div.images.woocommerce-product-gallery {
    height: auto !important;
}