/* BANUK 2026-10-31 QA fix — quantity, real color navigation, checkout responsiveness.
 * Only stage UI. Do not alter amounts, stock, Woo payment processing, or product media. */
body.single-product .woocommerce div.product.bn-atp-product .bn-atp-controls .quantity.bn-polish-quantity{
 display:grid!important;grid-template-columns:34px minmax(0,1fr) 34px!important;
 align-items:center!important;justify-items:stretch!important;direction:ltr!important;
 position:relative!important;overflow:hidden!important;min-width:106px!important;
 height:54px!important;max-height:54px!important;padding:0!important;
}
body.single-product .woocommerce div.product.bn-atp-product .bn-atp-controls .quantity.bn-polish-quantity .bn-qty-minus{
 grid-column:1!important;grid-row:1!important;order:0!important;position:relative!important;
 min-width:0!important;width:100%!important;height:52px!important;min-height:0!important;
 margin:0!important;padding:0!important;justify-self:stretch!important;display:flex!important;
 align-items:center!important;justify-content:center!important;font-size:18px!important;line-height:1!important;z-index:2!important;
}
body.single-product .woocommerce div.product.bn-atp-product .bn-atp-controls .quantity.bn-polish-quantity .bn-qty-plus{
 grid-column:3!important;grid-row:1!important;order:0!important;position:relative!important;
 min-width:0!important;width:100%!important;height:52px!important;min-height:0!important;
 margin:0!important;padding:0!important;justify-self:stretch!important;display:flex!important;
 align-items:center!important;justify-content:center!important;font-size:18px!important;line-height:1!important;z-index:2!important;
}
body.single-product .woocommerce div.product.bn-atp-product .bn-atp-controls .quantity.bn-polish-quantity input.bn-polish-visible-qty{
 position:relative!important;grid-column:2!important;grid-row:1!important;order:0!important;
 inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
 display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
 height:52px!important;max-height:52px!important;padding:0!important;margin:0!important;
 text-align:center!important;direction:ltr!important;line-height:52px!important;font-size:15px!important;
 font-weight:600!important;font-variant-numeric:normal!important;letter-spacing:0!important;z-index:1!important;
}
body.single-product .woocommerce div.product.bn-atp-product .bn-atp-controls .quantity.bn-polish-quantity input.qty.bn-polish-native-qty{
 position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;
 opacity:0!important;pointer-events:none!important;min-width:1px!important;max-width:1px!important;
}
body.single-product .bn-meow-color-nav{
 display:flex;flex-direction:column;align-items:flex-start;gap:9px;
 margin:6px 0 18px;padding:0;direction:rtl;max-width:100%;
}
body.single-product .bn-meow-color-label{
 font-weight:650;font-size:13px;line-height:1.8;color:#312a31;
}
body.single-product .bn-meow-color-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center;max-width:100%}
body.single-product .bn-meow-color-link{
 display:inline-flex;min-height:44px;min-width:68px;padding:9px 18px;align-items:center;justify-content:center;
 background:#fffdfb;border:1px solid #ded7dc;border-radius:3px;color:#403443;text-decoration:none;
 font-size:13px;font-weight:550;line-height:1.65;transition:background .18s ease,border-color .18s ease,color .18s ease;
}
body.single-product .bn-meow-color-link.is-current,
body.single-product .bn-meow-color-link[aria-current=page]{
 background:#f2edf2;border:2px solid #3e2346;color:#3e2346;font-weight:700;
}
body.single-product .bn-meow-color-link:focus-visible{outline:2px solid #3e2346;outline-offset:3px}
body.single-product .bn-meow-color-link:hover:not([aria-current=page]){background:#f6f1f4;border-color:#806487}
body.single-product.bn-meow-color-product .bn-atp-controls .variations tr:has(select[name*="%d8%b1%d9%86%da%af"]){display:none!important}
body.single-product.bn-meow-color-product .bn-atp-controls .variations{margin:0 0 13px!important}
html.bn-meow-leaving::after,html.bn-meow-entering::after{
 content:"BANUK";position:fixed;inset:0;z-index:999999;
 display:flex;align-items:center;justify-content:center;
 background:#f7f3ee;color:#3e2346;font:600 23px/1.5 Arial,sans-serif;letter-spacing:.22em;
 transition:opacity .25s ease;pointer-events:all;
}
html.bn-meow-leaving body{pointer-events:none!important}
html.bn-meow-entering .bn-atp-main{opacity:0!important}
body.single-product .bn-atp-main{transition:opacity .24s ease!important}
body.single-product .bn-atp-gallery{transition:opacity .2s ease!important;min-width:0!important}
body.single-product.bn-meow-color-product .bn-atp-head{align-items:start!important}
/* Payment method cards: no floats or fixed-width controls. */
body.woocommerce-checkout .bn-page-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout form.checkout.woocommerce-checkout,
body.woocommerce-checkout #order_review{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body.woocommerce-checkout form.checkout.woocommerce-checkout{max-width:1100px!important;margin-inline:auto!important}
body.woocommerce-checkout form.checkout #order_review{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:22px!important;
 align-items:start!important;width:100%!important;max-width:100%!important;min-width:0!important;
}
body.woocommerce-checkout form.checkout #order_review>.bn-qa-payment-disclosure{
 grid-column:1/-1!important;grid-row:1!important;margin:0!important;padding:16px 20px!important;
 border:1px solid #d9cbd6!important;background:#f8f3f7!important;border-radius:6px!important;
 text-align:right!important;line-height:1.85!important;font-size:13px!important;max-width:100%!important;
}
body.woocommerce-checkout form.checkout #order_review>.bn-qa-payment-disclosure strong{
 display:block;margin-bottom:5px;font-size:14px;line-height:1.8;
}
body.woocommerce-checkout form.checkout #order_review>table.woocommerce-checkout-review-order-table{
 grid-column:1!important;grid-row:2!important;min-width:0!important;max-width:100%!important;
 width:100%!important;table-layout:fixed!important;border-radius:6px!important;
 overflow:hidden!important;
}
body.woocommerce-checkout form.checkout #order_review #payment{
 grid-column:2!important;grid-row:2!important;min-width:0!important;max-width:100%!important;
 width:100%!important;padding:19px!important;border:1px solid #e6dfdf!important;
 background:#fbf8f6!important;border-radius:8px!important;
}
body.woocommerce-checkout form.checkout #order_review>.bn-zero-shipping-disclosure{
 grid-column:1/-1!important;grid-row:3!important;max-width:100%!important;
 margin:2px 0 0!important;text-align:right!important;
}
body.woocommerce-checkout #payment ul.payment_methods{
 display:flex!important;flex-direction:column!important;gap:10px!important;
 padding:0!important;margin:0!important;border:0!important;list-style:none!important;min-width:0!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method{
 display:grid!important;grid-template-columns:minmax(0,1fr) 21px!important;
 align-items:center!important;gap:0 10px!important;direction:rtl!important;
 background:#fffdfa!important;border:1px solid #e1d9dd!important;border-radius:7px!important;
 margin:0!important;padding:0 14px!important;min-width:0!important;
 box-shadow:none!important;box-sizing:border-box!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(>input.input-radio:checked){
 border-color:#76587d!important;background:#fcf8fb!important;box-shadow:0 0 0 1px #76587d25!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label{
 grid-column:1!important;grid-row:1!important;display:block!important;
 padding:16px 0!important;margin:0!important;min-width:0!important;width:100%!important;
 max-width:100%!important;float:none!important;text-align:right!important;
 white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
 font-size:14px!important;font-weight:600!important;line-height:1.85!important;cursor:pointer!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>input.input-radio{
 grid-column:2!important;grid-row:1!important;position:static!important;
 display:block!important;float:none!important;appearance:none!important;
 width:19px!important;height:19px!important;max-width:19px!important;min-width:19px!important;
 padding:0!important;margin:0!important;box-sizing:border-box!important;
 border:1.5px solid #887b87!important;border-radius:50%!important;background:#fff!important;
 cursor:pointer!important;transform:none!important;box-shadow:none!important;opacity:1!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>input.input-radio:checked{
 border-color:#3e2346!important;background:#3e2346!important;box-shadow:inset 0 0 0 4px #fff!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>input.input-radio:focus-visible{
 outline:2px solid #3e2346!important;outline-offset:3px!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>.payment_box{
 grid-column:1/-1!important;grid-row:2!important;position:static!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 float:none!important;margin:0 0 13px!important;padding:12px 14px!important;
 background:#f6f0f5!important;border:0!important;border-radius:4px!important;
 line-height:1.95!important;font-size:12px!important;text-align:right!important;
 overflow-wrap:anywhere!important;word-break:normal!important;box-sizing:border-box!important;
}
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>.payment_box::before{
 display:none!important;
}
body.woocommerce-checkout #payment .bn-zero-pay-unavailable,
body.woocommerce-checkout #payment .woocommerce-info{
 display:block;box-sizing:border-box;max-width:100%;min-width:0;
 border-radius:5px!important;padding:13px!important;margin:12px 0!important;
 line-height:1.95!important;font-size:12px!important;text-align:right!important;overflow-wrap:anywhere!important;
}
body.woocommerce-checkout #order_review table .bn-zero-item{min-width:0!important;max-width:100%!important}
body.woocommerce-checkout #order_review table .bn-zero-item-title{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.woocommerce-checkout #order_review table .product-name{min-width:0!important;max-width:100%!important}
body.woocommerce-checkout #order_review table .product-total{min-width:0!important;max-width:100%!important;white-space:normal!important}
body.woocommerce-checkout #order_review table .woocommerce-Price-amount{display:inline-block;max-width:100%;white-space:normal!important;unicode-bidi:plaintext}
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .bn-zero-heading{max-width:1100px!important;min-width:0!important}
@media(max-width:980px){
 body.woocommerce-checkout form.checkout #order_review{
  display:flex!important;flex-direction:column!important;gap:16px!important;
 }
 body.woocommerce-checkout form.checkout #order_review>.bn-qa-payment-disclosure{order:0!important;width:100%!important}
 body.woocommerce-checkout form.checkout #order_review>table.woocommerce-checkout-review-order-table{order:1!important;width:100%!important;margin:0!important}
 body.woocommerce-checkout form.checkout #order_review #payment{order:2!important;width:100%!important;margin:0!important}
 body.woocommerce-checkout form.checkout #order_review>.bn-zero-shipping-disclosure{order:3!important;width:100%!important}
}
@media(max-width:540px){
 body.woocommerce-checkout .bn-page-content{width:calc(100% - 28px)!important;padding:25px 0 50px!important}
 body.woocommerce-checkout .bn-zero-heading{margin:0 auto 20px!important}
 body.woocommerce-checkout .bn-zero-heading h2{font-size:clamp(28px,8vw,38px)!important;line-height:1.5!important}
 body.woocommerce-checkout #order_review #payment{padding:13px!important}
 body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method{padding-inline:11px!important;gap:0 8px!important}
 body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label{font-size:13px!important;padding:13px 0!important}
 body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>.payment_box{font-size:12px!important;padding:10px!important;margin-bottom:10px!important}
 body.woocommerce-checkout #order_review table td,body.woocommerce-checkout #order_review table th{padding:10px 8px!important;font-size:12px!important}
 body.woocommerce-checkout #order_review table .bn-zero-item-image{flex-basis:54px!important;width:54px!important;height:72px!important}
 body.woocommerce-checkout #order_review table .bn-zero-item-title{font-size:12px!important;line-height:1.75!important}
 body.woocommerce-checkout #order_review table .product-total{font-size:11px!important}
 body.woocommerce-checkout form.checkout #order_review>.bn-qa-payment-disclosure{padding:12px 14px!important;font-size:12px!important;line-height:1.85!important}
 body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{overflow-wrap:anywhere!important}
}
@media(prefers-reduced-motion:reduce){
 html.bn-meow-leaving::after,html.bn-meow-entering::after{transition:none!important}
 body.single-product .bn-atp-main,body.single-product .bn-atp-gallery{transition:none!important}
 body.single-product .bn-meow-color-link{transition:none!important}
}


/* Desktop QA: old checkout stylesheet assigned row 1 to summary + methods,
   overlapping the test warning. Strong selector restores explicit rows. */
@media(min-width:981px){
 html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review#order_review{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  grid-auto-flow:row!important;
  column-gap:22px!important;
  row-gap:20px!important;
  align-items:start!important;
 }
 html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review#order_review > .bn-qa-payment-disclosure{
  grid-column:1/-1!important;grid-row:1!important;
 }
 html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review#order_review > table.woocommerce-checkout-review-order-table{
  grid-column:1!important;grid-row:2!important;min-width:0!important;width:100%!important;
 }
 html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review#order_review > #payment.woocommerce-checkout-payment{
  grid-column:2!important;grid-row:2!important;min-width:0!important;width:100%!important;
 }
 html body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review#order_review > .bn-zero-shipping-disclosure{
  grid-column:1/-1!important;grid-row:3!important;
 }
}

/* Production guarded preview: hide the redundant native MEOW color select.
 * Both live product colors remain available as explicit adjacent product links. */
body.single-product.bn-meow-color-product form.variations_form table.variations tr:has(select[name*="%d8%b1%d9%86%da%af"]) {
  display:none!important;
}
