/*
Theme Name: BM Merchant
Description: Premium UK builders' merchant WooCommerce theme. Pair with the BM Quotes plugin.
Version: 1.5.0
Requires PHP: 7.4
Text Domain: bm-merchant
*/
:root{--navy:#06281c;--navy2:#0a3d2b;--char:#0f4b34;--yel:#FFC928;--wa:#20BF65;--grey:#F2F7F4;--text:#14231c;--red:#E53935;--r:10px;--sh:0 2px 10px rgba(6,40,28,.14)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:400 16px/1.5 "Nunito Sans",system-ui,sans-serif;color:var(--text);background:#fff}
h1,h2,h3{font-family:Rubik,system-ui,sans-serif;line-height:1.12;margin:0 0 .5em}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
ul{padding:0}
.bmm-wrap{width:min(1320px,100% - 2rem);margin-inline:auto}
.screen-reader-text,.bmm-skip:not(:focus){position:absolute;left:-9999px}
.bmm-skip:focus{position:fixed;top:8px;left:8px;background:var(--yel);padding:.75rem 1rem;z-index:99}
:focus-visible{outline:3px solid var(--yel);outline-offset:2px}
.bmm-i{width:20px;height:20px;flex:none}

/* top bar */
.bmm-topbar{background:var(--navy);color:#fff;font-size:.82rem;font-weight:600}
.bmm-topbar-in,.bmm-tb-l,.bmm-tb-r{display:flex;align-items:center;gap:1.6rem;flex-wrap:wrap}
.bmm-topbar-in{justify-content:space-between;padding:.55rem 0}
.bmm-topbar a,.bmm-topbar span{display:inline-flex;align-items:center;gap:.4rem;text-decoration:none}
.bmm-topbar .bmm-i{width:16px;height:16px;color:var(--yel)}
.bmm-topbar a:hover{color:var(--yel)}

/* header */
.bmm-header{background:var(--navy2);color:#fff;position:sticky;top:0;z-index:50;box-shadow:0 4px 16px rgba(0,0,0,.35)}
.bmm-header-in{display:flex;align-items:center;gap:1.25rem;padding:.7rem 0}
.bmm-logo{display:block;flex:0 0 auto;font:800 1.5rem Rubik,sans-serif;text-decoration:none;color:var(--yel)}
.bmm-logo img,.custom-logo{width:auto!important;height:auto!important;max-height:64px;max-width:260px;object-fit:contain}
.bmm-search{flex:1 1 auto;display:flex;min-width:180px}
.bmm-search input{flex:1;min-width:0;min-height:48px;border:0;border-radius:8px 0 0 8px;padding:.5rem 1rem;font:inherit}
.bmm-search button{width:56px;border:0;background:var(--yel);color:var(--navy);border-radius:0 8px 8px 0;cursor:pointer;display:grid;place-items:center}
.bmm-actions{display:flex;align-items:center;gap:.75rem}
.bmm-hbtn{display:flex;align-items:center;gap:.6rem;min-height:52px;padding:.4rem 1rem;border-radius:8px;text-decoration:none;line-height:1.15;border:2px solid}
.bmm-hbtn .bmm-i{width:28px;height:28px}
.bmm-hbtn b{display:block;font:700 .92rem Rubik,sans-serif}
.bmm-hbtn small{font-size:.74rem;opacity:.9}
.bmm-hbtn-wa{background:#0e9d4c;border-color:var(--wa);color:#fff}
.bmm-hbtn-y{border-color:var(--yel);color:#fff;background:transparent}
.bmm-hbtn-y .bmm-i{color:var(--yel)}
.bmm-hbtn:hover{filter:brightness(1.1)}
.bmm-cart{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;color:#fff;text-decoration:none;font-weight:700}
.bmm-cart-count{background:var(--yel);color:var(--navy);border-radius:99px;min-width:22px;text-align:center;font-weight:800;font-size:.78rem;padding:0 .35rem}
.bmm-burger{display:none;min-width:44px;min-height:44px;background:none;border:0;color:#fff;cursor:pointer}

/* nav */
.bmm-nav{background:#0b4a33;border-top:1px solid #1d5c43}
.bmm-nav-in{display:flex;align-items:stretch;gap:.5rem}
.bmm-allcats{position:relative;background:var(--yel);color:var(--navy);flex:none}
.bmm-allcats summary{list-style:none;display:flex;align-items:center;gap:.6rem;min-height:48px;padding:0 1.4rem;font:800 .98rem Rubik,sans-serif;cursor:pointer}
.bmm-allcats summary::-webkit-details-marker{display:none}
.bmm-allcats ul{position:absolute;top:100%;left:0;min-width:260px;background:#fff;color:var(--text);list-style:none;margin:0;padding:.4rem 0;box-shadow:var(--sh);border-radius:0 0 var(--r) var(--r);z-index:60}
.bmm-allcats li a{display:block;padding:.6rem 1.2rem;text-decoration:none;font-weight:700;min-height:44px}
.bmm-allcats li a:hover{background:var(--grey)}
.bmm-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;flex:1}
.bmm-menu a{display:flex;align-items:center;gap:.4rem;padding:.7rem .9rem;color:#fff;text-decoration:none;font-weight:700;font-size:.9rem;min-height:48px}
.bmm-menu a:hover{color:var(--yel)}
.bmm-menu .current-menu-item>a{color:var(--yel)}
.bmm-hot{background:var(--red);color:#fff;font-size:.62rem;font-weight:800;border-radius:4px;padding:.1rem .35rem;text-transform:uppercase}

/* buttons */
.bmm-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:46px;padding:.65rem 1.2rem;border-radius:8px;font:700 .92rem Rubik,sans-serif;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:transform .15s,filter .15s}
.bmm-btn:hover{transform:translateY(-1px);filter:brightness(.95)}
.bmm-btn-y{background:var(--yel);color:var(--navy)}
.bmm-btn-wa{background:var(--wa);color:#04210f}
.bmm-btn-dark{background:var(--navy2);color:#fff;width:100%}
.bmm-btn-ghost{border-color:#fff;color:#fff;background:rgba(255,255,255,.04)}
.bmm-cta{display:flex;gap:.75rem;flex-wrap:wrap}

/* hero */
.bmm-hero{background:linear-gradient(90deg,#052418,#0f4b34);color:#fff;background-size:cover;background-position:center;padding:clamp(2rem,5vw,3.5rem) 0}
.bmm-hero-in{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:2rem;align-items:center}
.bmm-eyebrow{color:var(--yel);text-transform:uppercase;letter-spacing:.04em;font:600 1.1rem Rubik,sans-serif;margin:0 0 .4rem}
.bmm-hero h1{font-size:clamp(2.2rem,5.6vw,4.2rem);font-weight:800;text-transform:uppercase;margin-bottom:.4em}
.bmm-hero h1 span{display:block}
.bmm-hero h1 em{font-style:normal;display:block;color:var(--yel)}
.bmm-lead{max-width:52ch;font-size:1.08rem;margin:0 0 1.2rem}
.bmm-hero-badges{list-style:none;margin:0 0 1.5rem;padding:0;display:flex;flex-wrap:wrap;gap:1.2rem 1.8rem}
.bmm-hero-badges li{display:flex;align-items:center;gap:.6rem;font-size:.85rem}
.bmm-ring{width:40px;height:40px;border-radius:50%;background:var(--yel);color:var(--navy);display:grid;place-items:center}
.bmm-hero-panel{background:rgba(6,40,28,.88);border:1px solid #24634a;border-radius:var(--r);overflow:hidden}
.bmm-hero-panel>*{display:flex;align-items:center;gap:.9rem;padding:1rem 1.1rem;text-decoration:none;border-bottom:1px solid #24634a}
.bmm-hero-panel>*:last-child{border-bottom:0}
.bmm-hero-panel b{display:block;font:700 .95rem Rubik,sans-serif}
.bmm-hero-panel small{opacity:.85}
.bmm-pi{color:var(--yel);flex:none}.bmm-pi .bmm-i{width:32px;height:32px}
.bmm-pi-wa{color:var(--wa)}
.bmm-hero-panel a:hover{background:rgba(255,255,255,.06)}

/* category strip */
.bmm-cat-strip{padding:1.2rem 0;background:#fff}
.bmm-cat-strip .bmm-cats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.7rem}
.bmm-cats a{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.4rem;height:100%;padding:.8rem .4rem .6rem;border:1px solid #dbe7e0;border-radius:8px;background:#fff;text-decoration:none;box-shadow:0 1px 4px rgba(16,26,39,.08);transition:box-shadow .2s,transform .2s}
.bmm-cats a:hover,.bmm-cats a:focus-visible{box-shadow:var(--sh);transform:translateY(-2px)}
.bmm-cats img{width:100%;max-width:90px;aspect-ratio:1.2;object-fit:contain}
.bmm-cat-name{font:700 .8rem Rubik,sans-serif;text-align:center;color:var(--text);position:static;background:none;padding:0}
.bmm-cat-ph{display:block;width:70px;height:58px;background:var(--grey);border-radius:6px}

/* main grid */
.bmm-main{padding:.5rem 0 1.5rem}
.bmm-main-grid{display:grid;grid-template-columns:270px minmax(0,1fr);gap:1.4rem;align-items:start}
.bmm-card{border-radius:var(--r);padding:1.1rem;box-shadow:var(--sh);margin-bottom:1rem}
.bmm-card h3{font-size:1.1rem;margin-bottom:.3rem}
.bmm-card p{font-size:.88rem;margin:0 0 .9rem}
.bmm-card-wa{background:#0a3d2b;color:#fff;border:1px solid #1c7a4d}
.bmm-card-y{background:var(--yel);color:var(--navy)}
.bmm-card-g{background:#eaf3ee;border:1px solid #d3e2d9}
.bmm-card .bmm-btn{width:100%}
.bmm-sec-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:.8rem}
.bmm-sec-head h2{margin:0;font-size:1.5rem;font-weight:800}
.bmm-sec-head a{font-weight:700;font-size:.85rem;text-decoration:none;display:inline-flex;align-items:center;gap:.3rem}
.bmm-pill{background:var(--yel);color:var(--navy);font:700 .7rem "Nunito Sans";padding:.15rem .5rem;border-radius:4px;vertical-align:middle;margin-left:.4rem}

/* WooCommerce product cards */
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.9rem;margin:0;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{position:relative;width:auto!important;margin:0!important;float:none!important;border:1px solid #dbe7e0;border-radius:var(--r);padding:.8rem;display:flex;flex-direction:column;background:#fff;box-shadow:0 1px 5px rgba(16,26,39,.08)}
.woocommerce ul.products li.product img{aspect-ratio:1;object-fit:contain;margin-bottom:.5rem}
.woocommerce-loop-product__title{font:600 .88rem "Nunito Sans"!important;padding:0!important;margin:0 0 .3rem!important}
.woocommerce .price{font:800 1.25rem Rubik,sans-serif;color:var(--navy)}
.woocommerce .price del{font-size:.85rem;opacity:.55}
.woocommerce .price ins{text-decoration:none;color:var(--red)}
.bmm-vat{font:600 .68rem "Nunito Sans";color:#47594f}
.woocommerce span.onsale{background:var(--red);color:#fff;border-radius:3px;min-height:0;min-width:0;line-height:1.4;padding:.1rem .45rem;font-size:.7rem;font-weight:800;top:.5rem;left:.5rem;right:auto}
.woocommerce ul.products li.product .button,.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--yel);color:var(--navy);font-weight:800;border-radius:6px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;margin-top:auto}
.bmq-wa-product{margin-top:.5rem;width:100%}

/* promo banners */
.bmm-promos{padding:.5rem 0 1.5rem}
.bmm-promo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.bmm-promo{border-radius:var(--r);padding:1.3rem;color:#fff;background:linear-gradient(135deg,#06281c,#0f6a45);display:flex;flex-direction:column;justify-content:center;gap:.4rem;min-height:170px;position:relative;overflow:hidden}
.bmm-promo h3{font-size:1.35rem;font-weight:800;text-transform:uppercase;margin:0}
.bmm-promo h3 span{color:var(--yel)}
.bmm-promo p{margin:0 0 .5rem;font-size:.9rem}
.bmm-promo .bmm-btn{align-self:flex-start;min-height:38px;padding:.4rem .9rem;font-size:.82rem}
.bmm-promo-2{background:linear-gradient(135deg,#0a3d2b,#0f6a45)}
.bmm-promo-3{background:#06281c;text-transform:none}
.bmm-promo-3 h3{font-size:1.1rem;text-transform:none}
.bmm-promo-3 ul{list-style:none;margin:0;font-size:.88rem}
.bmm-promo-3 li::before{content:"✓ ";color:var(--yel);font-weight:800}
.bmm-promo-4{background:linear-gradient(135deg,#0f4b34,#4a6b1a)}

/* trust strip */
.bmm-trust{background:var(--grey);border-top:1px solid #dbe7e0}
.bmm-trust ul{list-style:none;margin:0 auto;padding:1rem 0;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.bmm-trust li{display:flex;align-items:center;gap:.7rem;font-weight:700;font-size:.85rem;justify-content:center}
.bmm-trust .bmm-i{width:26px;height:26px;color:var(--navy)}

.bmm-sec{padding:2rem 0}
.bmm-sec h2{font-weight:800;font-size:1.6rem}
.bmm-guides{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.bmm-guides a{display:block;text-decoration:none;font:700 1rem Rubik,sans-serif;background:var(--grey);border-radius:var(--r);overflow:hidden}
.bmm-guides span{display:block;padding:1rem}
.bmm-page{padding:2rem 0}

/* footer */
.bmm-footer{background:var(--navy);color:#e3efe8;padding-top:2.5rem}
.bmm-foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}
.bmm-foot-h{font:800 1rem Rubik,sans-serif;color:var(--yel);margin:0 0 .6rem}
.bmm-footer ul{list-style:none;margin:0;padding:0}.bmm-footer li{margin:.3rem 0}
.bmm-footer a{text-decoration:none}.bmm-footer a:hover{text-decoration:underline}
.bmm-copy{border-top:1px solid #1d5c43;margin-top:2rem;padding:1rem 0;font-size:.85rem}

@media (max-width:1100px){
  .bmm-hero-in{grid-template-columns:1fr}
  .bmm-hero-panel{display:grid;grid-template-columns:repeat(2,1fr)}
  .bmm-promo-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .bmm-hide-md{display:none}
  .bmm-burger{display:inline-flex}
  .bmm-header-in{flex-wrap:wrap}
  .bmm-search{order:5;flex-basis:100%}
  .bmm-nav{display:none}.bmm-nav.is-open{display:block}
  .bmm-nav-in,.bmm-menu{flex-direction:column}
  .bmm-main-grid{grid-template-columns:1fr}
  .bmm-trust ul{grid-template-columns:repeat(2,1fr)}
  .bmm-foot-grid{grid-template-columns:1fr 1fr}
  .bmm-logo img,.custom-logo{max-height:44px;max-width:180px}
}
@media (max-width:600px){
  .bmm-hide-sm{display:none}
  .bmm-hero-panel,.bmm-promo-grid,.bmm-foot-grid{grid-template-columns:1fr}
  .bmm-cta .bmm-btn{width:100%}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* hero media (video / slider) */
.bmm-hero{position:relative;overflow:hidden}
.bmm-hero>.bmm-wrap{position:relative;z-index:2}
.bmm-hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.bmm-slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1s ease}
.bmm-slide.is-on{opacity:1}
.bmm-hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(5,36,24,.92) 0%,rgba(5,36,24,.6) 55%,rgba(5,36,24,.3) 100%)}

/* circular categories */
.bmm-cat-strip .bmm-cats{display:flex;gap:1.2rem;overflow-x:auto;padding:.4rem .2rem 1rem;scroll-snap-type:x proximity;justify-content:flex-start}
@media (min-width:1100px){.bmm-cat-strip .bmm-cats{justify-content:center}}
.bmm-cat-strip .bmm-cats li{flex:0 0 auto;scroll-snap-align:start}
.bmm-cat-strip .bmm-cats a{border:0;box-shadow:none;background:none;padding:0;width:112px;gap:.55rem;transform:none}
.bmm-cat-strip .bmm-cats a:hover{box-shadow:none;transform:none}
.bmm-cat-strip .bmm-cats img,.bmm-cat-strip .bmm-cat-ph{width:104px;height:104px;max-width:none;aspect-ratio:1;border-radius:50%;object-fit:cover;background:var(--grey);border:3px solid #fff;box-shadow:0 0 0 3px var(--yel),var(--sh);transition:transform .25s,box-shadow .25s}
.bmm-cat-strip .bmm-cats a:hover img,.bmm-cat-strip .bmm-cats a:focus-visible img,.bmm-cat-strip .bmm-cats a:hover .bmm-cat-ph{transform:scale(1.06);box-shadow:0 0 0 3px var(--navy),var(--sh)}
.bmm-cat-strip .bmm-cat-name{font:700 .82rem Rubik,sans-serif;text-align:center;color:var(--text)}

/* nav fix: All Categories stays one row high, menu wraps cleanly */
.bmm-nav-in{align-items:center;flex-wrap:wrap}
.bmm-allcats{align-self:flex-start}
.bmm-menu a{padding:.7rem .7rem;font-size:.86rem}

/* advanced footer */
.bmm-footer{padding-top:0;margin-top:2rem}
.bmm-foot-cta{background:linear-gradient(90deg,var(--yel),#ffdf6b);color:var(--navy)}
.bmm-foot-cta-in{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap;padding:1.6rem 0}
.bmm-foot-cta h2{margin:0 0 .2rem;font-size:1.6rem;font-weight:800}
.bmm-foot-cta p{margin:0}
.bmm-foot-cta .bmm-btn-ghost{border-color:var(--navy);color:var(--navy);background:transparent}
.bmm-foot-grid{grid-template-columns:2fr 1fr 1fr 1.2fr;padding:2.5rem 0 1.5rem}
.bmm-foot-logo{display:inline-block;margin-bottom:1rem;font:800 1.4rem Rubik,sans-serif;color:var(--yel);text-decoration:none}
.bmm-foot-logo img{width:auto;height:auto;max-height:72px;max-width:280px;object-fit:contain;border-radius:6px}
.bmm-foot-brand p{max-width:42ch;margin:0 0 1rem}
.bmm-foot-contact li{display:flex;align-items:center;gap:.6rem;margin:.5rem 0}
.bmm-foot-contact .bmm-i{width:18px;height:18px;color:var(--yel)}
.bmm-social{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem!important}
.bmm-social a{display:inline-flex;align-items:center;min-height:40px;padding:0 .9rem;border:1px solid #2f7357;border-radius:99px;font-weight:700;font-size:.85rem;text-decoration:none}
.bmm-social a:hover{background:var(--yel);color:var(--navy);border-color:var(--yel);text-decoration:none}
.bmm-footer nav a{display:inline-block;padding:.15rem 0;min-height:28px}
.bmm-foot-trust{border-top:1px solid #1d5c43;border-bottom:1px solid #1d5c43;background:#052418}
.bmm-foot-trust ul{list-style:none;margin:0 auto;padding:1rem 0;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.bmm-foot-trust li{display:flex;align-items:center;justify-content:center;gap:.6rem;font-weight:700;font-size:.85rem}
.bmm-foot-trust .bmm-i{color:var(--yel)}
.bmm-copy{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:0;margin-top:0;padding:1.1rem 0}
.bmm-top{font-weight:700}
@media (max-width:900px){.bmm-foot-grid{grid-template-columns:1fr 1fr}.bmm-foot-trust ul{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.bmm-foot-grid{grid-template-columns:1fr}.bmm-foot-cta .bmm-btn{width:100%}}

/* lighter, calmer hero */
.bmm-hero{padding:clamp(1.8rem,4vw,3rem) 0}
.bmm-hero-in{grid-template-columns:1fr}
.bmm-hero h1{font-size:clamp(1.9rem,4.2vw,3.1rem);margin-bottom:.35em}
.bmm-eyebrow{font-size:.9rem;font-weight:700}
.bmm-lead{font-size:1rem;max-width:48ch;margin-bottom:1.1rem}
.bmm-hero-shade{background:linear-gradient(90deg,rgba(5,36,24,.78) 0%,rgba(5,36,24,.4) 55%,rgba(5,36,24,.1) 100%)}

/* smaller hero text on mobile */
@media (max-width:600px){
  .bmm-hero{padding:1.4rem 0}
  .bmm-eyebrow{font-size:.72rem;margin-bottom:.25rem}
  .bmm-hero h1{font-size:1.45rem;line-height:1.15;margin-bottom:.4em}
  .bmm-lead{font-size:.85rem;line-height:1.4;margin-bottom:.9rem}
  .bmm-hero .bmm-btn{min-height:40px;padding:.45rem .9rem;font-size:.82rem}
  .bmm-hero .bmm-cta{gap:.5rem}
}

/* hide top utility bar on mobile/tablet to keep header compact */
@media (max-width:900px){.bmm-topbar{display:none}}

/* compact one-row mobile header: menu | logo | basket, search below */
@media (max-width:900px){
  .bmm-header-in{flex-wrap:wrap;gap:.5rem .6rem;padding:.5rem 0}
  .bmm-burger{order:1}
  .bmm-logo{order:2;flex:1 1 auto;min-width:0}
  .bmm-logo img,.custom-logo{max-height:40px;max-width:100%}
  .bmm-actions{order:3;margin-left:auto;gap:.25rem}
  .bmm-cart-total{display:none}
  .bmm-search{order:4;flex:1 1 100%}
  .bmm-search input{min-height:42px}
  .bmm-search button{width:48px}
}

/* mobile: show the full video (no heavy crop) above the text */
@media (max-width:600px){
  .bmm-hero:has(.bmm-hero-media){display:flex;flex-direction:column;padding:0;background-image:none!important;background-color:var(--navy)}
  .bmm-hero:has(.bmm-hero-media) .bmm-hero-media{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;order:0}
  .bmm-hero:has(.bmm-hero-media) .bmm-hero-shade{display:none}
  .bmm-hero:has(.bmm-hero-media)>.bmm-wrap{order:1;padding:1rem 0 1.2rem}
}

/* v1.2 – bigger hero (desktop + mobile), smaller category circles on mobile */
@media (min-width:901px){
  .bmm-hero{min-height:clamp(620px,78vh,820px);display:flex;align-items:center;padding:clamp(3rem,7vw,5.5rem) 0}
  .bmm-hero h1{font-size:clamp(2.6rem,5vw,4.4rem)}
  .bmm-lead{font-size:1.15rem}
}
@media (max-width:600px){
  .bmm-hero:has(.bmm-hero-media) .bmm-hero-media{aspect-ratio:4/3;min-height:260px}
  .bmm-hero{min-height:0}
  .bmm-cat-strip{padding:.6rem 0}
  .bmm-cat-strip .bmm-cats{gap:.6rem;padding:.3rem .2rem .6rem}
  .bmm-cat-strip .bmm-cats a{width:68px;gap:.3rem}
  .bmm-cat-strip .bmm-cats img,.bmm-cat-strip .bmm-cat-ph{width:56px;height:56px;border-width:2px;box-shadow:0 0 0 2px var(--yel),var(--sh)}
  .bmm-cat-strip .bmm-cat-name{font-size:.66rem;line-height:1.15}
}

/* v1.2.2 – mobile: text sits ON the video/slider (overlay), not below it */
@media (max-width:600px){
  .bmm-hero:has(.bmm-hero-media){display:flex;flex-direction:column;justify-content:flex-end;position:relative;min-height:clamp(340px,62vw,440px);padding:0;background-color:var(--navy)}
  .bmm-hero:has(.bmm-hero-media) .bmm-hero-media{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;min-height:0;object-fit:cover}
  .bmm-hero:has(.bmm-hero-media) .bmm-hero-shade{display:block;background:linear-gradient(0deg,rgba(5,36,24,.88) 0%,rgba(5,36,24,.55) 55%,rgba(5,36,24,.15) 100%)}
  .bmm-hero:has(.bmm-hero-media)>.bmm-wrap{position:relative;z-index:2;padding:1.2rem 0 1.3rem}
}

/* v1.2.3 – bigger category circles on desktop/tablet (mobile unchanged) */
@media (min-width:601px){
  .bmm-cat-strip{padding:2rem 0 1.4rem}
  .bmm-cat-strip .bmm-cats{gap:1.8rem}
  .bmm-cat-strip .bmm-cats a{width:150px;gap:.75rem}
  .bmm-cat-strip .bmm-cats img,.bmm-cat-strip .bmm-cat-ph{width:140px;height:140px;border-width:4px;box-shadow:0 0 0 4px var(--yel),var(--sh)}
  .bmm-cat-strip .bmm-cat-name{font-size:1rem}
}
@media (min-width:1100px){
  .bmm-cat-strip .bmm-cats a{width:165px}
  .bmm-cat-strip .bmm-cats img,.bmm-cat-strip .bmm-cat-ph{width:155px;height:155px}
}

/* v1.3 – Trade Accounts page */
.bmm-trade-hero{background:linear-gradient(90deg,#052418,#0f4b34);color:#fff;padding:clamp(2rem,6vw,4rem) 0}
.bmm-trade-hero h1{font-size:clamp(1.9rem,4.5vw,3.2rem);font-weight:800;text-transform:uppercase;margin:.2em 0}
.bmm-trade-hero h1 em{font-style:normal;color:var(--yel)}
.bmm-trade-hero .bmm-lead{max-width:56ch;margin:0}
.bmm-trade-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:2rem;padding:2rem 0 3rem;align-items:start}
.bmm-trade-perks h2,.bmm-trade-formbox h2{font-size:1.4rem;margin:0 0 1rem}
.bmm-trade-perks ul{list-style:none;margin:0;padding:0;display:grid;gap:.8rem}
.bmm-trade-perks li{background:var(--grey);border-left:4px solid var(--yel);border-radius:var(--r);padding:.9rem 1.1rem}
.bmm-trade-perks b{display:block;font:700 1rem Rubik,sans-serif}
.bmm-trade-perks span{font-size:.92rem}
.bmm-trade-formbox{background:#fff;border:1px solid #dbe7e0;border-radius:var(--r);box-shadow:var(--sh);padding:1.5rem}
.bmm-trade-form{display:grid;gap:.9rem}
.bmm-trade-form label{display:grid;gap:.3rem;font:600 .88rem Rubik,sans-serif}
.bmm-trade-form input,.bmm-trade-form select,.bmm-trade-form textarea{width:100%;min-height:44px;padding:.6rem .8rem;border:1px solid #c5d6cc;border-radius:8px;font-size:.95rem;font-family:inherit;background:#fff}
.bmm-trade-form .bmm-btn{justify-self:start}
.bmm-trade-row{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.bmm-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.bmm-trade-msg{padding:.8rem 1rem;border-radius:8px;font-weight:600;margin:0 0 1rem}
.bmm-trade-msg.ok{background:#e6f8ee;color:#0b6b36}
.bmm-trade-msg.bad{background:#fdeaea;color:#a12622}
@media (max-width:800px){.bmm-trade-grid{grid-template-columns:1fr}.bmm-trade-row{grid-template-columns:1fr}.bmm-trade-form .bmm-btn{width:100%}}

/* v1.3.1 – tidy category circles: no cut-off / scrollbar on desktop, clean swipe on mobile */
.bmm-cat-strip .bmm-cats{scrollbar-width:none}
.bmm-cat-strip .bmm-cats::-webkit-scrollbar{display:none}
@media (min-width:601px){
  .bmm-cat-strip{padding:1.6rem 0 1.2rem;border-bottom:1px solid #eaf3ee}
  .bmm-cat-strip .bmm-cats{flex-wrap:wrap;justify-content:center;overflow:visible;gap:1.4rem 1.1rem;padding:.4rem 0}
  .bmm-cat-strip .bmm-cats a{width:140px;gap:.7rem}
  .bmm-cat-strip .bmm-cats img,.bmm-cat-strip .bmm-cat-ph{width:120px;height:120px;border-width:4px;box-shadow:0 0 0 3px var(--yel),0 6px 16px rgba(6,40,28,.16)}
  .bmm-cat-strip .bmm-cat-name{font-size:.95rem;line-height:1.2}
  .bmm-cat-strip .bmm-cats a:hover .bmm-cat-name{color:var(--navy);text-decoration:underline;text-decoration-color:var(--yel);text-decoration-thickness:3px;text-underline-offset:4px}
}
@media (min-width:601px) and (max-width:900px){
  .bmm-cat-strip .bmm-cats a{width:110px}
  .bmm-cat-strip .bmm-cats img,.bmm-cat-strip .bmm-cat-ph{width:92px;height:92px}
  .bmm-cat-strip .bmm-cat-name{font-size:.85rem}
}
@media (min-width:1100px){
  .bmm-cat-strip .bmm-cats a{width:140px}
  .bmm-cat-strip .bmm-cats img,.bmm-cat-strip .bmm-cat-ph{width:120px;height:120px}
}

/* v1.4 – My Account area */
.bmm-acct-hero{background:linear-gradient(90deg,#052418,#0f4b34);color:#fff;padding:clamp(1.6rem,4vw,2.6rem) 0}
.bmm-acct-hero h1{font-size:clamp(1.7rem,4vw,2.6rem);font-weight:800;text-transform:uppercase;margin:.15em 0 0}
.bmm-acct-hero h1 em{font-style:normal;color:var(--yel)}
.bmm-acct{padding:2rem 0 3rem}
.bmm-acct .woocommerce{display:block}
/* notices */
.bmm-acct .woocommerce-message,.bmm-acct .woocommerce-info,.bmm-acct .woocommerce-error{list-style:none;margin:0 0 1.2rem;padding:.9rem 1.1rem;border-radius:8px;border-left:4px solid var(--yel);background:var(--grey);font-weight:600}
.bmm-acct .woocommerce-error{border-left-color:var(--red);background:#fdeaea}
.bmm-acct .woocommerce-message{border-left-color:var(--wa);background:#e6f8ee}
/* logged-out: login + register cards */
.bmm-acct #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;align-items:start}
.bmm-acct #customer_login>div{float:none;width:auto}
.bmm-acct .woocommerce-form-login,.bmm-acct .woocommerce-form-register,.bmm-acct .woocommerce-ResetPassword{background:#fff;border:1px solid #dbe7e0;border-radius:var(--r);box-shadow:var(--sh);padding:1.5rem;margin:0}
.bmm-acct #customer_login h2,.bmm-acct .woocommerce>h2{font-size:1.35rem;margin:0 0 1rem}
.bmm-acct .woocommerce>.woocommerce-form-login{max-width:480px;margin-inline:auto}
/* forms */
.bmm-acct .form-row{margin:0 0 1rem;float:none;width:auto;padding:0}
.bmm-acct .form-row label{display:block;font:600 .88rem Rubik,sans-serif;margin-bottom:.3rem}
.bmm-acct input.input-text,.bmm-acct select,.bmm-acct textarea{width:100%;min-height:46px;padding:.6rem .8rem;border:1px solid #c5d6cc;border-radius:8px;font-size:.95rem;font-family:inherit;background:#fff}
.bmm-acct input.input-text:focus,.bmm-acct select:focus,.bmm-acct textarea:focus{border-color:var(--yel);outline:3px solid rgba(255,201,40,.45)}
.bmm-acct .woocommerce-form-login__rememberme{display:flex;align-items:center;gap:.5rem;font-weight:600}
.bmm-acct .lost_password{margin:.8rem 0 0}
.bmm-acct .lost_password a,.bmm-acct .woocommerce-MyAccount-content a:not(.button){color:var(--navy);font-weight:700;text-decoration-color:var(--yel);text-underline-offset:3px}
/* buttons */
.bmm-acct .button,.bmm-acct button.button,.bmm-acct button[type=submit]{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.65rem 1.3rem;border:2px solid var(--yel);border-radius:8px;background:var(--yel);color:var(--navy);font:700 .92rem Rubik,sans-serif;text-decoration:none;cursor:pointer;transition:filter .15s,transform .15s}
.bmm-acct .button:hover,.bmm-acct button[type=submit]:hover{filter:brightness(.95);transform:translateY(-1px)}
/* logged-in: sidebar + content */
.bmm-acct .woocommerce-MyAccount-navigation,.bmm-acct .woocommerce-MyAccount-content{float:none;width:auto}
@media (min-width:801px){
  body.logged-in .bmm-acct .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:1.8rem;align-items:start}
  body.logged-in .bmm-acct .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
}
.bmm-acct .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:.4rem;background:var(--navy);border-radius:var(--r);box-shadow:var(--sh)}
.bmm-acct .woocommerce-MyAccount-navigation a{display:block;padding:.75rem 1rem;border-radius:8px;color:#fff;font:700 .92rem Rubik,sans-serif;text-decoration:none;min-height:44px}
.bmm-acct .woocommerce-MyAccount-navigation a:hover{background:rgba(255,255,255,.08)}
.bmm-acct .woocommerce-MyAccount-navigation .is-active a{background:var(--yel);color:var(--navy)}
.bmm-acct .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a{color:#ffb4b0}
.bmm-acct .woocommerce-MyAccount-content{background:#fff;border:1px solid #dbe7e0;border-radius:var(--r);box-shadow:var(--sh);padding:1.5rem}
.bmm-acct .woocommerce-MyAccount-content h2,.bmm-acct .woocommerce-MyAccount-content h3{font-size:1.25rem;margin:0 0 1rem}
/* tables + addresses */
.bmm-acct table.shop_table,.bmm-acct table.woocommerce-orders-table{width:100%;border-collapse:collapse;border:1px solid #dbe7e0;border-radius:8px;overflow:hidden}
.bmm-acct table th{background:var(--grey);font:700 .8rem Rubik,sans-serif;text-transform:uppercase;text-align:left;padding:.7rem .8rem}
.bmm-acct table td{padding:.7rem .8rem;border-top:1px solid #dbe7e0}
.bmm-acct .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.bmm-acct .woocommerce-Addresses .u-column1,.bmm-acct .woocommerce-Addresses .u-column2{float:none;width:auto;background:var(--grey);border-radius:8px;padding:1rem}
@media (max-width:800px){
  .bmm-acct #customer_login,.bmm-acct .woocommerce-Addresses{grid-template-columns:1fr}
  .bmm-acct .woocommerce-MyAccount-navigation{margin-bottom:1.2rem}
  .bmm-acct .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:.3rem;scrollbar-width:none}
  .bmm-acct .woocommerce-MyAccount-navigation li{flex:0 0 auto}
  .bmm-acct .woocommerce-MyAccount-content{padding:1rem;overflow-x:auto}
}

/* v1.4.2 – fix logged-in My Account layout (nav left, content right, notices full width) */
body.logged-in .bmm-acct .woocommerce{display:flex;flex-wrap:wrap;gap:1.2rem 1.8rem;align-items:flex-start}
body.logged-in .bmm-acct .woocommerce>*{flex:1 1 100%;min-width:0;margin-top:0;margin-bottom:0}
body.logged-in .bmm-acct .woocommerce>.woocommerce-MyAccount-navigation{flex:0 0 260px;max-width:100%}
body.logged-in .bmm-acct .woocommerce>.woocommerce-MyAccount-content{flex:1 1 0;min-width:0}
.bmm-acct .woocommerce-MyAccount-content .woocommerce-message,.bmm-acct .woocommerce-MyAccount-content .woocommerce-info{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem}
.bmm-acct .woocommerce-MyAccount-content .woocommerce-message .button,.bmm-acct .woocommerce-MyAccount-content .woocommerce-info .button{margin-left:auto;min-height:38px;padding:.3rem .9rem}
@media (max-width:800px){
  body.logged-in .bmm-acct .woocommerce>.woocommerce-MyAccount-navigation,
  body.logged-in .bmm-acct .woocommerce>.woocommerce-MyAccount-content{flex:1 1 100%}
}

/* ===== GREEN BRAND OVERRIDES (logo green) ===== */
:root{--green:#07772e;--green-d:#0a3d2b;--green-dd:#06281c}
.bmm-header{background:#fff;color:var(--green-dd);box-shadow:0 2px 12px rgba(6,40,28,.15)}
.bmm-logo{color:var(--green)}
.bmm-logo img,.custom-logo{max-height:68px;max-width:300px}
.bmm-search input{border:2px solid var(--green);border-right:0;background:#fff;color:var(--green-dd)}
.bmm-search button{background:var(--yel);color:var(--green-dd)}
.bmm-burger,.bmm-cart{color:var(--green-dd)}
.bmm-hbtn-y{color:var(--green-dd);border-color:var(--green)}
.bmm-hbtn-y .bmm-i{color:var(--green)}
.bmm-hbtn-wa{background:var(--green);border-color:var(--green)}
.bmm-cart-count{background:var(--yel);color:var(--green-dd)}
.bmm-nav{background:var(--green-d);border-top:0}
.bmm-allcats{background:var(--yel);color:var(--green-dd)}
.bmm-topbar{background:var(--green-dd)}
:focus-visible{outline-color:var(--green)}
.woocommerce a.button,.woocommerce button.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce ul.products li.product .button,.woocommerce #respond input#submit{background:var(--green);color:#fff;border-radius:8px}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce ul.products li.product .button:hover{background:var(--green-d);color:#fff}
.woocommerce .price,.woocommerce ul.products li.product .price{color:var(--green-d)}
.bmm-btn-dark{background:var(--green-d)}
.bmm-btn-dark:hover{background:var(--green)}
.bmm-cat-strip .bmm-cats a:hover img,.bmm-cat-strip .bmm-cats a:focus-visible img,.bmm-cat-strip .bmm-cats a:hover .bmm-cat-ph{box-shadow:0 0 0 3px var(--green),var(--sh)}
.bmm-footer{background:var(--green-dd)}
.bmm-foot-logo img{background:#fff;padding:6px 10px}
a:hover{color:var(--green)}
.bmm-menu a:hover,.bmm-nav a:hover{color:var(--yel)}
@media (max-width:900px){.bmm-nav{background:var(--green-d)}}

/* ===== ADVANCED FOOTER ===== */
.bmm-footer{margin-top:0;background:linear-gradient(180deg,var(--green-dd),#041c13)}
.bmm-foot-grid{grid-template-columns:1.7fr 1fr 1fr 1fr 1.5fr;gap:2.2rem;padding:3rem 0 2rem}
.bmm-foot-h{position:relative;padding-bottom:.6rem;margin-bottom:1rem;font-size:1.02rem;letter-spacing:.02em}
.bmm-foot-h::after{content:"";position:absolute;left:0;bottom:0;width:36px;height:3px;border-radius:3px;background:var(--yel)}
.bmm-footer a{transition:color .2s,background .2s,transform .2s}
.bmm-footer nav li a,.bmm-foot-contact a{color:#dcebe3}
.bmm-footer nav li a:hover,.bmm-foot-contact a:hover{color:var(--yel);text-decoration:none}
.bmm-footer nav li a:hover{transform:translateX(3px)}
.bmm-foot-all{color:var(--yel)!important;font-weight:700}
.bmm-foot-brand p{color:#cfe3d8;line-height:1.65}
.bmm-foot-logo img{border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.bmm-social{margin-top:1.2rem!important}
.bmm-social a{width:42px;height:42px;padding:0;justify-content:center;border-radius:50%;border:1px solid #2f7357;background:rgba(255,255,255,.04)}
.bmm-social a .bmm-i{width:20px;height:20px}
.bmm-social a:hover{background:var(--yel);color:var(--green-dd);border-color:var(--yel);transform:translateY(-3px)}
.bmm-foot-contactcard{background:rgba(255,255,255,.05);border:1px solid #1d5c43;border-radius:14px;padding:1.3rem 1.2rem}
.bmm-foot-contact li{align-items:flex-start;color:#dcebe3;font-size:.92rem;line-height:1.45}
.bmm-foot-contact .bmm-i{margin-top:2px}
.bmm-foot-wa{margin-top:.8rem;width:100%;justify-content:center}
.bmm-small{font-size:.82rem;opacity:.8;margin:0}
.bmm-foot-trust{background:rgba(255,255,255,.04)}
.bmm-foot-trust li{color:#fff}
.bmm-foot-trust .bmm-i{width:26px;height:26px}
.bmm-copy{align-items:center;border-top:1px solid #1d5c43;color:#b9d3c6}
.bmm-pay{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0}
.bmm-pay li{background:#fff;color:var(--green-dd);font:800 .72rem Rubik,sans-serif;padding:.28rem .65rem;border-radius:6px;letter-spacing:.02em}
.bmm-top{color:var(--yel)}
.bmm-fab{position:fixed;right:18px;bottom:18px;z-index:80;display:inline-flex;align-items:center;gap:.5rem;background:var(--wa);color:#04210f;text-decoration:none;font:800 .9rem Rubik,sans-serif;padding:.75rem 1.1rem;border-radius:99px;box-shadow:0 8px 22px rgba(0,0,0,.3)}
.bmm-fab:hover{transform:translateY(-2px);color:#04210f}
.bmm-fab .bmm-i{width:22px;height:22px}
@media (max-width:1100px){.bmm-foot-grid{grid-template-columns:1fr 1fr 1fr}.bmm-foot-brand{grid-column:1/-1}}
@media (max-width:700px){.bmm-foot-grid{grid-template-columns:1fr 1fr;gap:1.6rem}.bmm-foot-contactcard,.bmm-foot-brand{grid-column:1/-1}.bmm-copy{flex-direction:column;align-items:flex-start}.bmm-fab span{display:none}.bmm-fab{padding:.8rem}}
@media (max-width:420px){.bmm-foot-grid{grid-template-columns:1fr}}

/* ===== ELEMENTOR PAGES ===== */
body.bmm-elementor #main,.elementor-page #main{padding:0;margin:0;max-width:none}
.elementor-page .bmm-page{width:auto;padding:0}
.elementor-widget-shortcode .bmm-cat-strip,.elementor-widget-shortcode .bmm-trust,.elementor-widget-shortcode .bmm-foot-cta{margin:0}
.elementor-widget-shortcode .bmm-wrap{width:100%}
.elementor a.bmm-btn{text-decoration:none}

/* Login / Register page: two side-by-side cards (sidebar grid only when logged in) */
.bmm-acct .woocommerce{display:block}
.logged-in .bmm-acct .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:1.8rem;align-items:start}
.bmm-acct #customer_login{max-width:1000px;margin-inline:auto}
.bmm-acct #customer_login .u-column1,.bmm-acct #customer_login .u-column2{background:#fff;border:1px solid #dbe7e0;border-radius:var(--r);box-shadow:var(--sh);padding:1.6rem}
.bmm-acct #customer_login .woocommerce-form-login,.bmm-acct #customer_login .woocommerce-form-register{border:0;box-shadow:none;padding:0}
.bmm-acct #customer_login h2{padding-bottom:.6rem;border-bottom:3px solid var(--yel);display:inline-block}
.bmm-acct .woocommerce-form-login .button,.bmm-acct .woocommerce-form-register .button{width:100%;margin-top:.4rem}
@media(max-width:800px){.logged-in .bmm-acct .woocommerce{grid-template-columns:1fr}}

/* Login only by default; Register shows with ?signup=1 */
.bmm-acct #customer_login::before,.bmm-acct #customer_login::after{display:none}
.bmm-acct #customer_login{grid-template-columns:1fr;max-width:480px;margin-inline:auto}
.bmm-acct #customer_login .u-column2{display:none}
body.bmm-signup .bmm-acct #customer_login .u-column2{display:block}
body.bmm-signup .bmm-acct #customer_login .u-column1{display:none}
.bmm-switch{margin:1rem 0 0;font-weight:600}
.bmm-switch a{color:var(--navy);text-decoration-color:var(--yel);text-underline-offset:3px}