/* Preserve Argentina in submitted data while hiding the country controls. */
.woocommerce-cart #calc_shipping_country_field,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #shipping_country_field {
    display: none !important;
}

/* One summary surface, rather than three nested padded panels. */
.woocommerce-checkout .checkout-sidebar,
.woocommerce-checkout #order_review.woocommerce-checkout-review-order {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-width: 0;
}

.woocommerce-checkout .col-inner.is-well {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 8px;
    background: #f7f7f7;
}

.woocommerce-checkout #order_review_heading {
    margin-top: 0;
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table > thead > tr > th {
    border-bottom: 1px solid #ddd;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table > tfoot > tr > th,
.woocommerce-checkout .woocommerce-checkout-review-order-table > tfoot > tr > td {
    border-bottom: 0;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table > tfoot > tr.order-total > th,
.woocommerce-checkout .woocommerce-checkout-review-order-table > tfoot > tr.order-total > td {
    border-top: 1px solid #ddd;
    padding-top: 16px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
    overflow-wrap: anywhere;
    padding-right: 16px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .amount {
    white-space: nowrap;
}

@media (min-width: 850px) {
    .woocommerce-checkout .col-inner.is-well {
        padding: 28px !important;
    }
}

/* Correo inserts a third child into Flatsome's flex row. Give it its own row. */
.woocommerce-page .shipping__table .shipping__list_item {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
}

.woocommerce-page .shipping__table .shipping__list_item > .shipping__list_label {
    grid-column: 2;
    min-width: 0;
    width: auto;
    margin: 0;
    word-break: normal;
    overflow-wrap: break-word;
}

.woocommerce-page .shipping__table .shipping__list_item > input.shipping_method {
    grid-column: 1;
    width: 18px;
    margin-right: 0 !important;
}

.woocommerce-page .shipping__table .corrarfo-selection-wrapper {
    grid-column: 1 / -1;
    min-width: 0;
    text-align: left;
}

.woocommerce-page .corrarfo-selection-wrapper .select2-selection--single {
    min-height: 48px !important;
}

.woocommerce-page .corrarfo-selection-wrapper .select2-search__field {
    font-size: 16px;
    min-height: 44px;
}

.woocommerce-page .peniel-branch-status {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.woocommerce-page .peniel-branch-retry {
    margin: 8px 0 0;
    min-height: 44px;
    font-size: 14px;
}

.woocommerce-page .peniel-branch-status[hidden],
.woocommerce-page .peniel-branch-retry[hidden] {
    display: none !important;
}

@media (max-width: 849px) {
    /* Flatsome nests three padded containers around the order summary. */
    .woocommerce-checkout .col-inner.is-well {
        padding: 18px 16px !important;
    }

    .woocommerce-checkout .checkout-sidebar,
    .woocommerce-checkout #order_review.woocommerce-checkout-review-order {
        padding: 0 !important;
        border: 0 !important;
        min-width: 0;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table {
        width: 100%;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table > tbody > tr > td {
        vertical-align: top;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
        padding-right: 12px;
        overflow-wrap: anywhere;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order-table .amount {
        white-space: nowrap;
    }

    /* Stack shipping labels even with zero or one available method. */
    .woocommerce-page .shop_table .shipping__table,
    .woocommerce-page .shop_table .shipping__table > tbody,
    .woocommerce-page .shop_table .shipping__table > tbody > tr,
    .woocommerce-page .shop_table .shipping__table > tbody > tr > th,
    .woocommerce-page .shop_table .shipping__table > tbody > tr > td {
        display: block;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        text-align: left;
    }

    .woocommerce-page .shop_table .shipping__table > tbody > tr > th {
        border: 0;
        padding: 16px 0 10px;
    }

    .woocommerce-page .shop_table .shipping__table > tbody > tr > td {
        padding: 0 0 16px;
        overflow-wrap: break-word;
    }

    .woocommerce-page .shipping__table .shipping__list {
        padding: 0;
        margin: 0;
    }

    .woocommerce-page .shipping__table .shipping__list_item {
        align-items: flex-start;
        min-height: 48px;
        padding: 8px 10px;
        margin: 0 0 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background: #fff;
        box-sizing: border-box;
    }

    .woocommerce-page .shipping__table .shipping__list_label {
        min-width: 0;
        padding: 3px 0;
        font-size: 14px;
        line-height: 1.5;
        text-align: left;
        opacity: 1;
    }

    .woocommerce-page .shipping__table input.shipping_method[type="radio"] {
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
        margin: 5px 10px 0 0;
    }

    .woocommerce-page .shipping__table .woocommerce-shipping-destination,
    .woocommerce-page .shipping__table .woocommerce-shipping-calculator {
        text-align: left;
        font-size: 14px;
        line-height: 1.5;
    }

    .woocommerce-page .shipping-calculator-form label {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        line-height: 1.4;
    }

    .woocommerce-page .shipping-calculator-form input.input-text,
    .woocommerce-page .shipping-calculator-form select,
    .woocommerce-page .shipping-calculator-form button {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
    }

    .woocommerce-checkout .fl-wrap input.fl-input {
        min-height: 56px;
        font-size: 16px;
        line-height: 24px;
    }

    .woocommerce-checkout .fl-wrap.fl-is-active input.fl-input {
        padding-top: 22px !important;
        padding-bottom: 6px !important;
    }

    .woocommerce-checkout .fl-wrap select.fl-select {
        min-height: 56px;
        font-size: 16px;
        padding-top: 22px;
        padding-bottom: 6px;
    }

    .woocommerce-checkout .fl-label abbr.required ~ span.required {
        display: none;
    }
}
