/* Original Checkout/CheckoutSummary design applied to the complete Woo form. */
.checkout-page .native-surface-checkout { --chanand-checkout-image-width: 64px; --chanand-checkout-image-height: 80px; }
.checkout-page .native-surface-checkout form[data-chanand-checkout-enhanced] { display: block; margin: 0; }
.checkout-page .native-surface-checkout form[data-chanand-checkout-enhanced] #order_review { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 96px; align-items: start; width: 100%; float: none; margin: 0; padding: 0; background: transparent; }
.checkout-page .native-surface-checkout form[data-chanand-checkout-enhanced] #order_review > :not(.chanand-checkout-form-column):not(.chanand-checkout-summary) { grid-column: 1 / -1; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column { grid-column: 1; min-width: 0; }
.checkout-page .native-surface-checkout .chanand-checkout-summary { grid-column: 2; min-width: 0; padding: 32px; background: var(--surface); }
.checkout-page .native-surface-checkout .chanand-checkout-summary #order_review_heading { display: block; margin: 0 0 24px; padding: 0; background: transparent; font: 400 23px/normal Manrope, Arial, sans-serif; letter-spacing: -.025em; }
.checkout-page .native-surface-checkout .checkout-progress { margin: 0 0 40px; font: 400 13px/normal Manrope, Arial, sans-serif; }
.checkout-page .native-surface-checkout .checkout-section-heading { align-items: baseline; }
.checkout-page .native-surface-checkout .checkout-section-heading .text-link { min-height: 0; padding: 0; color: var(--ink); font: 400 13px/normal Manrope, Arial, sans-serif; background: transparent; border: 0; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column #customer_details { display: block; float: none; width: 100%; margin: 0; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column #customer_details[hidden],
.checkout-page .native-surface-checkout .chanand-checkout-form-column [hidden] { display: none !important; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column #customer_details :where(.col-1, .col-2) { width: 100%; margin: 0 0 36px; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column :where(h2, h3) { margin: 0 0 24px; font: 400 23px/normal Manrope, Arial, sans-serif; letter-spacing: -.025em; }
.checkout-page .native-surface-checkout .chanand-checkout-field-heading { grid-column: 1 / -1; margin-bottom: 4px; }
.checkout-page .native-surface-checkout .chanand-checkout-contact-field + .chanand-checkout-field-heading { margin-top: 16px; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column :where(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 16px; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column .form-row { min-width: 0; padding: 0; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column .chanand-checkout-contact-field { grid-column: 1 / -1; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column :where(#billing_country_field, #billing_address_1_field, #billing_address_2_field, #billing_city_field, #billing_state_field, #billing_postcode_field) { grid-column: auto; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column :where(#billing_country_field, #billing_address_1_field, #billing_address_2_field) { grid-column: 1 / -1; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column .form-row > label { display: block; margin-bottom: 8px; font: 400 13px/normal Manrope, Arial, sans-serif; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column :where(.input-text, textarea, select) { min-height: 50px; padding: 12px; border: 1px solid var(--line); color: var(--ink); background: transparent; border-radius: 0; font: 400 16px/normal Manrope, Arial, sans-serif; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column :where(input, select, textarea):focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column .woocommerce-invalid :where(input, select, textarea) { border-color: #943e30; }
.checkout-page .native-surface-checkout .chanand-checkout-form-column .checkout-error:empty { display: none; }
.checkout-page .native-surface-checkout .chanand-checkout-continue { width: 100%; }
.checkout-page .native-surface-checkout .checkout-address { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.checkout-page .native-surface-checkout .checkout-address p { margin: 6px 0; font-size: 15px; }
.checkout-page .native-surface-checkout .checkout-review #payment { margin: 0; padding: 0; width: 100%; background: transparent; }
.checkout-page .native-surface-checkout .checkout-review #payment :where(.payment_methods, .place-order) { padding-left: 0; padding-right: 0; }
.checkout-page .native-surface-checkout .checkout-review #payment .payment_box { border-radius: 0; background: var(--surface); }
.checkout-page .native-surface-checkout .checkout-review #payment .payment_box::before { border-bottom-color: var(--surface); }
.checkout-page .native-surface-checkout .checkout-review #place_order { font: 400 11px/normal Manrope, Arial, sans-serif; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .woocommerce-checkout-review-order-table { width: 100%; margin: 0 0 24px; border: 0; border-collapse: collapse; font-size: 13px; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .woocommerce-checkout-review-order-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .woocommerce-checkout-review-order-table tbody td { padding: 16px 0; vertical-align: middle; background: transparent; border: 0; }
.checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .product-name:has(.chanand-checkout-thumbnail, > figure.ct-media-container, > .ct-checkout-cart-item > figure.ct-media-container) { position: relative; min-height: 112px; height: 112px; padding-left: 80px; padding-right: 16px; }
/* The installed Blocksy review row places its figure inside
   .ct-checkout-cart-item, beside the content/title containing our fallback.
   Preserve that complete native wrapper, image and quantity/meta subtree. */
.checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .product-name > .ct-checkout-cart-item { display: block; position: static; width: auto; min-width: 0; height: auto; min-height: 0; margin: 0; padding: 0; gap: 0; }
.checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .ct-checkout-cart-item > .ct-checkout-cart-item-content,
.checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .ct-checkout-cart-item-title { display: block; width: auto; min-width: 0; margin: 0; padding: 0; }
.checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .product-name:has(> figure.ct-media-container) > .chanand-checkout-thumbnail,
.checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .ct-checkout-cart-item:has(> figure.ct-media-container) > .ct-checkout-cart-item-content > .ct-checkout-cart-item-title > .chanand-checkout-thumbnail { display: none; }
.checkout-page .native-surface-checkout .chanand-checkout-thumbnail,
.checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .product-name > figure.ct-media-container,
.checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .product-name > .ct-checkout-cart-item > figure.ct-media-container { position: absolute; top: 50%; left: 0; transform: translateY(-50%); display: block; width: var(--chanand-checkout-image-width); height: var(--chanand-checkout-image-height); max-width: var(--chanand-checkout-image-width); max-height: var(--chanand-checkout-image-height); margin: 0; padding: 0; aspect-ratio: auto; overflow: hidden; }
.checkout-page .native-surface-checkout .chanand-checkout-thumbnail img,
.checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .product-name > figure.ct-media-container img,
.checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .product-name > .ct-checkout-cart-item > figure.ct-media-container img { position: static; display: block; width: var(--chanand-checkout-image-width); height: var(--chanand-checkout-image-height); max-width: 100%; max-height: 100%; margin: 0; object-fit: contain; mix-blend-mode: multiply; }
.checkout-page .native-surface-checkout .chanand-checkout-product-name { display: block; font: 400 14px/1.5 Manrope, Arial, sans-serif; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .product-quantity { display: inline-block; margin-top: 6px; font-weight: 400; color: var(--muted); }
.checkout-page .native-surface-checkout .chanand-checkout-summary :where(dl.variation, dl.variation p) { margin: 6px 0 0; padding: 0; color: var(--muted); font-size: 13px; }
.checkout-page .native-surface-checkout .chanand-checkout-summary dl.variation :where(dt, dd) { float: none; display: inline; margin: 0; font-weight: 400; }
.checkout-page .native-surface-checkout .chanand-checkout-summary dl.variation dd::after { content: ""; display: block; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .woocommerce-checkout-review-order-table tfoot { border-top: 1px solid var(--line); font-size: 14px; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .woocommerce-checkout-review-order-table tfoot :where(th, td) { padding: 12px 0; border: 0; background: transparent; font-weight: 400; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .woocommerce-checkout-review-order-table tfoot td { padding-left: 20px; text-align: right; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .woocommerce-checkout-review-order-table tfoot strong { font-weight: 500; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .woocommerce-checkout-review-order-table .shipping :where(th, td) { vertical-align: top; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .woocommerce-shipping-methods li { margin-bottom: 8px; }
.checkout-page .native-surface-checkout .chanand-checkout-summary .woocommerce-shipping-methods input { margin-right: 6px; }
.checkout-page .native-surface-checkout .chanand-checkout-summary > .text-link { display: inline-block; font-size: 13px; }
.checkout-page .native-surface-checkout .woocommerce-form-coupon-toggle { font-size: 14px; }
.checkout-page .native-surface-checkout .checkout_coupon { margin: 12px 0 32px; padding: 20px; border: 1px solid var(--line); border-radius: 0; background: transparent; }
.checkout-page .native-surface-checkout .checkout_coupon :where(.form-row-first, .form-row-last) { float: none; display: inline-block; vertical-align: bottom; width: auto; max-width: 100%; margin-right: 12px; }
.checkout-page .native-surface-checkout .checkout_coupon .button { min-height: 50px; }
/* The coupon form stays a sibling of checkout. Only its visual box follows the
   original summary slot, including when that summary sticks during scrolling. */
.checkout-page .native-surface-checkout .chanand-checkout-coupon { position: fixed; z-index: 1; padding: 24px 0; margin: 0; background: var(--surface); }
.checkout-page .native-surface-checkout .chanand-checkout-coupon-row > tr > td { padding: 0 !important; }
.checkout-page .native-surface-checkout .chanand-checkout-coupon-slot { width: 100%; }
.checkout-page .native-surface-checkout .chanand-checkout-coupon-design .woocommerce-info { padding: 0; margin: 0; border: 0; background: transparent; }
.checkout-page .native-surface-checkout .chanand-checkout-coupon-design .woocommerce-info::before { content: none; }
.checkout-page .native-surface-checkout .chanand-checkout-coupon-design .showcoupon { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 16px; font: 400 14px/normal Manrope, Arial, sans-serif; text-decoration: none; }
.checkout-page .native-surface-checkout .chanand-checkout-coupon-design .showcoupon[aria-expanded="true"] svg { transform: rotate(180deg); }
.checkout-page .native-surface-checkout .chanand-checkout-coupon-design .checkout_coupon { margin: 12px 0 0; padding: 0; border: 0; }
.checkout-page .native-surface-checkout .chanand-checkout-coupon .checkout_coupon > p:first-child { font-size: 13px; line-height: 1.6; }
.checkout-page .native-surface-checkout .chanand-checkout-coupon .checkout_coupon .form-row-first { width: calc(100% - 96px); margin-right: 12px; }
.checkout-page .native-surface-checkout .chanand-checkout-coupon .checkout_coupon .form-row-last { margin-right: 0; }
.checkout-page .native-surface-checkout .chanand-checkout-coupon .checkout_coupon label { display: block; margin-bottom: 8px; font-size: 13px; }
.checkout-page .native-surface-checkout .chanand-checkout-coupon .checkout_coupon input { width: 100%; }
@media (max-width: 1100px) {
  .checkout-page .native-surface-checkout form[data-chanand-checkout-enhanced] #order_review { column-gap: 40px; }
  .checkout-page .native-surface-checkout .chanand-checkout-summary { padding: 24px; }
}
@media (max-width: 767px) {
  .checkout-page .native-surface-checkout { --chanand-checkout-image-width: 48px; --chanand-checkout-image-height: 64px; }
  .checkout-page .native-surface-checkout form[data-chanand-checkout-enhanced] #order_review { display: flex; flex-direction: column; gap: 40px; }
  .checkout-page .native-surface-checkout :where(.chanand-checkout-form-column, .chanand-checkout-summary) { width: 100%; }
  .checkout-page .native-surface-checkout .chanand-checkout-summary { position: static; padding: 24px 16px; }
  .checkout-page .native-surface-checkout .checkout-progress { gap: 16px; font-size: 12px; }
  .checkout-page .native-surface-checkout .chanand-checkout-form-column :where(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper) { grid-template-columns: minmax(0, 1fr); }
  .checkout-page .native-surface-checkout .woocommerce-checkout-review-order-table .product-name:has(.chanand-checkout-thumbnail, > figure.ct-media-container, > .ct-checkout-cart-item > figure.ct-media-container) { min-height: 96px; height: 96px; padding-left: 60px; padding-right: 12px; }
}
