/*
 * Bully Blast Customer Portal, checkout, confirmation and order lookup (Build 291).
 * Reproduces the approved unified native prototype (263): app/styles/shells.css, native.css, components.css and
 * tokens.css for the Customer Portal shell and pages (#/customer, /orders, /order, /account), the customer sign-in
 * (customer-portal/bb-customer-login.html as mounted by the unified shell), the checkout (public-site/bb-checkout.html),
 * the confirmation (public-site/bb-confirmation.html) and order status (public-site/bb-order-status.html). Values are
 * the prototype's computed values. Loaded only on WooCommerce's framed pages and the storefront's order-status page;
 * everything is scoped to body.bb-store so nothing leaks.
 */
body.bb-store{font-size:16px;line-height:normal;}   /* the prototype's base size (a block theme's global styles would otherwise set it) */
body.bb-store{
  --t-page:#f5f6f8; --t-content:#faf9f5; --t-surface:#fff; --t-surface-2:#fbfaf6; --t-surface-3:#f4f3ee;
  --t-text:#1c1c1e; --t-text-2:#3a3a38; --t-text-muted:#6c6c66; --t-border:rgba(20,20,22,.12); --t-border-strong:rgba(20,20,22,.28);
  --t-act-bg:#fbf0cf; --t-act-tx:#8a6d12; --t-prog-bg:#dce7f4; --t-prog-tx:#2f5d8c; --t-wait-bg:#dcefd2; --t-wait-tx:#37792a; --t-bad-bg:#f7dcd6; --t-bad-tx:#a3341f;
  --ok-tx:#2c6a20; --line2:rgba(20,20,22,.07); --radius-lg:14px;
  --shadow:0 1px 2px rgba(20,20,22,.06),0 1px 3px rgba(20,20,22,.05);
}
.bb-store .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;}

/* ============================================================ buttons, fields, pills (components.css) */
.bb-store .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--t-border);background:var(--t-surface);color:var(--char);border-radius:10px;padding:9px 14px;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;text-decoration:none;line-height:1;}
.bb-store .btn:hover{border-color:var(--char);}
.bb-store .btn.primary{background:var(--yellow);border-color:transparent;color:#1c1c1e;}
.bb-store .btn.primary:hover{background:var(--yellow-hot);}
.bb-store .btn.ghost{background:transparent;}
.bb-store .btn.sm{padding:6px 10px;font-size:12px;border-radius:8px;}
.bb-store .btn:focus-visible,.bb-store a:focus-visible,.bb-store button:focus-visible,.bb-store input:focus-visible,.bb-store select:focus-visible,.bb-store textarea:focus-visible{outline:2px solid var(--char);outline-offset:2px;}
.bb-store .badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:.44px;text-transform:uppercase;border-radius:999px;padding:4px 10px;white-space:nowrap;border:1px solid rgba(20,20,22,.14);color:#1c1c1e;vertical-align:middle;}
.bb-store .badge.b{border:0;border-radius:6px;padding:3px 8px;letter-spacing:.2px;text-transform:none;}
.bb-store .badge.ok{background:var(--t-wait-bg);color:var(--t-wait-tx);border-color:transparent;}
.bb-store .badge.info{background:var(--t-prog-bg);color:var(--t-prog-tx);border-color:transparent;}
.bb-store .badge.warn{background:var(--t-act-bg);color:var(--t-act-tx);border-color:transparent;}
.bb-store .badge.bad{background:var(--t-bad-bg);color:var(--t-bad-tx);border-color:transparent;}
.bb-store .badge.neutral{background:rgba(20,20,22,.08);color:var(--t-text-muted);border-color:transparent;}
.bb-store .field{margin-bottom:12px;}
.bb-store .field label{display:block;font-size:12px;font-weight:700;color:var(--t-text-muted);margin-bottom:5px;}
.bb-store .field input,.bb-store .field select,.bb-store .field textarea{width:100%;border:1px solid var(--t-border);border-radius:12px;padding:11px 12px;font-size:13.5px;font-family:inherit;background:var(--t-surface);color:var(--char);}
.bb-store .field input:focus,.bb-store .field select:focus,.bb-store .field textarea:focus{border-color:var(--char);outline:none;}
.bb-store .fhint{display:block;font-size:11.5px;color:var(--t-text-muted);margin-top:5px;}
.bb-store .required{color:var(--t-bad-tx);text-decoration:none;border:0;}

/* ============================================================ CUSTOMER PORTAL SHELL (shells.css + native.css) */
body.bb-portal{background:var(--t-page);}
.bb-portal .bb-shell-side{display:flex;min-height:100vh;}
.bb-portal .bb-side{width:240px;flex:0 0 240px;background:#141416;color:#cfd3da;position:fixed;top:0;bottom:0;left:0;display:flex;flex-direction:column;z-index:45;}
.admin-bar.bb-portal .bb-side{top:32px;}
.bb-portal .bb-side .brand{padding:18px 18px 14px;border-bottom:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;gap:8px;align-items:flex-start;}
.bb-portal .bb-side .brand a{display:block;}
.bb-portal .bb-side .brand img{display:block;width:100%;max-width:168px;height:auto;}
.bb-portal .bb-side .brand .tag{display:block;font-size:10.5px;font-weight:700;letter-spacing:1.26px;text-transform:uppercase;color:#8b909a;margin-top:5px;}
.bb-portal .bb-nav{flex:1;overflow-y:auto;padding:6px 10px;}
.bb-portal .bb-modlink{display:block;padding:9px 12px;margin:0 0 2px;border-radius:5px;border-left:3px solid transparent;color:#cfd3da;text-decoration:none;font-size:13.5px;font-weight:600;line-height:20px;white-space:nowrap;}
.bb-portal .bb-modlink:hover{color:#fff;background:rgba(255,255,255,.04);}
.bb-portal .bb-modlink.on{background:var(--yellow);border-left-color:var(--yellow);color:#1c1c1e;}
.bb-portal .bb-navicon{display:inline-block;width:20px;height:20px;margin-right:9px;vertical-align:middle;opacity:.66;}
.bb-portal .bb-modlink:hover .bb-navicon{opacity:.9;}
.bb-portal .bb-modlink.on .bb-navicon{opacity:1;}
.bb-portal .bb-modlink:focus-visible{outline:2px solid var(--yellow);outline-offset:-2px;}
.bb-portal .bb-side .user{padding:14px 18px;border-top:1px solid rgba(255,255,255,.08);font-size:12.5px;}
.bb-portal .bb-side .user .who{font-weight:700;color:#fff;}
.bb-portal .bb-side .user .role{color:#8b909a;margin-top:1px;}
.bb-portal .bb-side .user .signout{display:inline-block;margin-top:8px;font-size:12px;font-weight:600;letter-spacing:.72px;text-transform:uppercase;color:var(--yellow);text-decoration:none;border:1px solid rgba(255,255,255,.18);border-radius:7px;padding:6px 10px;}
.bb-portal .bb-side .user .signout:hover{background:rgba(255,255,255,.08);}
.bb-portal .bb-main{flex:1;margin-left:240px;min-width:0;display:flex;flex-direction:column;background:var(--t-page);}
.bb-portal .bb-top{position:sticky;top:0;z-index:35;height:56px;background:#fff;border-bottom:1px solid var(--t-border);display:flex;align-items:center;gap:12px;padding:0 22px;}
.admin-bar.bb-portal .bb-top{top:32px;}
.bb-portal .bb-pagetitle{font-weight:700;font-size:16px;color:#1c1c1e;flex:1;}
.bb-portal .bb-bell{background:var(--t-surface-3);border:1px solid var(--t-border);border-radius:0;height:34px;min-width:36px;padding:0 9px;font-size:15px;color:var(--t-text);display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;}
.bb-portal .bb-bell:hover{background:var(--t-surface-2);border-color:var(--t-border-strong);}
.bb-portal .bb-cartn{background:var(--yellow);color:#1c1c1e;border-radius:20px;font-size:11px;font-weight:800;padding:1px 7px;}
.bb-portal .bb-top .who{margin-left:4px;font-size:12.5px;text-align:right;color:var(--t-text-muted);line-height:1.2;}
.bb-portal .bb-top .who b{display:block;color:#1c1c1e;font-weight:700;}
.bb-portal .bb-hb{display:none;border:1px solid var(--t-border);background:#fff;border-radius:8px;padding:6px 9px;font-size:16px;line-height:1;cursor:pointer;}
.bb-portal .bb-outlet{flex:1;background:var(--t-page);}
.bb-portal .bb-content{padding:22px;background:var(--t-content);min-height:calc(100vh - 56px);}
.bb-portal .bb-page{padding:22px 28px;max-width:1400px;}
.bb-portal .bb-h1{font-family:'Anton',sans-serif;font-size:22px;font-weight:400;color:#1c1c1e;margin:0 0 14px;letter-spacing:.22px;}
.bb-portal .bb-sub{font-size:16px;color:#1c1c1e;margin:16px 0;padding:2px 0 6px;max-width:78ch;display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
.bb-portal .bb-sidescrim{display:none;}
@media(max-width:900px){
  .bb-portal .bb-side{transform:translateX(-100%);transition:transform .2s;width:264px;}
  .bb-portal .bb-side.open{transform:none;box-shadow:8px 0 40px rgba(0,0,0,.2);}
  .bb-portal .bb-main{margin-left:0;}
  .bb-portal .bb-hb{display:inline-flex;}
  .bb-portal .bb-sidescrim:not([hidden]){display:block;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:44;}
  .bb-portal .bb-content{padding:16px 14px;}
  .bb-portal .bb-page{padding:6px 4px;}
  .bb-portal .bb-top .who{display:none;}
}
@media(max-width:600px){.bb-portal .bb-top .who{display:none;}}
@media(prefers-reduced-motion:reduce){.bb-portal .bb-side{transition:none;}}

/* WooCommerce's own notices inside the portal, in the prototype's alert style */
.bb-portal .woocommerce-notices-wrapper:empty{display:none;}
.bb-store .woocommerce-message,.bb-store .woocommerce-info,.bb-store .woocommerce-error{list-style:none;margin:0 0 16px;padding:13px 15px;border:1px solid;border-radius:5px;font-size:13px;line-height:1.5;display:block;}
.bb-store .woocommerce-message{background:#e7f3de;border-color:#c4e0b4;color:#2c6a20;}
.bb-store .woocommerce-info{background:#eef3f9;border-color:#cfdcec;color:#2f5d8c;}
.bb-store .woocommerce-error{background:#fbeae5;border-color:#e8c3b8;color:#a3341f;}
.bb-store .woocommerce-error li{margin:0;padding:0;}
.bb-store .woocommerce-message::before,.bb-store .woocommerce-info::before,.bb-store .woocommerce-error::before{display:none!important;}
.bb-store .woocommerce-message a,.bb-store .woocommerce-info a,.bb-store .woocommerce-error a{color:inherit;font-weight:700;}
.bb-store .woocommerce-message .button,.bb-store .woocommerce-info .button{float:none!important;margin-left:8px;}

/* ============================================================ PORTAL PAGES */
/* dashboard (customer-portal/bb-customer-dashboard.html) */
.bb-portal .welcome{margin:0 0 6px;}
.bb-portal .eyebrow{font-size:11.2px;font-weight:800;letter-spacing:2.24px;text-transform:uppercase;color:#9a8f12;}
.bb-portal .welcome .eyebrow{color:var(--yellow);}
.bb-portal .welcome h1{font-family:'Anton',sans-serif;font-size:40px;font-weight:400;line-height:.98;letter-spacing:.5px;text-transform:uppercase;margin:6px 0;color:#1c1c1e;}
.bb-portal .welcome p{color:var(--t-text-muted);font-size:16px;}
.bb-portal .grid4{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:20px 0 24px;}
.bb-portal .sumcard{position:relative;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid var(--t-border);padding:18px;text-decoration:none;color:#1c1c1e;transition:border-color .16s,box-shadow .16s,transform .16s;}
.bb-portal .sumcard:hover{border-color:rgba(20,20,22,.2);box-shadow:0 8px 22px rgba(0,0,0,.07);transform:translateY(-2px);}
.bb-portal .sumcard .ic{width:36px;height:36px;background:rgba(243,234,34,.3);display:grid;place-items:center;}
.bb-portal .sumcard .ic svg{width:19px;height:19px;stroke:#0c0c0d;fill:none;stroke-width:1.8;}
.bb-portal .sumcard .lbl{font-size:11.2px;font-weight:800;letter-spacing:1.344px;text-transform:uppercase;color:var(--t-text-muted);}
.bb-portal .sumcard .big{font-family:'Anton',sans-serif;font-size:24.8px;line-height:1;letter-spacing:.248px;}
.bb-portal .sumcard .sub{font-size:13.12px;color:var(--t-text-muted);margin-top:-4px;}
.bb-portal .sumcard .arw{position:absolute;top:15px;right:15px;color:var(--t-text-muted);}
.bb-portal .cols{display:grid;grid-template-columns:1.55fr 1fr;gap:22px;align-items:start;}
.bb-portal .cols > *{min-width:0;}
.bb-portal .sec-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:34px 0 12px;}
.bb-portal .sec:first-child .sec-h{margin-top:12px;}
.bb-portal .sec-h h2{font-family:'Anton',sans-serif;font-size:16.8px;font-weight:400;letter-spacing:.336px;text-transform:uppercase;line-height:1.15;}
.bb-portal .sec-h .link{font-size:12.48px;font-weight:800;letter-spacing:.3744px;color:var(--t-text-muted);text-decoration:none;}
.bb-portal .sec-h .link:hover{color:#1c1c1e;}
.bb-portal .spot{display:block;background:#fff;border:1px solid var(--t-border);border-left:4px solid var(--yellow);padding:20px;text-decoration:none;color:#1c1c1e;}
.bb-portal .spot:hover{box-shadow:0 6px 16px rgba(0,0,0,.05);}
.bb-portal .spot .top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:flex-start;}
.bb-portal .spot .ordno{display:block;font-family:'Anton',sans-serif;font-size:18.4px;}
.bb-portal .spot .ordmeta{display:block;font-size:13.12px;color:var(--t-text-muted);margin-top:2px;}
.bb-portal .steps{list-style:none;display:flex;margin:20px 0 6px;padding:0;}
.bb-portal .steps .step{flex:1;text-align:center;position:relative;}
.bb-portal .steps .bar{display:block;height:4px;background:var(--t-border);border-radius:2px;margin:0 2px;}
.bb-portal .steps .step.done .bar{background:var(--yellow);}
.bb-portal .steps .st{display:block;font-size:10.56px;font-weight:700;letter-spacing:.2112px;color:var(--t-text-muted);margin-top:8px;}
.bb-portal .steps .step.done .st{color:#1c1c1e;}
.bb-portal .steps .st small,.bb-portal .dsteps .st small{display:block;color:var(--t-text-muted);font-weight:500;font-size:.62rem;margin-top:1px;}
.bb-portal .subhead{font-size:12.48px;font-weight:800;letter-spacing:1.248px;text-transform:uppercase;color:var(--t-text-muted);margin:22px 0 12px;}
.bb-portal .olist{display:flex;flex-direction:column;gap:10px;}
.bb-portal .orow{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--t-border);padding:14px 16px;text-decoration:none;color:#1c1c1e;transition:border-color .14s,box-shadow .14s;}
.bb-portal .orow:hover{border-color:rgba(20,20,22,.2);box-shadow:0 6px 16px rgba(0,0,0,.05);}
.bb-portal .orow.done{opacity:.72;}
.bb-portal .orow .oinfo{flex:1;min-width:0;}
.bb-portal .orow .n{display:block;font-weight:800;font-size:14.72px;}
.bb-portal .orow .m{display:block;font-size:12.48px;color:var(--t-text-muted);margin-top:2px;}
.bb-portal .orow .oright{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:0 0 auto;text-align:right;}
.bb-portal .orow .amt{font-weight:800;font-size:14.4px;}
.bb-portal .panel{background:#fff;border:1px solid var(--t-border);padding:18px 20px;}
.bb-portal .rowline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--t-border);font-size:.88rem;}
.bb-portal .rowline:last-child{border-bottom:none;}
.bb-portal .rowline .k{color:var(--t-text-muted);flex:0 0 auto;}
.bb-portal .rowline .v{font-weight:700;text-align:right;overflow-wrap:anywhere;}
.bb-portal .cp-empty{border:1px dashed var(--t-border);background:var(--t-surface-3);padding:40px 26px;text-align:center;}
.bb-portal .cp-empty-t{font-weight:800;font-size:15px;color:var(--t-text);}
.bb-portal .cp-empty-s{margin:6px auto 16px;font-size:13.5px;color:var(--t-text-muted);max-width:52ch;}
@media(max-width:960px){.bb-portal .cols{grid-template-columns:1fr;}}
@media(max-width:520px){.bb-portal .grid4{grid-template-columns:1fr 1fr;gap:12px;} .bb-portal .welcome h1{font-size:32px;}}

/* orders list (native.css BUILD 149) */
.bb-portal .cp-panel{background:#fff;border:1px solid var(--t-border);border-radius:0;overflow:hidden;}
.bb-portal .ord-head,.bb-portal .ord-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,.8fr) auto;gap:14px;align-items:center;text-align:left;}
.bb-portal .ord-head{padding:12px 18px;background:var(--t-surface-2);border-bottom:1px solid var(--t-border);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--t-text-2);font-weight:800;}
.bb-portal .ord-row{position:relative;padding:14px 18px;border-bottom:1px solid var(--t-border);color:var(--t-text);}
.bb-portal .ord-row:last-child{border-bottom:none;}
.bb-portal .ord-row:hover{background:var(--t-surface-2);}
.bb-portal .ord-row > span{min-width:0;}
.bb-portal .ord-link{color:inherit;text-decoration:none;}
.bb-portal .ord-link::after{content:"";position:absolute;inset:0;}
.bb-portal .ord-link:focus-visible{outline:none;}
.bb-portal .ord-link:focus-visible::after{outline:2px solid var(--char);outline-offset:-2px;}
.bb-portal .ord-track,.bb-portal .ord-extra{display:block;font-size:11.5px;color:var(--t-text-muted);margin-top:3px;overflow-wrap:anywhere;}
.bb-portal .ord-c-act{display:flex;gap:6px;align-items:center;justify-content:flex-end;font-weight:800;font-size:12.5px;color:var(--t-text-2);white-space:nowrap;position:relative;z-index:1;}
.bb-portal .ord-view{color:var(--t-text-2);text-decoration:none;}
.bb-portal .ord-lbl{display:none;}
.bb-portal .cp-pager{display:flex;gap:10px;margin-top:16px;}
@media(max-width:760px){
  .bb-portal .ord-head{display:none;}
  .bb-portal .ord-row{grid-template-columns:1fr auto;gap:6px 12px;padding:14px 16px;}
  .bb-portal .ord-c-id{grid-column:1;}
  .bb-portal .ord-c-status{grid-column:2;grid-row:1;justify-self:end;}
  .bb-portal .ord-c-date,.bb-portal .ord-c-items,.bb-portal .ord-c-total{grid-column:1/-1;display:flex;gap:8px;font-size:13px;}
  .bb-portal .ord-lbl{display:inline;color:var(--t-text-muted);min-width:52px;}
  .bb-portal .ord-c-act{grid-column:1/-1;justify-content:flex-start;margin-top:4px;}
}

/* order detail + account cards (tablecard) */
.bb-portal .tablecard{background:#fff;border:1px solid var(--t-border);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden;}
.bb-portal .cp-card{display:block;padding:18px;margin:0 0 14px;}
.bb-portal .cp-card-t{display:block;font-weight:700;font-size:16px;color:#1c1c1e;margin-bottom:10px;}
.bb-portal .cp-muted{font-size:12.5px;color:var(--t-text-muted);margin-top:8px;line-height:1.5;}
.bb-portal .cp-line{font-size:13px;margin-top:8px;}
.bb-portal .cp-shipto{margin-top:10px;}
.bb-portal .dsteps{list-style:none;display:flex;gap:6px;margin:10px 0 4px;padding:0;}
.bb-portal .dsteps .step{flex:1;text-align:center;}
.bb-portal .dsteps .bar{display:block;height:4px;border-radius:2px;background:var(--t-border);}
.bb-portal .dsteps .step.done .bar{background:#1c1c1e;}
.bb-portal .dsteps .st{display:block;font-size:10.5px;margin-top:5px;font-weight:500;color:var(--t-text-muted);}
.bb-portal .dsteps .step.done .st{font-weight:800;color:#1c1c1e;}
.bb-portal .cp-item{display:flex;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--line2);font-size:13px;}
.bb-portal .cp-item .cp-item-n{flex:1;min-width:0;}
.bb-portal .cp-item small{display:block;color:var(--t-text-muted);font-size:11.5px;}
.bb-portal .cp-item b{margin-left:auto;white-space:nowrap;}
.bb-portal .cp-tot{display:flex;gap:10px;padding:6px 0 0;font-size:13px;color:var(--t-text-muted);}
.bb-portal .cp-tot b{margin-left:auto;color:#1c1c1e;font-weight:600;text-align:right;}
.bb-portal .cp-tot.grand{padding:8px 0 0;border-top:1px solid var(--t-border);margin-top:6px;font-size:14px;color:#1c1c1e;}
.bb-portal .cp-tot.grand b{font-weight:700;}
.bb-portal .cp-note{padding:8px 0;border-top:1px solid var(--line2);font-size:13px;}
.bb-portal .cp-note p{margin:4px 0 0;}
.bb-portal .cp-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px;}
.bb-portal .cp-actions .order-again{display:inline;margin:0;}
.bb-portal .cp-actions .order-again .button{display:inline-flex;align-items:center;border:1px solid var(--t-border);background:#fff;color:var(--char);border-radius:10px;padding:9px 14px;font-size:13px;font-weight:700;text-decoration:none;line-height:1;}
.bb-portal .thumb.sm{width:36px;height:36px;border-radius:7px;flex:0 0 auto;}
.bb-portal .cp-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;align-items:start;}
.bb-portal .cp-grid > *{min-width:0;}
.bb-portal .cp-two{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;}
.bb-portal fieldset{border:0;margin:0;padding:0;min-width:0;}
.bb-portal legend.cp-card-t{padding:0;}
.bb-portal .cp-legend-note{margin:-4px 0 10px;}
.bb-portal .cp-save{display:flex;gap:10px;align-items:center;margin:0 0 14px;}
.bb-portal .cp-addr{padding:12px 0;border-top:1px solid var(--line2);}
.bb-portal .cp-addr:first-of-type{border-top:0;}
.bb-portal .cp-addr-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px;}
.bb-portal .cp-addr-h .cp-card-t{margin:0;}
.bb-portal address{font-style:normal;font-size:13.5px;line-height:1.6;}
.bb-portal .cp-addr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;}
.bb-portal .cp-signout{margin-top:4px;}
.bb-portal .cp-form-narrow{max-width:720px;}
@media(max-width:1100px){.bb-portal .cp-grid{grid-template-columns:1fr;}}
@media(max-width:520px){.bb-portal .cp-two{grid-template-columns:1fr;}}
/* WooCommerce's own address fields (woocommerce_form_field) in the prototype's field style */
.bb-portal .woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;}
.bb-portal .woocommerce-address-fields__field-wrapper .form-row{margin:0 0 12px;padding:0;grid-column:1/-1;float:none;width:auto;}
.bb-portal .woocommerce-address-fields__field-wrapper .form-row-first{grid-column:1;}
.bb-portal .woocommerce-address-fields__field-wrapper .form-row-last{grid-column:2;}
.bb-portal .form-row label{display:block;font-size:12px;font-weight:700;color:var(--t-text-muted);margin-bottom:5px;}
.bb-portal .form-row .input-text,.bb-portal .form-row select,.bb-portal .form-row textarea,.bb-portal .select2-container .select2-selection--single{width:100%;border:1px solid var(--t-border);border-radius:12px;padding:11px 12px;font-size:13.5px;font-family:inherit;background:#fff;color:var(--char);min-height:44px;}
.bb-portal .select2-container .select2-selection--single{padding:0;display:flex;align-items:center;}
.bb-portal .select2-container .select2-selection__rendered{padding:0 12px!important;line-height:42px!important;}
.bb-portal .select2-container .select2-selection__arrow{height:42px!important;}
.bb-portal .form-row.woocommerce-invalid .input-text,.bb-portal .form-row.woocommerce-invalid select{border-color:var(--t-bad-tx);}
@media(max-width:520px){.bb-portal .woocommerce-address-fields__field-wrapper{grid-template-columns:1fr;} .bb-portal .woocommerce-address-fields__field-wrapper .form-row-last{grid-column:1;}}

/* ============================================================ PICTURES (prototype placeholder; a missing file falls back) */
.bb-store .thumb{width:56px;height:56px;border-radius:9px;flex-shrink:0;background:linear-gradient(150deg,#fff5b0,#f3ea22);border:1px solid rgba(20,20,22,.1);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;}
.bb-store .thumb img{width:100%;height:100%;object-fit:contain;background:#fff;display:block;}
.bb-store .thumb .ph,.bb-store .thumb.bb-noimg::after{position:relative;font-family:'Anton',sans-serif;font-size:8.5px;color:#1c1c1e;letter-spacing:.3px;text-align:center;line-height:1.05;padding:2px;}
.bb-store .thumb.bb-noimg::after{content:attr(data-tag);}
.bb-store .thumb.bb-noimg img{display:none;}
/* WooCommerce's checkout-block picture, when its file is missing */
.bb-store .bb-img-missing{visibility:hidden;}
.bb-store .wc-block-components-order-summary-item__image.bb-noimg{background:linear-gradient(150deg,#fff5b0,#f3ea22);border-radius:5px;border:1px solid rgba(20,20,22,.1);width:48px;height:48px;flex:0 0 48px;align-self:flex-start;position:relative;display:flex;align-items:center;justify-content:center;overflow:visible;}
.bb-store .wc-block-components-order-summary-item__image.bb-noimg > img{display:none;}
.bb-store .wc-block-components-order-summary-item__image.bb-noimg::after{content:"BB";font-family:'Anton',sans-serif;font-size:13px;color:#1c1c1e;letter-spacing:.3px;}

/* ============================================================ SIGN IN (customer-portal/bb-customer-login.html, unified shell) */
.bb-auth-page .bb-auth-outlet{max-width:none;padding:0;}
.bb-auth-page .bb-auth-outlet > .woocommerce{max-width:none;}
.bb-auth-page .bb-auth-outlet .woocommerce-notices-wrapper:empty{display:none;}
.bb-store .bb-login{display:grid;grid-template-columns:1fr 1.05fr;min-height:calc(100vh - 60px);}
.bb-store .bb-login .imgside{order:1;background:linear-gradient(150deg,#1c1c1e 0%,#242427 55%,#141416 100%);position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:48px;color:#fff;min-height:420px;}
.bb-store .bb-login .imgside::before{content:"";position:absolute;inset:0;background:radial-gradient(120% 80% at 80% 15%,rgba(243,234,34,.16),transparent 60%);}
.bb-store .bb-login .imgside .wm{position:absolute;top:-30px;right:-20px;font-family:'Anton',sans-serif;font-size:15rem;line-height:.8;color:rgba(255,255,255,.035);letter-spacing:-4px;transform:rotate(-8deg);}
.bb-store .bb-login .imgside .tiles{position:absolute;inset:0;opacity:.5;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:46px 46px;}
.bb-store .bb-login .imgside .cap{position:relative;z-index:1;}
.bb-store .bb-login .eyebrow{font-size:11.2px;font-weight:800;letter-spacing:2.24px;text-transform:uppercase;color:#9a8f12;}
.bb-store .bb-login .imgside .cap .eyebrow{color:var(--yellow);}
.bb-store .bb-login .imgside .cap h2{font-family:'Anton',sans-serif;font-size:2.7rem;font-weight:400;line-height:.98;text-transform:uppercase;letter-spacing:.5px;margin:10px 0 12px;color:#fff;}
.bb-store .bb-login .imgside .cap p{color:rgba(255,255,255,.72);max-width:40ch;}
.bb-store .bb-login .imgside .chips{display:flex;gap:10px;margin-top:22px;flex-wrap:wrap;}
.bb-store .bb-login .imgside .chips span{border:1px solid rgba(255,255,255,.2);border-radius:20px;padding:6px 14px;font-size:.72rem;font-weight:700;letter-spacing:.04em;color:rgba(255,255,255,.85);}
.bb-store .bb-login .formside{order:2;display:flex;flex-direction:column;justify-content:center;padding:60px 6vw;max-width:560px;width:100%;margin:0 auto;}
.bb-store .bb-login .brandrow{display:flex;align-items:center;gap:12px;margin-bottom:38px;}
.bb-store .bb-login .brandrow img{height:30px;width:auto;}
.bb-store .bb-login .brandrow .tag{font-size:.6rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--t-text-muted);border-left:1px solid var(--t-border);padding-left:12px;}
.bb-store .bb-login .formside .eyebrow{color:var(--yellow);}
.bb-store .bb-login h1{font-family:'Anton',sans-serif;font-size:43.2px;font-weight:400;line-height:.96;letter-spacing:.5px;text-transform:uppercase;color:#1c1c1e;}
.bb-store .bb-login .lead{color:var(--t-text-muted);margin:10px 0 30px;font-size:1rem;max-width:42ch;line-height:1.45;}
.bb-store .bb-login .field{margin-bottom:15px;}
.bb-store .bb-login .field label{font-size:11.84px;font-weight:800;letter-spacing:.4736px;text-transform:uppercase;color:var(--t-text-muted);margin-bottom:6px;}
.bb-store .bb-login .field input{border:1px solid rgba(20,20,22,.24);border-radius:0;padding:9px 12px;font-size:13.5px;box-shadow:0 1px 2px rgba(20,20,22,.05);min-height:40px;}
.bb-store .bb-login .row2{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 22px;font-size:.84rem;}
.bb-store .bb-login .row2 label{display:flex;align-items:center;gap:8px;color:var(--t-text-2);}
.bb-store .bb-login .row2 a{color:var(--t-text-muted);font-weight:700;text-decoration:none;}
.bb-store .bb-login .row2 a:hover{color:#1c1c1e;}
.bb-store .bb-login .btn{border-radius:0;border:1.5px solid var(--t-border);padding:12px 16px;font-size:.84rem;font-weight:800;letter-spacing:.03em;}
.bb-store .bb-login .btn.primary{border-color:var(--yellow);background:var(--yellow);}
.bb-store .bb-login .btn.lg{padding:14px 22px;font-size:.9rem;}
.bb-store .bb-login .btn.block{display:flex;width:100%;}
.bb-store .bb-login .alt{display:flex;gap:12px;margin-top:16px;}
.bb-store .bb-login .alt .btn{flex:1;}
.bb-store .bb-login .btn.ghost{border-color:transparent;background:transparent;}
.bb-store .bb-login .util{display:flex;gap:18px;margin-top:34px;padding-top:20px;border-top:1px solid var(--t-border);font-size:.8rem;}
.bb-store .bb-login .util a{color:var(--t-text-muted);font-weight:700;text-decoration:none;}
.bb-store .bb-login .util a:hover{color:#1c1c1e;}
.bb-store .bb-login .bb-register{display:none;margin-top:26px;padding-top:22px;border-top:1px solid var(--t-border);}
.bb-store .bb-login .bb-register.open,.bb-store .bb-login .bb-register:target{display:block;}
.bb-store .bb-login .bb-register h2{font-family:'Anton',sans-serif;font-weight:400;font-size:1.4rem;text-transform:uppercase;letter-spacing:.5px;margin-bottom:14px;}
.bb-store .bb-login .bb-auth-notices:empty{display:none;}
.bb-store .bb-login .bb-auth-notices{margin:-12px 0 18px;}
.bb-store .bb-login .woocommerce-message,.bb-store .bb-login .woocommerce-error,.bb-store .bb-login .woocommerce-info{margin:0 0 18px;}
@media(max-width:960px){.bb-store .bb-login{grid-template-columns:1fr;min-height:0;} .bb-store .bb-login .imgside{order:2;min-height:280px;padding:32px 24px;} .bb-store .bb-login .formside{order:1;padding:36px 20px 40px;}}
@media(max-width:520px){.bb-store .bb-login h1{font-size:2.2rem;} .bb-store .bb-login .alt{flex-direction:column;} .bb-store .bb-login .imgside .cap h2{font-size:2rem;}}

/* ============================================================ CHECKOUT (public-site/bb-checkout.html) */
.bb-store--checkout{--ck-line:#e0ded6;--ck-line2:#eceae4;}
.bb-store .bb-secbar{background:#232327;color:rgba(255,255,255,.82);font-size:12px;font-weight:600;}
.bb-store .bb-secbar-in{max-width:1240px;margin:0 auto;padding:8px 22px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.bb-store .bb-secbar .lock{display:inline-flex;align-items:center;gap:7px;color:var(--yellow);}
.bb-store .bb-secbar .back{margin-left:auto;color:rgba(255,255,255,.72);text-decoration:none;}
.bb-store .bb-secbar .back:hover{color:#fff;}
.bb-store .bb-phead{max-width:1240px;width:100%;box-sizing:border-box;margin:0 auto;padding:30px 22px 0;align-self:center;}
.bb-store .bb-phead h1{font-family:'Anton',sans-serif;font-weight:400;font-size:36px;line-height:1;margin:0 0 7px;letter-spacing:.4px;text-transform:uppercase;color:#1c1c1e;}
.bb-store .bb-phead p{font-size:14.5px;color:var(--t-text-muted);}
.bb-store .bb-ck-steps{list-style:none;display:flex;align-items:center;gap:10px;margin:18px 0 0;padding:0;flex-wrap:wrap;}
.bb-store .bb-ck-steps .step{display:flex;align-items:center;gap:9px;font-size:12.5px;font-weight:700;color:var(--t-text-muted);}
.bb-store .bb-ck-steps .step a{color:inherit;text-decoration:none;}
.bb-store .bb-ck-steps .n{width:24px;height:24px;border-radius:999px;background:var(--t-surface-3);color:var(--t-text-muted);display:flex;align-items:center;justify-content:center;font-size:12px;border:1px solid var(--ck-line,#e0ded6);}
.bb-store .bb-ck-steps .step.done .n{background:#1c1c1e;color:#fff;border-color:#1c1c1e;}
.bb-store .bb-ck-steps .step.active{color:#1c1c1e;}
.bb-store .bb-ck-steps .step.active .n{background:var(--yellow);color:#1c1c1e;border-color:var(--yellow);}
.bb-store .bb-ck-steps .sep{width:26px;height:2px;background:var(--ck-line,#e0ded6);border-radius:2px;}
.bb-store--checkout .bb-woo-inner{max-width:1240px;padding:22px 22px 70px;}
/* numbered white section cards: the checkout block's own steps */
body.bb-store--checkout .wc-block-checkout .wc-block-checkout__form{counter-reset:bbstep;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step{counter-increment:bbstep;background:#fff;border:1px solid var(--ck-line);border-radius:5px;box-shadow:0 1px 2px rgba(20,20,22,.05);padding:0 20px 20px!important;margin:0 0 18px!important;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step::after{display:none!important;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step__heading-container{margin:0 -20px 18px!important;padding:15px 20px;border-bottom:1px solid var(--ck-line2);}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step__heading{margin:0!important;display:flex;align-items:center;gap:10px;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step__title{font-family:'Anton',sans-serif!important;font-weight:400!important;font-size:15px!important;text-transform:uppercase;letter-spacing:.4px;display:flex;align-items:center;gap:10px;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step .wc-block-components-checkout-step__title::before{content:counter(bbstep);width:22px;height:22px;border-radius:999px;background:#1c1c1e;color:#fff;display:inline-flex;align-items:center;justify-content:center;font:800 11px/1 Inter,system-ui,sans-serif;flex:0 0 22px;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step__container::after,body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step::before{display:none!important;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step__content{padding-left:0!important;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step__description{font-size:12.5px;color:var(--t-text-muted);}
body.bb-store--checkout .wc-block-checkout .wc-block-checkout__actions,body.bb-store--checkout .wc-block-checkout .wc-block-checkout__terms{background:#fff;border:1px solid var(--ck-line);border-radius:5px;padding:18px 20px!important;margin:0 0 18px!important;}
body.bb-store--checkout .wc-block-checkout .wc-block-checkout__actions_row{display:flex;flex-wrap:wrap;gap:14px;align-items:center;}
/* the order summary: the prototype's summary card */
/* narrow screens: the prototype's dark "Order summary" bar that opens the summary */
body.bb-store--checkout .wc-block-checkout:is(.is-mobile,.is-small) .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block{border:none!important;overflow:hidden;}
body.bb-store--checkout .wc-block-checkout:is(.is-mobile,.is-small) .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title{margin:0!important;padding:14px 16px!important;border:none!important;background:#1c1c1e;color:#fff;}
body.bb-store--checkout .wc-block-checkout:is(.is-mobile,.is-small) .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title *{color:#fff!important;fill:#fff;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-step__title{margin:0!important;}
/* on narrow screens WooCommerce repeats the summary inside the Place order card: keep it flat there, unnumbered */
body.bb-store--checkout .wc-block-checkout .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block{border:none!important;box-shadow:none!important;border-radius:0!important;margin:0 0 16px;}
body.bb-store--checkout .wc-block-checkout .wc-block-checkout__actions .wc-block-components-checkout-step__heading{margin:0 0 8px!important;}
.bb-store--checkout .wp-block-woocommerce-checkout-order-summary-block{background:#fff!important;border:1px solid var(--ck-line)!important;border-radius:5px!important;box-shadow:0 1px 2px rgba(20,20,22,.05);}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-order-summary__title-text,body.bb-store--checkout .wc-block-checkout .wc-block-components-order-summary .wc-block-components-panel__button{font-family:'Anton',sans-serif!important;font-weight:400!important;font-size:15px!important;text-transform:uppercase;letter-spacing:.4px;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-family:'Anton',sans-serif;font-weight:400;font-size:16px;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-family:'Anton',sans-serif;font-weight:400;font-size:26px;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-order-summary-item__image{overflow:visible;}   /* system 301 B5 (CHECKOUT-UI-001): the quantity badge sits outside the picture's box - the picture is rounded instead, never the box that holds the badge */
body.bb-store--checkout .wc-block-checkout .wc-block-components-order-summary-item__image > img{border-radius:5px;}
/* Place order: the prototype's yellow Anton button */
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-place-order-button,.bb-store--checkout #place_order{width:100%;background:var(--yellow)!important;color:#1c1c1e!important;border:none!important;border-radius:5px!important;font-family:'Anton',sans-serif!important;font-weight:400!important;font-size:19px!important;letter-spacing:.5px!important;text-transform:none!important;padding:16px!important;box-shadow:0 1px 2px rgba(20,20,22,.05);min-height:56px;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-place-order-button:hover,.bb-store--checkout #place_order:hover{filter:brightness(1.04);background:var(--yellow)!important;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-checkout-return-to-cart-button{font-size:12.5px;font-weight:700;color:var(--t-text-muted);}
/* classic checkout (shortcode): the same cards and summary */
.bb-store--checkout form.woocommerce-checkout{counter-reset:bbstep;display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:26px;align-items:start;}
.bb-store--checkout form.woocommerce-checkout > *{grid-column:1;min-width:0;}
.bb-store--checkout form.woocommerce-checkout #order_review_heading{display:none;}
.bb-store--checkout form.woocommerce-checkout #order_review{grid-column:2;grid-row:1 / span 6;position:sticky;top:84px;background:#fff!important;border:1px solid var(--ck-line)!important;border-radius:5px!important;padding:0!important;box-shadow:0 1px 2px rgba(20,20,22,.05);}
.bb-store--checkout form.woocommerce-checkout #order_review::before{content:"Order summary";display:block;padding:16px 20px;border-bottom:1px solid var(--ck-line2);font-family:'Anton',sans-serif;font-size:15px;text-transform:uppercase;letter-spacing:.4px;}
.bb-store--checkout #customer_details{display:flex!important;flex-direction:column;gap:18px;width:auto!important;}
.bb-store--checkout #customer_details .col-1,.bb-store--checkout #customer_details .col-2{float:none!important;width:auto!important;}
.bb-store--checkout .woocommerce-billing-fields,.bb-store--checkout .woocommerce-shipping-fields,.bb-store--checkout .woocommerce-additional-fields{background:#fff;border:1px solid var(--ck-line);border-radius:5px;box-shadow:0 1px 2px rgba(20,20,22,.05);padding:0 20px 8px;margin:0 0 18px;}
.bb-store--checkout .woocommerce-shipping-fields:not(:has(.shipping_address)):not(:has(#ship-to-different-address)){display:none;}
.bb-store--checkout .woocommerce-billing-fields > h3,.bb-store--checkout #ship-to-different-address,.bb-store--checkout .woocommerce-additional-fields > h3,.bb-store--checkout .bb-shipping-fields > h3.bb-ship-h{counter-increment:bbstep;margin:0 -20px 18px!important;padding:15px 20px!important;border-bottom:1px solid var(--ck-line2);font-family:'Anton',sans-serif;font-weight:400;font-size:15px!important;text-transform:uppercase;letter-spacing:.4px;display:flex;align-items:center;gap:10px;}
.bb-store--checkout .woocommerce-billing-fields > h3::before,.bb-store--checkout #ship-to-different-address::before,.bb-store--checkout .woocommerce-additional-fields > h3::before,.bb-store--checkout .bb-shipping-fields > h3.bb-ship-h::before{content:counter(bbstep);width:22px;height:22px;border-radius:999px;background:#1c1c1e;color:#fff;display:inline-flex;align-items:center;justify-content:center;font:800 11px/1 Inter,system-ui,sans-serif;flex:0 0 22px;}
.bb-store--checkout #ship-to-different-address label{display:flex;align-items:center;gap:8px;font:inherit;font-size:15px;}
.bb-store--checkout .woocommerce-billing-fields__field-wrapper,.bb-store--checkout .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;}
.bb-store--checkout .form-row{float:none!important;width:auto!important;grid-column:1/-1;margin:0 0 14px!important;padding:0!important;}
.bb-store--checkout .form-row-first{grid-column:1;}
.bb-store--checkout .form-row-last{grid-column:2;}
.bb-store--checkout .form-row label{display:block;font-size:12px;font-weight:700;color:#1c1c1e;margin-bottom:6px;}
.bb-store--checkout .form-row .input-text,.bb-store--checkout .form-row select,.bb-store--checkout .form-row textarea{border:1px solid var(--ck-line)!important;border-radius:5px!important;padding:11px 13px!important;font-size:14px;background:#fff;width:100%;}
.bb-store--checkout .form-row .input-text:focus,.bb-store--checkout .form-row textarea:focus{outline:none;border-color:#1c1c1e!important;box-shadow:0 0 0 3px rgba(28,28,30,.08);}
.bb-store--checkout .form-row.woocommerce-invalid .input-text{border-color:var(--t-bad-tx)!important;background:#fdf8f7;}
.bb-store--checkout #order_review table.shop_table{border:0!important;border-radius:0;margin:0;}
.bb-store--checkout #order_review table.shop_table th,.bb-store--checkout #order_review table.shop_table td{padding:12px 20px!important;border-top:1px solid var(--ck-line2)!important;font-size:13.5px;}
.bb-store--checkout #order_review .order-total th,.bb-store--checkout #order_review .order-total td{font-family:'Anton',sans-serif;font-weight:400;font-size:16px!important;}
.bb-store--checkout #order_review .order-total td{font-size:24px!important;}
.bb-store--checkout #payment{background:transparent!important;border-top:1px solid var(--ck-line2);}
.bb-store--checkout #payment ul.payment_methods{padding:16px 20px!important;border-bottom:1px solid var(--ck-line2)!important;}
.bb-store--checkout #payment ul.payment_methods li{border:1px solid #1c1c1e;border-radius:5px;padding:12px 14px;box-shadow:0 0 0 2px #1c1c1e inset;background:#fffef8;margin:0 0 10px;font-weight:700;font-size:14px;}
.bb-store--checkout #payment div.payment_box{background:var(--t-surface-3)!important;border-radius:5px;color:var(--t-text-2);font-weight:400;font-size:13px;margin:10px 0 0!important;}
.bb-store--checkout #payment .place-order{padding:18px 20px 20px!important;margin:0!important;}
@media(max-width:940px){.bb-store--checkout form.woocommerce-checkout{grid-template-columns:1fr;} .bb-store--checkout form.woocommerce-checkout #order_review{grid-column:1;grid-row:auto;position:static;}}
@media(max-width:560px){.bb-store--checkout .woocommerce-billing-fields__field-wrapper,.bb-store--checkout .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr;} .bb-store--checkout .form-row-last{grid-column:1;} .bb-store .bb-phead h1{font-size:30px;} .bb-store .bb-secbar-in > span:nth-child(2){display:none;}}
/* WooCommerce's own validation messages in the prototype's alert style */
body.bb-store--checkout .wc-block-checkout .wc-block-components-notice-banner{border-radius:5px!important;font-size:13px;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-validation-error p{font-size:12px;font-weight:600;color:var(--t-bad-tx);}

/* ============================================================ CONFIRMATION (public-site/bb-confirmation.html) */
.bb-store--confirm .bb-confirm-outlet{max-width:none;padding:0;}
/* block themes cap .woocommerce at 1000px (woocommerce-blocktheme.css); the prototype page is full width */
.bb-store--confirm .bb-confirm-outlet > .woocommerce{max-width:none!important;margin:0!important;width:auto;}
.bb-store .bb-confirm-page{line-height:1.5;}
.bb-store .bb-confirm-page .hero{border-bottom:1px solid var(--t-border);}
.bb-store .bb-confirm-page .hero-in{max-width:1160px;margin:0 auto;padding:44px 22px 38px;text-align:center;}
.bb-store .bb-confirm-page .mark{width:74px;height:74px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;}
.bb-store .bb-confirm-page .hero.ok .mark{background:var(--t-wait-bg);color:var(--ok-tx);}
.bb-store .bb-confirm-page .hero.warn .mark{background:var(--t-act-bg);color:var(--t-act-tx);}
.bb-store .bb-confirm-page .hero.bad .mark{background:var(--t-bad-bg);color:var(--t-bad-tx);}
.bb-store .bb-confirm-page .hero h1{font-family:'Anton',sans-serif;font-weight:400;font-size:40px;letter-spacing:.3px;line-height:1.5;margin:0 0 10px;color:#1c1c1e;}
.bb-store .bb-confirm-page .hero .lead{font-size:15.5px;color:var(--t-text-muted);max-width:560px;margin:0 auto 8px;line-height:1.6;}
.bb-store .bb-confirm-page .hero .lead b{color:#1c1c1e;}
.bb-store .bb-confirm-page .factbar{display:flex;flex-wrap:wrap;justify-content:center;max-width:820px;margin:26px auto 0;border:1px solid var(--t-border);border-radius:12px;background:#fff;overflow:hidden;list-style:none;padding:0;}
.bb-store .bb-confirm-page .fact{flex:1 1 20%;min-width:150px;padding:14px 16px;border-right:1px solid var(--line2);text-align:left;}
.bb-store .bb-confirm-page .fact:last-child{border-right:none;}
.bb-store .bb-confirm-page .fact .k{font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--t-text-muted);margin-bottom:5px;}
.bb-store .bb-confirm-page .fact .v{font-size:14px;font-weight:700;word-break:break-word;}
.bb-store .bb-confirm-page .fact .badge{text-transform:none;letter-spacing:0;font-size:12px;font-weight:700;white-space:normal;max-width:100%;line-height:1.3;}
.bb-store .bb-confirm-page .hero-cta{margin-top:28px;display:flex;flex-direction:column;align-items:center;gap:10px;}
.bb-store .bb-confirm-page .hero-cta .btn + .btn{margin-top:0;}
.bb-store .bb-confirm-page .btn,.bb-store .ostatus .btn,.bb-store .lookup .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:15px;font-weight:800;letter-spacing:.2px;padding:15px 30px;border-radius:11px;border:none;text-decoration:none;}
.bb-store .bb-confirm-page .btn-primary,.bb-store .lookup .btn-primary{background:var(--yellow);color:#1c1c1e;box-shadow:0 4px 16px rgba(243,234,34,.45);}
.bb-store .bb-confirm-page .btn-primary:hover,.bb-store .lookup .btn-primary:hover{filter:brightness(1.04);}
.bb-store .bb-confirm-page .btn-ghost{background:#fff;color:#1c1c1e;border:1px solid var(--t-border);font-weight:700;}
.bb-store .bb-confirm-page .securenote{font-size:12.5px;color:var(--t-text-muted);max-width:440px;}
.bb-store .bb-confirm-page .hero.neutral .hero-in{padding-bottom:44px;}
.bb-store .bb-confirm-page .cmain{max-width:1160px;margin:0 auto;padding:34px 22px 60px;}
.bb-store .bb-confirm-page .cols,.bb-store .ostatus .cols{display:grid;grid-template-columns:1fr 350px;gap:26px;align-items:start;}
.bb-store .bb-confirm-page .cols > *,.bb-store .ostatus .cols > *{min-width:0;}
.bb-store .bb-confirm-page .ccard,.bb-store .ostatus .ccard{background:#fff;border:1px solid var(--t-border);border-radius:14px;box-shadow:0 1px 2px rgba(20,20,22,.05),0 6px 18px rgba(20,20,22,.06);margin-bottom:22px;overflow:hidden;}
.bb-store .bb-confirm-page .ccard-h,.bb-store .ostatus .ccard-h{padding:16px 20px;border-bottom:1px solid var(--line2);display:flex;align-items:center;gap:10px;}
.bb-store .bb-confirm-page .ccard-h h2{font-family:'Anton',sans-serif;font-weight:400;font-size:14px;letter-spacing:1px;text-transform:uppercase;margin:0;}
.bb-store .bb-confirm-page .ccard-b{padding:20px;}
.bb-store .bb-confirm-page .nsteps{list-style:none;margin:0;padding:0;counter-reset:s;}
.bb-store .bb-confirm-page .nsteps li{display:flex;gap:14px;padding:12px 0;border-top:1px solid var(--line2);}
.bb-store .bb-confirm-page .nsteps li:first-child{border-top:none;padding-top:0;}
.bb-store .bb-confirm-page .nsteps .num{counter-increment:s;width:28px;height:28px;flex-shrink:0;border-radius:50%;background:var(--t-surface-3);color:#1c1c1e;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;}
.bb-store .bb-confirm-page .nsteps .num::before{content:counter(s);}
.bb-store .bb-confirm-page .nsteps .t{font-size:14px;font-weight:600;padding-top:3px;}
.bb-store .bb-confirm-page .nsteps .t small{display:block;font-weight:500;color:var(--t-text-muted);font-size:12.5px;margin-top:1px;}
.bb-store .bb-confirm-page .li,.bb-store .ostatus .li{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--line2);}
.bb-store .bb-confirm-page .li:first-child,.bb-store .ostatus .li:first-child{border-top:none;padding-top:0;}
.bb-store .bb-confirm-page .li .info,.bb-store .ostatus .li .info{flex:1;min-width:0;}
.bb-store .bb-confirm-page .li .nm{font-size:14px;font-weight:700;}
.bb-store .bb-confirm-page .li .sku,.bb-store .ostatus .li .sku{font-family:ui-monospace,Menlo,monospace;font-size:11.5px;color:var(--t-text-muted);margin-top:2px;}
.bb-store .bb-confirm-page .li .qty,.bb-store .ostatus .li .qy{font-size:12.5px;color:var(--t-text-muted);margin-top:2px;}
.bb-store .bb-confirm-page .li .amt,.bb-store .ostatus .li .amt{text-align:right;flex-shrink:0;}
.bb-store .bb-confirm-page .li .lt,.bb-store .ostatus .li .lt{font-weight:800;font-size:14.5px;}
.bb-store .bb-confirm-page .fin,.bb-store .ostatus .fin{margin-top:6px;border-top:1px solid var(--t-border);padding-top:14px;}
.bb-store .bb-confirm-page .fin .r,.bb-store .ostatus .fin .r{display:flex;justify-content:space-between;gap:12px;font-size:13.5px;padding:5px 0;}
.bb-store .bb-confirm-page .fin .k,.bb-store .ostatus .fin .k{color:var(--t-text-muted);}
.bb-store .bb-confirm-page .fin .v,.bb-store .ostatus .fin .v{font-weight:600;text-align:right;}
.bb-store .bb-confirm-page .fin .r.disc .v,.bb-store .ostatus .fin .r.disc .v{color:var(--ok-tx);}
.bb-store .bb-confirm-page .fin .r.total,.bb-store .ostatus .fin .r.total{border-top:1px solid var(--t-border);margin-top:8px;padding-top:12px;font-size:16px;align-items:baseline;}
.bb-store .bb-confirm-page .fin .r.total .k,.bb-store .ostatus .fin .r.total .k{color:#1c1c1e;font-weight:800;}
.bb-store .bb-confirm-page .fin .r.total .v,.bb-store .ostatus .fin .r.total .v{font-family:'Anton',sans-serif;font-weight:400;font-size:22px;}
.bb-store .bb-confirm-page .paymethod{display:flex;align-items:center;gap:9px;margin-top:14px;padding:11px 13px;background:var(--t-surface-3);border-radius:9px;font-size:13px;}
.bb-store .bb-confirm-page .paymethod .pm-ic{color:var(--t-text-muted);}
.bb-store .bb-confirm-page .two{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.bb-store .bb-confirm-page .blk .bl{font-size:10.5px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--t-text-muted);margin-bottom:6px;}
.bb-store .bb-confirm-page .blk .bv{font-size:13.5px;line-height:1.6;overflow-wrap:anywhere;}
.bb-store .bb-confirm-page .samenote{font-size:12.5px;color:var(--t-text-muted);font-style:italic;}
.bb-store .bb-confirm-page .notecard{border-left:4px solid var(--yellow);}
.bb-store .bb-confirm-page .notecard .ccard-b{font-size:13.5px;line-height:1.6;}
.bb-store .bb-confirm-page .emailbox{display:flex;gap:14px;padding:18px 20px;background:var(--t-surface-3);border-radius:14px;border:1px solid var(--t-border);margin-bottom:22px;}
.bb-store .bb-confirm-page .emailbox .ei{width:40px;height:40px;border-radius:10px;background:#fff;color:#1c1c1e;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.bb-store .bb-confirm-page .emailbox .et{font-weight:700;font-size:14px;margin-bottom:4px;}
.bb-store .bb-confirm-page .emailbox .ed{font-size:12.5px;color:var(--t-text-muted);line-height:1.55;}
.bb-store .bb-confirm-page .sidebar,.bb-store .ostatus .sidebar{position:sticky;top:80px;}
.bb-store .bb-confirm-page .sidebar .ccard{margin-bottom:18px;}
.bb-store .bb-confirm-page .side-cta{padding:20px;text-align:center;}
.bb-store .bb-confirm-page .side-cta h3{font-family:'Anton',sans-serif;font-weight:400;font-size:16px;margin:0 0 6px;}
.bb-store .bb-confirm-page .side-cta p,.bb-store .bb-confirm-page .side-p{font-size:12.5px;color:var(--t-text-muted);margin:0 0 14px;line-height:1.5;}
.bb-store .bb-confirm-page .side-p{padding:14px 20px 0;margin:0;}
.bb-store .bb-confirm-page .side-cta .btn{width:100%;padding:13px;}
.bb-store .bb-confirm-page .stageprev{margin-top:14px;text-align:left;font-size:11.5px;color:var(--t-text-muted);}
.bb-store .bb-confirm-page .stageprev .sp-h{font-weight:700;color:#1c1c1e;margin-bottom:6px;}
.bb-store .bb-confirm-page .stageprev .chips{display:flex;flex-wrap:wrap;gap:5px;}
.bb-store .bb-confirm-page .stageprev .chips span{background:var(--t-surface-3);border-radius:5px;padding:2px 7px;font-size:10.5px;font-weight:600;}
.bb-store .bb-confirm-page .stageprev .chips span.first{background:var(--t-prog-bg);color:var(--t-prog-tx);}
.bb-store .bb-confirm-page .linkrow,.bb-store .ostatus .linkrow{display:flex;align-items:center;gap:11px;padding:12px 20px;border-top:1px solid var(--line2);font-size:13.5px;font-weight:600;text-decoration:none;color:#1c1c1e;}
.bb-store .bb-confirm-page .ccard-h + .linkrow,.bb-store .ostatus .ccard > .linkrow:first-child{border-top:none;}
.bb-store .bb-confirm-page .linkrow:hover,.bb-store .ostatus .linkrow:hover{background:#fcfcf9;}
.bb-store .bb-confirm-page .linkrow .li-ic{color:var(--t-text-muted);flex-shrink:0;}
.bb-store .bb-confirm-page .linkrow .arr,.bb-store .ostatus .linkrow .arr{margin-left:auto;color:var(--t-text-muted);}
.bb-store .bb-confirm-page .side-note{padding:10px 20px 14px;font-size:11.5px;color:var(--t-text-muted);}
.bb-store .bb-confirm-page .safebox{padding:18px 20px;}
.bb-store .bb-confirm-page .safebox .sh{display:flex;align-items:center;gap:9px;font-weight:800;font-size:14px;margin-bottom:8px;}
.bb-store .bb-confirm-page .safebox .si{color:var(--t-act-tx);}
.bb-store .bb-confirm-page .safebox p{font-size:12.5px;color:var(--t-text-muted);margin:0;line-height:1.55;}
@media(max-width:900px){.bb-store .bb-confirm-page .cols,.bb-store .ostatus .cols{grid-template-columns:1fr;} .bb-store .bb-confirm-page .sidebar,.bb-store .ostatus .sidebar{position:static;}}
@media(max-width:560px){.bb-store .bb-confirm-page .two{grid-template-columns:1fr;} .bb-store .bb-confirm-page .hero h1{font-size:32px;line-height:1.2;} .bb-store .bb-confirm-page .fact{flex-basis:50%;border-bottom:1px solid var(--line2);} .bb-store .bb-confirm-page .hero-in{padding:32px 16px 28px;} .bb-store .bb-confirm-page .cmain{padding:24px 14px 50px;}}

/* ============================================================ TRACK YOUR ORDER (public-site/bb-order-status.html) */
.bb-store--order-status .bb-lookup-outlet{max-width:1120px;margin:0 auto;padding:40px 22px 60px;line-height:1.5;}
.bb-store .lookup{max-width:520px;margin:20px auto;text-align:center;}
.bb-store .lookup .li{width:60px;height:60px;border-radius:16px;background:#1c1c1e;color:var(--yellow);display:flex;align-items:center;justify-content:center;margin:0 auto 18px;}
.bb-store .lookup h1{font-family:'Anton',sans-serif;font-weight:400;font-size:32px;letter-spacing:.3px;margin:0 0 8px;}
.bb-store .lookup .sub{font-size:14.5px;color:var(--t-text-muted);margin:0 0 22px;line-height:1.6;}
.bb-store .lookform{background:#fff;border:1px solid var(--t-border);border-radius:16px;box-shadow:0 1px 2px rgba(20,20,22,.05),0 6px 18px rgba(20,20,22,.06);padding:24px;text-align:left;}
.bb-store .lookform .field{margin-bottom:16px;}
.bb-store .lookform label{display:block;font-size:11.5px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--t-text-muted);margin-bottom:6px;}
.bb-store .lookform input{width:100%;padding:12px 14px;border:1px solid var(--t-border);border-radius:10px;font-size:15px;font-family:inherit;background:var(--shop);}
.bb-store .lookform input:focus{outline:none;border-color:#1c1c1e;background:#fff;}
.bb-store .lookform .hint{font-size:12px;color:var(--t-text-muted);margin-top:6px;}
.bb-store .lookform .btn-primary{width:100%;}
.bb-store .lookup .looknote{font-size:12.5px;color:var(--t-text-muted);margin-top:18px;line-height:1.6;}
.bb-store .lookup .looknote a{color:#1c1c1e;font-weight:700;text-decoration:none;border-bottom:2px solid var(--yellow);}
.bb-store .bb-lookup-outlet > .woocommerce-error,.bb-store .bb-lookup-outlet > .woocommerce-info,.bb-store .bb-lookup-outlet > .woocommerce-message{max-width:520px;margin:0 auto 16px;}
.bb-store .bb-auth-notices:empty{display:none;}
/* Track Your Order result: the unified prototype's order panel (#/help/order-status, app.js orderPanelHTML) - header, Progress, Items, "Look up a different order" */
.bb-store .ostatus .ohead{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:flex-start;margin-bottom:18px;}
.bb-store .ostatus .ohead h1{font-family:'Anton',sans-serif;font-weight:400;font-size:32px;letter-spacing:.3px;line-height:1.1;margin:0;color:#1c1c1e;}
.bb-store .ostatus .ohead .om{color:#777;margin-top:4px;font-size:16px;}
.bb-store .ostatus .ostate{text-align:right;}
.bb-store .ostatus .ostate .st{font-weight:800;font-size:1.1rem;}
.bb-store .ostatus .ostate .tr{color:#777;font-size:.85rem;}
.bb-store .ostatus .ostate .tr a{color:inherit;}
.bb-store .ostatus .bb-wcline{margin:-6px 0 16px;color:#777;font-size:14px;}
.bb-store .ostatus .ccard{border-radius:16px;margin-bottom:16px;}
.bb-store .ostatus .ccard-h{padding:16px 20px;margin:0 16px;padding-left:20px;padding-right:20px;border-bottom:1px solid var(--line2);}
.bb-store .ostatus .ccard-h h2{font-size:16px;font-weight:800;margin:0;font-family:inherit;letter-spacing:0;text-transform:none;}
.bb-store .ostatus .ccard-b{padding:12px 16px 16px;}
.bb-store .ostatus .timeline{list-style:none;display:flex;margin:0;padding:6px 8px;}
.bb-store .ostatus .tstep{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:7px 0;color:#999;min-width:0;}
.bb-store .ostatus .tstep .dot{width:11px;height:11px;border-radius:50%;background:#ddd;flex:0 0 auto;}
.bb-store .ostatus .tstep.done{color:#1c1c1e;font-weight:700;}
.bb-store .ostatus .tstep.done .dot{background:#1c1c1e;}
.bb-store .ostatus .tstep.now .dot{background:#f3ea22;outline:3px solid rgba(0,0,0,.12);}
.bb-store .ostatus .tstep .tl{font-size:16px;line-height:1.3;}
.bb-store .ostatus .tstep .tw{font-size:12px;color:#777;font-weight:600;}
.bb-store .ostatus .tnote{margin:10px 8px 0;color:#777;font-size:13.5px;}
.bb-store .ostatus .oline{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--line2);}
.bb-store .ostatus .oline:first-child,.bb-store .ostatus .ccard-b > :not(.oline) + .oline{border-top:none;}
.bb-store .ostatus .oline .info{min-width:0;flex:1;}
.bb-store .ostatus .oline .nm{font-weight:700;font-size:16px;}
.bb-store .ostatus .oline .sku{color:#777;font-size:12px;margin-top:2px;}
.bb-store .ostatus .oline .lt{font-weight:800;font-size:16px;white-space:nowrap;}
.bb-store .ostatus .ototal{display:flex;justify-content:space-between;padding-top:12px;margin-top:8px;border-top:2px solid #1c1c1e;font-weight:800;font-size:16px;}
.bb-store .ostatus .shipto{margin-top:12px;color:#777;font-size:.9rem;}
.bb-store .ostatus .bb-imeta{font-size:12.5px;color:#777;margin-top:4px;}
.bb-store .ostatus .bb-imeta ul.wc-item-meta{list-style:none;margin:0;padding:0;}
.bb-store .ostatus .bb-imeta ul.wc-item-meta li,.bb-store .ostatus .bb-imeta ul.wc-item-meta p{display:inline;margin:0;}
.bb-store .ostatus .oagain{margin-top:16px;}
.bb-store .ostatus .btn-ghost{background:#fff;color:#1c1c1e;border:1px solid var(--t-border);font-weight:700;}
.bb-store .ostatus .cp-note{padding:8px 0;border-top:1px solid var(--line2);font-size:13px;}
.bb-store .ostatus .cp-note:first-child{border-top:0;padding-top:0;}
.bb-store .ostatus .cp-muted{font-size:12px;color:var(--t-text-muted);}
@media(max-width:640px){
  .bb-store .ostatus .timeline{flex-direction:column;padding:0;}
  .bb-store .ostatus .tstep{flex-direction:row;text-align:left;}
  .bb-store .ostatus .ohead h1{font-size:28px;}
  .bb-store .ostatus .ostate{text-align:left;}
}

/* WooCommerce's own account layout floats the content beside its (here unused) menu; the portal shell owns layout */
.bb-portal .woocommerce-MyAccount-content,.bb-portal .woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:auto!important;}
.bb-portal .woocommerce-MyAccount-navigation{display:none;}
.bb-portal .bb-page > .woocommerce{max-width:none;}

/* WooCommerce's own boxed login/register form (woocommerce.css .woocommerce form.login) - the prototype draws no box */
.bb-store .bb-login form.login,.bb-store .bb-login form.register,.bb-store .bb-login form.lost_reset_password{border:0!important;padding:0!important;margin:0!important;border-radius:0!important;text-align:left;display:block;}
.bb-store .bb-login .woocommerce-privacy-policy-text p{font-size:12.5px;line-height:1.55;color:var(--t-text-muted);margin:2px 0 14px;}
.bb-store .bb-login .woocommerce-privacy-policy-text a{color:inherit;font-weight:600;}
.bb-store .bb-login form .field{float:none;width:auto;}
.bb-store .bb-login .password-input,.bb-portal .password-input{display:block;position:relative;}
.bb-store .bb-login .show-password-input,.bb-portal .show-password-input{position:absolute;right:10px;top:50%;transform:translateY(-50%);}
/* WooCommerce's block-style notices (e.g. its "confirm your email address" prompt) in the portal's alert style */
.bb-portal .wc-block-components-notice-banner{display:flex;gap:10px;align-items:flex-start;border:1px solid #cfdcec;background:#eef3f9;color:#2f5d8c;border-radius:5px;padding:13px 15px;font-size:13px;line-height:1.5;margin:0 0 16px;}
.bb-portal .wc-block-components-notice-banner.is-error{border-color:#e8c3b8;background:#fbeae5;color:#a3341f;}
.bb-portal .wc-block-components-notice-banner.is-success{border-color:#c4e0b4;background:#e7f3de;color:#2c6a20;}
.bb-portal .wc-block-components-notice-banner > svg{flex:0 0 auto;width:20px;height:20px;fill:currentColor;background:none;border-radius:0;padding:0;}
.bb-portal .wc-block-components-notice-banner__content{flex:1;}
.bb-portal .wc-block-components-notice-banner__content a,.bb-portal .wc-block-components-notice-banner .button{color:inherit;font-weight:700;}
.bb-portal .bb-acct-content > .woocommerce-notices-wrapper{margin-bottom:6px;}

/* ============================================================ Build 291.1: theme-proof states
 * Some themes put styles on WooCommerce pages from outside the theme folder (a page-builder cache, or a <style>
 * block printed straight into the page head), often with !important - e.g. white notice text, accent-blue button
 * text on hover, grey borderless inputs. The frame leaves out what it can (WooFrame::stripTheme); for whatever is
 * printed straight into the page, every colour and state below is set explicitly, so the prototype's look holds.
 * Scope: body.bb-store only (WooCommerce's framed pages and the storefront order-status page).                  */

/* ---- notices: WooCommerce's classic notices and its block notice banners, every type */
body.bb-store .woocommerce-message,body.bb-store .woocommerce-info,body.bb-store .woocommerce-error,body.bb-store .woocommerce-notice,
body.bb-store .wc-block-components-notice-banner{border:1px solid var(--bb-n-line)!important;background:var(--bb-n-bg)!important;color:var(--bb-n-tx)!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important;}
body.bb-store .woocommerce-info,body.bb-store .woocommerce-notice,body.bb-store .wc-block-components-notice-banner,body.bb-store .wc-block-components-notice-banner.is-info{--bb-n-bg:#eef3f9;--bb-n-line:#cfdcec;--bb-n-tx:#1f466e;}
body.bb-store .woocommerce-message,body.bb-store .wc-block-components-notice-banner.is-success{--bb-n-bg:#e7f3de;--bb-n-line:#c4e0b4;--bb-n-tx:#245a1a;}
body.bb-store .woocommerce-error,body.bb-store .wc-block-components-notice-banner.is-error{--bb-n-bg:#fbeae5;--bb-n-line:#e8c3b8;--bb-n-tx:#8c2a17;}
body.bb-store .wc-block-components-notice-banner.is-warning{--bb-n-bg:#fbf0cf;--bb-n-line:#ecd795;--bb-n-tx:#6b520a;}
body.bb-store :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice,.wc-block-components-notice-banner) :is(li,p,span,strong,b,em,div,label){color:inherit!important;background:transparent!important;}
body.bb-store :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice,.wc-block-components-notice-banner) a:not(.button):not(.btn){color:inherit!important;font-weight:700;text-decoration:underline!important;text-underline-offset:2px;}
body.bb-store :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) svg{fill:currentColor!important;background:transparent!important;}
body.bb-store :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) :is(a.button,.button,.wc-forward){float:right!important;margin:0 0 0 12px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;font-size:13px!important;font-weight:800!important;line-height:inherit!important;text-decoration:underline!important;text-underline-offset:2px;min-height:0!important;box-shadow:none!important;}
body.bb-store :is(.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner) :is(a.button,.button,.wc-forward):is(:hover,:focus){background:transparent!important;color:inherit!important;text-decoration-thickness:2px!important;}

/* ---- WooCommerce's own field validation (invalid rows, inline messages) */
body.bb-store .form-row.woocommerce-invalid label,body.bb-store .woocommerce-invalid > label{color:#8c2a17!important;}
body.bb-store .form-row.woocommerce-invalid :is(.input-text,select,textarea),body.bb-store .form-row.woocommerce-invalid .select2-selection{border-color:#a3341f!important;background:#fdf8f7!important;}
body.bb-store :is(.checkout-inline-error-message,.wc-block-components-validation-error,.wc-block-components-validation-error p,.woocommerce-input-error){color:#8c2a17!important;background:transparent!important;font-size:12px;font-weight:600;}

/* ---- buttons: primary (yellow) and secondary, every state */
body.bb-store :is(.btn,.button,button.button,a.button,input.button){text-shadow:none!important;transform:none;}
body.bb-store :is(.btn,.button,a.button,button.button):not(.loading):not(.added)::after,body.bb-store :is(.btn,.button,a.button,button.button)::before{content:none!important;display:none!important;}
body.bb-store :is(.btn.primary,.btn-primary,.woocommerce-form-login__submit,.woocommerce-form-register__submit,#place_order,.wc-block-components-checkout-place-order-button){background:var(--yellow)!important;border-color:var(--yellow)!important;color:#1c1c1e!important;}
body.bb-store :is(.btn.primary,.btn-primary,.woocommerce-form-login__submit,.woocommerce-form-register__submit,#place_order,.wc-block-components-checkout-place-order-button):is(:hover,:focus){background:var(--yellow-hot)!important;border-color:var(--yellow-hot)!important;color:#1c1c1e!important;filter:none;}
body.bb-store :is(.btn.primary,.btn-primary,.woocommerce-form-login__submit,.woocommerce-form-register__submit,#place_order,.wc-block-components-checkout-place-order-button):active{background:#e2d816!important;border-color:#e2d816!important;color:#1c1c1e!important;}
body.bb-store :is(.btn:not(.primary):not(.btn-primary),.btn-ghost,a.button:not(.alt),button.button:not(.alt):not(.woocommerce-form-login__submit):not(.woocommerce-form-register__submit):not(#place_order)){color:#1c1c1e!important;}
body.bb-store :is(.btn:not(.primary):not(.btn-primary),.btn-ghost,.bb-portal .cp-actions .button):is(:hover,:focus){color:#1c1c1e!important;border-color:#1c1c1e!important;background:#fff!important;}
body.bb-store .bb-login .btn.ghost:is(:hover,:focus){background:transparent!important;border-color:transparent!important;text-decoration:underline;}
body.bb-store :is(.btn,.button,button,input[type=submit]):is(:disabled,[disabled],.disabled,[aria-disabled="true"]){opacity:.55!important;cursor:not-allowed!important;filter:none!important;}
body.bb-store :is(.btn,.button,button,input[type=submit],a):focus-visible{outline:2px solid #1c1c1e!important;outline-offset:2px!important;box-shadow:0 0 0 4px rgba(243,234,34,.55)!important;}
/* button sizes: each surface keeps the prototype's size in every state (WooCommerce's general stylesheet on classic
   themes and theme hover rules would otherwise resize them: 100% font, .618em padding, icon padding on hover) */
body.bb-portal .btn{font-size:13px!important;line-height:1.35!important;padding:9px 14px!important;border-width:1px!important;border-radius:10px!important;font-weight:700!important;}
body.bb-portal .btn.sm{font-size:12px!important;padding:6px 10px!important;border-radius:8px!important;}
body.bb-store .bb-login .btn{font-size:.84rem!important;line-height:1.3!important;padding:12px 16px!important;border-width:1.5px!important;border-radius:0!important;font-weight:800!important;letter-spacing:.03em;}
body.bb-store .bb-login .btn.lg{font-size:.9rem!important;padding:14px 22px!important;}
body.bb-store :is(.bb-confirm-page,.ostatus,.lookup) .btn{font-size:15px!important;line-height:1.3!important;padding:15px 30px!important;border-radius:11px!important;font-weight:800!important;}
body.bb-store .bb-confirm-page .side-cta .btn{padding:13px!important;}

/* ---- links the theme would recolour (accent blue) */
body.bb-portal .sec-h .link,body.bb-portal .sec-h .link:hover,body.bb-store .looknote a,body.bb-store .looknote a:hover{color:#1c1c1e!important;}
body.bb-store .bb-login a:not(.btn):is(:link,:visited,:hover){color:#1c1c1e!important;}

/* ---- fields: each surface keeps the prototype's own field style; the theme cannot remove borders or recolour text */
body.bb-store :is(.field,.form-row) :is(input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],input[type=search],input.input-text,select:not(.select2-hidden-accessible),textarea){box-sizing:border-box!important;width:100%!important;color:#1c1c1e!important;background-color:#fff!important;border-style:solid!important;border-width:1px!important;border-color:var(--t-border)!important;font-family:inherit!important;font-size:14px!important;line-height:1.4!important;padding:11px 12px!important;box-shadow:none!important;}
body.bb-portal :is(.field,.form-row) :is(input:not([type=checkbox]):not([type=radio]),select:not(.select2-hidden-accessible),textarea){border-radius:12px!important;min-height:44px;}
body.bb-store .bb-login .field input{border-radius:0!important;border-color:rgba(20,20,22,.24)!important;padding:9px 12px!important;min-height:40px;box-shadow:0 1px 2px rgba(20,20,22,.05)!important;}
body.bb-store .lookform .field input{border-radius:10px!important;padding:12px 14px!important;font-size:15px!important;background-color:var(--shop)!important;}
body.bb-store--checkout .form-row :is(.input-text,select,textarea){border-radius:5px!important;padding:11px 13px!important;border-color:var(--ck-line,var(--t-border))!important;}
body.bb-store :is(.field,.form-row) :is(input,select:not(.select2-hidden-accessible),textarea):focus{border-color:#1c1c1e!important;outline:none!important;box-shadow:0 0 0 3px rgba(28,28,30,.1)!important;background-color:#fff!important;}
body.bb-store :is(.field,.form-row) :is(input,textarea)::placeholder{color:#6c6c66!important;opacity:1;}
body.bb-store :is(.field,.form-row) input[type=checkbox],body.bb-store :is(.field,.form-row) input[type=radio]{width:auto!important;min-height:0;padding:0!important;box-shadow:none!important;}
body.bb-store .select2-container .select2-selection--single{border:1px solid var(--t-border)!important;background:#fff!important;border-radius:12px!important;min-height:44px;}
body.bb-store .select2-container--focus .select2-selection--single,body.bb-store .select2-container--open .select2-selection--single{border-color:#1c1c1e!important;}
body.bb-store .select2-container .select2-selection__rendered{color:#1c1c1e!important;}
body.bb-store .select2-dropdown{border-color:var(--t-border-strong)!important;}
body.bb-store .select2-results__option--highlighted[aria-selected],body.bb-store .select2-results__option--highlighted[data-selected]{background:#1c1c1e!important;color:#fff!important;}
/* block checkout fields: WooCommerce's floating-label padding is kept; only what a theme could break is fixed */
body.bb-store--checkout :is(.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select__select,.wc-block-components-textarea){border:1px solid #1c1c1e!important;background-color:#fff!important;color:#1c1c1e!important;border-radius:4px!important;box-shadow:none!important;width:100%!important;}
body.bb-store--checkout :is(.wc-block-components-text-input,.wc-block-components-combobox).has-error input{border-color:#a3341f!important;}
/* block checkout text: the prototype's sizes whatever the theme's font-size presets are (a classic theme gets WordPress's
   default presets, which made helper text, payment labels and summary text 18px) */
body.bb-store--checkout .wc-block-checkout :is(.wc-block-components-checkout-step__description,.wc-block-components-checkout-step__content p,.wc-block-components-checkbox__label,.wc-block-components-order-summary-item__description,.wc-block-components-order-summary-item__description p,.wc-block-checkout__terms,.wc-block-checkout__terms p,.wc-block-components-address-form__address_2-toggle,.wc-block-components-totals-item:not(.wc-block-components-totals-footer-item) .wc-block-components-totals-item__label,.wc-block-components-totals-item:not(.wc-block-components-totals-footer-item) .wc-block-components-totals-item__value,.wc-block-components-panel__button,.wc-block-components-order-summary-item__total-price,.wc-block-components-order-summary-item__individual-prices){font-size:14px!important;line-height:1.5!important;}
body.bb-store--checkout .wc-block-checkout .wc-block-components-radio-control__label{font-size:14px!important;font-weight:700!important;}
body.bb-store--checkout .wc-block-checkout :is(.wc-block-components-radio-control__description,.wc-block-components-radio-control__secondary-label,.wc-block-components-payment-method-label + *,.wc-block-components-radio-control-accordion-content){font-size:13px!important;line-height:1.5!important;}
body.bb-store--checkout :is(.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select__select,.wc-block-components-textarea):focus{border-color:#1c1c1e!important;box-shadow:0 0 0 1px #1c1c1e,0 0 0 4px rgba(28,28,30,.12)!important;outline:none!important;}
body.bb-store .password-input input{padding-right:42px!important;}

/* === system 301 B5: checkout address sections and phone (CHECKOUT-ADDR-001 / -PHONE-001), quantity badges (CHECKOUT-UI-001) === */
/* block checkout: contact, then Billing, then Shipping (with "Use billing address"), then the rest in WooCommerce's order */
body.bb-store--checkout.bb-co-billing-first .wc-block-checkout__form{display:flex;flex-direction:column;}
body.bb-store--checkout.bb-co-billing-first .wc-block-checkout__form > #contact-fields,body.bb-store--checkout.bb-co-billing-first .wc-block-checkout__form > .wc-block-checkout__contact-fields{order:-3;}
body.bb-store--checkout.bb-co-billing-first .wc-block-checkout__form > #billing-fields,body.bb-store--checkout.bb-co-billing-first .wc-block-checkout__form > .wc-block-checkout__billing-fields{order:-2;}
body.bb-store--checkout.bb-co-billing-first .wc-block-checkout__form > #shipping-fields,body.bb-store--checkout.bb-co-billing-first .wc-block-checkout__form > .wc-block-checkout__shipping-fields{order:-1;}
body.bb-store--checkout.bb-co-billing-first .wc-block-checkout__use-address-for-billing{display:none !important;}
/* step numbers follow what is shown (billing 2, shipping 3): the counter runs in document order, where shipping comes before billing */
body.bb-store--checkout.bb-co-billing-first .wc-block-checkout .wc-block-checkout__form > .wc-block-components-checkout-step#shipping-fields:has(+ #billing-fields){counter-increment:bbstep 2;}
body.bb-store--checkout.bb-co-billing-first .wc-block-checkout .wc-block-checkout__form > #shipping-fields + .wc-block-components-checkout-step#billing-fields{counter-increment:bbstep -1;}
body.bb-store--checkout.bb-co-billing-first .wc-block-checkout .wc-block-checkout__form > #shipping-fields + #billing-fields + .wc-block-components-checkout-step{counter-increment:bbstep 2;}
body.bb-store--checkout.bb-co-billing-first .wc-block-checkout .wc-block-checkout__form > #shipping-fields + #billing-fields + :not(.wc-block-components-checkout-step){counter-increment:bbstep 1;}
body.bb-store--checkout .bb-use-billing{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-weight:600;cursor:pointer;}
body.bb-store--checkout .bb-use-billing input{width:18px;height:18px;margin:0;accent-color:#1c1c1e;}
body.bb-store--checkout #shipping-fields.bb-ship-same .wc-block-components-checkout-step__content > :not(.bb-use-billing),body.bb-store--checkout .wc-block-checkout__shipping-fields.bb-ship-same .wc-block-components-checkout-step__content > :not(.bb-use-billing){display:none !important;}
/* classic checkout */
body.bb-store--checkout .bb-shipping-fields .bb-use-billing-row{margin:0 0 14px;}
body.bb-store--checkout .bb-shipping-fields .bb-use-billing-row label{display:flex;align-items:center;gap:10px;font-weight:600;}
body.bb-store--checkout .bb-field-error{color:#b23b2e;font-size:.85rem;margin:6px 0 0;}
/* the quantity badge stays whole, with or without a picture, at every size */
body.bb-store--checkout .wc-block-components-order-summary-item__image{position:relative;}
body.bb-store--checkout .wc-block-components-order-summary-item__quantity{z-index:2;}
body.bb-store--checkout #order_review .product-name .product-quantity{white-space:nowrap;}
/* customer account entry (CUS-001 / CUS-002): the sign-up form, its messages and the order lookup limit */
body.bb-store .bb-login .util{flex-wrap:wrap;}
body.bb-store .bb-login .bb-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
body.bb-store .bb-login .bb-two > *{min-width:0;}
body.bb-store .bb-login .field.has-error input{border-color:#b23b2e;}
body.bb-store .bb-login .bb-field-error{color:#b23b2e;font-size:.82rem;margin:6px 0 0;}
body.bb-store .bb-login .bb-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
body.bb-store .bb-auth-msg{margin:0 0 16px;padding:12px 14px;border-radius:6px;font-size:.9rem;line-height:1.5;list-style:none;}
body.bb-store .bb-auth-msg.woocommerce-message{background:#f3f8ef;border:1px solid #cfe3c3;color:#24451a;}
body.bb-store .bb-auth-msg.woocommerce-error{background:#fbf1ef;border:1px solid #efc9c2;color:#5b1d16;}
body.bb-store .bb-lookup-limit{margin:0 0 16px;padding:12px 14px;border-radius:6px;background:#fbf1ef;border:1px solid #efc9c2;color:#5b1d16;list-style:none;}
 @media(max-width:520px){body.bb-store .bb-login .bb-two{grid-template-columns:1fr;}}

/* ============================================================ system 301 B4: Customer Portal pages (support, order detail, claims, rewards,
   notifications, preferences) and the public Order Support form - the prototype's customer views (app.js 4380-4990) */
body.bb-portal .bb-navbadge{margin-left:auto;min-width:20px;padding:1px 7px;border-radius:999px;background:var(--yellow,#f3ea22);color:#1c1c1e;font-size:11px;font-weight:800;text-align:center;}
body.bb-portal .cp-panel-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--t-border);}
body.bb-portal .cp-panel-t{margin:0;font-size:16px;font-weight:700;color:var(--t-text);}
body.bb-portal .cp-panel-b{padding:16px 18px;}
body.bb-portal .cp-panel + .cp-panel,body.bb-portal .cp-panel{margin-bottom:18px;}
body.bb-portal .cp-form .field textarea{min-height:96px;resize:vertical;}
body.bb-portal .cp-inline{display:inline-flex;margin:0;}
body.bb-portal .cp-case{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-top:1px solid var(--line2);color:inherit;text-decoration:none;}
body.bb-portal .cp-case:first-child{border-top:0;padding-top:0;}
body.bb-portal .cp-case:hover .cp-case-t b,body.bb-portal .cp-case:focus-visible .cp-case-t b{text-decoration:underline;}
body.bb-portal .cp-case-t{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:14.5px;}
body.bb-portal .cp-case .cp-muted{margin-top:0;}
body.bb-portal .cp-needs{border-left:4px solid var(--yellow,#f3ea22);}
body.bb-portal .cp-msg{padding:10px 12px;margin-top:8px;border-radius:10px;background:#fff;border:1px solid var(--t-border);}
body.bb-portal .cp-msg.mine{background:var(--t-surface-3);}
body.bb-portal .cp-msg-h{font-size:11.5px;color:var(--t-text-muted);}
body.bb-portal .cp-msg-h b{color:var(--t-text);}
body.bb-portal .cp-msg-b{font-size:13px;margin-top:4px;overflow-wrap:anywhere;}
body.bb-portal .cp-req{display:flex;gap:8px;align-items:baseline;justify-content:space-between;padding:6px 0;border-top:1px solid var(--line2);}
body.bb-portal .cp-refund{color:var(--t-text-muted);}
body.bb-portal .cp-drawer{margin:0 0 14px;}
body.bb-portal .cp-drawer > summary{list-style:none;cursor:pointer;margin-bottom:10px;}
body.bb-portal .cp-drawer > summary::-webkit-details-marker{display:none;}
body.bb-portal .cp-claims .cp-claim{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:8px 0;border-top:1px solid var(--line2);font-size:13.5px;}
body.bb-portal .cp-claims .cp-claim:first-of-type{border-top:0;}
body.bb-portal .cp-claims .cp-claim > span{flex:1 1 260px;}
body.bb-portal .cp-claim--sub{padding-left:14px;}
body.bb-portal .cp-pref{display:flex;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line2);}
body.bb-portal .cp-pref > div{flex:1;font-size:13px;}
body.bb-portal .cp-pref .cp-muted{margin-top:2px;}
body.bb-portal .cp-hero{margin-bottom:16px;}
body.bb-portal .rw-tag{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--t-wait-bg);color:var(--t-wait-tx);font-size:11px;font-weight:700;}
body.bb-portal .rw-balance{font-family:var(--font-display,'Anton',sans-serif);font-size:2.4rem;line-height:1;}
body.bb-portal .rw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;}
body.bb-portal .rw-card{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--t-border);border-radius:12px;background:#fff;}
body.bb-portal .rw-name{font-weight:700;}
body.bb-portal .rw-meta,body.bb-portal .rw-have{font-size:12.5px;}
body.bb-portal .rw-state{font-size:12.5px;font-weight:700;}
body.bb-portal .rw-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--line2);font-size:13.5px;}
body.bb-portal .rw-amt.pos{color:var(--t-wait-tx);font-weight:700;}
body.bb-portal .rw-amt.neg{color:var(--t-bad-tx);font-weight:700;}
body.bb-portal .bb-notif-head{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:14px;}
body.bb-portal .bb-notif-head .bb-h1{margin:0;}
body.bb-portal .bb-notif-count{font-size:13px;color:var(--t-text-muted);}
body.bb-portal .bb-notif-list{display:flex;flex-direction:column;gap:8px;}
body.bb-portal .bb-notif{padding:12px 14px;border:1px solid var(--t-border);border-radius:12px;background:#fff;}
body.bb-portal .bb-notif.unread{border-left:4px solid var(--yellow,#f3ea22);}
body.bb-portal .bb-notif-t{font-weight:700;font-size:14px;}
body.bb-portal .bb-notif-t a{color:inherit;}
body.bb-portal .bb-notif-b{font-size:13px;margin-top:4px;}
body.bb-portal .bb-notif .cp-inline{margin-top:6px;}
body.bb-store .bb-support-outlet{max-width:860px;margin:0 auto;padding:32px 16px 56px;}
body.bb-store .bb-support-outlet .bb-phead{margin-bottom:18px;}
body.bb-store .bb-supportcard{background:#fff;border:1px solid var(--t-border);border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:20px;margin:0 0 16px;}
body.bb-store .bb-supportcard h2{margin:0 0 10px;font-size:18px;}
body.bb-store .bb-supportguide ul{margin:0 0 12px;padding-left:18px;font-size:13.5px;line-height:1.6;}
body.bb-store .bb-supportcard .cp-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
body.bb-store .bb-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
 @media(max-width:760px){body.bb-portal .cp-grid,body.bb-store .bb-supportcard .cp-grid{grid-template-columns:1fr;}}

/* system 301 B10: "Delete my account" */
body.bb-portal .cp-danger,body.bb-store .cp-danger{border-color:#a3341f;}

/* =====================================================================================================
   VISUAL REFINEMENT (Build 301-V) - Customer Portal only, presentation only.
   Scoped to body.bb-store.bb-portal: the signed-in Customer Portal pages. Checkout, cart, sign-in and the
   order confirmation never carry .bb-portal, so nothing here reaches them. Same system as the Employee and
   Dealer Portals: cards 8px, buttons and fields 6px, status badges keep their pill, one light shadow family.
   ===================================================================================================== */
body.bb-store.bb-portal { --cp-r: 8px; --cp-rc: 6px; --cp-shadow: 0 1px 2px rgba(20,20,22,.05); --cp-ribbon: 0px; }
body.bb-store.bb-portal:has(> .bb-sandbox-ribbon) { --cp-ribbon: 30px; }

/* sidebar: below the SANDBOX ribbon (sandbox only), own scrolling without a visible bar, 6px items */
body.bb-store.bb-portal .bb-side { top: var(--cp-ribbon); }
body.bb-store.bb-portal .bb-top { top: var(--cp-ribbon); box-shadow: 0 1px 0 var(--t-border); border-bottom-color: transparent; }
body.bb-store.bb-portal .bb-nav { padding: 10px 10px 12px; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior: contain; }
body.bb-store.bb-portal .bb-nav::-webkit-scrollbar { display: none; width: 0; height: 0; }
body.bb-store.bb-portal .bb-modlink { display: flex; align-items: center; padding: 8px 12px; border-left: 0; border-radius: var(--cp-rc); }
body.bb-store.bb-portal .bb-modlink.on { box-shadow: 0 1px 2px rgba(0,0,0,.25); }
body.bb-store.bb-portal .bb-modlink .bb-navbadge { margin-left: auto; min-width: 20px; height: 18px; padding: 0 6px; line-height: 18px; text-align: center; }
body.bb-store.bb-portal .bb-modlink.on .bb-navbadge { background: #1c1c1e; color: var(--yellow, #f3ea22); }
body.bb-store.bb-portal .bb-side .user .signout { border-radius: var(--cp-rc); }
body.bb-store.bb-portal .bb-bell, body.bb-store.bb-portal .bb-hb { border-radius: var(--cp-rc); }

/* cards and panels 8px */
body.bb-store.bb-portal :is(.sumcard, .spot, .orow, .panel, .cp-panel, .cp-empty, .tablecard, .rw-card, .bb-notif, .cp-msg) { border-radius: var(--cp-r); }
body.bb-store.bb-portal :is(.sumcard, .spot, .orow, .panel, .cp-panel, .tablecard, .rw-card, .bb-notif) { box-shadow: var(--cp-shadow); }
body.bb-store.bb-portal .sumcard:hover { transform: none; box-shadow: 0 2px 8px rgba(20,20,22,.06); }
body.bb-store.bb-portal .sumcard .ic { border-radius: var(--cp-rc); }
body.bb-store.bb-portal .spot { border-left-width: 4px; }
body.bb-store.bb-portal .cp-panel, body.bb-store.bb-portal .tablecard { overflow: hidden; }
body.bb-store.bb-portal .woocommerce-message, body.bb-store.bb-portal .woocommerce-info, body.bb-store.bb-portal .woocommerce-error, body.bb-store.bb-portal .wc-block-components-notice-banner { border-radius: var(--cp-r); }
body.bb-store.bb-portal .thumb.sm { border-radius: var(--cp-rc); }

/* buttons and fields 6px (these rules were set with !important above, so the same weight is needed) */
body.bb-store.bb-portal .btn { border-radius: var(--cp-rc) !important; }
body.bb-store.bb-portal .btn.sm { border-radius: var(--cp-rc) !important; }
body.bb-store.bb-portal :is(.field, .form-row) :is(input:not([type=checkbox]):not([type=radio]), select:not(.select2-hidden-accessible), textarea) { border-radius: var(--cp-rc) !important; }
body.bb-store.bb-portal .select2-container .select2-selection--single { border-radius: var(--cp-rc) !important; }
body.bb-store.bb-portal .cp-actions .order-again .button { border-radius: var(--cp-rc); }

/* narrow screens (written nested so every rule stays inside the Customer Portal scope; a browser without CSS nesting
   ignores it, which only matters on a sandbox, where the ribbon is drawn) */
body.bb-store.bb-portal {
  @media (max-width: 900px) {
    & .bb-side { top: 0; z-index: 100001; }
    & .bb-sidescrim:not([hidden]) { z-index: 100000; }
    & .bb-top { top: 0; }
    &:has(> .bb-sandbox-ribbon) .bb-top { position: relative; }
  }
}
