/* AFT transaction surfaces. Native WooCommerce blocks, validation and payment stay in control. */
.aft-transaction-page #page #content {
  --aft-paper: #fff; --aft-ink: #202b26; --aft-muted: #536159;
  --aft-line: #d7dfd9; --aft-soft: #f1f5f0; --aft-field: #fff;
  --aft-field-border: #89978f; --aft-accent: #315d43; --aft-hover: #244b34;
  --aft-error: #a12721; --wc-separator-color: #d7dfd9; --wc-form-color-text: #202b26;
  background: #f4f6f2; color: var(--aft-ink); color-scheme: light;
  font: 400 16px/1.6 Arial, Helvetica, sans-serif;
}
.aft-transaction-page #page #content .ast-container { max-width: 1240px; padding-inline: 28px; }
.aft-transaction-page #page #content #primary { width: 100%; margin-block: 0; padding-block: 40px 64px; }
.aft-transaction-page #page #content .ast-article-single { background: transparent; padding: 0; }
.aft-transaction-page #page #content .entry-header { margin: 0 0 16px; }
.aft-transaction-page #page #content h1 { color: var(--aft-ink); font: 600 40px/1.15 Arial, Helvetica, sans-serif; letter-spacing: -1.2px; }
.aft-transaction-page #page #content h2,
.aft-transaction-page #page #content h3 { color: var(--aft-ink); font: 600 23px/1.3 Arial, Helvetica, sans-serif; letter-spacing: -.4px; }
.aft-transaction-page #page #content p { line-height: 1.6; }
.aft-transaction-page #page #content a { color: #28533a; text-underline-offset: 3px; }
.aft-transaction-page #page #content a:hover { color: #183d27; }
.aft-transaction-page #page #content :where(a,button,input,select,textarea):focus-visible { outline: 3px solid #315d43; outline-offset: 3px; }
.aft-transaction-page #page #content .aft-transaction-intro { margin: 0 0 32px; max-width: 720px; color: var(--aft-muted); font-size: 17px; }
.aft-transaction-page #page #content .wc-block-cart,
.aft-transaction-page #page #content .wc-block-checkout { font-size: 16px; line-height: 1.6; color: var(--aft-ink); --wc-separator-color: #d7dfd9; --wc-form-color-text: #202b26; }
.aft-transaction-page #page #content .wc-block-components-main { background: #fff; border: 1px solid var(--aft-line); border-radius: 16px; padding: 30px; min-width: 0; }
.aft-transaction-page #page #content .wc-block-components-sidebar { background: #fff; border: 1px solid var(--aft-line); border-radius: 16px; padding: 24px; min-width: 0; }
.aft-transaction-page #page #content .wc-block-checkout__sidebar.is-sticky { top: 24px; }
.admin-bar.aft-transaction-page #page #content .wc-block-checkout__sidebar.is-sticky { top: 56px; }
.aft-transaction-page #page #content .wc-block-components-checkout-step { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--aft-line); }
.aft-transaction-page #page #content .wc-block-components-checkout-step__heading { margin-bottom: 16px; }
.aft-transaction-page #page #content .wc-block-components-checkout-step__description { color: var(--aft-muted); font-size: 15px; }
.aft-transaction-page #page #content .wc-block-components-text-input input,
.aft-transaction-page #page #content .wc-block-components-combobox input,
.aft-transaction-page #page #content .wc-blocks-components-select__select,
.aft-transaction-page #page #content .wc-block-components-select__select,
.aft-transaction-page #page #content .wc-block-components-textarea {
  background: #fff; color: var(--aft-ink); border: 1px solid var(--aft-field-border);
  border-radius: 8px; min-height: 58px; font: 400 16px/1.5 Arial, Helvetica, sans-serif;
}
.aft-transaction-page #page #content .wc-block-components-text-input input { padding: 24px 16px 8px; }
.aft-transaction-page #page #content .wc-block-components-text-input:not(.is-active) input { padding-block: 16px; }
.aft-transaction-page #page #content .wc-block-components-text-input label,
.aft-transaction-page #page #content .wc-blocks-components-select__label,
.aft-transaction-page #page #content .wc-block-components-select__label { color: #47594d; }
.aft-transaction-page #page #content .wc-blocks-components-select__container { background: #fff; color: var(--aft-ink); border-radius: 8px; }
.aft-transaction-page #page #content .wc-blocks-components-select__expand { fill: #47594d; }
.aft-transaction-page #page #content .wc-block-components-address-card { background: #f1f5f0; color: var(--aft-ink); border-radius: 8px; padding: 16px; font-size: 16px; }
.aft-transaction-page #page #content .wc-block-components-address-card__edit { color: #28533a; font-size: 15px; min-width: 44px; min-height: 44px; }
.aft-transaction-page #page #content .wc-block-components-checkbox__label,
.aft-transaction-page #page #content .wc-block-components-radio-control__label,
.aft-transaction-page #page #content .wc-block-components-radio-control__secondary-label { color: var(--aft-ink); font-size: 16px; line-height: 1.5; }
.aft-transaction-page #page #content .wc-block-components-checkbox { min-height: 44px; align-items: center; }
.aft-transaction-page #page #content .wc-block-components-checkbox__input { background: #fff; border-color: var(--aft-field-border); border-radius: 4px; }
.aft-transaction-page #page #content .wc-block-components-checkbox__input:checked { background: #315d43; border-color: #315d43; }
.aft-transaction-page #page #content .wc-block-components-checkbox__mark { fill: #fff; }
.aft-transaction-page #page #content .wc-block-components-radio-control__input { background: #fff; border-color: #72847a; }
.aft-transaction-page #page #content .wc-block-components-radio-control__input:checked { border-color: #315d43; }
.aft-transaction-page #page #content .wc-block-components-radio-control__input:checked:before { background: #315d43; }
.aft-transaction-page #page #content .wc-block-components-radio-control__option { padding-block: 18px; color: var(--aft-ink); border-radius: 8px; }
.aft-transaction-page #page #content .wc-block-components-radio-control__option-checked { background: #edf4eb; box-shadow: inset 0 0 0 1px #63816c; }
.aft-transaction-page #page #content .wc-block-components-radio-control-accordion-content { padding: 18px; background: #f5f8f3; font-size: 16px; line-height: 1.65; border-radius: 0 0 8px 8px; }
.aft-transaction-page #page #content .wc-block-components-radio-control-accordion-content p { margin: 0; }
.aft-transaction-page #page #content .wc-block-components-checkout-order-summary__title { font-size: 21px; font-weight: 600; }
.aft-transaction-page #page #content .wp-block-woocommerce-checkout-order-summary-block { border: 0; }
.aft-transaction-page #page #content .wc-block-components-product-name,
.aft-transaction-page #page #content .wc-block-components-order-summary-item__description h3 { color: var(--aft-ink); font: 600 16px/1.5 Arial, Helvetica, sans-serif; letter-spacing: 0; }
.aft-transaction-page #page #content .wc-block-components-product-metadata,
.aft-transaction-page #page #content .wc-block-components-product-details,
.aft-transaction-page #page #content .wc-block-components-order-summary-item__description p { color: var(--aft-muted); font-size: 14px; line-height: 1.5; }
.aft-transaction-page #page #content .wc-block-components-totals-item { padding-block: 16px; font-size: 16px; }
.aft-transaction-page #page #content .wc-block-components-totals-item__value { font-weight: 600; }
.aft-transaction-page #page #content .wc-block-components-totals-footer-item { padding-top: 22px; font-size: 23px; font-weight: 600; }
.aft-transaction-page #page #content .wc-block-components-order-summary-item__quantity { color: #fff; background: #315d43; border-radius: 50%; }
.aft-transaction-page #page #content .wc-block-components-order-summary-item__quantity span { color: #fff; }
.aft-transaction-page #page #content .wc-block-components-panel__button { min-height: 48px; color: var(--aft-muted); font-size: 15px; }
.aft-transaction-page #page #content .wc-block-checkout__terms { color: var(--aft-muted); font-size: 14px; line-height: 1.6; }
.aft-transaction-page #page #content .wc-block-components-button:not(.is-link),
.aft-transaction-page #page #content .wc-block-cart__submit-button,
.aft-transaction-page #page #content .woocommerce-order .button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 56px;
  background: #315d43; color: #fff; border: 1px solid #315d43; border-radius: 8px;
  padding: 16px 22px; font: 600 17px/1.4 Arial, Helvetica, sans-serif; text-decoration: none;
}
.aft-transaction-page #page #content .wc-block-components-button:not(.is-link):hover { background: #244b34; color: #fff; }
.aft-transaction-page #page #content .wc-block-components-button:disabled { opacity: .55; cursor: not-allowed; }
.aft-transaction-page #page #content .wc-block-components-validation-error,
.aft-transaction-page #page #content .wc-block-components-validation-error p { color: #a12721; font-size: 14px; }
.aft-transaction-page #page #content .has-error input,
.aft-transaction-page #page #content .has-error select { border-color: #a12721; }
.aft-transaction-page #page #content .wc-block-components-notice-banner { border-radius: 8px; color: var(--aft-ink); font-size: 16px; background: #edf4eb; }
.aft-transaction-page #page #content .wc-block-components-notice-banner.is-error,
.aft-transaction-page #page #content .wc-block-components-notice-banner.is-warning { background: #fff1ef; color: #84211c; border-color: #c88379; }
.aft-transaction-page #page #content .wc-block-components-notice-banner.is-error > svg { background: #a12721; fill: #fff; }
.aft-transaction-page #page #content .wc-block-components-chip { background: #edf4eb; color: var(--aft-ink); border-radius: 6px; }
.aft-transaction-page #page #content .wc-block-components-skeleton { --wc-skeleton-background: #e5ebe3; --wc-skeleton-highlight: #f4f6f2; }
.aft-transaction-page #page #content .wc-block-components-quantity-selector { background: #fff; border-radius: 8px; }
.aft-transaction-page #page #content .wc-block-components-quantity-selector__button:hover { background: #edf4eb; color: #244b34; }
.aft-transaction-page #page #content .wc-block-cart-items { font-size: 16px; }
.aft-transaction-page #page #content .wc-block-cart-items th { color: var(--aft-muted); font-size: 14px; }
.aft-transaction-page #page #content .wc-block-cart-item__remove-link { color: #536159; font-size: 14px; min-height: 44px; }
.aft-transaction-page #page #content .woocommerce-order { padding: 32px; border: 1px solid var(--aft-line); border-radius: 16px; background: #fff; font-size: 16px; }
.aft-transaction-page #page #content .woocommerce-order table,
.aft-transaction-page #page #content .woocommerce-order address { background: #fff; color: var(--aft-ink); font-size: 16px; border-radius: 8px; }
.aft-transaction-page #page #content .woocommerce-order table th { background: #f1f5f0; color: var(--aft-ink); }
.aft-transaction-page #page #content .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 20px; margin: 24px 0; padding: 0; }
.aft-transaction-page #page #content .woocommerce-order-overview li { float: none; margin: 0; font-size: 14px; }
.aft-transaction-page #page #content .woocommerce-order-overview strong { margin-top: 6px; font-size: 17px; overflow-wrap: anywhere; }
@media (min-width: 901px) {
  .aft-transaction-page #page #content .wc-block-components-sidebar-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 28px; align-items: start; }
  .aft-transaction-page #page #content .wc-block-components-sidebar-layout > .wc-block-components-main,
  .aft-transaction-page #page #content .wc-block-components-sidebar-layout > .wc-block-components-sidebar { width: 100%; margin: 0; }
}
@media (max-width: 900px) {
  .aft-transaction-page #page #content .ast-container { padding-inline: 20px; }
  .aft-transaction-page #page #content #primary { padding-block: 28px 40px; }
  .aft-transaction-page #page #content .wc-block-components-sidebar-layout { display: flex; flex-direction: column; gap: 24px; }
  .aft-transaction-page #page #content .wc-block-components-sidebar-layout > .wc-block-components-main,
  .aft-transaction-page #page #content .wc-block-components-sidebar-layout > .wc-block-components-sidebar { width: 100%; margin: 0; position: static; }
  .aft-transaction-page #page #content .wc-block-components-main { padding: 24px; }
}
@media (max-width: 480px) {
  .aft-transaction-page #page #content .ast-container { padding-inline: 16px; }
  .aft-transaction-page #page #content h1 { font-size: 32px; }
  .aft-transaction-page #page #content h2 { font-size: 21px; }
  .aft-transaction-page #page #content .aft-transaction-intro { font-size: 16px; margin-bottom: 24px; }
  .aft-transaction-page #page #content .wc-block-components-main,
  .aft-transaction-page #page #content .wc-block-components-sidebar,
  .aft-transaction-page #page #content .woocommerce-order { padding: 20px 16px; border-radius: 12px; }
  .aft-transaction-page #page #content .wc-block-components-checkout-step { margin-bottom: 24px; padding-bottom: 24px; }
  .aft-transaction-page #page #content .wc-block-components-order-summary-item__description { min-width: 0; overflow-wrap: anywhere; }
  .aft-transaction-page #page #content .woocommerce-order-overview { display: grid; gap: 16px; }
  .aft-transaction-page #page #content .woocommerce-order-overview li { border: 0; }
}
