/* BANUK / Cart & Checkout Atelier v8.1 — scope: existing Woo classic pages only.
   UX-only layer. No changes to Woo calculations, gateway, order state, customer fields. */
body.woocommerce-cart,body.woocommerce-checkout{
 --ba-ink:#251d27;--ba-plum:#3e2346;--ba-hover:#56325f;
 --ba-muted:#776e74;--ba-border:#e9e3df;--ba-bg:#fcfaf8;
 --ba-soft:#f5f1ed;--ba-ivory:#fffdfb;
 background:var(--ba-bg)!important;color:var(--ba-ink)!important;
}
body.woocommerce-cart .bn-header,body.woocommerce-checkout .bn-header{
 background:var(--ba-bg)!important;border-bottom:1px solid var(--ba-border)!important;
 box-shadow:none!important;
}
body.woocommerce-cart .bn-footer,body.woocommerce-checkout .bn-footer{
 background:#f1eae3!important;border-top:1px solid var(--ba-border)!important;
}
body.woocommerce-cart .bn-footer .bn-wrap,body.woocommerce-checkout .bn-footer .bn-wrap{
 max-width:1280px!important;
}
body.woocommerce-cart .bnv8-servicebar,body.woocommerce-checkout .bnv8-servicebar{
 background:linear-gradient(90deg,#302332 0%,#432847 58%,#2d2230 100%);
 color:#fff;min-height:38px;padding:8px 20px;
 display:flex;align-items:center;justify-content:center;gap:10px;
 text-align:center;font-size:11px;letter-spacing:0;font-weight:500;
}
.bnv8-servicebar svg{width:16px;height:16px;flex:none}
body.woocommerce-cart main.bn-page-content,body.woocommerce-checkout main.bn-page-content{
 max-width:1280px!important;width:calc(100% - 2 * clamp(18px,4.5vw,75px))!important;
 padding:clamp(26px,3vw,47px) 0 clamp(65px,7vw,105px)!important;
 min-height:470px!important;margin-inline:auto!important;
}
body.woocommerce-cart main.bn-page-content>h1{
 color:var(--ba-ink)!important;font-size:clamp(33px,3.5vw,53px)!important;
 font-weight:600!important;line-height:1.55!important;letter-spacing:-.045em!important;
 text-align:right!important;margin:0 0 10px!important;
}
body.woocommerce-cart .bnv8-cart-caption{
 color:var(--ba-muted);font-size:13px;line-height:1.9;
 margin:0 0 23px;text-align:right;grid-column:1/-1;
}
body.woocommerce-cart .bnv8-cart-caption:before{
 display:block;content:"خانه  /  سبد خرید";color:#8e858a;opacity:.8;
 font-size:11px;line-height:1.7;margin:0 0 3px;
}
body.woocommerce-cart .bnv8-cart-heading{
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 padding:2px 1px 21px;border-bottom:1px solid var(--ba-border);
}
body.woocommerce-cart .bnv8-cart-heading h2{
 font-size:18px!important;font-weight:650!important;letter-spacing:-.015em;
 margin:0!important;line-height:1.7!important;color:var(--ba-ink)!important;
}
body.woocommerce-cart .bnv8-cart-heading span{font-size:12px;color:var(--ba-muted)}
/* Cart: right products, left persistent order summary, correct RTL flow. */
@media(min-width:1001px){
 body.woocommerce-cart main.bn-page-content>.woocommerce{
  display:grid!important;grid-template-columns:minmax(0,1.92fr) minmax(315px,.93fr)!important;
  grid-template-rows:auto auto!important;column-gap:clamp(19px,2vw,34px)!important;
  row-gap:0!important;align-items:start!important;direction:rtl!important;
 }
 body.woocommerce-cart main.bn-page-content>.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;
 }
 body.woocommerce-cart .woocommerce .cart-collaterals{
  grid-column:2!important;grid-row:2!important;
 }
}
body.woocommerce-cart .woocommerce .woocommerce-cart-form{
 min-width:0!important;margin:0!important;width:100%!important;float:none!important;
 background:var(--ba-ivory)!important;border:1px solid var(--ba-border)!important;
 border-radius:13px!important;padding:clamp(19px,2.1vw,30px)!important;
 box-shadow:0 12px 38px rgba(35,26,32,.025)!important;overflow:hidden;
}
body.woocommerce-cart .woocommerce .woocommerce-cart-form .shop_table{
 width:100%!important;border:0!important;margin:0!important;
 table-layout:auto!important;background:transparent!important;
 border-collapse:collapse!important;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table thead th{
 background:transparent!important;border:0!important;
 border-bottom:1px solid var(--ba-border)!important;
 font-size:11px!important;letter-spacing:0!important;color:#948a8b!important;
 font-weight:500!important;padding:15px 9px!important;text-align:right!important;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .product-remove{width:32px!important}
body.woocommerce-cart .woocommerce-cart-form .shop_table .product-thumbnail{width:96px!important}
body.woocommerce-cart .woocommerce-cart-form .shop_table .product-thumbnail img{
 width:86px!important;max-width:86px!important;height:113px!important;
 object-fit:cover!important;object-position:center 22%!important;
 background:var(--ba-soft)!important;border-radius:9px!important;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table tbody tr.cart_item{
 background:transparent!important;border-bottom:1px solid var(--ba-border)!important;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table tbody td{
 vertical-align:middle!important;border:0!important;
 border-bottom:1px solid var(--ba-border)!important;
 padding:20px 7px!important;background:transparent!important;
 color:var(--ba-ink)!important;font-size:13px!important;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table td.product-name{min-width:155px!important}
body.woocommerce-cart .woocommerce-cart-form .shop_table td.product-name a{
 color:var(--ba-ink)!important;text-decoration:none!important;
 font-weight:600!important;font-size:14px!important;line-height:1.85!important;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table td.product-name a:hover{
 color:var(--ba-plum)!important;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .variation{
 font-size:11px!important;color:var(--ba-muted)!important;line-height:1.7!important;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .product-price,
body.woocommerce-cart .woocommerce-cart-form .shop_table .product-subtotal{
 color:var(--ba-ink)!important;font-weight:600!important;font-size:12px!important;
 white-space:nowrap!important;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .product-remove a{
 width:32px!important;height:32px!important;display:grid!important;place-items:center!important;
 line-height:1!important;background:#fff!important;border:1px solid #dfd5d5!important;
 color:#706771!important;border-radius:50%!important;font-size:20px!important;
 text-decoration:none!important;transition:background .2s,border-color .2s,color .2s;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .product-remove a:hover{
 background:#f9eef1!important;border-color:#e8bcc6!important;color:#922a44!important;
}
/* Minimal accessible quantity stepper; original Woo input remains the source of truth. */
body.woocommerce-cart .woocommerce-cart-form .quantity.bnv8-qty-ready{
 display:inline-flex!important;align-items:center;direction:ltr!important;
 background:#f5f2ef!important;border:1px solid #eee7e2!important;
 border-radius:9px!important;padding:3px!important;gap:0;white-space:nowrap;
}
body.woocommerce-cart .woocommerce-cart-form .quantity.bnv8-qty-ready .qty{
 width:44px!important;min-width:40px!important;height:37px!important;
 border:0!important;border-radius:6px!important;background:#fff!important;
 box-shadow:none!important;padding:0!important;font-size:14px!important;
 text-align:center!important;color:var(--ba-ink)!important;appearance:textfield!important;
}
body.woocommerce-cart .woocommerce-cart-form .quantity.bnv8-qty-ready .qty::-webkit-inner-spin-button,
body.woocommerce-cart .woocommerce-cart-form .quantity.bnv8-qty-ready .qty::-webkit-outer-spin-button{appearance:none;margin:0}
body.woocommerce-cart .woocommerce-cart-form .bnv8-qty-btn{
 width:32px!important;height:37px!important;padding:0!important;margin:0!important;
 background:transparent!important;color:var(--ba-ink)!important;border:0!important;
 display:inline-grid!important;place-items:center!important;
 font:500 19px/1 Arial,sans-serif!important;cursor:pointer;border-radius:5px!important;
}
body.woocommerce-cart .woocommerce-cart-form .bnv8-qty-btn:hover{
 background:#e9e2e4!important;color:var(--ba-plum)!important;
}
body.woocommerce-cart .woocommerce-cart-form .bnv8-qty-btn:disabled{
 opacity:.32!important;cursor:not-allowed;
}
body.woocommerce-cart .woocommerce-cart-form .shop_table .actions{
 border:0!important;padding:23px 0 0!important;background:transparent!important;
}
body.woocommerce-cart .woocommerce-cart-form .coupon{
 float:none!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;
 gap:11px!important;width:100%!important;padding:20px 0 3px!important;
 border-top:1px solid var(--ba-border)!important;
}
body.woocommerce-cart .woocommerce-cart-form .coupon:before{
 content:"کد تخفیف";font-size:15px;font-weight:650;color:var(--ba-ink);
 flex-basis:100%;display:block;text-align:right;
}
body.woocommerce-cart .woocommerce-cart-form .coupon label{
 position:static!important;clip:auto!important;width:auto!important;height:auto!important;
 overflow:visible!important;font-size:0!important;margin:0!important;
}
body.woocommerce-cart .woocommerce-cart-form .coupon .input-text{
 order:1;flex:1 1 210px!important;width:auto!important;max-width:none!important;
 min-width:120px!important;height:48px!important;border:1px solid #e4dbd5!important;
 background:#fff!important;border-radius:7px!important;box-shadow:none!important;
 padding:9px 13px!important;font-size:13px!important;
}
body.woocommerce-cart .woocommerce-cart-form .coupon .button{
 order:2;height:48px!important;padding:0 26px!important;margin:0!important;
 background:var(--ba-plum)!important;color:#fff!important;border:0!important;
 border-radius:7px!important;font-weight:600!important;font-size:13px!important;
}
body.woocommerce-cart .woocommerce-cart-form .actions>button[name="update_cart"]{
 display:none!important;
}
body.woocommerce-cart .woocommerce .cart-collaterals,
body.woocommerce-cart .woocommerce .cart_totals{
 width:100%!important;max-width:none!important;float:none!important;
 margin:0!important;min-width:0!important;
}
body.woocommerce-cart .woocommerce .cart_totals{
 background:var(--ba-ivory)!important;border:1px solid var(--ba-border)!important;
 border-radius:13px!important;padding:clamp(22px,2.15vw,31px)!important;
 box-shadow:0 12px 38px rgba(35,26,32,.025)!important;
 position:sticky!important;top:112px!important;
}
body.woocommerce-cart .woocommerce .cart_totals>h2{
 color:var(--ba-ink)!important;font-size:22px!important;font-weight:700!important;
 line-height:1.7!important;margin:0 0 18px!important;
 padding:0 0 18px!important;border-bottom:1px solid var(--ba-border)!important;
}
body.woocommerce-cart .cart_totals .shop_table{
 margin:0!important;border:0!important;background:transparent!important;
}
body.woocommerce-cart .cart_totals .shop_table tbody tr,
body.woocommerce-cart .cart_totals .shop_table tbody th,
body.woocommerce-cart .cart_totals .shop_table tbody td{
 border:0!important;border-bottom:1px solid var(--ba-border)!important;
 background:transparent!important;padding:15px 0!important;
 font-size:12px!important;color:var(--ba-muted)!important;font-weight:500!important;
 line-height:1.9!important;
}
body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td{
 border-bottom:0!important;color:var(--ba-ink)!important;
 font-size:15px!important;font-weight:700!important;
}
body.woocommerce-cart .cart_totals .order-total .amount{
 color:var(--ba-ink)!important;font-size:18px!important;
}
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout{
 padding:13px 0 0!important;display:block!important;
}
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button{
 width:100%!important;min-height:56px!important;display:flex!important;
 justify-content:center!important;align-items:center!important;gap:10px!important;
 border:0!important;border-radius:7px!important;padding:15px 17px!important;
 background:var(--ba-plum)!important;color:#fff!important;
 font-size:13px!important;font-weight:650!important;line-height:1.6!important;
 box-shadow:0 8px 18px rgba(62,35,70,.13)!important;
 transition:background-color .18s ease,transform .18s ease!important;
}
body.woocommerce-cart .cart_totals a.checkout-button:hover{
 background:var(--ba-hover)!important;transform:translateY(-1px);
}
.bnv8-delivery-note{
 font-size:11px;line-height:1.9;color:#71656b;
 background:#f5f2ef;border-radius:7px;padding:12px 13px;
 margin-top:14px;text-align:center;
}
.bnv8-cart-promises{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;
 padding:20px 0 0;align-items:start;text-align:center;
}
.bnv8-cart-promises span{
 font-size:10px;line-height:1.75;color:#797178;padding:0 3px;
}
.bnv8-cart-promises span+span{border-right:1px solid var(--ba-border)}
.bnv8-cart-promises svg{display:block;width:20px;height:20px;margin:0 auto 7px;color:var(--ba-plum)}
/* Checkout: payment at right, order review at left, clear progress line. */
body.woocommerce-checkout main.bn-page-content{max-width:1250px!important;}
body.woocommerce-checkout .bn-page-content>h1{display:none!important}
body.woocommerce-checkout .bnv8-steps{
 max-width:590px;margin:10px auto 23px;padding:0;
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 position:relative;direction:rtl;
}
body.woocommerce-checkout .bnv8-steps:before{
 content:"";position:absolute;top:15px;left:15%;right:15%;
 height:1px;background:#dfd8dc;
}
body.woocommerce-checkout .bnv8-step{
 position:relative;display:flex;flex-direction:column;
 align-items:center;gap:8px;text-decoration:none;
 color:var(--ba-muted)!important;font-size:11px!important;line-height:1.6;
 background:transparent;
}
body.woocommerce-checkout .bnv8-step-dot{
 width:31px;height:31px;background:var(--ba-bg)!important;
 border:1px solid #bcb1b9;border-radius:50%;display:grid;place-items:center;
 color:var(--ba-plum)!important;font-size:14px;font-weight:600;
}
body.woocommerce-checkout .bnv8-step.current{color:var(--ba-plum)!important;font-weight:700}
body.woocommerce-checkout .bnv8-step.current .bnv8-step-dot,
body.woocommerce-checkout .bnv8-step.done .bnv8-step-dot{
 background:var(--ba-plum)!important;color:#fff!important;border-color:var(--ba-plum)!important;
}
body.woocommerce-checkout .bn-zero-heading{
 text-align:center!important;max-width:740px!important;
 margin:0 auto 30px!important;
}
body.woocommerce-checkout .bn-zero-eyebrow{display:none!important}
body.woocommerce-checkout .bn-zero-heading h2{
 font-size:clamp(32px,3.5vw,48px)!important;line-height:1.6!important;
 font-weight:700!important;color:var(--ba-ink)!important;
 margin:0!important;letter-spacing:-.035em!important;
}
body.woocommerce-checkout .bn-zero-heading:after{
 content:"اطلاعات سفارش را بررسی کنید و روش پرداخت را انتخاب کنید.";
 display:block;margin:4px 0 0;font-size:12px;color:var(--ba-muted);line-height:2;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce form.checkout_coupon{
 max-width:1240px!important;margin:0 auto 20px!important;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{
 background:var(--ba-ivory)!important;border:1px solid var(--ba-border)!important;
 border-radius:9px!important;padding:12px 18px!important;
 color:var(--ba-muted)!important;font-size:12px!important;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle a{
 color:var(--ba-plum)!important;font-weight:600;text-decoration:none!important;
}
body.woocommerce-checkout form.checkout.woocommerce-checkout{
 max-width:1250px!important;width:100%!important;display:block!important;margin:0 auto!important;
}
body.woocommerce-checkout form.checkout #customer_details,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout form.checkout #order_review_heading{
 display:none!important;
}
body.woocommerce-checkout form.checkout #order_review{
 display:grid!important;direction:rtl!important;
 grid-template-columns:minmax(0,1.55fr) minmax(315px,.94fr)!important;
 grid-template-rows:auto auto!important;gap:0 22px!important;
 margin:0!important;padding:0!important;width:100%!important;max-width:none!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;align-items:start!important;
}
body.woocommerce-checkout #order_review #payment{
 grid-column:1!important;grid-row:1!important;
 background:var(--ba-ivory)!important;border:1px solid var(--ba-border)!important;
 border-radius:13px!important;padding:clamp(22px,2vw,31px)!important;
 margin:0!important;box-shadow:0 12px 38px rgba(35,26,32,.025)!important;
 min-width:0!important;align-self:stretch!important;position:relative;
}
body.woocommerce-checkout #order_review #payment:before{
 content:"روش پرداخت";font-size:20px;font-weight:700;line-height:1.7;
 color:var(--ba-ink);display:block;margin-bottom:18px;
}
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{
 grid-column:2!important;grid-row:1!important;min-width:0!important;
 background:var(--ba-ivory)!important;border:1px solid var(--ba-border)!important;
 border-radius:13px!important;border-collapse:separate!important;
 border-spacing:0!important;margin:0!important;overflow:hidden!important;
 box-shadow:0 12px 38px rgba(35,26,32,.025)!important;
 width:100%!important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead{
 background:transparent!important;
}
body.woocommerce-checkout #order_review .bnv8-summary-heading{
 color:var(--ba-ink)!important;font-size:20px!important;font-weight:700!important;
 background:transparent!important;padding:20px 21px!important;
 border-bottom:1px solid var(--ba-border)!important;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table td{
 color:var(--ba-ink)!important;padding:13px 19px!important;font-size:12px!important;
 border-color:var(--ba-border)!important;background:transparent!important;
 line-height:1.95!important;vertical-align:middle!important;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .product-name{
 min-width:0!important;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .product-total{
 white-space:nowrap!important;font-weight:550!important;
}
body.woocommerce-checkout .bn-zero-item{
 display:flex!important;gap:13px!important;align-items:center!important;
 min-width:0!important;
}
body.woocommerce-checkout .bn-zero-item-image{
 width:71px!important;height:92px!important;max-width:71px!important;
 flex:0 0 71px!important;object-fit:cover!important;object-position:center 23%!important;
 border-radius:8px!important;background:var(--ba-soft)!important;
}
body.woocommerce-checkout .bn-zero-item-title{
 font-size:12px!important;font-weight:600!important;line-height:1.85!important;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .order-total{
 background:#f8f5f1!important;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table .order-total td{
 font-size:15px!important;font-weight:750!important;padding-block:19px!important;
}
body.woocommerce-checkout #order_review>.bn-zero-shipping-disclosure{
 grid-column:1/-1!important;grid-row:2!important;
 color:#867c7f!important;font-size:11px!important;
 padding:12px 4px 0!important;margin:0!important;
 text-align:center!important;
}
/* Payment-method selection. The real gateway controls availability and money. */
body.woocommerce-checkout #payment ul.payment_methods{
 list-style:none!important;margin:0 0 16px!important;padding:0!important;
 border:0!important;background:transparent!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method{
 margin:0 0 12px!important;padding:17px 18px!important;
 border:1px solid #dfd5dd!important;border-radius:10px!important;
 background:#faf7f9!important;min-width:0!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input:checked){
 border-color:var(--ba-plum)!important;background:#f8f3f8!important;
 box-shadow:0 0 0 1px rgba(62,35,70,.05)!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label{
 display:inline!important;color:var(--ba-ink)!important;font-size:13px!important;
 font-weight:650!important;cursor:pointer;line-height:1.8!important;
}
body.woocommerce-checkout #payment ul.payment_methods input[type="radio"]{
 accent-color:var(--ba-plum)!important;width:18px!important;height:18px!important;
 vertical-align:middle!important;cursor:pointer!important;margin:0 0 0 10px!important;
}
body.woocommerce-checkout #payment ul.payment_methods .payment_box{
 border:0!important;border-radius:7px!important;background:#f4f0ec!important;
 padding:13px!important;margin:14px 0 0!important;
 color:var(--ba-muted)!important;font-size:12px!important;line-height:2!important;
}
body.woocommerce-checkout #payment ul.payment_methods .payment_box:before{display:none!important}
body.woocommerce-checkout #payment .form-row.place-order{
 padding:17px 0 0!important;margin:0!important;
}
body.woocommerce-checkout #payment #place_order{
 width:100%!important;min-height:57px!important;
 display:block!important;border:0!important;border-radius:7px!important;
 background:var(--ba-plum)!important;color:#fff!important;
 font-size:14px!important;font-weight:700!important;line-height:1.7!important;
 box-shadow:0 8px 18px rgba(62,35,70,.13)!important;padding:16px 19px!important;
}
body.woocommerce-checkout #payment #place_order:hover{background:var(--ba-hover)!important}
body.woocommerce-checkout #payment .bn-zero-pay-unavailable,
body.woocommerce-checkout #payment .bn-payment-unavailable{
 background:#f5f1ed!important;border:1px solid var(--ba-border)!important;
 color:#746a72!important;border-radius:8px!important;
 text-align:center!important;padding:17px 15px!important;line-height:2!important;
}
body.woocommerce-checkout #payment .bnv8-payment-guide{
 font-size:12px;line-height:1.95;color:#665e62;border:1px solid var(--ba-border);
 padding:15px 17px;margin:0 0 10px;border-radius:9px;background:#f7f3ee;
}
body.woocommerce-checkout #payment .bnv8-payment-guide strong{
 display:block;font-size:13px;color:var(--ba-ink);margin-bottom:6px;
}
body.woocommerce-checkout #payment .bnv8-payment-guide p{margin:0!important}
body.woocommerce-checkout .woocommerce form.checkout_coupon{
 padding:19px!important;background:#fff!important;border:1px solid var(--ba-border)!important;
 border-radius:9px!important;
}
body.woocommerce-checkout .woocommerce form.checkout_coupon input{
 min-height:46px!important;border-radius:7px!important;
}
body.woocommerce-checkout .woocommerce form.checkout_coupon button{
 min-height:46px!important;background:var(--ba-plum)!important;
 border-radius:7px!important;color:#fff!important;
}
/* Product actions, focus rings, proper overflow behavior. */
body.woocommerce-cart button:focus-visible,
body.woocommerce-checkout button:focus-visible,
body.woocommerce-cart a:focus-visible,
body.woocommerce-checkout a:focus-visible,
body.woocommerce-cart input:focus-visible,
body.woocommerce-checkout input:focus-visible{
 outline:2px solid var(--ba-plum)!important;outline-offset:3px!important;
}
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-message{
 background:#fff!important;border:1px solid var(--ba-border)!important;
 border-radius:9px!important;color:var(--ba-ink)!important;
 box-shadow:none!important;padding:15px 20px!important;margin-bottom:18px!important;
}
@media(max-width:1000px){
 body.woocommerce-cart main.bn-page-content>.woocommerce{
  display:block!important;
 }
 body.woocommerce-cart .woocommerce .cart-collaterals{margin-top:23px!important}
 body.woocommerce-cart .woocommerce .cart_totals{position:static!important}
 body.woocommerce-checkout form.checkout #order_review{
  display:flex!important;flex-direction:column!important;gap:21px!important;
 }
 body.woocommerce-checkout #order_review #payment,
 body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{
  width:100%!important;flex:none!important;grid-column:auto!important;grid-row:auto!important;
 }
 body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{
  order:1!important;
 }
 body.woocommerce-checkout #order_review #payment{order:2!important}
 body.woocommerce-checkout #order_review>.bn-zero-shipping-disclosure{order:3!important}
}
@media(max-width:650px){
 body.woocommerce-cart .bnv8-servicebar,body.woocommerce-checkout .bnv8-servicebar{
  font-size:10px!important;padding:7px 12px!important;min-height:33px!important;
 }
 body.woocommerce-cart main.bn-page-content,body.woocommerce-checkout main.bn-page-content{
  width:calc(100% - 30px)!important;padding:25px 0 60px!important;
 }
 body.woocommerce-cart main.bn-page-content>h1{font-size:35px!important}
 body.woocommerce-cart .woocommerce .woocommerce-cart-form,
 body.woocommerce-cart .woocommerce .cart_totals{padding:19px!important;border-radius:11px!important}
 body.woocommerce-cart .woocommerce-cart-form .shop_table thead{display:none!important}
 body.woocommerce-cart .woocommerce-cart-form .shop_table tbody tr.cart_item{
  display:grid!important;grid-template-columns:35px 86px minmax(0,1fr)!important;
  gap:9px 10px!important;align-items:start!important;position:relative;
  padding:18px 0!important;direction:rtl!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .shop_table tbody tr.cart_item td{
  display:block!important;width:auto!important;min-width:0!important;
  padding:0!important;margin:0!important;text-align:right!important;border:0!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .shop_table tbody tr.cart_item td:before{
  display:none!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .shop_table tr.cart_item td.product-remove{
  grid-column:1!important;grid-row:1!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .shop_table tr.cart_item td.product-thumbnail{
  grid-column:2!important;grid-row:1/span 4!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .shop_table tr.cart_item td.product-thumbnail img{
  width:85px!important;height:111px!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .shop_table tr.cart_item td.product-name{
  grid-column:3!important;grid-row:1!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .shop_table tr.cart_item td.product-price{
  grid-column:3!important;grid-row:2!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .shop_table tr.cart_item td.product-quantity{
  grid-column:3!important;grid-row:3!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .shop_table tr.cart_item td.product-subtotal{
  grid-column:3!important;grid-row:4!important;
  color:var(--ba-plum)!important;
 }
 body.woocommerce-cart .woocommerce-cart-form .shop_table td.product-name a{font-size:13px!important}
 body.woocommerce-cart .woocommerce-cart-form .coupon{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
 body.woocommerce-cart .woocommerce-cart-form .coupon:before{grid-column:1/-1!important}
 body.woocommerce-cart .woocommerce-cart-form .coupon .input-text{grid-column:1!important;grid-row:2!important;min-width:0!important}
 body.woocommerce-cart .woocommerce-cart-form .coupon .button{grid-column:2!important;grid-row:2!important;padding:0 15px!important}
 body.woocommerce-cart .bnv8-cart-heading h2{font-size:16px!important}
 body.woocommerce-checkout .bnv8-steps{margin:0 auto 14px!important}
 body.woocommerce-checkout .bn-zero-heading{margin:0 auto 20px!important}
 body.woocommerce-checkout .bn-zero-heading h2{font-size:33px!important}
 body.woocommerce-checkout .bn-zero-heading:after{font-size:11px!important}
 body.woocommerce-checkout #order_review #payment{padding:20px 16px!important;border-radius:11px!important}
 body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table{
  border-radius:11px!important;
 }
 body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table th,
 body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table td{
  padding:12px 9px!important;font-size:11px!important;
 }
 body.woocommerce-checkout #order_review .bnv8-summary-heading{
  padding:13px 15px!important;font-size:18px!important;
 }
 body.woocommerce-checkout .bn-zero-item-image{
  width:57px!important;height:74px!important;flex-basis:57px!important;
 }
 body.woocommerce-checkout .bn-zero-item-title{font-size:11px!important}
}
@media(max-width:370px){
 body.woocommerce-cart .woocommerce-cart-form .shop_table tbody tr.cart_item{grid-template-columns:29px 67px minmax(0,1fr)!important}
 body.woocommerce-cart .woocommerce-cart-form .shop_table tr.cart_item td.product-thumbnail img{width:67px!important;height:90px!important}
 body.woocommerce-cart .woocommerce-cart-form .coupon .button{padding:0 10px!important;font-size:12px!important}
 body.woocommerce-checkout #order_review .bn-zero-item{gap:7px!important}
}
@media(prefers-reduced-motion:reduce){
 body.woocommerce-cart *,body.woocommerce-checkout *{transition:none!important;animation:none!important}
}

/* v8.1 visual QA: cart intro belongs above both content columns, never below cards. */
@media(min-width:1001px){
 body.woocommerce-cart main.bn-page-content>.woocommerce>.bnv8-cart-caption{
  grid-column:1/-1!important;grid-row:2!important;
  align-self:start!important;margin:0 0 21px!important;
 }
 body.woocommerce-cart main.bn-page-content>.woocommerce>.woocommerce-cart-form{
  grid-column:1!important;grid-row:3!important;
 }
 body.woocommerce-cart main.bn-page-content>.woocommerce>.cart-collaterals{
  grid-column:2!important;grid-row:3!important;
 }
}

/* v8.2 visual QA: strong enough to override the legacy table selector. */
@media(min-width:1001px){
 body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review{
  position:static!important;
  grid-template-columns:minmax(0,1.55fr) minmax(315px,.94fr)!important;
 }
 body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table{
  grid-column:2!important;grid-row:1!important;max-width:100%!important;
  min-width:0!important;position:static!important;
 }
 body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review #payment{
  grid-column:1!important;grid-row:1!important;min-width:0!important;
 }
}
body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info{
 background:var(--ba-ivory)!important;
 border:1px solid var(--ba-border)!important;border-radius:9px!important;
 color:var(--ba-muted)!important;padding:12px 18px!important;
 box-shadow:none!important;
}
body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info:before{
 display:none!important;
}

/* v8.3 visual QA: semantic order-summary caption above the products. */
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table{
 border-top:0!important;border-radius:0 0 13px 13px!important;
 overflow:visible!important;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table>caption.bnv8-summary-caption{
 caption-side:top!important;text-align:right!important;
 display:table-caption!important;position:static!important;
 padding:19px 21px!important;margin:0!important;
 color:var(--ba-ink)!important;font-size:20px!important;
 font-weight:700!important;line-height:1.7!important;
 background:var(--ba-ivory)!important;
 border:1px solid var(--ba-border)!important;
 border-radius:13px 13px 0 0!important;
 border-bottom:1px solid var(--ba-border)!important;
}
body.woocommerce-checkout #order_review table.woocommerce-checkout-review-order-table thead{
 position:absolute!important;width:1px!important;height:1px!important;
 padding:0!important;margin:-1px!important;overflow:hidden!important;
 clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;
 white-space:nowrap!important;border:0!important;
}
body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle div.woocommerce-info{
 border:1px solid var(--ba-border)!important;border-top:1px solid var(--ba-border)!important;
 border-radius:9px!important;background:#fffdfb!important;
 color:var(--ba-muted)!important;box-shadow:none!important;padding:12px 18px!important;
}
body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info::before{display:none!important}

/* v8.4: Woo uses a Blocks notice for classic checkout coupons; neutralize blue. */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info{
 display:flex!important;align-items:center!important;gap:11px!important;
 background:#fffdfb!important;border:1px solid var(--ba-border)!important;
 border-radius:9px!important;color:var(--ba-muted)!important;
 padding:13px 17px!important;box-shadow:none!important;
 font-size:12px!important;line-height:1.9!important;min-height:0!important;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info>svg{
 flex:0 0 19px!important;width:19px!important;height:19px!important;
 fill:var(--ba-plum)!important;color:var(--ba-plum)!important;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info a{
 color:var(--ba-plum)!important;font-weight:650!important;text-decoration:none!important;
 border:0!important;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info a:hover{
 text-decoration:underline!important;text-underline-offset:4px!important;
}
