/* Bimokook Wholesale Portal — same visual language as bimokook.com.
   Brand font and color tokens mirror the main storefront design system.
   Scoped to the wholesale domain; no global storefront CSS cascade. */
:root {
  --bmk-mint:#8DCDB9;
  --bmk-mint-dark:#69bda3;
  --bmk-mint-soft:#eef8f5;
  --bmk-black:#0a0a0a;
  --bmk-ink:#181818;
  --bmk-muted:#767676;
  --bmk-line:#e8e8e8;
  --bmk-soft:#f7f7f5;
  --bmk-white:#fff;
}
*,*::before,*::after{box-sizing:border-box}
html{font-size:14px;background:var(--bmk-white)}
body{
  margin:0;
  color:var(--bmk-ink);
  background:var(--bmk-white);
  font-family:Almarai,Arial,sans-serif;
  min-height:100svh;
  line-height:1.75;
  display:flex;
  flex-direction:column;
}
button,input{font:inherit}
button{cursor:pointer}
[hidden]{display:none}
a{color:inherit}
.bmk-whp-header{
  border-bottom:1px solid var(--bmk-line);
  background:var(--bmk-white);
}
.bmk-whp-header-inner{
  max-width:1240px;
  width:calc(100% - 48px);
  min-height:83px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:16px;
}
.bmk-whp-header-spacer{min-width:0}
.bmk-whp-brand{
  justify-self:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:#050505;
  white-space:nowrap;
  font-weight:800;
}
.bmk-brand-lock{
  position:relative;
  display:inline-block;
  white-space:nowrap;
  unicode-bidi:isolate;
  font-weight:800;
  line-height:1;
}
.bmk-brand-lock.is-en{
  direction:ltr;
  padding-right:15px;
  text-align:left;
}
.bmk-brand-lock.is-ar{
  direction:rtl;
  padding-left:15px;
  text-align:right;
}
.bmk-brand-tm{
  position:absolute;
  top:-.52em;
  font-size:.42em;
  line-height:1;
  font-weight:800;
  letter-spacing:0;
}
.bmk-brand-lock.is-en .bmk-brand-tm{right:0}
.bmk-brand-lock.is-ar .bmk-brand-tm{left:0}
.bmk-brand-logo{font-size:29px;letter-spacing:-.035em}
.bmk-whp-header-actions{
  display:flex;
  align-items:center;
  justify-self:end;
  justify-content:flex-end;
  gap:17px;
  min-width:0;
}
.bmk-whp-market-label{
  color:#555;
  border-inline-end:1px solid #e3e3e3;
  padding-inline-end:15px;
  font-size:12px;
  white-space:nowrap;
}
.bmk-whp-language{
  display:flex;
  align-items:center;
  gap:9px;
  color:#b5b5b5;
  font-size:11px;
  white-space:nowrap;
}
.bmk-whp-language a{
  color:#696969;
  text-decoration:none;
}
.bmk-whp-language a:hover{color:var(--bmk-black)}
.bmk-whp-language a[aria-current=page]{
  color:var(--bmk-black);
  font-weight:800;
}
.bmk-whp-signout{
  border:1px solid #ddd;
  background:#fff;
  color:#333;
  font-size:11px;
  font-weight:700;
  border-radius:8px;
  padding:10px 13px;
}
.bmk-whp-signout:hover{background:#f6f6f6}
.bmk-whp-signout:disabled{opacity:.55}
.bmk-whp-brand-band{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:9px 16px;
  background:var(--bmk-mint);
  color:#0a261c;
  font-size:12px;
  font-weight:800;
}
.bmk-whp-login-shell{
  max-width:1130px;
  width:calc(100% - 48px);
  margin:0 auto;
  padding:79px 0 103px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(350px,420px);
  gap:clamp(38px,7vw,110px);
  align-items:center;
  flex:1;
}
.bmk-whp-intro{min-width:0}
.bmk-whp-kicker{
  display:block;
  font-family:Montserrat,Almarai,sans-serif;
  font-size:10px;
  font-weight:800;
  letter-spacing:1.6px;
  color:#5e736b;
  margin:0 0 16px;
}
.bmk-whp-intro h1{
  color:#111;
  font-size:clamp(31px,3.5vw,44px);
  line-height:1.65;
  letter-spacing:-.25px;
  font-weight:800;
  margin:0 0 15px;
  text-wrap:balance;
}
.bmk-whp-intro>p{
  color:#727272;
  font-size:14px;
  line-height:2.1;
  max-width:480px;
  margin:0;
}
.bmk-whp-login-card{
  position:relative;
  min-width:0;
  padding:34px 32px 32px;
  border:1px solid #e4e4e4;
  border-radius:15px;
  background:#fff;
  box-shadow:0 14px 40px rgba(0,0,0,.04);
  overflow:hidden;
}
.bmk-whp-card-top h2{
  margin:0 0 7px;
  font-size:22px;
  font-weight:800;
  color:#151515;
  line-height:1.65;
}
.bmk-whp-card-top p{
  margin:0 0 25px;
  color:#777;
  font-size:12px;
  line-height:1.9;
}
.bmk-whp-label{
  display:block;
  color:#292929;
  font-size:12px;
  font-weight:800;
  margin:0 0 10px;
}
.bmk-whp-phone{
  min-height:50px;
  width:100%;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  border:1px solid #dedede;
  border-radius:9px;
  background:#fff;
  direction:ltr;
}
.bmk-whp-phone:focus-within{
  border-color:var(--bmk-black);
  box-shadow:0 0 0 2px rgba(141,205,185,.18);
}
.bmk-whp-phone span{
  display:flex;
  align-items:center;
  flex-shrink:0;
  padding:0 14px;
  border-inline-end:1px solid #ececec;
  color:#555;
  font-size:13px;
  font-weight:700;
  font-family:Montserrat,Arial,sans-serif;
}
.bmk-whp-phone input{
  flex:1;
  min-width:0;
  padding:11px 13px;
  border:0;
  outline:none;
  background:#fff;
  color:#151515;
  font-size:14px;
  direction:ltr;
  text-align:left;
  font-family:Montserrat,Arial,sans-serif;
}
.bmk-whp-phone input:read-only{background:#f8faf9}
.bmk-whp-submit{
  width:100%;
  min-height:49px;
  margin-top:17px;
  padding:11px 17px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--bmk-black);
  color:#fff;
  border:1px solid var(--bmk-black);
  border-radius:9px;
  font-size:12px;
  font-weight:800;
  transition:background .16s ease;
}
.bmk-whp-submit:hover{background:#303030}
.bmk-whp-submit:disabled{opacity:.55;cursor:wait}
.bmk-whp-otp-panel{margin-top:21px}
.bmk-whp-otp-destination{
  font-size:11px;
  line-height:1.8;
  color:#888;
  margin:0 0 12px;
}
.bmk-whp-otp-destination strong{
  color:#292929;
  font:700 12px Montserrat,Arial,sans-serif;
}
.bmk-whp-pin{
  width:100%;
  min-height:58px;
  padding:12px;
  background:#f9faf9;
  color:#161616;
  text-align:center;
  letter-spacing:15px;
  font:800 25px Montserrat,Arial,sans-serif;
  outline:none;
  border:1px solid #ddd;
  border-radius:9px;
}
.bmk-whp-pin:focus{border-color:#111}
.bmk-whp-otp-utilities{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:11px;
  margin-top:13px;
}
.bmk-whp-otp-utilities button{
  padding:0;
  border:0;
  background:none;
  color:#626262;
  text-decoration:underline;
  text-underline-offset:3px;
  font-size:11px;
}
.bmk-whp-otp-utilities button:disabled{opacity:.55;cursor:wait}
.bmk-whp-otp-utilities span{color:#888;font-size:10px}
.bmk-whp-error{
  border:1px solid #edc8c6;
  background:#fff8f7;
  padding:11px 13px;
  border-radius:8px;
  color:#a62828;
  line-height:1.85;
  font-size:12px;
  margin:15px 0 0;
}
.bmk-whp-verifying{
  position:absolute;
  z-index:5;
  inset:0;
  padding:28px;
  border-radius:15px;
  background:rgba(255,255,255,.98);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  text-align:center;
}
.bmk-whp-verifying[hidden]{display:none}
.bmk-whp-verifying h3{
  font-size:17px;
  font-weight:800;
  margin:0;
}
.bmk-whp-verifying p{
  font-size:12px;
  color:#777;
  margin:0;
  line-height:1.9;
}
.bmk-whp-spinner{
  width:44px;
  height:44px;
  border:3px solid #eaeaea;
  border-top-color:var(--bmk-mint-dark);
  border-radius:50%;
  animation:bmk-whp-spin .72s linear infinite;
}
@keyframes bmk-whp-spin{to{transform:rotate(360deg)}}
.bmk-whp-dashboard{
  width:min(1080px,calc(100% - 48px));
  margin:0 auto;
  padding:39px 0 78px;
  flex:1;
}
.bmk-whp-dash-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:18px;
  margin:0 0 25px;
}
.bmk-whp-dash-title h1{
  font-size:27px;
  font-weight:800;
  margin:0 0 6px;
}
.bmk-whp-dash-title .bmk-whp-kicker{margin:0 0 10px}
.bmk-whp-dash-title p{font-size:12px;color:#888;line-height:1.9;margin:0}
.bmk-whp-catalog{
  min-height:45px;
  padding:12px 17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-radius:9px;
  background:var(--bmk-black);
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.bmk-whp-catalog:hover{background:#303030}
.bmk-whp-catalog svg{
  width:16px;
  height:16px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
}
html[dir=rtl] .bmk-whp-catalog svg{transform:scaleX(-1)}
.bmk-whp-customer-strip{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:24px;
  padding:18px 20px;
  background:var(--bmk-white);
  border:1px solid var(--bmk-line);
  border-radius:14px;
}
.bmk-whp-customer-avatar{
  display:grid;
  place-items:center;
  flex:0 0 50px;
  width:50px;
  height:50px;
  border-radius:13px;
  font-size:20px;
  font-weight:800;
  color:#102920;
  background:var(--bmk-mint);
}
.bmk-whp-customer-info{
  display:flex;
  flex-direction:column;
  flex:1;
  gap:3px;
  min-width:0;
}
.bmk-whp-customer-info>span{
  font-size:10px;
  font-weight:800;
  letter-spacing:.75px;
  color:#888;
}
.bmk-whp-customer-info strong{
  font-size:14px;
  font-weight:800;
  line-height:1.7;
  overflow-wrap:anywhere;
}
.bmk-whp-customer-info small{
  font-size:11px;
  color:#777;
  align-self:flex-start;
}
.bmk-whp-verified{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 10px;
  border:1px solid #d6eae1;
  border-radius:8px;
  background:var(--bmk-mint-soft);
  color:#2d7559;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.bmk-whp-verified svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:#286b4c;
  stroke-width:2.3;
}
.bmk-whp-editor .bmk-wbiz{
  max-width:100%;
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
}
.bmk-whp-editor .bmk-wbiz-main{background:#fff}
.bmk-whp-footer{
  max-width:1240px;
  width:calc(100% - 48px);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-top:1px solid var(--bmk-line);
  padding:22px 0;
  color:#999;
  font-size:11px;
}
.bmk-wholesale-front-control{
  display:grid;
  grid-template-columns:minmax(145px,250px) minmax(0,1fr);
  align-items:center;
  gap:17px;
  margin:0 0 21px;
}
.bmk-wholesale-front-preview{
  display:grid;
  place-items:center;
  height:143px;
  padding:5px;
  border:1px dashed #ddd;
  border-radius:10px;
  background:#f7f8f7;
  overflow:hidden;
  text-align:center;
  color:#929292;
  font-size:12px;
}
.bmk-wholesale-front-preview img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:7px;
}
.bmk-wholesale-front-preview img[hidden]{display:none}
.bmk-wholesale-front-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}
.bmk-wholesale-front-actions>label:first-child{font-size:12px;font-weight:800}
.bmk-wholesale-front-actions input[type=file]{max-width:100%;font-size:12px;color:#555}
.bmk-wholesale-front-actions small{font-size:11px;color:#888}
.bmk-wholesale-front-actions label:last-child{font-size:11px;color:#777}
@media(max-width:830px){
  .bmk-whp-login-shell{
    grid-template-columns:1fr;
    max-width:640px;
    gap:28px;
    padding:54px 0 72px;
  }
  .bmk-whp-intro h1{font-size:34px}
}
@media(max-width:560px){
  .bmk-whp-header-inner{min-height:65px;width:calc(100% - 26px);gap:8px}
  .bmk-brand-logo{font-size:20px}
  .bmk-whp-header-actions{gap:9px}
  .bmk-whp-market-label{font-size:10px;padding-inline-end:9px}
  .bmk-whp-language{gap:5px;font-size:10px}
  .bmk-whp-signout{font-size:10px;padding:8px}
  .bmk-whp-brand-band{min-height:42px;font-size:11px}
  .bmk-whp-login-shell{
    width:calc(100% - 26px);
    padding:32px 0 57px;
    gap:22px;
  }
  .bmk-whp-kicker{font-size:9px;margin-bottom:10px}
  .bmk-whp-intro h1{font-size:27px;margin-bottom:12px}
  .bmk-whp-intro>p{font-size:12px;line-height:2}
  .bmk-whp-login-card{padding:24px 18px 25px}
  .bmk-whp-card-top h2{font-size:20px}
  .bmk-whp-card-top p{font-size:11px}
  .bmk-whp-dashboard{width:calc(100% - 26px);padding-top:24px}
  .bmk-whp-dash-title h1{font-size:24px}
  .bmk-whp-catalog{width:100%}
  .bmk-whp-customer-strip{flex-wrap:wrap;padding:14px;gap:12px}
  .bmk-whp-customer-avatar{flex-basis:44px;width:44px;height:44px}
  .bmk-whp-verified{margin-inline-start:56px}
  .bmk-whp-footer{width:calc(100% - 26px);font-size:10px;flex-wrap:wrap}
  .bmk-wholesale-front-control{grid-template-columns:1fr}
  .bmk-wholesale-front-preview{height:176px}
}
@media(prefers-reduced-motion:reduce){
  .bmk-whp-spinner{animation:none}
}

/* Wholesale locale controls: matches the storefront's flag/dropdown language selector. */
.bmk-whp-locales{
  display:flex;align-items:center;justify-content:flex-end;
  gap:15px;direction:ltr;flex:0 0 auto;
}
.bmk-whp-locales .bmk-locale-control{
  position:relative;display:inline-flex;align-items:center;
  min-height:36px;white-space:nowrap;color:#111;
}
.bmk-whp-locales .bmk-custom-menu-trigger{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;background:transparent;padding:5px 1px;color:inherit;
  font:inherit;cursor:pointer;
}
.bmk-whp-locales .bmk-custom-menu-trigger:focus-visible{
  outline:2px solid #181818;outline-offset:3px;border-radius:5px;
}
.bmk-whp-locales .bmk-locale-flag{
  width:29px;height:20px;display:block;object-fit:cover;flex:0 0 auto;
}
.bmk-whp-locales .bmk-locale-language-text{
  font-size:12px;font-weight:500;line-height:1.6;
}
.bmk-whp-locales .bmk-locale-caret{
  flex:0 0 6px;width:6px;height:6px;
  border-inline-end:1px solid #484848;border-bottom:1px solid #484848;
  transform:translateY(-2px) rotate(45deg);
}
.bmk-whp-locales .bmk-custom-menu-panel{
  position:absolute;top:calc(100% + 9px);right:0;left:auto;
  min-width:213px;background:#fff;color:#333;
  border:1px solid #e4e4df;
  box-shadow:0 16px 36px rgba(0,0,0,.12);
  z-index:150;overflow:hidden;
  border-radius:5px;
}
/* On RTL tablet/desktop the locale triggers sit at the left edge.
   Open the panel rightward so it stays within the viewport. LTR keeps
   the existing right-aligned panel. Mobile uses the header-wide anchor. */
@media(min-width:651px){
  html[dir="rtl"] .bmk-whp-locales .bmk-custom-menu-panel{
    left:0;
    right:auto;
  }
}
.bmk-whp-locales .bmk-custom-menu-title{
  padding:13px 16px;color:#777;font-size:12px;
  border-bottom:1px solid #eee;text-align:start;
}
.bmk-whp-locales .bmk-custom-menu-option{
  display:flex;align-items:center;gap:11px;
  width:100%;min-height:45px;padding:10px 14px;
  background:#fff;border-bottom:1px solid #eee;
  color:#303030;font-size:12px;text-decoration:none;text-align:start;
  white-space:nowrap;direction:inherit;
}
.bmk-whp-locales .bmk-custom-menu-option:last-child{border-bottom:0}
.bmk-whp-locales .bmk-custom-menu-option:hover,
.bmk-whp-locales .bmk-custom-menu-option:focus-visible{background:#f4faf7}
.bmk-whp-locales .bmk-custom-menu-option img{
  width:27px;height:19px;object-fit:cover;display:block;flex:0 0 auto;
}
.bmk-whp-locales .bmk-menu-lang-symbol{
  display:grid;place-items:center;
  width:28px;height:28px;
  border:1px solid #e0e0e0;font-size:10px;font-weight:700;
}
.bmk-whp-locales .bmk-menu-check{
  margin-inline-start:auto;color:#23755b;font-weight:800;
}
.bmk-whp-locales .bmk-custom-menu-option.is-selected{
  font-weight:800;color:#141414;
}
.bmk-whp-locales .bmk-locale-language{min-width:68px}
.bmk-whp-locales .bmk-locale-country{min-width:41px}

/* Same compact account card, extended only for the existing wholesale application form. */
.bmk-whp-register-optional{
  display:flex;flex-direction:column;gap:0;
  margin-top:19px;padding-top:18px;border-top:1px solid #f0f0f0;
}
.bmk-whp-label span:not(.bmk-whp-required){
  margin-inline-start:7px;color:#999;font-weight:400;font-size:11px;
}
.bmk-whp-required{color:#c43c3c;margin-inline-start:4px}
.bmk-whp-field{
  display:block;width:100%;min-height:47px;
  margin:0 0 16px;padding:11px 13px;
  border:1px solid #dedede;border-radius:9px;
  background:#fff;color:#171717;font:inherit;font-size:13px;
}
.bmk-whp-field:focus,
.bmk-whp-document:focus-visible{
  outline:none;border-color:#141414;
  box-shadow:0 0 0 2px rgba(141,205,185,.20);
}
.bmk-whp-document{display:block;width:100%;font:inherit;font-size:12px;max-width:100%;color:#5d5d5d}
.bmk-whp-register-optional>small{
  margin-top:6px;color:#898989;font-size:11px;
}
.bmk-whp-phone-verified{
  display:inline-flex;align-items:center;gap:7px;
  margin:6px 0 2px;color:#23755b;font-size:12px;font-weight:700;
}
.bmk-whp-reg{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:7px;margin-top:23px;padding-top:19px;
  border-top:1px solid #ededed;color:#787878;
  text-align:center;font-size:11px;line-height:1.9;
}
.bmk-whp-reg a{
  color:#101010;text-underline-offset:3px;
  text-decoration:underline;font-size:11px;font-weight:800;
}
.bmk-whp-reg a:hover{color:#28785e}
.bmk-whp-registration-result{
  display:flex;flex-direction:column;align-items:flex-start;
  gap:12px;padding:13px 0;
  line-height:1.9;
}
.bmk-whp-registration-result[hidden]{display:none}
.bmk-whp-reg-state{
  display:inline-flex;align-items:center;
  padding:4px 10px;background:#eef8f5;
  border:1px solid #cbe4d9;border-radius:8px;
  color:#227358;font-size:11px;font-weight:800;
}
.bmk-whp-registration-result h3{
  margin:0;font-size:19px;font-weight:800;line-height:1.6;
}
.bmk-whp-registration-result p{
  margin:0;font-size:12px;color:#747474;line-height:2;
}
.bmk-whp-outline-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:10px 15px;border:1px solid #dcdcdc;
  border-radius:8px;background:#fff;color:#222;
  text-decoration:none;font-size:12px;font-weight:700;
}
.bmk-whp-outline-link:hover{background:#f4f9f6}
@media(max-width:600px){
  .bmk-whp-locales{gap:9px}
  .bmk-whp-locales .bmk-locale-language{min-width:50px}
  .bmk-whp-locales .bmk-locale-language-text{font-size:11px}
  .bmk-whp-locales .bmk-locale-flag{width:25px;height:18px}
  .bmk-whp-locales .bmk-custom-menu-trigger{gap:5px}
  .bmk-whp-locales .bmk-custom-menu-panel{min-width:200px}
  .bmk-whp-register-optional{margin-top:16px}
}

/* Native file selection remains keyboard accessible, but labels match the website. */
.bmk-whp-upload-wrap{position:relative;display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.bmk-whp-document{position:absolute;inset-inline-start:0;width:1px;height:1px;opacity:0}
.bmk-whp-upload-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8d8d8;border-radius:8px;background:#fff;padding:9px 13px;font-size:12px;font-weight:800;cursor:pointer}
.bmk-whp-upload-button:hover{background:#f6faf8}
.bmk-whp-upload-wrap:focus-within .bmk-whp-upload-button{outline:2px solid #181818;outline-offset:2px}
.bmk-whp-upload-wrap [data-wh-document-label]{font-size:11px;color:#888;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:210px}
[data-wh-phone-verified][hidden]{display:none}


/* Native locale dropdowns, independent of JavaScript cache or event handlers.
   Position them inside the viewport on phones, never outside the screen edge. */
.bmk-whp-locales details.bmk-locale-control{cursor:default}
.bmk-whp-locales details>.bmk-custom-menu-trigger{
  list-style:none;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  cursor:pointer;
}
.bmk-whp-locales details>.bmk-custom-menu-trigger::marker{content:''}
.bmk-whp-locales details>.bmk-custom-menu-trigger::-webkit-details-marker{display:none}
.bmk-whp-locales details:not([open])>.bmk-custom-menu-panel{display:none}
.bmk-whp-locales details[open]>.bmk-custom-menu-panel{display:block}
.bmk-whp-locales details[open]>.bmk-custom-menu-trigger .bmk-locale-caret{transform:rotate(225deg) translateY(-1px)}
.bmk-whp-locales .bmk-custom-menu-option:focus-visible{
  outline:2px solid #181818;
  outline-offset:-3px;
}
.bmk-whp-header{position:relative;z-index:30}
.bmk-whp-brand-band{position:relative;z-index:1}
.bmk-whp-dashboard,.bmk-whp-dash-top,.bmk-whp-dash-title,
.bmk-whp-customer-strip,.bmk-whp-editor,.bmk-whp-editor .bmk-wbiz,
.bmk-whp-editor .bmk-wbiz-main,.bmk-whp-editor .bmk-wbiz-fields,
.bmk-whp-editor .bmk-wbiz-disclosure,.bmk-whp-editor .bmk-wbiz-map-panel,
.bmk-whp-editor .bmk-wholesale-front-control{min-width:0;max-width:100%}
.bmk-whp-dash-title h1,.bmk-whp-dash-title p,.bmk-whp-customer-info strong{overflow-wrap:anywhere}
.bmk-whp-editor .bmk-wbiz input,.bmk-whp-editor .bmk-wbiz select,
.bmk-whp-editor .bmk-wbiz textarea{max-width:100%}
@media(max-width:650px){
  /* Two predictable rows instead of squeezing the logo, locale controls and
     sign out button onto a single narrow row on 320–390 px devices. */
  .bmk-whp-header-inner{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    grid-template-rows:auto auto;
    gap:4px 8px;
    width:calc(100% - 26px);
    min-height:0;
    padding:10px 0 8px;
  }
  .bmk-whp-header-spacer{grid-row:1;grid-column:1;min-width:0}
  .bmk-whp-brand{grid-row:1;grid-column:2;justify-self:center}
  .bmk-whp-header-actions{
    grid-row:2;
    grid-column:1/-1;
    justify-self:stretch;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-width:0;
    width:100%;
  }
  .bmk-whp-locales{gap:13px;min-width:0}
  .bmk-whp-locales .bmk-locale-control{position:static}
  .bmk-whp-locales details>.bmk-custom-menu-trigger{
    min-height:42px;
    padding:7px 4px;
    gap:7px;
  }
  .bmk-whp-locales .bmk-custom-menu-panel{
    position:absolute;
    top:100%;
    min-width:0;
    width:min(235px, calc(100vw - 26px));
    max-width:calc(100vw - 26px);
    border-radius:8px;
    box-shadow:0 12px 30px rgba(0,0,0,.14);
  }
  html[dir=rtl] .bmk-whp-locales .bmk-custom-menu-panel{right:0;left:auto}
  html[dir=ltr] .bmk-whp-locales .bmk-custom-menu-panel{left:0;right:auto}
  .bmk-whp-signout{
    flex:0 0 auto;
    min-height:37px;
    max-width:126px;
    white-space:nowrap;
    padding:8px 12px;
    font-size:11px;
  }
  .bmk-whp-dashboard{width:calc(100% - 26px);max-width:calc(100% - 26px)}
  .bmk-whp-editor{width:100%}
  /* Prevent Safari focus auto-zoom on the wholesale dashboard inputs. */
  .bmk-whp-dashboard input:not([type=checkbox]):not([type=radio]):not([type=file]),
  .bmk-whp-dashboard select,
  .bmk-whp-dashboard textarea,
  .bmk-whp-editor .bmk-wbiz-field input,
  .bmk-whp-editor .bmk-wbiz-map-panel>input{
    font-size:16px;
  }
  .bmk-whp-editor .bmk-wbiz-map{max-width:100%}
}


/* Reassurance shown on the destination form after a successful login OTP.
   This is not an error and never reveals the existence of a specific contact. */
.bmk-whp-verified-notice{
  border:1px solid #cfe7dc;
  border-radius:11px;
  background:#f3faf6;
  padding:16px 17px;
  margin:0 0 20px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
  max-width:100%;
}
.bmk-whp-verified-notice-kicker{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#267452;
  font-size:11px;
  font-weight:800;
}
.bmk-whp-verified-notice-kicker span{
  width:19px;height:19px;
  border-radius:50%;
  display:inline-grid;
  place-items:center;
  background:#dbeee3;
  color:#1c6a4d;
  font-size:12px;
}
.bmk-whp-verified-notice h3{
  margin:0;
  color:#1a342a;
  font-size:14px;
  font-weight:800;
  line-height:1.7;
}
.bmk-whp-verified-notice p{
  margin:0;
  color:#4e7161;
  font-size:11px;
  line-height:1.95;
  overflow-wrap:anywhere;
}
@media(max-width:600px){
  .bmk-whp-verified-notice{padding:14px;gap:8px;margin-bottom:18px}
  .bmk-whp-verified-notice h3{font-size:13px}
}
