/* WordPress-only additions (pages, cart, checkout) on top of the Impact theme.css */
.mg-page { padding-block: 40px 70px; }
.mg-page__title { margin-bottom: 24px; }
.mg-page__content { max-width: 860px; }
.mg-page__content h1, .mg-page__content h2, .mg-page__content h3 { margin-top: 1.4em; }
.mg-page__content p, .mg-page__content li { line-height: 1.65; }
.woocommerce-cart .mg-page__content, .woocommerce-checkout .mg-page__content, .woocommerce-account .mg-page__content { max-width: 1150px; margin-inline: auto; }

/* checkout: minimal header like Shopify checkout */
.mg-co-header { display: flex; justify-content: center; padding: 22px 16px; border-bottom: 1px solid #e6e6e6; background: #fff; }
.mg-co-header img { width: 200px; height: auto; display: block; }
.woocommerce-checkout .mg-page { padding-top: 24px; }

/* WooCommerce blocks: brand colours (orange buttons like the product page) */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: #E8742A !important; color: #fff !important; border-radius: 8px !important; border: 0 !important;
  font-weight: 700; min-height: 54px;
}
.wc-block-components-button:not(.is-link):hover { filter: brightness(.95); }
.wc-block-components-totals-fees .wc-block-components-totals-item__value { color: #2a9239; }
.wc-block-components-product-name { font-weight: 600; }
body.woocommerce-checkout, body.woocommerce-cart { background: #fff; }
.mg-page .wc-block-components-text-input input, .mg-page .wc-block-components-combobox input, .mg-page select { border-radius: 6px; }

/* Impact sets body to a grid; WordPress pages without the full-width header need an explicit full-width column */
body { grid-template-columns: minmax(0, 1fr); }
.mg-page.container { margin-inline: auto; max-width: 1200px; padding-inline: 24px; width: 100%; box-sizing: border-box; }
