/* =============================================================================
   Order-summary breakdown  (2026-10-02)
   checkout/_partials/cart-detailed-totals.tpl (cart page), cart-summary-subtotals.tpl
   (checkout) and cart-summary-totals.tpl (both). Linked from checkout/cart.tpl and
   checkout/checkout.tpl after the page's -premium stylesheet and cart-voucher.css.

   Reads top to bottom as one sum:
     21 items  before GST        ₹6,406.78
     Discount  [NOZZEL100]     - ₹1,694.92
     Shipping                         Free
     Subtotal before GST         ₹4,711.86
     GST @ 18%                  + ₹848.14
     Total incl. GST             ₹5,560.00
     [ You save ₹2,000.00 incl. GST ]
   Row layout, the dividers and the pink total stay with cart-premium.css /
   checkout-premium.css; this file adds the notes, the code chip, the subtotal
   weight and the saving strip. Pink + white only.
   ========================================================================== */

.cart-summary .sk-bd-note {
  margin-left: .25rem;
  color: #8a8290;
  font-size: .78rem;
  font-weight: 400;
  white-space: nowrap;
}

.cart-summary .sk-bd-code {
  display: inline-block;
  margin-left: .35rem;
  padding: .05rem .45rem;
  border: 1px dashed #d50075;
  border-radius: 6px;
  background: #fef0f7;
  color: #d50075;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  vertical-align: .08em;
}

.cart-summary .sk-bd-discount .cart-summary__value {
  color: #9e0056;
  font-weight: 600;
}

/* The pre-GST subtotal is a result line: ink, a little heavier than the lines it sums. */
.cart-summary .sk-bd-subtotal,
.cart-summary .sk-bd-subtotal .cart-summary__label,
.cart-summary .sk-bd-subtotal .cart-summary__value {
  color: #1a0010;
  font-weight: 600;
}

/* GST was a small grey "Taxes:" line; it is one of the steps of the sum, so it looks like the items and
   shipping rows: theme.css sets every span of the totals block bold (`.cart-summary__totals span`), and
   the size stays theme.css's 1rem for `.cart-summary__line span`, like the rows above it. */
.cart-summary .sk-bd-gst .cart-summary__label,
.cart-summary .sk-bd-gst .cart-summary__value {
  font-weight: 400;
}

.cart-summary .sk-bd-saving {
  /* cart-premium.css orders the totals column (lines 1, total 2): the strip comes last. */
  order: 3;
  margin: .6rem 0 0;
  padding: .5rem .75rem;
  border: 1px solid #f0dce8;
  border-radius: 999px;
  background: #fef0f7;
  color: #9e0056;
  font-size: .84rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  text-align: center;
}
