.ssp-line-price { display:inline-flex; flex-wrap:wrap; justify-content:flex-end; align-items:baseline; gap:4px 8px; }
.ssp-line-price del { opacity:.65; font-size:.9em; }
.ssp-line-price ins { text-decoration:none; background:none; font-weight:600; color:#2d3e33; }
.ssp-line-price small { flex-basis:100%; display:block; color:#2d3e33; font-size:12px; line-height:1.4; }
.woocommerce table .ssp-savings-row th,.woocommerce table .ssp-savings-row td { background:#f3f4ee !important; color:#2d3e33; padding:16px !important; }
.ssp-savings-row th small { display:block; font-size:12px; line-height:1.4; font-weight:400; margin-top:5px; }
.ssp-savings-row strong { font-size:20px; white-space:nowrap; }
.woocommerce table .ssp-gifts-row td { padding:18px 0 !important; text-align:left !important; }
.woocommerce table .ssp-gifts-row td::before { display:none !important; }
.ssp-gift-heading { font-weight:600; margin:0 0 10px; color:#2d3e33; }
.woocommerce .ssp-purchase-gifts { list-style:none; margin:0; padding:0; }
.woocommerce .ssp-purchase-gifts li { display:flex; gap:10px; align-items:center; margin:0; padding:9px 0; border-bottom:1px solid #e7e4db; font-size:14px; line-height:1.4; }
.ssp-purchase-gifts li img { width:48px !important; height:48px !important; flex:0 0 48px; object-fit:contain; border-radius:6px; }
.ssp-purchase-gifts li span { flex:1; min-width:0; overflow-wrap:anywhere; }
.ssp-purchase-gifts li strong { color:#2d3e33; font-size:13px; white-space:nowrap; }
.ssp-purchase-gifts li .ssp-gift-price { flex:0 0 auto; display:flex; gap:8px; align-items:baseline; justify-content:flex-end; flex-wrap:wrap; max-width:120px; }
.ssp-gift-price del { font-size:12px; opacity:.7; white-space:nowrap; }
.ssp-savings-detail th,.ssp-savings-detail td { font-size:13px; }
@media(max-width:600px) {
 .woocommerce table .ssp-savings-row td { text-align:right !important; }
 .woocommerce table .ssp-gifts-row td { display:table-cell; }
 .ssp-savings-row th small { max-width:180px; }
}
/* Clear hierarchy and aligned label/amount pairs in cart and checkout. */
.woocommerce .cart_totals table.shop_table tr,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr {
 display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:baseline; column-gap:14px;
}
.woocommerce .cart_totals table.shop_table tr > th,
.woocommerce .cart_totals table.shop_table tr > td,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr > th,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr > td {
 display:block !important; box-sizing:border-box; width:auto !important; padding:12px 0 !important; margin:0; border:0; text-align:left; font-size:14px; line-height:1.4;
}
.woocommerce .cart_totals table.shop_table tr > td,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr > td { text-align:right !important; }
.woocommerce .cart_totals table.shop_table tr > td::before { display:none !important; }
.woocommerce .cart_totals table.shop_table tr.shipping,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.shipping { grid-template-columns:minmax(0,1fr); }
.woocommerce .cart_totals table.shop_table tr.shipping > td,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.shipping > td { text-align:left !important; }
.woocommerce .cart_totals table.shop_table tr.order-total,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.order-total { background:#f1f5ef; color:#2d3e33; border:1px solid #cbd5c7; padding:8px 14px; margin:12px 0; border-radius:6px; align-items:start; }
.woocommerce .cart_totals table.shop_table tr.order-total > th,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.order-total > th { font-size:23px; font-weight:700; color:#2d3e33; }
.woocommerce .order-total td > strong { display:block; font-size:26px !important; font-weight:700; line-height:1.2; color:inherit; white-space:nowrap; }
.woocommerce .order-total .includes_tax { display:block; font-size:11px; line-height:1.4; font-weight:400; max-width:180px; margin-top:6px; }
.woocommerce .cart_totals table.shop_table tr.ssp-savings-row,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.ssp-savings-row { background:#f3f4ee; padding:0 12px; border-radius:4px; }
.woocommerce table .ssp-savings-row strong { font-size:18px; }
.woocommerce table .ssp-savings-row th small { font-size:12px; margin-top:5px; }
.woocommerce table .woocommerce-Price-amount { white-space:nowrap; font-variant-numeric:tabular-nums; }
.ssp-purchase-gifts li .ssp-gift-price { flex-wrap:nowrap; max-width:none; }
.ssp-line-price del,.ssp-line-price ins,.ssp-line-price small { white-space:nowrap; }
.ssp-line-price .screen-reader-text { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }

/* Keep totals full width below the two product columns. */
.woocommerce table.woocommerce-checkout-review-order-table tfoot { display:table-caption; caption-side:bottom; width:100%; }

.woocommerce .cart_totals table.shop_table tr.ssp-savings-row > th,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.ssp-savings-row > th { font-size:17px; font-weight:600; }
.woocommerce .order-total td { color:#2d3e33 !important; }
.woocommerce table.woocommerce-checkout-review-order-table .product-total,
.woocommerce table.shop_table th.product-subtotal,
.woocommerce table.shop_table td.product-subtotal { text-align:right !important; }
/* One savings card, in the native discount position below the subtotal. */
.woocommerce .cart_totals table.shop_table tr.coupon-solsanador-pack-auto,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.coupon-solsanador-pack-auto {
 background:#2d3e33; color:#fff; border:1px solid #2d3e33; border-radius:6px; padding:4px 14px; margin:10px 0 14px; align-items:start; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
}
.woocommerce .cart_totals table.shop_table tr.coupon-solsanador-pack-auto > th,
.woocommerce .cart_totals table.shop_table tr.coupon-solsanador-pack-auto > td,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.coupon-solsanador-pack-auto > th,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.coupon-solsanador-pack-auto > td { color:#fff !important; background:transparent; border:0; }
.ssp-saving-title { display:block; font-size:20px; line-height:1.25; font-weight:600; }
.ssp-saving-amount { display:block; font-size:28px; line-height:1.15; font-weight:700; color:#fff; }
.ssp-saving-caption { display:block; font-size:12px; line-height:1.5; font-weight:400; margin-top:7px; color:#edf2e9; }
.ssp-saving-breakdown { display:block; font-size:12px; line-height:1.6; font-weight:400; margin-top:8px; color:#fff; }
.woocommerce .cart_totals table.shop_table tr.coupon-solsanador-pack-auto,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.coupon-solsanador-pack-auto { grid-template-columns:minmax(0,1fr) auto; }
.ssp-saving-title { font-size:18px; }
.ssp-saving-percent { white-space:nowrap; }
.ssp-saving-amount { white-space:nowrap; }
/* Savings is an informational benefit, distinct from the payable total. */
.woocommerce .cart_totals table.shop_table tr.ssp-savings-row,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.ssp-savings-row {
 background:#faf6e9; border:1px solid #dbcca5; border-left:3px solid #b69a52; border-radius:6px; padding:4px 14px; margin:14px 0; align-items:start;
}
.woocommerce table .ssp-savings-row th,
.woocommerce table .ssp-savings-row td { background:transparent !important; color:#4a4b35 !important; }
.woocommerce table .ssp-savings-row strong { font-size:24px; line-height:1.3; }
.woocommerce .cart_totals table.shop_table tr.ssp-savings-row > th,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.ssp-savings-row > th { font-size:19px; }
.woocommerce table .ssp-savings-row th small { font-size:12px; line-height:1.6; font-weight:400; margin-top:7px; max-width:360px; }
/* Keep the applied discount secondary to the complete savings benefit. */
.woocommerce .cart_totals table.shop_table tr.coupon-solsanador-pack-auto,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.coupon-solsanador-pack-auto {
 background:transparent; border:0; border-radius:0; padding:0; margin:0; align-items:baseline;
}
.woocommerce .cart_totals table.shop_table tr.coupon-solsanador-pack-auto > th,
.woocommerce .cart_totals table.shop_table tr.coupon-solsanador-pack-auto > td,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.coupon-solsanador-pack-auto > th,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.coupon-solsanador-pack-auto > td { color:#2d3e33 !important; }
.ssp-saving-title { font-size:16px; font-weight:600; line-height:1.4; }
.ssp-saving-amount { font-size:19px; font-weight:600; color:#2d3e33; }
.ssp-saving-caption { color:#687365; font-size:12px; margin-top:4px; }
.woocommerce table .ssp-savings-row strong { font-size:28px; font-weight:700; }
.woocommerce .cart_totals table.shop_table tr.ssp-savings-row > th,
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr.ssp-savings-row > th { font-size:20px; font-weight:700; }
