/* WooCommerce cart / checkout / account, in the Mayuri brand.
   Loaded only on those pages (Store::woo_styles). All colours are brand tokens,
   so a Site Settings change reaches checkout too. Selectors are scoped to
   body.mf-brand to outrank Hello Elementor's pink default buttons by specificity. */

body.mf-brand.woocommerce-checkout .site-main,
body.mf-brand.woocommerce-cart .site-main,
body.mf-brand.woocommerce-account .site-main { max-width: var(--mf-frame-max, 1320px); margin-inline: auto; padding-inline: var(--mf-frame-gutter, 16px); }

body.mf-brand .page-header .entry-title,
body.mf-brand .wc-block-components-title,
body.mf-brand .wc-block-components-checkout-step__title {
  font-family: var(--mf-font-display); font-weight: 500; color: var(--mf-forest); letter-spacing: -0.01em;
}
body.mf-brand .page-header .entry-title { font-size: var(--mf-type-h1-size, 48px); margin: 32px 0 8px; }

/* Primary actions: Place order, Proceed to checkout. */
body.mf-brand .wc-block-components-button:not(.is-link),
body.mf-brand .wc-block-components-checkout-place-order-button,
body.mf-brand .woocommerce button.button,
body.mf-brand .woocommerce a.button {
  background: var(--mf-saffron); color: #fff;
  border: 0; border-radius: var(--mf-radius-pill, 999px);
  font: 700 16px/1.2 var(--mf-font-sans);
  min-height: 52px; padding: 14px 24px;
  box-shadow: var(--mf-shadow-saffron-glow);
  transition: filter var(--mf-dur-fast, 200ms) var(--mf-ease-out);
}
body.mf-brand .wc-block-components-button:not(.is-link):hover,
body.mf-brand .wc-block-components-checkout-place-order-button:hover,
body.mf-brand .woocommerce button.button:hover,
body.mf-brand .woocommerce a.button:hover { background: var(--mf-saffron); color: #fff; filter: brightness(1.07); }
body.mf-brand .wc-block-components-button:not(.is-link):disabled { opacity: .5; }
body.mf-brand .wc-block-components-button.is-link { color: var(--mf-forest); }

/* Fields. */
body.mf-brand .wc-block-components-text-input input,
body.mf-brand .wc-block-components-combobox .components-combobox-control__input,
body.mf-brand .wc-blocks-components-select .wc-blocks-components-select__select,
body.mf-brand .wc-block-components-textarea {
  border-radius: 12px; border-color: var(--mf-hair); background: var(--mf-card); color: var(--mf-ink);
}
body.mf-brand .wc-block-components-text-input input:focus,
body.mf-brand .wc-blocks-components-select .wc-blocks-components-select__select:focus { border-color: var(--mf-forest); box-shadow: var(--mf-shadow-focus-ring); outline: none; }

/* Pickup location and shipping choices. */
body.mf-brand .wc-block-components-radio-control__option,
body.mf-brand .wc-block-components-radio-control-accordion-option { border-radius: 14px; }
body.mf-brand .wc-block-components-radio-control__input:checked { border-color: var(--mf-forest); }
body.mf-brand .wc-block-components-radio-control__input:checked::before { background: var(--mf-forest); }
body.mf-brand .wc-block-checkout__shipping-method-option.wc-block-checkout__shipping-method-option--selected { border-color: var(--mf-forest); box-shadow: inset 0 0 0 1px var(--mf-forest); }

/* Order summary card. */
body.mf-brand .wp-block-woocommerce-checkout-order-summary-block,
body.mf-brand .wc-block-components-sidebar .wc-block-components-panel,
body.mf-brand .wp-block-woocommerce-cart-order-summary-block {
  background: var(--mf-card); border: 1px solid var(--mf-hair); border-radius: var(--mf-radius-card, 18px);
}
body.mf-brand .wc-block-components-order-summary-item__quantity { background: var(--mf-forest); color: #fff; border-color: var(--mf-forest); }
body.mf-brand .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.mf-brand .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 700; color: var(--mf-ink); }

body.mf-brand .wc-block-components-notice-banner.is-error { border-radius: 12px; }
body.mf-brand .wc-block-checkout__terms,
body.mf-brand .wc-block-components-checkout-step__description { color: var(--mf-body); }
body.mf-brand a { color: var(--mf-forest); }
