/* Reveal the native initial total. The payment-summary module presents supported
   renewal schedules separately using Subscriptions' calculated recurring carts. */
.woocommerce table.woocommerce-checkout-review-order-table > thead th.product-name {
 font-size: 16px !important;
 font-weight: 600;
}
.woocommerce table.woocommerce-checkout-review-order-table > thead th.product-total { font-weight: 600; }
.woocommerce table.woocommerce-checkout-review-order-table .cart_item > .product-name {
 font-size: 18px !important;
 font-weight: 500;
 line-height: 1.45;
}
.woocommerce table.woocommerce-checkout-review-order-table .cart_item > .product-total .amount {
 font-size: 18px !important;
 font-weight: 500 !important;
}
.woocommerce-checkout-review-order-table .product-total .amount bdi,
.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) .amount bdi {
 font-size: inherit;
 font-weight: inherit;
}
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) {
 display: table-row !important;
}
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) > th,
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) > td {
 padding: 18px;
 border-top: 2px solid #dfe5d8;
 background: #f4f7ef;
 color: #303e23;
 vertical-align: middle;
}
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) > th {
 text-align: left;
 font-size: 18px;
 font-weight: 700;
}
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) > td {
 text-align: right;
}
.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) .amount {
 white-space: nowrap;
 font-size: 22px !important;
 font-weight: 700;
 color: #303e23;
}
.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) .includes_tax {
 display: block;
 margin-top: 4px;
 font-size: 12px;
 line-height: 1.4;
 font-weight: 400;
}
.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) .includes_tax .amount {
 font-size: inherit !important;
}
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-recurring-payment,
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-one-time-note { display: table-row !important; }
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-recurring-payment > th,
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-recurring-payment > td {
 padding: 16px 18px;
 background: #fafbf8;
 vertical-align: middle;
}
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-recurring-payment > th {
 font-size: 16px;
 font-weight: 500;
 text-align: left;
 line-height: 1.4;
}
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-recurring-payment > td { text-align: right; }
.woocommerce-checkout-review-order-table .lifdu-recurring-payment .amount {
 font-size: 18px !important;
 font-weight: 600;
 white-space: nowrap;
}
.woocommerce-checkout-review-order-table .lifdu-recurring-payment .amount bdi { font-size: inherit; font-weight: inherit; }
.woocommerce-checkout-review-order-table .lifdu-recurring-payment small { display: block; font-size: 12px; margin-top: 4px; }
.woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-one-time-note > td {
 padding: 12px 18px;
 font-size: 14px;
 font-weight: 400;
 line-height: 1.5;
 text-align: left;
 color: #5a644f;
}
@media (max-width: 767px) {
 .woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-recurring-payment > th,
 .woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-recurring-payment > td { padding: 14px 6px; }
 .woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-recurring-payment > th { font-size: 14px; }
 .woocommerce-checkout-review-order-table .lifdu-recurring-payment .amount { font-size: clamp(16px, 4.6vw, 18px) !important; }
 .woocommerce table.woocommerce-checkout-review-order-table > tfoot > .lifdu-one-time-note > td { padding: 12px; font-size: 13px; }
 .woocommerce table.woocommerce-checkout-review-order-table { width: 100%; table-layout: fixed; }
 .woocommerce table.woocommerce-checkout-review-order-table > thead th.product-name { width: 64%; box-sizing: border-box; }
 .woocommerce table.woocommerce-checkout-review-order-table > thead th.product-total { width: 36%; box-sizing: border-box; }
 .woocommerce table.woocommerce-checkout-review-order-table > thead th.product-total {
  padding: 14px 6px;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
 }
 .woocommerce table.woocommerce-checkout-review-order-table .cart_item:not(.lifdu-plan-row) > .product-name {
  padding-left: 12px !important;
  font-size: 17px !important;
  overflow-wrap: anywhere;
 }
 .woocommerce table.woocommerce-checkout-review-order-table .cart_item:not(.lifdu-plan-row) > .product-total { padding-left: 8px; padding-right: 8px; }
 .woocommerce table.woocommerce-checkout-review-order-table .cart_item:not(.lifdu-plan-row) > .product-total .amount { font-size: clamp(16px, 4.6vw, 18px) !important; white-space: nowrap; }
 .woocommerce table.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) > th,
 .woocommerce table.woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) > td { padding: 14px 6px; }
 .woocommerce-checkout-review-order-table > tfoot > tr.order-total:not(.recurring-total) .amount { font-size: clamp(16px, 5.4vw, 21px) !important; }
 /* Existing introductory-plan cards already stack their cells on mobile.
    Keep them full-width when the newly visible footer creates table columns. */
 .woocommerce table.woocommerce-checkout-review-order-table:has(.lifdu-plan-row):not(:has(.cart_item:not(.lifdu-plan-row))),
 .woocommerce table.woocommerce-checkout-review-order-table:has(.lifdu-plan-row):not(:has(.cart_item:not(.lifdu-plan-row))) > tbody,
 .woocommerce table.woocommerce-checkout-review-order-table:has(.lifdu-plan-row):not(:has(.cart_item:not(.lifdu-plan-row))) > tfoot {
  display: block;
  width: 100%;
 }
 .woocommerce table.woocommerce-checkout-review-order-table:has(.lifdu-plan-row):not(:has(.cart_item:not(.lifdu-plan-row))) > tfoot > tr.order-total:not(.recurring-total) {
  display: flex !important;
  width: 100%;
 }
 .woocommerce table.woocommerce-checkout-review-order-table:has(.lifdu-plan-row):not(:has(.cart_item:not(.lifdu-plan-row))) > tfoot > tr.order-total:not(.recurring-total) > th { flex: 1; }
 .woocommerce table.woocommerce-checkout-review-order-table:has(.lifdu-plan-row):not(:has(.cart_item:not(.lifdu-plan-row))) > tfoot > tr.order-total:not(.recurring-total) .amount { font-size: 22px !important; }
}
