.woocommerce-page .stixis-delivery-plan-row {
    display: table-row !important;
}
.woocommerce-page .stixis-delivery-plan-row > td {
    display: table-cell !important;
    width: 100% !important;
    max-width: none !important;
    padding: 16px 0 !important;
    text-align: left !important;
}
.woocommerce-page .stixis-delivery-plan-row > td::before { display: none !important; }
.woocommerce-page .stixis-delivery-plan {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}
.woocommerce-page .stixis-delivery-plan legend {
    float: none;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    font: inherit;
    font-weight: 700;
    font-size: 17px;
    color: #31302c;
}
.woocommerce-page .stixis-delivery-option {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin: 0 0 10px !important;
    padding: 14px !important;
    border: 1px solid #dbc7b7;
    border-radius: 10px;
    background: #fffdf9;
    color: #31302c !important;
    cursor: pointer;
    text-align: left !important;
    white-space: normal !important;
}
.woocommerce-page .stixis-delivery-option:has(input:checked) { border-color: #b9501f; background: #faf0e6; }
.woocommerce-page .stixis-delivery-option:focus-within { outline: 2px solid #b9501f; outline-offset: 2px; }
.woocommerce-page .stixis-delivery-option input[type="radio"] {
    appearance: auto !important;
    position: static !important;
    float: none !important;
    opacity: 1 !important;
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    margin: 3px 0 0 !important;
    accent-color: #b9501f;
}
.woocommerce-page .stixis-delivery-option strong { display: block; font-size: 15px; line-height: 1.5; }
.woocommerce-page .stixis-delivery-option small { display: block; margin-top: 5px; font-size: 14px; line-height: 1.55; color: #49463f; }
.woocommerce-page .stixis-delivery-help { margin: 10px 0 !important; font-size: 13px !important; line-height: 1.55 !important; color: #49463f; text-align: left; }
.woocommerce-page .stixis-delivery-current { margin: 10px 0 0 !important; font-size: 14px !important; line-height: 1.5; color: #31302c; font-weight: 600; text-align: left; }

/* One carrier selection; recurring totals below already show the normal rate. */
body.woocommerce-page #order_review table:has(.stixis-delivery-plan-row) tr:has(#recurring_shipping_method), body.woocommerce-page .cart_totals table:has(.stixis-delivery-plan-row) tr:has(#recurring_shipping_method) { display: none !important; }

.woocommerce-page .stixis-delivery-plan legend { text-transform: none !important; }
.woocommerce-page .stixis-delivery-option strong { font-weight: 700 !important; }

.stixis-delivery-error { color: #a52f17; font-weight: 600; text-align: left; }
.stixis-delivery-error[hidden] { display: none !important; }
