/* BANUK / Checkout & Cart layout v6. Staging-only visual layer.
   WooCommerce markup, validation, totals, payment and ordering remain unchanged. */
body.woocommerce-cart,body.woocommerce-checkout{
 --bn6-text:#29242a;--bn6-paper:#fcfaf7;--bn6-border:#e1dad3;--bn6-muted:#6d6666;
}
body.woocommerce-cart main.bn-page-content,
body.woocommerce-checkout main.bn-page-content{
 max-width:1400px!important;
 width:calc(100% - 2 * clamp(20px,4.5vw,84px))!important;
 padding-block:clamp(36px,5vw,66px) 105px!important;
 margin-inline:auto!important;
}
body.woocommerce-cart main.bn-page-content>h1,
body.woocommerce-checkout main.bn-page-content>h1{
 font-weight:400!important;font-size:clamp(34px,3.5vw,54px)!important;
 line-height:1.5!important;letter-spacing:-.04em;
 margin:0 0 38px!important;color:var(--bn6-text)!important;
}
@media(min-width:992px){
 body.woocommerce-cart main.bn-page-content>.woocommerce{
  display:grid!important;
  grid-template-columns:minmax(0,1.48fr) minmax(330px,.78fr)!important;
  grid-template-rows:auto auto!important;
  gap:0 clamp(24px,3.8vw,62px)!important;
  align-items:start!important;
 }
 body.woocommerce-cart .woocommerce .woocommerce-notices-wrapper{grid-column:1/-1!important;grid-row:1!important;}
 body.woocommerce-cart .woocommerce .woocommerce-cart-form{
  grid-column:1!important;grid-row:2!important;min-width:0!important;
  margin:0!important;float:none!important;width:100%!important;
 }
 body.woocommerce-cart .woocommerce .cart-collaterals{
  grid-column:2!important;grid-row:2!important;min-width:0!important;
  float:none!important;width:100%!important;margin:0!important;
 }
 body.woocommerce-cart .woocommerce .cart_totals{
  width:100%!important;max-width:none!important;float:none!important;
  margin:0!important;
 }
 body.woocommerce-checkout form.checkout.woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,.78fr)!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  align-items:start!important;
  gap:0 clamp(24px,4vw,70px)!important;
 }
 body.woocommerce-checkout form.checkout #customer_details{
  grid-column:1!important;grid-row:1/span 2!important;min-width:0!important;
  width:100%!important;margin:0!important;
 }
 body.woocommerce-checkout form.checkout #order_review_heading{
  grid-column:2!important;grid-row:1!important;min-width:0!important;
  width:100%!important;align-self:end!important;
  margin:0!important;padding:10px 0 16px!important;
  font-size:clamp(21px,1.8vw,28px)!important;line-height:1.6!important;
  font-weight:400!important;color:var(--bn6-text)!important;
 }
 body.woocommerce-checkout form.checkout #order_review{
  grid-column:2!important;grid-row:2!important;min-width:0!important;
  width:100%!important;margin:0!important;float:none!important;
  align-self:start!important;
 }
}
body.woocommerce-cart form.woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review{
 background:var(--bn6-paper)!important;
 border:1px solid var(--bn6-border)!important;
 border-radius:8px!important;
 box-shadow:none!important;
}
body.woocommerce-cart form.woocommerce-cart-form{padding:18px!important;}
body.woocommerce-cart .cart-collaterals .cart_totals{padding:24px!important;}
body.woocommerce-checkout #order_review{padding:21px!important;}
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields{
 padding:clamp(18px,2vw,30px)!important;
}
body.woocommerce-checkout .woocommerce-shipping-fields{margin-bottom:12px!important;}
body.woocommerce-checkout .woocommerce-billing-fields>h3,
body.woocommerce-checkout .woocommerce-additional-fields>h3,
body.woocommerce-cart .cart_totals h2{
 font-weight:450!important;font-size:clamp(20px,1.7vw,26px)!important;
 line-height:1.65!important;margin:0 0 18px!important;color:var(--bn6-text)!important;
}
body.woocommerce-checkout .woocommerce form .form-row{
 margin-bottom:17px!important;
}
body.woocommerce-checkout .woocommerce form .form-row label{margin-bottom:5px!important}
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{
 margin:0 0 15px!important;border:0!important;background:transparent!important;
}
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td{
 padding:13px 9px!important;font-size:13px!important;line-height:1.9!important;
 border-color:var(--bn6-border)!important;
}
body.woocommerce-checkout #order_review #payment{
 border:0!important;border-radius:4px!important;
 padding:12px!important;background:#f0eae5!important;
}
body.woocommerce-checkout #order_review #payment .woocommerce-notice,
body.woocommerce-checkout #order_review #payment .woocommerce-error{
 line-height:1.9!important;font-size:13px!important;
}
body.woocommerce-cart .woocommerce table.shop_table{
 border:0!important;background:transparent!important;
}
body.woocommerce-cart .woocommerce table.shop_table th{
 color:var(--bn6-muted)!important;font-size:12px!important;font-weight:500!important;
}
body.woocommerce-cart .woocommerce table.shop_table td{
 font-size:13px!important;line-height:1.85!important;
}
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout{padding:14px 0 0!important;}
body.woocommerce-cart .cart_totals .checkout-button{
 padding:14px 18px!important;min-height:50px!important;
 font-weight:500!important;line-height:1.8!important;
}
body.woocommerce-cart .woocommerce-cart-form .actions{
 padding:20px 0 4px!important;
}
body.woocommerce-cart .woocommerce-cart-form .coupon .input-text{
 min-height:43px!important;min-width:0!important;
}
body.woocommerce-cart .woocommerce-cart-form .coupon .button{
 min-height:43px!important;white-space:normal!important;
}
@media(max-width:991px){
 body.woocommerce-cart main.bn-page-content>.woocommerce,
 body.woocommerce-checkout form.checkout.woocommerce-checkout{
  display:block!important;
 }
 body.woocommerce-cart main.bn-page-content>.woocommerce .woocommerce-cart-form{
  margin:0 0 22px!important;width:100%!important;
 }
 body.woocommerce-cart main.bn-page-content>.woocommerce .cart-collaterals,
 body.woocommerce-cart .woocommerce .cart_totals{width:100%!important;float:none!important;}
 body.woocommerce-checkout form.checkout #customer_details,
 body.woocommerce-checkout form.checkout #order_review_heading,
 body.woocommerce-checkout form.checkout #order_review{
  position:static!important;display:block!important;width:100%!important;float:none!important;
  margin:0!important;
 }
 body.woocommerce-checkout form.checkout #order_review_heading{
  font-size:24px!important;margin:32px 0 13px!important;
 }
}
@media(max-width:760px){
 body.woocommerce-cart main.bn-page-content,
 body.woocommerce-checkout main.bn-page-content{
  width:calc(100% - 28px)!important;padding-block:28px 70px!important;
 }
 body.woocommerce-cart main.bn-page-content>h1,
 body.woocommerce-checkout main.bn-page-content>h1{
  font-size:34px!important;margin-bottom:24px!important;
 }
 body.woocommerce-cart form.woocommerce-cart-form{padding:10px!important;}
 body.woocommerce-cart .cart-collaterals .cart_totals{padding:16px!important;}
 body.woocommerce-checkout .woocommerce-billing-fields,
 body.woocommerce-checkout .woocommerce-additional-fields{padding:19px 15px!important;}
 body.woocommerce-checkout #order_review{padding:14px!important;}
 body.woocommerce-cart .woocommerce-cart-form .coupon{
  display:flex!important;flex-direction:column!important;gap:10px!important;
  align-items:stretch!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .coupon .input-text,
 body.woocommerce-cart .woocommerce-cart-form .coupon .button{
  width:100%!important;max-width:none!important;margin:0!important;
 }
 body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table th,
 body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td{
  padding:10px 6px!important;font-size:12px!important;
 }
}
