/*
Theme Name: Blossom Minimal
Theme URI: https://example.com/
Author: Custom
Author URI: https://example.com/
Description: A clean, minimal WordPress theme for flower & bouquet websites (blog or small shop). Lightweight, responsive, Gutenberg-friendly.
Version: 1.3.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blossom-minimal
Tags: blog, e-commerce, custom-logo, custom-menu, featured-images, one-column, two-columns, translation-ready
*/

/* =========================
   Base / Reset
========================= */
:root{
  --bm-bg:#ffffff;
  --bm-surface:#f7f7f7;
  --bm-text:#111827;
  --bm-muted:#6b7280;
  --bm-border:#e5e7eb;
  --bm-accent:#e11d48; /* rose */
  --bm-accent-2:#16a34a; /* green */
  --bm-orange:#f97316; /* orange hover */
  --bm-radius:18px;
  --bm-shadow: 0 10px 30px rgba(0,0,0,.06);
  --bm-max: 1120px;
  --bm-font-body: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bm-font-heading: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--bm-font-body);
  color:var(--bm-text);
  background:var(--bm-bg);
  line-height:1.65;
}

/* Admin bar offset (logged-in users)
   Used for fixed drawers/overlays so they don't sit under the WP admin bar. */
body.admin-bar{ --bm-adminbar: 32px; }
@media (max-width: 782px){
  body.admin-bar{ --bm-adminbar: 46px; }
}

main#bmContent{ padding-top: 18px; }

h1,h2,h3,h4,h5,h6{ font-family:var(--bm-font-heading); font-weight:700; letter-spacing:.2px; }

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ color:var(--bm-accent); }

.bm-container{
  width:100%;
  max-width:var(--bm-max);
  margin:0 auto;
  padding:0 18px;
}

.bm-sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* =========================
   Header
========================= */
.bm-header{
  position:relative;
  z-index:999;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--bm-border);
}
.bm-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
}
.bm-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:180px;
}
.bm-logo img{
  width:44px; height:44px; object-fit:contain;
}
.bm-site-title{
  font-weight:800;
  letter-spacing:.2px;
  line-height:1.1;
}
.bm-site-desc{
  font-size:12px;
  color:var(--bm-muted);
  margin-top:2px;
}

.bm-nav{
  display:flex;
  align-items:center;
  gap:14px;
}
.bm-nav ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
}
.bm-nav a{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:600;
  font-size:14px;
}
.bm-nav a:hover{
  border-color:var(--bm-border);
  background:var(--bm-surface);
}

.bm-nav-toggle{
  display:none;
  border:1px solid var(--bm-border);
  background:var(--bm-bg);
  border-radius:999px;
  padding:10px 12px;
  font-weight:700;
}
.bm-nav-toggle:focus{ outline:2px solid var(--bm-accent); outline-offset:2px; }

@media (max-width: 820px){
  .bm-nav-toggle{ display:inline-flex; }
  .bm-nav{
    position:fixed;
    left:0; right:0;
    top:64px;
    background:rgba(255,255,255,.96);
    backdrop-filter:saturate(180%) blur(10px);
    border-bottom:1px solid var(--bm-border);
    transform: translateY(-120%);
    transition: transform .25s ease;
    padding:10px 18px 18px;
  }
  .bm-nav.is-open{ transform: translateY(0); }
  .bm-nav ul{
    flex-direction:column;
    align-items:stretch;
    gap:6px;
  }
  .bm-nav a{ justify-content:center; }
}


/* =========================
   Header (Enhanced: topbar + icons + dropdowns)
========================= */
.bm-header{
  background:transparent;
  border-bottom:none;
  backdrop-filter:none;
}
.bm-header-main{
  background:#fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.bm-header-inner{
  padding:14px 0;
}
.bm-brand{
  min-width:auto;
  flex: 1 1 auto;
  justify-content:center;
}
.bm-brand .custom-logo-link,
.bm-brand .bm-custom-logo-link{
  display:flex;
  align-items:center;
  justify-content:center;
}
.bm-brand img,
.bm-brand .custom-logo{
  max-height:74px;
  width:auto;
}

/* Desktop Topbar */
.bm-topbar{
  background:#f9f7f3;
  border-bottom:1px solid var(--bm-border);
}
.bm-topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 0;
}
.bm-topbar-promo{
  font-weight:600;
  color:var(--bm-text);
  transition:opacity .18s ease;
}
.bm-topbar-promo.bm-fade{ opacity:.2; }
.bm-social{
  display:flex;
  align-items:center;
  gap:6px;
}
.bm-hide-mobile{ display:block; }
@media (max-width: 820px){
  .bm-hide-mobile{ display:none; }
}

/* Icon buttons */
.bm-header-icons{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex: 0 0 auto;
}
.bm-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--bm-border);
  background:#fff;
  color:var(--bm-text);
  cursor:pointer;
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bm-icon-btn svg{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
}
a.bm-icon-btn{ text-decoration:none; }
.bm-icon-btn:hover{
  color:var(--bm-orange);
  border-color:var(--bm-orange);
  box-shadow:0 8px 18px rgba(0,0,0,.10);
  transform: translateY(-1px);
}
.bm-icon-btn:focus{ outline:2px solid var(--bm-orange); outline-offset:2px; }

/* Cart button (WooCommerce) */
.bm-cart-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--bm-border);
  background:#fff;
  color:var(--bm-text);
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bm-cart-link:hover{
  color:var(--bm-orange);
  border-color:var(--bm-orange);
  box-shadow:0 8px 18px rgba(0,0,0,.10);
  transform: translateY(-1px);
}
.bm-cart-count{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background:var(--bm-orange);
  color:#fff;
  font-size:12px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
}

/* Cart button (WooCommerce) */
.bm-cart-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--bm-border);
  background:#fff;
  color:var(--bm-text);
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bm-cart-link:hover{
  color:var(--bm-orange);
  border-color:var(--bm-orange);
  box-shadow:0 8px 18px rgba(0,0,0,.10);
  transform: translateY(-1px);
}
.bm-cart-count{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--bm-orange);
  color:#fff;
  font-size:11px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

/* Mobile hamburger on the far left */
.bm-nav-toggle{
  display:none;
}
@media (max-width: 820px){
  .bm-nav-toggle{ display:inline-flex; }
  .bm-brand{ justify-content:center; }
  .bm-brand img, .bm-brand .custom-logo{ max-height:54px; }
}

/* Hide the main-header Help icon on desktop (Help stays in topbar) */
.bm-help-only-mobile{ display:none; }
@media (max-width: 820px){
  .bm-help-only-mobile{ display:block; }
}

/* Dropdowns (Help + Search) */
.bm-dropdown{ position:relative; }
.bm-dropdown-menu{
  display:none;
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:190px;
  background:#fff;
  border:1px solid var(--bm-border);
  border-radius:16px;
  box-shadow: var(--bm-shadow);
  padding:8px;
  z-index:1000;
}
.bm-dropdown.is-open .bm-dropdown-menu{ display:block; }
.bm-dropdown-menu a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:12px;
  font-weight:600;
  font-size:14px;
  color:var(--bm-text);
}
.bm-dropdown-menu a svg{ width:18px; height:18px; stroke:currentColor; }
.bm-dropdown-menu a:hover{
  background:var(--bm-surface);
  color:var(--bm-orange);
}

.bm-search-menu{ min-width:280px; }
.bm-search-form{
  display:flex;
  align-items:center;
  gap:8px;
}
.bm-search-form input{
  flex:1;
  height:42px;
  padding:0 12px;
  border-radius:14px;
  border:1px solid var(--bm-border);
  font-size:14px;
}
.bm-btn--icon{
  width:42px;
  height:42px;
  padding:0;
  border-radius:14px;
}
.bm-btn--icon svg{ width:18px; height:18px; }

/* Primary nav */
.bm-nav{
  display:block;
  background:#fff;
  border-top:1px solid var(--bm-border);
}
.bm-nav-list{
  list-style:none;
  margin:0;
  padding:8px 0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex-wrap:wrap;
}
.bm-nav-list a{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:600;
  font-size:14px;
}
.bm-nav-list a:hover{
  border-color:var(--bm-border);
  background:var(--bm-surface);
  color:var(--bm-orange);
}

@media (max-width: 820px){
  .bm-nav{
    position:fixed;
    left:0; right:0;
    top:74px;
    background:#fff;
    border-top:1px solid var(--bm-border);
    border-bottom:1px solid var(--bm-border);
    transform: translateY(-120%);
    transition: transform .25s ease;
    padding:12px 18px 18px;
  }
  .bm-nav.is-open{ transform: translateY(0); }
  .bm-nav-list{
    flex-direction:column;
    align-items:stretch;
    padding:0;
    gap:8px;
  }
  .bm-nav-list a{ justify-content:center; }
}

/* =========================
   Footer
========================= */
.bm-footer{
  border-top:1px solid var(--bm-border);
  margin-top:52px;
  padding:26px 0;
  color:var(--bm-muted);
}
.bm-footer .bm-footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap:18px;
}
.bm-footer h3{
  margin:0 0 10px;
  color:var(--bm-text);
  font-size:15px;
}
.bm-footer a{ color:var(--bm-muted); }
.bm-footer a:hover{ color:var(--bm-accent); }
.bm-footer p{ margin:0; }
@media (max-width: 820px){
  .bm-footer .bm-footer-grid{ grid-template-columns:1fr; }
}

/* =========================
   Buttons / Chips
========================= */
.bm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--bm-border);
  background:var(--bm-bg);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.bm-btn:hover{
  background:var(--bm-surface);
  transform: translateY(-1px);
}
.bm-btn--accent{
  background:var(--bm-accent);
  border-color: var(--bm-accent);
  color:#fff;
}
.bm-btn--accent:hover{
  background:#be123c;
  border-color:#be123c;
}

/* =========================
   Hero
========================= */
.bm-hero{
  padding:36px 0 18px;
}
.bm-hero-card{
  border:1px solid var(--bm-border);
  background:linear-gradient(180deg, #fff, #fff6f7);
  border-radius:var(--bm-radius);
  box-shadow:var(--bm-shadow);
  overflow:hidden;
}
.bm-hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:0;
  align-items:stretch;
}
.bm-hero-content{
  padding:32px;
}
.bm-hero h1{
  margin:0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height:1.12;
  letter-spacing:-.3px;
}
.bm-hero p{
  margin:0 0 18px;
  color:var(--bm-muted);
  font-size:16px;
  max-width: 54ch;
}
.bm-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.bm-hero-aside{
  border-left:1px solid var(--bm-border);
  background: radial-gradient(600px 220px at 40% 30%, rgba(225,29,72,.14), transparent 60%),
              radial-gradient(500px 200px at 55% 70%, rgba(22,163,74,.12), transparent 60%),
              #ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.bm-hero-aside .bm-hero-badge{
  width:100%;
  border:1px dashed rgba(225,29,72,.35);
  border-radius:var(--bm-radius);
  padding:18px;
  color:var(--bm-text);
  background:rgba(255,255,255,.72);
}
.bm-hero-badge strong{ display:block; font-size:14px; }
.bm-hero-badge span{ display:block; color:var(--bm-muted); font-size:13px; margin-top:6px; }
@media (max-width: 820px){
  .bm-hero-inner{ grid-template-columns:1fr; }
  .bm-hero-aside{ border-left:0; border-top:1px solid var(--bm-border); }
}

/* =========================
   Layout / Cards
========================= */
.bm-section{
  padding:18px 0;
}
.bm-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:6px 0 14px;
}
.bm-section-head h2{
  margin:0;
  font-size:18px;
}
.bm-section-head p{
  margin:0;
  color:var(--bm-muted);
  font-size:13px;
}
.bm-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 980px){
  .bm-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .bm-grid{ grid-template-columns: 1fr; }
}

.bm-card{
  border:1px solid var(--bm-border);
  border-radius:var(--bm-radius);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
  transition: transform .12s ease, box-shadow .12s ease;
}
.bm-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}
.bm-card-media{
  aspect-ratio: 16/10;
  background: var(--bm-surface);
}
.bm-card-body{
  padding:14px 14px 16px;
}
.bm-card-title{
  margin:0 0 6px;
  font-size:16px;
  line-height:1.3;
  font-weight:800;
}
.bm-card-meta{
  margin:0;
  font-size:12px;
  color:var(--bm-muted);
}
.bm-card-price{
  margin-top:10px;
  font-weight:900;
}
.bm-card-footer{
  margin-top:12px;
}

/* =========================
   Content / Typography
========================= */
.bm-content{
  padding:24px 0;
}
.bm-article{
  max-width: 78ch;
}
.bm-article h1, .bm-article h2, .bm-article h3{ line-height:1.2; }
.bm-article h1{ margin:0 0 10px; font-size: clamp(24px, 2.6vw, 36px); }
.bm-article .bm-meta{ color:var(--bm-muted); font-size:13px; margin:0 0 18px; }
.bm-article .bm-featured{
  border-radius: var(--bm-radius);
  overflow:hidden;
  border:1px solid var(--bm-border);
  margin:16px 0 18px;
}
.bm-article .bm-featured img{ width:100%; height:auto; }

/* WordPress defaults */
.wp-block-image img{ border-radius: 14px; }
.wp-block-quote{
  border-left:4px solid var(--bm-accent);
  padding-left:14px;
  color:var(--bm-muted);
}
.bm-pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  margin:22px 0 6px;
}
.bm-pagination .page-numbers{
  padding:8px 12px;
  border:1px solid var(--bm-border);
  border-radius:999px;
  background:#fff;
  font-weight:700;
  font-size:13px;
}
.bm-pagination .current{ background:var(--bm-surface); }

/* Forms */
input[type="text"], input[type="email"], input[type="search"], textarea{
  width:100%;
  border:1px solid var(--bm-border);
  border-radius:14px;
  padding:12px 12px;
  font:inherit;
}
textarea{ min-height:140px; }
button, input[type="submit"]{ font:inherit; }

.bm-search{
  display:flex;
  gap:10px;
  margin: 12px 0 0;
}
.bm-search input[type="search"]{ flex:1; }

/* =========================
   Header actions + Skip link
========================= */
.bm-skip-link{
  position:absolute;
  left:-9999px;
  top:10px;
  background:#fff;
  color:var(--bm-text);
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--bm-border);
  z-index:1000;
}
.bm-skip-link:focus{ left:10px; outline:2px solid var(--bm-accent); outline-offset:2px; }

.bm-header-inner{
  gap:14px;
}
.bm-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}

.bm-header-search{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid var(--bm-border);
  border-radius:999px;
  background:#fff;
}
.bm-header-search input{
  border:0;
  outline:none;
  background:transparent;
  width:180px;
  font-size:14px;
}
@media (max-width: 980px){
  .bm-header-search input{ width:140px; }
}
@media (max-width: 820px){
  .bm-header-search{ display:none; }
}

.bm-btn--ghost{
  background:transparent;
  color:var(--bm-text);
  border:1px solid transparent;
  padding:10px 12px;
  border-radius:999px;
}
.bm-btn--ghost:hover{
  border-color:var(--bm-border);
  background:var(--bm-surface);
}

.bm-account-link{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--bm-border);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  color:var(--bm-text);
  background:#fff;
}
.bm-account-link:hover{
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* =========================
   Footer bottom
========================= */
.bm-footer-bottom{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--bm-border);
  padding-top:16px;
  margin-top:18px;
  flex-wrap:wrap;
}
.bm-footer-nav ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.bm-footer-nav a{
  font-size:13px;
  color:var(--bm-muted);
  text-decoration:none;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid transparent;
}
.bm-footer-nav a:hover{
  color:var(--bm-text);
  border-color:var(--bm-border);
  background:var(--bm-surface);
}

/* =========================
   Content layout (optional sidebar)
========================= */
.bm-layout{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:22px;
  align-items:start;
}
.bm-layout--left{
  grid-template-columns: 320px 1fr;
}
.bm-layout--none{
  grid-template-columns: 1fr;
}
.bm-layout--left .bm-main{ order:2; }
.bm-layout--left .bm-sidebar{ order:1; }

@media (max-width: 980px){
  .bm-layout,
  .bm-layout--left{ grid-template-columns: 1fr; }
  .bm-layout--left .bm-main,
  .bm-layout--left .bm-sidebar{ order: initial; }
}

/* =====================================================
   Header + Footer Pro Overrides (FloristWOW-24)
   - Desktop top bar with rotating promo
   - Help dropdown (Call / WhatsApp / Live chat)
   - Icon hover orange
   - White header with professional shadow
===================================================== */

.bm-hide-mobile{ display:block; }
@media (max-width: 820px){
  .bm-hide-mobile{ display:none !important; }
}

.bm-header{
  background:#fff;
  border-bottom:0;
  box-shadow: 0 8px 22px rgba(17,24,39,.08);
}

.bm-skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.bm-skip-link:focus{
  left:18px;
  top:18px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--bm-border);
  border-radius:12px;
  z-index:9999;
}

/* Top bar */
.bm-topbar{
  background:#f9f7f3;
  color:#f9fafb;
  font-size:13px;
}
.bm-topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:8px 0;
}
.bm-topbar-promo{
  font-weight:600;
  letter-spacing:.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 720px;
}
.bm-topbar-promo.bm-fade{ opacity:.35; transition:opacity .18s ease; }
.bm-topbar-right{ display:flex; align-items:center; gap:10px; }
.bm-social{ display:flex; align-items:center; gap:6px; }

/* Main header */


/* Topbar Help label (desktop only) */
.bm-topbar-help{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}
.bm-topbar-help-text{
  font-size:11px;
  line-height:1;
  font-weight:700;
  color:var(--bm-muted);
  letter-spacing:.2px;
}
@media (max-width:820px){
  /* hide help in topbar on mobile */
  .bm-topbar-help{ display:none; }
}

.bm-header-main{ background:#fff; }
.bm-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 0;
}

.bm-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:160px;
}
.bm-brand img,
.custom-logo{
  height:46px;
  width:auto;
  max-width: 200px;
  object-fit:contain;
}
@media (max-width: 820px){
  .bm-brand{ min-width: 120px; }
  .bm-brand img,
  .custom-logo{ height:38px; max-width: 170px; }
}

/* Icon buttons */
.bm-icon-btn{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid transparent;
  background:transparent;
  color:#0f172a;
  cursor:pointer;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.bm-icon-btn:hover,
.bm-icon-btn:focus-visible{
  background:var(--bm-surface);
  color:var(--bm-orange);
  border-color:var(--bm-border);
  outline:none;
}
.bm-topbar .bm-icon-btn{ color:#f9fafb; }
.bm-topbar .bm-icon-btn:hover,
.bm-topbar .bm-icon-btn:focus-visible{ background: rgba(255,255,255,.10); color: var(--bm-orange); border-color: rgba(255,255,255,.18); }

.bm-header-icons{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
}

/* Cart icon (WooCommerce) */
.bm-cart-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid transparent;
  background:transparent;
  color:#0f172a;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.bm-cart-link:hover,
.bm-cart-link:focus-visible{
  background:var(--bm-surface);
  color:var(--bm-orange);
  border-color:var(--bm-border);
  outline:none;
}
.bm-cart-count{
  position:absolute;
  top:6px;
  right:6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--bm-orange);
  color:#fff;
  font-size:11px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

.bm-topbar .bm-cart-link{ color:#f9fafb; }
.bm-topbar .bm-cart-link:hover,
.bm-topbar .bm-cart-link:focus-visible{ background: rgba(255,255,255,.10); color: var(--bm-orange); border-color: rgba(255,255,255,.18); }

/* Nav */
.bm-nav{
  border-top: 1px solid rgba(229,231,235,.7);
  background:#fff;
}
.bm-nav .bm-nav-list{
  list-style:none;
  margin:0;
  padding:10px 0 14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
}
.bm-nav .bm-nav-list a{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  font-weight:600;
  font-size:14px;
  border:1px solid transparent;
}
.bm-nav .bm-nav-list a:hover{
  color:#0f172a;
  border-color: var(--bm-border);
  background: var(--bm-surface);
}
.bm-nav .bm-nav-list a:focus-visible{ outline:2px solid var(--bm-orange); outline-offset:2px; }

/* Mobile nav dropdown */
@media (max-width: 820px){
  .bm-nav-toggle{ display:inline-flex; }
  #bmPrimaryNav.bm-nav{
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    z-index: 998;
    transform: translateY(-120%);
    transition: transform .22s ease;
    border-top: 0;
    border-bottom:1px solid var(--bm-border);
    box-shadow: 0 18px 40px rgba(17,24,39,.10);
  }
  #bmPrimaryNav.bm-nav.is-open{ transform: translateY(0); }
  .bm-nav .bm-nav-list{ flex-direction:column; align-items:stretch; padding:12px 18px 18px; }
  .bm-nav .bm-nav-list a{ justify-content:center; }
}

/* Dropdown menus */
.bm-dropdown{ position:relative; }
.bm-dropdown-menu{
  position:absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  padding: 10px;
  background:#fff;
  border:1px solid var(--bm-border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(17,24,39,.12);
  display:none;
}
.bm-dropdown.is-open .bm-dropdown-menu{ display:block; }
.bm-dropdown-menu a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius: 12px;
  color:#0f172a;
  font-weight:600;
}
.bm-dropdown-menu a:hover{ background: var(--bm-surface); color: var(--bm-orange); }

.bm-search-menu{ min-width: 320px; }
.bm-search-form{ display:flex; gap:10px; }
.bm-search-form input{
  flex: 1;
  border: 1px solid var(--bm-border);
  border-radius: 999px;
  padding: 12px 14px;
  font-size: 14px;
}
.bm-btn--icon{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--bm-border);
  background: var(--bm-bg);
}
.bm-btn--icon:hover{ background: var(--bm-surface); color: var(--bm-orange); }

/* Footer (4 columns, professional) */
.bm-footer{ background:#0b1220; color:#cbd5e1; border-top:0; padding:48px 0 22px; }
.bm-footer h3{ color:#fff; font-size:15px; margin:0 0 12px; }
.bm-footer a{ color:#cbd5e1; }
.bm-footer a:hover{ color: var(--bm-orange); }
.bm-footer .bm-footer-grid{ grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap:20px; }
.bm-footer .widget{ margin:0; }
.bm-footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.bm-footer .bm-footer-bottom{ margin-top:26px; padding-top:18px; border-top:1px solid rgba(148,163,184,.18); display:flex; gap:12px; justify-content:space-between; align-items:center; flex-wrap:wrap; }
.bm-footer-copy{ color:#94a3b8; font-size:13px; }
.bm-footer-nav ul{ flex-direction:row; gap:8px; flex-wrap:wrap; }
.bm-footer-nav a{ display:inline-flex; padding:8px 12px; border-radius:999px; border:1px solid rgba(148,163,184,.18); }
.bm-footer-nav a:hover{ border-color: rgba(148,163,184,.30); background: rgba(255,255,255,.06); }

.bm-footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.bm-footer-brand img{ height:44px; width:auto; object-fit:contain; }
.bm-footer-brand .bm-footer-title{ font-weight:800; color:#fff; line-height:1.1; }
.bm-footer-brand .bm-footer-tagline{ font-size:12px; color:#94a3b8; margin-top:2px; }
.bm-footer-contact{ display:flex; flex-direction:column; gap:10px; }
.bm-footer-contact a{ display:flex; align-items:center; gap:10px; }
.bm-footer .bm-social{ margin-top:12px; }

@media (max-width: 980px){
  .bm-footer .bm-footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px){
  .bm-footer .bm-footer-grid{ grid-template-columns:1fr; }
  .bm-search-menu{ min-width: 280px; }
}

/* Cache/override guards: make sure header styles win even if plugins add button/logo styles */
.bm-header .custom-logo,
.bm-header .bm-brand img{ max-height:46px !important; height:46px !important; width:auto !important; }
@media (max-width:820px){
  .bm-header .custom-logo,
  .bm-header .bm-brand img{ max-height:38px !important; height:38px !important; }
}
.bm-header .bm-icon-btn,
.bm-topbar .bm-icon-btn{ border-radius:999px !important; }

/* Cart button (WooCommerce) */
.bm-cart-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--bm-border);
  background:#fff;
  color:var(--bm-text);
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bm-cart-link:hover{
  color:var(--bm-orange);
  border-color:var(--bm-orange);
  box-shadow:0 8px 18px rgba(0,0,0,.10);
  transform: translateY(-1px);
}
.bm-cart-count{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--bm-orange);
  color:#fff;
  font-size:11px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
}

/* Cart button (WooCommerce) */
.bm-cart-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--bm-border);
  background:#fff;
  color:var(--bm-text);
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bm-cart-link:hover{
  color:var(--bm-orange);
  border-color:var(--bm-orange);
  box-shadow:0 8px 18px rgba(0,0,0,.10);
  transform: translateY(-1px);
}
.bm-cart-count{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--bm-orange);
  color:#fff;
  font-size:11px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
}

/* Cart button (WooCommerce) */
.bm-cart-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--bm-border);
  background:#fff;
  color:var(--bm-text);
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bm-cart-link:hover{
  color:var(--bm-orange);
  border-color:var(--bm-orange);
  box-shadow:0 8px 18px rgba(0,0,0,.10);
  transform: translateY(-1px);
}
.bm-cart-count{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--bm-orange);
  color:#fff;
  font-size:11px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
}

/* Cart button (WooCommerce) */
.bm-cart-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid var(--bm-border);
  background:#fff;
  color:var(--bm-text);
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bm-cart-link:hover{
  color:var(--bm-orange);
  border-color:var(--bm-orange);
  box-shadow:0 8px 18px rgba(0,0,0,.10);
  transform: translateY(-1px);
}
.bm-cart-count{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:var(--bm-orange);
  color:#fff;
  font-size:11px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
}


/* =========================
   v1.1.3 Header refinements (logo left on desktop, topbar on mobile, pro icons)
========================= */

/* Always show topbar (also on mobile) */
.bm-topbar{ display:block; }

/* Desktop: logo left, icons right */
@media (min-width: 821px){
  .bm-header-inner{
    justify-content:flex-start;
  }
  .bm-brand{
    flex: 0 0 auto;
    justify-content:flex-start;
  }
  .bm-header-icons{
    margin-left:auto;
  }
  /* Force-hide hamburger on desktop (even if another rule leaks) */
  .bm-nav-toggle{ display:none !important; }
}

/* Bigger, cleaner logo */
.bm-header .custom-logo,
.bm-brand .custom-logo{
  max-height:64px;
  width:auto;
  height:auto;
  max-width:260px;
}
@media (max-width: 820px){
  .bm-header .custom-logo,
  .bm-brand .custom-logo{
    max-height:52px;
    max-width:220px;
  }
}

/* Mobile: topbar layout + tighter header spacing */
@media (max-width: 820px){
  .bm-topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding:10px 0;
  }
  .bm-topbar-right{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
  .bm-social{ gap:8px; }
  .bm-header-inner{
    padding:10px 0;
    gap:10px;
  }
  .bm-header-icons{ gap:6px; }
  .bm-icon-btn,
  .bm-cart-link{
    width:42px;
    height:42px;
  }
}

/* Pro cart button */
.bm-cart-link{
  width:44px;
  height:44px;
  box-shadow:0 6px 14px rgba(0,0,0,.06);
}
.bm-cart-link .bm-cart-icon svg{
  width:21px;
  height:21px;
}

/* =========================
   v1.1.4 Refinements
   - Off-white topbar (desktop + mobile)
   - Mobile menu as left sidebar with overlay + close icon
   - Underline hover for header + footer links
   - Gray, modern footer with mobile accordion
   - Larger logo (desktop + mobile)
========================= */

/* Topbar: off-white + dark text */
.bm-topbar{
  background:#f9f7f3;
  color:#0f172a !important;
  border-bottom:1px solid rgba(229,231,235,.9) !important;
}
.bm-topbar .bm-topbar-promo{ color:#0f172a !important; }
.bm-topbar .bm-icon-btn,
.bm-topbar .bm-cart-link{
  color:#0f172a !important;
  border-color: rgba(15,23,42,.14) !important;
  background: transparent !important;
}
.bm-topbar .bm-icon-btn:hover,
.bm-topbar .bm-icon-btn:focus-visible,
.bm-topbar .bm-cart-link:hover,
.bm-topbar .bm-cart-link:focus-visible{
  color: var(--bm-orange) !important;
  background: rgba(15,23,42,.06) !important;
  border-color: rgba(15,23,42,.18) !important;
}

/* Logo: bigger + crisp */
.bm-header .custom-logo,
.bm-header .bm-brand img{
  max-height:72px !important;
  height:auto !important;
  width:auto !important;
}
@media (max-width:820px){
  .bm-header .custom-logo,
  .bm-header .bm-brand img{
    max-height:58px !important;
  }
}



/* "Fresh flowers" badge on Roses menu */
.bm-nav .bm-nav-list a{ position:relative; }
/* Roses badge (animated like a small ribbon/button) */
.bm-has-badge > a{
  display:flex;
  align-items:center;
  gap:10px;
}
.bm-menu-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 12px;
  border-radius: 999px;
  font-size:11px;
  font-weight:800;
  line-height:1;
  letter-spacing:.2px;
  color:#fff;
  background: linear-gradient(90deg, #16a34a, #22c55e, #84cc16, #eab308, #f97316, #16a34a);
  background-size: 300% 100%;
  animation: bmBadgeShift 7s ease-in-out infinite;
  position:relative;
  box-shadow: 0 10px 22px rgba(2,6,23,.10);
  white-space:nowrap;
}
.bm-menu-badge::after{
  content:"";
  position:absolute;
  top:0;
  right:-11px;
  width:12px;
  height:100%;
  background: inherit;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  filter: brightness(.98);
}
@keyframes bmBadgeShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}
@media (max-width:820px){
  /* On mobile sidebar, push badge to the right so text stays visible */
  .bm-has-badge > a{ justify-content:space-between; }
  .bm-menu-badge{ font-size:11px; padding:4px 10px; }
}


/* Menu underline hover (desktop + mobile) */
.bm-nav .bm-nav-list a{
  position:relative;
}
.bm-nav .bm-nav-list a::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:7px;
  height:2px;
  background: var(--bm-orange);
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .18s ease;
  border-radius:999px;
}
.bm-nav .bm-nav-list a:hover::after,
.bm-nav .bm-nav-list .current-menu-item > a::after,
.bm-nav .bm-nav-list .current_page_item > a::after{
  transform: scaleX(1);
}
.bm-nav .bm-nav-list a:hover{ color:#0f172a; }

/* Nav toggle icon swap (hamburger <-> close) */
.bm-nav-toggle .bm-ico-close{ display:none; }
.bm-nav-toggle[aria-expanded="true"] .bm-ico-open{ display:none; }
.bm-nav-toggle[aria-expanded="true"] .bm-ico-close{ display:inline-flex; }

/* Mobile nav as left sidebar + overlay */
.bm-nav-head{ display:none; }
.bm-nav-overlay{ display:none; }
@media (max-width: 820px){
  #bmPrimaryNav.bm-nav{
    top: var(--bm-adminbar, 0px) !important;
    right:auto !important;
    bottom:0;
    width:82vw;
    max-width:340px;
    height: calc(100vh - var(--bm-adminbar, 0px));
    transform: translateX(-110%);
    transition: transform .22s ease;
    border-right:1px solid rgba(229,231,235,.9);
    border-bottom:0;
    box-shadow: 0 22px 60px rgba(2,6,23,.18);
    padding-top: 10px;
  }
  #bmPrimaryNav.bm-nav.is-open{ transform: translateX(0); }

  .bm-nav-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 18px 6px;
    border-bottom:1px solid rgba(229,231,235,.8);
  }
  .bm-nav-title{ font-weight:800; font-size:14px; color:#0f172a; }
  .bm-nav-close{ width:42px; height:42px; }

  .bm-nav-overlay{
    display:block;
    position:fixed;
    inset:0;
    background: rgba(2,6,23,.42);
    backdrop-filter: blur(2px);
    opacity:0;
    pointer-events:none;
    transition: opacity .18s ease;
    z-index: 1000;
  }
  .bm-nav-overlay.is-active{ opacity:1; pointer-events:auto; }
  #bmPrimaryNav.bm-nav{ z-index: 1001; }

  .bm-nav .bm-nav-list a{
    justify-content:flex-start;
    padding:12px 14px;
  }
}

/* Footer: modern gray */
.bm-footer{
  background:#f1f5f9 !important;
  color:#334155 !important;
  border-top:1px solid rgba(148,163,184,.35) !important;
}
.bm-footer h3{ color:#0f172a !important; }
.bm-footer a{ color:#334155 !important; position:relative; }
.bm-footer a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  height:2px;
  width:100%;
  background: var(--bm-orange);
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .18s ease;
}
.bm-footer a:hover{ color:#0f172a !important; }
.bm-footer a:hover::after{ transform: scaleX(1); }

.bm-footer .bm-footer-bottom{
  border-top:1px solid rgba(148,163,184,.45) !important;
}
.bm-footer-copy{ color:#475569 !important; }
.bm-footer-nav a{
  border-color: rgba(148,163,184,.45) !important;
  background: rgba(255,255,255,.55) !important;
}
.bm-footer-nav a:hover{ background:#fff !important; }

/* Footer accordion (mobile) */
.bm-footer-acc{ border:1px solid rgba(148,163,184,.35); border-radius:18px; overflow:hidden; background: rgba(255,255,255,.55); }
.bm-footer-acc + .bm-footer-acc{ margin-top:12px; }
.bm-footer-acc summary{
  list-style:none;
  cursor:pointer;
  padding:14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-weight:800;
  color:#0f172a;
}
.bm-footer-acc summary::-webkit-details-marker{ display:none; }
.bm-footer-acc summary::after{
  content:"+";
  font-size:18px;
  line-height:1;
  color:#0f172a;
  opacity:.75;
}
.bm-footer-acc[open] summary::after{ content:"–"; }
.bm-footer-acc-body{ padding:0 14px 14px; }

@media (min-width: 641px){
  .bm-footer-acc{ border:0; background: transparent; }
  .bm-footer-acc summary{ padding:0; cursor:default; }
  .bm-footer-acc summary::after{ display:none; }
  .bm-footer-acc-body{ padding:0; }
}



@media (max-width:820px){
  .bm-header-icons{ margin-right:6px; }
}


/* --- WooCommerce + Typography tweaks (v1.2.5) --- */
h1, h2, h3, h4, h5, h6{ font-weight: 600; }
.bm-title, .entry-title, .page-title, .woocommerce-products-header__title{ font-weight: 600; }

/* Add a little breathing room so content never feels like it sits under the header */
.woocommerce-page #bmContent{ padding-top: 18px; }
@media (max-width: 820px){
  .woocommerce-page #bmContent{ padding-top: 14px; }
}


/* =========================
   WooCommerce: Header mega dropdown + Footer categories
========================= */
.bm-nav .bm-has-mega{ position: relative; }
.bm-nav .bm-mega{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 92vw);
  background: #fff;
  border: 1px solid var(--bm-border);
  border-radius: calc(var(--bm-radius) - 4px);
  box-shadow: var(--bm-shadow);
  padding: 14px;
  display: none;
  z-index: 1002;
}
.bm-nav .bm-has-mega:hover > .bm-mega,
.bm-nav .bm-has-mega:focus-within > .bm-mega{
  display:block;
}
.bm-mega-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 980px){
  .bm-mega-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .bm-mega-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bm-mega-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--bm-border);
  background: #fff;
  text-decoration: none;
  color: var(--bm-text);
  transition: transform .15s ease, border-color .15s ease;
}
.bm-mega-item:hover{
  transform: translateY(-1px);
  border-color: #cbd5e1;
}
.bm-mega-item__img{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow:hidden;
  flex: 0 0 46px;
  background: #f8fafc;
}
.bm-mega-item__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.bm-mega-item__name{
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

/* Mobile/off-canvas: show mega content inline */
#bmPrimaryNav.bm-nav.is-open .bm-mega{
  position: static;
  transform: none;
  width: 100%;
  display:block;
  box-shadow: none;
  border: 0;
  padding: 10px 0 0;
}

/* Footer: category cards */
.bm-footer-cats{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 560px){
  .bm-footer-cats{ grid-template-columns: repeat(1, minmax(0, 1fr)); }
}
.bm-footer-cat{
  position: relative;
}
.bm-footer-cat__main{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--bm-border);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: var(--bm-text);
}
.bm-footer-cat__img{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  flex: 0 0 42px;
}
.bm-footer-cat__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.bm-footer-cat__name{
  font-weight: 700;
}
.bm-footer-cat__sub{
  margin-top: 8px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bm-footer-subitem{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 8px;
  border-radius: 999px;
  border: 1px solid var(--bm-border);
  background: #fff;
  font-size: 13px;
  color: var(--bm-muted);
  text-decoration:none;
}
.bm-footer-subitem img{ width:18px; height:18px; border-radius:6px; object-fit:cover; display:block; }
.bm-footer-subitem:hover{ color: var(--bm-accent); border-color:#cbd5e1; }

.bm-footer-cat__sub a{
  font-size: 13px;
  color: var(--bm-muted);
  text-decoration: none;
}
.bm-footer-cat__sub a:hover{
  color: var(--bm-accent);
}


/* ===== Header desktop fixes (v1.3.0) ===== */
@media (min-width: 821px){
  /* Never show hamburger toggle on desktop */
  .bm-nav-toggle{ display:none !important; }

  /* Lock header layout: logo left, icons right */
  .bm-header-main .bm-header-inner{
    display:grid !important;
    grid-template-columns: auto 1fr auto;
    align-items:center;
    justify-content:unset !important;
  }
  .bm-header-main .bm-brand{ justify-self:start; min-width:0; }
  .bm-header-main .bm-header-icons{ justify-self:end; }

  /* Keep nav row centered and separate */
  .bm-nav{ justify-content:center; }
}

/* Prevent any stray element from creating colored blocks in header row */
.bm-header-main .bm-header-inner > *{ max-width:100%; }



/* === Desktop header layout: logo left, menu center, icons right === */
.bm-desktop-nav{display:none;}
@media (min-width: 992px){
  .bm-header-inner{display:flex;align-items:center;gap:22px;}
  .bm-nav-toggle{display:none !important;}
  .bm-brand{flex:0 0 auto;}
  .bm-desktop-nav{display:block;flex:1 1 auto;min-width:0;}
  .bm-desktop-nav .bm-nav-list--desktop{display:flex;justify-content:center;align-items:center;gap:22px;margin:0;padding:0;list-style:none;}
  .bm-desktop-nav .bm-nav-list--desktop > li{position:relative;}
  .bm-desktop-nav .bm-nav-list--desktop a{display:inline-flex;align-items:center;}
  .bm-header-icons{margin-left:auto;}
  /* Hide the offcanvas nav on desktop (we use inline desktop nav instead) */
  #bmPrimaryNav{display:none !important;}
}
