.woocommerce-map-container {
    min-height: 32rem;
}

.woocommerce-searchbox-wrapper {
    padding: 1rem;
}

.woocommerce-searchbox-wrapper input {
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    outline: none;
}

.biteship-gps-fallback {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin: 0.75rem 0 1rem;
    padding: 1rem;
    border: 1px solid #d9dee7;
    border-radius: 4px;
    background: #f7fafc;
}

.biteship-gps-fallback strong,
.biteship-gps-fallback__message {
    flex-basis: 100%;
}

.biteship-gps-fallback__status {
    font-size: 0.9em;
}

.biteship-insurance-notice td {
    padding: 0.9rem 1rem;
    border: 1px solid #d8c48c;
    background: #fff9e8;
    color: #3f3520;
    font-size: 0.9rem;
    line-height: 1.5;
}

/*
 * WooCommerce keeps the shipping heading and its rate list in separate table
 * cells. On narrow screens that leaves long Biteship service names in a very
 * small column. Stack only this row and keep each radio control beside its
 * complete label so courier, service, ETA, and price remain readable.
 */
@media (max-width: 600px) {
    table.shop_table tr.woocommerce-shipping-totals {
        display: block;
    }

    table.shop_table tr.woocommerce-shipping-totals > th,
    table.shop_table tr.woocommerce-shipping-totals > td {
        display: block;
        width: 100%;
        max-width: none;
        padding-right: 0;
        padding-left: 0;
        text-align: left;
    }

    table.shop_table tr.woocommerce-shipping-totals > td::before {
        display: none;
    }

    table.shop_table ul#shipping_method {
        width: 100%;
        margin: 0.5rem 0 0;
        padding: 0;
        text-align: left;
    }

    table.shop_table ul#shipping_method li {
        display: grid;
        grid-template-columns: 1.25rem minmax(0, 1fr);
        align-items: start;
        column-gap: 0.55rem;
        width: 100%;
        margin: 0;
        padding: 0.55rem 0;
        line-height: 1.4;
    }

    table.shop_table ul#shipping_method li input {
        float: none;
        width: auto;
        margin: 0.2rem 0 0;
    }

    table.shop_table ul#shipping_method li label {
        display: block;
        min-width: 0;
        margin: 0;
        overflow-wrap: anywhere;
        text-align: left;
    }
}
