html {
    scroll-behavior: smooth;
}

.header-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 50px;
    background: #fff;
    color: #e5251f;
    font-size: 11px;
    font-weight: 900;
    line-height: 18px;
    text-align: center;
}

.ikra-vat-info {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    background: #e9f9ef;
    color: #15803d;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.35;
}

/* CONTACTS HEIGHT FIX */

footer#contacts {
    position: relative !important;
    min-height: 760px !important;
    overflow: hidden;
    background: #da251d;
}

footer#contacts .map {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

footer#contacts .map iframe {
    width: 100% !important;
    height: 100% !important;
}

footer#contacts > .container {
    position: relative !important;
    z-index: 3;
    height: 100%;
}

footer#contacts .contacts_footer {
    position: relative !important;
    z-index: 4;
    background: #da251d;
    min-height: 760px !important;
    padding-top: 260px !important;
    padding-bottom: 100px !important;
}

/* CONTACTS LAYER FIX */

footer#contacts {
    position: relative !important;
    width: 100% !important;
    min-height: 620px;
    overflow: hidden;
    background: #da251d;
}

/* карта як фон */
footer#contacts .map {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

/* iframe карти */
footer#contacts .map iframe {
    width: 100% !important;
    height: 100% !important;
}

/* контейнер поверх карти */
footer#contacts > .container {
    position: relative !important;
    z-index: 3;
    height: 100%;
}

/* червоний блок контактів поверх карти */
footer#contacts .contacts_footer {
    position: relative !important;
    z-index: 4;
    background: #da251d;
    min-height: 620px;
    padding-top: 170px;
    padding-bottom: 80px;
}

/* щоб ряд не ламав шарування */
footer#contacts .row {
    position: relative;
    z-index: 4;
}

/* декоративна хвиля зверху футера */
footer#contacts:before,
footer#contacts:after {
    z-index: 5;
    pointer-events: none;
}

/* мобільна адаптація */
@media (max-width: 1199px) {
    footer#contacts {
        min-height: auto;
    }

    footer#contacts .map {
        position: relative !important;
        height: 350px !important;
        order: 2;
    }

    footer#contacts .contacts_footer {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 60px;
    }
}

/* CONTACTS FULL WIDTH FIX */

footer#contacts {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    position: relative;
    overflow: hidden;
    background-color: #da251d;
}

footer#contacts:after {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    background-size: 100% 316px !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;
}

footer#contacts .map {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
}

footer#contacts iframe {
    width: 100% !important;
    min-width: 100% !important;
}

footer#contacts > .container {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative;
    z-index: 2;
}


/* FIX FULL WIDTH BACKGROUNDS */

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.bbtop,
.howwework,
.feedback,
.deliveryandpay,
.advantages,
footer#contacts {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
}

/* Hero background */
.bbtop_bg {
    width: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
}

/* How we work background */
.howwework {
    background-size: auto, cover !important;
    background-position: top -140px right -30px, bottom center !important;
}

/* Feedback background */
.feedback {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Delivery and pay backgrounds */
.deliveryandpay {
    background-size: auto, auto !important;
    background-position: left top 120px, right bottom !important;
    background-repeat: no-repeat, no-repeat !important;
}

/* Advantages backgrounds */
.advantages {
    background-size: 100% auto, 100% auto, cover !important;
    background-position: top -127px center, bottom -65px center, center center !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
}

/* Footer/contact */
footer#contacts {
    width: 100% !important;
}

footer#contacts .map {
    width: 100% !important;
}

@media (max-width: 1750px) {
    .sertificates_slider-container:before {
        display: none;
    }
}
@media (max-width: 1200px) {
    .bbtop-block {
        text-align: center;
    }

    .mob_menu_close, .mob_menu_contacts, .mob_menu_form{
        display: block;
    }
    .mob_menu_close{
        height: 70px;
        width: 100%;
        padding: 20px;
    }
    .mob_menu_contacts{
        padding: 30px 20px;
    }
    .mob_icon_block{
        margin-bottom: 20px;
    }
    .mob_icon_block i{
        color: #e31e24;
        width: 20px;
    }
    .mob_icon_block span, .mob_icon_block a{
        color: #302f2e;
        font-family: "PT Serif";
        font-size: 14px;
        font-weight: 400;
    }
    .mob_icon_block.phone a{
        display: block;
        width: 100%;
        color: #333333;
        font-family: "PT Serif";
        font-size: 18px;
        font-weight: 700;
        line-height: 25px;
    }
    .mob_menu_form{
        padding: 0px 20px;
    }
    .mob_menu_form button.sf2-callBtn{
        display: inline-block;
        width: unset;
        padding: 0px 30px;
    }
    .top_menu{
        display: none;
        position: fixed;
        left: 0px;
        top: 0px;
        width: 80vw;
        min-height: 100vh;
        background-color: #ffffff;
        z-index: 99;
        margin: 0px -15px;
    }
    .top_menu .nav{
        flex-direction: column;
    }
    .top_menu .nav li{
        width: calc(100% + 15px);
    }
    .top_menu .nav li:first-child a {
        border-top: 1px solid #cfd3dc;
    }
    .top_menu .nav li a{
        background-color: #eef3f9;
        color: #333333;
        font-family: "PT Serif";
        font-size: 15px;
        font-weight: 400;
        transition: all 0.5s ease;
        border-bottom: 1px solid #cfd3dc;
    }
    .top_menu .nav li a:hover{
        transition: all 0.5s ease;
        background-color: #335478;
        color: #eef3f9;
    }
    .mob_menu_caller{
        display: block;
    }
    .mob_menu_caller i{
        color: #fff;
        font-size: 35px;
        padding: 15px 0px;
        cursor: pointer;
    }
    .mob_overlay{
        position: fixed;
        background-color: rgba(0, 0, 0, 0.7);
        width: 100vw;
        height: 100vh;
        z-index: 58;
        top: 0px;
        left: 0px;
    }
    .bbtop_bg{
        height: 700px;
    }
    .product_item-btn a{
        opacity: 1;
    }
    .bgl_block{
        display: none;
    }
    .payment.dap_item{
        margin-bottom: 90px;
    }
    .advant_block {
        margin-bottom: 50px;
    }
    .advantages {
        position: relative;
        padding-top: 350px;
        padding-bottom: 390px;
        background: url(../images/advantbgt.webp), url(../images/advantbgb.webp), url(../images/advantbg.webp);
        background-repeat: no-repeat, no-repeat, no-repeat;
        background-position: top -120px center, bottom -60px center, center;
        background-size: auto, auto, cover;
    }
    .advantages:before{
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #fff;
        top: -1px;
    }
    .advantages:after{
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #eef3f9;
        bottom: -1px;
    }
    .advantages_slider-container {
        position: relative;
        margin-bottom: 215px;
    }
    .advantages_slider-desc {
        position: absolute;
        border-radius: 15px;
        background-color: #ffffff;
        padding: 40px;
        left: 16%;
        top: 90%;
        width: 100%;
    }
    .advantages_slider-arr {
        margin-top: 15px;
        position: absolute;
        width: 110px;
        height: 50px;
        left: 0px;
    }
    .contacts_footer:before{
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        left: calc(-100% + 5px);
        background-color: #335478;
        top: 0px;
    }
    .howwework {
        position: relative;
        padding-top: 180px;
        padding-bottom: 370px;
        background:  url(../images/hwbg.webp);
        background-repeat:  no-repeat;
        background-position: bottom center;
        z-index: 10;
    }
    .sertificates {
        background-color: #eef3f9;
        padding-bottom: 70px;
    }
}
@media (max-width: 992px) {
    .sertificates_slider-item-desc {
        border-radius: 15px;
        background-color: #335478;
        padding: 30px 20px 30px 75px;
        position: relative;
        left: -75px;
        z-index: 9;
    }
    .advantages_slider-desc {
        left: 20px;
        width: calc(100% - 40px);
    }
    .advantages_slider-arr {
        margin-top: 15px;
        position: absolute;
        width: calc(100% + 50px);
        height: 50px;
        left: -25px;
        top: 55px;
    }
    .advantages_slider-arr.arrows div.arrow_next, .advantages_slider-arr.arrows div.arrow_prev {
        background-color: #1c1e21;
        opacity: 0.4;
    }
    .advantages_slider-arr.arrows div.arrow_next:hover, .advantages_slider-arr.arrows div.arrow_prev:hover {
        background-color: #1c1e21;
        opacity: 0.6;
    }
    .woocommerce {
        display: flex;
        gap: 20px;
        flex-direction: column;
    }
}
@media (max-width: 767px) {
    .feedback {
        position: relative;
        padding-top: 260px;
        padding-bottom: 260px;
        background: url(../images/formbg.webp);
        background-repeat: no-repeat;
        background-position: right -300px top;
        background-size: cover;
        z-index: 9;
        margin-top: -245px;
    }
    .sertificates_slider-item-desc {
        border-radius: 0px;
        background-color: #335478;
        padding: 30px 20px 30px 20px;
        position: relative;
        left: 15px;
        z-index: 9;
        width: calc(100% - 30px);
    }
    footer {
        background-color: #335478;
    }
    .map {
        position: relative;
        height: 500px;
    }
    #contacts{
        display: flex;
        flex-direction: column;
    }
    .advantages_slider-desc .title{
        color: #305073;
        font-family: "PT Serif";
        font-size: 25px;
        font-weight: 700;
    }
    .advantages_slider-desc .text{
        color: #999999;
        font-family: "PT Serif";
        font-size: 15px;
        font-weight: 400;
    }
    .deliveryandpay .delivery:after, .deliveryandpay .payment:after {
        content: '';
        display: none;
    }
    .products_tabs .tab{
        margin-bottom: 15px;
    }
    .products_tabs_content .slick-slider {
        margin: 0px 0px;
    }
    .advantages_slider-container {
        position: relative;
        margin-bottom: 215px;
        margin: 0px 15px;
    }
    .deliveryandpay {
        padding-bottom: 25px;
        background: unset;
    }
    .advantages_slider-desc{
        top: -25px;
        position: relative;
    }
    .advantages_slider-item div {
        height: 200px;
    }

    .advantages {
        position: relative;
        padding-top: 350px;
        padding-bottom: 180px;
        background: url(../images/advantbgt.webp), url(../images/advantbgb.webp), url(../images/advantbg.webp);
        background-repeat: no-repeat, no-repeat, no-repeat;
        background-position: top -130px center, bottom -55px center, center;
        background-size: auto, auto, cover;
        margin-top: 0px;
    }
    .advantages:before{
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #fff;
        top: -1px;
    }
    .advantages:after{
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #eef3f9;
        bottom: -1px;
    }
    .advant_slider-container{
        margin: 0px 15px;
    }
    .advant_block-desc{
        text-align: center;
    }
    .advant_slider-arr{
        position: relative;
        height: 50px;
        width: 120px;
        margin-bottom: 100px;
        margin: 0px auto 80px;
    }
    .howwework_slider-arr{
        position: relative;
        height: 50px;
        width: 120px;
        margin-bottom: 100px;
        margin: 20px 0px 0px 0px;
    }
    .howwework_slider-arr.arrows div.arrow_prev {
        top: calc(50% - 25px);
        left: -0px;
    }
}
@media (max-width: 600px) {
    .bbtop-title, .bbtop-pretitle{
        font-size: 28px;
        text-align: center;
    }
    .bbtop-desc{
        font-size: 18px;
        text-align: center;
    }
    .bbtop-link{
        font-size: 15px;
        text-align: center;
    }
    .bbtop-block {
        padding: 80px 0px 0px 0px;
        text-align: center;
    }
    .products_header{
        font-size: 25px;
        text-align: center;
    }
    .products_tabs .tab {
        margin-bottom: 15px;
        text-align: center;
    }
    .product_item {
        width: 100%;
    }
    .howwework {
        padding-top: 80px;
    }
    .howwework_header{
        font-size: 25px;
    }
    .feedback-title{
        font-size: 25px;
    }
    .feedback-desc{
        font-size: 15px;
    }
    .deliveryandpay_header{
        font-size: 25px;
        text-align: center;
    }
    .dap_item-title{
        font-size: 22px;
    }
    .dap_item-text-desc .title{
        font-size: 16px;
    }
    .dap_item-text-desc .text{
        font-size: 14px;
    }
    .advantages_header{
        font-size: 25px;
    }
    .advant_slider-container {
        margin: 0px;
    }
    .advantages_slider-desc{
        padding: 15px;
    }
    .sertificates_header{
        font-size: 25px;
    }
    .sertificates_desc{
        font-size: 15px;
    }
    .sertificates_slider-item-desc {
        border-radius: 0px;
        background-color: #335478;
        padding: 30px 20px 30px 20px;
        position: relative;
        left: 0px;
        z-index: 9;
        width: 100%;
    }
    .contacts_footer-header{
        font-size: 25px;
    }
    .contacts_footer {
        padding-top: 210px;
        padding-bottom: 140px;
        background-color: #335478;
        padding-left: 15px;
        padding-right: 15px;
        position: relative;
    }
    .footer_icon_block .data.phone a {
        color: #ffffff;
        font-family: "PT Serif";
        font-size: 20px;
        font-weight: 700;
        line-height: 20px;
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    .advantages_slider-desc {
        left: 10px;
        width: calc(100% - 20px);
    }
    .sertificates_p_slider-arr{
        position: absolute;
        top: 200px;
        width: calc(100% - 30px);
    }
}
/* Center tabs between title and picker */
@media (min-width: 992px) {
    .ikra-products-tabs {
        margin: 10px 0 10px !important;
    }

    .ikra-picker {
        margin-top: 0 !important;
    }
}

/* Increase bottom info font */
@media (min-width: 992px) {
    .ikra-picker__more strong {
        font-size: 18px !important;
    }

    .ikra-picker__more span {
        font-size: 14px !important;
    }

    .ikra-picker__features strong {
        font-size: 18px !important;
    }

    .ikra-picker__features span {
        font-size: 15px !important;
    }
}
/* Slightly increase small text in picker */
@media (min-width: 992px) {
    /* Підзаголовок під назвою */
    .ikra-picker__subtitle {
        font-size: 17px !important;
        line-height: 1.25 !important;
    }

    /* Ціна "за банку" в 0.3 / 0.5 */
    .ikra-picker__jar small,
    .ikra-picker__jar small b {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    /* Текст під Доставка / Самовивіз */
    .ikra-picker__method small {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    /* "Ви економите..." в зеленому блоці */
    .ikra-picker__summary small,
    .ikra-picker__summary small b {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }

    /* Самовивіз у тарифах */
    .ikra-plan-pickup-price {
        font-size: 13px !important;
        line-height: 1.3 !important;
        font-weight: 800 !important;
    }

    /* Плашки: Базова ціна / Вигідніше / Максимальна вигода */
    .ikra-picker__plan-save {
        font-size: 15px !important;
        line-height: 1.25 !important;
        font-weight: 800 !important;
    }
}
/* Force increase pickup price text in tariff cards */
@media (min-width: 992px) {
    .ikra-picker .ikra-picker__plans .ikra-picker__plan small.ikra-plan-pickup-price {
        font-size: 13px !important;
        line-height: 1.35 !important;
        font-weight: 800 !important;
        color: #222 !important;
        display: block !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }
}

/* Green text in bottom feature cards */
.ikra-picker__features span {
    display: inline-block;
    color: #15803d !important;
    font-weight: 900 !important;
    background: #e9f9ef;
    padding: 3px 10px;
    border-radius: 20px;
}

.ikra-cart-notice {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    padding: 14px 20px;
    border-radius: 12px;
    background: #15803d;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: .25s;
}

.ikra-cart-notice.active {
    opacity: 1;
    transform: translateY(0);
}

.ikra-cart-notice.error {
    background: #b91c1c;
}

.ikra-picker__order-btn:disabled {
    opacity: .75;
    cursor: not-allowed;
}

/* ==================================================
   CART BUTTONS FINAL OVERRIDE FROM PATCH
================================================== */

.woocommerce .wc-proceed-to-checkout.ikra-cart-buttons-row,
.wc-proceed-to-checkout.ikra-cart-buttons-row {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin: 35px 0 !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

.ikra-cart-buttons-left,
.ikra-cart-buttons-right {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 0 !important;
}

.ikra-cart-buttons-left {
    justify-content: flex-start !important;
}

.ikra-cart-buttons-right {
    justify-content: flex-end !important;
}

.woocommerce .ikra-cart-buttons-row a.ikra-cart-btn,
.woocommerce .ikra-cart-buttons-row .ikra-cart-btn,
.woocommerce .ikra-cart-buttons-row a.checkout-button,
.woocommerce .ikra-cart-buttons-row .checkout-button,
.ikra-cart-buttons-row a.ikra-cart-btn,
.ikra-cart-buttons-row .ikra-cart-btn,
.ikra-cart-buttons-row a.checkout-button,
.ikra-cart-buttons-row .checkout-button {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

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

    padding: 0 20px !important;
    margin: 0 !important;
    box-sizing: border-box !important;

    border: 0 !important;
    border-radius: 8px !important;

    background: #e5251f !important;
    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 48px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;

    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
    transition: 0.2s ease !important;
    float: none !important;
}

.woocommerce .ikra-cart-buttons-row a.ikra-cart-btn:hover,
.woocommerce .ikra-cart-buttons-row .ikra-cart-btn:hover,
.woocommerce .ikra-cart-buttons-row a.checkout-button:hover,
.woocommerce .ikra-cart-buttons-row .checkout-button:hover,
.ikra-cart-buttons-row a.ikra-cart-btn:hover,
.ikra-cart-buttons-row .ikra-cart-btn:hover,
.ikra-cart-buttons-row a.checkout-button:hover,
.ikra-cart-buttons-row .checkout-button:hover {
    background: #b91512 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .woocommerce .wc-proceed-to-checkout.ikra-cart-buttons-row,
    .wc-proceed-to-checkout.ikra-cart-buttons-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 0 10px !important;
    }

    .ikra-cart-buttons-left,
    .ikra-cart-buttons-right {
        width: 100% !important;
        flex: none !important;
        justify-content: center !important;
    }

    .woocommerce .ikra-cart-buttons-row a.ikra-cart-btn,
    .woocommerce .ikra-cart-buttons-row .ikra-cart-btn,
    .woocommerce .ikra-cart-buttons-row a.checkout-button,
    .woocommerce .ikra-cart-buttons-row .checkout-button,
    .ikra-cart-buttons-row a.ikra-cart-btn,
    .ikra-cart-buttons-row .ikra-cart-btn,
    .ikra-cart-buttons-row a.checkout-button,
    .ikra-cart-buttons-row .checkout-button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}
/* Hero button under subtitle */
.bbtop-block .product_item-btn {
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: right !important;
    padding-right: 40px !important;
}

.bbtop-block .product_item-btn .buy_btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}


.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    max-width: 850px !important;
}

/* Checkout page spacing fix */
.woocommerce-checkout .woocommerce,
.woocommerce-checkout form.checkout,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-notices-wrapper {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

/* Дані замовника — щоб поля не були на всю ширину */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    max-width: 850px !important;
}

/* Примітки до замовлення і блок іншої адреси */
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Таблиця замовлення */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100% !important;
}

/* Мобільна версія */
@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce,
    .woocommerce-checkout form.checkout,
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout .woocommerce-form-coupon-toggle,
    .woocommerce-checkout .woocommerce-notices-wrapper {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        max-width: 100% !important;
    }
}

/* Align checkout totals badges with prices */
.woocommerce-checkout-review-order-table tfoot td {
    text-align: left !important;
    vertical-align: middle !important;
}

.woocommerce-checkout-review-order-table .ikra-packaging-row td strong,
.woocommerce-checkout-review-order-table .ikra-shipping-free,
.woocommerce-checkout-review-order-table .ikra-vat-info {
    margin-left: 0 !important;
    transform: none !important;
}

/* Якщо треба ще трохи лівіше */
.woocommerce-checkout-review-order-table .ikra-packaging-row td,
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td,
.woocommerce-checkout-review-order-table .ikra-vat-info-row td {
    padding-left: 0px !important;
}

/* Fixed navigation on scroll */
.navigation {
    position: relative;
    z-index: 9999;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.navigation.nav-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22) !important;
}

/* відступ, щоб сторінка не скакала, коли меню стає fixed */
body.nav-is-fixed {
    padding-top: 64px;
}

/* якщо відкритий сайт під адміном WordPress */
body.admin-bar .navigation.nav-fixed {
    top: 32px !important;
}

body.admin-bar.nav-is-fixed {
    padding-top: 64px;
}

@media (max-width: 782px) {
    body.admin-bar .navigation.nav-fixed {
        top: 46px !important;
    }
}


/* ==================================================
   MY ACCOUNT PROFILE FIELDS WIDTH FIX
================================================== */

.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm {
    max-width: 980px !important;
    width: 100% !important;
}

/* Ім'я / Прізвище */
.woocommerce-account .woocommerce-EditAccountForm .form-row-first,
.woocommerce-account .woocommerce-EditAccountForm .form-row-last {
    width: 48% !important;
    max-width: 48% !important;
    display: inline-block !important;
    vertical-align: top !important;
    float: none !important;
}

.woocommerce-account .woocommerce-EditAccountForm .form-row-first {
    margin-right: 3.5% !important;
}

/* Інпути */
.woocommerce-account .woocommerce-EditAccountForm input.form-control {
    width: 100% !important;
    max-width: 100% !important;
}

/* Паролі */
.woocommerce-account .woocommerce-EditAccountForm fieldset {
    max-width: 760px !important;
}

.woocommerce-account .woocommerce-EditAccountForm fieldset .form-row,
.woocommerce-account .woocommerce-EditAccountForm fieldset input.form-control {
    max-width: 760px !important;
    width: 100% !important;
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-EditAccountForm .form-row-first,
    .woocommerce-account .woocommerce-EditAccountForm .form-row-last,
    .woocommerce-account .woocommerce-EditAccountForm fieldset,
    .woocommerce-account .woocommerce-EditAccountForm fieldset .form-row {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        margin-right: 0 !important;
    }
}
/* Move last name field slightly down */
.woocommerce-account .woocommerce-MyAccount-content form.woocommerce-EditAccountForm 
p.woocommerce-form-row--first.mt-1 + p.woocommerce-form-row--last {
    position: relative !important;
    top: 4px !important;
}


/* ==================================================
   CART PRODUCTS CARD DESIGN
================================================== */

body.woocommerce-cart .woocommerce-cart-form,
.woocommerce .woocommerce-cart-form {
    padding: 24px 32px !important;
    background: #f8fafc !important;
}

body.woocommerce-cart table.shop_table.cart,
.woocommerce table.shop_table.cart {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 18px !important;
    border: 0 !important;
    background: transparent !important;
}

body.woocommerce-cart table.shop_table.cart thead th,
.woocommerce table.shop_table.cart thead th {
    padding: 0 18px 8px !important;
    border: 0 !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

body.woocommerce-cart table.shop_table.cart tbody tr.cart_item,
.woocommerce table.shop_table.cart tbody tr.cart_item {
    background: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
    overflow: hidden !important;
}

body.woocommerce-cart table.shop_table.cart tbody tr.cart_item td,
.woocommerce table.shop_table.cart tbody tr.cart_item td {
    padding: 22px 18px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    vertical-align: middle !important;
    background: #ffffff !important;
}

body.woocommerce-cart table.shop_table.cart tbody tr.cart_item td:first-child,
.woocommerce table.shop_table.cart tbody tr.cart_item td:first-child {
    border-radius: 18px 0 0 18px !important;
}

body.woocommerce-cart table.shop_table.cart tbody tr.cart_item td:last-child,
.woocommerce table.shop_table.cart tbody tr.cart_item td:last-child {
    border-radius: 0 18px 18px 0 !important;
}

body.woocommerce-cart .product-thumbnail img,
.woocommerce .product-thumbnail img {
    width: 125px !important;
    height: 125px !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    background: #f1f5f9 !important;
    padding: 10px !important;
}

body.woocommerce-cart .product-name h5,
.woocommerce .product-name h5 {
    margin: 0 0 8px !important;
    color: #111827 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

body.woocommerce-cart .product-name,
.woocommerce .product-name {
    color: #111827 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

body.woocommerce-cart .product-price,
body.woocommerce-cart .product-subtotal,
.woocommerce .product-price,
.woocommerce .product-subtotal {
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

body.woocommerce-cart .packaging-free,
.woocommerce .packaging-free {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 14px !important;
    border-radius: 999px !important;
    background: #e9f9ef !important;
    color: #15803d !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

body.woocommerce-cart .quantity input.qty,
.woocommerce .quantity input.qty {
    width: 72px !important;
    height: 44px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-align: center !important;
}

body.woocommerce-cart .product-remove a,
.woocommerce .product-remove a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 92px !important;
    height: 38px !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
    background: #fee2e2 !important;
    color: #dc2626 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    line-height: 1 !important;
    transition: 0.2s ease !important;
}

body.woocommerce-cart .product-remove a:hover,
.woocommerce .product-remove a:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}
/* Cart product image size */
.woocommerce-cart .product-thumbnail img,
.woocommerce table.shop_table.cart .product-thumbnail img {
    width: 150px !important;
    height: 150px !important;
    object-fit: contain !important;
	padding: 0px !important;
}

/* Video in ikra gallery */
.ikra-main-video {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 16px;
    background: #111;
}

.ikra-picker__thumb--video {
    position: relative;
    background: #111 !important;
    color: #fff;
}

.ikra-video-thumb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 54px;
    font-size: 24px;
    color: #fff;
}

/* Video size fix in ikra gallery */
.ikra-picker__main-media {
    min-height: 360px !important;
}

.ikra-picker__main-media video,
.ikra-main-video {
    width: 100% !important;
    height: 360px !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 16px !important;
    background: #050807 !important;
}
/* ==================================================
   FIX DELIVERY / PAYMENT IMAGES REPEAT
   Actual classes are .delivery.dap_item and .payment.dap_item
================================================== */

.deliveryandpay .delivery.dap_item,
.deliveryandpay .payment.dap_item {
    position: relative !important;
}

.deliveryandpay .delivery.dap_item::after,
.deliveryandpay .payment.dap_item::after {
    content: "" !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.deliveryandpay .delivery.dap_item::after {
    width: 315px !important;
    height: 140px !important;
    right: -100px !important;
    top: -40px !important;
}

.deliveryandpay .payment.dap_item::after {
    width: 240px !important;
    height: 170px !important;
    left: -70px !important;
    bottom: -40px !important;
}
/* ==================================================
   NAVIGATION WITHOUT SIDE GAPS
================================================== */

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

/* прибираємо обмеження Bootstrap container тільки в меню */
.navigation > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* рядок теж розтягуємо на всю ширину */
.navigation > .container > .row {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* прибираємо зайві бокові padding у колонок */
.navigation .top_menu,
.navigation .top_feedback,
.navigation .mob_menu_caller {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* меню зліва */
@media (min-width: 1200px) {
    .navigation .top_menu {
        flex: 1 1 auto !important;
        width: auto !important;
        max-width: none !important;
    }

    .navigation .top_feedback {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        margin-left: auto !important;
    }
}
/* ==================================================
   WHITE HEADER FULL WIDTH
   Align with red navigation
================================================== */

@media (min-width: 1200px) {

    header.d-xl-block {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    header.d-xl-block > .container {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    header.d-xl-block > .container > .row {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    header.d-xl-block .header_adreses {
        padding-left: 0 !important;
    }

    header.d-xl-block .header_phones {
        padding-right: 0 !important;
    }
}

/* ==================================================
   UA / PL LANGUAGE SWITCHER
================================================== */
.ikra-lang-switcher {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-left: 14px !important;
    vertical-align: middle !important;
}

.ikra-lang-switcher--mobile {
    display: none !important;
}

.ikra-lang-btn {
    appearance: none !important;
    border: 2px solid #fff !important;
    background: transparent !important;
    color: #fff !important;
    border-radius: 999px !important;
    min-width: 38px !important;
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: .2s ease !important;
}

.ikra-lang-btn:hover,
.ikra-lang-btn.active {
    background: #fff !important;
    color: #da251d !important;
}

@media (max-width: 1199px) {
    .top_feedback > .ikra-lang-switcher {
        display: inline-flex !important;
    }

    .ikra-lang-switcher--mobile {
        display: flex !important;
        margin: 18px 0 10px 0 !important;
    }
}

@media (max-width: 575px) {
    .ikra-lang-switcher {
        gap: 4px !important;
        margin-left: 8px !important;
    }

    .ikra-lang-btn {
        min-width: 34px !important;
        height: 30px !important;
        padding: 0 8px !important;
        font-size: 12px !important;
    }
}
