/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */






/* Общая подложка */
#delivery_on_field .woocommerce-input-wrapper {
    display: flex;
    align-items: center;

    width: 100%;

    padding: 4px;

    box-sizing: border-box;

    background: #515151;
    border-radius: 15px;

    gap: 0;
}

/* Скрываем стандартные radio */
#delivery_on_field input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Каждый вариант */
#delivery_on_field input[type="radio"] + label {
    position: relative;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 50%;
    min-height: 55px;

    margin: 0 !important;
    padding: 10px 15px;

    box-sizing: border-box;

    border: none !important;
    border-radius: 15px;

    background: transparent;

    color: #111;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

/* Активный вариант */
#delivery_on_field input[type="radio"]:checked + label {
    background: #f26b31;

    color: #fff;

    box-shadow: 0 1px 5px rgba(0, 0, 0, .08);
}

/* Hover */
#delivery_on_field input[type="radio"] + label:hover {
    color: #ff6b4a;
}

/* Полностью убираем иконки */
#delivery_on_field input[type="radio"] + label::before {
    display: none !important;
    content: none !important;
}

/* Заголовок поля */
#delivery_on_field > label::before {
    display: none !important;
    content: none !important;
}

#delivery_on_field > label {
    padding-left: 0 !important;
}


/* ================================
   СПОСОБЫ ОПЛАТЫ
================================ */

/* Общая подложка */
#payment_on_field .woocommerce-input-wrapper {
    display: flex;
    align-items: center;

    width: 100%;

    padding: 4px;

    box-sizing: border-box;

    background: #515151;
    border-radius: 15px;

    gap: 0;
}

/* Скрываем стандартные radio */
#payment_on_field input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Варианты оплаты */
#payment_on_field input[type="radio"] + label {
    position: relative;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 50%;
    min-height: 55px;

    margin: 0 !important;
    padding: 10px 15px;

    box-sizing: border-box;

    border: none !important;
    border-radius: 13px;

    background: transparent;

    color: #111;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

/* Активная кнопка */
#payment_on_field input[type="radio"]:checked + label {
    background: #f26b31;

    color: #fff;

    box-shadow: 0 1px 5px rgba(0, 0, 0, .08);
}

/* Hover */
#payment_on_field input[type="radio"] + label:hover {
    color: #ff6b4a;
}

/* Убираем возможные иконки */
#payment_on_field input[type="radio"] + label::before {
    display: none !important;
    content: none !important;
}

/* Убираем иконку у заголовка */
#payment_on_field > label::before {
    display: none !important;
    content: none !important;
}

#payment_on_field > label {
    padding-left: 0 !important;
}



/*Slider*/

.slider-gradient {
    position: relative;
}

.slider-gradient::before,
.slider-gradient::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 360px;
    z-index: 5;
    pointer-events: none;
}

.slider-gradient::before {
    left: 0;
    background: linear-gradient(
        to right,
        #222222 0%,
        rgba(34, 34, 34, 0.95) 15%,
        rgba(34, 34, 34, 0.75) 35%,
        rgba(34, 34, 34, 0.45) 60%,
        rgba(34, 34, 34, 0) 100%
    );
}

.slider-gradient::after {
    right: 0;
    background: linear-gradient(
        to left,
        #222222 0%,
        rgba(34, 34, 34, 0.95) 15%,
        rgba(34, 34, 34, 0.75) 35%,
        rgba(34, 34, 34, 0.45) 60%,
        rgba(34, 34, 34, 0) 100%
    );
}

.swiper-slide  > .e-con img{
    border-radius: 30px;
}

.elementor-swiper-button-prev,
.elementor-swiper-button-next {
    z-index: 6 !important;
}

.buttom-div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.mrg-btn-cart{
    margin: 10px 20px !important;
}

.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price {
   
    margin-bottom: 5px;
   }


.product_weight{
    color: #727272;
    font-size: 14px;
}   


.product_loop_description{
    color: #727272;
}


.woocommerce .woocommerce-ordering select {
    vertical-align: top;
    padding: .5em;
    background: #222;
    color: #fff;
    border-radius: 20px;
}

.gm-navigation-drawer .gm-menu-item__icon {
    
    width: 30px;
}


.product_pices{
    position: absolute;
    background: #e1a854d1;
    padding: 3px 10px;
   
    top: 10px;
    left: 10px;
    color: #222;
    border-radius: 30px;
    font-weight: 600;
    -webkit-box-shadow: 0px 0px 18px 4px rgb(2 2 2);
    -moz-box-shadow: 0px 0px 18px 4px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 18px 4px rgb(0 0 0 / 36%);
}

.remove-icon {
    padding: 5px;
    padding-top: 0; 
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-right: 5px;
}





.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table .cart_item td.product-name {
    max-width: 100% !important;
    padding-inline-end: 20px;
}


.woocommerce-checkout-review-order-table .product-name {
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.woocommerce-checkout-review-order-table .product-name .ts-product-image {
    flex: 0 0 64px;
    width: 64px;
}

.woocommerce-checkout-review-order-table .product-name .ts-product-image img {
    display: block;
    width: 64px;
    height: 50px;
    object-fit: cover;
     border-radius: 10px;
}

.woocommerce-checkout-review-order-table .product-name .product-quantity {
    margin-left: auto !important;
    flex: 0 0 auto;
    white-space: nowrap;
}

.woocommerce-page.woocommerce-checkout #payment #place_order, .woocommerce.woocommerce-checkout #payment #place_order {
    width: 100%;
    background-color: #F26B31;
    border-color: #F26B31;
    border-radius: 100px;
    padding: 20px;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tbody td .product-quantity {
    font-weight: 400;
    background: #585858;
    padding: 2px 5px;
    border-radius: 5px;
}


.woocommerce #respond input#submit.added::after, .woocommerce a.button.added::after, .woocommerce button.button.added::after, .woocommerce input.button.added::after {
  content: none;
}


.woocommerce #respond input#submit.loading::after, .woocommerce a.button.loading::after, .woocommerce button.button.loading::after, .woocommerce input.button.loading::after{
   content: '';
   
}


#ast-quick-view-content div.product{
    background: #222;
}

.gm-navbar #gm-main-menu {
    flex: 1 100%;
    margin-top: 70px;
}

.dostavka span{
color: #F26B31;
}

.product-title {
    min-height: 50px !important;
}

.prod_pices{
    line-height: 16px;
}

.loop-add-to-cart {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #f26b31 !important;
}

.loop-add-to-cart.loading,
.loop-add-to-cart.added.loading {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px;
}

.loop-add-to-cart.xt_atc-loading {
  
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


.elementor-widget-woocommerce-product-price p{
    margin-bottom: 0px !important;
}

.mobile-cart-bar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(30px);
    transition:
        opacity .35s ease,
        transform .35s cubic-bezier(.22, 1, .36, 1),
        visibility .35s;
}

.mobile-cart-bar.cart-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@keyframes floating-cart-shake {
    0%, 100% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-4px);
    }

    30% {
        transform: translateX(4px);
    }

    45% {
        transform: translateX(-3px);
    }

    60% {
        transform: translateX(3px);
    }

    75% {
        transform: translateX(-2px);
    }

    90% {
        transform: translateX(1px);
    }
}


.open-floating-cart:hover{
    cursor: pointer;
}


.open-floating-cart.cart-shake {
    animation: floating-cart-shake 0.5s ease-in-out;
}


.cpel-switcher__code::before {
    content: "";
    width: 23px;
    height: 23px;
    display: inline-block;
    background: url("/wp-content/uploads/2021/04/language.svg") center / contain no-repeat;
     margin-right: 5px;
}

.cpel-switcher__code{
    display: flex !important;
}


/*Popup cart*/


.xt_woofc-squared-thumbnail .xt_woofc-product-image {
    height: auto !important;
}

.xt_woofc-price{
    flex: 0 0 25% !important;
    justify-content: flex-end !important;

}

.woocommerce div.product div.images img {
  
    border-radius: 15px;
}


.xt_woofc-no-product a {
    
    border: 2px solid #F26B31 !important;
    color: #ffffff !important;
    border-radius: 100px !important;
    background: #F26B31 !important;
    text-transform: uppercase !important;
}

.xtfw-no-touchevents .xt_woofc-no-product a:hover, .xtfw-no-touchevents .xt_woofc-no-product a:focus{
   background: #e35214 !important;
}



/*PlusMinusProduct*/

/* ===== Two Sticks quantity ===== */

.two-sticks-quantity {
    display: inline-flex !important;
    align-items: center;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid #555;
    border-radius: 7px;
    overflow: hidden;
    background: #292929;
    border: none;
}

.two-sticks-quantity .quantity-minus,
.two-sticks-quantity .quantity-plus {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;

    color: #fff !important;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
    transition: background-color .2s ease;
    border-radius: 6px !important;
    background: #2f2f2f !important;
}

.two-sticks-quantity .quantity-minus:hover,
.two-sticks-quantity .quantity-plus:hover {
    background: #ff6b2c !important;
}

.two-sticks-quantity input.qty {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;

    background: transparent !important;
    color: #fff !important;

    font-size: 16px !important;
    font-weight: 500;
    text-align: center !important;

    -moz-appearance: textfield;
}

.two-sticks-quantity input.qty::-webkit-inner-spin-button,
.two-sticks-quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* ===== Mobile ===== */

@media (max-width: 767px) {

    .two-sticks-quantity {
        height: 42px;
    }

    .two-sticks-quantity .quantity-minus,
    .two-sticks-quantity .quantity-plus {
        width: 40px;
        height: 40px;
    }

    .two-sticks-quantity input.qty {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
    }
}

/* Pagination */
.elementor-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 35px;
}

/* Все кнопки */
.elementor-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    width: 50px;
    height: 50px;

    padding: 0;
    margin: 0;

    border: 1px solid #ffffff;
    background: transparent;

    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;

    box-sizing: border-box;

    transition: all 0.2s ease;
}

/* Активная страница */
.elementor-pagination .page-numbers.current {
    background: #ff6b2c;
    border-color: #ff6b2c;
    color: #ffffff;
}

/* Hover */
.elementor-pagination .page-numbers:not(.current):hover {
    background: #ff6b2c;
    border-color: #ff6b2c;
    color: #ffffff;
}

/* Убираем текст "Page" для screen reader */
.elementor-pagination .elementor-screen-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Мобильная версия */
@media (max-width: 767px) {
    .elementor-pagination {
        gap: 5px;
        margin-top: 25px;
    }

    .elementor-pagination .page-numbers {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }
}


.popup-scroll {
    
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}


.menu-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
     /* Плавная прокрутка */
    scroll-behavior: smooth;

    /* Нормальный свайп на телефонах */
    touch-action: pan-x;

    /* iOS */
    -webkit-overflow-scrolling: touch;



    /* Firefox */
    scrollbar-width: thin !important;
    scrollbar-color: rgb(45 45 45 / 45%) transparent;
}



.menu-scroll > .e-con {
    flex-shrink: 0 !important;
}

/* Стрелка */
.menu-scroll-arrow {
    position: fixed;
    z-index: 999;
border-radius: 0px;
    width: 40px;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 28px;
    font-weight: 400;

   background: linear-gradient(to right, rgba(45, 45, 45, 0), rgb(34 34 34));

    border: 0;
    padding: 0 0 5px 0;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transition: opacity .25s ease;
}

.menu-scroll-arrow.is-visible {
    opacity: 1;
    visibility: visible;
    animation: menuScrollHint 1.5s ease-in-out 2;
}

.menu-scroll-arrow:hover {
   background: linear-gradient(to right, rgba(45, 45, 45, 0), rgb(34 34 34));
    background-color: none;
}


@keyframes menuScrollHint {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}




/* =========================================
   CITY SWITCHER
   ========================================= */

.city-switcher {
    position: relative;
    cursor: pointer;
}


/* Весь контент блока */

.city-switcher .elementor-icon-box-wrapper {
    cursor: pointer;
}


/* Название города */

.city-switcher .elementor-icon-box-title {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
}


/* Если внутри всё-таки осталась ссылка */
.city-switcher .elementor-icon-box-title a {
    text-decoration: none !important;
    color: inherit;
}


/* =========================================
   СТРЕЛКА
   ========================================= */

.city-switcher .elementor-icon-box-title::after {
    content: "";

    display: inline-block;

    width: 9px;
    height: 9px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: rotate(45deg);

    margin-top: -5px;

    transition: transform 0.25s ease;
}


/* Стрелка вверх */

.city-switcher.city-open
.elementor-icon-box-title::after {
    transform: rotate(225deg);
    margin-top: 5px;
}


/* =========================================
   DROPDOWN
   ========================================= */

.city-dropdown {
    position: fixed;

    z-index: 999999;

    width: 180px;

    background: #2f2f2f;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.2);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}


/* Открыто */

.city-dropdown.city-dropdown-open {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* =========================================
   ГОРОД В DROPDOWN
   ========================================= */

.city-dropdown__item {
    display: flex;

    align-items: center;

    width: 100%;
    min-height: 74px;

    padding: 0 34px;

    box-sizing: border-box;

    color: #fff !important;

    font-size: 17px;
    font-weight: 600;

    text-decoration: none !important;

    cursor: pointer;

    transition:
        background 0.2s ease;
}


.city-dropdown__item:hover {
    background: #F26B31;
}


/* Иконка */

.city-dropdown__icon {
    width: 23px;
    height: 23px;

    margin-right: 12px;

    flex-shrink: 0;
}


.city-dropdown__icon svg {
    width: 100%;
    height: 100%;

    display: block;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .city-dropdown {
        width: calc(100vw - 54px);
        max-width: 275px;
    }

      .menu-scroll {
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .menu-scroll::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

}

@media (max-width: 1024px) {
    .slider-gradient::before,
    .slider-gradient::after {
        display: none;
    }
}



@media (max-width:1200px) { 
           .mrg-btn-cart{
    margin: 10px 5px !important;
}
}


@media (max-width:576px) { 
.product_weight {
    color: #727272;
    font-size: 10px;
}

.prod_pices{
    line-height: 12px;
}

.product_loop_description {
    color: #727272;
    display: none;
}

 .woocommerce-loop-product__title {
    color: #EAD099;
    margin-bottom: 0px;
    min-height: 41px;
}
.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price {
    margin-bottom: 4px;
}
.product-title {
    min-height: 45px !important;
}

}

@media (max-width: 544px){
.woocommerce[class*="columns-"] ul.products li.product:nth-child(n), .woocommerce-page[class*="columns-"] ul.products li.product:nth-child(n) {
    margin-right: 0px;
    clear: none;
}
}