/* Rind & Dandy Bridge: scoped WooCommerce shipping-method presentation.
 * No modifications to carrier rates, shipping calculations or forms. */
body.woocommerce-checkout .woocommerce-shipping-methods,
body.woocommerce-cart .woocommerce-shipping-methods,
body.woocommerce-checkout ul#shipping_method,
body.woocommerce-cart ul#shipping_method {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: left !important;
}
body.woocommerce-checkout ul#shipping_method > li,
body.woocommerce-cart ul#shipping_method > li,
body.woocommerce-checkout .woocommerce-shipping-methods > li,
body.woocommerce-cart .woocommerce-shipping-methods > li {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    align-items: start !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
body.woocommerce-checkout ul#shipping_method input[type="radio"],
body.woocommerce-cart ul#shipping_method input[type="radio"] {
    grid-column: 1 !important;
    position: static !important;
    display: block !important;
    margin: 4px 0 0 !important;
    float: none !important;
    vertical-align: top !important;
    width: 18px !important;
    height: 18px !important;
}
body.woocommerce-checkout ul#shipping_method label,
body.woocommerce-cart ul#shipping_method label {
    grid-column: 2 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 3px 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
    cursor: pointer;
}
body.woocommerce-checkout ul#shipping_method label .woocommerce-Price-amount,
body.woocommerce-cart ul#shipping_method label .woocommerce-Price-amount {
    margin-left: auto !important;
    white-space: nowrap !important;
    font-weight: 650 !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
body.woocommerce-cart .cart_totals tr.shipping th {vertical-align: top !important; text-align: left !important;}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td,
body.woocommerce-cart .cart_totals tr.shipping td {
    min-width: 0 !important;
    vertical-align: top !important;
    text-align: left !important;
}
/* Consistent, understated notice: near product purchase controls and cart totals. */
.rd-shipping-disclaimer {
    clear: both;
    margin: 12px 0 18px !important;
    padding: 0 !important;
    color: #56534e !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}
.woocommerce-cart .rd-shipping-disclaimer { margin: 8px 0 12px !important; }
@media(max-width: 767px) {
    body.woocommerce-checkout ul#shipping_method label,
    body.woocommerce-cart ul#shipping_method label {font-size: 14px !important;}
    body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.shipping td,
    body.woocommerce-cart .cart_totals tr.shipping td {padding-inline: 8px !important;}
}


/* v1.0.22.3: SHIPPING ROW WIDTH FIX
 * Existing WooCommerce order-review tables reserve too much width for the
 * "Shipment" heading, forcing all rate labels into a tiny second column.
 * Stack the heading above a full-width options list instead.
 * Only affects the shipping row; subtotal, taxes, and totals stay untouched.
 */
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.shipping,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals,
body.woocommerce-cart .cart_totals table tr.shipping,
body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.shipping > th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.shipping > td,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td,
body.woocommerce-cart .cart_totals table tr.shipping > th,
body.woocommerce-cart .cart_totals table tr.shipping > td,
body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals > th,
body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals > td {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.shipping > th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > th,
body.woocommerce-cart .cart_totals table tr.shipping > th,
body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals > th {
    padding-bottom: 12px !important;
}
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.shipping > td,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td,
body.woocommerce-cart .cart_totals table tr.shipping > td,
body.woocommerce-cart .cart_totals table tr.woocommerce-shipping-totals > td {
    padding-top: 0 !important;
    padding-bottom: 18px !important;
}
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.shipping ul#shipping_method,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals ul#shipping_method,
body.woocommerce-cart .cart_totals tr.shipping ul#shipping_method {
    width: 100% !important;
    max-width: 100% !important;
}
body.woocommerce-checkout ul#shipping_method > li,
body.woocommerce-cart ul#shipping_method > li {
    box-sizing: border-box !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, .09) !important;
}
body.woocommerce-checkout ul#shipping_method > li:last-child,
body.woocommerce-cart ul#shipping_method > li:last-child {
    border-bottom: 0 !important;
}
body.woocommerce-checkout ul#shipping_method label,
body.woocommerce-cart ul#shipping_method label {
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal !important;
    font-weight: 500 !important;
}
body.woocommerce-checkout ul#shipping_method label .woocommerce-Price-amount,
body.woocommerce-cart ul#shipping_method label .woocommerce-Price-amount {
    flex-shrink: 0 !important;
    padding-left: 10px !important;
}
