/* 
Theme Name: Streamweb x Elementor
Description: Motyw łączący funkcjonalności buildera elementor z autorskimi rozwiązaniami streamweb.
Author: streamweb.pl
Author URI: https://streamweb.pl/
Template: hello-elementor
Version: 3.4.0
Text Domain: hello-elementor-child
*/

/* Add your custom styles here */

#content #apaczka_pl_geowidget_classic{
    margin: 0!important;
    background-color: #000000!important;
    font-size: 16px!important;
    box-shadow: unset!important;
}
#content .apaczka-parcel-machine-select{
    margin: 0;
    padding: 0;
}

/* ===== BASE ===== */

.stwb-free-shipping-box {
    margin-bottom: 20px;
    padding: 32px;
    border-radius: 32px;
    background: #ffffff;
    font-size: 16px;
}

.stwb-free-shipping-box.empty {
    text-align: center;
}

.stwb-free-shipping-text {
    margin-bottom: 10px;
    color: #000000;
}

.stwb-free-shipping-text.success {
    color: #000000;
    font-weight: 600;
}

/* CTA */

.stwb-free-shipping-cta {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* ===== PROGRESS ===== */

.stwb-free-shipping-progress-wrap {
    margin-top: 6px;
}

.stwb-free-shipping-scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.stwb-free-shipping-progress {
    position: relative;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.stwb-free-shipping-progress span {
    display: block;
    height: 100%;
    background: #000000;
    width: 0;
    transition: width 0.35s ease;
}

/* ===== MINI CART ===== */

.stwb-context-minicart.stwb-free-shipping-box {
    padding: 0;
    margin: 12px 0 0;
    background: transparent;
    border-radius: 0;
    font-size: 14px;
}

.stwb-context-minicart .stwb-free-shipping-text {
    margin-bottom: 6px;
}

.stwb-context-minicart .stwb-free-shipping-cta {
    padding: 8px 14px;
    font-size: 13px;
}

/* ===== CART + CHECKOUT DESKTOP ===== */

@media (min-width: 768px) {

    .stwb-context-cart,
    .stwb-context-checkout {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
    }

    .stwb-context-cart .stwb-free-shipping-text,
    .stwb-context-checkout .stwb-free-shipping-text {
        margin-bottom: 0;
        flex: 1;
    }

    .stwb-context-cart .stwb-free-shipping-progress-wrap,
    .stwb-context-checkout .stwb-free-shipping-progress-wrap {
        flex: 1;
        max-width: 320px;
    }

    .stwb-context-cart .stwb-free-shipping-cta,
    .stwb-context-checkout .stwb-free-shipping-cta {
        margin-top: 0;
        white-space: nowrap;
    }
}