/* ==========================================================================
   Bongo Mart theme  (loads after the old CSS and overrides it)
   Colours come from the logo: navy #1B3C4F, orange #F7A541, maroon #7A1414
   ========================================================================== */

:root {
    --bm-navy: #1B3C4F;
    --bm-navy-2: #234B61;
    --bm-navy-dark: #13212B;
    --bm-accent: #F7A541;
    --bm-accent-dark: #E8922A;
    --bm-maroon: #7A1414;
    --bm-ink: #16222B;
    --bm-muted: #5B6670;
    --bm-faint: #8A949C;
    --bm-line: #E7E2DA;
    --bm-bg: #F6F4F0;
    --bm-cream: #F6F1E8;
    --bm-sand: #F3E4CF;
    --bm-mist: #E5ECEF;
    --bm-radius: 14px;
    --bm-font: "Hind Siliguri", "Plus Jakarta Sans", sans-serif;
    --bm-font-latin: "Plus Jakarta Sans", "Hind Siliguri", sans-serif;
    --bm-font-display: "Anek Bangla", "Hind Siliguri", sans-serif;
}

/* ---------- base overrides of the old theme ---------- */
body {
    background: var(--bm-bg) !important;
    font-family: var(--bm-font) !important;
    color: var(--bm-ink);
    font-size: 15px;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--bm-font-display); }
header.bm-header {
    position: relative !important;
    z-index: 999;
    box-shadow: none !important;
}
#content { padding-top: 0 !important; }
.bm-ico { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.bm-container { max-width: 1500px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.bm-muted { color: var(--bm-muted); }
.bm-muted-light { color: #B9CCD6; font-size: 12px; }
.bm-stack { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.bm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bm-header a, .bm-main a, .bm-footer a, .bm-bottom-nav a { text-decoration: none; }
.bm-header li, .bm-main li, .bm-footer li { display: block; }

/* ---------- buttons ---------- */
.bm-btn-accent, .bm-btn-navy, .bm-btn-ghost, .bm-btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 24px; border-radius: 12px;
    font-family: var(--bm-font); font-size: 16px; font-weight: 700;
    cursor: pointer; transition: background .15s, color .15s, border-color .15s;
    border: 0;
}
.bm-btn-accent { background: var(--bm-accent) !important; color: var(--bm-ink) !important; }
.bm-btn-accent:hover { background: var(--bm-accent-dark) !important; }
.bm-btn-navy { background: var(--bm-navy) !important; color: #fff !important; }
.bm-btn-navy:hover { background: var(--bm-navy-dark) !important; }
.bm-btn-ghost { border: 1.5px solid rgba(255,255,255,.35) !important; color: #fff !important; background: transparent; }
.bm-btn-ghost:hover { background: rgba(255,255,255,.08); }
.bm-btn-outline {
    width: 100%; height: 42px; padding: 0 12px; font-size: 14px; border-radius: 10px;
    border: 1.5px solid var(--bm-navy) !important; background: #fff !important; color: var(--bm-navy) !important;
}
.bm-btn-outline:hover { background: var(--bm-navy) !important; color: #fff !important; }
.bm-btn-block { width: 100%; }

/* ---------- top bar ---------- */
.bm-topbar { background: var(--bm-navy); color: #E6EEF2; font-size: 13px; }
.bm-topbar .bm-container { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bm-topbar-group { display: flex; align-items: center; gap: 26px; }
.bm-topbar span, .bm-topbar a { display: inline-flex; align-items: center; gap: 7px; color: #E6EEF2 !important; }
.bm-topbar a:hover { color: #fff !important; }
.bm-topbar .bm-ico { color: var(--bm-accent); }

/* ---------- main header ---------- */
.bm-mainbar { background: #fff; border-bottom: 1px solid var(--bm-line); }
.bm-mainbar .bm-container { height: 88px; display: flex; align-items: center; gap: 36px; }
.bm-logo img { height: 46px !important; width: auto; max-width: 220px; display: block; }
.bm-search { flex: 1; position: relative; }
.bm-search form {
    display: flex; align-items: center; height: 50px; border: 2px solid var(--bm-navy);
    border-radius: 12px; overflow: hidden; background: #fff;
}
.bm-search input {
    flex: 1; height: 100%; border: 0 !important; padding: 0 16px !important;
    font-family: var(--bm-font); font-size: 15px; color: var(--bm-ink); background: transparent; min-width: 0;
}
.bm-search button {
    height: 100%; padding: 0 24px !important; background: var(--bm-accent) !important; color: var(--bm-ink);
    display: flex; align-items: center; gap: 8px; font-family: var(--bm-font); font-size: 15px; font-weight: 700;
}
.bm-search button:hover { background: var(--bm-accent-dark) !important; }
.bm-search .search_result { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 50; }
.bm-search .search_product { border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(19,33,43,.14); border-color: var(--bm-line); max-height: 420px; overflow-y: auto; }
.bm-search .search_product img { width: 50px !important; height: 50px !important; object-fit: cover; border-radius: 8px; }
.bm-search .search_product li { display: grid !important; }
.bm-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.bm-account { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; color: var(--bm-ink) !important; }
.bm-account:hover { background: var(--bm-bg); }
.bm-account .bm-ico { color: var(--bm-navy); }
.bm-account small { font-size: 12px; color: var(--bm-muted); }
.bm-account strong { font-size: 14px; }

/* cart */
.bm-cart { position: relative; }
.bm-cart-btn { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: 10px; background: var(--bm-navy); color: #fff !important; }
.bm-cart-btn:hover { background: var(--bm-navy-dark); }
.bm-cart-btn strong { font-size: 14px; color: #fff; }
.bm-cart-icon { position: relative; display: flex; }
.bm-cart-count {
    position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
    background: var(--bm-accent); color: var(--bm-ink); font-size: 11px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; font-family: var(--bm-font-latin);
}
.bm-cart-drop {
    position: absolute; right: 0; top: calc(100% + 10px); width: 340px; background: #fff; border: 1px solid var(--bm-line);
    border-radius: var(--bm-radius); box-shadow: 0 18px 40px rgba(19,33,43,.14); padding: 16px;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; z-index: 60;
}
.bm-cart:hover .bm-cart-drop, .bm-cart:focus-within .bm-cart-drop { opacity: 1; visibility: visible; transform: none; }
.bm-cart-list { max-height: 280px; overflow-y: auto; }
.bm-cart-list li { display: flex !important; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bm-line); }
.bm-cart-list img { width: 52px !important; height: 52px !important; object-fit: cover; border-radius: 8px; background: var(--bm-bg); }
.bm-cart-line { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 13px; min-width: 0; }
.bm-cart-name { font-weight: 600; color: var(--bm-ink); }
.bm-cart-x { width: 30px; height: 30px; border-radius: 50%; background: var(--bm-bg) !important; color: var(--bm-muted); display: flex; align-items: center; justify-content: center; }
.bm-cart-x:hover { background: #FBE9E9 !important; color: var(--bm-maroon); }
.bm-cart-total { display: flex; justify-content: space-between; padding: 14px 0; font-size: 15px; }
.bm-cart-empty { text-align: center !important; padding: 18px 0; color: var(--bm-muted) !important; }

/* ---------- nav row + mega menu ---------- */
.bm-navbar { background: #fff; border-bottom: 1px solid var(--bm-line); }
.bm-navbar .bm-container { height: 52px; display: flex; align-items: center; gap: 30px; }
.bm-navbar a { color: var(--bm-ink) !important; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.bm-navbar a:hover { color: var(--bm-navy) !important; }
.bm-navbar .bm-hot { color: var(--bm-maroon) !important; }
.bm-navbar .bm-nav-note { margin-left: auto; color: var(--bm-muted); font-size: 14px; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.bm-allcat { position: relative; height: 100%; display: flex; align-items: center; }
.bm-allcat > button {
    height: 38px; padding: 0 16px !important; border-radius: 10px; background: var(--bm-bg) !important;
    display: flex; align-items: center; gap: 8px; font-family: var(--bm-font); font-size: 15px; font-weight: 700; color: var(--bm-ink); white-space: nowrap;
}
.bm-allcat-panel {
    position: absolute; top: 100%; left: 0; width: 280px; background: #fff; border: 1px solid var(--bm-line);
    border-radius: 0 0 var(--bm-radius) var(--bm-radius); box-shadow: 0 18px 40px rgba(19,33,43,.12); padding: 8px 0;
    opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 70;
}
.bm-allcat:hover .bm-allcat-panel, .bm-allcat:focus-within .bm-allcat-panel { opacity: 1; visibility: visible; }

/* category list (used by sidebar and dropdown) */
.bm-catlist > li { position: relative; }
.bm-catlist > li > a {
    display: flex !important; align-items: center; gap: 12px; height: 44px; padding: 0 18px;
    font-size: 14.5px; font-weight: 500 !important; color: var(--bm-ink) !important;
}
.bm-catlist > li > a:hover { background: var(--bm-bg); color: var(--bm-navy) !important; }
.bm-catlist .bm-cat-thumb { width: 30px; height: 30px; border-radius: 8px; background: var(--bm-cream); overflow: hidden; flex-shrink: 0; }
.bm-catlist .bm-cat-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bm-catlist .bm-cat-name { flex: 1; }
.bm-catlist .bm-ico { color: #A3ABB2; }
.bm-subpanel {
    position: absolute; left: 100%; top: 0; min-width: 230px; background: #fff; border: 1px solid var(--bm-line);
    border-radius: var(--bm-radius); box-shadow: 0 18px 40px rgba(19,33,43,.12); padding: 8px 0;
    opacity: 0; visibility: hidden; z-index: 80;
}
.bm-catlist > li:hover > .bm-subpanel { opacity: 1; visibility: visible; }
.bm-subpanel a { display: block; padding: 9px 18px; font-size: 14px; color: var(--bm-ink) !important; }
.bm-subpanel a:hover { background: var(--bm-bg); }

/* ---------- mobile header ---------- */
.bm-mobilebar { display: none; background: #fff; border-bottom: 1px solid var(--bm-line); padding: 10px 16px 12px; }
.bm-mobilebar-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.bm-mobilebar-top img { height: 34px !important; width: auto; }
.bm-iconbtn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: transparent !important; color: var(--bm-ink) !important; position: relative; cursor: pointer; }
.bm-iconbtn .mobilecart-qty {
    position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--bm-accent);
    color: var(--bm-ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.bm-mobilebar .bm-search { margin-top: 10px; }
.bm-mobilebar .bm-search form { height: 46px; border-width: 1.5px; }
.bm-mobilebar .bm-search button { padding: 0 16px !important; }

/* ---------- page sections ---------- */
.bm-main { padding-bottom: 8px; }
.bm-section { margin-top: 52px; }
.bm-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.bm-section-head h2 { font-size: 30px; font-weight: 800; margin: 0; color: var(--bm-ink); display: flex; align-items: center; gap: 14px; }
.bm-section-head a.bm-more { font-size: 15px; font-weight: 700; color: var(--bm-navy) !important; display: inline-flex; align-items: center; gap: 6px; }
.bm-pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; font-family: var(--bm-font); }
.bm-pill-maroon { background: var(--bm-maroon); color: #fff; }
.bm-pill-soft { background: rgba(247,165,65,.16); color: var(--bm-accent); }

/* hero zone */
.bm-hero-zone { display: grid; grid-template-columns: 264px minmax(0, 1fr) 280px; gap: 20px; padding-top: 24px; }
.bm-sidecats { position: relative; z-index: 5; background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 8px 0; height: 460px; overflow: visible; }
.bm-sidecats .bm-catlist { max-height: 444px; }
.bm-hero {
    position: relative; overflow: hidden; border-radius: 16px; background: var(--bm-navy); height: 460px;
    display: flex; align-items: stretch;
}
/* slideshow: every slide fills the hero box and fades in */
.bm-slide { position: absolute; inset: 0; display: flex; align-items: stretch; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s ease; }
.bm-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.bm-slide-text { background: var(--bm-navy); overflow: hidden; }
.bm-slide-text::before { content: ""; position: absolute; right: -60px; top: -60px; width: 520px; height: 520px; border-radius: 50%; background: var(--bm-navy-2); }
.bm-slide.is-active .bm-hero-copy { animation: bmRise .6s ease both; }
@keyframes bmRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bm-slide-image { background: var(--bm-navy); }
.bm-slide-image img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.bm-hero-title { margin: 0; font-size: 46px; line-height: 1.08; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.bm-hero-shot.bm-shot-lg { right: 44px; top: 50%; transform: translateY(-50%); width: 300px; height: 300px; }
.bm-slider-ui { position: absolute; left: 52px; right: 28px; bottom: 24px; z-index: 5; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.bm-dots, .bm-arrows { display: flex; gap: 8px; pointer-events: auto; }
.bm-dot { width: 8px; height: 8px; padding: 0 !important; border-radius: 4px; background: rgba(255,255,255,.4) !important; cursor: pointer; transition: width .25s, background .25s; }
.bm-dot.is-active { width: 28px; background: var(--bm-accent) !important; }
.bm-arrow { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.14) !important; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); }
.bm-arrow:hover { background: rgba(255,255,255,.28) !important; }
.bm-arrow[data-step="-1"] .bm-ico { transform: rotate(180deg); }
.bm-slide-image ~ .bm-slider-ui .bm-dot, .bm-slider-ui .bm-dot { box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.bm-hero-copy { position: relative; z-index: 2; width: 470px; max-width: 54%; padding: 52px 0 0 52px; display: flex; flex-direction: column; gap: 18px; }
.bm-hero-copy .bm-pill { align-self: flex-start; }
.bm-hero h1 { margin: 0; font-size: 46px; line-height: 1.08; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.bm-hero p { margin: 0; font-size: 17px; line-height: 1.6; color: #C9D8E0 !important; max-width: 380px; }
.bm-hero-cta { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.bm-hero-shot { position: absolute; z-index: 1; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 20px 40px rgba(6,20,30,.35); }
.bm-hero-shot img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.bm-hero-shot.one { right: 40px; top: 44px; width: 240px; height: 240px; }
.bm-hero-shot.two { display: none; }
.bm-hero-tag {
    position: absolute; z-index: 3; right: 40px; top: 304px; width: 240px; box-sizing: border-box; background: #fff; border-radius: 14px; padding: 12px 16px;
    box-shadow: 0 12px 28px rgba(6,20,30,.3); display: flex; flex-direction: column; gap: 2px; max-width: 220px;
}
.bm-hero-tag small { font-size: 12px; color: var(--bm-muted); }
.bm-hero-tag strong { font-size: 22px; font-weight: 800; font-family: var(--bm-font-latin); color: var(--bm-ink); }
.bm-hero-tag del { font-size: 13px; color: var(--bm-faint); margin-left: 6px; font-family: var(--bm-font-latin); }

.bm-promos { display: flex; flex-direction: column; gap: 20px; height: 460px; }
.bm-promo {
    flex: 1; position: relative; overflow: hidden; border-radius: 16px; padding: 22px;
    display: flex; flex-direction: column; color: var(--bm-ink) !important;
}
.bm-promo.sand { background: var(--bm-sand); }
.bm-promo.mist { background: var(--bm-mist); }
.bm-promo small { font-size: 13px; font-weight: 600; color: #7A4A0E; }
.bm-promo.mist small { color: var(--bm-navy); }
.bm-promo strong { font-family: var(--bm-font-display); font-size: 24px; font-weight: 800; line-height: 1.15; margin-top: 6px; max-width: 150px; }
.bm-promo .bm-go { margin-top: auto; font-size: 14px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; position: relative; z-index: 2; }
.bm-promo img { position: absolute; right: -16px; bottom: -12px; width: 150px !important; height: 150px !important; object-fit: cover; border-radius: 16px; transform: rotate(-6deg); }
.bm-promo.mist img { transform: rotate(6deg); }

/* trust strip */
.bm-trust { margin-top: 24px; background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bm-trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-right: 1px solid #EFEAE2; }
.bm-trust-item:last-child { border-right: 0; }
.bm-trust-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bm-cream); color: var(--bm-maroon); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bm-trust-item strong { font-size: 15px; display: block; }
.bm-trust-item span { font-size: 13px; color: var(--bm-muted); }

/* category circles */
.bm-catgrid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 16px; }
.bm-catgrid a { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--bm-ink) !important; text-align: center; }
.bm-catgrid .bm-circle { width: 96px; height: 96px; border-radius: 50%; background: #fff; border: 1px solid var(--bm-line); overflow: hidden; transition: border-color .15s, transform .15s; }
.bm-catgrid .bm-circle img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bm-catgrid a:hover .bm-circle { border-color: var(--bm-navy); transform: translateY(-2px); }
.bm-catgrid span.bm-catname { font-size: 14px; font-weight: 600; line-height: 1.35; }

/* product grid + card */
.bm-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.bm-card { background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; }
.bm-card:hover { box-shadow: 0 14px 30px rgba(19,33,43,.10); transform: translateY(-2px); }
.bm-card-img { position: relative; display: block; aspect-ratio: 1 / 1; background: #F3F1EC; overflow: hidden; }
.bm-card-promo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    min-height: 30px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    font-family: var(--bm-font-latin);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .15px;
    text-transform: uppercase;
    box-shadow: 0 -3px 10px rgba(19,33,43,.10);
}
.bm-card-promo-free { background: #FF1744; }
.bm-card-promo-hot { background: #FFCE12; color: #26343D; }
.bm-card-promo-icon { font-size: 13px; line-height: 1; }
@media (max-width: 767px) {
    .bm-card-promo { min-height: 27px; padding: 5px 7px; font-size: 10px; }
    .bm-card-promo-icon { font-size: 11px; }
}

.bm-card-img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.bm-badge { position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 6px; background: #DF0000; color: #fff; font-size: 12px; font-weight: 800; font-family: var(--bm-font-latin); }
.bm-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bm-card-name {
    font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--bm-ink) !important; height: 42px; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.bm-card-name:hover { color: var(--bm-navy) !important; }
.bm-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.bm-price-new { font-size: 20px; font-weight: 800; color: #FF1744; font-family: var(--bm-font-latin); }
.bm-price-old { font-size: 13px; color: var(--bm-faint); font-family: var(--bm-font-latin); }
.bm-card-form { margin: 0; }

/* category feature banners */
.bm-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bm-banner { position: relative; overflow: hidden; height: 240px; border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 10px; }
.bm-banner.maroon { background: var(--bm-maroon); color: #fff !important; }
.bm-banner.sand { background: var(--bm-sand); color: var(--bm-ink) !important; }
.bm-banner small { font-size: 14px; font-weight: 600; }
.bm-banner.maroon small { color: #F4C9A0; }
.bm-banner.sand small { color: #7A4A0E; }
.bm-banner strong { font-family: var(--bm-font-display); font-size: 34px; font-weight: 800; line-height: 1.1; max-width: 55%; }
.bm-banner .bm-banner-btn { margin-top: auto; align-self: flex-start; height: 44px; padding: 0 20px; border-radius: 10px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; position: relative; z-index: 2; }
.bm-banner.maroon .bm-banner-btn { background: #fff; color: var(--bm-maroon); }
.bm-banner.sand .bm-banner-btn { background: var(--bm-navy); color: #fff; }
.bm-banner img { position: absolute; right: 28px; top: 24px; width: 192px !important; height: 192px !important; object-fit: cover; border-radius: 16px; background: #fff; }

/* help band */
.bm-help { margin-top: 56px; background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; padding: 28px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bm-help strong { font-family: var(--bm-font-display); font-size: 24px; font-weight: 800; display: block; }
.bm-help span { color: var(--bm-muted); font-size: 15px; }
.bm-help-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bm-btn-wa { background: #E7F4EC !important; color: #14532D !important; }
.bm-btn-ms { background: #E8EEFB !important; color: #1E3A8A !important; }

/* ---------- footer ---------- */
.bm-footer { margin-top: 64px; background: var(--bm-navy-dark); color: #C3CDD3; }
.bm-footer p, .bm-footer span { color: #C3CDD3 !important; }
.bm-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 44px; border-bottom: 1px solid #2A3A45; }
.bm-footer h4 { font-family: var(--bm-font); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.bm-footer ul li { margin-bottom: 11px; }
.bm-footer a { color: #C3CDD3 !important; font-size: 14px; }
.bm-footer a:hover { color: #fff !important; }
.bm-footer-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 16px; }
.bm-footer-logo img { height: 34px !important; width: auto; display: block; }
.bm-footer-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
.bm-social { display: flex; gap: 10px; margin-top: 14px; }
.bm-social a { width: 38px; height: 38px; border-radius: 50%; background: #22343F; display: flex; align-items: center; justify-content: center; color: #fff !important; }
.bm-social a:hover { background: var(--bm-navy-2); }
.bm-footer-bottom { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; padding: 12px 0; }
.bm-pay { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bm-pay b { padding: 5px 10px; border-radius: 6px; background: #fff; font-family: var(--bm-font-latin); font-weight: 800; font-size: 13px; }

/* ---------- mobile bottom nav ---------- */
.bm-bottom-nav {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; height: 64px; background: #fff;
    border-top: 1px solid var(--bm-line); grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
}
.bm-bottom-nav a, .bm-bottom-nav button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-size: 11px; font-weight: 600; color: var(--bm-muted) !important; background: transparent !important; font-family: var(--bm-font);
}
.bm-bottom-nav .active { color: var(--bm-navy) !important; }
.bm-bottom-nav .bm-fab {
    width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; background: var(--bm-accent); color: var(--bm-ink);
    display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(27,60,79,.25); position: relative;
}
.bm-bottom-nav .bm-fab .mobilecart-qty {
    position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--bm-maroon);
    color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* hide the old theme's leftovers if any page still prints them */
.footer_nav { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1439px) {
    .bm-navbar .bm-nav-note { display: none; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
    .bm-grid, .bm-home .bm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1279px) {
    .bm-hero-zone { grid-template-columns: 250px minmax(0, 1fr); }
    .bm-promos { display: none; }
    .bm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bm-catgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .bm-topbar, .bm-mainbar, .bm-navbar { display: none; }
    .bm-mobilebar { display: block; }
    header.bm-header { position: sticky !important; top: 0; }
    .mobile-menu { display: block !important; }
    .bm-hero-zone { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
    .bm-sidecats { display: none; }
    .bm-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bm-trust-item:nth-child(2) { border-right: 0; }
    .bm-trust-item:nth-child(-n+2) { border-bottom: 1px solid #EFEAE2; }
    .bm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bm-bottom-nav { display: grid; }
    body { padding-bottom: 64px; }
    .scrolltop { bottom: 80px !important; }
}
@media (max-width: 767px) {
    .bm-container { padding: 0 16px; }
    .bm-section { margin-top: 32px; }
    .bm-section-head { margin-bottom: 14px; }
    .bm-section-head h2 { font-size: 20px; gap: 10px; }
    .bm-section-head a.bm-more { font-size: 14px; }
    .bm-pill { font-size: 11px; padding: 3px 8px; }
    .bm-hero { height: 200px; }
    .bm-hero::before { width: 230px; height: 230px; right: -40px; top: -30px; }
    .bm-hero-copy { padding: 20px; gap: 8px; max-width: 62%; }
    .bm-hero-copy p, .bm-hero-cta .bm-btn-ghost, .bm-hero-tag, .bm-hero-shot.two { display: none; }
    .bm-hero h1 { font-size: 24px; }
    .bm-hero-cta { margin-top: auto; }
    .bm-hero-cta .bm-btn-accent { height: 40px; padding: 0 16px; font-size: 14px; }
    .bm-hero-shot.one { width: 130px; height: 130px; right: 16px; top: 34px; border-radius: 16px; }
    .bm-trust-item { padding: 14px; gap: 10px; }
    .bm-trust-ico { width: 38px; height: 38px; }
    .bm-trust-item strong { font-size: 13px; }
    .bm-trust-item span { font-size: 11.5px; }
    .bm-catgrid { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 6px; scrollbar-width: none; }
    .bm-catgrid::-webkit-scrollbar { display: none; }
    .bm-catgrid a { width: 72px; flex-shrink: 0; gap: 8px; }
    .bm-catgrid .bm-circle { width: 64px; height: 64px; }
    .bm-catgrid span.bm-catname { font-size: 12px; }
    .bm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .bm-card-body { padding: 10px 12px 12px; gap: 6px; }
    .bm-card-name { font-size: 13px; height: 36px; }
    .bm-price-new { font-size: 17px; }
    .bm-badge { top: 8px; left: 8px; font-size: 11px; padding: 3px 7px; }
    .bm-btn-outline { height: 38px; font-size: 13px; background: var(--bm-navy) !important; color: #fff !important; }
    .bm-banners { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .bm-banner { height: 170px; padding: 22px; }
    .bm-banner strong { font-size: 22px; }
    .bm-banner img { width: 120px !important; height: 120px !important; right: 18px; top: 24px; }
    .bm-help { padding: 22px; margin-top: 32px; }
    .bm-help strong { font-size: 20px; }
    .bm-help-actions a { flex: 1; height: 44px; padding: 0 12px; font-size: 14px; }
    .bm-footer { margin-top: 40px; }
    .bm-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0 28px; }
    .bm-footer-bottom { justify-content: center; text-align: center; }
}

/* ==========================================================================
   Checkout
   ========================================================================== */
.bm-checkout { padding-top: 28px; }
.bm-panel { background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; }
.bm-crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--bm-muted); }
.bm-crumb a { color: var(--bm-muted) !important; }
.bm-crumb a:hover { color: var(--bm-navy) !important; }
.bm-crumb span { color: var(--bm-ink); font-weight: 600; }
.bm-co-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 10px 0 24px; flex-wrap: wrap; }
.bm-co-titlebar h1 { font-size: 34px; font-weight: 800; margin: 0; }
.bm-steps { display: flex; align-items: center; gap: 0; }
.bm-steps li { display: flex !important; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--bm-faint); }
.bm-steps li + li::before { content: ""; width: 40px; height: 2px; background: var(--bm-line); margin: 0 12px; }
.bm-steps li span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--bm-line); display: flex; align-items: center; justify-content: center; font-size: 12px; background: #fff; }
.bm-steps li.is-done { color: var(--bm-navy); }
.bm-steps li.is-done span { background: var(--bm-navy); border-color: var(--bm-navy); color: #fff; }
.bm-steps li.is-active { color: var(--bm-ink); }
.bm-steps li.is-active span { border-color: var(--bm-accent); background: var(--bm-accent); color: var(--bm-ink); }
.bm-steps li.is-done + li::before, .bm-steps li.is-active::before { background: var(--bm-navy); }

.bm-co-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.bm-co-invoice { position: sticky; top: 20px; }

/* invoice */
.bm-invoice { padding: 0; overflow: hidden; transition: opacity .15s; }
.bm-invoice.is-loading { opacity: .55; pointer-events: none; }
.bm-inv-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; background: var(--bm-navy); color: #fff; }
.bm-inv-title { display: flex; align-items: center; gap: 14px; }
.bm-inv-title h2 { font-size: 22px; font-weight: 800; margin: 0; color: #fff; }
.bm-inv-title .bm-muted { color: #B9CCD6; font-size: 13px; }
.bm-inv-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(247,165,65,.18); color: var(--bm-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bm-inv-meta { text-align: right; display: flex; flex-direction: column; font-size: 12px; color: #B9CCD6; }
.bm-inv-meta strong { font-size: 14px; color: #fff; font-family: var(--bm-font-latin); }
.bm-inv-items { padding: 6px 26px; }
.bm-inv-item { display: flex !important; gap: 16px; padding: 18px 0; border-bottom: 1px dashed #DDD6CA; align-items: flex-start; }
.bm-inv-item:last-child { border-bottom: 0; }
.bm-inv-thumb { width: 76px; height: 76px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: #F3F1EC; border: 1px solid var(--bm-line); }
.bm-inv-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bm-inv-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bm-inv-name { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--bm-ink) !important; }
.bm-inv-name:hover { color: var(--bm-navy) !important; }
.bm-inv-variant { display: flex; gap: 8px; flex-wrap: wrap; }
.bm-inv-variant span { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--bm-bg); color: var(--bm-muted); }
.bm-inv-row { display: flex; align-items: center; gap: 14px; margin-top: 2px; flex-wrap: wrap; }
.bm-inv-unit { font-size: 13px; color: var(--bm-muted); font-family: var(--bm-font-latin), var(--bm-font); }
.bm-qty { display: inline-flex; align-items: center; height: 34px; border: 1px solid var(--bm-line); border-radius: 10px; overflow: hidden; background: #fff; }
.bm-qty button { width: 34px; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bm-bg) !important; color: var(--bm-ink); cursor: pointer; }
.bm-qty button:hover:not([disabled]) { background: var(--bm-line) !important; }
.bm-qty button[disabled] { opacity: .35; cursor: not-allowed; }
.bm-qty span { min-width: 36px; text-align: center; font-weight: 700; font-family: var(--bm-font-latin); font-size: 14px; }
.bm-inv-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 18px; align-self: stretch; }
.bm-inv-end strong { font-size: 17px; font-weight: 800; font-family: var(--bm-font-latin); white-space: nowrap; }
.bm-item-del { width: 34px; height: 34px; border-radius: 10px; background: transparent !important; color: var(--bm-faint); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bm-item-del:hover { background: #FBE9E9 !important; color: var(--bm-maroon); }
.bm-inv-totals { margin: 0 26px 24px; padding: 18px 20px; background: var(--bm-bg); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.bm-inv-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.bm-inv-totals > div span:last-child { font-weight: 600; text-align: right; }
.bm-inv-totals .is-discount { color: #14532D; }
.bm-inv-grand { border-top: 1px dashed #CFC7B9; padding-top: 14px; margin-top: 4px; align-items: baseline; }
.bm-inv-grand span { font-size: 16px; font-weight: 700; }
.bm-inv-grand strong { font-size: 26px; font-weight: 800; font-family: var(--bm-font-latin); color: var(--bm-navy); }
.bm-inv-empty { padding: 40px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.bm-co-trust { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding: 0 6px; }
.bm-co-trust li { display: flex !important; align-items: center; gap: 10px; font-size: 14px; color: var(--bm-muted); }
.bm-co-trust .bm-ico { color: var(--bm-maroon); }

/* form */
.bm-co-form form { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.bm-form-head h2 { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.bm-form-head p { font-size: 14px; color: var(--bm-muted) !important; }
.bm-alert { background: #FBE9E9; color: var(--bm-maroon); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.bm-field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.bm-field label, .bm-field legend { font-size: 14px; font-weight: 700; color: var(--bm-ink); margin: 0; padding: 0; float: none; width: auto; line-height: 1.4; }
.bm-field legend { margin-bottom: 8px; }
.bm-field em { color: var(--bm-maroon); font-style: normal; }
.bm-input { display: flex; align-items: center; gap: 10px; border: 1.5px solid #DAD3C7; border-radius: 12px; padding: 0 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.bm-input .bm-ico { color: var(--bm-faint); }
.bm-input:focus-within { border-color: var(--bm-navy); box-shadow: 0 0 0 3px rgba(27,60,79,.12); }
.bm-input:focus-within .bm-ico { color: var(--bm-navy); }
.bm-input input, .bm-input textarea {
    flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent; height: 48px; padding: 0 !important;
    font-family: var(--bm-font); font-size: 15px; color: var(--bm-ink);
}
.bm-input-area { align-items: flex-start; }
.bm-input-area .bm-ico { margin-top: 14px; }
.bm-input textarea { height: auto; min-height: 48px; padding: 12px 0 !important; resize: vertical; line-height: 1.5; }
.bm-input:has(.is-invalid) { border-color: var(--bm-maroon); }
.bm-err { font-size: 13px; color: var(--bm-maroon); font-weight: 600; }
.bm-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bm-choice-list { display: flex; flex-direction: column; gap: 10px; }
.bm-choice { position: relative; display: block; margin: 0; cursor: pointer; }
.bm-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bm-choice-box { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; border: 1.5px solid #DAD3C7; border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; }
.bm-choice:hover .bm-choice-box { border-color: #B8AE9E; }
.bm-choice input:checked + .bm-choice-box { border-color: var(--bm-navy); background: #F2F6F8; box-shadow: 0 0 0 1px var(--bm-navy) inset; }
.bm-choice input:focus-visible + .bm-choice-box { box-shadow: 0 0 0 3px rgba(27,60,79,.25); }
.bm-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B8AE9E; flex-shrink: 0; position: relative; background: #fff; }
.bm-choice input:checked + .bm-choice-box .bm-radio { border-color: var(--bm-navy); }
.bm-choice input:checked + .bm-choice-box .bm-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--bm-navy); }
.bm-choice-text { flex: 1; display: flex; flex-direction: column; font-size: 14px; font-weight: 600; line-height: 1.35; }
.bm-choice-text b { font-size: 15px; }
.bm-choice-text small { font-size: 12.5px; color: var(--bm-muted); font-weight: 500; }
.bm-choice-box > strong { font-family: var(--bm-font-latin); font-size: 15px; font-weight: 800; color: var(--bm-navy); }
.bm-pay-logo { height: 30px; min-width: 46px; padding: 0 8px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--bm-font-latin); font-weight: 800; font-size: 13px; }
.bm-pay-cod { background: #E7F4EC; color: #14532D; }
.bm-pay-bkash { background: #FCE7F1; color: #C2185B; }
.bm-pay-sp { background: #E5ECEF; color: var(--bm-navy); }
.bm-co-submit { height: 56px; font-size: 17px; margin-top: 4px; }
.bm-co-submit-total { font-family: var(--bm-font-latin); font-weight: 800; }
.bm-co-submit.is-busy { opacity: .7; cursor: wait; }
.bm-co-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--bm-muted) !important; text-align: center !important; margin-top: -6px; }
.bm-co-call { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--bm-bg); color: var(--bm-ink) !important; font-size: 14px; }
.bm-co-call .bm-ico { color: var(--bm-navy); }
.bm-co-call strong { font-family: var(--bm-font-latin); color: var(--bm-navy); }
.bm-co-empty { max-width: 520px; margin: 20px auto 0; padding: 48px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bm-co-empty .bm-inv-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--bm-cream); color: var(--bm-navy); }
.bm-co-empty h2 { font-size: 24px; font-weight: 800; margin: 6px 0 0; }
.bm-co-empty p { color: var(--bm-muted) !important; text-align: center !important; margin-bottom: 8px; }

@media (max-width: 991px) {
    .bm-co-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .bm-co-invoice { position: static; }
    .bm-steps { display: none; }
}
@media (max-width: 767px) {
    .bm-checkout { padding-top: 16px; }
    .bm-co-titlebar { margin: 6px 0 16px; }
    .bm-co-titlebar h1 { font-size: 24px; }
    .bm-inv-head { padding: 16px 18px; }
    .bm-inv-title h2 { font-size: 18px; }
    .bm-inv-ico { width: 38px; height: 38px; }
    .bm-inv-items { padding: 4px 18px; }
    .bm-inv-item { gap: 12px; padding: 14px 0; }
    .bm-inv-thumb { width: 64px; height: 64px; }
    .bm-inv-name { font-size: 14px; }
    .bm-inv-end strong { font-size: 15px; }
    .bm-inv-totals { margin: 0 18px 18px; padding: 14px 16px; }
    .bm-inv-grand strong { font-size: 22px; }
    .bm-co-form form { padding: 20px 18px; gap: 16px; }
    .bm-choice-grid { grid-template-columns: minmax(0, 1fr); }
}
.bm-inv-unit, .bm-inv-totals > div > span, .bm-inv-grand strong { white-space: nowrap; }
.bm-inv-totals > div > span:first-child { flex: 1; }
@media (max-width: 767px) { .bm-inv-unit { display: none; } }

/* ---------- language switcher ---------- */
.bm-lang { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255,255,255,.08); }
.bm-lang .bm-ico { color: var(--bm-accent); margin: 0 4px 0 6px; }
.bm-topbar .bm-lang a { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: #C9D8E0 !important; }
.bm-topbar .bm-lang a:hover { color: #fff !important; }
.bm-topbar .bm-lang a.is-active { background: var(--bm-accent); color: var(--bm-ink) !important; }
.bm-mobile-actions { display: flex; align-items: center; gap: 4px; }
.bm-lang-pill {
    display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 999px;
    border: 1px solid var(--bm-line); background: var(--bm-bg); color: var(--bm-navy) !important; font-size: 12.5px; font-weight: 700;
}
.bm-lang-pill .bm-ico { color: var(--bm-navy); }
html[lang="en"] body { font-family: var(--bm-font-latin) !important; }
html[lang="en"] .bm-section-head h2, html[lang="en"] .bm-hero h1, html[lang="en"] .bm-promo strong,
html[lang="en"] .bm-banner strong, html[lang="en"] .bm-help strong { letter-spacing: -.3px; }

/* promo / banner text always above the product photo */
.bm-promo strong, .bm-promo small, .bm-banner strong, .bm-banner small { position: relative; z-index: 2; }
html[lang="en"] .bm-promo strong { font-size: 21px; max-width: 130px; }
html[lang="en"] .bm-promo img { width: 128px !important; height: 128px !important; }
html[lang="en"] .bm-hero h1 { font-size: 42px; }
@media (max-width: 767px) { html[lang="en"] .bm-hero h1 { font-size: 22px; } }

/* ==========================================================================
   Login / OTP
   ========================================================================== */
.bm-auth { padding: 48px 0 16px; }
.bm-auth-wrap { max-width: 460px; margin: 0 auto; }
.bm-auth-card { padding: 34px 32px 26px; display: flex; flex-direction: column; gap: 14px; }
.bm-auth-badge { width: 56px; height: 56px; border-radius: 16px; background: #E7F4EC; color: #128C4A; display: flex; align-items: center; justify-content: center; }
.bm-auth-badge.is-sms { background: var(--bm-mist); color: var(--bm-navy); }
.bm-auth-card h1 { font-size: 26px; font-weight: 800; margin: 4px 0 0; }
.bm-auth-card > p { font-size: 15px; line-height: 1.6; color: var(--bm-muted) !important; }
.bm-auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.bm-input-phone { padding-left: 0; overflow: hidden; }
.bm-cc { align-self: stretch; display: flex; align-items: center; padding: 0 12px; background: var(--bm-bg); border-right: 1px solid #DAD3C7; font-weight: 700; font-family: var(--bm-font-latin); color: var(--bm-muted); }
.bm-input-phone input { font-family: var(--bm-font-latin); font-size: 17px !important; letter-spacing: .5px; }
.bm-auth-submit { height: 52px; }
.bm-auth-submit.is-busy, .bm-btn-navy.is-busy { opacity: .7; cursor: wait; }
.bm-auth-points { display: flex; flex-direction: column; gap: 10px; padding: 16px 0 4px; border-top: 1px solid var(--bm-line); margin-top: 6px; }
.bm-auth-points li { display: flex !important; gap: 10px; align-items: center; font-size: 14px; color: var(--bm-muted); }
.bm-auth-points .bm-ico { color: var(--bm-navy); }
.bm-auth-alt { border-top: 1px solid var(--bm-line); padding-top: 14px; }
.bm-auth-alt summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--bm-navy); list-style: none; }
.bm-auth-alt summary::-webkit-details-marker { display: none; }
.bm-auth-alt summary::after { content: " ▾"; }
.bm-auth-alt[open] summary::after { content: " ▴"; }
.bm-auth-link { font-size: 14px; text-align: center; color: var(--bm-navy) !important; }
.bm-otp-input {
    width: 100%; height: 64px; border: 1.5px solid #DAD3C7 !important; border-radius: 14px; text-align: center;
    font-family: var(--bm-font-latin); font-size: 30px; font-weight: 800; letter-spacing: 14px; padding-left: 14px !important; color: var(--bm-ink); background: #fff;
}
.bm-otp-input:focus { border-color: var(--bm-navy) !important; box-shadow: 0 0 0 3px rgba(27,60,79,.12) !important; }
.bm-otp-input.is-invalid { border-color: var(--bm-maroon) !important; }
.bm-otp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding-top: 12px; border-top: 1px solid var(--bm-line); }
.bm-otp-actions form { margin: 0; }
.bm-linkbtn { background: transparent !important; color: var(--bm-navy); font-size: 14px; font-weight: 600; font-family: var(--bm-font); cursor: pointer; padding: 6px 0 !important; }
.bm-linkbtn:hover:not([disabled]) { text-decoration: underline; }
.bm-linkbtn[disabled] { color: var(--bm-faint); cursor: default; }
.bm-devnote { background: #FFF6E6; border: 1px dashed var(--bm-accent); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.bm-devnote strong { font-family: var(--bm-font-latin); letter-spacing: 2px; }
@media (max-width: 767px) {
    .bm-auth { padding: 20px 0 8px; }
    .bm-auth-card { padding: 26px 20px 20px; }
    .bm-auth-card h1 { font-size: 22px; }
}

/* ==========================================================================
   Side cart (Chaldal style)
   ========================================================================== */
.bm-cart-drop { display: none !important; }            /* the drawer replaces the hover box */
.bm-cart-btn { cursor: pointer; }

/* floating cart on the right edge */
.bm-float-cart {
    position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 990;
    width: 86px; border-radius: 12px 0 0 12px; overflow: hidden; background: var(--bm-navy) !important;
    color: #fff; display: flex; flex-direction: column; box-shadow: -6px 10px 28px rgba(19,33,43,.25); cursor: pointer; padding: 0 !important;
}
.bm-float-top { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.2; text-align: center; }
.bm-float-top .bm-ico { color: var(--bm-accent); }
.bm-float-top b { font-family: var(--bm-font-latin); font-size: 15px; }
.bm-float-total { display: block; background: var(--bm-accent); color: var(--bm-ink); font-family: var(--bm-font-latin); font-weight: 800; font-size: 14px; padding: 8px 4px; text-align: center; }
.bm-float-cart:hover { background: var(--bm-navy-dark) !important; }
.is-bump { animation: bmBump .45s ease; }
@keyframes bmBump { 0% { transform: translateY(-50%) scale(1); } 40% { transform: translateY(-50%) scale(1.12); } 100% { transform: translateY(-50%) scale(1); } }
.bm-fab.is-bump { animation: bmBumpFab .45s ease; }
@keyframes bmBumpFab { 40% { transform: scale(1.18); } }

/* drawer */
.bm-mc-overlay { position: fixed; inset: 0; background: rgba(19,33,43,.45); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity .2s; }
.bm-mc {
    position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100%; z-index: 1001; background: #fff;
    display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -12px 0 40px rgba(19,33,43,.18);
}
body.bm-mc-open { overflow: hidden; }
body.bm-mc-open .bm-mc { transform: none; }
body.bm-mc-open .bm-mc-overlay { opacity: 1; visibility: visible; }
.bm-mc-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: var(--bm-navy); color: #fff; }
.bm-mc-head h2 { font-size: 20px; font-weight: 800; margin: 0; color: #fff; }
.bm-mc-head .bm-muted { color: #B9CCD6; font-size: 13px; }
.bm-mc-close { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1) !important; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bm-mc-close:hover { background: rgba(255,255,255,.2) !important; }
.bm-mc-body { flex: 1; overflow-y: auto; padding: 6px 20px; }
.bm-mc-item { display: flex !important; gap: 12px; padding: 14px 0; border-bottom: 1px dashed #DDD6CA; align-items: center; transition: opacity .15s; }
.bm-mc-item:last-child { border-bottom: 0; }
.bm-mc-item.is-busy { opacity: .5; pointer-events: none; }
.bm-mc-thumb { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: #F3F1EC; flex-shrink: 0; border: 1px solid var(--bm-line); }
.bm-mc-thumb img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bm-mc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bm-mc-name { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--bm-ink) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bm-mc-variant { font-size: 12px; color: var(--bm-muted); }
.bm-mc-unit { font-size: 12.5px; color: var(--bm-muted); font-family: var(--bm-font-latin); }
.bm-mc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.bm-mc-side strong { font-family: var(--bm-font-latin); font-size: 15px; font-weight: 800; white-space: nowrap; }
.bm-qty-sm { height: 30px; }
.bm-qty-sm button { width: 30px; }
.bm-qty-sm span { min-width: 28px; font-size: 13px; }
.bm-mc-empty { height: 100%; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.bm-mc-empty .bm-inv-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--bm-cream); color: var(--bm-navy); }
.bm-mc-empty strong { font-size: 18px; }
.bm-mc-empty p { color: var(--bm-muted) !important; text-align: center !important; }
.bm-mc-foot { border-top: 1px solid var(--bm-line); padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; background: #fff; }
.bm-mc-foot[hidden] { display: none; }
.bm-mc-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 700; }
.bm-mc-sum strong { font-family: var(--bm-font-latin); font-size: 22px; font-weight: 800; color: var(--bm-navy); }
.bm-mc-note { font-size: 12.5px; color: var(--bm-muted) !important; margin-top: -6px !important; }
.bm-mc-checkout { height: 54px; justify-content: space-between !important; padding: 0 20px !important; }
.bm-mc-checkout-total { font-family: var(--bm-font-latin); font-weight: 800; background: rgba(22,34,43,.1); padding: 4px 10px; border-radius: 8px; }
.bm-mc-login-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--bm-muted) !important; text-align: center !important; }

/* in-card add / stepper */
.bm-card-cta { position: relative; }
.bm-card-cta .bm-card-qty { display: none; }
.bm-card-cta.in-cart .bm-add { display: none; }
.bm-card-cta.in-cart .bm-card-qty {
    display: flex; align-items: center; justify-content: space-between; height: 42px; border-radius: 10px; background: var(--bm-navy); color: #fff; overflow: hidden;
}
.bm-card-qty span { font-size: 13.5px; font-weight: 600; }
.bm-card-qty b { font-family: var(--bm-font-latin); font-size: 15px; }
.bm-card-step { width: 42px; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08) !important; color: #fff; cursor: pointer; }
.bm-card-step:hover { background: rgba(255,255,255,.18) !important; }
.bm-card-cta.is-busy, .bm-add.is-busy { opacity: .6; pointer-events: none; }

/* login page: "finish your order" banner */
.bm-auth-cart { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #FFF6E6; border: 1px solid #F6D9A8; margin-bottom: 4px; }
.bm-auth-cart-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--bm-accent); color: var(--bm-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bm-auth-cart strong { display: block; font-size: 14.5px; }
.bm-auth-cart span { font-size: 13px; color: var(--bm-muted); }

@media (max-width: 991px) {
    .bm-float-cart { display: none; }
}
@media (max-width: 767px) {
    .bm-mc { width: 100%; }
    .bm-card-cta.in-cart .bm-card-qty { height: 38px; }
    .bm-card-step { width: 36px; }
    .bm-card-qty span { font-size: 12px; }
}

@media (max-width: 767px) {
    .bm-slide-text::before { width: 230px; height: 230px; right: -40px; top: -30px; }
    .bm-hero-title { font-size: 22px; }
    .bm-hero-shot.bm-shot-lg { width: 130px; height: 130px; right: 16px; }
    .bm-slider-ui { left: 20px; right: 16px; bottom: 12px; justify-content: flex-end; }
    .bm-arrows { display: none; }
    .bm-slide-text .bm-hero-cta { margin-bottom: 18px; }
}

/* trust bar: soft blue-grey band that ties the navy hero and the side cards together */
.bm-trust { background: #E6EDF1; border: 0; }
.bm-trust-item { border-right-color: #CFDBE2; }
.bm-trust-ico { background: #fff; color: var(--bm-navy); box-shadow: 0 2px 6px rgba(27,60,79,.08); }
.bm-trust-item strong { color: var(--bm-navy); }
.bm-trust-item span { color: #4E5E68; }
a.bm-trust-item:hover strong { text-decoration: underline; }
@media (max-width: 991px) { .bm-trust-item:nth-child(-n+2) { border-bottom-color: #CFDBE2; } }
@media (min-width: 768px) {
    .bm-hero-copy { max-width: calc(100% - 350px); box-sizing: content-box; }
    .bm-hero-shot.bm-shot-lg { width: 250px; height: 250px; right: 40px; }
}

/* ---------- category list: always stays inside its box, scrolls with the mouse wheel ---------- */
.bm-sidecats { display: flex; flex-direction: column; overflow: hidden; padding: 8px 0; box-sizing: border-box; }
.bm-sidecats .bm-catlist { flex: 1; min-height: 0; max-height: none; }
.bm-allcat-panel .bm-catlist { max-height: min(460px, 70vh); }
.bm-catlist {
    overflow-y: auto; overscroll-behavior: auto;              /* at the end, the page carries on scrolling */
    scrollbar-width: thin; scrollbar-color: #C9D3D9 transparent;
}
.bm-catlist::-webkit-scrollbar { width: 6px; }
.bm-catlist::-webkit-scrollbar-thumb { background: #C9D3D9; border-radius: 3px; }
.bm-catlist::-webkit-scrollbar-track { background: transparent; }
/* soft fade at the edges when there is more to scroll (drawn on the box, so sub-menus are never clipped) */
.bm-sidecats, .bm-allcat-panel { position: relative; }
.bm-allcat-panel { position: absolute; }
.bm-sidecats::before, .bm-sidecats::after, .bm-allcat-panel::before, .bm-allcat-panel::after {
    content: ""; position: absolute; left: 0; right: 8px; height: 30px; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .15s;
}
.bm-sidecats::before, .bm-allcat-panel::before { top: 8px; background: linear-gradient(#fff, rgba(255,255,255,0)); }
.bm-sidecats::after, .bm-allcat-panel::after { bottom: 8px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.can-up::before, .can-down::after { opacity: 1; }
/* sub-menus float outside the scrolling box (position set by JS) */
.bm-catlist .bm-subpanel { position: fixed; left: -9999px; top: 0; z-index: 1002; max-height: 70vh; overflow-y: auto; }

/* ---------- category row (one line, slides) ---------- */
.bm-head-actions { display: flex; align-items: center; gap: 16px; }
.bm-rail-nav { display: flex; gap: 8px; }
.bm-rail-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #D9D2C6 !important; background: #fff !important; color: var(--bm-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bm-rail-btn:hover { background: var(--bm-navy) !important; border-color: var(--bm-navy) !important; color: #fff; }
.bm-rail-btn[data-dir="-1"] .bm-ico { transform: rotate(180deg); }
.bm-rail-track {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; padding: 4px 2px 8px; overscroll-behavior-x: contain;
}
.bm-rail-track::-webkit-scrollbar { display: none; }
.bm-rail-item {
    flex: 0 0 calc((100% - 9 * 16px) / 10); scroll-snap-align: start;
    display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--bm-ink) !important; text-align: center;
}
.bm-rail-item .bm-circle { width: 96px; height: 96px; border-radius: 50%; background: #fff; border: 1px solid var(--bm-line); overflow: hidden; transition: border-color .15s, transform .15s; flex-shrink: 0; }
.bm-rail-item .bm-circle img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bm-rail-item:hover .bm-circle { border-color: var(--bm-navy); transform: translateY(-2px); }
.bm-rail-item .bm-catname { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1279px) { .bm-rail-item { flex-basis: calc((100% - 6 * 16px) / 7); } }
@media (max-width: 991px)  { .bm-rail-item { flex-basis: calc((100% - 4 * 16px) / 5); } }
@media (max-width: 767px) {
    .bm-rail-track { gap: 12px; }
    .bm-rail-item { flex-basis: calc((100% - 3.5 * 12px) / 4.5); gap: 8px; }
    .bm-rail-item .bm-circle { width: 66px; height: 66px; }
    .bm-rail-item .bm-catname { font-size: 12px; }
    .bm-rail-nav { display: none !important; }
    .bm-head-actions .bm-more { font-size: 13px; }
}

/* ---------- all categories page ---------- */
.bm-allcats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.bm-allcat-card { background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .15s; }
.bm-allcat-card:hover { box-shadow: 0 12px 28px rgba(19,33,43,.08); }
.bm-allcat-main { display: flex; align-items: center; gap: 14px; color: var(--bm-ink) !important; }
.bm-allcat-main .bm-circle { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 1px solid var(--bm-line); flex-shrink: 0; background: #fff; }
.bm-allcat-main .bm-circle img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bm-allcat-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.bm-allcat-text strong { font-size: 17px; font-weight: 700; }
.bm-allcat-text small { font-size: 13px; color: var(--bm-muted); }
.bm-allcat-main > .bm-ico { color: var(--bm-navy); }
.bm-allcat-subs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px dashed #DDD6CA; }
.bm-allcat-subs a { padding: 5px 12px; border-radius: 999px; background: var(--bm-bg); font-size: 13px; color: var(--bm-ink) !important; }
.bm-allcat-subs a:hover { background: var(--bm-navy); color: #fff !important; }
@media (max-width: 991px) { .bm-allcats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .bm-allcats { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* ==========================================================================
   Home layout: category sidebar that follows the page (Chaldal style)
   ========================================================================== */
:root { --bm-head-h: 140px; }
.bm-home { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 24px; }
.bm-home-side {
    position: sticky; top: calc(var(--bm-head-h) + 16px);
    max-height: calc(100vh - var(--bm-head-h) - 32px);
    display: flex; flex-direction: column; gap: 12px; z-index: 5;
}
.bm-home-side .bm-sidecats { height: auto; flex: 0 1 auto; min-height: 120px; }
.bm-home-main { min-width: 0; }
.bm-home .bm-hero-zone { grid-template-columns: minmax(0, 1fr) 280px; padding-top: 0; }
.bm-home .bm-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bm-home .bm-rail-item { flex-basis: calc((100% - 7 * 16px) / 8); }

/* featured categories (chosen in Admin > Category > Featured) */
.bm-featured { background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 12px; flex-shrink: 0; }
.bm-featured-head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--bm-maroon); margin-bottom: 10px; padding-left: 2px; }
.bm-featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bm-featured-item { display: flex; flex-direction: column; gap: 6px; color: var(--bm-ink) !important; }
.bm-featured-img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bm-cream); border: 1px solid var(--bm-line); }
.bm-featured-img img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .25s; }
.bm-featured-item:hover .bm-featured-img img { transform: scale(1.05); }
.bm-featured-name { font-size: 13px; font-weight: 600; line-height: 1.3; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 1279px) {
    .bm-home .bm-hero-zone { grid-template-columns: minmax(0, 1fr); }
    .bm-home .bm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bm-home .bm-rail-item { flex-basis: calc((100% - 5 * 16px) / 6); }
}
@media (max-width: 991px) {
    .bm-home { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
    .bm-home-side { display: none; }
    .bm-home .bm-rail-item { flex-basis: calc((100% - 4 * 16px) / 5); }
}
@media (max-width: 767px) {
    .bm-home .bm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bm-home .bm-rail-item { flex-basis: calc((100% - 3.5 * 12px) / 4.5); }
}

/* ==========================================================================
   Sticky header: top bar scrolls away, search + menu stay; compact when scrolled
   ========================================================================== */
@media (min-width: 992px) {
    header.bm-header { position: sticky !important; top: calc(-1 * var(--bm-topbar-h, 38px)); transition: box-shadow .2s; }
    header.bm-header.is-stuck { box-shadow: 0 6px 24px rgba(19,33,43,.10) !important; }
    .bm-mainbar .bm-container { transition: height .2s; }
    .bm-logo img { transition: height .2s; }
    header.bm-header.is-stuck .bm-mainbar .bm-container { height: 68px; }
    header.bm-header.is-stuck .bm-logo img { height: 38px !important; }
    header.bm-header.is-stuck .bm-search form { height: 44px; }
    header.bm-header.is-stuck .bm-navbar .bm-container { height: 46px; }
}

/* ---------- search by photo ---------- */
.bm-img-btn.bm-img-btn { background: transparent !important; color: var(--bm-muted); height: 100%; padding: 0 12px !important; display: flex; align-items: center; justify-content: center; cursor: pointer; border-left: 1px solid var(--bm-line) !important; }
.bm-search .bm-img-btn:hover { color: var(--bm-navy); background: var(--bm-bg) !important; }
.bm-search form.is-drop { box-shadow: 0 0 0 4px rgba(247,165,65,.35); border-color: var(--bm-accent); }
.bm-imgsearch-head { display: flex; gap: 22px; align-items: center; padding: 22px; }
.bm-imgsearch-thumb { width: 120px !important; height: 120px !important; object-fit: cover; border-radius: 14px; border: 1px solid var(--bm-line); flex-shrink: 0; background: var(--bm-bg); }
.bm-imgsearch-text h1 { font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.bm-imgsearch-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.bm-imgsearch-actions .bm-img-btn { border-left: 0 !important; height: 48px; padding: 0 22px !important; color: var(--bm-ink); background: var(--bm-accent) !important; }
@media (max-width: 767px) {
    .bm-imgsearch-head { flex-direction: column; align-items: flex-start; padding: 18px; }
    .bm-imgsearch-thumb { width: 90px !important; height: 90px !important; }
    .bm-imgsearch-text h1 { font-size: 20px; }
    .bm-mobilebar .bm-img-btn { padding: 0 10px !important; }
}

/* ---------- import shipping info box (product page) ---------- */
.bm-shipbox { margin-top: 14px; border: 1px solid #D6E0E5; border-radius: 14px; overflow: hidden; background: #fff; font-family: var(--bm-font); }
.bm-shipbox-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #E6EDF1; flex-wrap: wrap; }
.bm-shipbox-ico { width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--bm-navy); display: flex; align-items: center; justify-content: center; }
.bm-shipbox-head strong { font-size: 16px; color: var(--bm-navy); }
.bm-shipbox-rate { margin-left: auto; background: var(--bm-navy); color: #fff; padding: 4px 12px; border-radius: 999px; font-family: var(--bm-font-latin), var(--bm-font); font-weight: 700; font-size: 14px; }
.bm-shipbox-facts { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border-bottom: 1px dashed #DDD6CA; }
.bm-shipbox-facts div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bm-shipbox-facts span { color: var(--bm-muted); }
.bm-shipbox-facts b { font-family: var(--bm-font-latin), var(--bm-font); color: var(--bm-ink); }
.bm-shipbox-facts small { color: var(--bm-muted); font-weight: 500; }
.bm-shipbox-delivery { padding: 11px 16px 12px; background: #FFF8E8; border-bottom: 1px dashed #E8C98D; }
.bm-shipbox-delivery > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: #3F4A51; }
.bm-shipbox-delivery b { color: #D81B45; font-size: 15px; font-weight: 800; white-space: nowrap; }
.bm-shipbox-delivery p { margin: 7px 0 0 !important; padding-top: 7px; border-top: 1px dashed #E8C98D; font-size: 12px; line-height: 1.5; color: #68737A; }
.bm-shipbox-note { padding: 12px 16px 14px; max-height: 260px; overflow-y: auto; }
.bm-shipbox-note p { margin: 0 0 6px !important; font-size: 13.5px; line-height: 1.6; color: #3B4852 !important; text-align: left !important; }
.bm-shipbox-note .bm-shipbox-h { margin-top: 10px !important; font-weight: 700; color: var(--bm-navy) !important; font-size: 14px; }
.bm-shipbox-note .bm-shipbox-warn { background: #FFF6E6; border-left: 3px solid var(--bm-accent); padding: 8px 10px; border-radius: 6px; color: #7A4A0E !important; }

/* ---------- imported product delivery ---------- */
.bm-card-delivery { display: flex; align-items: center; gap: 5px; min-width: 0; margin: 2px 0 7px; font-size: 11.5px; line-height: 1.25; color: #68737A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-card-delivery-ico { font-size: 12px; line-height: 1; }
.bm-card-delivery b { color: var(--bm-navy); font-weight: 700; white-space: nowrap; }

/* ---------- product page: 3rd column + ad space under the photos ---------- */
.bm-pd-side { position: sticky; top: calc(var(--bm-head-h, 120px) + 16px); }
.bm-pd-side .bm-shipbox { margin-top: 0; }
@media (min-width: 992px) {
    .bm-pd-side .bm-shipbox-note { max-height: calc(100vh - var(--bm-head-h, 120px) - 230px); min-height: 200px; }
    .bm-pd-side .bm-shipbox-rate { margin-left: 0; }
}
@media (max-width: 991px) { .bm-pd-side { position: static; margin-top: 16px; } }
.bm-pd-ads { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.bm-pd-ad { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--bm-line); background: #fff; }
.bm-pd-ad img { width: 100% !important; height: auto !important; display: block; aspect-ratio: 2 / 1; object-fit: cover; }

/* product page: all columns end at the same line (desktop) */
@media (min-width: 992px) {
    .bm-pd-row > [class*="col-"] { display: flex; flex-direction: column; }
    .bm-pd-row .details_right { flex: 1; height: 100%; box-sizing: border-box; margin-bottom: 0; }
    .bm-pd-row .indicator_thumb, .bm-pd-row .indicator_thumb .owl-stage-outer { margin-bottom: 0 !important; }
    .bm-pd-row .indicator-item { margin-bottom: 0 !important; }
    .bm-pd-side { position: relative; flex: 1; top: auto; min-height: 360px; }
    /* the shipping box fills whatever height the other two columns give it; its rate list scrolls inside */
    .bm-pd-side .bm-shipbox { position: absolute; inset: 0; display: flex; flex-direction: column; }
    .bm-pd-side .bm-shipbox-note { flex: 1; min-height: 0; max-height: none; }
}

/* ---------- "install the app" bar (phones) ---------- */
.bm-install {
    position: fixed; left: 10px; right: 10px; bottom: calc(74px + env(safe-area-inset-bottom)); z-index: 997;
    display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 14px;
    background: #fff; border: 1px solid var(--bm-line); box-shadow: 0 12px 30px rgba(19,33,43,.18);
}
.bm-install[hidden] { display: none; }
.bm-install img { width: 42px !important; height: 42px !important; border-radius: 10px; flex-shrink: 0; }
.bm-install-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.bm-install-text strong { font-size: 14px; }
.bm-install-sub { font-size: 12px; color: var(--bm-muted); }
.bm-install-btn { height: 36px; padding: 0 16px !important; border-radius: 10px; background: var(--bm-accent) !important; color: var(--bm-ink); font-weight: 700; font-family: var(--bm-font); cursor: pointer; }
.bm-install-btn[hidden] { display: none; }
.bm-install-x { width: 30px; height: 30px; border-radius: 8px; background: var(--bm-bg) !important; color: var(--bm-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
@media (min-width: 992px) { .bm-install { left: auto; right: 24px; bottom: 24px; width: 380px; } }
/* app mode (installed): no browser chrome, give the page a little more room at the top */
@media (display-mode: standalone) { .bm-mobilebar { padding-top: max(10px, env(safe-area-inset-top)); } }

/* ---------- Quick Deal ---------- */
.bm-qd { border-radius: 16px; overflow: hidden; border: 1px solid var(--bm-navy); background: #fff; }
.bm-qd-head { background: var(--bm-navy); padding: 16px 20px 0; }
.bm-qd-head h2 { color: #fff; font-size: 22px; font-weight: 800; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.bm-qd-head h2 .bm-ico { color: var(--bm-accent); }
.bm-qd-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.bm-qd-tabs::-webkit-scrollbar { display: none; }
.bm-qd-tab { padding: 10px 18px !important; border-radius: 10px 10px 0 0; background: transparent !important; color: #D6E2E9; font-family: var(--bm-font); font-weight: 700; font-size: 14.5px; white-space: nowrap; cursor: pointer; }
.bm-qd-tab:hover { color: #fff; }
.bm-qd-tab.is-active { background: #fff !important; color: var(--bm-navy); }
.bm-qd-body { padding: 18px 12px; }
.bm-qd-pane { display: none; position: relative; }
.bm-qd-pane.is-active { display: block; }
.bm-qd-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 6px; }
.bm-qd-track::-webkit-scrollbar { display: none; }
.bm-qd-item { flex: 0 0 170px; width: 170px; min-width: 0; box-sizing: border-box; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; color: var(--bm-ink) !important; padding: 6px; border-radius: 12px; transition: background .15s; }
.bm-qd-item:hover { background: var(--bm-bg); }
.bm-qd-img { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: #F3F1EC; }
.bm-qd-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bm-qd-tag { position: absolute; left: 6px; top: 6px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; color: #fff; }
.bm-qd-tag.bogo { background: var(--bm-maroon); }
.bm-qd-tag.free { background: #0f7b45; }
.bm-qd-name { width: 100%; font-size: 13.5px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.bm-qd-sub { font-size: 12px; color: var(--bm-muted); min-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.bm-qd-bar { width: 80%; height: 6px; border-radius: 3px; background: #FDE7C7; overflow: hidden; margin-top: 2px; }
.bm-qd-bar i { display: block; height: 100%; background: var(--bm-accent-dark); border-radius: 3px; }
.bm-qd-status { font-size: 12px; color: var(--bm-muted); }
.bm-qd-status .ok { color: #0f7b45; font-weight: 600; }
.bm-qd-old { font-size: 12.5px; color: var(--bm-faint); font-family: var(--bm-font-latin); min-height: 17px; }
.bm-qd-price { font-size: 19px; font-weight: 800; color: var(--bm-navy); font-family: var(--bm-font-latin); display: inline-flex; align-items: center; gap: 6px; }
.bm-qd-price em { font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: #e5484d; padding: 2px 7px; border-radius: 5px; }
.bm-qd-arrow { position: absolute; top: 34%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff !important; box-shadow: 0 6px 16px rgba(19,33,43,.18); color: var(--bm-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bm-qd-arrow.prev { left: 0; } .bm-qd-arrow.next { right: 0; }
.bm-qd-arrow.prev .bm-ico { transform: rotate(180deg); }
.acc-free { color: #0f7b45; }
@media (max-width: 767px) {
    .bm-qd-head { padding: 12px 14px 0; }
    .bm-qd-head h2 { font-size: 18px; margin-bottom: 8px; }
    .bm-qd-tab { padding: 8px 12px !important; font-size: 13px; }
    .bm-qd-body { padding: 12px 6px; }
    .bm-qd-item { flex-basis: 132px; width: 132px; }
    .bm-qd-price { font-size: 16px; }
    .bm-qd-arrow { display: none !important; }
}

/* ---------- category cards with sub-categories ---------- */
.bm-cc { position: relative; }
.bm-cc-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px; }
.bm-cc-track::-webkit-scrollbar { display: none; }
.bm-cc-card { flex: 0 0 calc((100% - 3 * 16px) / 4); min-width: 0; box-sizing: border-box; scroll-snap-align: start; background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; padding: 18px 18px 14px; display: flex; flex-direction: column; }
.bm-cc-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-cc-card h3 a { color: var(--bm-ink) !important; }
.bm-cc-card h3 a:hover { color: var(--bm-navy) !important; }
.bm-cc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
.bm-cc-sub { display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--bm-ink) !important; min-width: 0; }
.bm-cc-img { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.bm-cc-img img { width: 78% !important; height: 88% !important; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s; }
.bm-cc-sub:hover .bm-cc-img img { transform: scale(1.06); }
.bm-cc-name { font-size: 13.5px; font-weight: 500; width: 100%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-cc-more { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; color: #1e6fd9 !important; display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; }
.bm-cc-more:hover { text-decoration: underline; }
.bm-cc-arrow { position: absolute; top: 45%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff !important; box-shadow: 0 6px 16px rgba(19,33,43,.18); color: var(--bm-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bm-cc-arrow.prev { left: -10px; } .bm-cc-arrow.next { right: -10px; }
.bm-cc-arrow.prev .bm-ico { transform: rotate(180deg); }
@media (max-width: 1279px) { .bm-cc-card { flex-basis: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 991px)  { .bm-cc-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 767px) {
    .bm-cc-track { gap: 12px; }
    .bm-cc-card { flex-basis: 82%; padding: 14px 14px 10px; }
    .bm-cc-card h3 { font-size: 16px; margin-bottom: 10px; }
    .bm-cc-arrow { display: none !important; }
}

/* ==========================================================================
   Wishlist heart on product cards
   ========================================================================== */
.bm-card { position: relative; }
.bm-wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.95) !important; color: var(--bm-muted); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(19,33,43,.12); cursor: pointer; transition: transform .15s, color .15s; }
.bm-wish:hover { transform: scale(1.08); color: var(--bm-maroon); }
.bm-wish.is-on { color: #e5484d; }
.bm-wish.is-on svg { fill: #e5484d; }
@media (max-width: 767px) { .bm-wish { width: 32px; height: 32px; top: 8px; right: 8px; } }

/* ==========================================================================
   My account area
   ========================================================================== */
.bm-am { padding-top: 26px; }
.bm-am-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }
.bm-am-side { position: sticky; top: calc(var(--bm-head-h, 120px) + 16px); background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; overflow: hidden; }
.bm-am-me { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--bm-navy); color: #fff; }
.bm-am-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--bm-accent); color: var(--bm-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; flex-shrink: 0; }
.bm-am-me strong { display: block; font-size: 16px; color: #fff; }
.bm-am-me span { font-size: 13px; color: #B9CCD6; font-family: var(--bm-font-latin); }
.bm-am-menu { display: flex; flex-direction: column; padding: 8px 0; }
.bm-am-menu a, .bm-am-menu button { display: flex !important; align-items: center; gap: 12px; padding: 11px 18px !important; font-size: 14.5px; font-weight: 500; color: var(--bm-ink) !important; background: transparent !important; width: 100%; text-align: left; font-family: var(--bm-font); cursor: pointer; border-left: 3px solid transparent !important; }
.bm-am-menu a:hover, .bm-am-menu button:hover { background: var(--bm-bg) !important; }
.bm-am-menu a.is-active { background: #F2F6F8 !important; border-left-color: var(--bm-navy) !important; font-weight: 700; color: var(--bm-navy) !important; }
.bm-am-menu .bm-ico { color: var(--bm-navy); }
.bm-am-menu span { flex: 1; }
.bm-am-menu em { font-style: normal; font-size: 12px; font-weight: 700; background: var(--bm-bg); padding: 2px 8px; border-radius: 999px; font-family: var(--bm-font-latin); }
.bm-am-menu form { margin: 4px 0 0; border-top: 1px solid var(--bm-line); padding-top: 4px; }
.bm-am-menu button .bm-ico { color: var(--bm-maroon); }
.bm-am-title { font-size: 26px; font-weight: 800; margin: 0 0 18px; }
.bm-am-title small { font-size: 15px; font-weight: 500; color: var(--bm-muted); }
.bm-am-sub { font-size: 19px; font-weight: 800; margin: 24px 0 12px; }
.bm-am-sub small { font-size: 13.5px; font-weight: 500; color: var(--bm-muted); }
.bm-am-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.bm-am-stats a { background: #fff; border: 1px solid var(--bm-line); border-radius: 14px; padding: 16px; color: var(--bm-ink) !important; display: flex; flex-direction: column; gap: 2px; transition: box-shadow .15s; }
.bm-am-stats a:hover { box-shadow: 0 10px 24px rgba(19,33,43,.08); }
.bm-am-stats small { font-size: 12.5px; color: var(--bm-muted); font-weight: 600; }
.bm-am-stats strong { font-size: 24px; font-weight: 800; font-family: var(--bm-font-latin); color: var(--bm-navy); }
.bm-am-stats span { font-size: 12.5px; color: var(--bm-muted); }
.bm-am-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bm-am-box { padding: 20px; }
.bm-am-box h2 { font-size: 18px; font-weight: 800; margin: 0 0 12px; }
.bm-am-boxhead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.bm-am-boxhead h2 { font-size: 18px; font-weight: 800; margin: 0; }
.bm-am-boxhead a { font-size: 14px; font-weight: 600; color: var(--bm-navy) !important; }
.bm-am-form { display: flex; flex-direction: column; gap: 12px; }
.bm-am-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; margin: 0; }
.bm-am-form label small { font-weight: 500; color: var(--bm-muted); }
.bm-am-form input, .bm-am-form textarea { height: 46px; border: 1.5px solid #DAD3C7 !important; border-radius: 10px; padding: 0 12px !important; font-family: var(--bm-font); font-size: 15px; background: #fff; }
.bm-am-form input:focus { border-color: var(--bm-navy) !important; outline: 0; }
.bm-am-form input:disabled { background: var(--bm-bg); color: var(--bm-muted); }
.bm-am-form button { align-self: flex-start; }
.bm-am-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed #DDD6CA; }
.bm-am-row:last-of-type { border-bottom: 0; }
.bm-am-row > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.bm-am-row span { font-size: 12.5px; color: var(--bm-muted); }
.bm-am-row strong { font-family: var(--bm-font-latin); font-weight: 800; white-space: nowrap; }
.bm-am-row strong.plus { color: #0f7b45; } .bm-am-row strong.minus { color: var(--bm-maroon); }
.bm-am-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #FFF4E0; color: #9a5b00; white-space: nowrap; }
.bm-am-pill.s2, .bm-am-pill.s3, .bm-am-pill.s5 { background: #E8EEF8; color: #1e3a8a; }
.bm-am-pill.s6 { background: #E7F6EE; color: #0f7b45; }
.bm-am-pill.s7 { background: #FDECEA; color: #b42318; }
.bm-am-empty { padding: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.bm-am-empty p { color: var(--bm-muted) !important; text-align: center !important; }
.bm-am-gridp { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.bm-am-wrap { position: relative; display: flex; flex-direction: column; }
.bm-am-wrap .bm-card { flex: 1; }
.bm-am-times { position: absolute; left: 10px; top: 10px; z-index: 2; background: var(--bm-navy); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.bm-am-order { padding: 18px 20px; margin-bottom: 14px; }
.bm-am-ohead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bm-am-ohead b { font-size: 16px; }
.bm-am-ohead span { display: block; font-size: 12.5px; color: var(--bm-muted); }
.bm-am-ototal { font-size: 20px; font-weight: 800; font-family: var(--bm-font-latin); color: var(--bm-navy); }
.bm-am-items { font-size: 13.5px; color: var(--bm-muted); margin: 8px 0 14px; }
.bm-am-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0 0 14px; }
.bm-am-steps li { display: flex !important; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--bm-faint); position: relative; text-align: center; }
.bm-am-steps li span { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--bm-line); position: relative; z-index: 1; }
.bm-am-steps li::before { content: ""; position: absolute; top: 7px; left: -50%; right: 50%; height: 3px; background: var(--bm-line); }
.bm-am-steps li:first-child::before { display: none; }
.bm-am-steps li.done, .bm-am-steps li.now { color: var(--bm-navy); }
.bm-am-steps li.done span { background: var(--bm-navy); border-color: var(--bm-navy); }
.bm-am-steps li.now span { border-color: var(--bm-accent); background: var(--bm-accent); box-shadow: 0 0 0 4px rgba(247,165,65,.25); }
.bm-am-steps li.done::before, .bm-am-steps li.now::before { background: var(--bm-navy); }
.bm-am-cancel { background: #FDECEA; color: #b42318; font-weight: 700; padding: 10px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 14px; }
.bm-am-ofoot { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13px; border-top: 1px solid var(--bm-line); padding-top: 12px; }
.bm-am-link { margin-left: auto; font-weight: 700; color: var(--bm-navy) !important; }
.bm-am-pages { margin-top: 14px; }
.bm-am-interest { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bm-am-int { position: relative; cursor: pointer; margin: 0; }
.bm-am-int input { position: absolute; opacity: 0; }
.bm-am-int span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; background: #fff; border: 1.5px solid var(--bm-line); border-radius: 14px; text-align: center; transition: border-color .15s, background .15s; }
.bm-am-int img { width: 64px !important; height: 64px !important; border-radius: 50%; object-fit: cover; }
.bm-am-int b { font-size: 13.5px; }
.bm-am-int i { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--bm-navy); color: #fff; display: none; align-items: center; justify-content: center; }
.bm-am-int input:checked + span { border-color: var(--bm-navy); background: #F2F6F8; }
.bm-am-int input:checked + span i { display: flex; }
.bm-am-hero { padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; background: linear-gradient(0deg, #fff, #fff); }
.bm-am-hero small { display: block; font-size: 13px; color: var(--bm-muted); font-weight: 600; }
.bm-am-hero strong { display: block; font-size: 38px; font-weight: 800; font-family: var(--bm-font-latin); color: var(--bm-navy); line-height: 1.1; }
.bm-am-hero span { font-size: 13.5px; color: var(--bm-muted); }
.bm-am-hero.pts strong { color: #b86e00; }
.bm-am-how { padding: 18px 22px; margin-bottom: 16px; }
.bm-am-how h2 { font-size: 16px; font-weight: 800; margin: 0 0 8px; }
.bm-am-how li { display: list-item !important; list-style: disc; margin-left: 18px; font-size: 14px; color: #3B4852; line-height: 1.7; }
.bm-am-rev { display: flex; gap: 14px; padding: 14px 16px; margin-bottom: 12px; align-items: flex-start; }
.bm-am-rev img { width: 64px !important; height: 64px !important; border-radius: 10px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--bm-line); }
.bm-am-revbody { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bm-am-revbody textarea { border: 1.5px solid #DAD3C7 !important; border-radius: 10px; padding: 10px 12px !important; font-family: var(--bm-font); font-size: 14px; }
.bm-am-revbody button { align-self: flex-start; height: 40px; }
.bm-am-revbody p { margin: 0 !important; font-size: 14px; }
.bm-am-rev.done .bm-am-pill { align-self: flex-start; }
.bm-am-rstars { color: #f5a623; letter-spacing: 2px; }
.bm-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.bm-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bm-stars label { font-size: 26px; line-height: 1; color: #d6d9dc; cursor: pointer; margin: 0; }
.bm-stars label:hover, .bm-stars label:hover ~ label, .bm-stars input:checked ~ label { color: #f5a623; }
.bm-okmsg { background: #E7F6EE; color: #0f7b45; border-radius: 10px; padding: 12px 14px; font-weight: 600; margin-bottom: 12px; }

@media (max-width: 1279px) { .bm-am-gridp { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .bm-am-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) {
    .bm-am-grid { grid-template-columns: minmax(0, 1fr); }
    .bm-am-side { position: static; }
    .bm-am-menu { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 6px; gap: 4px; }
    .bm-am-menu::-webkit-scrollbar { display: none; }
    .bm-am-menu a, .bm-am-menu button { width: auto; white-space: nowrap; border-left: 0 !important; border-radius: 999px; padding: 8px 14px !important; }
    .bm-am-menu a.is-active { background: var(--bm-navy) !important; color: #fff !important; }
    .bm-am-menu a.is-active .bm-ico { color: #fff; }
    .bm-am-menu form { border: 0; margin: 0; padding: 0; }
    .bm-am-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .bm-am-title { font-size: 21px; }
    .bm-am-gridp { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .bm-am-hero strong { font-size: 30px; }
    .bm-am-steps li { font-size: 11px; }
}
.bm-radio.bm-check { border-radius: 6px; }
.bm-choice input:checked + .bm-choice-box .bm-radio.bm-check::after { inset: 3px; border-radius: 3px; }

/* ---------- top brands ---------- */
.bm-brands { margin-top: 32px; }
.bm-br-track { gap: 18px; padding: 4px 8px 6px; }
.bm-br-item { flex: 0 0 140px; width: 140px; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--bm-ink) !important; scroll-snap-align: start; }
.bm-br-logo { width: 132px; height: 132px; border-radius: 50%; border: 10px solid #F1F1F1; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: border-color .2s, transform .2s; }
.bm-br-logo img { width: 78% !important; height: 78% !important; object-fit: contain; }
.bm-br-logo b { font-family: var(--bm-font-latin); font-size: 17px; font-weight: 800; color: var(--bm-navy); text-align: center; padding: 0 10px; line-height: 1.15; }
.bm-br-item:hover .bm-br-logo { border-color: #E4EBEF; transform: translateY(-2px); }
.bm-br-name { font-size: 13px; font-weight: 600; color: var(--bm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bm-brand-head { display: flex; align-items: center; gap: 18px; padding: 18px 22px; }
.bm-brand-logo { width: 84px; height: 84px; border-radius: 50%; border: 6px solid #F1F1F1; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; flex-shrink: 0; }
.bm-brand-logo img { width: 80% !important; height: 80% !important; object-fit: contain; }
.bm-brand-logo b { font-family: var(--bm-font-latin); font-weight: 800; color: var(--bm-navy); font-size: 13px; text-align: center; }
.bm-brand-head h1 { font-size: 26px; font-weight: 800; margin: 0; }
@media (max-width: 767px) {
    .bm-br-item { flex-basis: 96px; width: 96px; }
    .bm-br-logo { width: 90px; height: 90px; border-width: 6px; }
    .bm-br-logo b { font-size: 13px; }
}

/* ---------- footer: safe payment badges ---------- */
.bm-safepay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bm-safepay > span { font-size: 14px; color: #B9C6CE; }
.bm-safepay-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-safepay-item { height: 34px; min-width: 52px; padding: 0 10px; border-radius: 6px; background: #fff; color: #1B3C4F; font: 800 12.5px var(--bm-font-latin); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.bm-safepay-item.cod { font-family: var(--bm-font); font-weight: 700; color: #14532D; }
.bm-safepay-item.is-img { padding: 3px 6px; width: 56px; }
.bm-safepay-item.is-img img { max-width: 100% !important; max-height: 100% !important; object-fit: contain; }
@media (max-width: 767px) { .bm-safepay { gap: 8px; } .bm-safepay-item { height: 30px; min-width: 46px; font-size: 11.5px; } .bm-safepay-item.is-img { width: 48px; } }
.bm-footer-bottom .bm-safepay-item { color: #1B3C4F !important; }
.bm-footer-bottom .bm-safepay-item.cod { color: #14532D !important; }

/* ==========================================================================
   Footer v2
   ========================================================================== */
.bm-footer { border-top: 3px solid var(--bm-accent); background: #12202A; }
.bm-latin { font-family: var(--bm-font-latin); }
/* help strip */
.bm-fhelp { background: #172A36; border-bottom: 1px solid #22394A; }
.bm-fhelp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.bm-fhelp-item { display: flex !important; align-items: center; gap: 12px; padding: 14px 16px !important; border-radius: 14px; background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.07) !important; color: #fff !important; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; min-width: 0; font-family: var(--bm-font); }
.bm-fhelp-item:hover { background: rgba(255,255,255,.08) !important; border-color: rgba(247,165,65,.5) !important; }
.bm-fhelp-item[hidden] { display: none !important; }
.bm-fhelp-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bm-accent); color: var(--bm-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bm-fhelp-item > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.bm-fhelp-item small { font-size: 12.5px; color: #9FB2BE !important; }
.bm-fhelp-item b { font-size: 15.5px; font-weight: 700; color: #fff !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* main columns */
.bm-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 44px 0 36px; border-bottom: 1px solid #22394A; }
.bm-fbrand { padding: 22px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.bm-fabout { font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.bm-footer h4 { position: relative; padding-bottom: 10px; margin-bottom: 18px; font-size: 16px; }
.bm-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--bm-accent); }
.bm-footer nav ul { margin: 0; padding: 0; }
.bm-footer nav a { display: inline-flex; align-items: center; gap: 6px; transition: color .15s, transform .15s; }
.bm-footer nav a:hover { transform: translateX(3px); }
.bm-footer .bm-social { margin-top: 16px; }
.bm-footer .bm-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; }
.bm-footer .bm-social a:hover { background: var(--bm-accent); color: var(--bm-ink) !important; }
/* bottom bar */
.bm-footer-bottom { padding: 18px 0 22px; gap: 14px 24px; }
.bm-fcopy { font-size: 13px; }
.bm-safepay { gap: 12px; }
.bm-safepay-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.bm-safepay-label .bm-ico { color: #4ADE80; }
.bm-safepay-list.has-logos { background: #fff; border-radius: 10px; padding: 6px 8px; gap: 4px; }
.bm-safepay-list.has-logos .bm-safepay-item { box-shadow: none; height: 32px; width: 54px; background: transparent; }
.bm-safepay-list.has-logos .bm-safepay-item + .bm-safepay-item { border-left: 1px solid #ECEEF0; border-radius: 0; }
@media (max-width: 1100px) { .bm-fhelp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bm-fbrand { grid-column: 1 / -1; } }
@media (max-width: 767px) {
    .bm-fhelp-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 16px; padding-bottom: 16px; }
    .bm-fhelp-item { padding: 10px 12px !important; }
    .bm-fhelp-ico { width: 38px; height: 38px; }
    .bm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 28px 0; }
    .bm-footer-bottom { flex-direction: column; align-items: center; text-align: center; padding-bottom: calc(22px + 64px); }
    .bm-safepay { justify-content: center; }
    .bm-safepay-list { justify-content: center; }
}

/* ---------- cancellations & returns ---------- */
.bm-am-act { margin-top: 12px; border-top: 1px dashed #DDD6CA; padding-top: 12px; }
.bm-am-act summary { cursor: pointer; font-weight: 700; color: var(--bm-maroon); font-size: 14px; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.bm-am-act summary::-webkit-details-marker { display: none; }
.bm-am-act summary::before { content: "✕"; font-size: 12px; }
.bm-am-act .bm-am-form { margin-top: 12px; max-width: 420px; }
.bm-am-act select, .bm-rt-qty select { height: 44px; border: 1.5px solid #DAD3C7; border-radius: 10px; padding: 0 10px; font-family: var(--bm-font); background: #fff; }
.bm-am-act p { font-size: 12.5px; margin: 8px 0 0 !important; }
.bm-btn-danger { height: 44px; padding: 0 20px; border-radius: 10px; background: var(--bm-maroon) !important; color: #fff !important; font-weight: 700; font-family: var(--bm-font); cursor: pointer; align-self: flex-start; }
.bm-btn-outline { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 10px; border: 1.5px solid var(--bm-navy); color: var(--bm-navy) !important; font-weight: 700; font-size: 14px; }
.bm-btn-outline:hover { background: var(--bm-navy); color: #fff !important; }
.bm-am-act-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; border-top: 1px dashed #DDD6CA; padding-top: 12px; }
.bm-am-act-row .bm-muted { font-size: 12.5px; }
.bm-rt-row { align-items: center; }
.bm-rt-qty { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin: 0; }
.bm-rt-reasons { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bm-rt-reasons legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; width: 100%; }
.bm-rt-reason { position: relative; margin: 0; cursor: pointer; }
.bm-rt-reason input { position: absolute; opacity: 0; }
.bm-rt-reason span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--bm-line); border-radius: 999px; font-size: 14px; background: #fff; }
.bm-rt-reason input:checked + span { border-color: var(--bm-navy); background: var(--bm-navy); color: #fff; }
.bm-rt-reason input:focus-visible + span { outline: 3px solid rgba(27,60,79,.3); }
.bm-am-pill.rs-pending, .bm-am-pill.rs-approved { background: #FFF4E0; color: #9a5b00; }
.bm-am-pill.rs-received { background: #E8EEF8; color: #1e3a8a; }
.bm-am-pill.rs-refunded { background: #E7F6EE; color: #0f7b45; }
.bm-am-pill.rs-rejected { background: #FDECEA; color: #b42318; }
.bm-am-act-row .bm-btn-outline { width: auto !important; flex: 0 0 auto; }

/* ==========================================================================
   Customer invoice
   ========================================================================== */
.bm-inv-page { padding-top: 24px; }
.bm-inv-tools { max-width: 900px; margin: 0 auto 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bm-inv-tools .bm-btn-navy { display: inline-flex; align-items: center; gap: 8px; }
.bm-inv { position: relative; max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; padding: 36px 40px; overflow: hidden; }
.bm-inv::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--bm-navy) 0 70%, var(--bm-accent) 70% 100%); }
.bm-inv.is-cancelled::before { background: #b42318; }
.bm-ivx-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--bm-line); }
.bm-inv-logo { height: 46px !important; width: auto; display: block; margin-bottom: 10px; }
.bm-inv-from p { margin: 0 !important; font-size: 13.5px; color: var(--bm-muted) !important; line-height: 1.7; max-width: 340px; }
.bm-ivx-meta { text-align: right; }
.bm-ivx-meta h1 { font-size: 30px; font-weight: 800; letter-spacing: 1px; color: var(--bm-navy); margin: 0 0 10px; text-transform: uppercase; }
.bm-ivx-meta dl { margin: 0; display: grid; gap: 6px; }
.bm-ivx-meta dl div { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.bm-ivx-meta dt { font-size: 13px; color: var(--bm-muted); font-weight: 500; }
.bm-ivx-meta dd { margin: 0; font-weight: 800; font-family: var(--bm-font-latin); white-space: nowrap; }
.bm-inv-parties { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; padding: 22px 0; }
.bm-inv-parties h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--bm-muted); font-weight: 700; margin: 0 0 6px; }
.bm-inv-parties p { margin: 0 !important; font-size: 14px; line-height: 1.7; }
.bm-inv-paid { color: #0f7b45; font-weight: 700; }
.bm-inv-tablewrap { overflow-x: auto; }
.bm-inv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bm-inv-table th { background: var(--bm-navy); color: #fff; font-weight: 700; padding: 11px 12px; text-align: left; font-size: 13px; }
.bm-inv-table th:first-child { border-radius: 10px 0 0 10px; } .bm-inv-table th:last-child { border-radius: 0 10px 10px 0; }
.bm-inv-table td { padding: 12px; border-bottom: 1px solid var(--bm-line); vertical-align: top; }
.bm-inv-table td small { display: block; color: var(--bm-muted); font-size: 12px; margin-top: 2px; }
.bm-inv-table .num { text-align: right; white-space: nowrap; font-family: var(--bm-font-latin); }
.bm-inv-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 20px; }
.bm-inv-notes { flex: 1; min-width: 240px; }
.bm-inv-notes p { margin: 0 0 6px !important; font-size: 14px; }
.bm-inv-return { background: #F2F6F8; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; font-size: 13.5px; }
.bm-inv-return span { display: block; color: var(--bm-muted); font-size: 12.5px; }
.bm-ivx-totals { width: 320px; border-collapse: collapse; font-size: 14.5px; }
.bm-ivx-totals td { padding: 8px 12px; }
.bm-ivx-totals td:last-child { text-align: right; font-family: var(--bm-font-latin); font-weight: 700; white-space: nowrap; }
.bm-ivx-totals .grand td { background: var(--bm-navy); color: #fff; font-size: 17px; font-weight: 800; }
.bm-ivx-totals .grand td:first-child { border-radius: 10px 0 0 10px; } .bm-ivx-totals .grand td:last-child { border-radius: 0 10px 10px 0; }
.bm-ivx-totals .due td { color: #b42318; font-weight: 800; }
.is-cancelled .bm-ivx-totals .grand td { background: #6b7780; }
.bm-inv-banner { display: flex; gap: 12px; align-items: flex-start; background: #FDECEA; color: #8a1c14; border: 1px solid #F6C9C3; border-radius: 12px; padding: 12px 14px; margin-bottom: 22px; position: relative; z-index: 2; }
.bm-inv-banner b { display: block; font-size: 15px; }
.bm-inv-banner span { display: block; font-size: 13px; }
.bm-inv-stamp { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%) rotate(-18deg); z-index: 1; pointer-events: none;
    border: 6px solid rgba(180,35,24,.22); color: rgba(180,35,24,.22); border-radius: 18px; padding: 10px 40px; text-align: center;
    font-size: 72px; font-weight: 900; line-height: 1; }
.bm-inv-stamp small { display: block; font-family: var(--bm-font-latin); font-size: 26px; letter-spacing: 8px; margin-top: 6px; }
@media (max-width: 767px) {
    .bm-inv { padding: 22px 16px; border-radius: 12px; }
    .bm-ivx-meta { text-align: left; } .bm-ivx-meta dl div { justify-content: flex-start; }
    .bm-inv-parties { grid-template-columns: 1fr 1fr; }
    .bm-inv-parties > div:first-child { grid-column: 1 / -1; }
    .bm-ivx-totals { width: 100%; }
    .bm-inv-stamp { font-size: 44px; padding: 8px 20px; } .bm-inv-stamp small { font-size: 16px; letter-spacing: 4px; }
}
@media print {
    header.bm-header, .bm-mobilebar, .bm-bottom-nav, footer.bm-footer, .no-print, .bm-float-cart, .bm-install, .scrolltop, #bm-minicart { display: none !important; }
    body { background: #fff !important; }
    .bm-inv { border: 0; padding: 0; max-width: none; }
    .bm-inv-table th, .bm-ivx-totals .grand td, .bm-inv::before, .bm-inv-banner { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.bm-ivx-totals, .bm-ivx-totals tr, .bm-ivx-totals td { background: transparent; } .bm-ivx-totals .grand td { background: var(--bm-navy); }

/* ---------- loyalty points hint ---------- */
.bm-earn { display: flex; align-items: flex-start; gap: 10px; background: #FFF6E6; border: 1px dashed #F7C27A; border-radius: 12px; padding: 10px 12px; margin: 8px 0 12px; font-family: var(--bm-font); font-size: 14px; color: #6b4300; line-height: 1.45; }
.bm-earn b { color: #9a5b00; }
.bm-earn small { display: block; font-size: 12px; color: #8a6a3a; }
.bm-earn-ico { font-size: 20px; line-height: 1; }
.bm-earn-sm { margin: 12px 16px 16px; font-size: 13.5px; }

/* ---------- gold loyalty coin ---------- */
.bm-coin { display: inline-block; vertical-align: middle; flex-shrink: 0; filter: drop-shadow(0 1px 1.5px rgba(120,80,0,.35)); }
.bm-earn { background: linear-gradient(135deg, #FFF8E1, #FFEFC2); border: 1px solid #F3D27A; align-items: center; }
.bm-earn b { color: #9A6400; font-size: 1.05em; }
.bm-earn-ico { font-size: 0; line-height: 0; }
.bm-earn:hover .bm-coin { animation: bmCoinSpin 1s ease; }
@keyframes bmCoinSpin { 0% { transform: rotateY(0); } 100% { transform: rotateY(360deg); } }
.bm-am-menu em.is-gold { background: linear-gradient(135deg, #FFE27A, #F5B301); color: #5a3a00; }
.bm-am-stats a.is-gold { background: linear-gradient(135deg, #FFFBEB, #FFF1C9); border-color: #F3D27A; }
.bm-am-stats a.is-gold strong { color: #9A6400; display: inline-flex; align-items: center; gap: 8px; }
.bm-am-hero.pts { background: linear-gradient(135deg, #FFF8E1 0%, #FFE9A8 100%); border-color: #F3D27A; justify-content: flex-start; gap: 18px; }
.bm-am-hero.pts strong { color: #9A6400; }
.bm-pts-coin .bm-coin { filter: drop-shadow(0 6px 10px rgba(154,100,0,.35)); animation: bmCoinFloat 3s ease-in-out infinite; }
@keyframes bmCoinFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.bm-pay-coin { background: transparent !important; }
.bm-am-row strong .bm-coin { margin-right: 2px; }
@media (prefers-reduced-motion: reduce) { .bm-pts-coin .bm-coin, .bm-earn:hover .bm-coin { animation: none; } }

/* ==========================================================================
   Product page — details column
   ========================================================================== */
.details_right { padding: 22px 24px !important; }
.pd { font-family: var(--bm-font); color: var(--bm-ink); }
.pd a { text-decoration: none; }
.pd-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--bm-faint); margin-bottom: 10px; }
.pd-crumb a { color: var(--bm-muted) !important; } .pd-crumb a:hover { color: var(--bm-navy) !important; }
.pd-title { font-size: 24px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; color: var(--bm-ink); }
.pd-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.pd-rating a { color: var(--bm-ink) !important; } .pd-rating a:hover { color: var(--bm-navy) !important; text-decoration: underline; }
.pd-stars { display: inline-flex; gap: 2px; }
.pd-star { width: 16px; height: 16px; display: inline-block; background: #E2E5E8; -webkit-mask: var(--pd-star) center/contain no-repeat; mask: var(--pd-star) center/contain no-repeat;
    --pd-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E"); }
.pd-star.full { background: #F5A623; }
.pd-star.half { background: linear-gradient(90deg, #F5A623 50%, #E2E5E8 50%); }
.pd-sep { color: #C9CED3; }
.pd-muted { color: var(--bm-muted); }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.pd-meta a { color: #1e6fd9 !important; font-weight: 600; }
.pd-best { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 10px; }
.pd-best-tag { background: #FFF4D6; border: 1px solid #F3D27A; color: #7A4A0E; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.pd-best a { color: #1e6fd9 !important; font-weight: 600; }
.pd-wants { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #3B4852; margin-bottom: 12px; }
.pd-wants .bm-ico { color: #e5484d; }
.pd-price-box { border: 1px solid #f3a3b5; border-radius: 8px; overflow: hidden; margin: 12px 0 5px; background: #fff; }
.pd-deal-label { background: #fff0f4; color: #d81743; font-size: 18px; font-weight: 800; padding: 8px 14px; border-bottom: 1px solid #f8d5df; }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; padding: 10px 14px 7px; margin: 0; }
.pd-price del { font-size: 15px; color: var(--bm-faint); font-family: var(--bm-font-latin); }
.pd-price strong { font-size: 34px; font-weight: 800; color: #d81743; font-family: var(--bm-font-latin); }
.pd-save { color: #d81743; font-weight: 700; font-size: 12px; background: #fff0f4; padding: 3px 8px; border-radius: 4px; }
.pd-price-note { padding: 0 14px 9px; color: var(--bm-muted); font-size: 12px; }
.pd-promo { background: linear-gradient(90deg, #fff0f4, #fff7f9); color: #c91b42; border: 1px solid #f6d2dc; border-radius: 4px; padding: 9px 12px; font-size: 13px; font-weight: 600; margin: 8px 0 10px; line-height: 1.5; }
.pd-promo-strip { display: flex; align-items: center; gap: 8px; }
.pd-promo-strip span { font-size: 12px; }
.pd-hl { display: flex; gap: 12px; font-size: 14px; margin: 6px 0 14px; }
.pd-hl-label { color: var(--bm-muted); white-space: nowrap; }
.pd-hl ul { margin: 0; padding-left: 16px; }
.pd-hl li { display: list-item !important; list-style: disc; color: #3B4852; margin-bottom: 4px; line-height: 1.5; }
.pd-hl li span { color: var(--bm-muted); }
.pd-hl li b { font-weight: 600; color: var(--bm-ink); }
.pd-opt { margin-bottom: 14px; }
.pd-opt-label { font-size: 14px; margin-bottom: 8px; color: var(--bm-muted); }
.pd-opt-label b { color: var(--bm-ink); }
.pd-swatches, .pd-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-swatch, .pd-size { position: relative; margin: 0; cursor: pointer; }
.pd-swatch input, .pd-size input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pd-swatch span { display: block; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 3px #fff; }
.pd-swatch input:checked + span { outline: 2.5px solid var(--bm-navy); outline-offset: 2px; }
.pd-size span { display: inline-flex; min-width: 46px; height: 38px; align-items: center; justify-content: center; padding: 0 12px; border: 1.5px solid var(--bm-line); border-radius: 10px; font-weight: 600; font-size: 14px; background: #fff; }
.pd-size input:checked + span { border-color: var(--bm-navy); background: var(--bm-navy); color: #fff; }
.pd-swatch input:focus-visible + span, .pd-size input:focus-visible + span { outline: 3px solid rgba(247,165,65,.6); }
.pd-stock { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.pd-stock small { width: 100%; font-size: 12.5px; font-weight: 500; color: #9a5b00; padding-left: 28px; }
.pd-stock-ok { width: 22px; height: 22px; border-radius: 50%; background: #1f9d61; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pd-stock.out { color: #b42318; }
.pd-stock-no { width: 22px; height: 22px; border-radius: 50%; background: #b42318; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.pd-buy { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.pd-qty { display: inline-flex !important; align-items: center; border: 1.5px solid var(--bm-line); border-radius: 10px; overflow: hidden; height: 50px; margin: 0 !important; }
.pd-qty span { width: 40px; height: 100%; display: flex !important; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; background: var(--bm-bg); user-select: none; border: 0 !important; }
.pd-qty input { width: 48px; height: 100%; border: 0 !important; text-align: center; font-weight: 700; font-size: 16px; }
.pd-btn { flex: 1; min-width: 140px; height: 50px; border-radius: 10px; font-weight: 700; font-size: 16px; font-family: var(--bm-font); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; border: 0; box-shadow: 0 6px 16px rgba(19,33,43,.12); transition: transform .1s, filter .15s; }
.pd-btn:hover { filter: brightness(1.05); } .pd-btn:active { transform: translateY(1px); }
.pd-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.pd-btn-buy { background: var(--bm-accent) !important; color: var(--bm-ink) !important; }
.pd-btn-cart { background: var(--bm-navy) !important; color: #fff !important; }
.pd-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 12px; }
.pd-link { position: static !important; width: auto !important; height: auto !important; box-shadow: none !important; background: transparent !important; border-radius: 0 !important;
    display: inline-flex !important; align-items: center; gap: 6px; padding: 4px 0 !important; font-size: 14px; color: #3B4852 !important; cursor: pointer; font-family: var(--bm-font); }
.pd-link:hover { color: var(--bm-navy) !important; transform: none !important; }
.pd-link.is-on { color: #e5484d !important; } .pd-link.is-on svg { fill: #e5484d; }
.pd-delivery { display: flex; gap: 10px; align-items: flex-start; background: transparent; border-radius: 0; padding: 0; font-size: 13.5px; color: #3B4852; }
.pd-delivery .bm-ico { color: var(--bm-navy); flex-shrink: 0; margin-top: 2px; }
.pd-delivery div { display: flex; flex-direction: column; }

.bm-pd-delivery-plain { margin: 18px 0 14px; background: #fff; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 14px 16px 6px; box-shadow: 0 2px 10px rgba(27,60,79,.05); }
.bm-pd-delivery-title { font-family: var(--bm-font-display); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bm-muted); margin-bottom: 10px; }
.bm-pd-delivery-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--bm-line); }
.bm-pd-delivery-row:first-of-type { border-top: none; padding-top: 0; }
.bm-pd-delivery-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--bm-mist); color: var(--bm-navy); display: flex; align-items: center; justify-content: center; }
.bm-pd-delivery-icon svg { width: 17px; height: 17px; }
.bm-pd-delivery-copy { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.bm-pd-delivery-copy strong { font-size: 14px; font-weight: 600; color: var(--bm-ink); line-height: 1.35; }
.bm-pd-delivery-copy small { font-size: 12px; color: var(--bm-faint); margin-top: 1px; }
.bm-pd-delivery-price { flex-shrink: 0; font-family: var(--bm-font-display); font-size: 13.5px; font-weight: 700; color: #fff; background: #FE5200; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.bm-pd-delivery-price.is-alt { background: #25D366; }
@media (max-width: 767px) {
    .bm-pd-delivery-plain { padding: 12px 14px 4px; }
    .bm-pd-delivery-copy strong { font-size: 13.5px; }
    .bm-pd-delivery-price { font-size: 12.5px; padding: 4px 10px; }
}
@media (max-width: 767px) {
    .details_right { padding: 16px !important; }
    .pd-title { font-size: 20px; }
    .pd-price strong { font-size: 26px; }
    .pd-buy .pd-qty { width: 100%; justify-content: space-between; }
    .pd-buy .pd-qty input { flex: 1; }
}

/* ---------- bundle packs ---------- */
.pd-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.pd-pack { position: relative; margin: 0; cursor: pointer; }
.pd-pack input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pd-pack > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 10px; border: 1.5px solid var(--bm-line); border-radius: 12px; background: #fff; height: 100%; transition: border-color .15s, box-shadow .15s; }
.pd-pack b { font-size: 14px; }
.pd-pack strong { font-size: 18px; font-weight: 800; color: var(--bm-navy); font-family: var(--bm-font-latin); }
.pd-pack small { font-size: 12px; color: var(--bm-muted); line-height: 1.35; }
.pd-pack small i { font-style: normal; color: #0f7b45; font-weight: 700; }
.pd-pack em { position: absolute; top: -9px; right: 8px; background: var(--bm-maroon); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.pd-pack input:checked + span { border-color: var(--bm-navy); box-shadow: 0 0 0 3px rgba(27,60,79,.12); background: #F7FAFB; }
.pd-pack input:focus-visible + span { outline: 3px solid rgba(247,165,65,.6); }
.pd-total { margin-top: 10px; font-size: 15px; }
.pd-total b { font-size: 18px; color: var(--bm-navy); font-family: var(--bm-font-latin); }
.pd-total span { color: var(--bm-muted); font-size: 13px; }
.pd-qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--bm-line); border-radius: 10px; overflow: hidden; height: 50px; flex: 0 0 auto; background: #fff; }
.pd-q { width: 40px; background: var(--bm-bg) !important; border: 0 !important; font-size: 20px; font-weight: 700; color: var(--bm-ink); cursor: pointer; padding: 0 !important; }
.pd-q:hover { background: #E9E4DA !important; }
.pd-qty input { width: 46px; border: 0 !important; text-align: center; font-weight: 700; font-size: 16px; padding: 0 !important; }

/* ---------- product video ---------- */
.pd-video-open { font-family: var(--bm-font); cursor: pointer; }
.pd-play { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #e5282d; color: #fff; font-size: 12px; padding-left: 2px; box-shadow: 0 4px 12px rgba(229,40,45,.35); }
.pd-video-chip { position: absolute; left: 22px; top: 18px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 4px 14px rgba(19,33,43,.18); font-weight: 700; font-size: 14px; color: var(--bm-ink); border: 0; }
.pd-video-chip .pd-play { width: 28px; height: 28px; }
.pd-video-card { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 12px; padding: 10px; border-radius: 14px; background: #fff; border: 1.5px solid var(--bm-line); text-align: left; transition: border-color .15s, box-shadow .15s; }
.pd-video-card:hover { border-color: #e5282d; box-shadow: 0 8px 20px rgba(19,33,43,.08); }
.pd-video-thumb { position: relative; flex: 0 0 120px; height: 68px; border-radius: 10px; background: #16222B center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.pd-video-text { display: flex; flex-direction: column; gap: 2px; }
.pd-video-text b { font-size: 15px; } .pd-video-text small { font-size: 12.5px; color: var(--bm-muted); }
.pd-video-side { width: 100%; border: 0; padding: 0; background: transparent; }
.pd-video-side .pd-video-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.pd-video-side .pd-play { width: 56px; height: 56px; font-size: 20px; }
.pd-video-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(10,16,22,.82); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pd-video-modal[hidden] { display: none; }
.pd-video-box { position: relative; width: min(960px, 100%); }
.pd-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.pd-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pd-video-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--bm-ink); font-size: 16px; font-weight: 800; border: 0; cursor: pointer; }
@media (max-width: 767px) { .pd-video-chip { left: 12px; top: 12px; } .pd-video-thumb { flex-basis: 96px; height: 56px; } }

/* ---------- WhatsApp chat ---------- */
.bm-wa { position: fixed; right: 20px; bottom: 90px; z-index: 1500; font-family: var(--bm-font); }
.bm-wa-fab { position: relative; width: 58px; height: 58px; border-radius: 50%; background: #25D366 !important; color: #fff !important; border: 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(37,211,102,.45); cursor: pointer; transition: transform .15s; }
.bm-wa-fab:hover { transform: scale(1.06); }
.bm-wa-dot { position: absolute; top: 4px; right: 4px; width: 13px; height: 13px; border-radius: 50%; background: #F7A541; border: 2px solid #fff; }
.bm-wa.is-open .bm-wa-dot { display: none; }
.bm-wa-panel { position: absolute; right: 0; bottom: 72px; width: 330px; max-width: calc(100vw - 32px); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(19,33,43,.25); animation: bmWaIn .18s ease; }
.bm-wa-panel[hidden] { display: none; }
@keyframes bmWaIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bm-wa-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px; background: #075E54; color: #fff; }
.bm-wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bm-wa-head div { flex: 1; min-width: 0; }
.bm-wa-head b { display: block; font-size: 15px; color: #fff; }
.bm-wa-head small { font-size: 12px; color: #CFE9E3; }
.bm-wa-x { background: transparent !important; color: #fff !important; border: 0; font-size: 16px; cursor: pointer; padding: 4px 6px !important; }
.bm-wa-body { padding: 14px; background: #ECE5DD; display: flex; flex-direction: column; gap: 10px; }
.bm-wa-bubble { position: relative; align-self: flex-start; max-width: 92%; background: #fff; border-radius: 0 12px 12px 12px; padding: 10px 12px; font-size: 14px; line-height: 1.55; color: #1f2a30; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bm-wa-prod { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 8px; font-size: 13px; }
.bm-wa-prod img { width: 48px !important; height: 48px !important; border-radius: 8px; object-fit: cover; }
.bm-wa-prod b { display: block; color: var(--bm-navy); font-family: var(--bm-font-latin); }
.bm-wa-go { display: flex !important; align-items: center; justify-content: center; gap: 8px; margin: 12px; height: 46px; border-radius: 12px; background: #25D366; color: #fff !important; font-weight: 700; font-size: 15px; }
.bm-wa-go:hover { background: #1EBE5A; }
@media (max-width: 991px) { .bm-wa { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); right: 14px; } .bm-wa-fab { width: 52px; height: 52px; } }
@media print { .bm-wa { display: none !important; } }

/* chat sits lowest in the corner; "back to top" goes above it */
.bm-wa { bottom: 20px; right: 20px; }
.scrolltop { right: 29px !important; bottom: 92px !important; }
@media (max-width: 991px) {
    .bm-wa { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); right: 14px; }
    .scrolltop { right: 20px !important; bottom: calc(146px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* ==========================================================================
   Listing pages (category / sub / child / search / hot deals)
   ========================================================================== */
.bm-ls { padding-top: 18px; }
.bm-ls-head { margin-bottom: 18px; }
.bm-ls-title { display: flex; align-items: center; gap: 14px; margin: 10px 0 4px; }
.bm-ls-icon { width: 56px !important; height: 56px !important; border-radius: 14px; object-fit: cover; background: #fff; border: 1px solid var(--bm-line); }
.bm-ls-title h1 { font-size: 28px; font-weight: 800; margin: 0; }
.bm-ls-title p { margin: 2px 0 0 !important; font-size: 14px; }
.bm-ls-children { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: none; }
.bm-ls-children::-webkit-scrollbar { display: none; }
.bm-ls-child { flex: 0 0 auto; display: flex !important; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; background: #fff; border: 1px solid var(--bm-line); border-radius: 999px; color: var(--bm-ink) !important; font-weight: 600; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.bm-ls-child:hover { border-color: var(--bm-navy); box-shadow: 0 6px 14px rgba(19,33,43,.08); }
.bm-ls-child-img { width: 38px; height: 38px; border-radius: 50%; background: #F2F6F8; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--bm-navy); }
.bm-ls-child-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bm-ls-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; }
.bm-ls-side { position: sticky; top: calc(var(--bm-head-h, 120px) + 14px); max-height: calc(100vh - var(--bm-head-h, 120px) - 28px); overflow-y: auto; background: #fff; border: 1px solid var(--bm-line); border-radius: 16px; padding: 6px 16px 16px; scrollbar-width: thin; }
.bm-ls-side-head { display: none; }
.bm-ls-box { padding: 14px 0; border-bottom: 1px solid var(--bm-line); }
.bm-ls-box:last-of-type { border-bottom: 0; }
.bm-ls-box h3 { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.bm-ls-links { margin: 0; padding: 0; }
.bm-ls-links li { display: block; }
.bm-ls-links a { display: block; padding: 6px 10px; border-radius: 8px; color: #3B4852 !important; font-size: 14px; }
.bm-ls-links a:hover { background: var(--bm-bg); }
.bm-ls-links a.is-active { background: #F2F6F8; color: var(--bm-navy) !important; font-weight: 700; }
.bm-ls-check { display: flex; align-items: center; gap: 10px; padding: 6px 0; margin: 0; cursor: pointer; font-size: 14px; }
.bm-ls-check input { width: 18px; height: 18px; accent-color: var(--bm-navy); margin: 0; }
.bm-ls-check span { flex: 1; }
.bm-ls-check em { font-style: normal; font-size: 12px; color: var(--bm-faint); background: var(--bm-bg); border-radius: 999px; padding: 1px 8px; }
.bm-ls-price { display: flex; align-items: flex-end; gap: 8px; }
.bm-ls-price label { flex: 1; margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--bm-muted); }
.bm-ls-price input { width: 100%; height: 40px; border: 1.5px solid #DAD3C7 !important; border-radius: 10px; padding: 0 10px !important; font-family: var(--bm-font-latin); }
.bm-ls-dash { padding-bottom: 10px; color: var(--bm-faint); }
.bm-ls-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bm-ls-quick button { font-size: 12.5px; padding: 5px 10px !important; border-radius: 999px; border: 1px solid var(--bm-line) !important; background: #fff !important; cursor: pointer; font-family: var(--bm-font); }
.bm-ls-quick button:hover { border-color: var(--bm-navy) !important; }
.bm-ls-apply { margin-top: 10px; width: 100%; height: 40px; border-radius: 10px; background: var(--bm-navy) !important; color: #fff !important; font-weight: 700; border: 0; cursor: pointer; font-family: var(--bm-font); }
.bm-ls-switch { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 0; cursor: pointer; font-size: 14px; }
.bm-ls-switch input { position: absolute; opacity: 0; }
.bm-ls-switch span { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #D5DADF; flex-shrink: 0; transition: background .15s; }
.bm-ls-switch span::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.bm-ls-switch input:checked + span { background: var(--bm-navy); }
.bm-ls-switch input:checked + span::after { transform: translateX(16px); }
.bm-ls-switch input:focus-visible + span { outline: 3px solid rgba(247,165,65,.6); }
.bm-ls-reset { display: block; text-align: center; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--bm-maroon) !important; }
.bm-ls-bar { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--bm-line); border-radius: 14px; padding: 10px 14px; margin-bottom: 12px; }
.bm-ls-open { display: none; align-items: center; gap: 6px; height: 38px; padding: 0 14px !important; border-radius: 10px; border: 1.5px solid var(--bm-line) !important; background: #fff !important; font-weight: 700; font-family: var(--bm-font); cursor: pointer; }
.bm-ls-open em { font-style: normal; background: var(--bm-accent); color: var(--bm-ink); border-radius: 999px; font-size: 11px; padding: 1px 7px; }
.bm-ls-count { flex: 1; font-size: 14px; color: var(--bm-muted); }
.bm-ls-sort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--bm-muted); }
.bm-ls-sort select { height: 40px; border: 1.5px solid var(--bm-line); border-radius: 10px; padding: 0 34px 0 12px; font-family: var(--bm-font); font-size: 14px; font-weight: 600; color: var(--bm-ink); background: #fff; }
.bm-ls-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.bm-ls-chip { display: inline-flex !important; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #F2F6F8; color: var(--bm-navy) !important; font-size: 13px; font-weight: 600; }
.bm-ls-chip span { font-size: 11px; opacity: .7; }
.bm-ls-chip:hover { background: #E3EBF0; }
.bm-ls-products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (min-width: 1440px) { .bm-ls-products { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
.bm-ls-pages { margin-top: 20px; display: flex; justify-content: center; }
.bm-ls-pages .pagination { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.bm-ls-pages .page-item { display: block !important; }
.bm-ls-pages .page-link { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px !important; border: 1px solid var(--bm-line); background: #fff; color: var(--bm-ink) !important; font-weight: 600; }
.bm-ls-pages .page-item.active .page-link { background: var(--bm-navy); border-color: var(--bm-navy); color: #fff !important; }
.bm-ls-pages .page-item.disabled .page-link { opacity: .45; }
.bm-ls-empty { padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bm-ls-empty-ico { width: 64px; height: 64px; border-radius: 50%; background: #F2F6F8; color: var(--bm-navy); display: flex; align-items: center; justify-content: center; }
.bm-ls-empty h2 { font-size: 20px; font-weight: 800; margin: 6px 0 0; }
.bm-ls-backdrop { position: fixed; inset: 0; background: rgba(10,16,22,.45); z-index: 1990; }
.bm-ls-backdrop[hidden] { display: none; }
@media (max-width: 1279px) { .bm-ls-products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 991px) {
    .bm-ls-grid { grid-template-columns: minmax(0, 1fr); }
    .bm-ls-side { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); max-height: none; z-index: 2000; border-radius: 0 16px 16px 0; transform: translateX(-105%); transition: transform .25s ease; padding-top: 0; }
    .bm-ls-side.is-open { transform: none; }
    .bm-ls-side-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; padding: 14px 0; border-bottom: 1px solid var(--bm-line); z-index: 1; }
    .bm-ls-side-head b { font-size: 17px; }
    .bm-ls-close { background: transparent !important; border: 0; font-size: 18px; cursor: pointer; }
    .bm-ls-open { display: inline-flex; }
    .bm-ls-products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
    .bm-ls-title h1 { font-size: 22px; }
    .bm-ls-icon { width: 44px !important; height: 44px !important; }
    .bm-ls-bar { flex-wrap: wrap; padding: 8px 10px; }
    .bm-ls-count { order: 3; flex-basis: 100%; font-size: 13px; }
    .bm-ls-sort span { display: none; }
    .bm-ls-sort { margin-left: auto; }
    .bm-ls-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ---------- listing v2: tiles, radio lists, collapsible boxes, card meta ---------- */
.bm-ls-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.bm-ls-tiles.is-long:not(.is-open) { max-height: 124px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.bm-ls-tile { display: flex !important; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; background: #fff; border: 1px solid var(--bm-line); border-radius: 12px; color: var(--bm-ink) !important; font-weight: 600; font-size: 13.5px; min-height: 54px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.bm-ls-tile:hover { border-color: var(--bm-navy); box-shadow: 0 6px 14px rgba(19,33,43,.08); transform: translateY(-1px); }
.bm-ls-tile-img { width: 38px; height: 38px; border-radius: 10px; background: #F2F6F8; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--bm-navy); }
.bm-ls-tile-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bm-ls-tile-name { line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bm-ls-more-wrap { display: flex; justify-content: center; margin-top: 10px; }
.bm-ls-more { height: 38px; padding: 0 18px !important; border-radius: 999px; border: 1.5px solid #9DB9CC !important; background: #fff !important; color: var(--bm-navy); font-weight: 700; font-family: var(--bm-font); cursor: pointer; }
.bm-ls-more .lbl-less { display: none; } .bm-ls-more.is-open .lbl-less { display: inline; } .bm-ls-more.is-open .lbl-more { display: none; }
details.bm-ls-box > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 800; margin-bottom: 10px; }
details.bm-ls-box > summary::-webkit-details-marker { display: none; }
details.bm-ls-box > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--bm-muted); border-bottom: 2px solid var(--bm-muted); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
details.bm-ls-box:not([open]) > summary { margin-bottom: 0; }
details.bm-ls-box:not([open]) > summary::after { transform: rotate(-45deg); }
.bm-ls-scroll { max-height: 250px; overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.bm-ls-radio { display: flex !important; align-items: center; gap: 10px; padding: 6px 4px; color: #3B4852 !important; font-size: 14px; border-radius: 8px; }
.bm-ls-radio::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #AEB6BD; flex-shrink: 0; background: #fff; box-sizing: border-box; }
.bm-ls-radio:hover { background: var(--bm-bg); }
.bm-ls-radio.is-on { color: var(--bm-navy) !important; font-weight: 700; }
.bm-ls-radio.is-on::before { border: 5px solid var(--bm-navy); }
.bm-ls-radio em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--bm-faint); background: var(--bm-bg); border-radius: 999px; padding: 1px 8px; font-weight: 500; }
.bm-ls-find { width: 100%; height: 36px; border: 1.5px solid var(--bm-line) !important; border-radius: 10px; padding: 0 10px !important; margin-bottom: 8px; font-family: var(--bm-font); font-size: 13.5px; }
.bm-ls-check[hidden] { display: none !important; }
.bm-card-meta { display: flex; align-items: center; flex-wrap: nowrap; gap: 0 7px; margin: 2px 0 6px; font-size: 11.5px; line-height: 1.2; color: var(--bm-muted); white-space: nowrap; min-width: 0; overflow: hidden; }
.bm-card-rate { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.bm-card-stars { color: #F59E0B; font-size: 12px; letter-spacing: 0; line-height: 1; }
.bm-card-rate strong { color: #303B42; font-size: 11.5px; font-weight: 800; }
.bm-card-rate em { font-style: normal; color: var(--bm-muted); }
.bm-card-sold { color: #5D6970; white-space: nowrap; font-weight: 600; flex-shrink: 0; }
.bm-card-stock.in { color: #0f7b45; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.bm-card-stock.out { color: #b42318; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.bm-ls-sort { display: none; }
@media (max-width: 991px) { .bm-ls-sort { display: flex; } }
@media (max-width: 767px) { .bm-ls-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bm-ls-tiles.is-long:not(.is-open) { max-height: 190px; } }

/* ---------- listing hero box ---------- */
.bm-ls-hero { margin-top: 12px; background: #fff; border: 1px solid var(--bm-line); border-radius: 18px; overflow: hidden; }
.bm-ls-hero-top { position: relative; display: flex; align-items: center; gap: 18px; padding: 22px 24px; background:
    radial-gradient(circle at 92% 20%, rgba(247,165,65,.18) 0 120px, transparent 121px),
    linear-gradient(120deg, #1B3C4F 0%, #24506A 60%, #2C5F7C 100%); color: #fff; }
.bm-ls-hero-icon { width: 68px; height: 68px; border-radius: 16px; background: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--bm-navy); overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.bm-ls-hero-icon img { width: 100% !important; height: 100% !important; object-fit: cover; }
.bm-ls-hero-text { flex: 1; min-width: 0; }
.bm-ls-hero-text h1 { font-size: 28px; font-weight: 800; margin: 0; color: #fff; }
.bm-ls-hero-text p { margin: 4px 0 0 !important; font-size: 14px; color: #C9D8E1 !important; }
.bm-ls-stats { display: flex; gap: 10px; margin: 0; }
.bm-ls-stats div { min-width: 96px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.bm-ls-stats dt { font-size: 12px; font-weight: 500; color: #B9CCD6; }
.bm-ls-stats dd { margin: 2px 0 0; font-size: 19px; font-weight: 800; color: #fff; font-family: var(--bm-font-latin); }
.bm-ls-hero .bm-ls-tiles { margin: 0; padding: 16px 18px; background: #FBFAF7; }
.bm-ls-hero .bm-ls-more-wrap { margin: 0; padding: 0 0 14px; background: #FBFAF7; }
.bm-ls-head .bm-crumb { margin-bottom: 0; }
@media (max-width: 991px) { .bm-ls-stats div { min-width: 0; padding: 8px 10px; } }
@media (max-width: 767px) {
    .bm-ls-hero-top { flex-wrap: wrap; padding: 16px; gap: 12px; }
    .bm-ls-hero-icon { width: 52px; height: 52px; border-radius: 12px; }
    .bm-ls-hero-text h1 { font-size: 21px; }
    .bm-ls-hero-text p { font-size: 12.5px; }
    .bm-ls-stats { width: 100%; }
    .bm-ls-stats div { flex: 1; }
    .bm-ls-stats dd { font-size: 16px; }
    .bm-ls-hero .bm-ls-tiles { padding: 12px; }
}


/* Related products: restore BongoMart navy/orange theme without affecting other cards */
.related-product-section {
    background: var(--bm-bg, #F6F4F0) !important;
    padding: 24px 0 30px !important;
}
.related-product-section .related-title h5 {
    color: var(--bm-navy, #1B3C4F) !important;
    font-family: var(--bm-font-display, "Anek Bangla", sans-serif) !important;
    font-weight: 700 !important;
    border-left: 4px solid var(--bm-accent, #F7A541);
    padding-left: 12px;
}
.related-product-section .product_item {
    background: #fff !important;
    border: 1px solid var(--bm-line, #E7E2DA) !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(27, 60, 79, .06) !important;
}
.related-product-section .product_item_inner,
.related-product-section .pro_img,
.related-product-section .pro_des { background: #fff !important; }
.related-product-section .pro_img img { object-fit: contain; }
.related-product-section .pro_name a { color: var(--bm-ink, #16222B) !important; }
.related-product-section .pro_name a:hover { color: var(--bm-navy, #1B3C4F) !important; }
.related-product-section .pro_price p { color: var(--bm-maroon, #7A1414) !important; font-weight: 700; }
.related-product-section .pro_price del { color: var(--bm-faint, #8A949C) !important; font-weight: 400; }
.related-product-section .sale-badge .sale-badge-box { background: var(--bm-accent, #F7A541) !important; border-color: var(--bm-accent, #F7A541) !important; color: var(--bm-navy-dark, #13212B) !important; }
.related-product-section .sale-badge-text,
.related-product-section .sale-badge-text p { color: var(--bm-navy-dark, #13212B) !important; }
.related-product-section .pro_btn .addcartbutton,
.related-product-section .pro_btn button { background: var(--bm-navy, #1B3C4F) !important; border: 1px solid var(--bm-navy, #1B3C4F) !important; color: #fff !important; border-radius: 8px !important; }
.related-product-section .pro_btn .addcartbutton:hover,
.related-product-section .pro_btn button:hover { background: var(--bm-accent, #F7A541) !important; border-color: var(--bm-accent, #F7A541) !important; color: var(--bm-navy-dark, #13212B) !important; }
@media (max-width: 767px) {
    .related-product-section { padding: 18px 0 24px !important; }
    .related-product-section .product_item { border-radius: 10px !important; }
}


/* Category page hero slider: scoped styles, maximum height 250px */
.bm-category-hero{position:relative;isolation:isolate;height:250px;max-height:250px;min-height:0;overflow:hidden;border-radius:16px;background:linear-gradient(115deg,var(--bm-navy,#102c3b),#174b5b 70%,#236274);margin:0 0 22px;box-shadow:0 8px 22px rgba(9,35,49,.12)}
.bm-category-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 34px;opacity:0;visibility:hidden;transition:opacity .45s ease,visibility .45s ease;color:#fff!important;text-decoration:none!important}
.bm-category-slide.is-active{opacity:1;visibility:visible;z-index:1}
.bm-category-slide-copy{position:relative;z-index:2;min-width:0;max-width:62%;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.bm-category-kicker{display:inline-flex;padding:4px 11px;border-radius:99px;background:rgba(247,165,65,.18);color:#ffc16b;font-size:12px;font-weight:700}
.bm-category-slide h2{margin:0;color:#fff;font-size:clamp(17px,2vw,25px);font-weight:800;line-height:1.25;max-width:100%}
.bm-category-slide-price{display:flex;align-items:center;gap:10px}.bm-category-slide-price strong{font-size:23px;color:#fff;font-weight:800}.bm-category-slide-price del{font-size:14px;color:#cbd8df}
.bm-category-slide-cta{display:inline-flex;align-items:center;gap:8px;margin-top:2px;padding:7px 14px;border-radius:8px;background:var(--bm-accent,#f7a541);color:#172b35;font-size:13px;font-weight:800}
.bm-category-slide-image{position:relative;z-index:1;flex:0 0 35%;height:100%;display:flex;align-items:center;justify-content:center;min-width:0}.bm-category-slide-image img{display:block;width:100%;height:100%;max-height:205px;object-fit:contain;border-radius:12px}
.bm-category-slider-dots{position:absolute;z-index:3;left:34px;bottom:12px;display:flex;gap:7px}.bm-category-dot{width:8px;height:8px;padding:0!important;border:0;border-radius:99px;background:rgba(255,255,255,.45)!important;cursor:pointer}.bm-category-dot.is-active{width:24px;background:var(--bm-accent,#f7a541)!important}
@media(max-width:767px){.bm-category-hero{height:190px;max-height:190px;border-radius:12px;margin-bottom:16px}.bm-category-slide{padding:16px 15px;gap:8px}.bm-category-slide-copy{max-width:65%;gap:6px}.bm-category-slide h2{font-size:16px;line-height:1.25}.bm-category-slide-price strong{font-size:18px}.bm-category-slide-price del{font-size:12px}.bm-category-slide-cta{font-size:11px;padding:6px 10px}.bm-category-slide-image{flex-basis:34%}.bm-category-slide-image img{max-height:150px}.bm-category-slider-dots{left:16px;bottom:9px}}

/* Category listing product hero slider — merged into current theme */
.bm-ls-featured {
    position: relative;
    height: 250px;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 18px;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: var(--bm-navy, #1B3C4F);
    isolation: isolate;
}
.bm-ls-featured::before {
    content: "";
    position: absolute;
    z-index: 0;
    right: -45px;
    top: -135px;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: var(--bm-navy-2, #24506A);
    pointer-events: none;
}
.bm-ls-featured-head {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 14px;
    margin: 0 !important;
    justify-content: flex-end !important;
}
.bm-ls-featured-nav { display: flex; gap: 8px; }
.bm-ls-featured-nav button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(255,255,255,.13);
    color: #fff;
    font-size: 25px;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.bm-ls-featured-nav button:hover { background: rgba(255,255,255,.25); }
.bm-ls-featured-carousel {
    position: relative;
    z-index: 1;
    display: flex !important;
    height: 100%;
    gap: 0 !important;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.bm-ls-featured-carousel::-webkit-scrollbar { display: none; }
.bm-ls-featured-item {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100%;
    min-width: 0;
    scroll-snap-align: start;
}
.bm-ls-featured-item .bm-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    min-height: 0;
    padding: 14px 54px 14px 18px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.bm-ls-featured-item .bm-card-img {
    flex: 0 0 30%;
    width: 30%;
    height: 100%;
    min-height: 0;
    max-height: 222px;
    aspect-ratio: auto;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    overflow: hidden;
}
.bm-ls-featured-item .bm-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.bm-ls-featured-item .bm-card-body {
    min-width: 0;
    min-height: 0;
    justify-content: center;
    padding: 8px clamp(18px, 4vw, 54px);
    gap: 7px;
    color: #fff;
}
.bm-ls-featured-item .bm-card-name {
    height: auto;
    max-height: 2.7em;
    overflow: hidden;
    color: #fff !important;
    font-size: clamp(18px, 1.7vw, 26px);
    font-weight: 700;
    line-height: 1.35;
}
.bm-ls-featured-item .bm-card-name:hover { color: #fff !important; }
.bm-ls-featured-item .bm-card-meta,
.bm-ls-featured-item .bm-card-delivery { color: #d3e0e7; }
.bm-ls-featured-item .bm-price-new { font-size: clamp(20px, 1.8vw, 28px); color: var(--bm-accent, #F7A541); }
.bm-ls-featured-item .bm-price-old { color: #c4d0d7; }
.bm-ls-featured-item .bm-card-cta { max-width: 230px; }
.bm-ls-featured-item .bm-add { background: var(--bm-accent, #F7A541); border-color: var(--bm-accent, #F7A541); color: #172d3a; }
@media (max-width: 767px) {
    .bm-ls-featured { height: 190px; border-radius: 13px; }
    .bm-ls-featured-head { top: 8px; right: 8px; }
    .bm-ls-featured-nav { gap: 5px; }
    .bm-ls-featured-nav button { width: 28px; height: 28px; font-size: 21px; }
    .bm-ls-featured-item .bm-card { padding: 36px 10px 8px; align-items: center; }
    .bm-ls-featured-item .bm-card-img { flex-basis: 38%; width: 38%; max-height: 145px; border-radius: 10px; }
    .bm-ls-featured-item .bm-card-img img { padding: 5px; }
    .bm-ls-featured-item .bm-card-body { padding: 8px 10px; gap: 5px; }
    .bm-ls-featured-item .bm-card-name { font-size: 14px; max-height: 4.05em; line-height: 1.35; }
    .bm-ls-featured-item .bm-card-meta { font-size: 11px; }
    .bm-ls-featured-item .bm-price-new { font-size: 18px; }
    .bm-ls-featured-item .bm-card-cta { max-width: 100%; }
}


/* Related promoted products - soft pastel sponsored cards */
.bm-related-sponsored-section{margin:34px 0 38px;padding:30px 0 34px;border-radius:22px;background:transparent;position:relative;isolation:isolate;overflow:visible}
.bm-related-sponsored-section:before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);border-radius:0;background:linear-gradient(135deg,var(--bm-navy-dark) 0%,var(--bm-navy) 55%,var(--bm-navy-2) 100%);pointer-events:none}
.bm-related-sponsored-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:0 14px 20px}
.bm-related-sponsored-heading h5{margin:4px 0 0;color:#fff;font-family:var(--bm-font-display);font-size:23px;font-weight:800}
.bm-related-sponsored-eyebrow{display:inline-flex;align-items:center;gap:6px;color:var(--bm-accent);font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.bm-related-sponsored-eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--bm-accent);display:inline-block}
.bm-related-sponsored-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:0 14px}
.bm-related-sponsored-card{position:relative;min-width:0;display:flex;flex-direction:column;min-height:232px;border-radius:20px;padding:20px 20px 18px;overflow:hidden;text-decoration:none!important;color:var(--bm-ink)!important;box-shadow:0 6px 18px rgba(0,0,0,.22);transition:box-shadow .2s ease,transform .2s ease}
.bm-related-sponsored-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(0,0,0,.32)}
.bm-related-sponsored-card:nth-child(4n+1){background:#F7E9D7}
.bm-related-sponsored-card:nth-child(4n+2){background:#DCEBF3}
.bm-related-sponsored-card:nth-child(4n+3){background:#E3F0E1}
.bm-related-sponsored-card:nth-child(4n){background:#F3E1EA}
.bm-related-sponsored-body{position:relative;z-index:2;max-width:58%;display:flex;flex-direction:column;flex:1}
.bm-related-sponsored-eyebrow-card{font-size:11.5px;font-weight:800;letter-spacing:.02em;color:var(--bm-maroon)}
.bm-related-sponsored-name{margin-top:8px;font-family:var(--bm-font-display);font-size:16px;line-height:1.32;font-weight:800;color:var(--bm-ink);max-height:2.7em;overflow:hidden}
.bm-related-sponsored-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:7px;margin-top:10px}
.bm-related-sponsored-price strong{font-family:var(--bm-font-display);font-size:17px;font-weight:800;color:var(--bm-navy)}
.bm-related-sponsored-price del{font-size:11.5px;color:var(--bm-faint)}
.bm-related-sponsored-off{font-size:11px;font-weight:800;color:#fff;background:var(--bm-accent-dark);padding:2px 7px;border-radius:999px}
.bm-related-sponsored-cta{margin-top:auto;padding-top:14px;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:var(--bm-ink)}
.bm-related-sponsored-card:hover .bm-related-sponsored-cta{color:var(--bm-accent-dark)}
.bm-related-sponsored-image{position:absolute;right:0;bottom:0;width:46%;aspect-ratio:1/1;border-top-left-radius:20px;overflow:hidden;box-shadow:-8px -8px 20px rgba(0,0,0,.04)}
.bm-related-sponsored-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:991px){.bm-related-sponsored-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bm-related-sponsored-heading h5{font-size:20px}}
@media(max-width:575px){.bm-related-sponsored-section{margin:22px 0 26px;padding:18px 0;border-radius:14px}.bm-related-sponsored-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:0 10px}.bm-related-sponsored-heading{margin:0 10px 14px}.bm-related-sponsored-heading h5{font-size:17px}.bm-related-sponsored-card{min-height:190px;padding:15px 15px 14px;border-radius:16px}.bm-related-sponsored-body{max-width:55%}.bm-related-sponsored-name{font-size:13px}.bm-related-sponsored-price strong{font-size:15px}.bm-related-sponsored-image{width:50%;border-top-left-radius:16px}}

/* Product Details - Phone & WhatsApp Order Buttons */
.pd-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
}

.pd-contact-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    transition: .2s ease;
}

.pd-contact-btn svg {
    flex: 0 0 auto;
}

.pd-contact-call {
    color: #fff !important;
    background: #173f55;
    border: 1px solid #173f55;
}

.pd-contact-call:hover {
    color: #fff !important;
    background: #0f3042;
}

.pd-contact-whatsapp {
    color: #fff !important;
    background: #25D366;
    border: 1px solid #25D366;
}

.pd-contact-whatsapp:hover {
    color: #fff !important;
    background: #1da851;
}

@media (max-width: 575px) {
    .pd-contact-actions {
        grid-template-columns: 1fr;
    }

    .pd-contact-btn {
        width: 100%;
    }
}
/* Related sponsored products: four fixed 300x300 promotional tiles */


/* ======================================================================
   Customer dashboard — compact colorful stats row (additive UI only)
   Keeps existing dashboard markup/functionality unchanged.
   ====================================================================== */
.bm-am-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}
.bm-am-stats a{min-width:0;padding:13px 14px;border-radius:13px;gap:1px;box-shadow:0 2px 8px rgba(19,33,43,.035);transition:transform .15s,box-shadow .15s,border-color .15s}
.bm-am-stats a:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(19,33,43,.08)}
.bm-am-stats small{font-size:12px}
.bm-am-stats strong{font-size:22px;line-height:1.2}
.bm-am-stats span{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bm-am-stats a:nth-child(1){background:linear-gradient(135deg,#eef7ff 0%,#f8fbff 100%);border-color:#cfe3f8}
.bm-am-stats a:nth-child(1) small,.bm-am-stats a:nth-child(1) strong{color:#1769aa}
.bm-am-stats a:nth-child(2){background:linear-gradient(135deg,#effbf4 0%,#fbfffc 100%);border-color:#cfead9}
.bm-am-stats a:nth-child(2) small,.bm-am-stats a:nth-child(2) strong{color:#147a4b}
.bm-am-stats a:nth-child(3){background:linear-gradient(135deg,#f5f1ff 0%,#fcfaff 100%);border-color:#ddd1fa}
.bm-am-stats a:nth-child(3) small,.bm-am-stats a:nth-child(3) strong{color:#6440b8}
.bm-am-stats a:nth-child(4){background:linear-gradient(135deg,#fff8df 0%,#fffdf4 100%);border-color:#f0d486}
.bm-am-stats a:nth-child(4) small,.bm-am-stats a:nth-child(4) strong{color:#9a6400}
.bm-am-stats a:nth-child(5){background:linear-gradient(135deg,#fff0f3 0%,#fffafd 100%);border-color:#f2cbd4}
.bm-am-stats a:nth-child(5) small,.bm-am-stats a:nth-child(5) strong{color:#b43b5a}
.bm-am-stats a.is-gold{background:linear-gradient(135deg,#fff8df 0%,#fffdf4 100%);border-color:#f0d486}
.bm-am-stats a.is-gold strong{color:#9a6400}

@media (max-width:1279px) and (min-width:992px){
    .bm-am-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
    .bm-am-stats a{padding:11px 10px}
    .bm-am-stats strong{font-size:20px}
    .bm-am-stats small{font-size:11.5px}
    .bm-am-stats span{font-size:10.5px}
}
@media (max-width:991px){
    .bm-am-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:575px){
    .bm-am-stats{gap:8px}
    .bm-am-stats a{padding:10px 11px;border-radius:11px}
    .bm-am-stats strong{font-size:19px}
}

/* ---------- home page admin ad: 1350x100 ---------- */
.bm-home-ad-wrap {
    width: 100%;
    margin: 20px auto 0;
    display: flex;
    justify-content: center;
}
.bm-home-ad {
    display: block;
    width: min(1450px, 100%);
    height: 100px;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
}
.bm-home-ad img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 767px) {
    .bm-home-ad-wrap { margin-top: 20px; padding: 0 12px; box-sizing: border-box; }
    .bm-home-ad { width: 100%; height: auto; aspect-ratio: 13.5 / 1; }
    .bm-home-ad img { object-fit: cover; }
}

/* ==========================================================================
   Standalone customer login — Bongo Mart premium auth experience
   ========================================================================== */
body.bm-standalone-auth { background: #f5f2ec !important; }
body.bm-standalone-auth #content { min-height: 100vh; }
.bm-login-page { min-height: 100vh; padding: 28px; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.bm-login-shell {
    width: min(1240px, 100%); min-height: 760px; display: grid; grid-template-columns: 1fr 1fr;
    background: #fff; border: 1px solid rgba(27,60,79,.08); border-radius: 30px; overflow: hidden;
    box-shadow: 0 28px 80px rgba(19,33,43,.14);
}
.bm-login-hero {
    position: relative; overflow: hidden; min-width: 0; padding: 52px 52px 38px; color: #fff;
    background: linear-gradient(145deg, #122a38 0%, #173f52 55%, #1b3c4f 100%);
    display: flex; flex-direction: column; isolation: isolate;
}
.bm-login-hero::after {
    content: ""; position: absolute; inset: auto -16% -25% -12%; height: 48%; z-index: -1;
    background: radial-gradient(circle at 50% 20%, rgba(247,165,65,.30), transparent 56%);
}
.bm-login-hero-glow { position: absolute; border-radius: 999px; filter: blur(1px); z-index: -1; pointer-events: none; }
.bm-login-hero-glow-one { width: 320px; height: 320px; right: -150px; top: -130px; background: rgba(247,165,65,.16); }
.bm-login-hero-glow-two { width: 260px; height: 260px; left: -140px; bottom: -120px; background: rgba(255,255,255,.05); }
.bm-login-brand { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.bm-login-logo-link { display: inline-flex; align-items: center; background: #fff; border-radius: 13px; padding: 8px 13px; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.bm-login-logo { width: 170px; height: auto; display: block; }
.bm-login-brand-pill { padding: 7px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); color: #d8e5eb; font: 600 12px var(--bm-font-latin); }
.bm-login-hero-copy { position: relative; z-index: 2; margin-top: 58px; max-width: 500px; }
.bm-login-kicker { display: inline-block; color: #ffc66f; font: 800 11px/1.3 var(--bm-font-latin); letter-spacing: 1.7px; }
.bm-login-hero-copy h2 { margin: 13px 0 12px; color: #fff; font: 800 clamp(38px, 4vw, 56px)/1.06 var(--bm-font-display); letter-spacing: -.8px; }
.bm-login-hero-copy h2 span { color: #ffb44f; }
.bm-login-hero-copy p { max-width: 460px; margin: 0; color: #b9ccd6; font-size: 16px; line-height: 1.85; }
.bm-login-showcase { position: relative; height: 255px; margin: 8px -10px 12px; }
.bm-login-orbit { position: absolute; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.bm-login-orbit-one { width: 320px; height: 160px; transform: translate(-50%,-50%) rotate(-9deg); }
.bm-login-orbit-two { width: 430px; height: 220px; transform: translate(-50%,-50%) rotate(11deg); border-color: rgba(247,165,65,.18); }
.bm-login-package { position: absolute; left: 50%; top: 53%; width: 205px; height: 132px; transform: translate(-50%,-50%); border-radius: 16px; background: linear-gradient(145deg,#e9a252,#f8c176); box-shadow: 0 26px 42px rgba(0,0,0,.26); border: 1px solid rgba(255,255,255,.24); }
.bm-login-package::before, .bm-login-package::after { content:""; position:absolute; background:rgba(113,65,20,.18); }
.bm-login-package::before { width:100%; height:2px; top:42px; left:0; }
.bm-login-package::after { width:2px; height:100%; top:0; left:54%; }
.bm-login-package-tape { position:absolute; top:0; left:43%; width:34px; height:42px; background:rgba(255,232,191,.72); border-left:1px solid rgba(113,65,20,.12); border-right:1px solid rgba(113,65,20,.12); }
.bm-login-package-mark { position:absolute; left:18px; bottom:17px; display:flex; align-items:center; gap:9px; color:#173446; }
.bm-login-package-mark span { font: 700 11px/1.05 var(--bm-font-latin); letter-spacing:.4px; }
.bm-login-package-mark b { color:#d86518; }
.bm-login-float { position:absolute; width:50px; height:50px; border-radius:15px; display:flex; align-items:center; justify-content:center; color:#fff; background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.14); box-shadow:0 14px 28px rgba(0,0,0,.16); backdrop-filter:blur(8px); }
.bm-login-float-phone { left:14%; top:30%; transform:rotate(-8deg); }
.bm-login-float-truck { right:12%; top:16%; transform:rotate(7deg); color:#ffc16a; }
.bm-login-float-gift { right:19%; bottom:7%; transform:rotate(-8deg); color:#ffc16a; }
.bm-login-dash { position:absolute; right:17%; top:37%; width:74px; height:28px; border-top:2px dashed rgba(247,165,65,.6); border-radius:50%; transform:rotate(-28deg); }
.bm-login-benefits { margin-top: auto; display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(255,255,255,.12); padding-top:25px; }
.bm-login-benefit { display:flex; gap:10px; padding:0 15px; min-width:0; }
.bm-login-benefit:first-child { padding-left:0; }
.bm-login-benefit:last-child { padding-right:0; }
.bm-login-benefit + .bm-login-benefit { border-left:1px solid rgba(255,255,255,.10); }
.bm-login-benefit > span { width:38px; height:38px; flex:0 0 38px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:#ffb34f; background:rgba(247,165,65,.10); }
.bm-login-benefit strong { display:block; color:#fff; font-size:13px; line-height:1.4; }
.bm-login-benefit small { display:block; color:#9eb4bf; font-size:11px; line-height:1.45; margin-top:3px; }
.bm-login-form-panel { background:#fff; display:flex; align-items:center; }
.bm-login-form-inner { width:min(100%, 530px); margin:0 auto; padding:46px 58px 32px; box-sizing:border-box; }
.bm-login-topline { display:flex; justify-content:space-between; align-items:center; min-height:35px; margin-bottom:30px; }
.bm-login-mobile-brand { display:none; }
.bm-login-language { display:flex; align-items:center; gap:11px; margin-left:auto; font-size:13px; }
.bm-login-language a { color:#70808b; text-decoration:none; font-weight:600; }
.bm-login-language a:hover, .bm-login-language a.is-active { color:var(--bm-navy); }
.bm-login-language span { width:1px; height:17px; background:#d7dfe2; }
.bm-login-heading { position:relative; padding-left:0; }
.bm-login-heading-icon { width:42px; height:42px; border-radius:13px; display:flex; align-items:center; justify-content:center; background:#eaf0f2; color:var(--bm-navy); margin-bottom:17px; }
.bm-login-eyebrow { display:block; color:#f04b2f; font:800 11px/1.3 var(--bm-font-latin); letter-spacing:2px; margin-bottom:8px; }
.bm-login-heading h1 { margin:0; color:#102c3e; font:800 42px/1.08 var(--bm-font-display); letter-spacing:-.8px; }
.bm-login-heading p { margin:9px 0 0; color:#77858d; font-size:14px; line-height:1.65; }
.bm-login-methods { display:grid; grid-template-columns:1fr 1fr; gap:5px; margin:27px 0 22px; padding:4px; border:1px solid #e1e7ea; background:#f6f8f9; border-radius:14px; }
.bm-login-method { height:47px; border:0; border-radius:10px; background:transparent; color:#5e707c; display:flex; align-items:center; justify-content:center; gap:8px; font:700 14px var(--bm-font-latin); cursor:pointer; transition:.18s ease; }
.bm-login-method .bm-ico { color:currentColor; }
.bm-login-method.is-active { color:#fff; background:var(--bm-navy); box-shadow:0 7px 16px rgba(27,60,79,.18); }
.bm-login-field { margin-bottom:17px; }
.bm-login-field label { display:block; color:#263d4b; font-size:13px; font-weight:700; margin:0 0 8px; }
.bm-login-input { min-height:54px; display:flex; align-items:center; gap:11px; padding:0 15px; border:1px solid #d6dfe4; border-radius:13px; background:#fff; box-sizing:border-box; transition:.18s ease; }
.bm-login-input:focus-within { border-color:#3c6377; box-shadow:0 0 0 4px rgba(27,60,79,.08); }
.bm-login-input.is-invalid { border-color:#d9534f; }
.bm-login-input > .bm-ico { color:#82919a; }
.bm-login-input input { flex:1; min-width:0; height:52px; border:0 !important; outline:0 !important; background:transparent !important; box-shadow:none !important; color:#183140; font:600 15px var(--bm-font-latin); }
.bm-login-input input::placeholder { color:#a2adb4; font-weight:500; }
.bm-login-phone-input { padding-left:0; overflow:hidden; }
.bm-login-country { height:54px; display:flex; align-items:center; gap:8px; padding:0 13px; border-right:1px solid #dce3e6; color:#334b58; background:#fafbfb; font:700 14px var(--bm-font-latin); }
.bm-bd-flag { font-size:18px; line-height:1; }
.bm-login-phone-input input { padding-left:2px; }
.bm-login-hint { display:block; margin-top:7px; color:#8a969d; font-size:11.5px; line-height:1.55; }
.bm-login-error { display:block; color:#c43e3a; font-size:12px; margin-top:6px; }
.bm-login-submit { width:100%; min-height:55px; border:0; border-radius:13px; display:flex; align-items:center; justify-content:center; gap:12px; cursor:pointer; background:linear-gradient(135deg,#f7a541,#f3912d); color:#172b36; font:800 16px var(--bm-font); box-shadow:0 12px 24px rgba(247,165,65,.24); transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease; }
.bm-login-submit:hover { transform:translateY(-1px); box-shadow:0 15px 28px rgba(247,165,65,.30); }
.bm-login-submit:disabled { opacity:.62; cursor:wait; transform:none; }
.bm-login-security { display:flex; gap:10px; align-items:flex-start; margin-top:17px; padding:11px 12px; border-radius:11px; background:#f7fafb; }
.bm-login-security > span { color:#527285; margin-top:1px; }
.bm-login-security p { margin:0; color:#7a8992; font-size:11.5px; line-height:1.6; }
.bm-login-divider { display:flex; align-items:center; gap:14px; color:#a0a9ae; font-size:12px; margin:22px 0 15px; }
.bm-login-divider::before, .bm-login-divider::after { content:""; height:1px; flex:1; background:#e3e7e9; }
.bm-login-password { border:1px solid #d9e1e5; border-radius:13px; overflow:hidden; background:#fff; }
.bm-login-password summary { min-height:55px; padding:0 15px; box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; list-style:none; color:#173444; font-size:14px; font-weight:700; }
.bm-login-password summary::-webkit-details-marker { display:none; }
.bm-login-password summary > .bm-ico { color:#7b8c95; transition:transform .18s ease; }
.bm-login-password[open] summary > .bm-ico { transform:rotate(90deg); }
.bm-login-password-title { display:flex; align-items:center; gap:10px; }
.bm-login-summary-icon { width:32px; height:32px; border-radius:9px; display:flex; align-items:center; justify-content:center; color:var(--bm-navy); background:#eef3f5; }
.bm-login-password-form { padding:2px 15px 16px; }
.bm-login-password-form .bm-login-field { margin-top:13px; }
.bm-login-password-submit { width:100%; height:46px; border:0; border-radius:11px; background:var(--bm-navy); color:#fff; font:700 14px var(--bm-font); cursor:pointer; }
.bm-login-password-submit:hover { background:var(--bm-navy-dark); }
.bm-login-forgot { display:block; margin-top:11px; color:#e97819 !important; text-align:right; font-size:12px; font-weight:700; text-decoration:none !important; }
.bm-login-footer { margin-top:27px; padding-top:19px; border-top:1px solid #e5e8ea; display:flex; justify-content:space-between; gap:12px; color:#89959c; font-size:11px; line-height:1.5; }
.bm-login-footer div { display:flex; flex-wrap:wrap; gap:4px; }
.bm-login-footer a { color:#e97819 !important; text-decoration:none !important; font-weight:700; }
.bm-login-footer > a { color:#77858d !important; font-family:var(--bm-font-latin); }
.bm-login-page [hidden] { display:none !important; }
@media (max-width: 1100px) {
    .bm-login-shell { min-height:720px; }
    .bm-login-hero { padding:42px 38px 32px; }
    .bm-login-form-inner { padding:40px 42px 28px; }
    .bm-login-benefit { padding:0 10px; }
    .bm-login-benefit small { font-size:10.5px; }
}
@media (max-width: 860px) {
    .bm-login-page { padding:0; align-items:stretch; }
    .bm-login-shell { width:100%; min-height:100vh; border:0; border-radius:0; grid-template-columns:1fr; box-shadow:none; }
    .bm-login-hero { display:none; }
    .bm-login-form-panel { min-height:100vh; align-items:flex-start; }
    .bm-login-form-inner { width:min(560px,100%); padding:30px 24px 24px; }
    .bm-login-topline { margin-bottom:26px; }
    .bm-login-mobile-brand { display:block; }
    .bm-login-mobile-brand img { width:142px; height:auto; display:block; }
}
@media (max-width: 520px) {
    .bm-login-form-inner { padding:20px 17px 20px; }
    .bm-login-heading-icon { width:38px; height:38px; margin-bottom:14px; }
    .bm-login-heading h1 { font-size:34px; }
    .bm-login-heading p { font-size:13px; }
    .bm-login-methods { margin-top:22px; }
    .bm-login-method { height:44px; font-size:12.5px; }
    .bm-login-footer { flex-direction:column; }
    .bm-login-footer > a { display:none; }
    .bm-login-cart-note { font-size:12px; }
}


/* ---------- product detail: normal-product related sidebar (additive only) ---------- */
.bm-pd-related-side {
    height: 100%;
    min-height: 100%;
    border: 1px solid #D8E0E5;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(27,60,79,.04);
}
.bm-pd-related-head {
    padding: 11px 13px 10px;
    border-bottom: 1px solid #D8E0E5;
    background: #fff;
}
.bm-pd-related-head h2 {
    margin: 0 !important;
    color: var(--bm-ink, #172B3A);
    font-family: var(--bm-font-display, inherit);
    font-size: 18px !important;
    line-height: 1.25;
    font-weight: 700;
}
.bm-pd-related-list {
    max-height: 585px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #BFC8CE transparent;
}
.bm-pd-related-list::-webkit-scrollbar { width: 5px; }
.bm-pd-related-list::-webkit-scrollbar-thumb { background: #BFC8CE; border-radius: 10px; }
.bm-pd-related-item {
    display: flex !important;
    gap: 9px;
    padding: 10px 9px;
    border-bottom: 1px solid #E7ECEF;
    text-decoration: none !important;
    color: inherit !important;
    min-height: 84px;
    transition: background .15s ease;
}
.bm-pd-related-item:hover { background: #F8FAFB; }
.bm-pd-related-item:last-child { border-bottom: 0; }
.bm-pd-related-thumb {
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid #E5E9EC;
    background: #F7F9FA;
    align-self: flex-start;
}
.bm-pd-related-thumb img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; }
.bm-pd-related-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.bm-pd-related-copy > strong {
    display: block;
    width: 100%;
    color: #24343F;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bm-pd-related-copy > small {
    min-height: 14px;
    color: #78858D;
    font-size: 10px;
    line-height: 1.3;
}
.bm-pd-related-rating { color: #687780; font-size: 10px; line-height: 1.25; }
.bm-pd-related-rating b { color: #F5A623; font-size: 12px; }
.bm-pd-related-price { display: flex; align-items: baseline; gap: 5px; margin-top: 2px; }
.bm-pd-related-price del { color: #89939A; font-size: 10px; }
.bm-pd-related-price em { color: #263642; font-size: 12px; font-style: normal; font-weight: 700; }
.bm-pd-related-empty { padding: 18px 12px; color: var(--bm-muted, #68737A); font-size: 12px; }

/* Give the new 5/4/3 normal-product layout comfortable spacing without changing any inner functionality. */
@media (min-width: 992px) {
    .bm-pd-row > .col-lg-5 { padding-left: 10px; padding-right: 10px; }
    .bm-pd-row > .col-lg-4 { padding-left: 10px; padding-right: 10px; }
    .bm-pd-row > .col-lg-3 { padding-left: 10px; padding-right: 10px; }
    .bm-pd-row .details_right { padding-left: 18px !important; padding-right: 18px !important; }
}
@media (max-width: 991px) {
    .bm-pd-related-side { margin-top: 16px; }
    .bm-pd-related-list { max-height: 430px; }
}
@media (max-width: 767px) {
    .bm-pd-related-head h2 { font-size: 16px !important; }
    .bm-pd-related-list { max-height: 360px; }
    .bm-pd-related-item { min-height: 76px; padding: 9px; }
    .bm-pd-related-thumb { flex-basis: 50px; width: 50px; height: 50px; }
}

/* Related Products sidebar — BongoMart theme finish (additive only) */
.bm-pd-related-side {
    border-color: rgba(27, 60, 79, .18);
    background:
        radial-gradient(circle at 100% 0%, rgba(247,165,65,.20) 0, rgba(247,165,65,0) 120px),
        linear-gradient(180deg, #F8FBFC 0%, #FFFFFF 38%, #FFFDF9 100%);
    box-shadow: 0 6px 18px rgba(27,60,79,.08);
}
.bm-pd-related-head {
    background: linear-gradient(135deg, #1B3C4F 0%, #24566C 100%);
    border-bottom-color: rgba(247,165,65,.55);
    position: relative;
}
.bm-pd-related-head::after {
    content: "";
    position: absolute;
    left: 13px;
    bottom: -1px;
    width: 46px;
    height: 3px;
    border-radius: 99px;
    background: #F7A541;
}
.bm-pd-related-head h2 {
    color: #fff !important;
    letter-spacing: .1px;
}
.bm-pd-related-list {
    background: rgba(255,255,255,.72);
    scrollbar-color: #F7A541 transparent;
}
.bm-pd-related-list::-webkit-scrollbar-thumb { background: #F7A541; }
.bm-pd-related-item {
    border-bottom-color: rgba(27,60,79,.10);
}
.bm-pd-related-item:hover {
    background: linear-gradient(90deg, rgba(247,165,65,.13), rgba(247,165,65,.03));
}
.bm-pd-related-thumb {
    border-color: rgba(27,60,79,.12);
    background: #fff;
    box-shadow: 0 2px 7px rgba(27,60,79,.06);
}
.bm-pd-related-copy > strong { color: #1B3C4F; }
.bm-pd-related-copy > small { color: #71808A; }
.bm-pd-related-rating b { color: #F7A541; }
.bm-pd-related-price em { color: #7A1414; }
.bm-pd-related-price del { color: #8A949C; }

/* ---------- Product page help strip ---------- */
.bm-pd-help-strip {
    margin: 0 0 18px;
    padding: 0;
    background: transparent;
}
.bm-pd-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.bm-pd-help-card {
    min-height: 58px;
    padding: 11px 18px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #0b9fe3 !important;
    border-radius: 6px;
    background: #fff !important;
    color: var(--bm-ink, #13212b) !important;
    font-family: var(--bm-font, inherit);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(19,33,43,.035);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.bm-pd-help-card:hover {
    border-color: var(--bm-accent, #f7a541) !important;
    box-shadow: 0 5px 16px rgba(19,33,43,.08);
    transform: translateY(-1px);
}
.bm-pd-help-card:focus-visible {
    outline: 2px solid var(--bm-accent, #f7a541);
    outline-offset: 2px;
}
.bm-pd-help-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    color: #0b9fe3;
}
.bm-pd-help-icon svg { width: 22px; height: 22px; }
.bm-pd-help-play {
    font-size: 25px;
    line-height: 1;
    color: #0b9fe3;
}
.bm-pd-help-coin .bm-coin,
.bm-pd-help-coin img { width: 24px; height: 24px; }
.bm-pd-help-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}
@media (max-width: 767px) {
    .bm-pd-help-grid { grid-template-columns: 1fr; gap: 9px; }
    .bm-pd-help-card { min-height: 52px; padding: 9px 12px !important; font-size: 13px; }
}

/* ---------- Product page help strip ---------- */
.bm-pd-help-strip {
    margin: 0 0 18px;
    padding: 0;
    background: transparent;
}
.bm-pd-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.bm-pd-help-card {
    min-height: 58px;
    padding: 11px 18px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #0b9fe3 !important;
    border-radius: 6px;
    background: #fff !important;
    color: var(--bm-ink, #13212b) !important;
    font-family: var(--bm-font, inherit);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(19,33,43,.035);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.bm-pd-help-card:hover {
    border-color: var(--bm-accent, #f7a541) !important;
    box-shadow: 0 5px 16px rgba(19,33,43,.08);
    transform: translateY(-1px);
}
.bm-pd-help-card:focus-visible {
    outline: 2px solid var(--bm-accent, #f7a541);
    outline-offset: 2px;
}
.bm-pd-help-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    color: #0b9fe3;
}
.bm-pd-help-icon svg { width: 22px; height: 22px; }
.bm-pd-help-play {
    font-size: 25px;
    line-height: 1;
    color: #0b9fe3;
}
.bm-pd-help-coin .bm-coin,
.bm-pd-help-coin img { width: 24px; height: 24px; }
.bm-pd-help-button {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
}
@media (max-width: 767px) {
    .bm-pd-help-grid { grid-template-columns: 1fr; gap: 9px; }
    .bm-pd-help-card { min-height: 52px; padding: 9px 12px !important; font-size: 13px; }
}


/* Bongo Mart unified discount tag — Home / Category / Product Details */
.bm-discount-tag {
    position: absolute;
    z-index: 8;
    top: 0;
    left: 0;
    width: 58px;
    min-height: 58px;
    padding: 8px 5px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-sizing: border-box;
    background: linear-gradient(180deg, #b40000 0%, #8f0000 100%);
    color: #fff;
    text-align: center;
    line-height: 1;
    font-family: var(--bm-font-latin, Arial, sans-serif);
    font-weight: 900;
    filter: drop-shadow(0 3px 4px rgba(92, 0, 0, .22));
    clip-path: polygon(0 0, 100% 0, 100% 86%, 88% 100%, 75% 87%, 62% 100%, 50% 87%, 38% 100%, 25% 87%, 12% 100%, 0 87%);
}
.bm-discount-tag::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    width: 34px;
    height: 1px;
    background: rgba(255,255,255,.55);
    transform: translateX(-50%);
}
.bm-discount-tag span {
    display: block;
    margin-top: 5px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.2px;
}
.bm-discount-tag small {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .7px;
}
.bm-card-img { position: relative; }
.bm-card-img .bm-discount-tag { top: 0; left: 0; }
.product-details-discount-badge { position: absolute; top: 10px; right: 10px; z-index: 10; }
.product-details-discount-badge .bm-discount-tag { position: relative; top: auto; left: auto; }

@media (max-width: 767px) {
    .bm-discount-tag { width: 52px; min-height: 52px; top: 0; left: 0; padding-top: 7px; }
    .bm-discount-tag span { font-size: 13px; }
    .bm-discount-tag small { font-size: 9px; }
    .product-details-discount-badge { top: 8px; right: 8px; }
}
