/* ============================================================
   Bee Impex Marketplace — child theme chrome
   Site-wide frame for the design system. Marketplace component
   styles live in the plugin (bim.css) and load after this file.
   ============================================================ */

:root{
	--bimt-bg:#FFFFFF;--bimt-surface:#F7F7F9;--bimt-sunken:#F4EFFB;
	--bimt-ink:#20113A;--bimt-ink-2:#5A5470;--bimt-ink-3:#6E6890;
	--bimt-border:#E3DEF0;--bimt-border-strong:#8A7FB8;
	--bimt-primary:#4D148C;--bimt-primary-deep:#3B0F6E;
	--bimt-primary-tint:#F4EFFB;--bimt-primary-tint-2:#E9E0F7;--bimt-primary-border:#C9B8EC;
	--bimt-brand:#FF6200;--bimt-brand-hover:#E45700;--bimt-brand-text:#B34700;--bimt-brand-tint:#FFF1E8;
	--bimt-orange-soft:#FFB37E;
	--bimt-band-grad:linear-gradient(135deg,#4D148C 0%,#3B0F6E 100%);
	--bimt-black:#3B0F6E;
	--bimt-font-display:"Archivo","Archivo Expanded","Inter",system-ui,sans-serif;
	--bimt-font-ui:"Inter","Noto Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	--bimt-r-md:12px;--bimt-r-lg:16px;--bimt-r-xl:20px;
	--bimt-container:1440px;--bimt-gutter:24px;--bimt-container-lg:1560px;--bimt-container-xl:1680px;
	--bimt-shadow:0 10px 34px rgba(32,17,58,.14);
}

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

.bimt-theme{background:var(--bimt-bg);color:var(--bimt-ink);font-family:var(--bimt-font-ui);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
.bimt-theme ::selection{background:var(--bimt-brand);color:var(--bimt-ink)}
.bimt-theme a{color:var(--bimt-primary)}
.bimt-theme a:hover{color:var(--bimt-brand-text)}
.bimt-theme :focus-visible{outline:3px solid var(--bimt-brand);outline-offset:2px;box-shadow:0 0 0 5px rgba(77,20,140,.30);border-radius:4px}

.bimt-container{max-width:var(--bimt-container);margin:0 auto;padding:0 var(--bimt-gutter);width:100%;box-sizing:border-box}
.bimt-main{padding:28px 0 72px}
@media(max-width:640px){.bimt-container{padding:0 16px}.bimt-main{padding:20px 0 56px}}

.bimt-skip-link{position:absolute;left:-9999px;top:0;background:var(--bimt-primary);color:#fff;padding:12px 18px;z-index:100000;border-radius:0 0 8px 0;font-weight:600}
.bimt-skip-link:focus{left:0;color:#fff}

/* ---------- Header ---------- */
.bimt-header{position:sticky;top:0;z-index:9990;background:#fff;border-bottom:1px solid var(--bimt-border)}
.bimt-header-main{border-bottom:1px solid var(--bimt-border)}
.bimt-header-inner{max-width:var(--bimt-container);margin:0 auto;padding:14px var(--bimt-gutter);width:100%;box-sizing:border-box;display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;transition:padding .18s ease}
.bimt-header.is-shrunk .bimt-header-inner{padding-top:8px;padding-bottom:8px}
.bimt-logo img{height:40px;width:auto;max-width:230px;object-fit:contain;display:block}
.bimt-header.is-shrunk .bimt-logo img{height:32px}
.bimt-logo-text{font-family:var(--bimt-font-display);font-weight:800;font-size:22px;color:var(--bimt-primary);text-decoration:none;letter-spacing:.01em}
.bimt-menu-toggle{display:none;background:none;border:1.5px solid var(--bimt-border-strong);border-radius:10px;width:48px;height:48px;font-size:22px;cursor:pointer;color:var(--bimt-primary)}
.bimt-search{display:flex;max-width:760px;width:100%;justify-self:center}
.bimt-search input[type="search"]{flex:1;min-height:50px;border:1.5px solid var(--bimt-border-strong);border-right:0;border-radius:var(--bimt-r-md) 0 0 var(--bimt-r-md);padding:11px 14px;font-size:16px;background:#fff;color:var(--bimt-ink);min-width:0}
.bimt-search input[type="search"]::placeholder{color:var(--bimt-ink-3)}
.bimt-search button{min-height:50px;border:0;background:var(--bimt-brand);color:var(--bimt-ink);font-weight:700;font-size:15.5px;padding:0 24px;border-radius:0 var(--bimt-r-md) var(--bimt-r-md) 0;cursor:pointer;font-family:var(--bimt-font-ui)}
.bimt-search button:hover{background:var(--bimt-brand-hover)}
.bimt-actions{display:flex;gap:6px;align-items:center}
.bimt-action{position:relative;display:inline-flex;flex-direction:column;align-items:center;gap:2px;min-width:56px;min-height:48px;padding:6px 8px;color:var(--bimt-primary);text-decoration:none;font-size:12.5px;font-weight:600;border-radius:10px;justify-content:center}
.bimt-action:hover{background:var(--bimt-primary-tint);color:var(--bimt-primary-deep)}
.bimt-badge{position:absolute;top:2px;right:4px;background:var(--bimt-brand);color:var(--bimt-ink);font-size:11px;font-weight:800;border-radius:999px;min-width:19px;height:19px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;font-variant-numeric:tabular-nums}
.bimt-sell-cta{display:inline-flex;align-items:center;min-height:48px;background:var(--bimt-brand);color:var(--bimt-ink);font-weight:700;padding:11px 18px;border-radius:var(--bimt-r-md);text-decoration:none;font-size:15px;margin-left:8px}
.bimt-sell-cta:hover{background:var(--bimt-brand-hover);color:var(--bimt-ink)}

/* Nav + mega menu */
.bimt-nav{position:relative}
.bimt-nav-inner{max-width:var(--bimt-container);margin:0 auto;padding:0 var(--bimt-gutter);width:100%;box-sizing:border-box;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bimt-mega-toggle{background:none;border:0;font:inherit;font-weight:700;font-size:15px;color:var(--bimt-primary);cursor:pointer;min-height:48px;padding:10px 12px;border-radius:10px}
.bimt-mega-toggle:hover{background:var(--bimt-primary-tint)}
.bimt-mega-toggle[aria-expanded="true"]{box-shadow:inset 0 -3px 0 var(--bimt-brand)}
.bimt-menu{display:flex;gap:2px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.bimt-menu li a{display:inline-flex;align-items:center;min-height:48px;padding:10px 13px;color:var(--bimt-primary);text-decoration:none;font-weight:500;font-size:15px;border-radius:10px}
.bimt-menu li a:hover{background:var(--bimt-primary-tint);color:var(--bimt-primary-deep)}
.bimt-menu li.current-menu-item a,.bimt-menu li.current_page_item a{font-weight:700;box-shadow:inset 0 -3px 0 var(--bimt-brand);border-radius:10px 10px 0 0}
.bimt-mega{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--bimt-border);box-shadow:var(--bimt-shadow);z-index:9980}
.bimt-mega-inner{max-width:var(--bimt-container);margin:0 auto;padding:28px var(--bimt-gutter);width:100%;box-sizing:border-box;display:grid;grid-template-columns:repeat(5,1fr);gap:24px}
.bimt-mega-group h3{margin:0 0 12px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--bimt-ink-2);font-family:var(--bimt-font-display)}
.bimt-mega-group ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.bimt-mega-group a{color:var(--bimt-ink);text-decoration:none;font-size:15px;font-weight:500;display:inline-flex;min-height:36px;align-items:center}
.bimt-mega-group a:hover{color:var(--bimt-primary);text-decoration:underline}
.bimt-mega-note{background:var(--bimt-brand-tint);border:1px solid var(--bimt-brand);border-radius:var(--bimt-r-lg);padding:18px}
.bimt-mega-note p{margin:0 0 10px;font-size:14.5px}

@media(max-width:1024px){
	.bimt-header-inner{grid-template-columns:auto 1fr auto;gap:12px;padding:10px 16px}
	.bimt-menu-toggle{display:inline-flex;align-items:center;justify-content:center}
	.bimt-search{grid-column:1 / -1;order:3;max-width:none}
	.bimt-nav{display:none}
	.bimt-nav.is-open{display:block}
	.bimt-nav-inner{flex-direction:column;align-items:stretch;padding:8px 16px 16px}
	.bimt-menu{flex-direction:column}
	.bimt-mega{position:static;box-shadow:none;border:0}
	.bimt-mega-inner{grid-template-columns:1fr 1fr;padding:16px}
	.bimt-sell-cta{display:none}
}
@media(max-width:600px){
	.bimt-action span:not(.bimt-badge){display:none}
	.bimt-action{min-width:48px}
	.bimt-logo img{height:34px;max-width:170px}
	.bimt-mega-inner{grid-template-columns:1fr}
}

/* ---------- Footer ---------- */
.bimt-footer{background:var(--bimt-primary-deep);color:#E9E0F7;margin-top:0}
.bimt-footer-inner{max-width:var(--bimt-container);margin:0 auto;padding:56px var(--bimt-gutter) 28px;width:100%;box-sizing:border-box}
.bimt-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:36px}
.bimt-footer-logo{height:42px;width:auto;max-width:220px;object-fit:contain;background:#fff;border-radius:8px;padding:4px 8px}
.bimt-footer .bimt-logo-text{color:#fff}
.bimt-footer-brand p{color:#D9CDF2;font-size:15px;max-width:48ch}
.bimt-footer-contact a{color:var(--bimt-brand)}
.bimt-footer-col h3{color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 14px;font-family:var(--bimt-font-display)}
.bimt-footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.bimt-footer-col a{color:#E9E0F7;text-decoration:none;font-size:15px;display:inline-flex;min-height:34px;align-items:center}
.bimt-footer-col a:hover{color:var(--bimt-brand);text-decoration:underline}
.bimt-trust-strip{display:flex;flex-wrap:wrap;gap:10px 26px;border-top:1px solid rgba(255,255,255,.18);border-bottom:1px solid rgba(255,255,255,.18);padding:18px 0;margin-top:36px;font-size:14px;font-weight:600;color:#fff}
.bimt-legal{padding-top:20px;font-size:14px;color:#C9B8EC}
.bimt-legal p{margin:0 0 8px}
.bimt-legal-menu{display:flex;gap:18px;list-style:none;margin:0 0 8px;padding:0;flex-wrap:wrap}
.bimt-legal-menu a{color:#E9E0F7;text-decoration:none}
.bimt-legal-menu a:hover{color:var(--bimt-brand)}
.bimt-legal-note{font-size:13px;color:#B9A8DE}
@media(max-width:900px){.bimt-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.bimt-footer-grid{grid-template-columns:1fr}.bimt-footer-inner{padding:40px 16px 24px}}

/* ---------- Content / prose ---------- */
.bimt-prose{max-width:74ch}
.bimt-prose h2{font-family:var(--bimt-font-display);font-weight:800;font-size:26px;line-height:1.25;margin:1.6em 0 .5em}
.bimt-prose h3{font-family:var(--bimt-font-display);font-weight:700;font-size:20px;margin:1.4em 0 .4em}
.bimt-prose p,.bimt-prose li{font-size:16.5px;line-height:1.65}
.bimt-prose img{max-width:100%;height:auto;border-radius:var(--bimt-r-md)}
.bimt-prose table{width:100%;border-collapse:collapse;border:1px solid var(--bimt-border)}
.bimt-prose th,.bimt-prose td{border-bottom:1px solid var(--bimt-border);padding:10px 12px;text-align:left;font-size:15px}
.bimt-prose thead th{background:var(--bimt-primary-tint);color:var(--bimt-primary-deep)}
.bimt-article-media img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--bimt-r-lg)}
.bimt-meta{color:var(--bimt-ink-2);font-size:14px}

/* Card grid (blog/archive/search) */
.bimt-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin:24px 0}
.bimt-card{border:1px solid var(--bimt-border);border-radius:var(--bimt-r-lg);overflow:hidden;background:#fff;display:flex;flex-direction:column}
.bimt-card-media img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.bimt-card-body{padding:18px;display:grid;gap:8px;align-content:start;flex:1}
.bimt-card-title{font-size:18px;line-height:1.3;margin:0;font-family:var(--bimt-font-display);font-weight:700}
.bimt-card-title a{color:var(--bimt-ink);text-decoration:none}
.bimt-card-title a:hover{color:var(--bimt-primary)}
.bimt-card-excerpt p{margin:0;color:var(--bimt-ink-2);font-size:14.5px}
.bimt-card-body .bim-btn{margin-top:auto;justify-self:start}
.bimt-theme .navigation.pagination{margin:28px 0}
.bimt-theme .navigation.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.bimt-theme .navigation.pagination a,.bimt-theme .navigation.pagination span{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--bimt-border);border-radius:10px;padding:8px 12px;background:#fff;color:var(--bimt-ink);text-decoration:none}
.bimt-theme .navigation.pagination .current{background:var(--bimt-primary);color:#fff}

/* 404 */
.bimt-404{max-width:880px;margin:40px 0;text-align:left;display:grid;gap:16px}
.bimt-404-search{max-width:640px}

/* ---------- WooCommerce site-wide ---------- */
.bimt-theme .woocommerce .woocommerce-breadcrumb{font-size:13.5px;color:var(--bimt-ink-2);margin-bottom:18px}
.bimt-theme .woocommerce .woocommerce-breadcrumb a{color:var(--bimt-ink);text-decoration:none;font-weight:500}
.bimt-theme .woocommerce-products-header__title{font-family:var(--bimt-font-display);font-weight:800;font-size:clamp(28px,4vw,40px);line-height:1.12;margin:0 0 8px}
.bimt-theme .woocommerce .products{margin:0}
.bimt-theme .woocommerce .products li.product{margin-bottom:24px}
.bimt-theme ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.bimt-theme ul.products li.product{width:auto!important;margin:0!important;float:none!important}
@media(max-width:1100px){.bimt-theme ul.products{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.bimt-theme ul.products{grid-template-columns:repeat(2,1fr);gap:14px}}
@media(max-width:480px){.bimt-theme ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* Cart / checkout */
.bimt-theme .woocommerce table.shop_table{border:1px solid var(--bimt-border);border-radius:var(--bimt-r-lg);overflow:hidden}
.bimt-theme .woocommerce table.shop_table th{background:var(--bimt-primary-tint);color:var(--bimt-primary-deep);font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.bimt-theme .woocommerce table.shop_table th,.bimt-theme .woocommerce table.shop_table td{padding:12px 14px;font-size:15px;font-variant-numeric:tabular-nums}
.bimt-theme .woocommerce .cart-collaterals .cart_totals{background:var(--bimt-surface);border:1px solid var(--bimt-border);border-radius:var(--bimt-r-lg);padding:22px}
.bimt-theme .woocommerce-checkout .col2-set .col-1,.bimt-theme .woocommerce-checkout .col2-set .col-2{background:#fff;border:1px solid var(--bimt-border);border-radius:var(--bimt-r-lg);padding:22px}
.bimt-theme .woocommerce-checkout #payment{background:var(--bimt-surface);border:1px solid var(--bimt-border);border-radius:var(--bimt-r-lg)}
.bimt-theme .woocommerce-checkout #payment div.payment_box{background:#fff;border:1px solid var(--bimt-border)}
.bimt-theme .woocommerce #place_order{background:var(--bimt-brand);color:var(--bimt-ink);min-height:54px;font-weight:700;border-radius:var(--bimt-r-md)}
.bimt-theme .woocommerce #place_order:hover{background:var(--bimt-brand-hover);color:var(--bimt-ink)}
.bimt-theme .woocommerce form .form-row label{font-weight:600;font-size:14.5px;color:var(--bimt-ink)}
.bimt-theme .woocommerce .select2-container--default .select2-selection--single{min-height:48px;border:1.5px solid var(--bimt-border-strong);border-radius:var(--bimt-r-md)}
.bimt-theme .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:46px;font-size:15px}
.bimt-theme .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}

/* Account */
.bimt-theme .woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:20px}
.bimt-theme .woocommerce-account .woocommerce-MyAccount-content{background:#fff}
.bimt-theme .woocommerce-orders-table .button{min-height:44px}

/* Blocksy leftovers neutralised */
.bimt-theme .ct-header,.bimt-theme #header,.bimt-theme .ct-footer{display:none!important}
.bimt-theme .ct-container,.bimt-theme [class*="ct-container"]{max-width:var(--bimt-container);width:100%}
.bimt-theme .hero-section,.bimt-theme .ct-hero-section{display:none!important}

@media(prefers-reduced-motion:reduce){
	.bimt-theme *{transition-duration:.01ms!important;animation-duration:.01ms!important}
}

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

/* Full-bleed bands use 100vw; clip (not hidden) keeps sticky
   headers working while preventing horizontal scroll. */
html,body{overflow-x:clip}
.bimt-theme [hidden]{display:none!important}

/* Logo: legible at a glance, correct aspect, no distortion. */
.bimt-logo img{height:48px;max-width:270px;object-fit:contain}
.bimt-header.is-shrunk .bimt-logo img{height:38px}
.bimt-footer-logo{height:58px;max-width:250px}
@media(max-width:600px){.bimt-logo img{height:40px;max-width:200px}.bimt-footer-logo{height:50px}}

/* Footer: light text on deep purple everywhere (beats generic
   link colours from any stylesheet order). */
.bimt-theme .bimt-footer{color:#E9E0F7}
.bimt-theme .bimt-footer a{color:#E9E0F7}
.bimt-theme .bimt-footer a:hover{color:var(--bimt-brand)}
.bimt-theme .bimt-footer .bimt-footer-contact a{color:var(--bimt-brand)}
.bimt-theme .bimt-footer .bimt-footer-contact a:hover{color:#fff}
.bimt-theme .bimt-footer h3{color:#fff}
.bimt-theme .bimt-footer .bimt-legal{color:#C9B8EC}
.bimt-theme .bimt-footer .bimt-legal-note{color:#B9A8DE}

/* WooCommerce buttons: brand system on every surface (no blue).
   Purple primary, orange for the main action. */
.bimt-theme .woocommerce .button,.bimt-theme .woocommerce button.button,.bimt-theme .woocommerce input.button,
.bimt-theme .woocommerce a.button,.bimt-theme .woocommerce .wc-forward{
	background:var(--bimt-primary);color:#fff;border:1.5px solid var(--bimt-primary);border-radius:var(--bimt-r-md);
	min-height:48px;font-weight:600;padding:12px 20px;text-decoration:none}
.bimt-theme .woocommerce .button:hover,.bimt-theme .woocommerce button.button:hover,.bimt-theme .woocommerce a.button:hover{background:var(--bimt-primary-deep);border-color:var(--bimt-primary-deep);color:#fff}
.bimt-theme .woocommerce .button.alt,.bimt-theme .woocommerce .checkout-button,.bimt-theme .woocommerce #place_order,
.bimt-theme .woocommerce .single_add_to_cart_button{background:var(--bimt-brand);border-color:var(--bimt-brand);color:var(--bimt-ink)}
.bimt-theme .woocommerce .button.alt:hover,.bimt-theme .woocommerce .checkout-button:hover,.bimt-theme .woocommerce #place_order:hover,
.bimt-theme .woocommerce .single_add_to_cart_button:hover{background:var(--bimt-brand-hover);border-color:var(--bimt-brand-hover);color:var(--bimt-ink)}
.bimt-theme .woocommerce .button:disabled,.bimt-theme .woocommerce .button.disabled{opacity:.55}
.bimt-theme .woocommerce .amount{font-variant-numeric:tabular-nums}
.bimt-theme .woocommerce table.cart .button[name="update_cart"]{background:#fff;color:var(--bimt-primary)}
.bimt-theme .woocommerce table.cart .button[name="update_cart"]:hover{background:var(--bimt-primary-tint);color:var(--bimt-primary-deep)}

/* Account navigation active state. */
.bimt-theme .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;border:1px solid var(--bimt-border);border-radius:var(--bimt-r-lg);overflow:hidden;background:#fff}
.bimt-theme .woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--bimt-border)}
.bimt-theme .woocommerce-MyAccount-navigation li:last-child{border-bottom:none}
.bimt-theme .woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:48px;padding:12px 16px;color:var(--bimt-ink);text-decoration:none;font-weight:500}
.bimt-theme .woocommerce-MyAccount-navigation a:hover{background:var(--bimt-primary-tint);color:var(--bimt-primary-deep)}
.bimt-theme .woocommerce-MyAccount-navigation .is-active a{background:var(--bimt-primary-tint);color:var(--bimt-primary-deep);font-weight:700;box-shadow:inset 3px 0 0 var(--bimt-primary)}

/* Product loop: cards equal height, media frame on top. */
.bimt-theme ul.products li.product{display:flex}
.bimt-theme ul.products li.product .bim-pcard{flex:1}
.bimt-theme ul.products li.product img{image-orientation:from-image}

/* Empty cart actions. */
.bimt-cart-empty .return-to-shop{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.bimt-cart-empty .return-to-shop .button{min-height:48px;display:inline-flex;align-items:center}

/* Search results spacing. */
.bimt-theme .bim-store-strip{margin:16px 0 28px}

/* ============================================================
   v1.0.2 — button system wins everywhere.
   Blocksy drives buttons from --theme-button-* variables
   (Customizer blue by default); reset the variables AND carry
   concrete high-specificity rules so no blue button survives
   on any surface (shop, product, cart, checkout, blocks).
   ============================================================ */
:root,body.bimt-theme{
	--theme-button-background-initial-color:var(--bimt-primary);
	--theme-button-background-hover-color:var(--bimt-primary-deep);
	--theme-button-text-initial-color:#fff;
	--theme-button-text-hover-color:#fff;
	--theme-button-border-initial-color:var(--bimt-primary);
	--theme-button-border-hover-color:var(--bimt-primary-deep);
}
.bimt-theme .button,.bimt-theme button.button,.bimt-theme input.button,.bimt-theme a.button,
.bimt-theme .woocommerce .button,.bimt-theme .woocommerce button.button,.bimt-theme .woocommerce input.button,.bimt-theme .woocommerce a.button,
.bimt-theme .woocommerce .wc-forward,.bimt-theme .wp-block-button__link,.bimt-theme .wc-block-components-button,
.bimt-theme ul.products li.product .button,.bimt-theme .return-to-shop .button,.bimt-theme input[type="submit"]:not(.bim-btn){
	background-color:var(--bimt-primary)!important;color:#fff!important;border:1.5px solid var(--bimt-primary)!important;border-radius:var(--bimt-r-md);min-height:48px;font-weight:600;
}
.bimt-theme .button:hover,.bimt-theme button.button:hover,.bimt-theme a.button:hover,.bimt-theme .wp-block-button__link:hover,.bimt-theme .wc-block-components-button:hover{background-color:var(--bimt-primary-deep)!important;border-color:var(--bimt-primary-deep)!important;color:#fff!important}
.bimt-theme .woocommerce .button.alt,.bimt-theme .woocommerce .checkout-button,.bimt-theme .woocommerce #place_order,
.bimt-theme .woocommerce .single_add_to_cart_button,.bimt-theme .wc-block-cart__submit-button,
.bimt-theme .wc-block-checkout__actions_row .wc-block-components-button,.bimt-theme .wc-block-components-checkout-place-order-button{
	background-color:var(--bimt-brand)!important;border-color:var(--bimt-brand)!important;color:var(--bimt-ink)!important;
}
.bimt-theme .woocommerce .button.alt:hover,.bimt-theme .woocommerce .checkout-button:hover,.bimt-theme .woocommerce #place_order:hover,.bimt-theme .woocommerce .single_add_to_cart_button:hover{background-color:var(--bimt-brand-hover)!important;border-color:var(--bimt-brand-hover)!important;color:var(--bimt-ink)!important}
.bimt-theme .woocommerce table.cart .button[name="update_cart"]{background-color:#fff!important;color:var(--bimt-primary)!important}
.bimt-theme .woocommerce table.cart .button[name="update_cart"]:hover{background-color:var(--bimt-primary-tint)!important;color:var(--bimt-primary-deep)!important}
.bimt-theme .button:disabled,.bimt-theme .button.disabled,.bimt-theme button:disabled{opacity:.55}
/* Plugin buttons keep their own variants under the theme too. */
.bimt-theme .bim-btn{background-color:var(--bimt-primary)!important;color:#fff!important;border-color:var(--bimt-primary)!important}
.bimt-theme .bim-btn-brand{background-color:var(--bimt-brand)!important;border-color:var(--bimt-brand)!important;color:var(--bimt-ink)!important}
.bimt-theme .bim-btn-secondary{background-color:#fff!important;color:var(--bimt-primary)!important;border-color:var(--bimt-primary)!important}
.bimt-theme .bim-btn-ghost{background-color:transparent!important;border-color:transparent!important;color:var(--bimt-primary)!important}

/* Currency: guaranteed ₨ via the Inter subset face + fallbacks. */
.bimt-theme .woocommerce .amount,.bimt-theme .woocommerce-Price-amount,.bimt-theme .price{
	font-family:'Inter','Noto Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
	font-variant-numeric:tabular-nums;
}

/* --- Fix round 3 (v1.0.3) --- */
/* Currency: ₨ from the Noto Sans subset on every surface. */
.bimt-theme .woocommerce .amount,.bimt-theme .woocommerce-Price-amount,.bimt-theme .price{
	font-family:'BIM Rupee','Inter','Noto Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
.bimt-theme .woocommerce-Price-currencySymbol{font-family:'BIM Rupee','Inter',sans-serif}
/* Product tabs: active tab shows ONLY the orange underline.
   The thin blue line beneath the underline survived earlier
   rounds: Blocksy paints tab rules from its palette variables
   (default blue) on painters not previously covered — the list
   ::after rule, link ::before/::after underlines, and the tab
   panel's top border. Killed at the source (palette variables
   reset below) and by covering every painter here. */
.bimt-theme .woocommerce div.product .woocommerce-tabs{border:0!important;box-shadow:none!important;background:transparent!important}
.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs{border:0!important;border-bottom:2px solid var(--bimt-border)!important;box-shadow:none!important;background:transparent!important}
.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs::before,.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs::after{border:0!important;border-bottom:2px solid var(--bimt-border)!important;box-shadow:none!important;background:transparent!important}
.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li{border:0!important;box-shadow:none!important;background:transparent!important}
.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li::before,.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li::after{border:0!important;box-shadow:none!important;background:transparent!important;content:none!important}
.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--bimt-ink-2)!important;border:0!important;box-shadow:none!important;background:transparent!important}
.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li a::before,.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li a::after{border:0!important;box-shadow:none!important;background:transparent!important;content:none!important}
.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--bimt-primary)!important}
.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li.active{border:0!important;box-shadow:none!important;background:transparent!important}
.bimt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--bimt-primary-deep)!important;background:transparent!important;border:0!important;box-shadow:inset 0 -3px 0 var(--bimt-brand)!important}
.bimt-theme .woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel,.bimt-theme .woocommerce div.product .woocommerce-tabs .panel{border:0!important;border-top:0!important;box-shadow:none!important;background:transparent!important}
/* Gallery visible pre-JS even without the plugin stylesheet. */
.bimt-theme .woocommerce-product-gallery{opacity:1!important;transition:none!important}
.bimt-theme .woocommerce-product-gallery__image{display:none}
.bimt-theme .woocommerce-product-gallery__image:first-child{display:block}
.bimt-theme .flex-viewport .woocommerce-product-gallery__image{display:block}
.bimt-theme .woocommerce-product-gallery__image img{opacity:1!important}
/* Empty-cart actions (classic + block cart injection). */
.bimt-cart-empty-actions{margin:24px 0;text-align:center}
.bimt-cart-empty-actions[hidden]{display:none!important}
.bimt-cart-empty-actions .return-to-shop{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.bimt-cart-empty-actions .return-to-shop .button,.bimt-cart-empty-actions .return-to-shop .bim-btn{min-height:48px;display:inline-flex;align-items:center}
/* Header cart badge wrapper (fragment target). */
.bimt-cart-count{position:absolute;top:0;right:0;pointer-events:none}
.bimt-cart-count .bimt-badge{position:static}
.bimt-action{position:relative}

/* ============================================================
   v1.1.0 — FedEx re-skin: Blocksy palette variables reset.
   Blocksy accents (tab rules, links, form focus, sale flashes)
   read --theme-palette-color-* whose defaults are blue; reset
   them to purple/orange so no blue can leak anywhere.
   ============================================================ */
:root,body.bimt-theme{
	--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;
}
.bimt-theme .woocommerce span.onsale{background:var(--bimt-brand)!important;color:var(--bimt-ink)!important}
.bimt-theme .woocommerce .star-rating span::before,.bimt-theme .woocommerce .star-rating::before{color:#E45700}
.bimt-theme .ct-product-tabs .woocommerce-Tabs-panel{border-top:0!important;box-shadow:none!important}

/* ============================================================
   v1.1.1 — Layout width: fill wide screens (owner order,
   3 Dec 2026). Container 1440px (1560px ≥1920px), gutters
   24px (32px ≥1600px, 16px mobile). Header, nav, mega menu
   and footer inners share the same container line. Width
   only — colours and behaviour unchanged.
   ============================================================ */

/* Blocksy container variables follow the wide container. */
:root,body.bimt-theme{
	--theme-container-width:var(--bimt-container);
	--container-width:var(--bimt-container);
}

/* Shop grids: 6 across ≥1280px viewport (v1.1.3). */
@media(min-width:1280px){.bimt-theme ul.products{grid-template-columns:repeat(6,1fr)}}
@media(min-width:1600px){.bimt-theme ul.products{grid-template-columns:repeat(6,1fr);gap:22px}}
@media(max-width:820px){.bimt-theme ul.products{gap:14px}}

/* Product single: gallery + summary share the wide container;
   tabs and related products span it. Mirrors the plugin rules
   so the frame holds even without the plugin stylesheet. */
@media(min-width:901px){
	.bimt-theme .woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);column-gap:44px;align-items:start;position:relative}
	.bimt-theme .woocommerce div.product>.woocommerce-product-gallery{grid-column:1;width:auto!important;float:none!important;margin:0!important}
	.bimt-theme .woocommerce div.product>.entry-summary{grid-column:2;width:auto!important;float:none!important;margin:0!important}
	.bimt-theme .woocommerce div.product>.woocommerce-tabs,
	.bimt-theme .woocommerce div.product>.upsells,
	.bimt-theme .woocommerce div.product>.related{grid-column:1/-1;width:100%;min-width:0}
	.bimt-theme .woocommerce div.product>span.onsale{position:absolute;top:16px;left:16px;z-index:6}
	.bimt-theme .woocommerce 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%}
	.bimt-theme .woocommerce .ct-product-view>.woocommerce-product-gallery{grid-column:1;width:auto!important;float:none!important;margin:0!important}
	.bimt-theme .woocommerce .ct-product-view>.entry-summary{grid-column:2;width:auto!important;float:none!important;margin:0!important}
}
@media(min-width:1600px){.bimt-theme .woocommerce div.product,.bimt-theme .woocommerce div.product>.ct-product-view{column-gap:56px}}

/* My Account: 280px nav rail, content fills the rest. */
.bimt-theme .woocommerce-account .woocommerce-MyAccount-navigation{width:280px;float:left}
.bimt-theme .woocommerce-account .woocommerce-MyAccount-content{width:calc(100% - 312px);float:right;min-width:0}
@media(max-width:900px){
	.bimt-theme .woocommerce-account .woocommerce-MyAccount-navigation,
	.bimt-theme .woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none}
}

/* Checkout: billing/shipping columns span the container. */
.bimt-theme .woocommerce-checkout .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.bimt-theme .woocommerce-checkout .col2-set .col-1,
.bimt-theme .woocommerce-checkout .col2-set .col-2{width:auto;float:none}
@media(max-width:900px){.bimt-theme .woocommerce-checkout .col2-set{grid-template-columns:1fr}}
.bimt-theme .wc-block-checkout,.bimt-theme .wc-block-cart{max-width:none}

/* Footer + mega menu breathe on very wide screens. */
@media(min-width:1600px){
	.bimt-footer-grid{gap:48px}
	.bimt-mega-inner{gap:32px}
	.bimt-header-inner{gap:28px}
}

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

/* Header: the 1fr logo column must be allowed to shrink
   (minmax(0,1fr) + logo capped to its column). Before this,
   the logo's intrinsic width blew the grid past the viewport
   on shop/product mobile previews: logo clipped, search row
   ran off the right edge, Search button off-screen. */
.bimt-header-inner{grid-template-columns:auto minmax(0,1fr) auto}
.bimt-logo{min-width:0}
.bimt-logo a{display:block;min-width:0}
.bimt-logo img{max-width:100%}
.bimt-actions{min-width:0}
.bimt-search{min-width:0;box-sizing:border-box}
.bimt-search button{flex:0 0 auto}
@media(max-width:1024px){
	.bimt-header-inner{grid-template-columns:auto minmax(0,1fr) auto}
	.bimt-search{width:100%}
}
@media(max-width:767px){
	.bimt-header-inner{gap:10px;padding:10px 16px}
	.bimt-logo img{height:36px;max-width:100%}
	.bimt-action{min-width:44px;padding:6px 4px}
	.bimt-actions{gap:2px}
	.bimt-search input[type="search"]{padding:11px 12px}
	.bimt-search button{padding:0 16px;font-size:15px}
	.bimt-nav-inner{padding:8px 16px 16px}
	.bimt-mega-inner{padding:16px}
}

/* Nothing exceeds the viewport on shop/product mobile. */
.bimt-theme img,.bimt-theme video,.bimt-theme iframe,.bimt-theme table{max-width:100%}
.bimt-theme .woocommerce-product-gallery,.bimt-theme .flex-viewport{max-width:100%}
.bimt-theme .flex-control-thumbs{flex-wrap:wrap}
.bimt-theme .woocommerce-pagination ul{flex-wrap:wrap}
@media(max-width:767px){
	.bimt-theme .woocommerce-result-count,.bimt-theme .woocommerce-ordering{float:none!important;width:100%;margin:0 0 12px}
	.bimt-theme .woocommerce-ordering select{width:100%;max-width:100%}
	.bimt-theme .woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
	.bimt-theme .woocommerce div.product form.cart .single_add_to_cart_button{flex:1 1 180px;min-width:0}
}

/* Shop grids: minmax(0,1fr) tracks (long card content can
   never push a card past the right edge); 6 across ≥1280px
   (v1.1.3 — at 1919px content 1616px → 6 × ~251px cards);
   2 across ≤820px including ≤480px. Mirrors the plugin grid. */
.bimt-theme ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(min-width:1280px){.bimt-theme ul.products{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(min-width:1600px){.bimt-theme ul.products{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1100px){.bimt-theme ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.bimt-theme ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bimt-theme ul.products li.product{min-width:0}

/* AJAX add-to-cart: stack Add to cart + View cart full width
   inside the card (WooCommerce inserts the View cart link
   after the button; side-by-side it squeezed and clipped).
   Mirrors the plugin rules so the frame holds either way. */
.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,.bimt-theme 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(--bimt-primary)!important;
	border:1.5px solid var(--bimt-primary);border-radius:var(--bimt-r-md);font-weight:700;text-decoration:none!important;text-align:center;line-height:1.3}
.bim-pcard-ctas .added_to_cart:hover,.bimt-theme ul.products li.product .added_to_cart:hover{background:var(--bimt-primary-tint);color:var(--bimt-primary-deep)!important}
.bimt-theme ul.products li.product>.button{width:calc(100% - 32px);box-sizing:border-box;white-space:normal;text-align:center;line-height:1.3}
.bimt-theme ul.products li.product>.added_to_cart{width:calc(100% - 32px);margin:8px 16px 0!important}

/* ============================================================
   v1.1.3 fix round 2 — logo crop, two-row mobile header,
   Woo page overflow, width tiers (staging QA, 3 Dec 2026)
   ============================================================ */

/* --- LOGO CROP root cause + fix.
   v1.1.2 set `.bimt-logo img{max-width:100%}` with
   `.bimt-logo{min-width:0}`. At ≤1024px the visible menu
   toggle takes grid track 1, pushing the logo into the
   shrinkable minmax(0,1fr) track; a percentage max-width
   against a shrinkable track lets the track collapse below
   the logo's intrinsic width, so the wordmark was squeezed
   out of its column (bee + "Bee" only) on mobile and at
   desktop preview widths. Fix: the logo track is `auto`
   (sizes TO the logo) at every width, the img carries fixed
   pixel caps (never a percentage of a shrinkable track),
   and the wrapper never clips. --- */
.bimt-header,.bimt-header *,.bimt-header *::before,.bimt-header *::after{box-sizing:border-box}
.bimt-header-inner{grid-template-columns:auto minmax(0,1fr) auto}
.bimt-logo{overflow:visible;justify-self:start;min-width:0}
.bimt-logo a{display:block}
.bimt-logo img{height:48px;width:auto;max-width:220px;object-fit:contain;display:block}
.bimt-header.is-shrunk .bimt-logo img{height:38px}
.bimt-actions{justify-self:end;min-width:0}
.bimt-search{min-width:0;box-sizing:border-box}
.bimt-search input[type="search"]{flex:1 1 auto;min-width:0}
.bimt-search button{flex:0 0 auto}

/* --- Two-row header ≤1024px (menu toggle visible):
   row 1 = logo left, menu + actions right;
   row 2 = search full width. Explicit grid areas keep the
   logo in its own auto track at every width. --- */
@media(max-width:1024px){
	.bimt-header-inner{grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"logo . toggle actions" "search search search search";gap:10px 12px;padding:10px 16px}
	.bimt-logo{grid-area:logo}
	.bimt-menu-toggle{grid-area:toggle;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px}
	.bimt-actions{grid-area:actions}
	.bimt-search{grid-area:search;width:100%;max-width:none;justify-self:stretch}
}
@media(max-width:767px){
	.bimt-header-inner{gap:10px 8px;padding:10px 16px}
	.bimt-logo img{height:40px;max-width:170px}
	.bimt-header.is-shrunk .bimt-logo img{height:40px}
	.bimt-actions{gap:2px}
	.bimt-action{min-width:40px;padding:6px 4px}
	/* Messages lives in the fixed bottom tab bar (Chat) and
	   the mega menu; hiding the header icon ≤767px keeps
	   logo + menu + account + cart inside 328px at 360px. */
	.bimt-action-messages{display:none}
	.bimt-search input[type="search"]{padding:11px 12px}
	.bimt-search button{padding:10px 14px;font-size:15px;min-height:48px}
}

/* --- Woo page overflow hardening (shop/product mobile).
   Homepage was clean, so the widener was Woo-specific:
   floated ordering/result-count, gallery + summary floats,
   and grid tracks without minmax(0,…). Everything below is
   capped at 100% and border-box; tracks already use
   minmax(0,1fr) above. No raw 100vw anywhere in this file —
   full-bleed bands live in the plugin and use --bim-vw. --- */
.bimt-theme .woocommerce,.bimt-theme .woocommerce-page .ct-container,.bimt-theme ul.products,
.bimt-theme .woocommerce-products-header,.bimt-theme .woocommerce-result-count,.bimt-theme .woocommerce-ordering{max-width:100%;box-sizing:border-box}
.bimt-theme .woocommerce-product-gallery,.bimt-theme .woocommerce-product-gallery__wrapper,.bimt-theme .flex-viewport{max-width:100%}
.bimt-theme .woocommerce-product-gallery img{max-width:100%}
.bimt-theme .flex-control-thumbs{max-width:100%;flex-wrap:wrap}
.bimt-theme .flex-control-thumbs li{max-width:72px}
.bimt-theme .woocommerce-tabs ul.tabs{flex-wrap:wrap;max-width:100%}
.bimt-theme ul.products li.product{min-width:0}
.bimt-theme ul.products li.product .woocommerce-loop-product__title{overflow-wrap:break-word}
.bimt-theme ul.products li.product .price{overflow-wrap:break-word}
.bimt-card-grid{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr))}
@media(max-width:900px){
	.bimt-theme .woocommerce div.product .woocommerce-product-gallery,
	.bimt-theme .woocommerce div.product .summary,
	.bimt-theme .woocommerce div.product .entry-summary{width:100%!important;float:none!important;max-width:100%;margin-left:0!important;margin-right:0!important}
}
@media(max-width:767px){
	.bimt-theme .woocommerce-result-count,.bimt-theme .woocommerce-ordering{float:none!important;width:100%;max-width:100%;margin:0 0 12px}
	.bimt-theme .woocommerce-ordering select{width:100%;max-width:100%;box-sizing:border-box}
	.bimt-theme .woocommerce-products-header__title{overflow-wrap:break-word}
	.bimt-theme .woocommerce div.product .product_title{overflow-wrap:break-word}
	.bimt-theme .woocommerce div.product form.cart .quantity{flex:0 0 auto}
	.bimt-theme .woocommerce div.product form.cart .single_add_to_cart_button{flex:1 1 160px;min-width:0}
	.bimt-theme .woocommerce .woocommerce-pagination ul{flex-wrap:wrap}
}

/* ============================================================
   v1.1.4 fix round 3 — bundled logo lockups, flex mobile
   header, Woo overflow guards (staging QA, 3 Dec 2026)
   ============================================================ */

/* --- LOGO LOCKUPS. The uploaded site logo is a square bee
   artwork with no wordmark, so at header height it read as
   a faint cropped mark. header.php/footer.php now always
   render the bundled horizontal lockups (811×200, bee +
   "Bee Impex" + "GLOBAL"). Header 48px desktop / 40px
   mobile, footer 52px; width auto from the intrinsic ratio
   (≈195px / 162px / 211px), pixel caps as backstops,
   object-fit contain so the artwork can never distort.
   The footer lockup is white/orange artwork made for the
   deep-purple footer, so the white plate that sat behind
   the old square logo is removed. --- */
.bimt-logo img{height:48px;width:auto;max-width:240px;object-fit:contain}
.bimt-header.is-shrunk .bimt-logo img{height:38px}
.bimt-footer-logo{height:52px;width:auto;max-width:min(260px,100%);object-fit:contain;background:transparent;border-radius:0;padding:0;display:block}
@media(max-width:767px){
	.bimt-logo img{height:40px;max-width:min(190px,100%)}
	.bimt-header.is-shrunk .bimt-logo img{height:40px}
}

/* --- MOBILE HEADER REBUILT AS FLEX ≤1024px.
   The v1.1.3 grid (auto minmax(0,1fr) auto auto + areas)
   still overflowed on Woo pages in staging QA: launch bar
   blank, actions and search off-canvas, first card past
   the right edge. Grid auto tracks size to content and the
   row cannot give; flex items shrink (min-width:0) or wrap
   to the next row, so the header can never exceed the
   viewport. Row 1: logo (flex:0 1 auto, min-width:0) +
   spacer (toggle's margin-left:auto) + toggle + actions
   (flex:0 0 auto). Row 2: search full width, input
   flex:1 1 0 with min-width:0, button flex:0 0 auto.
   Desktop keeps the grid. --- */
@media(max-width:1024px){
	.bimt-header-inner{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:10px 16px}
	.bimt-logo{order:1;flex:0 1 auto;min-width:0}
	.bimt-menu-toggle{order:2;flex:0 0 auto;margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px}
	.bimt-actions{order:3;flex:0 0 auto;min-width:0}
	.bimt-search{order:4;flex:1 1 100%;display:flex;width:100%;max-width:none;min-width:0}
	.bimt-search input[type="search"]{flex:1 1 0;min-width:0}
	.bimt-search button{flex:0 0 auto}
}

/* --- Overflow guards ≤767px. Nothing inside the header or
   WooCommerce surfaces keeps an automatic minimum width
   that can push the page past the viewport; form controls
   cap at their container. Badges keep their pill minimum
   (absolutely positioned, cannot widen anything). --- */
@media(max-width:767px){
	.bimt-theme .bimt-header *,.bimt-theme .woocommerce *,.bimt-theme.woocommerce-page *{min-width:0}
	.bimt-theme .bimt-header .bimt-badge{min-width:19px}
	.bimt-theme input,.bimt-theme select,.bimt-theme textarea{max-width:100%;box-sizing:border-box}
	.bimt-header-inner{gap:10px 8px}
	.bimt-actions{gap:2px}
	.bimt-action{flex:0 0 auto;padding:6px 4px}
	/* Messages lives in the fixed bottom tab bar (Chat) and
	   the mega menu; hiding the header icon ≤767px keeps
	   logo + menu + account + cart inside 328px at 360px. */
	.bimt-action-messages{display:none}
	.bimt-search input[type="search"]{padding:11px 12px}
	.bimt-search button{padding:10px 14px;font-size:15px;min-height:48px}
}

/* Launch/utility bar (plugin markup): hard-capped at the
   viewport, centred, wraps anywhere — incapable of
   truncating or running off-canvas. */
.bimt-theme .bim-utility-strip{width:100%;max-width:100%}
@media(max-width:767px){
	.bimt-theme .bim-utility-inner{max-width:100%;width:100%;justify-content:center;text-align:center}
	.bimt-theme .bim-utility-offer,.bimt-theme .bim-utility-link{white-space:normal;overflow-wrap:anywhere;text-align:center}
}

/* --- WooCommerce wide-element audit (shop/product mobile).
   Every element that can carry intrinsic width beyond the
   viewport is capped, wrapped, or given its own scroll:
   gallery FlexSlider viewport/track, tab + spec +
   attributes tables, breadcrumbs, pagination, shop
   toolbar, notices, variations, grouped table, reviews. --- */
.bimt-theme .woocommerce-breadcrumb{max-width:100%;overflow-wrap:anywhere;line-height:1.5}
.bimt-theme .woocommerce-breadcrumb a{overflow-wrap:anywhere}
.bimt-theme .woocommerce-notices-wrapper{max-width:100%}
.bimt-theme .woocommerce-message,.bimt-theme .woocommerce-info,.bimt-theme .woocommerce-error{max-width:100%;box-sizing:border-box;overflow-wrap:break-word}
.bimt-theme .woocommerce-pagination{max-width:100%}
.bimt-theme .woocommerce-pagination ul{flex-wrap:wrap;max-width:100%}
.bimt-theme .woocommerce-pagination li{min-width:0}
.bimt-theme .flex-viewport{overflow:hidden;max-width:100%}
.bimt-theme .woocommerce-Tabs-panel{max-width:100%;box-sizing:border-box;overflow-wrap:break-word}
.bimt-theme .woocommerce-Tabs-panel img{max-width:100%;height:auto}
.bimt-theme .woocommerce-product-attributes,.bimt-theme .bim-spec-table{table-layout:fixed;width:100%}
.bimt-theme .woocommerce-product-attributes th,.bimt-theme .woocommerce-product-attributes td,
.bimt-theme .bim-spec-table th,.bimt-theme .bim-spec-table td{overflow-wrap:break-word}
.bimt-theme .woocommerce-Reviews .comment-text{overflow-wrap:break-word}
.bimt-theme .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. */
	.bimt-theme.woocommerce-page .ct-container,.bimt-theme .woocommerce .ct-container{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:767px){
	.bimt-theme .woocommerce-product-gallery{overflow:hidden;max-width:100%}
	.bimt-theme .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
	.bimt-theme .flex-control-thumbs li{float:none!important;flex:0 0 64px;width:64px;max-width:64px}
	.bimt-theme .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes):not(.bim-spec-table),
	.bimt-theme .group_table{display:block;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
	.bimt-theme .variations{max-width:100%}
	.bimt-theme .variations td{overflow-wrap:break-word}
	.bimt-theme .woocommerce-message .button,.bimt-theme .woocommerce-info .button,.bimt-theme .woocommerce-error .button{float:none;display:inline-flex;margin:0 0 8px}
	.bimt-theme .woocommerce-products-header{max-width:100%}
	.bimt-theme .woocommerce-result-count,.bimt-theme .woocommerce-ordering{float:none!important;width:100%;max-width:100%;box-sizing:border-box}
}

/* ============================================================
   v1.1.5 fix round 4 — mobile product SUMMARY containment
   (staging QA, 3 Dec 2026). Mirrors plugin v1.2.5 so the
   frame holds from either stylesheet. The summary clipped
   at the right edge because .ct-product-view stayed a
   two-column row at ≤900px while the summary carried
   width:100%, and nowrap button text / the long tag line /
   flex rows without min-width:0 could not shrink inside
   it. Desktop layout unchanged.
   ============================================================ */
@media(max-width:1024px){
	.bimt-theme .woocommerce 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}
	.bimt-theme .woocommerce .ct-product-view>.woocommerce-product-gallery,
	.bimt-theme .woocommerce .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}
	.bimt-theme .woocommerce div.product>.entry-summary{width:100%!important;max-width:100%;min-width:0;float:none!important;box-sizing:border-box}
	.bimt-theme .woocommerce div.product .entry-summary>*{max-width:100%;min-width:0;box-sizing:border-box}
	.bimt-theme .woocommerce div.product .entry-summary .bim-btn,
	.bimt-theme .woocommerce div.product .entry-summary .button,
	.bimt-theme .woocommerce div.product .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){
	.bimt-theme .woocommerce div.product{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
	.bimt-theme .woocommerce div.product .summary,
	.bimt-theme .woocommerce div.product .entry-summary{width:100%!important;max-width:100%;min-width:0;float:none!important;box-sizing:border-box;overflow-wrap:break-word}
	.bimt-theme .woocommerce div.product .bim-b2b-ctas,
	.bimt-theme .woocommerce div.product .bim-vendor-box-actions,
	.bimt-theme .woocommerce div.product .bim-moq,
	.bimt-theme .woocommerce div.product form.cart,
	.bimt-theme .woocommerce div.product .woocommerce-product-rating{flex-wrap:wrap;max-width:100%;min-width:0}
	.bimt-theme .woocommerce div.product .bim-b2b-ctas .bim-btn{flex:1 1 140px;min-width:0}
	.bimt-theme .woocommerce div.product .bim-vendor-box-actions .bim-btn{flex:1 1 140px;min-width:0}
	.bimt-theme .woocommerce div.product form.cart .quantity{flex:0 1 auto;min-width:0}
	.bimt-theme .woocommerce div.product form.cart .quantity .qty{max-width:88px}
	.bimt-theme .woocommerce div.product form.cart .single_add_to_cart_button{flex:1 1 160px;min-width:0}
	.bimt-theme .woocommerce div.product .woocommerce-product-rating{display:flex;gap:6px;align-items:center}
	.bimt-theme .woocommerce div.product .price,
	.bimt-theme .woocommerce div.product .stock{max-width:100%;overflow-wrap:break-word}
	.bimt-theme .woocommerce div.product .bim-vendor-box{max-width:100%;min-width:0;box-sizing:border-box}
	.bimt-theme .woocommerce div.product .bim-vendor-box-head{flex-wrap:wrap;min-width:0}
	.bimt-theme .woocommerce div.product .bim-vendor-box-head>*{min-width:0}
	.bimt-theme .woocommerce div.product .bim-vendor-box-name,
	.bimt-theme .woocommerce div.product .bim-vendor-box-sub,
	.bimt-theme .woocommerce div.product .bim-vendor-box-about,
	.bimt-theme .woocommerce div.product .bim-vendor-box-country{overflow-wrap:anywhere}
	.bimt-theme .woocommerce div.product .bim-trust-row li{min-width:0}
	.bimt-theme .woocommerce div.product .bim-trust-row li a,
	.bimt-theme .woocommerce div.product .bim-trust-row li>*{min-width:0;overflow-wrap:break-word}
	.bimt-theme .woocommerce div.product .bim-chip,
	.bimt-theme .woocommerce div.product .bim-moq-chip{white-space:normal;max-width:100%;overflow-wrap:anywhere}
	.bimt-theme .woocommerce div.product .product_meta{max-width:100%;overflow-wrap:anywhere}
	.bimt-theme .woocommerce div.product .product_meta>span{display:block;max-width:100%;overflow-wrap:anywhere}
	.bimt-theme .woocommerce div.product .product_meta a{overflow-wrap:anywhere}
	.bimt-theme .woocommerce div.product .bim-qa,
	.bimt-theme .woocommerce div.product .bim-qa-item{max-width:100%;min-width:0;box-sizing:border-box;overflow-wrap:break-word}
	.bimt-theme .woocommerce div.product .bim-qa .bim-form{width:100%;max-width:100%;min-width:0}
	.bimt-theme .woocommerce div.product .bim-qa .bim-btn{width:100%;white-space:normal!important}
	.bimt-theme .woocommerce div.product .bim-quote-panel{max-width:100%;box-sizing:border-box;padding:16px}
	.bimt-theme .woocommerce div.product .bim-tier-table{table-layout:fixed}
	.bimt-theme .woocommerce div.product .bim-tier-table th,
	.bimt-theme .woocommerce div.product .bim-tier-table td{overflow-wrap:anywhere;padding:8px 10px}
	.bimt-theme .woocommerce div.product .variations select{max-width:100%;box-sizing:border-box}
	.bimt-theme .bim-sticky-bar .bim-btn{flex:1 1 0;min-width:0;white-space:normal!important;text-align:center;line-height:1.3}
}

/* ============================================================
   v1.1.6 fix round 5 — product layout targets Blocksy's
   real wrapper (staging diagnostic, 3 Dec 2026). Mirrors
   plugin v1.2.6 so the frame holds from either stylesheet.
   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). The
   .ct-product-view rules above are dead selectors on
   current markup (kept as harmless fallback): the mobile
   summary rendered ~1450px wide and desktop fell back to
   Blocksy's 50/50 split. The rules below target the real
   wrapper. FlexSlider slide re-measurement on resize lives
   in the plugin's bim.js.
   ============================================================ */

/* Gallery media: 4:3 frame, image covers it fully; slide
   width stays non-!important so FlexSlider's inline slide
   widths still win while the slider is live. */
.bimt-theme .woocommerce-product-gallery__image{width:100%;max-width:100%;aspect-ratio:4/3}
.bimt-theme .woocommerce-product-gallery__image img{width:100%;height:100%;object-fit:cover;display:block}
.bimt-theme .woocommerce-product-gallery__wrapper{max-width:100%}
.bimt-theme .flex-control-thumbs{max-width:100%;overflow-x:auto;box-sizing:border-box;-webkit-overflow-scrolling:touch}
.bimt-theme .flex-control-thumbs li{flex:0 0 auto}

/* Desktop ≥1025px: wrapper = our 1.08fr/.92fr grid across
   the full product frame; Blocksy's percentage widths and
   40px inline-start margin cleared. */
@media(min-width:1025px){
	.bimt-theme .woocommerce div.product>.product-entry-wrapper{grid-column:1/-1}
	.bimt-theme .woocommerce .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}
	.bimt-theme .woocommerce .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}
	.bimt-theme .woocommerce .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){
	.bimt-theme .woocommerce .product-entry-wrapper{column-gap:56px}
}

/* ≤1024px: one shrinkable column — gallery then summary,
   each full width, no inline-start offset. */
@media(max-width:1024px){
	.bimt-theme .woocommerce div.product{grid-template-columns:minmax(0,1fr)}
	.bimt-theme .woocommerce div.product>.product-entry-wrapper{grid-column:1/-1}
	.bimt-theme .woocommerce .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}
	.bimt-theme .woocommerce .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}
	.bimt-theme .woocommerce .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}
}
