/**
 * Mimoscent cart + checkout presentation.
 *
 * Cart quotes nothing that is settled at checkout. The Cart template puts
 * .factory-products on <main>, and its text-align: center leaks into the
 * injected totals rows and the checkout rate labels. This sheet pins those
 * lines to the left edge. Mini Cart drawer is untouched.
 *
 * Colours: Mimoscent ink/gold tokens (--burgundy is ink #1A1714, --ink, --line).
 */

.mimo-cart-note-ready.woocommerce-cart .wp-block-woocommerce-cart-order-summary-shipping-block,
.mimo-cart-note-ready.woocommerce-cart .wc-block-components-totals-footer-item-shipping {
  display: none !important;
}
.mimo-cart-hidden {
  display: none !important;
}

/* Részösszeg starts at the row's left edge; the amount keeps the right edge. */
.mimo-cart-subtotal {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  text-align: left;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mimo-cart-subtotal .wc-block-components-totals-item__label {
  text-align: left;
}
.mimo-cart-shipping-note {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Cart checkout CTA: filled ink, matching the Mimoscent primary button. */
.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button,
.woocommerce-cart a.wc-block-cart__submit-button {
  background: var(--burgundy) !important;
  border: 1px solid var(--deep) !important;
  border-radius: 0;
  color: var(--cream) !important;
  min-height: 54px;
  font-weight: 650;
  letter-spacing: .01em;
}
.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.woocommerce-cart a.wc-block-cart__submit-button:hover {
  background: var(--deep) !important;
  border-color: var(--deep) !important;
  color: var(--cream) !important;
}

/* Checkout rate rows: both GLS names share one left edge. */
.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__label-group {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 1rem;
}
.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__label {
  flex: 1 1 auto;
  text-align: left;
  color: var(--ink);
}
.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-radio-control__secondary-label {
  flex: 0 0 auto;
  text-align: right;
  color: var(--ink);
}
