/* BANUK Customer Atelier v5 — staging-only UI. Responsive, accessible, no CTA arrows. */
body.logged-in.woocommerce-account .bn-account-heading-row{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:11px!important;min-height:46px;max-width:100%;margin:0 0 clamp(13px,2vw,24px)!important;
  padding:0!important;direction:rtl;
}
body.logged-in.woocommerce-account .bn-account-heading-row>h1.wp-block-post-title{
  display:block!important;margin:0!important;padding:0!important;line-height:1.4!important;
  font-size:clamp(23px,2.45vw,33px)!important;font-weight:450!important;
}
body.logged-in.woocommerce-account .bn-account-heading-row .bn-customer-bell{
  width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important;
  margin:0!important;padding:0!important;border-radius:50%!important;
  color:#3d3040!important;flex:0 0 35px;
}
body.logged-in.woocommerce-account .bn-account-heading-row .bn-customer-bell-icon{
  width:18px!important;height:18px!important;
}
body.logged-in.woocommerce-account .bn-account-heading-row .bn-customer-bell [data-bn-cn-count]{
  position:absolute!important;inset-inline-end:1px!important;inset-block-start:1px!important;
  width:10px!important;height:10px!important;min-width:10px!important;max-width:10px!important;
  padding:0!important;border:2px solid #fff!important;border-radius:50%!important;
  background:#c63e43!important;font-size:0!important;line-height:0!important;color:transparent!important;
  transform:translate(14%,-13%)!important;
}
body.logged-in.woocommerce-account .bn-account-heading-row .bn-customer-bell [data-bn-cn-count][hidden]{
  display:none!important;
}
body.logged-in.woocommerce-account .bn-account-heading-row .bn-customer-bell.has-unread .bn-customer-bell-icon{
  animation:none!important;
}
body.logged-in.woocommerce-account .bn-account-heading-row .bn-customer-bell:focus-visible{
  outline:2px solid #61446b;outline-offset:3px;
}
/* Mobile account navigation: clear selected section + unobtrusive menu icon, no arrows. */
@media(max-width:1100px){
 body.logged-in.woocommerce-account .bn-nav-enhanced .bn-nav-toggle{
   display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;
   gap:12px!important;align-items:center!important;width:100%!important;
   padding:12px 15px!important;min-height:52px!important;
   margin:0 0 8px!important;border:1px solid #dfd4ca!important;
   border-radius:8px!important;background:#f4eee8!important;box-shadow:none!important;
   text-align:start!important;font-size:13px!important;color:#312532!important;
 }
 body.logged-in.woocommerce-account .bn-nav-enhanced .bn-nav-toggle::before,
 body.logged-in.woocommerce-account .bn-nav-enhanced .bn-nav-toggle::after{
   display:none!important;content:none!important;
 }
 body.logged-in.woocommerce-account .bn-nav-toggle-text{font-weight:560;font-size:13px;min-width:0}
 body.logged-in.woocommerce-account .bn-nav-current{
   display:inline-flex;max-width:130px;min-width:0;padding:4px 9px;
   border:1px solid #ded1c8;border-radius:5px;background:#fffdfb;color:#765968;
   font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 }
 body.logged-in.woocommerce-account .bn-nav-toggle-icon{display:flex;align-items:center;color:#402447}
 body.logged-in.woocommerce-account .bn-nav-enhanced.bn-nav-open>ul{
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:8px!important;padding:12px!important;margin:0 0 8px!important;
   background:#fffdfb!important;border:1px solid #e7ded7!important;
   border-radius:8px!important;box-shadow:0 12px 28px rgb(40 20 35 / 7%)!important;
 }
 body.logged-in.woocommerce-account .bn-nav-enhanced.bn-nav-open>ul>li{
   display:block!important;width:auto!important;min-width:0!important;margin:0!important;
 }
 body.logged-in.woocommerce-account .bn-nav-enhanced.bn-nav-open>ul>li>a{
   display:flex!important;align-items:center!important;justify-content:center!important;
   width:100%!important;min-height:48px!important;padding:10px 7px!important;
   text-align:center!important;white-space:normal!important;font-size:12px!important;
   line-height:1.7!important;border:1px solid #eee8e1!important;border-radius:6px!important;
   background:#fff!important;
 }
 body.logged-in.woocommerce-account .bn-nav-enhanced.bn-nav-open>ul>li.is-active>a{
   background:#f0e7df!important;border-color:#d8c7d1!important;
   color:#402447!important;font-weight:650!important;
 }
}
@media(max-width:390px){
 body.logged-in.woocommerce-account .bn-nav-current{max-width:94px;font-size:10px}
 body.logged-in.woocommerce-account .bn-nav-enhanced.bn-nav-open>ul{grid-template-columns:1fr!important;gap:5px!important;padding:9px!important}
 body.logged-in.woocommerce-account .bn-nav-enhanced.bn-nav-open>ul>li>a{min-height:43px!important}
}
/* Password controls: icon only, keyboard accessible and inside the input wrapper. */
body.logged-in.woocommerce-account .woocommerce-EditAccountForm .bn-password-field{
  position:relative!important;display:block!important;min-width:0!important;
}
body.logged-in.woocommerce-account .woocommerce-EditAccountForm .bn-password-field input{
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  padding-inline-end:51px!important;
}
body.logged-in.woocommerce-account .woocommerce-EditAccountForm .bn-show-password,
body.logged-in.woocommerce-account .woocommerce-EditAccountForm .bn-password-field .show-password-input{
  position:absolute!important;inset-inline-end:7px!important;inset-inline-start:auto!important;
  top:50%!important;transform:translateY(-50%)!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important;
  padding:0!important;margin:0!important;border:0!important;background:transparent!important;
  border-radius:5px!important;color:#544757!important;font-size:0!important;line-height:0!important;cursor:pointer!important;
  box-shadow:none!important;
}
body.logged-in.woocommerce-account .woocommerce-EditAccountForm .bn-show-password::before,
body.logged-in.woocommerce-account .woocommerce-EditAccountForm .bn-show-password::after{
  content:none!important;display:none!important;
}
body.logged-in.woocommerce-account .woocommerce-EditAccountForm .bn-show-password:hover,
body.logged-in.woocommerce-account .woocommerce-EditAccountForm .bn-password-field .show-password-input:hover{
  background:#f2ede7!important;
}
body.logged-in.woocommerce-account .woocommerce-EditAccountForm :is(.bn-show-password,.show-password-input):focus-visible{
  outline:2px solid #63456e!important;outline-offset:2px!important;
}
/* Top-up is a safe, request-only staging flow; no payment confirmation or credit. */
body.woocommerce-account .bn-wallet-topup{
  margin:23px 0 30px;border:1px solid #e5dcd5;border-radius:9px;
  padding:clamp(17px,2.4vw,26px);background:#faf8f5;
}
body.woocommerce-account .bn-topup-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
body.woocommerce-account .bn-topup-head h3{font-size:21px;font-weight:480;margin:5px 0 0}
body.woocommerce-account .bn-topup-chip{background:#f0e5de;border:1px solid #e0cec5;border-radius:999px;padding:6px 11px;font-size:11px;color:#715968}
body.woocommerce-account .bn-topup-description{margin:12px 0 19px;max-width:700px;font-size:12px;line-height:2.15;color:#716867}
body.woocommerce-account .bn-topup-feedback{padding:11px 14px;background:#f1eee8;border-inline-start:3px solid #6c4e6f;font-size:12px;line-height:2;border-radius:5px}
body.woocommerce-account .bn-topup-form label{display:block;font-size:12px;margin:0 0 9px;color:#382c3b}
body.woocommerce-account .bn-topup-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}
body.woocommerce-account .bn-topup-input-row input{
  min-width:0!important;width:100%!important;max-width:100%!important;
  min-height:48px;border:1px solid #d9d0c8!important;border-radius:6px!important;
  background:#fff!important;padding:12px 14px!important;
  direction:ltr;text-align:end;font-size:14px;color:#312533;
}
body.woocommerce-account .bn-topup-input-row button{
  min-height:48px!important;padding:11px 22px!important;white-space:nowrap!important;
  background:#402447!important;color:#fff!important;border:1px solid #402447!important;border-radius:6px!important;font-size:12px!important;
}
body.woocommerce-account .bn-topup-suggest{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
body.woocommerce-account .bn-topup-quick{
  display:inline-flex;align-items:center;min-height:39px;padding:7px 12px;
  border:1px solid #e2d7cf;border-radius:6px;background:#fff;
  color:#5b4d58;font-size:11px;cursor:pointer;
}
body.woocommerce-account .bn-topup-quick:hover,
body.woocommerce-account .bn-topup-quick:focus-visible{background:#f0e7e0;border-color:#b49fae}
body.woocommerce-account .bn-topup-history{margin-top:23px;border-top:1px solid #e5ddd6;padding-top:19px}
body.woocommerce-account .bn-topup-history h4{font-size:16px;font-weight:500;margin:0 0 12px}
body.woocommerce-account .bn-topup-history-list{display:grid;gap:8px}
body.woocommerce-account .bn-topup-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px;border:1px solid #e9e0d9;border-radius:6px;background:#fff}
body.woocommerce-account .bn-topup-history-row>div{display:flex;flex-direction:column;gap:6px}
body.woocommerce-account .bn-topup-history-row strong{font-size:13px;font-weight:520}
body.woocommerce-account .bn-topup-history-row small,
body.woocommerce-account .bn-topup-history-row>span{font-size:11px;color:#7d6d78}
body.woocommerce-account .bn-topup-cancel{min-height:36px;border:1px solid #e1d5cc;background:#fff;border-radius:5px;padding:7px 12px;color:#8d5658;font-size:11px;cursor:pointer}
@media(max-width:600px){
 body.logged-in.woocommerce-account .bn-account-heading-row{gap:7px!important;min-height:40px!important;margin-bottom:13px!important}
 body.logged-in.woocommerce-account .bn-account-heading-row>h1.wp-block-post-title{font-size:clamp(21px,6vw,27px)!important}
 body.logged-in.woocommerce-account .bn-account-heading-row .bn-customer-bell{width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important}
 body.woocommerce-account .bn-topup-input-row{grid-template-columns:1fr!important}
 body.woocommerce-account .bn-topup-input-row button{width:100%!important}
 body.woocommerce-account .bn-topup-quick{flex:1 1 auto;justify-content:center}
}
@media(prefers-reduced-motion:reduce){
 body.logged-in.woocommerce-account .bn-nav-enhanced *{animation:none!important;transition:none!important}
}
