/* BANUK staging: order pages refresh, v1 — 2026-11-09 */
body.woocommerce-account,body.woocommerce-order-pay,body.woocommerce-order-received{
 --bn-oe-ink:#282529;--bn-oe-muted:#77716f;--bn-oe-line:#e7e1dc;
 --bn-oe-cream:#faf8f5;--bn-oe-plum:#402447;--bn-oe-white:#fff;
}
body.woocommerce-account #main,
body.woocommerce-order-pay #main{max-width:1240px!important;margin-inline:auto!important;padding-inline:clamp(18px,4vw,60px)!important}
body.woocommerce-account #main :is(.wp-block-post-title,h1){font-size:clamp(27px,3.5vw,42px);font-weight:400;line-height:1.5;letter-spacing:-.015em}
body.woocommerce-account :is(.woocommerce,.woocommerce-MyAccount-content,.woocommerce-MyAccount-navigation),
body.woocommerce-order-pay :is(.woocommerce,#order_review,#payment){box-sizing:border-box;min-width:0}
body.woocommerce-account .woocommerce::after{content:"";display:block;clear:both}
body.woocommerce-account .woocommerce-MyAccount-navigation{
 width:22%!important;max-width:245px;float:right!important;margin:0 0 28px!important;
}
body.woocommerce-account .woocommerce-MyAccount-content{
 width:74%!important;float:left!important;margin:0 0 50px!important;min-width:0!important;
}
html[lang^="en"] body.woocommerce-account .woocommerce-MyAccount-navigation{float:left!important}
html[lang^="en"] body.woocommerce-account .woocommerce-MyAccount-content{float:right!important}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{padding:0!important;margin:0!important;list-style:none}
body.woocommerce-account .woocommerce-MyAccount-navigation li{list-style:none;padding:0;margin:0 0 5px!important}
body.woocommerce-account .woocommerce-MyAccount-navigation a{
 display:flex;align-items:center;min-height:46px;padding:10px 16px!important;
 border-radius:5px;text-decoration:none!important;color:var(--bn-oe-ink)!important;
 font-size:14px;line-height:1.6;transition:background .2s
}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
 background:#f0eae3!important;font-weight:600
}
body.woocommerce-account .woocommerce-MyAccount-content>p:first-child{line-height:2;color:var(--bn-oe-muted)}
body.woocommerce-account .woocommerce-info,body.woocommerce-account .woocommerce-message{
 border-radius:9px;border:1px solid #d9e2e9!important;
 padding:17px 20px!important;background:#f5f8fb!important;line-height:1.95;
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px
}
body.woocommerce-account .woocommerce-info::before,body.woocommerce-account .woocommerce-message::before{display:none}
body.woocommerce-account table.woocommerce-orders-table{
 width:100%!important;max-width:100%;table-layout:auto;border:1px solid var(--bn-oe-line)!important;
 border-collapse:separate!important;border-spacing:0!important;border-radius:9px!important;
 background:var(--bn-oe-white);overflow:hidden;margin:0 0 28px!important;
 box-shadow:0 6px 20px #2f25240b
}
body.woocommerce-account table.woocommerce-orders-table thead{background:#f5f1ec}
body.woocommerce-account table.woocommerce-orders-table th{
 padding:17px 15px!important;font-size:13px;font-weight:600;color:#3b3434;line-height:1.6;
 text-align:start!important;border:0!important;border-bottom:1px solid var(--bn-oe-line)!important
}
body.woocommerce-account table.woocommerce-orders-table td{
 padding:17px 15px!important;vertical-align:middle!important;text-align:start!important;
 font-size:13px;line-height:1.8;border:0!important;border-bottom:1px solid var(--bn-oe-line)!important
}
body.woocommerce-account table.woocommerce-orders-table tbody tr:last-child td{border-bottom:0!important}
body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions{
 width:220px;min-width:180px;white-space:normal!important;line-height:1.4!important
}
body.woocommerce-account .woocommerce-orders-table__cell-order-actions :is(a.button,button.button){
 display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;
 min-width:72px;min-height:36px;margin:3px 2px!important;padding:8px 13px!important;
 background:var(--bn-oe-plum)!important;color:#fff!important;font-size:12px!important;
 line-height:1.4!important;font-weight:500!important;border:1px solid var(--bn-oe-plum)!important;
 border-radius:5px!important;text-decoration:none!important;box-shadow:none!important
}
body.woocommerce-account .woocommerce-orders-table__cell-order-actions :is(a.button,button.button):hover{background:#5c3664!important}
body.woocommerce-account .woocommerce-orders-table td.woocommerce-orders-table__cell-order-total{white-space:normal}
body.woocommerce-account :is(.woocommerce-orders-table,.woocommerce-order-details,.woocommerce-customer-details) a{overflow-wrap:anywhere}
body.woocommerce-account .woocommerce-order-details{margin:32px 0!important;padding:0!important;max-width:100%}
body.woocommerce-account .woocommerce-order-details__title{font-size:clamp(21px,2.2vw,30px)!important;font-weight:400!important;margin:0 0 20px!important}
body.woocommerce-account table.woocommerce-table--order-details{
 border:1px solid var(--bn-oe-line)!important;border-radius:9px!important;
 border-collapse:separate!important;border-spacing:0!important;width:100%!important;
 background:#fff;overflow:hidden;table-layout:auto
}
body.woocommerce-account table.woocommerce-table--order-details :is(th,td){
 padding:16px 18px!important;text-align:start!important;line-height:1.9!important;
 border-bottom:1px solid var(--bn-oe-line)!important;vertical-align:middle
}
body.woocommerce-account table.woocommerce-table--order-details tfoot tr:last-child :is(th,td){border-bottom:0!important;background:#f8f5f1}
body.woocommerce-account .woocommerce-customer-details{border:1px solid var(--bn-oe-line);border-radius:9px;background:#fff;padding:22px}
body.woocommerce-account .woocommerce-customer-details address{border:0!important;line-height:2;overflow-wrap:anywhere}
body.woocommerce-order-pay #order_review,body.woocommerce-order-pay #payment{
 max-width:1050px;margin-inline:auto;min-width:0;
}
body.woocommerce-order-pay #payment{
 padding:clamp(15px,2vw,28px)!important;background:#fff!important;
 border:1px solid var(--bn-oe-line);border-radius:9px!important
}
body.woocommerce-order-pay #payment .payment_methods{padding:0!important;margin:0 0 20px!important;list-style:none}
body.woocommerce-order-pay #payment .payment_methods li{padding:12px 15px;border:1px solid var(--bn-oe-line);border-radius:8px;margin:0 0 11px!important}
body.woocommerce-order-pay #payment .payment_box{background:#f7f3f8!important;color:#4a4446!important;padding:14px!important;border-radius:5px!important}
body.woocommerce-order-pay #payment .place-order{padding:14px 0 0!important;margin:0}
body.woocommerce-order-pay #payment button#place_order{width:100%;border-radius:5px;min-height:50px}
body.woocommerce-order-pay table.shop_table{max-width:1050px;margin-inline:auto;width:100%!important;border:1px solid var(--bn-oe-line)!important;border-radius:9px!important;table-layout:auto}
body.woocommerce-order-pay table.shop_table :is(td,th){padding:15px 19px!important;line-height:1.8!important;vertical-align:middle!important}
body.woocommerce-order-pay table.shop_table .product-name{overflow-wrap:anywhere}
.bn-order-qa-status{
 margin:18px 0!important;padding:20px 22px!important;border:1px solid #e2d5de!important;
 border-radius:9px;background:#fbf8fa;color:#332936;line-height:1.95;clear:both
}
.bn-order-qa-status__title{font-size:17px;font-weight:600;margin-bottom:10px}
.bn-order-qa-status p{margin:8px 0!important;font-size:14px}
.bn-order-qa-status small{display:block;color:var(--bn-oe-muted);margin-top:12px}
.bn-order-qa-status__button,.bn-qa-renew-link{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none!important;
 background:var(--bn-oe-plum)!important;border:1px solid var(--bn-oe-plum);border-radius:5px;
 padding:10px 20px;color:#fff!important;font-size:14px;margin-top:9px;min-height:43px
}
.bn-qa-invoice{border:1px solid #e2d8d1;border-radius:10px;background:#fff;padding:clamp(18px,3.5vw,30px);margin:20px 0;line-height:2;min-width:0}
.bn-qa-invoice__head{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid var(--bn-oe-line);padding-bottom:13px;margin-bottom:18px}
.bn-qa-invoice__head>span{font:11px Georgia,serif;letter-spacing:.14em;color:#83776c;white-space:nowrap}
.bn-qa-invoice__head h3{font-size:clamp(18px,2vw,24px);margin:0}
.bn-qa-invoice code{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;direction:ltr;font:12px/1.8 monospace;background:#f6f2ec;padding:4px 7px}
.bn-qa-invoice__foot{font-size:13px;color:#70666b}
#banuk-shasta-testpay-check{
 max-width:1050px;box-sizing:border-box;min-width:0;margin:22px 0 32px!important;
 border:1px solid var(--bn-oe-line)!important;border-radius:10px!important;
 background:#faf8f5!important;padding:clamp(16px,3vw,28px)!important;
 font-size:14px;line-height:1.95
}
#banuk-shasta-testpay-check h3{font-size:20px;margin:0 0 10px}
#banuk-shasta-testpay-check p{margin:10px 0}
#banuk-shasta-testpay-check form{display:grid;gap:10px}
#banuk-shasta-testpay-check input[type="text"]{
 display:block;max-width:100%;width:100%!important;box-sizing:border-box;min-height:44px;
 border:1px solid #ded6d1;border-radius:5px;padding:11px 13px;background:#fff;
 font:13px/1.6 monospace;direction:ltr;text-align:left
}
#banuk-shasta-testpay-check button{background:var(--bn-oe-plum)!important;color:white!important;min-height:40px;border-radius:5px;padding-inline:20px}
body.woocommerce-order-received .woocommerce-order-details,.bn-qa-invoice{max-width:1050px}
body.woocommerce-account .woocommerce table td,body.woocommerce-order-pay .woocommerce table td{overflow-wrap:anywhere}
@media (min-width:981px){
 body.woocommerce-account .woocommerce-MyAccount-content{width:74%!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation{width:22%!important}
}
@media (max-width:980px){
 body.woocommerce-account .woocommerce-MyAccount-navigation,
 body.woocommerce-account .woocommerce-MyAccount-content{
  width:100%!important;max-width:none!important;float:none!important;
  clear:both!important;margin:0 0 22px!important
 }
 body.woocommerce-account .woocommerce-MyAccount-navigation ul{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px
 }
 body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation a{
  justify-content:center;text-align:center;font-size:13px;min-height:44px;padding:9px 8px!important;
  border:1px solid var(--bn-oe-line)
 }
 body.woocommerce-account .woocommerce-MyAccount-content{padding-top:10px}
}
@media (max-width:760px){
 body.woocommerce-account #main,body.woocommerce-order-pay #main{padding-inline:16px!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.woocommerce-account table.woocommerce-orders-table{
  border:0!important;background:transparent;box-shadow:none;display:block!important;
  overflow:visible!important
 }
 body.woocommerce-account table.woocommerce-orders-table thead{display:none!important}
 body.woocommerce-account table.woocommerce-orders-table tbody{display:grid!important;gap:14px}
 body.woocommerce-account table.woocommerce-orders-table tbody tr{
  display:block!important;border:1px solid var(--bn-oe-line)!important;
  background:#fff!important;border-radius:10px!important;overflow:hidden;box-shadow:0 4px 16px #2f252408
 }
 body.woocommerce-account table.woocommerce-orders-table tbody td{
  display:flex!important;align-items:center;justify-content:space-between;gap:12px;
  width:100%!important;min-width:0!important;min-height:53px;text-align:start!important;
  padding:12px 15px!important;border-bottom:1px solid var(--bn-oe-line)!important
 }
 body.woocommerce-account table.woocommerce-orders-table tbody td:last-child{border-bottom:0!important}
 body.woocommerce-account table.woocommerce-orders-table tbody td::before{
  content:attr(data-title)!important;display:block!important;flex:0 0 38%;
  font-size:12px;font-weight:600;color:#736d68;text-align:start;line-height:1.8
 }
 body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions{
  display:flex!important;flex-wrap:wrap;justify-content:flex-start;align-items:center;
  width:100%!important;padding:12px!important;gap:7px
 }
 body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before{display:none!important}
 body.woocommerce-account .woocommerce-orders-table__cell-order-actions a.button{
  flex:1 1 80px;min-width:0;margin:0!important;min-height:42px;white-space:normal;text-align:center
 }
 body.woocommerce-account .woocommerce-order-details{margin:22px 0!important}
 body.woocommerce-account .woocommerce-order-details .woocommerce-table--order-details{
  display:table!important;table-layout:fixed!important;width:100%!important
 }
 body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details :is(th,td){
  padding:12px!important;font-size:12px!important;line-height:1.9!important
 }
 body.woocommerce-account .woocommerce-order-details table.woocommerce-table--order-details thead{display:table-header-group!important}
 body.woocommerce-account .woocommerce-customer-details{padding:16px}
 body.woocommerce-order-pay table.shop_table{table-layout:fixed}
 body.woocommerce-order-pay table.shop_table :is(th,td){padding:10px!important;font-size:12px!important}
 body.woocommerce-order-pay #payment{padding:15px!important}
 .bn-qa-invoice__head{flex-wrap:wrap}
 #banuk-shasta-testpay-check{margin-inline:0!important}
 .bn-qa-renew-link,.bn-order-qa-status__button{width:100%;text-align:center;white-space:normal}
}
@media(max-width:360px){
 body.woocommerce-account .woocommerce-MyAccount-navigation a{font-size:12px}
 body.woocommerce-account table.woocommerce-orders-table tbody td::before{flex-basis:34%}
}

/* Compact desktop order actions: three controls in one row, mobile stays flexible. */
@media(min-width:761px){
 body.woocommerce-account table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions{
  width:220px;min-width:220px;white-space:nowrap!important
 }
 body.woocommerce-account .woocommerce-orders-table__cell-order-actions :is(a.button,button.button){
  min-width:60px!important;padding:8px 9px!important;margin:2px 1px!important;
  font-size:11px!important
 }
}
