body.lurex-free-shipping-visible {
    padding-bottom: 72px;
}

.lurex-free-shipping-bar {
    min-height: 80px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99990;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .07);
    color: #111111;
}

.lurex-free-shipping-bar[hidden] {
    display: none !important;
}

.lurex-free-shipping-content {
    display: block;
    max-width: 760px;
    margin: 0 auto;
    padding: 12px 18px 12px;
    color: #111111;
    text-decoration: none;
}

.lurex-free-shipping-content:hover,
.lurex-free-shipping-content:focus {
    color: #111111;
    text-decoration: none;
}

.lurex-free-shipping-message {
    margin: 0 0 8px;
    text-align: center;
    font-size: 14px;
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.lurex-free-shipping-message strong {
    font-weight: 800;
    color: #43a047;
}

.lurex-free-shipping-progress-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lurex-free-shipping-progress {
    position: relative;
    flex: 1 1 auto;
    height: 7px;
    border-radius: 999px;
    background: #eeeeee;
    border: 0;
    overflow: hidden;
}

.lurex-free-shipping-fill {
    height: 100%;
    width: 0;
    background: #69c56d;
    border-radius: 999px;
    transition: width .25s ease;
}

.lurex-free-shipping-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #69c56d;
    border-radius: 50%;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.lurex-free-shipping-icon::before {
    content: "";
    width: 16px;
    height: 16px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 7.5h9.5v7H3z' stroke='%2343a047' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12.5 10h3.2l2.3 2.6v1.9h-5.5V10Z' stroke='%2343a047' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='7' cy='16.5' r='1.5' stroke='%2343a047' stroke-width='1.8'/%3E%3Ccircle cx='16.5' cy='16.5' r='1.5' stroke='%2343a047' stroke-width='1.8'/%3E%3C/svg%3E");
}

.lurex-free-shipping-close {
    position: absolute;
    left: 12px;
    top: -32px;
    width: 44px;
    height: 32px;
    border: 1px solid #eeeeee;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #ffffff;
    color: #111111;
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, .05);
}

.lurex-free-shipping-close:hover,
.lurex-free-shipping-close:focus {
    background: #f7f7f7;
    color: #111111;
}

@media (min-width: 769px) {
    body.lurex-free-shipping-visible {
        padding-bottom: 66px;
    }

    .lurex-free-shipping-content {
        padding: 9px 20px 10px;
    }

    .lurex-free-shipping-message {
        font-size: 14px;
    }

    .lurex-free-shipping-close {
        left: calc(50% - 380px);
    }
}

@media (max-width: 768px) {
    body.lurex-free-shipping-visible {
        padding-bottom: 70px;
    }

    .lurex-free-shipping-content {
        padding: 9px 22px 9px;
    }

    .lurex-free-shipping-message {
        font-size: 13px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lurex-free-shipping-progress {
        height: 7px;
    }

    .lurex-free-shipping-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
}

@media (max-width: 390px) {
    .lurex-free-shipping-message {
        font-size: 12.5px;
    }

    .lurex-free-shipping-content {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Biztonsági elrejtés: az upsell/kosár/pénztár oldalon ne legyen globális alsó sáv */
body.woocommerce-cart .lurex-free-shipping-bar,
body.woocommerce-checkout .lurex-free-shipping-bar {
    min-height: 80px;
    display: none !important;
}

body.woocommerce-cart.lurex-free-shipping-visible,
body.woocommerce-checkout.lurex-free-shipping-visible {
    padding-bottom: 0 !important;
}

/* v126 – CookieYes / lebegő ikon ne takarja ki a "Már csak" szöveget */
body.lurex-free-shipping-visible .cky-btn-revisit-wrapper,
body.lurex-free-shipping-visible .cky-revisit-bottom-left,
body.lurex-free-shipping-visible .cky-revisit-bottom-right,
body.lurex-free-shipping-visible .cky-revisit-btn-wrapper,
body.lurex-free-shipping-visible .cky-btn-revisit {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Biztonsági tartalék: ha mégis maradna bal oldali lebegő ikon, a szöveg kapjon védett helyet */
@media (max-width: 768px) {
    .lurex-free-shipping-message {
        padding-left: 54px !important;
        padding-right: 38px !important;
        box-sizing: border-box;
    }
}

@media (max-width: 390px) {
    .lurex-free-shipping-message {
        padding-left: 50px !important;
        padding-right: 34px !important;
        font-size: 12px !important;
    }
}

/* v131 – biztonságos tiltás: kosár/pénztár/felugró kosár esetén ne legyen alsó sáv.
   Nincs JS-es modalfigyelés, így nem fogja meg a 18+ belépő ablakot. */
body.woocommerce-cart .lurex-free-shipping-bar,
body.woocommerce-checkout .lurex-free-shipping-bar,
body.drawer-open .lurex-free-shipping-bar,
body.cart-open .lurex-free-shipping-bar,
body.mini-cart-open .lurex-free-shipping-bar,
body.offcanvas-open .lurex-free-shipping-bar,
body.xoo-wsc-cart-active .lurex-free-shipping-bar,
body.xoo-wsc-active .lurex-free-shipping-bar,
body.woocommerce-mini-cart-open .lurex-free-shipping-bar {
    display: none !important;
}

body.woocommerce-cart.lurex-free-shipping-visible,
body.woocommerce-checkout.lurex-free-shipping-visible,
body.drawer-open.lurex-free-shipping-visible,
body.cart-open.lurex-free-shipping-visible,
body.mini-cart-open.lurex-free-shipping-visible,
body.offcanvas-open.lurex-free-shipping-visible,
body.xoo-wsc-cart-active.lurex-free-shipping-visible,
body.xoo-wsc-active.lurex-free-shipping-visible,
body.woocommerce-mini-cart-open.lurex-free-shipping-visible {
    padding-bottom: 0 !important;
}



@media (max-width: 768px) {
    .lurex-free-shipping-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .lurex-free-shipping-icon::before {
        width: 15px;
        height: 15px;
    }
}
