.chopcradle .woocommerce { margin-top: 1.45rem; }
.chopcradle .woocommerce .button,
.chopcradle .single_add_to_cart_button {
  min-height: 44px; border-radius: 0; background: #162d2d; color: #fff9ef;
}
.chopcradle .woocommerce:where(form,div) :where(input,select) { min-height: 44px; }
.chopcradle .detail-copy .cart { margin-block: 1rem; }
.chopcradle .detail-copy .quantity { margin-inline-end: .65rem; }
.chopcradle .detail-copy .product-description > * + * { margin-top: .75rem; }
.chopcradle .detail-copy .variations { margin-bottom: .75rem; }

/* WordPress also puts .page on body. The frozen rule belongs only to inner panels. */
body.page:has(> #content > .chopcradle) { padding-block: 0; }
.chopcradle .detail-gallery { min-width: 0; }
.chopcradle .gallery-controls { flex-wrap: wrap; }
.chopcradle .detail-copy button.single_add_to_cart_button.button.alt {
  background: #162d2d; color: #fff9ef;
}
.chopcradle .detail-copy button.single_add_to_cart_button.button.alt:hover { background: #284441; }
.chopcradle #cart-count[data-empty="true"] { display: none; }

/* Keep the approved page's form and summary hierarchy around Woo's native markup. */
.chopcradle #chopcradle-native-checkout #ship-to-different-address label {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
}
.chopcradle #chopcradle-native-checkout #ship-to-different-address-checkbox {
  width: 1rem; height: 1rem; min-height: 0; margin: 0;
}
.chopcradle #chopcradle-native-checkout :is(.woocommerce-info, #payment) {
  border-color: #a09f94; background: #e6e5dc;
}
.chopcradle #chopcradle-native-checkout #payment .payment_box { background: #efebe6; }
.chopcradle #chopcradle-native-cart .cart_totals {
  box-sizing: border-box; width: 100%; float: none; padding: 1rem 1.15rem; background: #e6e5dc;
}
@media (min-width: 900px) {
  .chopcradle #chopcradle-native-checkout form.checkout {
    display: grid;
    grid-template: "fields summary-title" auto "fields summary" 1fr / minmax(0, 1.2fr) minmax(0, 1fr);
    gap: .5rem clamp(1.6rem, 5vw, 5rem);
    align-items: start;
  }
  .chopcradle #chopcradle-native-checkout #customer_details { grid-area: fields; width: 100%; }
  .chopcradle #chopcradle-native-checkout #customer_details > :is(.col-1,.col-2) { float: none; width: 100%; }
  .chopcradle #chopcradle-native-checkout #customer_details > .col-2 { margin-top: 1rem; }
  .chopcradle #chopcradle-native-checkout #order_review_heading { grid-area: summary-title; margin: 0; }
  .chopcradle #chopcradle-native-checkout #order_review { grid-area: summary; min-width: 0; padding: 1rem; background: #e6e5dc; }
  .chopcradle #chopcradle-native-cart .woocommerce:has(> .woocommerce-cart-form) {
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 1fr);
    gap: 0 clamp(1.6rem, 4vw, 4rem); align-items: start;
  }
  .chopcradle #chopcradle-native-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
  .chopcradle #chopcradle-native-cart .woocommerce > :is(.woocommerce-cart-form,.cart-collaterals) { min-width: 0; }
  .chopcradle #chopcradle-native-cart .woocommerce::before,
  .chopcradle #chopcradle-native-cart .woocommerce::after { display: none; }
}
