/* ==========================================================================
   Bee1 Merchant Desk — front end
   Every rule is scoped under .bee1-md so the plugin cannot restyle the theme.
   ========================================================================== */

.bee1-md{
  /* leather / espresso / oxblood — the approved merchant palette */
  --md-ground:#EBE8E4;
  --md-surface:#FFFFFF;
  --md-surface-2:#F5F2EF;
  --md-ink:#1A1512;
  --md-ink-2:#4A3F38;
  --md-muted:#83766C;
  --md-line:#DDD6CF;
  --md-line-2:#EBE5DF;
  --md-accent:#7E1F2B;
  --md-accent-ink:#FFF6F2;
  --md-accent-soft:#F6E6E5;
  --md-deep:#2E2521;
  --md-deep-soft:#E5DED7;
  --md-brass:#8A6820;
  --md-brass-soft:#F4ECD9;
  --md-ok:#2F6B45;
  --md-low:#9A5B12;
  --md-shadow-1:0 1px 2px rgba(26,21,18,.06),0 4px 16px rgba(26,21,18,.07);
  --md-shadow-2:0 14px 44px rgba(26,21,18,.20);
  --md-tile-a:#E7E1DA; --md-tile-b:#F7F4F1;
  --md-step-bg:#141110;   /* stepper: black button, white glyph */
  --md-step-ink:#FFFFFF;

  --md-r-md:13px; --md-r-lg:18px; --md-r-xl:24px;
  --md-bar-h:78px;

  direction:rtl;
  text-align:start;
  color:var(--md-ink);
  background:var(--md-ground);
  font-size:16px;
  line-height:1.45;
  padding:0 0 calc(var(--md-bar-h) + 26px);
  min-height:60vh;
}

@media (prefers-color-scheme:dark){
  .bee1-md{
    --md-ground:#131010;
    --md-surface:#1E1917;
    --md-surface-2:#272220;
    --md-ink:#F1EAE4;
    --md-ink-2:#C6B8AD;
    --md-muted:#96877C;
    --md-line:#362F2B;
    --md-line-2:#2B2523;
    --md-accent:#C4544C;
    --md-accent-ink:#1A0C0B;
    --md-accent-soft:#33191A;
    --md-deep:#CFC3B8;
    --md-deep-soft:#2B2422;
    --md-brass:#CFA75C;
    --md-brass-soft:#2C2417;
    --md-ok:#5FAE7C;
    --md-low:#D19B4A;
    --md-shadow-1:0 1px 2px rgba(0,0,0,.5),0 4px 16px rgba(0,0,0,.4);
    --md-shadow-2:0 14px 48px rgba(0,0,0,.65);
    --md-tile-a:#2E2825; --md-tile-b:#1B1615;
    --md-step-bg:#000000;
    --md-step-ink:#FFFFFF;
  }
}

.bee1-md *,
.bee1-md *::before,
.bee1-md *::after{box-sizing:border-box}
.bee1-md button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;margin:0}
.bee1-md input,
.bee1-md textarea{font:inherit;color:inherit}
.bee1-md img{max-width:100%;display:block}
.bee1-md .md-num{font-family:inherit;font-variant-numeric:tabular-nums;font-variant-numeric:tabular-nums}

.bee1-md-boot{padding:48px 16px;text-align:center;color:var(--md-muted);font-weight:700}

/* ---------------- header ---------------- */
.bee1-md .md-brandbar{background:var(--md-surface);border-bottom:1px solid var(--md-line-2)}
.bee1-md .md-brandbar-in{max-width:1180px;margin:0 auto;padding:11px 13px;display:flex;align-items:center;gap:11px}
.bee1-md .md-brand{display:flex;flex-direction:column;line-height:1.14;min-width:0}
.bee1-md .md-brand b{font-size:16.5px;font-weight:800;letter-spacing:.02em}
.bee1-md .md-brand span{font-size:10.5px;color:var(--md-muted);letter-spacing:.14em;font-weight:800;white-space:nowrap}
.bee1-md .md-acct{
  margin-inline-start:auto;display:flex;align-items:center;gap:7px;background:var(--md-deep-soft);
  color:var(--md-ink-2);border-radius:999px;padding:6px 12px;font-size:12.5px;font-weight:800;white-space:nowrap;
}
.bee1-md .md-acct i{width:7px;height:7px;border-radius:50%;background:var(--md-ok);font-style:normal}

.bee1-md .md-nav{position:-webkit-sticky;position:sticky;top:0;z-index:1000;background:var(--md-surface);border-bottom:2px solid var(--md-line);box-shadow:0 4px 20px rgba(26,21,18,.08)}
.bee1-md .md-nav-in{max-width:1180px;margin:0 auto;padding:9px 13px 0}
.bee1-md .md-search{position:relative;display:flex;align-items:center}
.bee1-md .md-search svg{position:absolute;inset-inline-start:13px;width:19px;height:19px;color:var(--md-muted);pointer-events:none}
.bee1-md .md-search input{
  width:100%;padding:12px 42px 12px 15px;border-radius:var(--md-r-md);
  background:var(--md-surface-2);border:1px solid var(--md-line);font-size:16px;font-weight:600;
}
.bee1-md .md-search input:focus{outline:2px solid var(--md-accent);outline-offset:1px}

.bee1-md .md-levels{display:flex;flex-direction:column}
.bee1-md .md-lvl{display:flex;gap:6px;overflow-x:auto;padding:8px 0;scrollbar-width:none}
.bee1-md .md-lvl::-webkit-scrollbar{display:none}
.bee1-md .md-lvl + .md-lvl{border-top:1px dashed var(--md-line-2)}
.bee1-md .md-chip{
  flex:0 0 auto;padding:8px 14px;border-radius:999px;white-space:nowrap;
  background:var(--md-surface-2);border:1px solid var(--md-line);
  font-size:14px;font-weight:700;color:var(--md-ink-2);display:flex;align-items:center;gap:6px;
}
.bee1-md .md-chip .md-c{font-size:11px;color:var(--md-muted);font-family:inherit;font-variant-numeric:tabular-nums;font-weight:700}
.bee1-md .md-chip[aria-pressed="true"]{background:var(--md-deep);border-color:var(--md-deep);color:var(--md-surface)}
.bee1-md .md-chip[aria-pressed="true"] .md-c{color:var(--md-surface);opacity:.68}
.bee1-md .md-lvl.md-sub .md-chip{font-size:13px;padding:7px 12px;font-weight:650}
.bee1-md .md-chip:focus-visible{outline:2px solid var(--md-accent);outline-offset:2px}

.bee1-md .md-note{max-width:1180px;margin:0 auto;padding:9px 14px;font-size:11.5px;font-weight:700;color:var(--md-muted)}

/* ---------------- layout ---------------- */
.bee1-md .md-wrap{max-width:1180px;margin:0 auto;padding:0 13px}
.bee1-md .md-sect{display:flex;align-items:baseline;gap:10px;padding:6px 2px 12px}
.bee1-md .md-sect h2{margin:0;font-size:22px;font-weight:800;letter-spacing:-.02em}
.bee1-md .md-sect .md-meta{font-size:12px;color:var(--md-muted);font-weight:700;font-family:inherit;font-variant-numeric:tabular-nums}

.bee1-md .md-list{display:grid;grid-template-columns:1fr;gap:9px}
@media(min-width:900px){.bee1-md .md-list{grid-template-columns:1fr 1fr;gap:12px}}

/* ---------------- product row ---------------- */
.bee1-md .md-card{
  display:flex;gap:12px;width:100%;text-align:start;padding:10px;
  background:var(--md-surface);border:1px solid var(--md-line);border-radius:var(--md-r-lg);
  box-shadow:var(--md-shadow-1);transition:border-color .12s ease,transform .12s ease;
}
.bee1-md .md-card:active{transform:scale(.99)}
.bee1-md .md-card:focus-visible{outline:2px solid var(--md-accent);outline-offset:2px}
.bee1-md .md-card.md-has{border-color:var(--md-accent);box-shadow:0 0 0 2px var(--md-accent-soft),var(--md-shadow-1)}
.bee1-md .md-tile{
  position:relative;flex:0 0 116px;width:116px;height:116px;border-radius:var(--md-r-md);
  background:linear-gradient(150deg,var(--md-tile-a),var(--md-tile-b));display:grid;place-items:center;overflow:hidden;
}
.bee1-md .md-tile img{width:100%;height:100%;object-fit:cover}
.bee1-md .md-tile .md-badge{
  position:absolute;bottom:6px;inset-inline-start:6px;background:var(--md-accent);color:var(--md-accent-ink);
  border-radius:999px;padding:4px 9px;font-size:11.5px;font-weight:800;font-family:inherit;font-variant-numeric:tabular-nums;
}
/* Theme defence. The card is a <button>, and themes routinely set
   `white-space:nowrap` / letter-spacing / text-transform on buttons. Inherited
   nowrap stops the product name wrapping, so the card grows to the width of the
   longest name and pushes the whole page into horizontal scroll — seen live on
   francobane's theme, 475px card inside a 329px column. Reset here, then
   re-enable nowrap only where it belongs. */
.bee1-md .md-card,
.bee1-md .md-card span{
  white-space:normal;letter-spacing:normal;text-transform:none;
}
.bee1-md .md-card{max-width:100%}
.bee1-md .md-pr,
.bee1-md .md-stk,
.bee1-md .md-rz,
.bee1-md .md-code,
.bee1-md .md-badge{white-space:nowrap}

.bee1-md .md-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.bee1-md .md-nm{
  font-size:15px;font-weight:700;line-height:1.3;
  display:-webkit-box !important;   /* themes reset this to flow-root, killing the clamp */
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.bee1-md .md-sku{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--md-muted);font-weight:700}
.bee1-md .md-sku .md-code{font-family:inherit;font-variant-numeric:tabular-nums}
.bee1-md .md-run{display:flex;gap:2px;flex-wrap:wrap}
.bee1-md .md-rz{
  min-width:21px;padding:2px;border-radius:4px;text-align:center;line-height:1.3;
  font-family:inherit;font-variant-numeric:tabular-nums;font-size:10.5px;font-weight:800;
  background:var(--md-surface-2);color:var(--md-ink-2);border:1px solid var(--md-line-2);
}
.bee1-md .md-rz.md-out{color:var(--md-line);text-decoration:line-through;background:transparent}
.bee1-md .md-rz.md-hot{background:var(--md-brass-soft);color:var(--md-brass);border-color:transparent}
.bee1-md .md-cfoot{margin-top:auto;display:flex;align-items:center;gap:8px}
.bee1-md .md-pr{font-size:17px;font-weight:800;color:var(--md-brass);font-family:inherit;font-variant-numeric:tabular-nums;white-space:nowrap}
.bee1-md .md-pr small{font-size:10.5px;font-weight:700;color:var(--md-muted);font-family:inherit}
.bee1-md .md-stk{margin-inline-start:auto;font-size:11px;font-weight:800;color:var(--md-ok);white-space:nowrap}
.bee1-md .md-stk.md-low{color:var(--md-low)}

/* ---------------- expanded panel ---------------- */
.bee1-md .md-panel{
  grid-column:1/-1;justify-self:center;width:100%;max-width:760px;
  background:var(--md-surface);border:2px solid var(--md-accent);border-radius:var(--md-r-xl);
  overflow:hidden;box-shadow:var(--md-shadow-2);animation:bee1MdGrow .18s ease-out;
}
@keyframes bee1MdGrow{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
  .bee1-md .md-panel{animation:none}
  .bee1-md .md-card:active{transform:none}
}
.bee1-md .md-phero{display:flex;gap:13px;padding:13px;border-bottom:1px solid var(--md-line-2);align-items:flex-start}
.bee1-md .md-ptile{flex:0 0 104px;width:104px;height:104px;border-radius:var(--md-r-md);background:linear-gradient(150deg,var(--md-tile-a),var(--md-tile-b));display:grid;place-items:center;overflow:hidden}
.bee1-md .md-ptile img{width:100%;height:100%;object-fit:cover}
.bee1-md .md-pmeta{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.bee1-md .md-pmeta h3{margin:0;font-size:17px;font-weight:800;line-height:1.25}
.bee1-md .md-pprice{font-size:21px;font-weight:800;color:var(--md-brass);font-family:inherit;font-variant-numeric:tabular-nums}
.bee1-md .md-pprice small{font-size:11px;color:var(--md-muted);font-weight:700;font-family:inherit}
.bee1-md .md-pclose{flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--md-surface-2);border:1px solid var(--md-line);display:grid;place-items:center;color:var(--md-ink-2);font-size:18px;line-height:1}

.bee1-md .md-quick{display:flex;gap:6px;padding:11px 13px 4px;flex-wrap:wrap;align-items:center}
.bee1-md .md-quick .md-lbl{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--md-muted)}
.bee1-md .md-qb{flex:0 0 auto;padding:7px 11px;border-radius:999px;border:1px solid var(--md-line);background:var(--md-surface-2);font-size:12.5px;font-weight:800;color:var(--md-ink-2);white-space:nowrap}
.bee1-md .md-qb.md-clear{color:var(--md-accent);border-color:var(--md-accent-soft);background:var(--md-accent-soft)}
.bee1-md .md-qb:focus-visible{outline:2px solid var(--md-accent);outline-offset:2px}
.bee1-md .md-qb.md-series{border-color:var(--md-brass-line,var(--md-line));color:var(--md-brass,var(--md-ink-2))}
.bee1-md .md-qb.md-series.md-on{background:var(--md-brass,#8A6820);border-color:var(--md-brass,#8A6820);color:#fff}
.bee1-md .md-qb.md-series b{font-weight:900;margin-inline-start:2px}

.bee1-md .md-rows{display:flex;flex-direction:column;padding:6px 8px 8px}
.bee1-md .md-row{display:flex;align-items:center;gap:10px;padding:7px 6px;border-bottom:1px solid var(--md-line-2)}
.bee1-md .md-row:last-child{border-bottom:0}
.bee1-md .md-row.md-on{background:var(--md-accent-soft);border-radius:var(--md-r-md);border-bottom-color:transparent}
.bee1-md .md-row.md-dead{opacity:.42}
.bee1-md .md-sz{flex:0 0 52px;display:flex;flex-direction:column;line-height:1.1}
.bee1-md .md-sz b{font-family:inherit;font-variant-numeric:tabular-nums;font-size:19px;font-weight:800}
.bee1-md .md-sz span{font-size:10.5px;font-weight:800;color:var(--md-ok)}
.bee1-md .md-sz span.md-low{color:var(--md-low)}
.bee1-md .md-sz span.md-no{color:var(--md-muted)}
.bee1-md .md-rsum{flex:1;text-align:end;font-family:inherit;font-variant-numeric:tabular-nums;font-size:13px;font-weight:800;color:var(--md-brass);white-space:nowrap}
.bee1-md .md-rsum.md-zero{color:var(--md-line-2)}

.bee1-md .md-step{display:flex;align-items:center;background:var(--md-surface-2);border:1px solid var(--md-line);border-radius:999px;padding:2px}
/* Steppers are black with a white glyph — the merchant's most-tapped control
   reads as a control, not as the order-action colour. */
.bee1-md .md-step button{
  width:36px;height:36px;border-radius:50%;display:grid;place-items:center;
  font-size:20px;font-weight:700;line-height:1;
  background:var(--md-step-bg);color:var(--md-step-ink);
}
.bee1-md .md-step button.md-plus{background:var(--md-step-bg);color:var(--md-step-ink)}
.bee1-md .md-step button:disabled,
.bee1-md .md-step button.md-plus:disabled{background:var(--md-line-2);color:var(--md-muted);cursor:default}
.bee1-md .md-step button:focus-visible{outline:2px solid var(--md-accent);outline-offset:-2px}
.bee1-md .md-step input{
  width:52px;height:36px;text-align:center;border:0;background:none;font-family:inherit;font-variant-numeric:tabular-nums;
  font-size:16px;font-weight:800;font-variant-numeric:tabular-nums;-moz-appearance:textfield;padding:0;
}
.bee1-md .md-step input::-webkit-outer-spin-button,
.bee1-md .md-step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.bee1-md .md-step input:focus{outline:2px solid var(--md-accent);outline-offset:-1px;border-radius:8px}

.bee1-md .md-pfoot{display:flex;align-items:center;gap:12px;padding:12px 13px;background:var(--md-surface-2);border-top:1px solid var(--md-line-2)}
.bee1-md .md-pfoot .md-t{flex:1;font-size:12.5px;font-weight:700;color:var(--md-ink-2);line-height:1.2}
.bee1-md .md-pfoot .md-t b{display:block;font-family:inherit;font-variant-numeric:tabular-nums;font-size:19px;color:var(--md-ink);font-weight:800}

.bee1-md .md-btn{border-radius:999px;padding:12px 22px;font-size:15px;font-weight:800;background:var(--md-accent);color:var(--md-accent-ink);white-space:nowrap;text-decoration:none;display:inline-block}
.bee1-md .md-btn.md-ghost{background:var(--md-surface);color:var(--md-ink);border:1px solid var(--md-line)}
.bee1-md .md-btn:disabled{opacity:.55;cursor:default}
.bee1-md .md-btn:focus-visible{outline:2px solid var(--md-brass);outline-offset:2px}
.bee1-md .md-empty{grid-column:1/-1;padding:44px 20px;text-align:center;color:var(--md-muted);border:1px dashed var(--md-line);border-radius:var(--md-r-lg);font-weight:700}
.bee1-md .md-more{display:flex;justify-content:center;padding:16px 0}
/* 0.15.2 - a model code with no exact match shows its prefix neighbours, and says so. */
.bee1-md .md-widened{grid-column:1/-1;margin:0 0 10px;padding:11px 14px;background:var(--md-surface);border:1px solid var(--md-line);border-inline-start:3px solid var(--md-ink,#1a1512);border-radius:var(--md-r-md,10px);color:var(--md-muted);font-weight:700;font-size:14px;line-height:1.5}


/* ---------------- sticky order bar ---------------- */
.bee1-md .md-bar{
  position:fixed;inset-inline:0;bottom:0;z-index:30;background:var(--md-surface);
  border-top:1px solid var(--md-line);box-shadow:0 -8px 30px rgba(26,21,18,.12);
  padding:11px 13px calc(11px + env(safe-area-inset-bottom));
  transform:translateY(130%);transition:transform .2s cubic-bezier(.2,.8,.3,1);
}
.bee1-md .md-bar.md-up{transform:none}
@media(prefers-reduced-motion:reduce){.bee1-md .md-bar{transition:none}}
.bee1-md .md-bar-in{max-width:1180px;margin:0 auto;display:flex;align-items:center;gap:12px}
.bee1-md .md-bar .md-s{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.18}
.bee1-md .md-bar .md-s b{font-family:inherit;font-variant-numeric:tabular-nums;font-size:21px;font-weight:800}
.bee1-md .md-bar .md-s span{font-size:12px;color:var(--md-muted);font-weight:700}

/* ---------------- checkout view ---------------- */
.bee1-md .md-co{max-width:720px;margin:0 auto;padding:16px 13px}
.bee1-md .md-co h2{margin:0 0 14px;font-size:23px;font-weight:800;letter-spacing:-.02em}
.bee1-md .md-co-card{background:var(--md-surface);border:1px solid var(--md-line);border-radius:var(--md-r-lg);box-shadow:var(--md-shadow-1);overflow:hidden}
.bee1-md .md-coline{display:flex;gap:11px;padding:12px;border-bottom:1px solid var(--md-line-2);align-items:flex-start}
.bee1-md .md-coline:last-child{border-bottom:0}
.bee1-md .md-cothumb{flex:0 0 62px;width:62px;height:62px;border-radius:10px;overflow:hidden;background:linear-gradient(150deg,var(--md-tile-a),var(--md-tile-b))}
.bee1-md .md-cothumb img{width:100%;height:100%;object-fit:cover}
.bee1-md .md-con{flex:1;min-width:0}
.bee1-md .md-con b{display:block;font-size:14.5px;font-weight:700;line-height:1.3}
.bee1-md .md-cobrk{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}
.bee1-md .md-cobrk span{font-family:inherit;font-variant-numeric:tabular-nums;font-size:11px;font-weight:800;background:var(--md-brass-soft);color:var(--md-brass);border-radius:5px;padding:2px 6px}
.bee1-md .md-cov{text-align:end;white-space:nowrap}
.bee1-md .md-cov b{display:block;font-family:inherit;font-variant-numeric:tabular-nums;font-size:15px;font-weight:800;color:var(--md-brass)}
.bee1-md .md-cov span{font-size:11px;color:var(--md-muted);font-weight:700}
.bee1-md .md-cox{width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:var(--md-surface-2);color:var(--md-muted);font-size:16px;line-height:1;display:grid;place-items:center}

.bee1-md .md-cofoot{margin-top:14px;background:var(--md-surface);border:1px solid var(--md-line);border-radius:var(--md-r-lg);padding:14px;display:flex;flex-direction:column;gap:11px}
.bee1-md .md-tot{display:flex;align-items:baseline;justify-content:space-between}
.bee1-md .md-tot span{font-size:13.5px;font-weight:700;color:var(--md-ink-2)}
.bee1-md .md-tot b{font-family:inherit;font-variant-numeric:tabular-nums;font-size:26px;font-weight:800}
.bee1-md .md-textarea{width:100%;padding:11px 12px;border-radius:var(--md-r-md);border:1px solid var(--md-line);background:var(--md-surface-2);font-size:14.5px;font-weight:600;resize:vertical}
.bee1-md .md-textarea:focus{outline:2px solid var(--md-accent);outline-offset:1px}
.bee1-md .md-cofoot .md-btn{width:100%;padding:15px;font-size:16.5px;border-radius:var(--md-r-md);text-align:center}
.bee1-md .md-hint{text-align:center;font-size:11px;color:var(--md-muted);font-weight:700}
.bee1-md .md-issues{margin:0 0 14px;padding:12px 13px;border-radius:var(--md-r-md);background:var(--md-brass-soft);color:var(--md-brass);font-size:13px;font-weight:700}
.bee1-md .md-issues ul{margin:6px 0 0;padding-inline-start:18px}

.bee1-md .md-done{padding:48px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.bee1-md .md-done .md-ok{width:64px;height:64px;border-radius:50%;background:var(--md-ok);color:#fff;display:grid;place-items:center;font-size:30px}
.bee1-md .md-done h3{margin:0;font-size:20px;font-weight:800}
.bee1-md .md-done p{margin:0;color:var(--md-muted);font-weight:700;max-width:34ch;line-height:1.5}


/* ---------------- gate modal ---------------- */
.bee1-md-gate{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 40px 16px;
  background: radial-gradient(circle at center, #241D1A 0%, #120E0D 100%);
}
.bee1-md-gate-modal{
  width: 100%;
  max-width: 440px;
  background: #1C1715;
  border: 1px solid #3D332D;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.15);
  text-align: center;
  color: #F5EFEB;
}
.bee1-md-gate-brand .bee1-md-gate-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(212,175,55,0.15);
  color: #D4AF37;
  border: 1px solid rgba(212,175,55,0.3);
  margin-bottom: 14px;
}
.bee1-md-gate-brand h2{
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}
.bee1-md-gate-brand p{
  font-size: 14px;
  color: #A89B91;
  margin: 0 0 26px;
  line-height: 1.5;
}
.bee1-md-gate-form .bee1-md-field{
  text-align: start;
  margin-bottom: 20px;
}
.bee1-md-gate-form label{
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #D6C7BC;
  margin-bottom: 8px;
}
.bee1-md-input-icon-wrap{
  position: relative;
  display: flex;
  align-items: center;
}
.bee1-md-input-icon-wrap input{
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px;
  background: #28211E;
  border: 1.5px solid #473B34;
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bee1-md-input-icon-wrap input:focus{
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
}
.bee1-md-input-icon-wrap .bee1-md-input-icon{
  position: absolute;
  left: 14px;
  font-size: 18px;
  pointer-events: none;
}
.bee1-md-gate-submit{
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #8A1A24 0%, #631018 100%);
  color: #FFF6F2;
  border: 1px solid #A82431;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(138,26,36,0.35);
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bee1-md-gate-submit:hover{
  background: linear-gradient(135deg, #9C1F2B 0%, #75141D 100%);
  box-shadow: 0 8px 24px rgba(138,26,36,0.45);
}
.bee1-md-gate-submit:active{
  transform: scale(0.98);
}
.bee1-md-gate-feedback{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}
.bee1-md-gate-feedback.is-error{
  background: rgba(180,30,40,0.18);
  border: 1px solid rgba(220,50,60,0.4);
  color: #FF8F97;
}
.bee1-md-gate-feedback.is-success{
  background: rgba(40,160,80,0.18);
  border: 1px solid rgba(60,200,100,0.4);
  color: #7FE5A3;
}
.bee1-md-gate-footer{
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #332B26;
}
.bee1-md-gate-footer p{
  font-size: 13px;
  color: #8C7E74;
  margin: 0 0 10px;
}
.bee1-md-gate-wa{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #25D366;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  background: rgba(37,211,102,0.1);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(37,211,102,0.25);
  transition: background 0.2s, transform 0.15s;
}
.bee1-md-gate-wa:hover{
  background: rgba(37,211,102,0.2);
  transform: translateY(-1px);
}
.md-acct .md-logout{
  margin-inline-start: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--md-accent);
  text-decoration: underline;
}

.bee1-md-gate-logo{
  max-height: 48px;
  max-width: 220px;
  margin: 0 auto 16px;
  display: block;
  object-fit: contain;
}
.bee1-md .md-brand-logo{
  max-height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  vertical-align: middle;
}

/* ---------------- dealer registration dialog ---------------- */
.bee1-md-gate-register{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: #D4AF37;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  background: rgba(212,175,55,0.1);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.35);
  transition: background 0.2s, transform 0.15s;
}
.bee1-md-gate-register:hover{
  background: rgba(212,175,55,0.2);
  transform: translateY(-1px);
}
.bee1-md-gate-register:focus-visible,
.bee1-md-reg-close:focus-visible{
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}
.bee1-md-reg-overlay{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(9,7,6,0.78);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  overflow-y: auto;
  animation: bee1MdRegFade 0.18s ease-out;
}
.bee1-md-reg-overlay[hidden]{ display: none; }
.bee1-md-reg-modal{
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto;
  background: #1C1715;
  border: 1px solid #3D332D;
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.15);
  text-align: center;
  color: #F5EFEB;
  animation: bee1MdRegRise 0.22s cubic-bezier(0.2,0.8,0.3,1);
}
.bee1-md-reg-close{
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: #8C7E74;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.bee1-md-reg-close:hover{
  background: rgba(255,255,255,0.07);
  color: #F5EFEB;
}
.bee1-md-reg-modal .bee1-md-gate-brand h2{ font-size: 22px; }
.bee1-md-reg-modal .bee1-md-gate-brand p{ margin-bottom: 22px; }
.bee1-md-reg-modal .bee1-md-field{ margin-bottom: 14px; }
.bee1-md-reg-modal .bee1-md-input-icon-wrap input{
  height: 46px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: normal;
}
.bee1-md-reg-modal .bee1-md-input-icon-wrap input[aria-invalid="true"]{
  border-color: #B4283C;
  box-shadow: 0 0 0 3px rgba(180,40,60,0.18);
}
.bee1-md-reg-modal .bee1-md-gate-submit{ margin-top: 6px; }
.bee1-md-req{ color: #D4AF37; }

@keyframes bee1MdRegFade{ from{ opacity: 0; } to{ opacity: 1; } }
@keyframes bee1MdRegRise{
  from{ opacity: 0; transform: translateY(12px) scale(0.98); }
  to{ opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce){
  .bee1-md-reg-overlay, .bee1-md-reg-modal{ animation: none; }
}
@media (max-width: 480px){
  .bee1-md-reg-modal{ padding: 28px 20px 24px; border-radius: 16px; }
}

/* ---------------------------------------------------------------------------
   Specificity repair for gate buttons.

   `.bee1-md button` (0,1,1) — the reset near the top of this file — outranks
   `.bee1-md-gate-submit` (0,1,0), so it was stripping the background, border
   and colour off every <button> inside the gate. The login button has been
   rendering flat since the gate shipped; only the WhatsApp link looked right
   because it is an <a>, which the reset never touched.

   Nothing here is a new design. These are the values already declared above,
   restated one class deeper so they actually win.
   --------------------------------------------------------------------------- */
.bee1-md .bee1-md-gate-submit{
  background: linear-gradient(135deg, #8A1A24 0%, #631018 100%);
  color: #FFF6F2;
  border: 1px solid #A82431;
}
.bee1-md .bee1-md-gate-submit:hover{
  background: linear-gradient(135deg, #9C1F2B 0%, #75141D 100%);
}
.bee1-md .bee1-md-gate-register{
  background: rgba(212,175,55,0.1);
  color: #D4AF37;
  border: 1px solid rgba(212,175,55,0.35);
}
.bee1-md .bee1-md-gate-register:hover{
  background: rgba(212,175,55,0.2);
}
.bee1-md .bee1-md-reg-close{
  background: transparent;
  color: #8C7E74;
  border: 0;
}
.bee1-md .bee1-md-reg-close:hover{
  background: rgba(255,255,255,0.07);
  color: #F5EFEB;
}

/* ---------------------------------------------------------------------------
   Specificity repair for gate inputs.

   Same cause as the buttons above. `.bee1-md-input-icon-wrap input` is (0,1,1);
   three stylesheets that load after this one match the same input at the same
   or lower specificity and therefore win on source order:

     main.min.css        input[type="tel"|"text"|…]  padding / border / radius
     (theme inline)      input[type="text"|…]        background / colour
     bee1-ultra-skin.css input, select, textarea     background / border / radius

   The visible damage: the field rendered as a light grey box with near-black
   text on a dark modal, and the 44px gutter reserved for the icon collapsed to
   15px — so the icon sat on top of the placeholder. Restated one class deeper
   so the authored values apply. No new design.
   --------------------------------------------------------------------------- */
.bee1-md .bee1-md-input-icon-wrap input{
  height: 52px;
  padding: 0 16px 0 46px;
  background: #28211E;
  border: 1.5px solid #473B34;
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: none;
}
.bee1-md .bee1-md-input-icon-wrap input:focus{
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
  background: #28211E;
  color: #FFFFFF;
}
.bee1-md .bee1-md-input-icon-wrap input::placeholder{
  color: #8C7E74;
  opacity: 1;
  font-weight: 600;
  letter-spacing: normal;
}
/* Autofill repaints the field white in Chrome; hold the dark ground. */
.bee1-md .bee1-md-input-icon-wrap input:-webkit-autofill,
.bee1-md .bee1-md-input-icon-wrap input:-webkit-autofill:focus{
  -webkit-text-fill-color: #FFFFFF;
  -webkit-box-shadow: 0 0 0 1000px #28211E inset;
  caret-color: #FFFFFF;
}
/* Bound the glyph so it can never grow into the text gutter. */
.bee1-md .bee1-md-input-icon-wrap .bee1-md-input-icon{
  left: 14px;
  width: 22px;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}
/* The dialog runs a denser scale than the gate. */
.bee1-md .bee1-md-reg-modal .bee1-md-input-icon-wrap input{
  height: 46px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: normal;
}
.bee1-md .bee1-md-reg-modal .bee1-md-input-icon-wrap input[aria-invalid="true"]{
  border-color: #B4283C;
  box-shadow: 0 0 0 3px rgba(180,40,60,0.18);
}

/* ---------------- password field ---------------- */
/* Physical, not logical: the wrapper is RTL but the input is LTR, so
   inset-inline-end and padding-inline-end resolve to OPPOSITE sides. */
.bee1-md .bee1-md-pass-toggle{
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid #473B34;
  border-radius: 8px;
  color: #A89B91;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.bee1-md .bee1-md-pass-toggle:hover{
  background: rgba(255,255,255,0.12);
  color: #F5EFEB;
}
.bee1-md .bee1-md-pass-toggle:focus-visible{
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}
/* Keep typed characters clear of the toggle. */
.bee1-md .bee1-md-input-icon-wrap input[type="password"],
.bee1-md .bee1-md-input-icon-wrap input#bee1_md_reg_pass{
  padding-right: 66px;
}
.bee1-md .bee1-md-hint{
  margin: 6px 2px 0;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: #8C7E74;
  text-align: start;
}

/* ---------------- gate footer spacing ----------------
   `.bee1-md button { margin: 0 }` (0,1,1) outranks the 10px margin-bottom
   declared on `.bee1-md-gate-register` (0,1,0), so the register button sat
   flush against the WhatsApp link. Spacing moves to the container, where a
   descendant reset cannot reach it.
   ------------------------------------------------------ */
.bee1-md .bee1-md-gate-footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.bee1-md .bee1-md-gate-footer > *{
  margin: 0;
}
.bee1-md .bee1-md-gate-footer > p{
  align-self: stretch;
}


/* ===========================================================================
   0.10.0 — save for later · reset · saved orders · symmetric layout
   =========================================================================== */

/* order bar: actions grouped, equal height */
.bee1-md .md-bar-acts{display:flex;align-items:center;gap:8px}
.bee1-md .md-bar-acts .md-btn{text-align:center}

/* saved-orders banner on the desk */
.bee1-md .md-savedbar{
  max-width:1180px;margin:4px auto 12px;padding:0 13px;
  display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;
  font-size:13.5px;font-weight:800;color:var(--md-ink-2);text-align:center;
}
.bee1-md .md-savedbar[hidden]{display:none}
.bee1-md .md-savedbar .md-btn{padding:8px 16px;font-size:13.5px}

/* checkout: secondary pair under the primary button */
.bee1-md .md-coacts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bee1-md .md-coacts.md-coacts-one{grid-template-columns:1fr}
.bee1-md .md-cofoot .md-coacts .md-btn{padding:12px 10px;font-size:14.5px}
.bee1-md .md-btn.md-danger-ghost{color:var(--md-accent);border-color:var(--md-accent-soft)}
.bee1-md .md-back{text-align:center;margin:16px 0 0}

/* checkout: saved orders list */
.bee1-md .md-saved{margin-top:28px}
.bee1-md .md-saved h3{margin:0 0 12px;font-size:18px;font-weight:800;text-align:center}
.bee1-md .md-sv{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--md-line-2)}
.bee1-md .md-sv:last-child{border-bottom:0}
.bee1-md .md-svn{flex:1;min-width:0}
.bee1-md .md-svn b{display:block;font-size:14.5px;font-weight:800;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bee1-md .md-svn span{display:block;margin-top:3px;font-size:12px;font-weight:700;color:var(--md-muted)}
.bee1-md .md-sva{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.bee1-md .md-sva .md-btn{padding:8px 15px;font-size:13.5px}

/* in-page dialog. It carries .bee1-md for the tokens, so undo the page-level
   padding / min-height / ground that class also brings. */
.bee1-md.md-modal-wrap{
  position:fixed;inset:0;z-index:100000;min-height:0;padding:16px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(20,16,14,.55);
}
.bee1-md .md-modal{
  width:100%;max-width:420px;background:var(--md-surface);border-radius:var(--md-r-xl);
  box-shadow:var(--md-shadow-2);padding:24px 22px 20px;text-align:center;
  animation:bee1MdGrow .16s ease-out;
}
.bee1-md .md-modal h3{margin:0 0 8px;font-size:19px;font-weight:800}
.bee1-md .md-modal p{margin:0 0 16px;font-size:14px;font-weight:600;color:var(--md-ink-2);line-height:1.5}
.bee1-md .md-modal-in{
  width:100%;margin:0 0 16px;padding:12px 14px;border-radius:var(--md-r-md);
  border:1px solid var(--md-line);background:var(--md-surface-2);font-size:16px;font-weight:600;text-align:center;
}
.bee1-md .md-modal-in:focus{outline:2px solid var(--md-accent);outline-offset:1px}
.bee1-md .md-modal-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bee1-md .md-modal-acts .md-btn{width:100%;text-align:center;padding:12px 10px}
@media(prefers-reduced-motion:reduce){.bee1-md .md-modal{animation:none}}

/* toast */
.bee1-md.md-toast{
  position:fixed;left:50%;bottom:calc(var(--md-bar-h) + 24px);transform:translateX(-50%);
  z-index:100001;min-height:0;width:max-content;max-width:calc(100vw - 32px);
  padding:12px 18px;border-radius:999px;background:var(--md-deep);color:var(--md-surface);
  font-size:14px;font-weight:800;text-align:center;box-shadow:var(--md-shadow-2);
  transition:opacity .4s ease;
}
.bee1-md.md-toast.md-toast-err{background:var(--md-accent);color:var(--md-accent-ink);border-radius:var(--md-r-md);cursor:pointer}
.bee1-md.md-toast.md-toast-out{opacity:0}

/* phones: the order bar becomes two even rows — total, then the actions */
@media(max-width:560px){
  .bee1-md{--md-bar-h:124px}
  .bee1-md .md-bar-in{flex-wrap:wrap;gap:9px}
  .bee1-md .md-bar .md-s{flex:1 0 100%;flex-direction:row;align-items:baseline;justify-content:space-between}
  .bee1-md .md-bar-acts{flex:1 0 100%;display:grid;grid-auto-flow:column;grid-auto-columns:1fr}
  .bee1-md .md-bar-acts .md-btn{padding:12px 8px;font-size:14.5px}
  .bee1-md .md-acct .md-acct-ph{display:none}
  .bee1-md .md-sv{padding:12px}
  .bee1-md .md-sva .md-btn{padding:8px 12px}
}

/* ---------------------------------------------------------------------------
   0.10.2 — round controls stay round, glyphs dead centre.

   The theme gives every <button> `padding:14px 30px`. `.bee1-md button` resets
   border, background and margin but not padding, so the 36px stepper circles
   rendered 60x36 ovals with the +/- pushed below the middle — on every screen
   size. Same leak on the round x buttons. Padding is zeroed here, and the
   stepper glyphs are SVG rather than text: a text "+" sits wherever the font's
   metrics put it, an SVG path sits where we draw it.
   --------------------------------------------------------------------------- */
.bee1-md .md-step button,
.bee1-md .md-cox,
.bee1-md .md-pclose{padding:0;min-width:0;min-height:0;box-sizing:border-box}
.bee1-md .md-step button{flex:0 0 36px}
.bee1-md .md-step button svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}

/* ---------------------------------------------------------------------------
   0.11.0 — open ordering: instant supply vs. future order.

   Green = ships from the shelf now; brass = goes on a future order. The same
   two colours are used on the size row, the model footer, the order bar and
   the review page, so a dealer reads the split the same way everywhere.
   --------------------------------------------------------------------------- */
.bee1-md{--md-ok-soft:#E7F3EB;--md-ok-line:#BFDCC9;--md-brass-line:#E6D3A3}
@media (prefers-color-scheme:dark){
  .bee1-md{--md-ok-soft:#15261B;--md-ok-line:#2C4A36;--md-brass-line:#4A3C20}
}
.bee1-md.md-open{--md-bar-h:104px}

.bee1-md .md-row.md-orow{padding:9px 8px}
.bee1-md .md-orow .md-sz{flex-basis:66px}
.bee1-md .md-sz span.md-fut{color:var(--md-muted)}
.bee1-md .md-rmid{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.bee1-md .md-rmid .md-rsum{flex:none;font-size:15px}
.bee1-md .md-stepcol{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:5px}

.bee1-md .md-tag,
.bee1-md .md-pill{
  display:inline-flex;align-items:center;gap:5px;border-radius:999px;border:1px solid transparent;
  font-size:11.5px;font-weight:800;line-height:1.35;white-space:nowrap;font-variant-numeric:tabular-nums;
}
.bee1-md .md-tag{padding:3px 10px}
.bee1-md .md-tag-cap{font-size:11px;padding:2px 9px}
.bee1-md .md-pill{padding:4px 11px;font-size:12px}
.bee1-md .md-pill i{font-style:normal;font-size:12px;line-height:1}
.bee1-md .md-tag-now,
.bee1-md .md-pill-now{background:var(--md-ok-soft);color:var(--md-ok);border-color:var(--md-ok-line)}
.bee1-md .md-tag-later,
.bee1-md .md-pill-later{background:var(--md-brass-soft);color:var(--md-brass);border-color:var(--md-brass-line)}

.bee1-md .md-split{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.bee1-md .md-split:empty{display:none}
.bee1-md .md-bar .md-s .md-split{margin-top:5px}
.bee1-md .md-split-tot{margin-top:0}

.bee1-md .md-rz.md-fut{background:transparent;color:var(--md-muted);border-style:dashed;border-color:var(--md-line)}

.bee1-md .md-cobrk span.md-fut{background:transparent;border:1px dashed var(--md-brass-line)}
.bee1-md .md-cobrk span i{font-style:normal;opacity:.85}
.bee1-md .md-done-later{margin:0;color:var(--md-brass);font-weight:700}

@media(max-width:560px){
  .bee1-md.md-open{--md-bar-h:160px}
  .bee1-md .md-bar .md-s{flex-wrap:wrap}
  .bee1-md .md-bar .md-s .md-split{flex:1 0 100%}
  .bee1-md .md-orow .md-sz{flex-basis:50px}
  .bee1-md .md-row.md-orow{gap:8px;padding:9px 6px}
  .bee1-md .md-rmid .md-tag{white-space:normal;text-align:center;font-size:10.5px;padding:3px 8px}
  .bee1-md .md-tag-cap{font-size:10.5px}
}

/* ---------------------------------------------------------------------------
   0.12.0 — palettes. "leather" is the original token set above and needs no
   block. The others restate the same tokens, one attribute deeper so they win
   over the prefers-color-scheme block too (both palettes are light designs).
   Green (--md-ok) = ships now; --md-brass = future order, as in 0.11.0.
   --------------------------------------------------------------------------- */
.bee1-md[data-palette="indigo"]{
  --md-ground:#EFF3F9; --md-surface:#FFFFFF; --md-surface-2:#F8FAFC;
  --md-ink:#0F172A; --md-ink-2:#1E293B; --md-muted:#64748B;
  --md-line:#CBD5E1; --md-line-2:#E2E8F0;
  --md-accent:#4338CA; --md-accent-ink:#FFFFFF; --md-accent-soft:#EEF2FF;
  --md-deep:#0F172A; --md-deep-soft:#E2E8F0;
  --md-brass:#4F46E5; --md-brass-soft:#EEF2FF; --md-brass-line:#A5B4FC;
  --md-ok:#047857; --md-ok-soft:#ECFDF5; --md-ok-line:#6EE7B7;
  --md-low:#B45309;
  --md-shadow-1:0 1px 2px rgba(15,23,42,.05),0 4px 16px rgba(30,27,75,.08);
  --md-shadow-2:0 20px 50px -12px rgba(30,27,75,.22);
  --md-tile-a:#E2E8F0; --md-tile-b:#F8FAFC;
  --md-step-bg:#0F172A; --md-step-ink:#FFFFFF;
}
.bee1-md[data-palette="berry"]{
  --md-ground:#F9F1F2; --md-surface:#FFFFFF; --md-surface-2:#FFF9FA;
  --md-ink:#1F0A10; --md-ink-2:#4C1D2B; --md-muted:#855563;
  --md-line:#EBCAD0; --md-line-2:#F5E1E5;
  --md-accent:#881337; --md-accent-ink:#FFFFFF; --md-accent-soft:#FFF1F2;
  --md-deep:#2E0711; --md-deep-soft:#F5E1E5;
  --md-brass:#BE123C; --md-brass-soft:#FFE4E6; --md-brass-line:#FDA4AF;
  --md-ok:#047857; --md-ok-soft:#ECFDF5; --md-ok-line:#6EE7B7;
  --md-low:#B45309;
  --md-shadow-1:0 1px 2px rgba(136,19,55,.05),0 4px 16px rgba(136,19,55,.08);
  --md-shadow-2:0 20px 50px -12px rgba(136,19,55,.24);
  --md-tile-a:#F5E1E5; --md-tile-b:#FFF9FA;
  --md-step-bg:#2E0711; --md-step-ink:#FFFFFF;
}

/* Manager-only preview switch: one 44px round button, bottom-right above the
   order bar. Right edge: on the RTL desk that side holds the size labels, the
   left side holds the +/- steppers it must never cover. Lives outside .bee1-md,
   so it carries its own reset. */
.bee1-md-palsw{
  position:fixed; right:12px; bottom:110px; z-index:9990; /* JS re-places it above the order bar */
  display:flex; align-items:center; gap:8px; direction:rtl; pointer-events:none;
}
.bee1-md-palsw-btn{
  pointer-events:auto; position:relative; width:44px; height:44px; margin:0; padding:0;
  border:2px solid #fff; border-radius:50%; cursor:pointer; overflow:hidden;
  background:#111; box-shadow:0 6px 18px rgba(0,0,0,.28);
  display:grid; grid-template-columns:1fr 1fr 1fr;
}
.bee1-md-palsw-btn i{display:block;height:100%}
.bee1-md-palsw-btn:focus-visible{outline:3px solid #4338CA;outline-offset:2px}
.bee1-md-palsw-leather{background:#7E1F2B}
.bee1-md-palsw-indigo{background:#4338CA}
.bee1-md-palsw-berry{background:#E11D48}
.bee1-md-palsw[data-current="leather"] .bee1-md-palsw-btn i:not([data-pal="leather"]),
.bee1-md-palsw[data-current="indigo"] .bee1-md-palsw-btn i:not([data-pal="indigo"]),
.bee1-md-palsw[data-current="berry"] .bee1-md-palsw-btn i:not([data-pal="berry"]){opacity:.35}
.bee1-md-palsw-name{
  padding:6px 12px; border-radius:999px; background:rgba(17,17,17,.9); color:#fff;
  font-size:13px; font-weight:700; white-space:nowrap;
  opacity:0; transform:translateX(6px); transition:opacity .18s ease, transform .18s ease;
}
.bee1-md-palsw.is-named .bee1-md-palsw-name{opacity:1; transform:none}
@media (prefers-reduced-motion:reduce){ .bee1-md-palsw-name{transition:none} }

/* ---------------------------------------------------------------------------
   0.13.0 — SMS login code step on the gate. Same card, same input and button
   styles as the phone step; only the code field and two text links are new.
   --------------------------------------------------------------------------- */
.bee1-md-gate-form[hidden]{display:none !important}
.bee1-md-otp-sent{
  margin:0 0 18px;font-size:14px;font-weight:700;color:#D6C7BC;text-align:center;line-height:1.5;
}
#bee1_md_otp_input{
  text-align:center;font-size:24px;letter-spacing:.45em;padding:0 44px;font-variant-numeric:tabular-nums;
}
.bee1-md-otp-acts{display:flex;justify-content:space-between;gap:10px;margin-top:14px}
.bee1-md .bee1-md-otp-link,
.bee1-md-otp-link{
  background:none;border:0;padding:4px 2px;margin:0;min-height:0;box-shadow:none;
  font-size:13.5px;font-weight:700;color:#D4AF37;cursor:pointer;text-decoration:underline;text-underline-offset:3px;
}
.bee1-md-otp-link:disabled{color:#8C7E74;text-decoration:none;cursor:default}
.bee1-md-otp-link:focus-visible{outline:2px solid #D4AF37;outline-offset:2px;border-radius:4px}

/* A phone number never breaks in the middle: on a phone the gate's WhatsApp
   line wrapped as "052-" / "8780820". <bdi> keeps it left-to-right inside
   the RTL sentence. 0.14.6 */
.bee1-md .bee1-md-gate-wa-num{white-space:nowrap;direction:ltr;unicode-bidi:isolate}
