/* ============================================================
   Bee Impex Marketplace — Design Layer v1.2.3
   FedEx-style re-skin (owner order, 3 Dec 2026): purple
   #4D148C primary, orange #FF6200 accent, white/light-grey
   base. No black-dominant surfaces. Contrast-verified pairs:
   white on purple 11.7:1; ink #20113A on orange 5.82:1;
   purple links on white 11.7:1; dark-orange text #B34700
   on white 5.50:1 (orange #FF6200 as small text on white
   is banned — 3.0:1). Palette feel only; no FedEx marks.
   ============================================================ */

:root{
	--bim-bg:#FFFFFF;
	--bim-surface:#F7F7F9;
	--bim-surface-sunken:#F4EFFB;
	--bim-ink:#20113A;
	--bim-ink-2:#5A5470;
	--bim-ink-3:#6E6890;
	--bim-border:#E3DEF0;
	--bim-border-strong:#8A7FB8;
	--bim-primary:#4D148C;
	--bim-primary-deep:#3B0F6E;
	--bim-primary-tint:#F4EFFB;
	--bim-primary-tint-2:#E9E0F7;
	--bim-primary-border:#C9B8EC;
	--bim-brand:#FF6200;
	--bim-brand-hover:#E45700;
	--bim-brand-text:#B34700;
	--bim-brand-tint:#FFF1E8;
	--bim-orange-soft:#FFB37E;
	--bim-band-grad:linear-gradient(135deg,#4D148C 0%,#3B0F6E 100%);
	--bim-black-band:#4D148C;
	--bim-success:#0F7A52;
	--bim-error:#B3261E;
	--bim-error-bg:#FDECEC;
	--bim-s1:4px;--bim-s2:8px;--bim-s3:12px;--bim-s4:16px;--bim-s5:24px;--bim-s6:32px;--bim-s7:48px;--bim-s8:64px;--bim-s9:96px;
	--bim-r-sm:8px;--bim-r-md:12px;--bim-r-lg:16px;--bim-r-xl:24px;
	--bim-shadow:0 1px 2px rgba(32,17,58,.06),0 8px 24px rgba(32,17,58,.10);
	--bim-font-display:'Archivo',system-ui,sans-serif;
	--bim-font-ui:'Inter','Noto Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
	--bim-font-mono:'IBM Plex Mono',ui-monospace,monospace;
	--bim-container:1440px;
	--bim-gutter:24px;
	--bim-container-lg:1560px;
	--bim-container-xl:1680px;
	/* Scrollbar-safe viewport width for full-bleed bands:
	   100vw includes the scrollbar, which pushed bands ~15px
	   past the right edge. bim.js sets --bim-sbw to the real
	   scrollbar width; before JS runs it is 0 and the
	   overflow-x:clip guard below absorbs the difference. */
	--bim-vw:calc(100vw - var(--bim-sbw,0px));
	--bim-t-micro:150ms;--bim-t-base:300ms;--bim-t-slow:500ms;
}

/* Layout width (v1.2.3 tiers, owner order 3 Dec 2026): the
   container is fluid — width:100% with gutters — capped at
   1440px below 1280px viewports, 1560px from 1280px, 1680px
   from 1600px, so tiers trigger on real screens (a 1919px
   viewport previously missed the ≥1920px tier). At 1919px:
   content 1616px, ~120px side margins. Gutters 24px, 32px
   from 1600px; mobile keeps 16px. */
@media(min-width:1280px){:root{--bim-container:var(--bim-container-lg)}}
@media(min-width:1600px){:root{--bim-container:var(--bim-container-xl);--bim-gutter:32px}}
@media(max-width:767px){:root{--bim-gutter:16px}}

/* Horizontal-overflow guard: clip (not hidden) so sticky
   headers keep working. Root cause is fixed by --bim-vw;
   this only absorbs pre-JS / third-party stragglers. */
html,body{overflow-x:clip}

/* ---------- Base (marketplace surfaces) ---------- */
.bim-marketplace{font-family:var(--bim-font-ui);color:var(--bim-ink);background:var(--bim-bg);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
.bim-marketplace h1,.bim-marketplace h2,.bim-marketplace h3,.bim-marketplace h4{font-family:var(--bim-font-display);color:var(--bim-ink);letter-spacing:-.01em}
.bim-marketplace a{color:var(--bim-primary);text-decoration-color:var(--bim-brand);text-decoration-thickness:2px;text-underline-offset:3px}
.bim-marketplace a:hover{color:var(--bim-brand-text)}
.bim-marketplace img{max-width:100%}
.bim-mono{font-family:var(--bim-font-mono);font-size:.92em}
.bim-marketplace .bim-num,.bim-price-metric,.bim-moq-chip,.bim-bento-num,.bim-stat-num,.bim-rfq-qty,.bim-countdown{font-variant-numeric:tabular-nums}

/* Focus: orange outline + purple halo (on purple bands: orange outline + white halo) */
.bim-marketplace :focus-visible,.bim-modal :focus-visible{outline:3px solid var(--bim-brand);outline-offset:2px;box-shadow:0 0 0 5px rgba(77,20,140,.30)}
.bim-hero :focus-visible,.bim-black-band :focus-visible,.bim-sell-hero :focus-visible,.bim-secure-hero :focus-visible,.bim-secure-band :focus-visible,.bim-founding-band :focus-visible,.bim-rfq-landing-hero :focus-visible,.bim-store-hero :focus-visible{outline:3px solid var(--bim-brand);box-shadow:0 0 0 5px rgba(255,255,255,.85)}

/* Wide container; abolish the ~750px column */
.bim-marketplace .ct-container,.bim-marketplace .site-main>.ct-container,.bim-marketplace [class*="ct-container"]{max-width:var(--bim-container)!important;margin-left:auto;margin-right:auto}
.bim-marketplace .entry-content{max-width:none}
.bim-marketplace .ct-container-full>.entry-content{max-width:none}
.bim-wrap,.bim-wrap-wide{max-width:var(--bim-container);margin:0 auto;padding-left:var(--bim-gutter);padding-right:var(--bim-gutter);width:100%;box-sizing:border-box}

/* Title band abolished on marketplace pages */
.bim-marketplace .hero-section,.bim-marketplace .ct-hero-section,.bim-marketplace .page-hero,.bim-marketplace .entry-header .page-title,.bim-marketplace .ct-page-title{display:none!important}
.bim-marketplace .entry-content>*:first-child{margin-top:0}

/* Section rhythm */
.bim-section{padding:64px 0}
.bim-section-tight{padding:40px 0}
.bim-section-surface{background:var(--bim-surface)}
.bim-black-band{background:var(--bim-band-grad);color:#fff}
.bim-black-band h1,.bim-black-band h2,.bim-black-band h3{color:#fff}
.bim-black-band a{color:#fff}
@media(max-width:767px){.bim-section{padding:48px 0}}

/* Type scales */
.bim-display{font-family:var(--bim-font-display);font-weight:800;font-stretch:115%;font-size:clamp(2.25rem,1.8rem + 2.2vw,3.5rem);line-height:1.05;letter-spacing:-.02em}
.bim-h1{font-family:var(--bim-font-display);font-weight:700;font-size:40px;line-height:44px}
.bim-h2{font-family:var(--bim-font-display);font-weight:700;font-size:32px;line-height:38px}
.bim-h3{font-family:var(--bim-font-display);font-weight:600;font-size:24px;line-height:30px}
.bim-page-title{font-family:var(--bim-font-display);font-weight:700;font-size:28px;line-height:34px}
.bim-lead{font-size:19px;line-height:30px}
.bim-eyebrow{font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--bim-brand-text)}
.bim-black-band .bim-eyebrow,.bim-hero .bim-eyebrow,.bim-sell-hero .bim-eyebrow,.bim-secure-hero .bim-eyebrow,.bim-rfq-landing-hero .bim-eyebrow,.bim-store-hero .bim-eyebrow{color:var(--bim-orange-soft)}
.bim-section-num{font-family:var(--bim-font-mono);font-size:13px;color:var(--bim-brand-text);font-weight:500}
.bim-black-band .bim-section-num{color:var(--bim-orange-soft)}
.bim-note{color:var(--bim-ink-2);font-size:14px;line-height:1.5}
.bim-black-band .bim-note{color:#E9E0F7}
@media(max-width:767px){.bim-h1{font-size:32px;line-height:38px}.bim-h2{font-size:26px;line-height:32px}.bim-page-title{font-size:24px;line-height:30px}}

/* Breadcrumb + compact page head (replaces title band) */
.bim-breadcrumb{font-size:13px;color:var(--bim-ink-2);display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:20px 0 10px}
.bim-breadcrumb a{color:var(--bim-ink-2);text-decoration:none}
.bim-breadcrumb a:hover{color:var(--bim-ink);text-decoration:underline}
.bim-breadcrumb [aria-current]{color:var(--bim-ink);font-weight:600}
.bim-page-head{padding:8px 0 24px;border-bottom:1px solid var(--bim-border);margin-bottom:28px}
.bim-page-head .bim-page-title{margin:0 0 8px}
.bim-page-head .bim-count-line{color:var(--bim-ink-2);font-size:15px}
.bim-count-line strong{color:var(--bim-ink)}

/* ---------- Buttons ---------- */
.bim-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px;border:1.5px solid var(--bim-primary);border-radius:var(--bim-r-md);background:var(--bim-primary);color:#fff!important;font-family:var(--bim-font-ui);font-weight:600;font-size:15px;line-height:1.2;text-decoration:none!important;cursor:pointer;transition:background var(--bim-t-micro),color var(--bim-t-micro),border-color var(--bim-t-micro)}
.bim-btn:hover{background:var(--bim-primary-deep);border-color:var(--bim-primary-deep);color:#fff!important}
.bim-btn:active{transform:translateY(1px)}
.bim-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
.bim-btn-brand{background:var(--bim-brand);border-color:var(--bim-brand);color:var(--bim-ink)!important}
.bim-btn-brand:hover{background:var(--bim-brand-hover);border-color:var(--bim-brand-hover);color:var(--bim-ink)!important}
.bim-btn-primary{background:var(--bim-primary);color:#fff!important}
.bim-btn-secondary{background:#fff;color:var(--bim-primary)!important;border-color:var(--bim-primary)}
.bim-btn-secondary:hover{background:var(--bim-primary-tint);color:var(--bim-primary-deep)!important}
.bim-btn-ghost{background:transparent;border-color:transparent;color:var(--bim-primary)!important;padding-left:12px;padding-right:12px}
.bim-btn-ghost:hover{background:var(--bim-primary-tint);color:var(--bim-primary-deep)!important}
.bim-btn-lg{min-height:52px;padding:14px 28px;font-size:16px}
.bim-btn-sm{min-height:44px;padding:10px 16px;font-size:14px}
.bim-btn-block{width:100%}
.bim-black-band .bim-btn-secondary{background:transparent;color:#fff!important;border-color:#fff}
.bim-black-band .bim-btn-secondary:hover{background:rgba(255,255,255,.12)}

/* ---------- Badges, chips, monograms ---------- */
.bim-badge{display:inline-flex;align-items:center;gap:5px;background:var(--bim-brand-tint);color:var(--bim-ink);border:1px solid var(--bim-brand);border-radius:999px;padding:3px 11px;font-weight:700;font-size:12px;line-height:1.4;white-space:nowrap}
.bim-badge .bim-shield{flex:none}
.bim-badge-operator{background:var(--bim-primary);color:#fff;border-color:var(--bim-primary)}
.bim-badge-neutral{background:var(--bim-surface-sunken);color:var(--bim-ink-2);border:1px solid var(--bim-border);font-weight:600}
.bim-chip{display:inline-flex;align-items:center;gap:4px;background:var(--bim-surface-sunken);color:var(--bim-ink-2);border:1px solid var(--bim-border);border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:500;line-height:1.4}
.bim-chip-pk{background:var(--bim-primary-tint-2);color:var(--bim-primary);border-color:var(--bim-primary-border);font-weight:600}
.bim-moq-chip{display:inline-flex;align-items:center;background:var(--bim-surface-sunken);border:1px solid var(--bim-border);color:var(--bim-ink);border-radius:var(--bim-r-sm);padding:2px 8px;font-size:12px;font-weight:600;white-space:nowrap}
.bim-monogram{display:inline-flex;align-items:center;justify-content:center;width:var(--bim-mono-size,56px);height:var(--bim-mono-size,56px);border-radius:50%;background:var(--bim-primary-tint-2);color:var(--bim-primary);font-family:var(--bim-font-display);font-weight:700;font-size:calc(var(--bim-mono-size,56px)*.36);flex:none;border:1px solid var(--bim-primary-border)}
.bim-unread{display:inline-flex;align-items:center;justify-content:center;background:var(--bim-brand);color:var(--bim-ink);border-radius:999px;min-width:22px;height:22px;padding:0 6px;font-size:12px;font-weight:700}

/* Notices */
.bim-notice{background:var(--bim-brand-tint);border:1px solid var(--bim-brand);border-radius:var(--bim-r-md);padding:14px 16px;color:var(--bim-ink);font-size:15px}
.bim-notice a{font-weight:600}
.bim-exclusion{font-weight:600;color:var(--bim-ink)}
.bim-send-error{background:var(--bim-error-bg);color:#7A0B0B;border:1px solid #E5A3A3;border-radius:var(--bim-r-sm);padding:10px 12px;margin:8px 0;font-size:14px}
.bim-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.bim-launch-banner{background:var(--bim-band-grad);color:#fff;border-radius:var(--bim-r-md);padding:14px 18px;margin:16px 0;font-size:15px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.bim-launch-banner strong{color:var(--bim-orange-soft);letter-spacing:.05em;text-transform:uppercase;font-size:13px}

/* ---------- Forms ---------- */
.bim-form{display:grid;gap:18px;max-width:680px;margin:16px 0}
.bim-form label{display:grid;gap:6px;font-weight:600;font-size:15px;color:var(--bim-ink)}
.bim-form .bim-hint{font-weight:400;font-size:13.5px;color:var(--bim-ink-2)}
.bim-form input,.bim-form textarea,.bim-form select{width:100%;min-height:48px;padding:12px 14px;border:1.5px solid var(--bim-border-strong);border-radius:var(--bim-r-md);font:inherit;font-size:16px;background:#fff;color:var(--bim-ink);box-sizing:border-box}
.bim-form textarea{min-height:110px}
.bim-form input::placeholder,.bim-form textarea::placeholder{color:var(--bim-ink-3);opacity:1}
.bim-form input:focus,.bim-form textarea:focus,.bim-form select:focus{border-color:var(--bim-primary)}
.bim-form .bim-check{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:15px}
.bim-form .bim-check input{width:22px;height:22px;min-height:0;margin-top:2px;flex:none;accent-color:var(--bim-primary)}
.bim-form input[type=number]{font-variant-numeric:tabular-nums}
.bim-form .bim-field-error{border-color:var(--bim-error)}
.bim-form .bim-error-text{color:var(--bim-error);font-size:13.5px;font-weight:600}
.bim-inline-form{display:inline-block;margin:0 4px 4px 0}
.bim-inline-form input[type=text]{max-width:160px}

/* Stepped forms */
.bim-steps{margin:0 0 24px}
.bim-steps-progress{font-size:13px;font-weight:600;color:var(--bim-ink-2);margin-bottom:8px}
.bim-steps-bar{height:6px;background:var(--bim-surface-sunken);border-radius:999px;overflow:hidden}
.bim-steps-bar-fill{height:100%;background:var(--bim-brand);border-radius:999px;transition:width var(--bim-t-base)}
.bim-steps-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;list-style:none;padding:0}
.bim-steps-list li{font-size:13px;font-weight:600;color:var(--bim-ink-3);display:flex;align-items:center;gap:6px}
.bim-steps-list li .bim-step-dot{width:22px;height:22px;border-radius:50%;border:1.5px solid var(--bim-border);display:inline-flex;align-items:center;justify-content:center;font-size:11px;background:#fff;color:var(--bim-ink-3)}
.bim-steps-list li.is-current{color:var(--bim-ink)}
.bim-steps-list li.is-current .bim-step-dot{border-color:var(--bim-primary);box-shadow:0 0 0 3px rgba(255,98,0,.35);color:var(--bim-primary)}
.bim-steps-list li.is-done{color:var(--bim-ink-2)}
.bim-steps-list li.is-done .bim-step-dot{background:var(--bim-primary);border-color:var(--bim-primary);color:#fff}
.bim-step-panel{display:grid;gap:18px}
.bim-step-panel[hidden]{display:none}
.bim-step-nav{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.bim-review-card{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:20px;background:var(--bim-surface)}
.bim-review-card dl{display:grid;grid-template-columns:180px 1fr;gap:8px 16px;margin:0}
.bim-review-card dt{font-weight:600;color:var(--bim-ink-2);font-size:14px}
.bim-review-card dd{margin:0;font-size:15px}
@media(max-width:600px){.bim-review-card dl{grid-template-columns:1fr}.bim-review-card dt{margin-top:6px}}

/* ---------- Utility strip + header treatment ---------- */
.bim-utility-strip{background:var(--bim-brand-tint);color:var(--bim-ink);font-size:13.5px;border-bottom:1px solid var(--bim-border)}
.bim-utility-inner{max-width:var(--bim-container);margin:0 auto;padding:8px var(--bim-gutter);width:100%;box-sizing:border-box;display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.bim-utility-offer{font-weight:600}
.bim-utility-link{color:var(--bim-primary);font-weight:700;text-decoration:none}
.bim-utility-link:hover{color:var(--bim-brand-text);text-decoration:underline}
.bim-marketplace .ct-header{border-bottom:1px solid var(--bim-border)}
.bim-marketplace .ct-header .site-logo-container img,.bim-marketplace .ct-header img.custom-logo{min-height:34px;width:auto}
.bim-marketplace .ct-header .ct-menu-link,.bim-marketplace .ct-header nav a{color:var(--bim-primary);font-size:15px;font-weight:500;text-transform:none;letter-spacing:0}
.bim-marketplace .ct-header .current-menu-item>.ct-menu-link,.bim-marketplace .ct-header .current_page_item>a{color:var(--bim-primary);font-weight:700;box-shadow:inset 0 -3px 0 var(--bim-brand)}
.bim-marketplace .ct-header .ct-header-search input,.bim-marketplace .ct-header .search-form input{color:var(--bim-ink);background:#fff}
.bim-marketplace .ct-header .ct-header-search input::placeholder{color:var(--bim-ink-3)}

/* Mobile tab bar */
.bim-tabbar{display:none}
@media(max-width:767px){
	.bim-tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9990;background:#fff;border-top:1px solid var(--bim-border);padding-bottom:env(safe-area-inset-bottom)}
	.bim-tabbar a{flex:1;display:flex;align-items:center;justify-content:center;min-height:52px;font-size:13px;font-weight:600;color:var(--bim-ink-2);text-decoration:none}
	.bim-tabbar a[aria-current="page"]{color:var(--bim-primary);box-shadow:inset 0 3px 0 var(--bim-brand)}
	.bim-marketplace{padding-bottom:64px}
}

/* Footer balance */
.bim-marketplace .ct-footer{background:var(--bim-primary-deep);color:#E9E0F7}
.bim-marketplace .ct-footer a{color:#E9E0F7}
.bim-marketplace .ct-footer a:hover{color:var(--bim-brand)}
.bim-marketplace .ct-footer .widget-title,.bim-marketplace .ct-footer h2,.bim-marketplace .ct-footer h3,.bim-marketplace .ct-footer h4{color:#fff;font-size:15px}
.bim-marketplace .ct-footer .ct-footer-widgets,.bim-marketplace .ct-footer .footer-widgets{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;text-align:left}
.bim-marketplace .ct-footer .menu,.bim-marketplace .ct-footer ul{text-align:left;list-style:none;padding:0}
.bim-marketplace .ct-footer li{margin:6px 0;font-size:14px}
.bim-marketplace .ct-footer img{border-radius:var(--bim-r-sm)!important;aspect-ratio:4/3;object-fit:cover}
.bim-marketplace .ct-footer .ct-footer-copyright,.bim-marketplace .ct-footer .footer-copyright{font-size:13.5px;color:#C9B8EC}
@media(max-width:900px){.bim-marketplace .ct-footer .ct-footer-widgets,.bim-marketplace .ct-footer .footer-widgets{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.bim-marketplace .ct-footer .ct-footer-widgets,.bim-marketplace .ct-footer .footer-widgets{grid-template-columns:1fr}}

/* ---------- Hero + search ---------- */
.bim-hero{background:var(--bim-band-grad);color:#fff;border-radius:var(--bim-r-xl);padding:56px 40px;margin:24px 0;position:relative;overflow:hidden}
.bim-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(600px 300px at 85% -10%,rgba(255,98,0,.22),transparent 60%);pointer-events:none}
.bim-hero>*{position:relative;z-index:1}
.bim-hero .bim-display{color:#fff;margin:10px 0 14px;max-width:14ch}
.bim-hero-sub{max-width:56ch;color:#E9E0F7;font-size:17px;line-height:1.6;margin:0 0 26px}
.bim-hero-sub strong{color:#fff}
.bim-search-tabs{display:flex;gap:4px;margin-bottom:0}
.bim-search-tabs button{appearance:none;border:1.5px solid rgba(255,255,255,.35);border-bottom:none;background:transparent;color:#fff;font:600 14px var(--bim-font-ui);padding:10px 18px;border-radius:10px 10px 0 0;cursor:pointer;min-height:44px}
.bim-search-tabs button[aria-selected="true"]{background:#fff;color:var(--bim-primary);border-color:#fff}
.bim-hero-search{display:flex;gap:0;background:#fff;border-radius:0 var(--bim-r-md) var(--bim-r-md) var(--bim-r-md);padding:6px;max-width:720px;box-shadow:var(--bim-shadow)}
.bim-hero-search input[type=search]{flex:1;min-width:0;border:none;background:transparent;color:var(--bim-ink);font-size:16px;padding:12px 14px;min-height:48px}
.bim-hero-search input[type=search]::placeholder{color:var(--bim-ink-3)}
.bim-hero-search input[type=search]:focus{outline:none;box-shadow:none}
.bim-hero-search:focus-within{outline:3px solid var(--bim-brand);outline-offset:2px}
.bim-hero-search .bim-btn{border-radius:8px;flex:none}
.bim-hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 0}
.bim-hero-chips a{border:1px solid rgba(255,255,255,.4);color:#fff;border-radius:999px;padding:7px 14px;font-size:13.5px;font-weight:500;text-decoration:none;min-height:36px;display:inline-flex;align-items:center}
.bim-hero-chips a:hover{border-color:var(--bim-brand);color:#fff;background:rgba(255,98,0,.18)}
.bim-hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px;align-items:center}
.bim-hero-risk{color:#D9CDF2;font-size:13.5px;margin-top:14px}
.bim-hero-proof{display:flex;gap:28px;flex-wrap:wrap;margin-top:30px;padding-top:22px;border-top:1px solid rgba(255,255,255,.18)}
.bim-hero-proof .bim-proof-item{display:grid;gap:2px}
.bim-proof-num{font-family:var(--bim-font-display);font-weight:800;font-size:26px;color:var(--bim-brand);font-variant-numeric:tabular-nums;line-height:1.1}
.bim-proof-label{font-size:13px;color:#E9E0F7}
.bim-hero-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:30px}
.bim-hero-tiles figure{margin:0;border-radius:var(--bim-r-md);overflow:hidden;aspect-ratio:4/3;background:var(--bim-primary-deep)}
.bim-hero-tiles img{width:100%;height:100%;object-fit:cover;display:block}
.bim-hero-tiles figcaption{font-size:12px;color:#E9E0F7;padding:6px 2px 0}
@media(max-width:900px){.bim-hero-tiles{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.bim-hero{padding:36px 20px;border-radius:var(--bim-r-lg)}.bim-hero-search{flex-direction:column;gap:6px;border-radius:var(--bim-r-md)}.bim-hero-search .bim-btn{width:100%}.bim-search-tabs button{padding:10px 12px}}

/* ---------- Stat band ---------- */
.bim-stat-band{background:var(--bim-band-grad);color:#fff;border-radius:var(--bim-r-xl);padding:36px 32px;display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin:24px 0}
.bim-stat-num{font-family:var(--bim-font-display);font-weight:800;font-size:34px;color:var(--bim-brand);line-height:1.05;display:block}
.bim-stat-label{color:#E9E0F7;font-size:14.5px;display:block;margin-top:4px}
@media(max-width:700px){.bim-stat-band{grid-template-columns:1fr;padding:28px 22px}}

/* ---------- Category tiles (bento) ---------- */
.bim-cat-bento{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}
.bim-cat-tile{position:relative;display:flex;flex-direction:column;justify-content:flex-end;border-radius:var(--bim-r-lg);overflow:hidden;text-decoration:none!important;color:#fff!important;min-height:170px;background:var(--bim-primary-deep);border:1px solid var(--bim-border)}
.bim-cat-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92}
.bim-cat-tile .bim-cat-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(59,15,110,0) 30%,rgba(59,15,110,.85) 100%)}
.bim-cat-tile .bim-cat-body{position:relative;padding:16px;display:grid;gap:3px}
.bim-cat-name{font-family:var(--bim-font-display);font-weight:700;font-size:17px;line-height:1.25;color:#fff}
.bim-cat-count{font-size:13px;color:#E9E0F7;font-variant-numeric:tabular-nums}
.bim-cat-tile:hover img{transform:scale(1.03)}
.bim-cat-tile img{transition:transform var(--bim-t-base)}
.bim-cat-tile.is-large{grid-column:span 2;grid-row:span 2;min-height:356px}
.bim-cat-tile.is-large .bim-cat-name{font-size:24px}
.bim-cat-tile.is-fallback{background:var(--bim-primary-tint);color:var(--bim-ink)!important;justify-content:space-between;padding:18px}
.bim-cat-tile.is-fallback .bim-cat-initial{font-family:var(--bim-font-display);font-weight:800;font-size:44px;color:var(--bim-primary);line-height:1}
.bim-cat-tile.is-fallback .bim-cat-name{color:var(--bim-ink)}
.bim-cat-tile.is-fallback .bim-cat-count{color:var(--bim-ink-2)}
.bim-cat-tile.is-fallback .bim-cat-body{padding:0}
@media(max-width:1024px){.bim-cat-bento{grid-template-columns:repeat(3,1fr)}.bim-cat-tile.is-large{grid-column:span 2;grid-row:span 1;min-height:220px}}
@media(max-width:640px){.bim-cat-bento{grid-template-columns:repeat(2,1fr);gap:10px}.bim-cat-tile{min-height:140px}.bim-cat-tile.is-large{grid-column:span 2;min-height:180px}.bim-cat-name{font-size:15px}}

/* ---------- How it works (numbered steps) ---------- */
.bim-how{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}
.bim-how-step{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:26px 24px;background:#fff;display:grid;gap:10px;align-content:start}
.bim-how-step .bim-section-num{font-size:15px}
.bim-how-step h3{margin:0;font-size:20px}
.bim-how-step p{margin:0;color:var(--bim-ink-2);font-size:15px}
.bim-how-step .bim-how-link{font-weight:600;font-size:14.5px}
.bim-how-diagram{height:74px;display:flex;align-items:center}
@media(max-width:900px){.bim-how{grid-template-columns:1fr}}

/* ---------- Product cards (shared anatomy) ---------- */
.bim-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;list-style:none;padding:0;margin:20px 0}
.bim-pcard{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);background:#fff;overflow:hidden;display:flex;flex-direction:column;height:100%}
.bim-pcard-media{aspect-ratio:4/3;background:var(--bim-surface-sunken);display:block;overflow:hidden}
.bim-pcard-media img{width:100%;height:100%;object-fit:cover;display:block;opacity:1!important}
.bim-pcard-body{padding:16px;display:grid;gap:8px;flex:1;align-content:start}
.bim-pcard-title{font-size:15.5px;font-weight:600;line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bim-pcard-title a{color:var(--bim-ink);text-decoration:none}
.bim-pcard-title a:hover{color:var(--bim-primary)}
.bim-price-metric{font-family:var(--bim-font-display);font-weight:800;font-size:20px;line-height:1.2;color:var(--bim-ink);display:block}
.bim-price-metric .amount{font:inherit}
.bim-price-request{color:var(--bim-ink-2)}
.bim-price-basis{display:block;font-size:12.5px;color:var(--bim-ink-2);font-weight:500}
.bim-pcard-supplier{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--bim-ink-2)}
.bim-pcard-supplier a{color:var(--bim-ink);font-weight:600;text-decoration:none}
.bim-pcard-ctas{margin-top:auto;display:flex;gap:8px;padding:0 16px 16px}
.bim-pcard-ctas .bim-btn{flex:1;padding-left:10px;padding-right:10px}
.bim-pcard-trust{display:flex;gap:6px;flex-wrap:wrap}

/* WooCommerce loop alignment (Blocksy/Woo grids) */
.bim-marketplace ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.bim-marketplace ul.products li.product{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);background:#fff;padding:0 0 16px!important;overflow:hidden;display:flex;flex-direction:column;margin:0!important;width:auto!important;float:none!important}
.bim-marketplace ul.products li.product>a.woocommerce-LoopProduct-link:first-child{display:block}
.bim-marketplace ul.products li.product img{aspect-ratio:4/3;object-fit:cover;width:100%;height:auto;display:block;margin:0!important}
.bim-marketplace ul.products li.product .woocommerce-loop-product__title{font-size:15.5px;font-weight:600;color:var(--bim-ink);padding:14px 16px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}
.bim-marketplace ul.products li.product .price{padding:6px 16px 0;color:var(--bim-ink);font-family:var(--bim-font-display);font-weight:800;font-size:19px;font-variant-numeric:tabular-nums}
.bim-marketplace ul.products li.product .price del{color:var(--bim-ink-3);font-weight:500;font-size:14px}
.bim-marketplace ul.products li.product .price ins,.bim-product-page .price ins{color:var(--bim-brand-text);text-decoration:none}
.bim-marketplace ul.products li.product .bim-card-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 16px 0;font-size:13px;color:var(--bim-ink-2)}
.bim-marketplace ul.products li.product .bim-card-supplier{font-weight:600;color:var(--bim-ink);text-decoration:none}
.bim-marketplace ul.products li.product .bim-loop-vendor{display:none}
.bim-marketplace ul.products li.product .button{margin:12px 16px 0;min-height:44px;display:inline-flex;align-items:center;justify-content:center;background:var(--bim-primary);color:#fff;border-radius:var(--bim-r-md);font-weight:600;padding:10px 16px}
.bim-marketplace ul.products li.product .button:hover{background:var(--bim-primary-deep);color:#fff}
.bim-marketplace ul.products li.product .added_to_cart{margin:6px 16px 0;font-weight:600}
.bim-marketplace ul.products li.product .star-rating{margin:6px 16px 0;color:#E45700}
@media(max-width:560px){.bim-marketplace ul.products{grid-template-columns:repeat(2,1fr);gap:12px}.bim-product-grid{grid-template-columns:repeat(2,1fr);gap:12px}.bim-pcard-ctas{flex-direction:column}}
@media(max-width:380px){.bim-marketplace ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bim-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* ---------- Supplier cards (directory list-rows) ---------- */
.bim-dir-list{display:grid;gap:14px;margin:20px 0}
.bim-supplier-card{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);background:#fff;padding:20px;display:grid;grid-template-columns:56px 1fr auto;gap:18px;align-items:start}
.bim-supplier-main{display:grid;gap:6px;min-width:0}
.bim-supplier-name{font-size:16.5px;font-weight:600;margin:0;line-height:1.3;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bim-supplier-loc{font-size:14px;color:var(--bim-ink-2)}
.bim-supplier-focus{font-size:14px;color:var(--bim-ink-2);margin:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.bim-supplier-metrics{display:flex;gap:16px;flex-wrap:wrap;font-size:13.5px;color:var(--bim-ink-2);font-variant-numeric:tabular-nums}
.bim-supplier-metrics strong{color:var(--bim-ink);font-weight:600}
.bim-supplier-actions{display:grid;gap:8px;justify-items:stretch}
.bim-supplier-actions .bim-btn{min-width:190px}
.bim-supplier-cat{font-size:12.5px;color:var(--bim-brand-text);font-weight:600;text-transform:uppercase;letter-spacing:.05em}
@media(max-width:760px){.bim-supplier-card{grid-template-columns:48px 1fr;padding:16px}.bim-supplier-actions{grid-column:1/-1}.bim-supplier-actions .bim-btn{min-width:0;width:100%}}

/* Directory toolbar */
.bim-dir-toolbar{position:sticky;top:0;z-index:50;background:#fff;border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:14px;margin:0 0 20px;display:grid;gap:12px}
.bim-dir-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:end}
.bim-dir-filters .bim-field{display:grid;gap:5px;flex:1 1 180px}
.bim-dir-filters label{font-size:12.5px;font-weight:600;color:var(--bim-ink-2)}
.bim-dir-filters input,.bim-dir-filters select{min-height:48px;padding:10px 12px;border:1.5px solid var(--bim-border-strong);border-radius:var(--bim-r-md);font:inherit;font-size:15px;background:#fff;color:var(--bim-ink);width:100%}
.bim-dir-filters input::placeholder{color:var(--bim-ink-3)}
.bim-mode-toggle{display:inline-flex;border:1.5px solid var(--bim-primary);border-radius:999px;overflow:hidden}
.bim-mode-toggle a{padding:9px 18px;font-weight:600;font-size:14px;color:var(--bim-primary);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.bim-mode-toggle a[aria-current="page"]{background:var(--bim-primary);color:#fff}
.bim-dir-note{font-size:13.5px;color:var(--bim-ink-2);background:var(--bim-surface);border:1px solid var(--bim-border);border-radius:var(--bim-r-md);padding:10px 14px}
.bim-pagination{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0;align-items:center}
.bim-pagination a,.bim-pagination span{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid var(--bim-border);border-radius:var(--bim-r-sm);text-decoration:none;color:var(--bim-ink);font-weight:500;background:#fff}
.bim-pagination .current{background:var(--bim-primary);color:#fff;border-color:var(--bim-primary)}
.bim-empty-state{border:1.5px dashed var(--bim-border);border-radius:var(--bim-r-lg);padding:36px 24px;text-align:center;background:var(--bim-surface)}
.bim-empty-state h3{margin:0 0 8px}
.bim-empty-state p{color:var(--bim-ink-2);margin:0 auto 16px;max-width:46ch}

/* Store cards (home rail + store directory) */
.bim-store-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.bim-store-card{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:20px;background:#fff;display:grid;gap:10px;align-content:start}
.bim-store-card-head{display:flex;gap:12px;align-items:center}
.bim-store-card h3{margin:0;font-size:16.5px}
.bim-store-card h3 a{color:var(--bim-ink);text-decoration:none}
.bim-store-meta{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.bim-founding-band{background:var(--bim-band-grad);color:#fff;border-radius:var(--bim-r-xl);padding:36px 32px;display:grid;gap:14px}
.bim-founding-band h3{color:#fff;margin:0}
.bim-founding-band p{color:#E9E0F7;margin:0;max-width:62ch}

/* ---------- RFQ cards ---------- */
.bim-rfq-list{display:grid;gap:14px;margin:20px 0}
.bim-rfq-card{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:20px;background:#fff;display:grid;gap:10px}
.bim-rfq-card h3{margin:0;font-size:17px}
.bim-rfq-metrics{display:flex;gap:22px;flex-wrap:wrap}
.bim-rfq-metric{display:grid;gap:1px}
.bim-rfq-metric .bim-rfq-metric-num{font-family:var(--bim-font-display);font-weight:800;font-size:19px;font-variant-numeric:tabular-nums}
.bim-rfq-metric .bim-rfq-metric-label{font-size:12px;color:var(--bim-ink-2);text-transform:uppercase;letter-spacing:.05em;font-weight:600}
.bim-rfq-card .bim-rfq-body{color:var(--bim-ink-2);font-size:14.5px}
.bim-rfq-card .bim-rfq-body p{margin:0}
.bim-rfq-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.bim-example-tag{background:var(--bim-surface-sunken);border:1px solid var(--bim-border);color:var(--bim-ink-2);border-radius:999px;padding:2px 10px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.bim-rfq-landing-hero{background:var(--bim-band-grad);color:#fff;border-radius:var(--bim-r-xl);padding:44px 36px;margin:20px 0}
.bim-rfq-landing-hero h2{color:#fff;margin:8px 0 12px}
.bim-rfq-landing-hero p{color:#E9E0F7;max-width:60ch}
@media(max-width:640px){.bim-rfq-landing-hero{padding:30px 20px}}

/* ---------- Tier / service cards + matrix ---------- */
.bim-tiers{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin:24px 0;align-items:stretch}
.bim-tier{border:1.5px solid var(--bim-primary-border);border-radius:var(--bim-r-lg);padding:28px 26px;background:#fff;display:flex;flex-direction:column;gap:12px}
.bim-tier.is-featured{border:2px solid var(--bim-brand);box-shadow:var(--bim-shadow)}
.bim-tier h3{margin:0;font-size:21px}
.bim-tier .bim-tier-promise{color:var(--bim-ink-2);font-size:15px;margin:0}
.bim-tier .bim-price{font-family:var(--bim-font-display);font-weight:800;font-size:26px;font-variant-numeric:tabular-nums;color:var(--bim-primary)}
.bim-tier.is-featured .bim-price{color:var(--bim-brand-text)}
.bim-tier .bim-price-basis{font-size:13px}
.bim-tier ul{margin:0;padding-left:20px;display:grid;gap:7px;font-size:15px;color:var(--bim-ink)}
.bim-tier .bim-tier-foot{margin-top:auto;display:grid;gap:10px}
.bim-matrix{width:100%;border-collapse:collapse;margin:20px 0;border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);overflow:hidden}
.bim-matrix th,.bim-matrix td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--bim-border);font-size:14.5px;vertical-align:top}
.bim-matrix thead th{background:var(--bim-primary-tint);font-family:var(--bim-font-display);font-size:15px;color:var(--bim-primary-deep)}
.bim-matrix tbody th{font-weight:600;color:var(--bim-ink)}
.bim-matrix td{color:var(--bim-ink-2)}
.bim-matrix .bim-yes{color:var(--bim-ink);font-weight:600}
@media(max-width:860px){.bim-tiers{grid-template-columns:1fr}.bim-matrix th,.bim-matrix td{padding:10px 10px;font-size:13.5px}}

/* Calculator */
.bim-calc{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);background:var(--bim-surface);padding:26px;display:grid;gap:14px}
.bim-calc-result{font-family:var(--bim-font-display);font-weight:800;font-size:24px;font-variant-numeric:tabular-nums}
.bim-calc .bim-calc-line{color:var(--bim-ink-2);font-size:15px}

/* FAQ */
.bim-faq{display:grid;gap:10px;margin:20px 0}
.bim-faq details{border:1px solid var(--bim-border);border-radius:var(--bim-r-md);background:#fff}
.bim-faq summary{cursor:pointer;padding:16px 18px;font-weight:600;font-size:15.5px;min-height:48px;display:flex;align-items:center}
.bim-faq details p{padding:0 18px 16px;margin:0;color:var(--bim-ink-2);font-size:15px}

/* ---------- Storefront ---------- */
.bim-store{max-width:var(--bim-container);margin:0 auto;padding:0 var(--bim-gutter) 64px;width:100%;box-sizing:border-box}
.bim-store-hero{border-radius:var(--bim-r-xl);overflow:hidden;background:var(--bim-band-grad);color:#fff;margin:24px 0;position:relative}
.bim-store-hero-media{position:absolute;inset:0}
.bim-store-hero-media img{width:100%;height:100%;object-fit:cover;opacity:.45}
.bim-store-hero-body{position:relative;padding:44px 36px;display:grid;gap:14px}
.bim-store-hero h1{color:#fff;margin:0;font-size:clamp(28px,4vw,40px)}
.bim-store-hero .bim-store-specialism{color:#E9E0F7;font-size:16px;max-width:60ch;margin:0}
.bim-store-trust{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.bim-store-hero .bim-chip{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.35)}
.bim-store-hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px}
.bim-store-logo{width:76px;height:76px;border-radius:var(--bim-r-md);object-fit:cover;border:2px solid #fff;background:#fff}
.bim-store-stickybar{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--bim-border);padding:10px 0;display:flex;gap:12px;align-items:center;justify-content:space-between}
/* Mobile already has hero CTA + fixed bottom bar: no third Chat button. */
@media(max-width:767px){.bim-store-stickybar{display:none!important}}
.bim-store-stickybar .bim-store-sticky-name{font-weight:700;font-family:var(--bim-font-display)}
.bim-store-cats{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.bim-store-cats a{border:1.5px solid var(--bim-primary);border-radius:999px;padding:8px 16px;font-weight:600;font-size:14px;color:var(--bim-primary);text-decoration:none;min-height:40px;display:inline-flex;align-items:center}
.bim-store-cats a:hover{background:var(--bim-primary-tint)}
.bim-store-announcement{background:var(--bim-brand-tint);border:1px solid var(--bim-brand);border-radius:var(--bim-r-md);padding:12px 16px;font-weight:600;margin:16px 0}
.bim-verify-panel{border:1.5px solid var(--bim-primary);border-radius:var(--bim-r-lg);padding:26px;background:#fff;display:grid;gap:14px;margin:24px 0}
.bim-verify-panel h3{margin:0}
.bim-verify-checks{display:grid;gap:10px;list-style:none;padding:0;margin:0}
.bim-verify-checks li{display:flex;gap:10px;align-items:flex-start;font-size:15px}
.bim-verify-checks .bim-check-ic{flex:none;width:24px;height:24px;border-radius:50%;background:var(--bim-primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}
.bim-verify-checks .bim-check-pending{background:var(--bim-surface-sunken);color:var(--bim-ink-2);border:1px solid var(--bim-border)}
.bim-profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:20px 0}
.bim-profile-field{border:1px solid var(--bim-border);border-radius:var(--bim-r-md);padding:14px 16px;background:var(--bim-surface)}
.bim-profile-field .bim-profile-label{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--bim-ink-2);display:block;margin-bottom:4px}
.bim-profile-field .bim-profile-value{font-size:15.5px;font-weight:600}
.bim-store-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:24px 0}
.bim-widget{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:18px;background:#fff}
.bim-widget h4{margin:0 0 12px;font-size:16px}
.bim-widget ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.bim-widget a{color:var(--bim-ink);text-decoration:none;font-weight:500}
.bim-widget a:hover{color:var(--bim-brand-text);text-decoration:underline}
.bim-store-reviews{margin:28px 0}
.bim-review{border:1px solid var(--bim-border);border-radius:var(--bim-r-md);padding:16px;margin:10px 0;background:#fff}
.bim-review .bim-stars{color:#E45700;font-weight:700;letter-spacing:2px}
.bim-rating{font-weight:700}
@media(max-width:640px){.bim-store-hero-body{padding:30px 0}}

/* ---------- Product page ---------- */
.bim-product-page .woocommerce-product-gallery{border-radius:var(--bim-r-lg);overflow:hidden}
.bim-product-page .woocommerce-product-gallery__image img{aspect-ratio:4/3;object-fit:cover;width:100%}
.bim-product-page .flex-control-thumbs{display:flex;gap:8px;margin-top:8px}
.bim-product-page .flex-control-thumbs li{width:72px}
.bim-product-page .flex-control-thumbs img{aspect-ratio:1/1;object-fit:cover;border-radius:var(--bim-r-sm);border:1px solid var(--bim-border)}
.bim-product-page .product_title{font-family:var(--bim-font-display);font-weight:700;font-size:28px;line-height:1.2;color:var(--bim-ink)}
.bim-product-page .price{font-family:var(--bim-font-display);font-weight:800;font-size:24px;color:var(--bim-ink);font-variant-numeric:tabular-nums}
.bim-product-page .price del{color:var(--bim-ink-3);font-size:16px}
.bim-tier-table{width:100%;border-collapse:collapse;margin:12px 0;border:1px solid var(--bim-border);border-radius:var(--bim-r-md);overflow:hidden}
.bim-tier-table th,.bim-tier-table td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--bim-border);font-variant-numeric:tabular-nums}
.bim-tier-table thead th{background:var(--bim-primary-tint);font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--bim-primary-deep)}
.bim-from-price{font-family:var(--bim-font-display);font-weight:800;font-size:24px}
.bim-price-on-request{font-family:var(--bim-font-display);font-weight:800;font-size:22px;color:var(--bim-ink-2)}
.bim-moq{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0}
.bim-b2b-ctas{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 10px}
.bim-b2b-ctas .bim-btn{flex:1 1 200px}
.bim-b2b-note{font-size:14px;color:var(--bim-ink-2);background:var(--bim-surface);border:1px solid var(--bim-border);border-radius:var(--bim-r-md);padding:10px 14px}
.bim-quote-panel{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:20px;background:var(--bim-surface);margin:12px 0}
.bim-trust-row{list-style:none;padding:0;margin:16px 0;display:grid;gap:8px;font-size:14px}
.bim-trust-row li{display:flex;gap:8px;align-items:center}
.bim-trust-row li::before{content:"✓";flex:none;width:20px;height:20px;border-radius:50%;background:var(--bim-primary);color:#fff;font-weight:800;font-size:11px;display:inline-flex;align-items:center;justify-content:center}
.bim-vendor-box{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);background:#fff;padding:18px;margin:18px 0;display:grid;gap:10px}
.bim-vendor-box-head{display:flex;gap:12px;align-items:center}
.bim-vendor-box-name{font-weight:700;font-size:16px}
.bim-vendor-box-name a{color:var(--bim-ink);text-decoration:none}
.bim-vendor-box-sub{font-size:13.5px;color:var(--bim-ink-2)}
.bim-spec-section{margin:36px 0}
.bim-spec-table{width:100%;border-collapse:collapse;border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);overflow:hidden}
.bim-spec-table th,.bim-spec-table td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--bim-border);font-size:14.5px;vertical-align:top}
.bim-spec-table th{background:var(--bim-primary-tint);font-weight:600;width:34%;color:var(--bim-primary-deep)}
.bim-spec-table td{color:var(--bim-ink-2)}
@media(max-width:640px){.bim-spec-table th,.bim-spec-table td{display:block;width:auto}.bim-spec-table th{border-bottom:none;padding-bottom:2px}.bim-spec-table td{padding-top:2px}}
.bim-product-page .woocommerce-tabs .tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:2px solid var(--bim-border)}
.bim-product-page .woocommerce-tabs .tabs li a{padding:12px 16px;font-weight:600;color:var(--bim-ink-2)!important;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.bim-product-page .woocommerce-tabs .tabs li a:hover{color:var(--bim-primary)!important}
.bim-product-page .woocommerce-tabs .tabs li.active a{color:var(--bim-primary-deep)!important;box-shadow:inset 0 -3px 0 var(--bim-brand)}
/* Product tabs: active tab shows ONLY the orange underline.
   The persistent thin blue line beneath the underline survived
   two override rounds because Blocksy paints tab rules from its
   palette variables (--theme-palette-color-1, default blue) on
   painters the earlier rounds did not cover: the list ::after
   rule, link ::before/::after underlines, and the tab PANEL's
   top border (the panel sits directly under the tab row, so its
   accent border reads as a line beneath the active underline).
   Fixed at the source (palette variables reset to purple/orange
   in the v1.2.0 block below) AND by covering every painter here:
   list, list ::before/::after, li, li ::before/::after, link,
   link ::before/::after, container and panel borders/shadows. */
.woocommerce div.product .woocommerce-tabs{border:0!important;box-shadow:none!important;background:transparent!important}
.woocommerce div.product .woocommerce-tabs ul.tabs{border:0!important;border-bottom:2px solid var(--bim-border)!important;box-shadow:none!important;background:transparent!important}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs::after{border:0!important;border-bottom:2px solid var(--bim-border)!important;box-shadow:none!important;background:transparent!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0!important;box-shadow:none!important;background:transparent!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{border:0!important;box-shadow:none!important;background:transparent!important;content:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--bim-ink-2)!important;border:0!important;box-shadow:none!important;background:transparent!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a::before,.woocommerce div.product .woocommerce-tabs ul.tabs li a::after{border:0!important;box-shadow:none!important;background:transparent!important;content:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--bim-primary)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border:0!important;box-shadow:none!important;background:transparent!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--bim-primary-deep)!important;background:transparent!important;border:0!important;box-shadow:inset 0 -3px 0 var(--bim-brand)!important}
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel,.woocommerce div.product .woocommerce-tabs .panel{border:0!important;border-top:0!important;box-shadow:none!important;background:transparent!important}
.bim-product-page .related>h2,.bim-product-page .upsells>h2{font-size:24px}
.bim-sticky-bar{display:none}
@media(max-width:767px){
	.bim-sticky-bar{display:flex;gap:8px;position:fixed;left:0;right:0;bottom:52px;z-index:9980;background:#fff;border-top:1px solid var(--bim-border);padding:10px 12px calc(10px + env(safe-area-inset-bottom))}
	.bim-sticky-bar .bim-btn{flex:1}
	.bim-product-page .woocommerce-product-gallery__image img{max-height:60vh}
	.bim-product-page .product_title{font-size:23px}
}
.bim-qa{border-top:1px solid var(--bim-border);margin-top:28px;padding-top:20px}
.bim-qa-item{border:1px solid var(--bim-border);border-radius:var(--bim-r-md);padding:14px 16px;margin:10px 0;background:#fff}
.bim-qa-item p{margin:4px 0}

/* ---------- Deal gate modal ---------- */
.bim-modal{position:fixed;inset:0;background:rgba(32,17,58,.66);z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px}
.bim-modal[hidden]{display:none}
.bim-modal-box{background:#fff;color:var(--bim-ink);max-width:620px;width:100%;max-height:92vh;overflow:auto;border-radius:var(--bim-r-lg);padding:30px 28px;position:relative;box-shadow:var(--bim-shadow)}
.bim-modal-box h2{font-size:23px;line-height:1.25;margin:0 36px 12px 0}
.bim-modal-close{position:absolute;top:10px;right:12px;background:none;border:0;font-size:28px;line-height:1;cursor:pointer;color:var(--bim-ink-2);width:44px;height:44px}
.bim-deal-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}
.bim-involve-panel{border:2px solid var(--bim-brand);background:var(--bim-brand-tint);border-radius:var(--bim-r-lg);padding:20px;display:flex;flex-direction:column;gap:10px}
.bim-skip-panel{border:1.5px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:20px;display:flex;flex-direction:column;gap:10px;background:#fff}
.bim-involve-panel h3,.bim-skip-panel h3{margin:0;font-size:17px}
.bim-involve-panel ul{margin:0;padding-left:18px;display:grid;gap:5px;font-size:14px}
.bim-deal-fee{font-family:var(--bim-font-display);font-weight:800;font-size:20px;font-variant-numeric:tabular-nums}
.bim-risk{color:#7A0B0B;font-size:13.5px;margin:0}
.bim-involve-panel .bim-btn,.bim-skip-panel .bim-btn{margin-top:auto;width:100%}
.bim-deal-agree-box{border-top:1px solid var(--bim-border);padding-top:14px;display:grid;gap:10px}
@media(max-width:640px){.bim-deal-options{grid-template-columns:1fr}.bim-modal-box{padding:24px 18px}}

/* ---------- Chat ---------- */
.bim-inbox{display:grid;gap:18px}
.bim-chat-layout{display:grid;grid-template-columns:320px 1fr;gap:20px;align-items:start}
.bim-thread-list{list-style:none;padding:0;margin:0;border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);overflow:hidden;background:#fff}
.bim-thread-list li{border-bottom:1px solid var(--bim-border)}
.bim-thread-list li:last-child{border-bottom:none}
.bim-thread-list a{display:flex;gap:12px;align-items:center;padding:14px 16px;text-decoration:none;color:var(--bim-ink);min-height:56px}
.bim-thread-list a:hover{background:var(--bim-surface)}
.bim-thread-list a[aria-current="page"]{background:var(--bim-primary-tint)}
.bim-thread-list .bim-thread-name{font-weight:600;font-size:15px;display:block}
.bim-thread-list .bim-thread-subject{font-size:13px;color:var(--bim-ink-2);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}
.bim-thread{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);background:#fff;overflow:hidden;display:flex;flex-direction:column}
.bim-thread-head{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--bim-border);padding:14px 18px;display:flex;gap:12px;align-items:center;z-index:5}
.bim-thread-head .bim-thread-party{font-weight:700;font-size:15.5px}
.bim-thread-head .bim-thread-sub{font-size:13px;color:var(--bim-ink-2)}
.bim-thread-back{font-weight:600;font-size:14px;text-decoration:none;white-space:nowrap}
.bim-messages{max-height:520px;overflow:auto;padding:18px;background:var(--bim-surface);display:flex;flex-direction:column;gap:10px}
.bim-message{margin:0;padding:11px 14px;border-radius:var(--bim-r-md);background:#fff;border:1px solid var(--bim-border);max-width:78%;align-self:flex-start}
.bim-message.bim-mine{background:var(--bim-primary-tint-2);border-color:var(--bim-primary-border);align-self:flex-end}
.bim-message-meta{display:block;font-size:11.5px;color:var(--bim-ink-3);font-variant-numeric:tabular-nums}
.bim-message p{margin:3px 0 0;font-size:15px;line-height:1.5;overflow-wrap:break-word}
.bim-system-message{align-self:center;background:#fff;border:1px dashed var(--bim-border);color:var(--bim-ink-2);font-size:13px;max-width:92%}
.bim-send-form{display:grid;gap:8px;padding:14px 16px;border-top:1px solid var(--bim-border);background:#fff}
.bim-send-form textarea{width:100%;min-height:52px;border:1.5px solid var(--bim-border-strong);border-radius:var(--bim-r-md);padding:12px 14px;font:inherit;font-size:16px;box-sizing:border-box;resize:vertical}
.bim-send-form textarea::placeholder{color:var(--bim-ink-3)}
.bim-send-row{display:flex;gap:10px;align-items:center;justify-content:space-between}
.bim-send-hint{font-size:12.5px;color:var(--bim-ink-2)}
.bim-contact-card{border:1.5px solid var(--bim-brand);background:var(--bim-brand-tint);border-radius:var(--bim-r-lg);padding:18px;display:grid;gap:8px;margin:14px 16px}
.bim-contact-details{display:block;font-weight:600}
@media(max-width:860px){.bim-chat-layout{grid-template-columns:1fr}.bim-chat-layout.has-thread .bim-thread-list{display:none}.bim-message{max-width:92%}}

/* ---------- Dashboards / account ---------- */
.bim-bento{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:20px 0 28px}
.bim-bento-tile{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:20px;background:#fff;display:grid;gap:4px;align-content:start}
.bim-bento-num{font-family:var(--bim-font-display);font-weight:800;font-size:30px;line-height:1.1;font-variant-numeric:tabular-nums}
.bim-bento-label{font-size:13.5px;color:var(--bim-ink-2);font-weight:600}
.bim-bento-action{font-weight:600;font-size:14px;margin-top:6px}
.bim-bento-cta{background:var(--bim-band-grad);border-color:var(--bim-primary);color:#fff}
.bim-bento-cta .bim-bento-label{color:#E9E0F7;font-size:16px}
.bim-stats{display:flex;flex-wrap:wrap;gap:12px;list-style:none;padding:0;margin:16px 0}
.bim-stats li{background:var(--bim-surface-sunken);border:1px solid var(--bim-border);border-radius:var(--bim-r-md);padding:12px 16px;font-weight:600;font-variant-numeric:tabular-nums}
.bim-dashboard h2{margin-bottom:6px}
.bim-table{width:100%;border-collapse:collapse;margin:16px 0;border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);overflow:hidden}
.bim-table th,.bim-table td{border-bottom:1px solid var(--bim-border);padding:11px 14px;text-align:left;vertical-align:top;font-size:14.5px;font-variant-numeric:tabular-nums}
.bim-table thead th{background:var(--bim-primary-tint);font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--bim-primary-deep)}
.bim-account-page .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);overflow:hidden;background:#fff}
.bim-account-page .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--bim-border)}
.bim-account-page .woocommerce-MyAccount-navigation li:last-child{border-bottom:none}
.bim-account-page .woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:48px;padding:12px 16px;color:var(--bim-ink);text-decoration:none;font-weight:500;font-size:15px}
.bim-account-page .woocommerce-MyAccount-navigation a:hover{background:var(--bim-surface)}
.bim-account-page .woocommerce-MyAccount-navigation .is-active a{background:var(--bim-primary-tint);font-weight:700;box-shadow:inset 3px 0 0 var(--bim-primary)}
.bim-account-page .woocommerce-MyAccount-content h2,.bim-account-page .woocommerce-MyAccount-content h3{font-size:22px}
.bim-account-page table.shop_table{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);overflow:hidden}
.bim-account-page table.shop_table th{background:var(--bim-primary-tint);color:var(--bim-primary-deep)}
.bim-account-page table.shop_table th,.bim-account-page table.shop_table td{padding:11px 14px;font-size:14.5px}
.bim-status-chip{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:3px 10px;font-size:12.5px;font-weight:700;border:1px solid var(--bim-border);background:var(--bim-surface-sunken);color:var(--bim-ink)}
.bim-status-chip.is-amber{background:var(--bim-brand-tint);border-color:var(--bim-brand);color:var(--bim-ink)}
.bim-status-chip.is-green{background:#E6F4EC;border-color:var(--bim-success);color:#0B4D33}
.bim-status-chip.is-red{background:var(--bim-error-bg);border-color:var(--bim-error);color:#7A0B0B}
@media(max-width:640px){.bim-table th,.bim-table td{padding:9px 8px;font-size:13.5px}}

/* ---------- Policies (editorial) ---------- */
.bim-policies-layout{display:grid;grid-template-columns:250px 1fr;gap:36px;align-items:start;margin:24px 0}
.bim-policies-toc{position:sticky;top:24px;border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:18px;background:var(--bim-surface)}
.bim-policies-toc h3{margin:0 0 12px;font-size:15px}
.bim-policies-toc ol{margin:0;padding-left:20px;display:grid;gap:8px;font-size:14px}
.bim-policies-toc a{color:var(--bim-ink);text-decoration:none;font-weight:500}
.bim-policies-toc a:hover{color:var(--bim-brand-text);text-decoration:underline}
.bim-policies-body{max-width:68ch}
.bim-policies-body h2{margin:1.8em 0 .6em;font-size:24px;scroll-margin-top:24px}
.bim-policies-body h2:first-of-type{margin-top:.4em}
.bim-clauses li{margin:.55em 0;font-size:15.5px;line-height:1.65}
.bim-policy-summary{background:var(--bim-surface);border:1px solid var(--bim-border);border-radius:var(--bim-r-md);padding:12px 16px;font-size:14.5px;color:var(--bim-ink-2);margin-bottom:14px}
.bim-policy-updated{font-size:13.5px;color:var(--bim-ink-2);font-weight:600}
@media(max-width:860px){.bim-policies-layout{grid-template-columns:1fr}.bim-policies-toc{position:static}}

/* ---------- Sell page ---------- */
.bim-sell-hero{background:var(--bim-band-grad);color:#fff;border-radius:var(--bim-r-xl);padding:48px 38px;margin:24px 0}
.bim-sell-hero h1{color:#fff;margin:10px 0 12px}
.bim-sell-hero p{color:#E9E0F7;max-width:62ch}
.bim-benefits{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:24px 0}
.bim-benefit{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:22px;background:#fff;display:grid;gap:8px;align-content:start}
.bim-benefit h3{margin:0;font-size:17px}
.bim-benefit p{margin:0;color:var(--bim-ink-2);font-size:14.5px}
.bim-fee-table{width:100%;border-collapse:collapse;margin:16px 0;border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);overflow:hidden}
.bim-fee-table th,.bim-fee-table td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--bim-border);font-size:14.5px;font-variant-numeric:tabular-nums}
.bim-fee-table thead th{background:var(--bim-primary-tint);color:var(--bim-primary-deep)}
.bim-register-wrap{border:1px solid var(--bim-border);border-radius:var(--bim-r-xl);padding:30px;background:#fff;margin:24px 0}
@media(max-width:640px){.bim-sell-hero{padding:32px 20px}.bim-register-wrap{padding:20px 16px}}

/* ---------- Secure deal ---------- */
.bim-secure-hero{background:var(--bim-band-grad);color:#fff;border-radius:var(--bim-r-xl);padding:48px 38px;margin:24px 0}
.bim-secure-hero h1{color:#fff;margin:10px 0 12px}
.bim-secure-hero p{color:#E9E0F7;max-width:62ch}
.bim-secure-hero .bim-price{color:var(--bim-brand)}
.bim-mechanism{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}
.bim-mech-step{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:20px;background:#fff;display:grid;gap:8px;align-content:start}
.bim-mech-step h3{margin:0;font-size:16.5px}
.bim-mech-step p{margin:0;color:var(--bim-ink-2);font-size:14px}
.bim-mech-diagram{height:64px;display:flex;align-items:center}
.bim-fee-guidance{background:var(--bim-brand-tint);border:1px solid var(--bim-brand);border-radius:var(--bim-r-md);padding:12px 16px;font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:1024px){.bim-mechanism{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.bim-mechanism{grid-template-columns:1fr}.bim-secure-hero{padding:32px 20px}}

/* ---------- Home extras ---------- */
.bim-home section{margin-top:0;margin-bottom:0}
.bim-home .bim-section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.bim-home .bim-section-head h2{margin:6px 0 0}
.bim-flow-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:20px 0}
.bim-flow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:16px 18px;background:#fff;font-weight:600}
.bim-flow-via{background:var(--bim-primary);color:#fff;border-radius:var(--bim-r-sm);padding:3px 9px;font-size:12.5px;font-weight:700}
.bim-flow-arrow{color:var(--bim-brand-text);font-weight:800}
.bim-rfq-preview{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.bim-countries-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:20px 0}
.bim-country-group{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:18px;background:#fff}
.bim-country-group h3{margin:0 0 10px;font-size:15px;text-transform:uppercase;letter-spacing:.05em;color:var(--bim-ink-2)}
.bim-country-group p{margin:0;font-size:15px;line-height:1.7}
.bim-secure-band{background:var(--bim-band-grad);color:#fff;border-radius:var(--bim-r-xl);padding:40px 34px;display:grid;gap:16px}
.bim-secure-band h2{color:#fff;margin:0}
.bim-secure-band p{color:#E9E0F7;max-width:62ch;margin:0}
.bim-secure-band .bim-price{color:var(--bim-brand);font-family:var(--bim-font-display);font-weight:800;font-size:22px}

/* ---------- Motion ---------- */
.bim-reveal{opacity:0;transform:translateY(14px);transition:opacity var(--bim-t-slow) ease,transform var(--bim-t-slow) ease;animation:bim-reveal-failsafe .6s ease 1.6s forwards}
@keyframes bim-reveal-failsafe{to{opacity:1;transform:none}}
.bim-reveal.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
	.bim-marketplace *, .bim-modal *{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
	.bim-reveal{opacity:1;transform:none}
	.bim-cat-tile:hover img{transform:none}
}

/* ---------- Shop / generic WooCommerce polish ---------- */
.bim-marketplace .woocommerce-ordering select,.bim-marketplace .woocommerce-result-count{font-size:14.5px;color:var(--bim-ink-2)}
.bim-marketplace .woocommerce-ordering select{min-height:44px;border:1.5px solid var(--bim-border-strong);border-radius:var(--bim-r-sm);padding:8px 10px;background:#fff;color:var(--bim-ink)}
.bim-marketplace .woocommerce-pagination ul{display:flex;gap:8px;list-style:none;padding:0}
.bim-marketplace .woocommerce-pagination a,.bim-marketplace .woocommerce-pagination span{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--bim-border);border-radius:var(--bim-r-sm);padding:8px 12px;background:#fff;color:var(--bim-ink)}
.bim-marketplace .woocommerce-pagination .current{background:var(--bim-primary);color:#fff}
.bim-marketplace .woocommerce-message,.bim-marketplace .woocommerce-info{background:var(--bim-primary-tint);border-top:3px solid var(--bim-primary);color:var(--bim-ink);border-radius:var(--bim-r-sm)}
.bim-marketplace .woocommerce-error{background:var(--bim-error-bg);border-top:3px solid var(--bim-error);color:#7A0B0B;border-radius:var(--bim-r-sm)}
.bim-marketplace .woocommerce form .form-row input.input-text,.bim-marketplace .woocommerce form .form-row textarea,.bim-marketplace .woocommerce form .form-row select{min-height:48px;border:1.5px solid var(--bim-border-strong);border-radius:var(--bim-r-md);padding:11px 13px;font-size:16px}
.bim-marketplace .woocommerce .button,.bim-marketplace .woocommerce button.button,.bim-marketplace .woocommerce input.button{background:var(--bim-primary);color:#fff;border-radius:var(--bim-r-md);min-height:48px;font-weight:600;padding:12px 20px}
.bim-marketplace .woocommerce .button:hover{background:var(--bim-primary-deep);color:#fff}
.bim-marketplace .woocommerce .button.alt{background:var(--bim-brand);color:var(--bim-ink)}
.bim-marketplace .woocommerce .button.alt:hover{background:var(--bim-brand-hover);color:var(--bim-ink)}
.bim-marketplace .quantity .qty{min-height:48px;border:1.5px solid var(--bim-border-strong);border-radius:var(--bim-r-sm);font-variant-numeric:tabular-nums}
.bim-marketplace .single_add_to_cart_button{min-height:52px}
.bim-marketplace .woocommerce .star-rating{color:#E45700}
.bim-marketplace .onsale{background:var(--bim-brand)!important;color:var(--bim-ink)!important;font-weight:700;border-radius:999px}

/* ---------- Design patch: steppers, reviews, misc ---------- */
.bim-step-progress-text{font-weight:700;font-size:14px;color:var(--bim-ink-2);margin:0 0 8px;font-variant-numeric:tabular-nums}
.bim-step-bar{height:8px;background:var(--bim-surface-sunken);border-radius:999px;overflow:hidden;margin-bottom:12px}
.bim-step-bar span{display:block;height:100%;background:var(--bim-brand);border-radius:999px;transition:width var(--bim-t-med) ease}
.bim-step-list{display:flex;gap:8px;list-style:none;margin:0 0 20px;padding:0;flex-wrap:wrap}
.bim-step-list li{font-size:13px;font-weight:600;color:var(--bim-ink-3);border:1px solid var(--bim-border);border-radius:999px;padding:6px 12px;background:#fff}
.bim-step-list li[aria-current="step"]{color:var(--bim-primary);border-color:var(--bim-primary);background:var(--bim-primary-tint)}
.bim-stepper-on .bim-step-panel{display:none}
.bim-stepper-on .bim-step-panel.is-active{display:grid}
.bim-review-row{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--bim-border);font-size:15px}
.bim-review-row:last-child{border-bottom:none}
.bim-review-row span{color:var(--bim-ink-2);font-weight:600}
.bim-badge-verified{background:var(--bim-primary);border-color:var(--bim-primary);color:#fff}
.bim-price-per{font-size:14px;font-weight:600;color:var(--bim-ink-2);font-family:var(--bim-font-ui)}
.bim-secure-hero .bim-price-per,.bim-sell-hero .bim-price-per{color:#E9E0F7}
.bim-review-stars{color:#E45700;font-size:17px;letter-spacing:2px}
.bim-review-summary{font-weight:600;font-variant-numeric:tabular-nums}
.bim-rfq-details{color:var(--bim-ink-2);font-size:14.5px}
.bim-rfq-details p{margin:0}
.bim-store-about{max-width:68ch;color:var(--bim-ink-2)}
.bim-vendor-box-about{margin:0;color:var(--bim-ink-2);font-size:14.5px}
.bim-vendor-box-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.bim-vendor-box-country{display:block;font-size:13.5px;color:var(--bim-ink-2);font-weight:500}
.bim-calculator{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:22px;background:var(--bim-surface);display:grid;gap:12px;max-width:640px}
.bim-calc-result{font-size:17px;margin:0;font-variant-numeric:tabular-nums}
.bim-calc-result strong{font-family:var(--bim-font-display)}
.bim-reveal-result{display:block;margin-top:8px;font-weight:600}
.bim-contact-details{display:block;background:#fff;border:1px solid var(--bim-brand);border-radius:var(--bim-r-md);padding:12px 14px}
.bim-quote-form{border-top:1px solid var(--bim-border);padding-top:16px;margin-top:6px}
.bim-store-widgets{display:grid;gap:16px}
.bim-widget{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:18px;background:#fff}
.bim-widget h4{margin:0 0 10px;font-size:15px}
.bim-widget ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.bim-widget a{font-weight:500}
.bim-ticket{border:1px solid var(--bim-border);border-radius:var(--bim-r-lg);padding:18px;background:#fff;margin-bottom:14px}
.bim-admin-card{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:18px;margin:16px 0}
.bim-admin-stats{display:flex;gap:14px;flex-wrap:wrap;margin:14px 0}
.bim-admin-stats>*{background:#fff;border:1px solid #dcdcde;border-radius:8px;padding:14px 18px}
/* Loop: design supplier row replaces the legacy vendor badge line */
.bim-marketplace .products .bim-loop-vendor{display:none}

/* ============================================================
   v1.1.2 fix layer — staging QA round (3 Dec 2026)
   ============================================================ */

/* [hidden] must win over .bim-btn{display:inline-flex} etc.
   (duplicate step actions came from hidden buttons showing). */
.bim-marketplace [hidden],.bim-modal [hidden]{display:none!important}

/* Footer links: .bim-marketplace a (ink) was overriding the
   theme footer colours on marketplace pages → near-black on
   black. Footer always light-on-dark, AA. */
.bim-marketplace .bimt-footer{color:#E9E0F7}
.bim-marketplace .bimt-footer a{color:#E9E0F7;text-decoration:none}
.bim-marketplace .bimt-footer a:hover{color:var(--bim-brand);text-decoration:underline}
.bim-marketplace .bimt-footer .bimt-footer-contact a{color:var(--bim-brand)}
.bim-marketplace .bimt-footer .bimt-footer-contact a:hover{color:#fff}
.bim-marketplace .bimt-footer h3{color:#fff}
.bim-marketplace .bimt-footer .bimt-legal{color:#C9B8EC}
.bim-marketplace .bimt-footer .bimt-legal-note{color:#B9A8DE}

/* Full-bleed bands: background spans the viewport, content
   stays on the wide container line (1440px, 1560px ≥1920px).
   Kills the centred-box look on wide screens. */
.bim-hero,.bim-sell-hero,.bim-secure-hero,.bim-rfq-landing-hero,.bim-stat-band,.bim-secure-band,.bim-founding-band,.bim-store-hero{
	width:var(--bim-vw);margin-left:calc(50% - var(--bim-vw)/2);margin-right:calc(50% - var(--bim-vw)/2);border-radius:0;
	padding-left:max(var(--bim-gutter),calc((var(--bim-vw) - var(--bim-container))/2 + var(--bim-gutter)));padding-right:max(var(--bim-gutter),calc((var(--bim-vw) - var(--bim-container))/2 + var(--bim-gutter)));
}
.bim-hero{margin-top:0}
.bim-section-surface{width:var(--bim-vw);margin-left:calc(50% - var(--bim-vw)/2);margin-right:calc(50% - var(--bim-vw)/2);padding-left:max(var(--bim-gutter),calc((var(--bim-vw) - var(--bim-container))/2 + var(--bim-gutter)));padding-right:max(var(--bim-gutter),calc((var(--bim-vw) - var(--bim-container))/2 + var(--bim-gutter)))}
.bim-stat-band{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.bim-stat-band{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){
	.bim-hero,.bim-sell-hero,.bim-secure-hero,.bim-rfq-landing-hero,.bim-stat-band,.bim-secure-band,.bim-founding-band,.bim-store-hero,.bim-section-surface{padding-left:16px;padding-right:16px}
	.bim-stat-band{grid-template-columns:1fr 1fr}
}

/* Product cards: image pinned to the top of its 4:3 frame,
   equal heights, badge inside the frame (never clipped). */
.bim-pcard-media{position:relative;flex:none}
.bim-pcard-media img{object-position:center}
.bim-pcard-media .onsale{position:absolute;top:10px;left:10px;right:auto;margin:0;z-index:2}
.bim-marketplace ul.products{align-items:stretch}
.bim-marketplace ul.products li.product{height:100%}
.bim-marketplace ul.products li.product .bim-pcard{height:100%}
.bim-pcard-body .price{display:none}
.bim-price-metric .amount,.bim-marketplace .woocommerce .amount{font-variant-numeric:tabular-nums}
.bim-marketplace ul.products li.product .button.add_to_cart_button,.bim-pcard-ctas .button{width:100%}
.bim-pcard-ctas .added_to_cart{display:block;text-align:center;margin-top:6px;font-weight:600}

/* Category tiles: text always inside the tile, readable. */
.bim-cat-tile{text-align:left}
.bim-cat-tile .bim-cat-shade{background:linear-gradient(180deg,rgba(59,15,110,.18) 0%,rgba(59,15,110,.55) 45%,rgba(59,15,110,.92) 100%)}
.bim-cat-tile .bim-cat-body{width:100%;box-sizing:border-box}
.bim-cat-name{overflow-wrap:break-word;hyphens:auto;text-shadow:0 1px 6px rgba(32,17,58,.5)}
.bim-cat-count{text-shadow:0 1px 4px rgba(32,17,58,.5)}

/* Hero tiles: keep the subject in frame on mobile. */
.bim-hero-tiles img{object-position:center 35%}
@media(max-width:640px){.bim-hero-tiles figure{aspect-ratio:16/10}}

/* Storefront hero collage + upright camera photos. */
.bim-store-hero-media img{image-orientation:from-image}
.bim-store-hero-collage{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.bim-store-hero-collage img{width:100%;height:100%;object-fit:cover;object-position:center 35%;opacity:.5}
@media(max-width:767px){.bim-store-hero-collage{grid-template-columns:repeat(2,1fr)}}
.bim-store-hero .bim-store-logo{object-fit:contain;background:#fff;padding:6px}
.bim-store-logo{image-orientation:from-image}

/* Product gallery: never cut product text — contain, don't crop.
   Visible on first paint: WooCommerce hides the gallery (opacity:0)
   until FlexSlider init, which left a blank frame on slow/failed JS.
   Show the first image immediately; JS enhances after. */
.bim-product-page .woocommerce-product-gallery{opacity:1!important;transition:none!important}
.bim-product-page .woocommerce-product-gallery__wrapper{display:block}
.bim-product-page .woocommerce-product-gallery__image{display:none;aspect-ratio:4/3;background:var(--bim-surface-sunken)}
.bim-product-page .woocommerce-product-gallery__image:first-child{display:block}
.bim-product-page .flex-viewport .woocommerce-product-gallery__image{display:block}
.bim-product-page .woocommerce-product-gallery__image{opacity:1!important;visibility:visible!important;background:var(--bim-surface)}
.bim-product-page .woocommerce-product-gallery__image img{opacity:1!important;width:100%;height:100%;object-fit:contain;object-position:center;background:var(--bim-surface)}
/* No reveal fade on the product page: imagery is content, not decoration. */
.bim-product-page .bim-reveal{opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
.bim-product-page .flex-control-thumbs img{object-fit:contain;background:var(--bim-surface)}
@media(max-width:767px){
	.bim-product-page .woocommerce-product-gallery__image img{max-height:52vh}
	/* Content scrolls clear of the sticky CTA bar + tab bar. */
	.bim-product-page .bimt-main{padding-bottom:150px}
	.bim-storefront-page .bimt-main{padding-bottom:150px}
}

/* Description uses the full width (no narrow column). */
.bim-product-page .woocommerce-tabs{clear:both}
.bim-product-page .woocommerce-Tabs-panel{max-width:none}
.bim-product-page .woocommerce-Tabs-panel p{max-width:78ch}

/* Account nav active state: ink on amber tint (never white). */
.bim-account-page .woocommerce-MyAccount-navigation .is-active a{color:var(--bim-primary-deep)!important;background:var(--bim-primary-tint)}
.bim-account-page .woocommerce-MyAccount-navigation a:hover{color:var(--bim-ink)}

/* Checkbox rows: box and label never overlap. */
.bim-form input[type="checkbox"],.bim-form input[type="radio"]{width:22px;height:22px;min-height:0;padding:0;flex:none;margin:2px 0 0;position:static;accent-color:var(--bim-primary)}
.bim-form .bim-check{display:flex!important;gap:10px;align-items:flex-start}
.bim-form .bim-check span{flex:1;line-height:1.5}

/* RFQ: form + guidance side by side; form uses its column. */
.bim-rfq-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start;margin:8px 0 28px}
.bim-rfq-layout .bim-form{max-width:none;margin:0}
.bim-rfq-aside{display:grid;gap:16px;position:sticky;top:96px}
.bim-rfq-aside .bim-widget ul{display:grid;gap:8px;list-style:none;padding:0;margin:0}
.bim-rfq-aside .bim-widget li{font-size:14.5px;color:var(--bim-ink-2);line-height:1.55}
@media(max-width:980px){.bim-rfq-layout{grid-template-columns:1fr}.bim-rfq-aside{position:static}}

/* Directory toolbar on mobile: filters stack, buttons full width. */
@media(max-width:640px){
	.bim-dir-filters{display:grid;grid-template-columns:1fr;gap:10px}
	.bim-dir-filters .bim-field{flex:none}
	.bim-dir-filters .bim-btn{width:100%}
	.bim-dir-toolbar{top:64px}
}

/* Chat timestamps + send row polish. */
.bim-message-meta{font-size:12px;color:var(--bim-ink-2)}

/* ============================================================
   v1.1.3 fix round 2
   ============================================================ */

/* --- Homepage full-bleed: stronger selectors so the breakout
   margins always win (the .bim-home section margin shorthand
   previously overrode them and boxed the homepage). --- */
.bim-marketplace .bim-hero,.bim-marketplace .bim-sell-hero,.bim-marketplace .bim-secure-hero,.bim-marketplace .bim-rfq-landing-hero,.bim-marketplace .bim-stat-band,.bim-marketplace .bim-secure-band,.bim-marketplace .bim-founding-band,.bim-marketplace .bim-store-hero,.bim-marketplace .bim-section-surface{
	width:var(--bim-vw);max-width:var(--bim-vw);margin-left:calc(50% - var(--bim-vw)/2);margin-right:calc(50% - var(--bim-vw)/2);border-radius:0;
	padding-left:max(var(--bim-gutter),calc((var(--bim-vw) - var(--bim-container))/2 + var(--bim-gutter)));padding-right:max(var(--bim-gutter),calc((var(--bim-vw) - var(--bim-container))/2 + var(--bim-gutter)));
}
.bim-marketplace .bim-hero{margin-top:0}
.bim-home .bim-section{padding-top:44px;padding-bottom:44px}
@media(max-width:640px){
	.bim-marketplace .bim-hero,.bim-marketplace .bim-sell-hero,.bim-marketplace .bim-secure-hero,.bim-marketplace .bim-rfq-landing-hero,.bim-marketplace .bim-stat-band,.bim-marketplace .bim-secure-band,.bim-marketplace .bim-founding-band,.bim-marketplace .bim-store-hero,.bim-marketplace .bim-section-surface{padding-left:16px;padding-right:16px}
}

/* --- Button system: brand buttons win over Blocksy/WooCommerce
   defaults on every surface. Blocksy drives its buttons from
   --theme-button-* variables (Customizer blue by default), so
   the variables are reset here AND the concrete rules carry
   enough specificity + !important on colours. --- */
:root,body.bim-marketplace{
	--theme-button-background-initial-color:var(--bim-primary);
	--theme-button-background-hover-color:var(--bim-primary-deep);
	--theme-button-text-initial-color:#fff;
	--theme-button-text-hover-color:#fff;
	--theme-button-border-initial-color:var(--bim-primary);
	--theme-button-border-hover-color:var(--bim-primary-deep);
}
.bim-marketplace .bim-btn,.bim-marketplace button.bim-btn,.bim-marketplace input[type="submit"].bim-btn,.bim-marketplace a.bim-btn{
	background-color:var(--bim-primary)!important;color:#fff!important;border:1.5px solid var(--bim-primary)!important;
}
.bim-marketplace .bim-btn:hover,.bim-marketplace button.bim-btn:hover{background-color:var(--bim-primary-deep)!important;border-color:var(--bim-primary-deep)!important;color:#fff!important}
.bim-marketplace .bim-btn-brand,.bim-marketplace button.bim-btn-brand,.bim-marketplace a.bim-btn-brand{
	background-color:var(--bim-brand)!important;border-color:var(--bim-brand)!important;color:var(--bim-ink)!important;
}
.bim-marketplace .bim-btn-brand:hover{background-color:var(--bim-brand-hover)!important;border-color:var(--bim-brand-hover)!important;color:var(--bim-ink)!important}
.bim-marketplace .bim-btn-secondary,.bim-marketplace a.bim-btn-secondary{
	background-color:#fff!important;color:var(--bim-primary)!important;border-color:var(--bim-primary)!important;
}
.bim-marketplace .bim-btn-secondary:hover{background-color:var(--bim-primary-tint)!important;color:var(--bim-primary-deep)!important}
.bim-marketplace .bim-btn-ghost,.bim-marketplace a.bim-btn-ghost{
	background-color:transparent!important;border-color:transparent!important;color:var(--bim-primary)!important;
}
.bim-marketplace .bim-btn-ghost:hover{background-color:var(--bim-primary-tint)!important;color:var(--bim-primary-deep)!important}
.bim-marketplace .bim-black-band .bim-btn-secondary,.bim-marketplace .bim-hero .bim-btn-secondary,.bim-marketplace .bim-secure-band .bim-btn-secondary,.bim-marketplace .bim-founding-band .bim-btn-secondary{
	background-color:transparent!important;color:#fff!important;border-color:#fff!important;
}
.bim-marketplace .bim-black-band .bim-btn-secondary:hover,.bim-marketplace .bim-hero .bim-btn-secondary:hover,.bim-marketplace .bim-secure-band .bim-btn-secondary:hover,.bim-marketplace .bim-founding-band .bim-btn-secondary:hover{background-color:rgba(255,255,255,.12)!important}
/* WooCommerce + block buttons inside marketplace surfaces. */
.bim-marketplace .woocommerce .button,.bim-marketplace .woocommerce button.button,.bim-marketplace .woocommerce input.button,.bim-marketplace .woocommerce a.button,
.bim-marketplace .woocommerce .wc-forward,.bim-marketplace .wp-block-button__link,.bim-marketplace .wc-block-components-button,
.bim-marketplace ul.products li.product .button,.bim-marketplace .return-to-shop .button{
	background-color:var(--bim-primary)!important;color:#fff!important;border:1.5px solid var(--bim-primary)!important;border-radius:var(--bim-r-md);min-height:48px;font-weight:600;
}
.bim-marketplace .woocommerce .button:hover,.bim-marketplace .woocommerce button.button:hover,.bim-marketplace .woocommerce a.button:hover,.bim-marketplace .wp-block-button__link:hover,.bim-marketplace .wc-block-components-button:hover{background-color:var(--bim-primary-deep)!important;border-color:var(--bim-primary-deep)!important;color:#fff!important}
.bim-marketplace .woocommerce .button.alt,.bim-marketplace .woocommerce .checkout-button,.bim-marketplace .woocommerce #place_order,
.bim-marketplace .woocommerce .single_add_to_cart_button,.bim-marketplace .wc-block-cart__submit-button,.bim-marketplace .wc-block-checkout__actions_row .wc-block-components-button{
	background-color:var(--bim-brand)!important;border-color:var(--bim-brand)!important;color:var(--bim-ink)!important;
}
.bim-marketplace .woocommerce .button.alt:hover,.bim-marketplace .woocommerce .checkout-button:hover,.bim-marketplace .woocommerce #place_order:hover,.bim-marketplace .woocommerce .single_add_to_cart_button:hover{background-color:var(--bim-brand-hover)!important;border-color:var(--bim-brand-hover)!important;color:var(--bim-ink)!important}
.bim-marketplace .woocommerce table.cart .button[name="update_cart"]{background-color:#fff!important;color:var(--bim-primary)!important}
.bim-marketplace .woocommerce table.cart .button[name="update_cart"]:hover{background-color:var(--bim-primary-tint)!important;color:var(--bim-primary-deep)!important}
/* Generic submits inside marketplace forms (chat, filters, steppers). */
.bim-marketplace form button[type="submit"]:not(.bim-btn):not(.bim-tab),.bim-marketplace form input[type="submit"]:not(.bim-btn){
	background-color:var(--bim-primary);color:#fff;border:1.5px solid var(--bim-primary);border-radius:var(--bim-r-md);min-height:48px;font-weight:600;padding:12px 20px;cursor:pointer;
}
.bim-marketplace form button[type="submit"]:not(.bim-btn):hover{background-color:var(--bim-primary-deep);border-color:var(--bim-primary-deep)}

/* --- Success notice banner (bim_notice redirects). --- */
.bim-notice-wrap{max-width:var(--bim-container);margin:0 auto;padding:16px var(--bim-gutter) 0;width:100%;box-sizing:border-box}
.bim-notice-banner{display:flex;gap:14px;align-items:flex-start;background:#EAF6EC;border:1.5px solid #1E7A34;border-radius:var(--bim-r-md);padding:16px 18px;color:#0F3D1C;font-size:15.5px;line-height:1.55;box-shadow:var(--bim-shadow)}
.bim-notice-banner strong{font-weight:700}
.bim-notice-banner p{margin:0}
.bim-notice-icon{flex:none;width:26px;height:26px;border-radius:50%;background:#1E7A34;color:#fff;display:grid;place-items:center;font-weight:800;font-size:15px;line-height:1}
.bim-notice-dismiss{margin-left:auto;flex:none;background:transparent;border:1.5px solid #1E7A34;color:#0F3D1C;border-radius:8px;min-height:36px;padding:6px 12px;font-weight:600;cursor:pointer}
.bim-notice-dismiss:hover{background:#D8EFDD}
@media(max-width:640px){.bim-notice-wrap{padding:12px 16px 0}.bim-notice-banner{flex-wrap:wrap}.bim-notice-dismiss{margin-left:40px}}

/* --- Sell/RFQ review card: full width of the form column. ---
   Root cause of the ~55% card: .bim-form caps at 680px inside the
   container. Stepped forms now use the full available width;
   fields pair up two-per-row on desktop, review spans everything. */
.bim-form[data-bim-stepper]{max-width:100%}
.bim-step-panel{width:100%;min-width:0;grid-column:1/-1}
.bim-review-card{width:100%;box-sizing:border-box;grid-column:1/-1}
.bim-form fieldset{min-width:0}
@media(min-width:900px){
	.bim-form[data-bim-stepper] .bim-step-panel{grid-template-columns:1fr 1fr}
	.bim-form[data-bim-stepper] .bim-step-panel>legend{grid-column:1/-1}
	.bim-form[data-bim-stepper] .bim-step-panel .bim-field:has(textarea),
	.bim-form[data-bim-stepper] .bim-step-panel .bim-check,
	.bim-form[data-bim-stepper] .bim-step-panel .bim-note{grid-column:1/-1}
}

/* --- Currency: ₨ always from the Noto Sans subset (U+20A8). --- */
.bim-price,.bim-price-metric,.woocommerce .amount,.woocommerce-Price-amount,.price,.bim-stat-num,.bim-proof-num{
	font-family:'BIM Rupee','Inter','Noto Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
	font-variant-numeric:tabular-nums;
}
.woocommerce-Price-currencySymbol,.bim-currency-symbol{font-family:'BIM Rupee','Inter',sans-serif}

/* --- RFQ aside: make guidance cards unmistakable. --- */
.bim-rfq-aside .bim-widget{background:var(--bim-surface);border-color:var(--bim-primary-border)}
.bim-rfq-aside .bim-widget h4{color:var(--bim-ink)}

/* ============================================================
   v1.2.0 — FedEx re-skin: Blocksy palette variables reset.
   Blocksy paints accents (tab rules, links, form focus, sale
   flashes) from --theme-palette-color-* Customizer variables
   whose defaults are blue. Resetting them at the variable
   level to the purple/orange tokens kills the stray blue tab
   line at its source and prevents any other blue leak.
   ============================================================ */
:root,body.bim-marketplace{
	--theme-palette-color-1:#4D148C;
	--theme-palette-color-2:#FF6200;
	--theme-palette-color-3:#20113A;
	--theme-palette-color-4:#5A5470;
	--theme-palette-color-5:#E3DEF0;
	--theme-palette-color-6:#F7F7F9;
	--theme-palette-color-7:#FFFFFF;
	--theme-palette-color-8:#3B0F6E;
	--theme-link-initial-color:#4D148C;
	--theme-link-hover-color:#B34700;
	--theme-headings-color:#20113A;
	--theme-text-color:#20113A;
	--theme-border-color:#E3DEF0;
	--theme-form-field-border-initial-color:#8A7FB8;
	--theme-form-field-border-focus-color:#4D148C;
	--theme-form-field-background-initial-color:#FFFFFF;
	--theme-form-field-background-focus-color:#FFFFFF;
}
.bim-marketplace ::selection,.bim-modal ::selection{background:var(--bim-brand);color:var(--bim-ink)}
/* WooCommerce sale flash + rating glyphs follow the palette. */
.bim-marketplace .woocommerce span.onsale{background:var(--bim-brand)!important;color:var(--bim-ink)!important}
.bim-marketplace .woocommerce .star-rating span::before,.bim-marketplace .woocommerce .star-rating::before{color:#E45700}
/* Blocksy WooCommerce tab painters that reference the palette
   through .ct-* wrappers (product page inside Blocksy layout). */
.bim-marketplace .ct-product-tabs ul.tabs,.bim-marketplace .woocommerce-tabs ul.tabs{border-bottom-color:var(--bim-border)!important}
.bim-marketplace .ct-product-tabs .woocommerce-Tabs-panel{border-top:0!important;box-shadow:none!important}
/* Purple-band link/button safety: nothing purple-on-purple. */
.bim-founding-band a:not(.bim-btn),.bim-secure-band a:not(.bim-btn),.bim-sell-hero a:not(.bim-btn),.bim-secure-hero a:not(.bim-btn),.bim-rfq-landing-hero a:not(.bim-btn),.bim-store-hero a:not(.bim-btn),.bim-bento-cta a{color:var(--bim-orange-soft);font-weight:600}
.bim-founding-band a:not(.bim-btn):hover,.bim-secure-band a:not(.bim-btn):hover,.bim-sell-hero a:not(.bim-btn):hover,.bim-secure-hero a:not(.bim-btn):hover,.bim-rfq-landing-hero a:not(.bim-btn):hover,.bim-store-hero a:not(.bim-btn):hover,.bim-bento-cta a:hover{color:#fff}
.bim-hero .bim-btn-ghost,.bim-black-band .bim-btn-ghost,.bim-secure-band .bim-btn-ghost,.bim-founding-band .bim-btn-ghost,.bim-sell-hero .bim-btn-ghost,.bim-secure-hero .bim-btn-ghost,.bim-rfq-landing-hero .bim-btn-ghost,.bim-store-hero .bim-btn-ghost{color:#fff!important}
.bim-hero .bim-btn-ghost:hover,.bim-black-band .bim-btn-ghost:hover,.bim-secure-band .bim-btn-ghost:hover,.bim-founding-band .bim-btn-ghost:hover,.bim-sell-hero .bim-btn-ghost:hover,.bim-secure-hero .bim-btn-ghost:hover,.bim-rfq-landing-hero .bim-btn-ghost:hover,.bim-store-hero .bim-btn-ghost:hover{background-color:rgba(255,255,255,.12)!important;color:#fff!important}
.bim-hero .bim-btn:not(.bim-btn-brand):not(.bim-btn-secondary):not(.bim-btn-ghost),.bim-black-band .bim-btn:not(.bim-btn-brand):not(.bim-btn-secondary):not(.bim-btn-ghost),.bim-secure-band .bim-btn:not(.bim-btn-brand):not(.bim-btn-secondary):not(.bim-btn-ghost),.bim-founding-band .bim-btn:not(.bim-btn-brand):not(.bim-btn-secondary):not(.bim-btn-ghost),.bim-sell-hero .bim-btn:not(.bim-btn-brand):not(.bim-btn-secondary):not(.bim-btn-ghost),.bim-secure-hero .bim-btn:not(.bim-btn-brand):not(.bim-btn-secondary):not(.bim-btn-ghost),.bim-rfq-landing-hero .bim-btn:not(.bim-btn-brand):not(.bim-btn-secondary):not(.bim-btn-ghost),.bim-store-hero .bim-btn:not(.bim-btn-brand):not(.bim-btn-secondary):not(.bim-btn-ghost){background-color:var(--bim-brand)!important;border-color:var(--bim-brand)!important;color:var(--bim-ink)!important}
/* Badges on the purple storefront hero invert to white so the
   purple operator/verified badges never blend into the band. */
.bim-store-hero .bim-badge-operator,.bim-store-hero .bim-badge-verified{background:#fff;color:var(--bim-primary);border-color:#fff}
.bim-store-hero .bim-badge{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.5)}

/* ============================================================
   v1.2.1 — Layout width: fill wide screens (owner order,
   3 Dec 2026: "center center sb nazar a raha side pr bht
   zyda space"). Container 1440px (1560px ≥1920px viewport),
   gutters 24px (32px ≥1600px, 16px mobile). Width/layout
   only — FedEx colours and functionality unchanged.
   ============================================================ */

/* Blocksy container variables follow the wide container so no
   parent-theme wrapper can re-impose a narrow column. */
:root,body.bim-marketplace{
	--theme-container-width:var(--bim-container);
	--container-width:var(--bim-container);
}
.bim-marketplace .ct-container,.bim-marketplace [class*="ct-container"]{width:100%}

/* Hero: search + copy use the wider band. */
.bim-hero-search{max-width:860px}
.bim-hero-sub{max-width:62ch}
@media(min-width:1600px){.bim-hero-tiles{gap:16px}}

/* Product grids: 6 across ≥1280px viewport (v1.2.3). */
.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(4,1fr)}
@media(min-width:1280px){.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(6,1fr)}}
@media(min-width:1600px){.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(6,1fr);gap:22px}}
@media(max-width:1023px){.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(2,1fr);gap:14px}}
@media(max-width:380px){.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Category tiles: more columns on wide screens, row always filled. */
@media(min-width:1600px){.bim-cat-bento{grid-template-columns:repeat(5,1fr)}}
@media(min-width:1920px){.bim-cat-bento{grid-template-columns:repeat(6,1fr)}}

/* Supplier directory: cards 3 across ≥1200px, 4 ≥1600px.
   Card internals stack (monogram + main, actions pinned below)
   so text stays readable at card width. */
@media(min-width:900px){
	.bim-dir-list{grid-template-columns:repeat(2,1fr);gap:16px;align-items:stretch}
	.bim-supplier-card{grid-template-columns:56px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;height:100%}
	.bim-supplier-main{align-self:start}
	.bim-supplier-focus{-webkit-line-clamp:2}
	.bim-supplier-actions{grid-column:1/-1;display:grid;gap:8px;align-self:end}
	.bim-supplier-actions .bim-btn{min-width:0;width:100%}
}
@media(min-width:1200px){.bim-dir-list{grid-template-columns:repeat(3,1fr)}}
@media(min-width:1440px){.bim-dir-list{grid-template-columns:repeat(4,1fr)}}
@media(min-width:1600px){.bim-dir-list{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* RFQ board: requirement cards 2 across ≥1100px, 3 ≥1600px. */
@media(min-width:1100px){.bim-rfq-list{grid-template-columns:repeat(2,1fr);align-items:stretch}.bim-rfq-card{height:100%}}
@media(min-width:1600px){.bim-rfq-list{grid-template-columns:repeat(3,1fr)}}

/* Storefront hero: band padding already sits on the container
   line — drop the body's extra side padding so store content
   aligns with the rest of the page frame. */
.bim-store-hero-body{padding-left:0;padding-right:0}
.bim-store-about{max-width:84ch}

/* Product single: gallery + summary share the wide container;
   tabs, spec table and related products span it fully. */
@media(min-width:901px){
	.bim-product-page div.product{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);column-gap:44px;align-items:start;position:relative}
	.bim-product-page div.product>.woocommerce-product-gallery{grid-column:1;width:auto!important;float:none!important;margin:0!important}
	.bim-product-page div.product>.entry-summary{grid-column:2;width:auto!important;float:none!important;margin:0!important}
	.bim-product-page div.product>.woocommerce-tabs,
	.bim-product-page div.product>.bim-spec-section,
	.bim-product-page div.product>.upsells,
	.bim-product-page div.product>.related{grid-column:1/-1;width:100%;min-width:0}
	.bim-product-page div.product>span.onsale{position:absolute;top:16px;left:16px;z-index:6}
	/* Blocksy wraps gallery+summary in .ct-product-view on some
	   layouts: span it full width and split inside it instead. */
	.bim-product-page div.product>.ct-product-view{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);column-gap:44px;align-items:start;width:100%}
	.bim-product-page .ct-product-view>.woocommerce-product-gallery{grid-column:1;width:auto!important;float:none!important;margin:0!important}
	.bim-product-page .ct-product-view>.entry-summary{grid-column:2;width:auto!important;float:none!important;margin:0!important}
}
@media(min-width:1600px){.bim-product-page div.product,.bim-product-page div.product>.ct-product-view{column-gap:56px}}
.bim-product-page .woocommerce-Tabs-panel p{max-width:92ch}

/* My Account: fixed 280px nav rail, content takes the rest of
   the wide container (vendor dashboards included). */
.bim-account-page .woocommerce-MyAccount-navigation{width:280px;float:left}
.bim-account-page .woocommerce-MyAccount-content{width:calc(100% - 312px);float:right;min-width:0}
@media(max-width:900px){
	.bim-account-page .woocommerce-MyAccount-navigation,
	.bim-account-page .woocommerce-MyAccount-content{width:100%;float:none}
}
.bim-chat-layout{grid-template-columns:340px minmax(0,1fr)}
@media(min-width:1600px){.bim-chat-layout{grid-template-columns:380px minmax(0,1fr)}}
@media(max-width:860px){.bim-chat-layout{grid-template-columns:1fr}}

/* Forms: page frames span the wide container. Stepped forms
   already run full width; the RFQ guidance rail widens with
   the screen, and standalone forms get a roomier measure. */
.bim-form{max-width:760px}
.bim-form[data-bim-stepper]{max-width:100%}
.bim-rfq-layout{grid-template-columns:minmax(0,1fr) 360px}
@media(min-width:1600px){.bim-rfq-layout{grid-template-columns:minmax(0,1fr) 400px;gap:36px}}
@media(max-width:980px){.bim-rfq-layout{grid-template-columns:1fr}}
@media(min-width:1200px){.bim-register-wrap{padding:36px 40px}}
.bim-calculator{max-width:720px}

/* Policies: TOC rail + body fill the container; clause text
   keeps a readable measure while tables/summaries span. */
.bim-policies-layout{grid-template-columns:280px minmax(0,1fr);gap:40px}
.bim-policies-body{max-width:none;min-width:0}
.bim-policies-body p,.bim-policies-body li{max-width:92ch}
.bim-policies-body table{width:100%}
@media(max-width:860px){.bim-policies-layout{grid-template-columns:1fr;gap:20px}}

/* Dashboard bento + auto-fit grids already add columns with
   width; give tiles a touch more air on very wide screens. */
@media(min-width:1600px){
	.bim-bento{gap:20px}
	.bim-store-strip{gap:20px}
	.bim-how{gap:24px}
	.bim-mechanism{gap:20px}
	.bim-tiers{gap:24px}
}

/* ============================================================
   v1.2.2 fix round — mobile header overflow, AJAX cart
   buttons, wider container tiers (staging QA, 3 Dec 2026)
   ============================================================ */

/* --- Nothing may exceed the viewport width on marketplace
   surfaces. Grid tracks use minmax(0,1fr) so long card
   content can never blow a track past the screen edge
   (the shop/product mobile clip: first card cut at right). */
.bim-marketplace img,.bim-marketplace video,.bim-marketplace iframe,.bim-marketplace table{max-width:100%}
.bim-marketplace .woocommerce-product-gallery,.bim-marketplace .flex-viewport{max-width:100%}
.bim-product-page .flex-control-thumbs{flex-wrap:wrap}
.bim-marketplace .woocommerce-pagination ul{flex-wrap:wrap}
.bim-marketplace .woocommerce-ordering select{max-width:100%}
@media(max-width:767px){
	.bim-marketplace .woocommerce-result-count,.bim-marketplace .woocommerce-ordering{float:none!important;width:100%;margin:0 0 12px}
	.bim-marketplace .woocommerce-ordering select{width:100%}
	.bim-product-page form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
	.bim-product-page form.cart .quantity{flex:0 0 auto}
	.bim-product-page form.cart .single_add_to_cart_button{flex:1 1 180px;min-width:0}
}

/* Launch/utility bar: text wraps inside the bar on phones
   instead of truncating at the right edge. */
.bim-utility-inner{min-width:0}
.bim-utility-offer,.bim-utility-link{min-width:0;overflow-wrap:break-word}
@media(max-width:767px){
	.bim-utility-inner{gap:6px 14px;padding-top:10px;padding-bottom:10px}
	.bim-utility-strip{font-size:13px;line-height:1.45}
	.bim-utility-offer{flex:1 1 100%}
}

/* --- Product grids: minmax(0,1fr) everywhere; 6 across
   ≥1280px (v1.2.3 — at 1919px content 1616px → 6 × ~251px
   cards); 2 across ≤820px including ≤480px. */
.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(min-width:1280px){.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:1600px){.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1023px){.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.bim-product-grid,.bim-marketplace ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bim-marketplace ul.products li.product,.bim-pcard{min-width:0}
.bim-pcard-title,.bim-pcard-supplier{min-width:0;overflow-wrap:break-word}

/* --- AJAX add-to-cart: the action area stacks full-width.
   WooCommerce inserts a "View cart" link after the button on
   AJAX add; side-by-side it squeezed the button and clipped
   at the card edge. Now: Add to cart full width, View cart
   below it full width, nothing clipped, heights even via
   the grid stretch + margin-top:auto pin. */
.bim-pcard-ctas{flex-direction:column;flex-wrap:wrap;align-items:stretch;gap:8px;min-height:48px}
.bim-pcard-ctas .button,.bim-pcard-ctas .bim-btn{width:100%;margin:0!important;box-sizing:border-box;min-height:48px;white-space:normal;text-align:center;line-height:1.3;flex:none}
.bim-pcard-ctas .added_to_cart,.bim-marketplace ul.products li.product .added_to_cart{
	display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;min-height:44px;
	margin:0!important;padding:10px 16px;background:#fff;color:var(--bim-primary)!important;
	border:1.5px solid var(--bim-primary);border-radius:var(--bim-r-md);font-weight:700;text-decoration:none!important;text-align:center;line-height:1.3}
.bim-pcard-ctas .added_to_cart:hover,.bim-marketplace ul.products li.product .added_to_cart:hover{background:var(--bim-primary-tint);color:var(--bim-primary-deep)!important}
/* Loop fallback (button rendered outside .bim-pcard-ctas):
   keep button + View cart inside the card padding. */
.bim-marketplace ul.products li.product>.button{width:calc(100% - 32px);box-sizing:border-box;white-space:normal;text-align:center;line-height:1.3}
.bim-marketplace ul.products li.product>.added_to_cart{width:calc(100% - 32px);margin:8px 16px 0!important}
.bim-marketplace ul.products li.product .button.added::after{margin-left:6px}

/* --- Supplier directory: 5 across ≥1600px (v1.2.3; card =
   (1616 − 4×16)/5 = 310px at 1919px viewport). --- */
@media(min-width:1600px){.bim-dir-list{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* ============================================================
   v1.2.3 fix round 2 — launch-bar wrap, Woo page overflow
   hardening, width tiers (staging QA, 3 Dec 2026)
   ============================================================ */

/* --- Launch/utility bar ≤767px: wraps and centres inside
   the bar. The shop/product truncation ("…until Decem")
   came from Woo content widening the page so the centred
   strip ran off the right edge; the Woo hardening below
   removes the widener, and this keeps the bar itself
   incapable of truncating. --- */
.bim-utility-strip,.bim-utility-strip *{box-sizing:border-box}
@media(max-width:767px){
	.bim-utility-inner{justify-content:center;text-align:center}
	.bim-utility-offer,.bim-utility-link{white-space:normal;overflow-wrap:anywhere;text-align:center;width:100%;flex:1 1 100%}
}

/* --- Woo page overflow hardening (shop/product mobile).
   Mirrors the theme v1.1.3 rules so the frame holds from
   either stylesheet. Full-bleed bands already use the
   scrollbar-corrected --bim-vw token — no raw 100vw. --- */
.bim-marketplace .woocommerce,.bim-marketplace .woocommerce-products-header,
.bim-marketplace .woocommerce-result-count,.bim-marketplace .woocommerce-ordering,
.bim-marketplace ul.products{max-width:100%;box-sizing:border-box}
.bim-marketplace .ct-container,.bim-marketplace [class*="ct-container"]{box-sizing:border-box}
.bim-marketplace .woocommerce-product-gallery,.bim-marketplace .woocommerce-product-gallery__wrapper,
.bim-marketplace .flex-viewport{max-width:100%}
.bim-marketplace .woocommerce-product-gallery img{max-width:100%}
.bim-product-page .flex-control-thumbs{max-width:100%;flex-wrap:wrap}
.bim-product-page .flex-control-thumbs li{max-width:72px}
.bim-marketplace .woocommerce-tabs ul.tabs{flex-wrap:wrap;max-width:100%}
.bim-marketplace ul.products li.product{min-width:0}
.bim-marketplace ul.products li.product .woocommerce-loop-product__title{overflow-wrap:break-word}
.bim-marketplace ul.products li.product .price{overflow-wrap:break-word}
.bim-pcard{min-width:0}
.bim-pcard-title{overflow-wrap:break-word}
.bim-store-strip{grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr))}
@media(max-width:900px){
	.bim-product-page div.product>.woocommerce-product-gallery,
	.bim-product-page div.product>.entry-summary,
	.bim-product-page .ct-product-view>.woocommerce-product-gallery,
	.bim-product-page .ct-product-view>.entry-summary{width:100%!important;float:none!important;max-width:100%;margin-left:0!important;margin-right:0!important}
}
@media(max-width:767px){
	.bim-marketplace .woocommerce-result-count,.bim-marketplace .woocommerce-ordering{float:none!important;width:100%;max-width:100%;margin:0 0 12px}
	.bim-marketplace .woocommerce-ordering select{width:100%;max-width:100%;box-sizing:border-box}
	.bim-product-page .product_title{overflow-wrap:break-word}
	.bim-product-page form.cart .single_add_to_cart_button{flex:1 1 160px;min-width:0}
	.bim-b2b-ctas .bim-btn{flex:1 1 150px;min-width:0}
	.bim-supplier-actions .bim-btn{min-width:0}
}

/* ============================================================
   v1.2.4 fix round 3 — launch-bar hard cap, scoped
   min-width guards, Woo wide-element audit (staging QA,
   3 Dec 2026). Mirrors theme v1.1.4 (flex mobile header +
   bundled logo lockups live in the theme) so the frame
   holds from either stylesheet. html,body{overflow-x:clip}
   already stands above; full-bleed bands use only the
   scrollbar-corrected --bim-vw token — no raw 100vw.
   ============================================================ */

/* Launch/utility bar: hard-capped at the viewport; the
   inner container may not exceed it either. */
.bim-utility-strip{width:100%;max-width:100%}
@media(max-width:767px){
	.bim-utility-inner{max-width:100%;width:100%}
}

/* Scoped min-width guards + form-control caps ≤767px:
   nothing inside WooCommerce surfaces keeps an automatic
   minimum width that can push the page past the viewport. */
@media(max-width:767px){
	.bim-marketplace .woocommerce *,.bim-marketplace.woocommerce-page *{min-width:0}
	.bim-marketplace input,.bim-marketplace select,.bim-marketplace textarea{max-width:100%;box-sizing:border-box}
}

/* --- WooCommerce wide-element audit (shop/product mobile).
   Gallery FlexSlider viewport/track, tab + spec +
   attributes tables, breadcrumbs, pagination, shop
   toolbar, notices, variations, grouped table, reviews:
   capped, wrapped, or given their own scroll. --- */
.bim-marketplace .woocommerce-breadcrumb{max-width:100%;overflow-wrap:anywhere;line-height:1.5}
.bim-marketplace .woocommerce-breadcrumb a{overflow-wrap:anywhere}
.bim-marketplace .woocommerce-notices-wrapper{max-width:100%}
.bim-marketplace .woocommerce-message,.bim-marketplace .woocommerce-info,.bim-marketplace .woocommerce-error{max-width:100%;box-sizing:border-box;overflow-wrap:break-word}
.bim-marketplace .woocommerce-pagination{max-width:100%}
.bim-marketplace .woocommerce-pagination ul{flex-wrap:wrap;max-width:100%}
.bim-marketplace .woocommerce-pagination li{min-width:0}
.bim-marketplace .flex-viewport{overflow:hidden;max-width:100%}
.bim-marketplace .woocommerce-Tabs-panel{max-width:100%;box-sizing:border-box;overflow-wrap:break-word}
.bim-marketplace .woocommerce-Tabs-panel img{max-width:100%;height:auto}
.bim-marketplace .woocommerce-product-attributes,.bim-spec-table{table-layout:fixed;width:100%}
.bim-marketplace .woocommerce-product-attributes th,.bim-marketplace .woocommerce-product-attributes td,
.bim-spec-table th,.bim-spec-table td{overflow-wrap:break-word}
.bim-marketplace .woocommerce-Reviews .comment-text{overflow-wrap:break-word}
.bim-marketplace .single_variation{overflow-wrap:break-word}
@media(max-width:1024px){
	/* Blocksy can grid .ct-container for sidebar layouts;
	   on Woo pages it must collapse to one shrinkable
	   column at tablet/mobile widths. */
	.bim-marketplace.woocommerce-page .ct-container,.bim-marketplace .woocommerce .ct-container{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:767px){
	.bim-marketplace .woocommerce-product-gallery{overflow:hidden;max-width:100%}
	.bim-product-page .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
	.bim-product-page .flex-control-thumbs li{float:none!important;flex:0 0 64px;width:64px;max-width:64px}
	.bim-marketplace .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes):not(.bim-spec-table),
	.bim-marketplace .group_table{display:block;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
	.bim-marketplace .variations{max-width:100%}
	.bim-marketplace .variations td{overflow-wrap:break-word}
	.bim-marketplace .woocommerce-message .button,.bim-marketplace .woocommerce-info .button,.bim-marketplace .woocommerce-error .button{float:none;display:inline-flex;margin:0 0 8px}
	.bim-marketplace .woocommerce-products-header{max-width:100%}
}

/* ============================================================
   v1.2.5 fix round 4 — mobile product SUMMARY containment
   (staging QA, 3 Dec 2026). Mirrors theme v1.1.5.
   Defect: on mobile product pages the summary column clipped
   at the right edge (tags cut, "Chat with supplier" /
   "Ask question" buttons truncated, trust/Q&A rows clipped)
   while gallery/tabs/spec stayed contained and the page did
   not scroll (html,body overflow-x:clip hid the overflow).
   Root cause: .ct-product-view was never collapsed to one
   column at ≤900px, so the summary sat in a two-column row
   with width:100% — as wide as the whole container in
   addition to the gallery column — pushing its right edge
   past the viewport; inside it, nowrap button text, the
   long .product_meta tag line, and flex rows without
   min-width:0 could not shrink. Desktop layout unchanged.
   ============================================================ */
@media(max-width:1024px){
	/* Product view collapses to ONE shrinkable column;
	   gallery and summary stack full-width. */
	.bim-product-page div.product>.ct-product-view{grid-template-columns:minmax(0,1fr)!important;column-gap:0;row-gap:24px;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
	.bim-product-page .ct-product-view>.woocommerce-product-gallery,
	.bim-product-page .ct-product-view>.entry-summary{grid-column:1!important;width:100%!important;max-width:100%;min-width:0;float:none!important;box-sizing:border-box}
	.bim-product-page div.product>.entry-summary{width:100%!important;max-width:100%;min-width:0;float:none!important;box-sizing:border-box}
	/* Every direct block inside the summary may shrink. */
	.bim-product-page .entry-summary>*{max-width:100%;min-width:0;box-sizing:border-box}
	.bim-product-page .entry-summary .bim-btn,
	.bim-product-page .entry-summary .button,
	.bim-product-page .entry-summary .single_add_to_cart_button{white-space:normal!important;overflow-wrap:break-word;text-align:center;line-height:1.3;max-width:100%;box-sizing:border-box}
}
@media(max-width:767px){
	.bim-product-page div.product{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
	.bim-product-page .summary,.bim-product-page .entry-summary{width:100%!important;max-width:100%;min-width:0;float:none!important;box-sizing:border-box;overflow-wrap:break-word}
	/* Action rows: wrap, children shrink, labels wrap. */
	.bim-product-page .bim-b2b-ctas,.bim-product-page .bim-vendor-box-actions,
	.bim-product-page .bim-moq,.bim-product-page form.cart,
	.bim-product-page .woocommerce-product-rating{flex-wrap:wrap;max-width:100%;min-width:0}
	.bim-product-page .bim-b2b-ctas .bim-btn{flex:1 1 140px;min-width:0}
	.bim-product-page .bim-vendor-box-actions .bim-btn{flex:1 1 140px;min-width:0}
	.bim-product-page form.cart .quantity{flex:0 1 auto;min-width:0}
	.bim-product-page form.cart .quantity .qty{max-width:88px}
	.bim-product-page form.cart .single_add_to_cart_button{flex:1 1 160px;min-width:0}
	.bim-product-page .woocommerce-product-rating{display:flex;gap:6px;align-items:center}
	.bim-product-page .woocommerce-product-rating .woocommerce-review-link{overflow-wrap:break-word}
	/* Price + stock lines wrap inside the column. */
	.bim-product-page .price,.bim-product-page .bim-from-price,
	.bim-product-page .bim-price-on-request,.bim-product-page .stock{max-width:100%;overflow-wrap:break-word}
	/* Supplier trust card: head wraps, text breaks anywhere. */
	.bim-product-page .bim-vendor-box{max-width:100%;min-width:0;box-sizing:border-box}
	.bim-product-page .bim-vendor-box-head{flex-wrap:wrap;min-width:0}
	.bim-product-page .bim-vendor-box-head>*{min-width:0}
	.bim-product-page .bim-vendor-box-name,.bim-product-page .bim-vendor-box-sub,
	.bim-product-page .bim-vendor-box-about,.bim-product-page .bim-vendor-box-country{overflow-wrap:anywhere}
	/* Trust rows: link text shrinks and wraps. */
	.bim-product-page .bim-trust-row li{min-width:0}
	.bim-product-page .bim-trust-row li a,.bim-product-page .bim-trust-row li>*{min-width:0;overflow-wrap:break-word}
	/* Chips: no nowrap inside the summary. */
	.bim-product-page .bim-chip,.bim-product-page .bim-moq-chip{white-space:normal;max-width:100%;overflow-wrap:anywhere}
	/* Tags/meta: the long tag line wraps fully. */
	.bim-product-page .product_meta{max-width:100%;overflow-wrap:anywhere}
	.bim-product-page .product_meta>span{display:block;max-width:100%;overflow-wrap:anywhere}
	.bim-product-page .product_meta a{overflow-wrap:anywhere}
	/* Q&A: form and items stay inside the column. */
	.bim-product-page .bim-qa,.bim-product-page .bim-qa-item{max-width:100%;min-width:0;box-sizing:border-box;overflow-wrap:break-word}
	.bim-product-page .bim-qa .bim-form{width:100%;max-width:100%;min-width:0}
	.bim-product-page .bim-qa .bim-btn{width:100%;white-space:normal!important}
	/* Quote panel + tier table: fluid. */
	.bim-product-page .bim-quote-panel{max-width:100%;box-sizing:border-box;padding:16px}
	.bim-product-page .bim-tier-table{table-layout:fixed}
	.bim-product-page .bim-tier-table th,.bim-product-page .bim-tier-table td{overflow-wrap:anywhere;padding:8px 10px}
	/* Variations + sticky bar buttons wrap their labels. */
	.bim-product-page .variations select{max-width:100%;box-sizing:border-box}
	.bim-sticky-bar .bim-btn{flex:1 1 0;min-width:0;white-space:normal!important;text-align:center;line-height:1.3}
}

/* ============================================================
   v1.2.6 fix round 5 — product layout targets Blocksy's real
   wrapper (staging diagnostic, 3 Dec 2026). Mirrors theme
   v1.1.6.
   Root cause (measured): current Blocksy markup wraps
   gallery+summary in .product-entry-wrapper (flex ≥lg;
   gallery width:var(--product-gallery-width,50%) ≥lg /
   100% ≥md; summary width:calc(100% −
   var(--product-gallery-width,50%)) + margin-inline-start:
   40px ≥lg / 100% ≥md). Every earlier layout rule targeted
   .ct-product-view, which does not exist in current markup,
   so the collapse/grid rules were dead selectors: the
   mobile summary rendered ~1450px wide (title, buttons and
   tags clipped) and desktop fell back to Blocksy's 50/50
   flex split instead of the 1.08fr/.92fr grid. The
   .ct-product-view rules above stay as harmless fallback;
   the rules below target the real wrapper and beat
   Blocksy's flex rules. FlexSlider slide widths are
   re-measured on viewport resize in bim.js (the Customizer
   preview kept a desktop 821px inline slide width).
   ============================================================ */

/* Gallery media: frame-filling at every width. The slide
   keeps the 4:3 frame; the image covers it fully. Slide
   width stays non-!important so FlexSlider's inline slide
   widths (set to the measured viewport width) still win
   while the slider is live. */
.bim-product-page .woocommerce-product-gallery__image{width:100%;max-width:100%;aspect-ratio:4/3}
.bim-product-page .woocommerce-product-gallery__image img{width:100%;height:100%;object-fit:cover;display:block}
.bim-product-page .woocommerce-product-gallery__wrapper{max-width:100%}
.bim-product-page .flex-control-thumbs{max-width:100%;overflow-x:auto;box-sizing:border-box;-webkit-overflow-scrolling:touch}
.bim-product-page .flex-control-thumbs li{flex:0 0 auto}

/* Desktop ≥1025px: the wrapper becomes our two-column
   grid (gallery 1.08fr, summary .92fr with a 360px floor),
   spanning the full product frame; Blocksy's percentage
   widths and 40px inline-start margin are cleared. */
@media(min-width:1025px){
	.bim-product-page div.product>.product-entry-wrapper{grid-column:1/-1}
	.bim-product-page .product-entry-wrapper{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)!important;column-gap:44px;align-items:start;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
	.bim-product-page .product-entry-wrapper>.woocommerce-product-gallery{grid-column:1;width:auto!important;max-width:100%;min-width:0;float:none!important;margin:0!important;margin-inline-start:0!important}
	.bim-product-page .product-entry-wrapper>.entry-summary{grid-column:2;width:auto!important;max-width:100%;min-width:0;float:none!important;margin:0!important;margin-inline-start:0!important}
}
@media(min-width:1600px){
	.bim-product-page .product-entry-wrapper{column-gap:56px}
}

/* ≤1024px: one shrinkable column — gallery then summary,
   each full width, no inline-start offset. */
@media(max-width:1024px){
	.bim-product-page div.product{grid-template-columns:minmax(0,1fr)}
	.bim-product-page div.product>.product-entry-wrapper{grid-column:1/-1}
	.bim-product-page .product-entry-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr)!important;column-gap:0;row-gap:24px;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
	.bim-product-page .product-entry-wrapper>.woocommerce-product-gallery{grid-column:1!important;width:100%!important;max-width:100%;min-width:0;float:none!important;margin:0!important;margin-inline-start:0!important;box-sizing:border-box}
	.bim-product-page .product-entry-wrapper>.entry-summary{grid-column:1!important;width:100%!important;max-width:100%;min-width:0;float:none!important;margin:0!important;margin-inline-start:0!important;box-sizing:border-box}
}
