/* ==========================================================================
   BHMT Blocks — CSS khối Header / Hero / Tính cước / 4 bước / Footer
   Gộp từ bhmt-shipping-child (logistics) + may-loc-khi (cửa hàng). Toàn bộ
   khoanh vùng trong .bhmt-app để không đè Flatsome / nội dung khác.
   ========================================================================== */
.bhmt-app,.bhmt-canvas{
  --g900:#14532d;--g700:#176c37;--g600:#2e9e2e;--g500:#43c04d;--g100:#e6f6e6;
  --gold:#e0a800;--ink:#1b2a1b;--slate:#566656;--line:#dce8da;--mist:#f5faf4;--danger:#c0392b;
  --radius:14px;--radius-sm:9px;--radius-lg:22px;
  --font-display:"Fraunces",Georgia,serif;
  --font-body:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-mono:"JetBrains Mono",ui-monospace,monospace;
  --maxw:1180px;
}
.bhmt-app,.bhmt-app *,.bhmt-app *::before,.bhmt-app *::after{box-sizing:border-box}
.bhmt-app{font-family:var(--font-body)!important;line-height:1.65;color:var(--ink);width:100%;max-width:100%;-webkit-font-smoothing:antialiased}
.bhmt-app h1,.bhmt-app h2,.bhmt-app h3,.bhmt-app h4{font-family:var(--font-display)!important;line-height:1.15;font-weight:600;margin:.2em 0 .4em;color:inherit;text-transform:none;letter-spacing:normal}
.bhmt-app h1{font-size:clamp(1.8rem,4vw,2.8rem);letter-spacing:-.02em}
.bhmt-app img{max-width:100%;height:auto}
.bhmt-app a{box-shadow:none;text-decoration:none}
.bhmt-app p{margin:0 0 1em}
.bhmt-app ul{margin:0;padding:0}
.bhmt-app .bhmt-container{max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(16px,4vw,32px);width:100%}

/* ---------- Header ---------- */
.bhmt-block--header.is-sticky{position:sticky;top:0;z-index:60}
.admin-bar .bhmt-block--header.is-sticky{top:32px}
@media(max-width:782px){.admin-bar .bhmt-block--header.is-sticky{top:46px}}
@media(max-width:600px){.admin-bar .bhmt-block--header.is-sticky{top:0}}
.bhmt-app .site-header{background:#fff;border-bottom:1px solid var(--line);margin:0}
.bhmt-app .site-header .bhmt-container{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:1rem;padding-block:.9rem}
.bhmt-app .brand{display:flex;align-items:center;gap:.7rem;flex:0 0 auto}
.bhmt-app .brand-logo{height:58px!important;width:auto!important;display:block;margin:0}
.bhmt-app .site-header .hotline{margin-left:auto;white-space:nowrap;font-weight:600;color:var(--g700);font-size:1.05rem}
.bhmt-app .site-header .hotline:hover{color:var(--g900)}
@media(max-width:560px){.bhmt-app .brand-logo{height:46px!important}.bhmt-app .site-header .hotline{font-size:.95rem}}

/* ---------- Hero ---------- */
.bhmt-app .hero{background:linear-gradient(135deg,var(--g900),var(--g600));color:#fff;position:relative;overflow:hidden}
.bhmt-app .hero::after{content:"";position:absolute;right:-60px;top:-60px;width:260px;height:260px;border-radius:50%;background:rgba(67,192,77,.25)}
.bhmt-app .hero .bhmt-container{position:relative;z-index:1;padding-block:clamp(34px,5vw,56px);text-align:center}
.bhmt-app .hero-logo{width:92px;height:92px;object-fit:contain;background:#fff;border-radius:50%;padding:12px;margin:0 auto .6rem;display:block;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.bhmt-app .hero h1{color:#fff}
.bhmt-app .hero p{color:#dff4df;max-width:62ch;margin:0 auto;font-size:1.08rem}

/* ---------- Tính cước (layout v2) ---------- */
.bhmt-app .calc-v2{padding:0 0 2rem;width:100%;background:var(--mist)}
.bhmt-app .map-v2{width:100%;height:clamp(380px,52vh,620px);background:var(--mist);z-index:0}
.bhmt-app .map-v2 img{max-width:none!important}
.bhmt-app .panel,.bhmt-app .totals,.bhmt-app .result{max-width:var(--maxw);margin-inline:auto;width:calc(100% - clamp(32px,8vw,80px))}
.bhmt-app .panel{background:#fff;border:2px solid var(--g500);border-radius:18px;margin-top:1.2rem;margin-bottom:1.2rem;padding:1.4rem;box-shadow:0 10px 30px rgba(20,83,45,.08)}
.bhmt-app .calc-v2.no-map .panel{margin-top:2rem}
.bhmt-app .od-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;margin-bottom:1rem}
.bhmt-app .od-card{border:1.5px solid var(--line);border-radius:14px;padding:18px 18px 4px}
.bhmt-app .od-card.from{border-color:#bfe9c8;background:#f5fcf6}
.bhmt-app .od-card.to{border-color:#f3c9c2;background:#fef7f5}
.bhmt-app .od-card-head{display:flex;align-items:center;gap:.5rem;margin:0 0 14px}
.bhmt-app .od-card-head h3{margin:0;font-size:1.15rem;color:var(--g900)}
.bhmt-app .od-card.to .od-card-head h3{color:#9b2d1f}
.bhmt-app .od-field{margin-bottom:14px}
.bhmt-app .od-field[hidden]{display:none}
.bhmt-app .od-field label,.bhmt-app .tot-field .tot-label{display:block;font-weight:700;color:var(--g900);margin:0 0 6px;font-size:.95rem;line-height:1.4}
.bhmt-app .req{color:var(--danger)}
.bhmt-app select,.bhmt-app input[type=text]{
  width:100%!important;max-width:100%!important;height:auto!important;min-height:48px!important;margin:0!important;
  padding:12px 14px!important;font:inherit!important;font-size:15px!important;line-height:1.5!important;
  color:var(--ink);background:#fff;border:1px solid var(--line)!important;border-radius:12px!important;
  box-shadow:0 4px 10px rgba(20,83,45,.05)!important;letter-spacing:normal;text-transform:none
}
.bhmt-app select{-webkit-appearance:menulist!important;appearance:menulist!important;background-image:none!important}
.bhmt-app select:focus,.bhmt-app input[type=text]:focus{outline:none;border-color:var(--g500)!important;box-shadow:0 0 0 3px var(--g100)!important}
.bhmt-app input:disabled{background:#f3f5f3;cursor:not-allowed}
.bhmt-app .map-tip{font-size:.86rem;color:var(--slate);margin:.2rem 0 .8rem;text-align:center}
.bhmt-app .map-tip b{color:var(--g700)}
.bhmt-app .btn-pay{display:block;width:100%;max-width:340px;margin:.4rem auto 0;padding:1rem 1.5rem;border:none;border-radius:30px;
  background:var(--gold);color:var(--ink);font:inherit;font-weight:800;font-size:1.15rem;letter-spacing:.04em;cursor:pointer;
  box-shadow:0 8px 20px rgba(224,168,0,.35);transition:transform .12s,opacity .12s;text-transform:none;min-height:0;line-height:1.3}
.bhmt-app .btn-pay:hover{transform:translateY(-2px)}
.bhmt-app .btn-pay[disabled]{opacity:.65;cursor:progress;transform:none}
.bhmt-app .err{color:var(--danger);font-size:.92rem;margin-top:.8rem;text-align:center}
.bhmt-app .err[hidden]{display:none}
.bhmt-app .totals{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}
.bhmt-app .tot-box{padding:.85rem 1rem;border:1px solid var(--line);border-radius:12px;background:#f6faf6;color:var(--slate);font-family:var(--font-mono)!important;font-size:1.05rem}
.bhmt-app .tot-box.price{color:var(--g700);font-weight:700}
.bhmt-app .result{display:none;background:#fff;border:1px solid var(--line);border-radius:14px;padding:1rem 1.2rem}
.bhmt-app .result.show{display:block;animation:bhmtFade .3s}
@keyframes bhmtFade{from{opacity:0;transform:translateY(8px)}to{opacity:1}}
.bhmt-app .result .meta{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.6rem}
.bhmt-app .result .chip{background:var(--g100);color:var(--g700);border-radius:99px;padding:.25rem .8rem;font-size:.8rem;font-weight:600}
.bhmt-app .result .chip.warn{background:#fff4d6;color:#8a6300}
.bhmt-app .result .line{display:flex;justify-content:space-between;gap:1rem;padding:.35rem 0;font-size:.93rem;color:var(--slate)}
.bhmt-app .result .line span:last-child{font-weight:600;color:var(--ink);font-family:var(--font-mono);white-space:nowrap}
.bhmt-app .result .total{margin-top:.6rem;padding-top:.8rem;border-top:2px solid var(--g100);display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
.bhmt-app .result .total .lbl{font-weight:700;font-size:1.05rem}
.bhmt-app .result .total .amt{font-family:var(--font-mono);font-weight:700;font-size:1.6rem;color:var(--g600)}
.bhmt-app .result .call{display:block;margin-top:.9rem;text-align:center;background:var(--g600);color:#fff;border-radius:10px;padding:.75rem;font-weight:700}
.bhmt-app .result .call:hover{background:var(--g700);color:#fff}
.bhmt-pin{width:18px;height:18px;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.bhmt-pin.a{background:#2e9e2e}.bhmt-pin.b{background:#c0392b}.bhmt-pin.o{background:#9bbf9b;width:12px;height:12px;border-width:2px}
@media(max-width:720px){.bhmt-app .od-grid{grid-template-columns:1fr;gap:1rem}}
@media(max-width:620px){.bhmt-app .map-v2{height:300px}.bhmt-app .totals{grid-template-columns:1fr}}

/* ---------- 4 bước ---------- */
.bhmt-app .bhmt-steps-wrap{padding-block:clamp(24px,4vw,40px);background:var(--mist)}
.bhmt-app .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.bhmt-app .stepcard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.1rem;text-align:center}
.bhmt-app .stepcard .n{width:34px;height:34px;border-radius:50%;background:var(--g600);color:#fff;display:grid;place-items:center;font-weight:700;margin:0 auto .5rem}
.bhmt-app .stepcard h3{font-size:1.02rem;margin:0 0 .25rem;color:var(--g900)}
.bhmt-app .stepcard p{margin:0;font-size:.86rem;color:var(--slate)}
@media(max-width:920px){.bhmt-app .steps{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.bhmt-app .steps{grid-template-columns:1fr}}

/* ---------- Footer ---------- */
.bhmt-app .site-footer{background:#1d8a3c;color:#eafbef;margin:0;font-size:.92rem;width:100%}
.bhmt-app .site-footer a{color:#fff}
.bhmt-app .footer-grid{display:grid;grid-template-columns:1.7fr 1fr .8fr .9fr;gap:2.5rem;padding-block:2.6rem 2rem;align-items:start}
.bhmt-app .footer-col h4{font-weight:700!important;font-size:1.2rem!important;color:#fff!important;margin:0 0 1rem}
.bhmt-app .footer-company{font-family:var(--font-display);font-weight:700;font-size:1.15rem;color:#fff;margin:.2rem 0 1rem;line-height:1.3}
.bhmt-app .footer-list,.bhmt-app .footer-links{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.bhmt-app .footer-links{gap:.7rem;margin-bottom:1.4rem}
.bhmt-app .footer-list li,.bhmt-app .footer-links li{position:relative;padding-left:1.1rem;margin:0;list-style:none}
.bhmt-app .footer-list li{color:#d8f3df;line-height:1.5;font-size:.88rem}
.bhmt-app .footer-list li::before,.bhmt-app .footer-links li::before{content:"•";position:absolute;left:0;color:#bfe9c8}
.bhmt-app .footer-list b{color:#fff;font-weight:600}
.bhmt-app .footer-links a{color:#eafbef}
.bhmt-app .footer-links a:hover{color:#fff;text-decoration:underline}
.bhmt-app .footer-hotline{display:inline-flex;align-items:center;gap:.7rem;margin:1.4rem 0 .8rem;background:#fff;color:#1d8a3c;border-radius:12px;padding:.7rem 1.2rem;box-shadow:0 6px 18px rgba(0,0,0,.18);transition:transform .15s}
.bhmt-app .footer-hotline:hover{transform:translateY(-2px)}
.bhmt-app .footer-hotline .ic{font-size:1.6rem;line-height:1}
.bhmt-app .footer-hotline small{display:block;font-size:.72rem;color:#3a7a48;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.bhmt-app .footer-hotline strong{display:block;font-size:1.55rem;font-weight:800;font-family:var(--font-mono);letter-spacing:.02em;color:#1d8a3c;line-height:1.2}
.bhmt-app .footer-email{margin:.4rem 0 0;font-size:.9rem}
.bhmt-app .footer-social{display:flex;gap:.5rem;flex-wrap:wrap}
.bhmt-app .footer-social a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.15);display:grid;place-items:center;color:#fff;font-weight:700;font-size:.85rem;transition:.15s}
.bhmt-app .footer-social a:hover{background:#fff;color:#1d8a3c}
.bhmt-app .footer-badges{display:flex;flex-direction:column;gap:.8rem}
.bhmt-app .badge-box{background:#fff;color:#1558a8;border-radius:8px;padding:.7rem 1rem;font-weight:800;font-size:.95rem;text-align:center;line-height:1.25;box-shadow:0 3px 10px rgba(0,0,0,.12)}
.bhmt-app .badge-box small{display:block;font-size:.7rem;font-weight:700;color:#1558a8}
.bhmt-app .badge-box.dmca{background:#1b1b1b;color:#fff;font-size:.85rem}
.bhmt-app .badge-box.dmca span{color:#2ecc71}
.bhmt-app .badge-box.iso{color:#1d8a3c;border:2px solid #1d8a3c}
.bhmt-app .footer-bottom{background:#176c37;padding:.9rem 0;font-size:.82rem;color:#eafbef;text-align:center}
@media(max-width:1000px){.bhmt-app .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}}
@media(max-width:640px){.bhmt-app .footer-grid{grid-template-columns:1fr}}

/* ---------- Khung trang BHMT (template canvas) ---------- */
body.bhmt-canvas{margin:0;background:var(--mist);font-family:var(--font-body)}
body.bhmt-canvas .bhmt-page{min-height:100vh;display:flex;flex-direction:column}
body.bhmt-canvas .bhmt-main{flex:1 0 auto}
body.bhmt-canvas .bhmt-entry-full>*:not(.bhmt-app):not(.alignfull){max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(16px,4vw,32px)}
body.bhmt-canvas .bhmt-entry-full>.bhmt-app,body.bhmt-canvas .bhmt-entry-full>.alignfull{max-width:100%;padding-inline:0}
.bhmt-app.bhmt-entry-wrap{padding-block:clamp(24px,4vw,48px)}
.bhmt-app .bhmt-entry{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(20px,4vw,44px);box-shadow:0 10px 30px rgba(20,83,45,.06);max-width:var(--maxw)}
.bhmt-app .bhmt-entry-title{color:var(--g900);margin-top:0}
.bhmt-app .bhmt-entry-meta{color:var(--slate);font-size:.88rem;margin-top:-.4rem}
.bhmt-app .bhmt-entry h2,.bhmt-app .bhmt-entry h3{color:var(--g900);margin-top:1.4em}
.bhmt-app .bhmt-entry a{color:var(--g700);text-decoration:underline}
.bhmt-app .bhmt-entry img{border-radius:var(--radius-sm)}
.bhmt-entry.wp-block-group{padding-block:clamp(24px,4vw,48px)}

/* Trong trình soạn thảo: header không dính để dễ thao tác */
.editor-styles-wrapper .bhmt-block--header.is-sticky{position:relative;top:auto}

/* ==========================================================================
   Bổ sung cho theme hợp nhất: footer 4 cột, khối cửa hàng (may-loc-khi)
   ========================================================================== */
.bhmt-app{--shop:#038018;--shop-2:#5abe12;--shop-top:#5eb509}
.bhmt-app .footer-col h4~h4{margin-top:1.6rem!important}
.bhmt-app .footer-hotlines{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.2rem 0 .6rem}
.bhmt-app .footer-hotlines .footer-hotline{margin:0}
.bhmt-app .footer-hotline strong{font-size:1.3rem}
.bhmt-app .footer-links ul,.bhmt-app ul.footer-links ul{display:none}
.bhmt-app .footer-social{margin-top:.4rem}
.bhmt-app .badge-img{display:block;background:#fff;border-radius:8px;padding:6px;box-shadow:0 3px 10px rgba(0,0,0,.12);max-width:200px}
.bhmt-app .badge-img img{display:block;margin:0 auto;max-height:64px;width:auto}

/* ---------- Header cửa hàng ---------- */
.bhmt-block--shop-header{position:relative;z-index:60;font-family:var(--bhmt-font-shop,"Roboto"),Roboto,sans-serif}
.bhmt-block--shop-header *{font-family:inherit!important}
.bhmt-app .shop-topbar{background:var(--shop-top);font-size:13px}
.bhmt-app .shop-topbar .bhmt-container{display:flex;gap:1.4rem;align-items:center;min-height:34px;flex-wrap:wrap}
.bhmt-app .shop-topbar a{color:#fff}
.bhmt-app .shop-topbar .topbar-logistics{margin-left:auto;font-weight:600}
.bhmt-app .shop-main{background:#fff}
.bhmt-app .shop-main .bhmt-container{display:flex;align-items:center;gap:1.2rem;padding-block:10px}
.bhmt-app .shop-logo img{height:70px;width:auto;display:block}
.bhmt-app .shop-search{flex:1;display:flex;max-width:560px;border:2px solid var(--shop);border-radius:4px;overflow:hidden;margin:0}
.bhmt-app .shop-search select,.bhmt-app .shop-search input[type=search]{border:0!important;border-radius:0!important;box-shadow:none!important;min-height:42px!important;height:42px!important;margin:0!important;font-size:14px!important;padding:0 12px!important;background:#fff}
.bhmt-app .shop-search select{width:auto!important;max-width:160px!important;background:#f3f6f3;border-right:1px solid #dfe8df!important}
.bhmt-app .shop-search input[type=search]{flex:1;width:auto!important;min-width:0}
.bhmt-app .shop-search button{border:0;background:var(--shop);color:#fff;padding:0 16px;font-size:16px;cursor:pointer;margin:0;min-height:42px}
.bhmt-app .shop-hotline{display:flex;align-items:center;gap:.5rem;color:#333;white-space:nowrap}
.bhmt-app .shop-hotline .ic{font-size:1.7rem}
.bhmt-app .shop-hotline small{display:block;font-size:13px;color:#333}
.bhmt-app .shop-hotline strong{display:block;color:var(--shop);font-size:1.15rem;font-weight:700}
.bhmt-app .shop-icons{display:flex;gap:.4rem;margin-left:auto}
.bhmt-app .shop-icons a{width:40px;height:40px;display:grid;place-items:center;border:1px solid #e3e3e3;border-radius:50%;font-size:1.1rem;position:relative;color:#333}
.bhmt-app .shop-cart i{position:absolute;top:-4px;right:-4px;background:#e00;color:#fff;font-style:normal;font-size:11px;border-radius:99px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px}
.bhmt-app .shop-burger{display:none;width:40px;height:40px;border:1px solid #e3e3e3;border-radius:6px;background:#fff;cursor:pointer;position:relative;padding:0}
.bhmt-app .shop-burger span,.bhmt-app .shop-burger span::before,.bhmt-app .shop-burger span::after{content:"";position:absolute;left:10px;right:10px;height:2px;background:var(--shop);transition:.2s}
.bhmt-app .shop-burger span{top:19px}.bhmt-app .shop-burger span::before{top:-6px;left:0;right:0}.bhmt-app .shop-burger span::after{top:6px;left:0;right:0}
.bhmt-app .shop-nav{background:var(--shop)}
.bhmt-app .shop-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}
.bhmt-app .shop-menu>li{position:relative;margin:0;list-style:none}
.bhmt-app .shop-menu a{display:block;color:#fff;padding:0 18px;line-height:45px;font-size:15px;text-transform:uppercase}
.bhmt-app .shop-menu>li>a:hover,.bhmt-app .shop-menu>li.current-menu-item>a,.bhmt-app .shop-menu>li.current-menu-ancestor>a{background:var(--shop-2);color:#fff}
.bhmt-app .shop-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:260px;background:#fff;border:1px solid #cecece;list-style:none;margin:0;padding:0;z-index:20;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.bhmt-app .shop-menu li:hover>.sub-menu,.bhmt-app .shop-menu li:focus-within>.sub-menu{display:block}
.bhmt-app .shop-menu .sub-menu a{color:var(--shop);line-height:40px;text-transform:none}
.bhmt-app .shop-menu .sub-menu a:hover{background:var(--shop);color:#fff}
@media(max-width:900px){
  .bhmt-app .shop-topbar{display:none}
  .bhmt-app .shop-main .bhmt-container{flex-wrap:wrap;gap:.6rem}
  .bhmt-app .shop-burger{display:block}
  .bhmt-app .shop-logo{margin-inline:auto}
  .bhmt-app .shop-logo img{height:54px}
  .bhmt-app .shop-hotline{display:none}
  .bhmt-app .shop-icons{margin-left:0}
  .bhmt-app .shop-search{order:9;flex:1 1 100%;max-width:none}
  .bhmt-app .shop-nav{display:none}
  .bhmt-app .shop-nav.is-open{display:block}
  .bhmt-app .shop-menu{flex-direction:column}
  .bhmt-app .shop-menu .sub-menu{position:static;display:block;border:0;box-shadow:none;background:rgba(255,255,255,.08)}
  .bhmt-app .shop-menu .sub-menu a{color:#fff;padding-left:32px}
}

/* ---------- Video + Slider ---------- */
.bhmt-app .hero-video{display:block;width:100%;max-height:78vh;object-fit:cover;background:#01210c}
.bhmt-block--slider{padding-top:14px;background:#fff}
.bhmt-app .bhmt-slider{position:relative;overflow:hidden;border:1px solid #e2e2e2}
.bhmt-app .bhmt-slider .slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none}
.bhmt-app .bhmt-slider .slides::-webkit-scrollbar{display:none}
.bhmt-app .bhmt-slider .slide{flex:0 0 100%;scroll-snap-align:start;display:block}
.bhmt-app .bhmt-slider .slide img{display:block;width:100%;height:auto;aspect-ratio:8/3;object-fit:cover}
.bhmt-app .bhmt-slider .nav{position:absolute;top:calc(50% - 48px);width:40px;height:60px;border:0;background:rgba(0,0,0,.5);color:#fff;font-size:2rem;line-height:1;cursor:pointer;padding:0;margin:0}
.bhmt-app .bhmt-slider .nav.prev{left:0}.bhmt-app .bhmt-slider .nav.next{right:0}
.bhmt-app .bhmt-slider .captions{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border-top:1px solid #ddd}
.bhmt-app .bhmt-slider .cap{border:0;border-right:1px solid #dadada;border-top:2px solid transparent;background:#fff;font:inherit;font-size:13px;color:#000;min-height:48px;padding:4px 8px;cursor:pointer;margin:0;line-height:1.3;text-transform:none}
.bhmt-app .bhmt-slider .cap:last-child{border-right:0}
.bhmt-app .bhmt-slider .cap.is-active{color:var(--shop);border-top-color:var(--shop);font-weight:600}
@media(max-width:640px){.bhmt-app .bhmt-slider .captions{display:none}}

/* ---------- Tiêu đề khối + Tin bài + Sản phẩm ---------- */
.bhmt-app .bhmt-section{padding-block:22px;background:#fff}
.bhmt-app .sec-title{display:flex;align-items:stretch;justify-content:space-between;background:#e2e2e2;border-top:2px solid var(--shop);margin-bottom:14px}
.bhmt-app .sec-title h2{margin:0!important;font-size:15px!important;font-family:var(--bhmt-font-shop,"Roboto"),Roboto,sans-serif!important;line-height:1}
.bhmt-app .sec-title h2 span{display:inline-block;position:relative;background:var(--shop);color:#fff;padding:12px 15px;text-transform:uppercase;font-weight:600}
.bhmt-app .sec-title h2 span::after{content:"";position:absolute;right:-38px;top:0;border:19.5px solid var(--shop);border-right-color:transparent;border-bottom-color:transparent}
.bhmt-app .sec-title a{align-self:center;color:var(--shop);font-size:14px;padding-right:12px}
.bhmt-app .post-grid{display:grid;grid-template-columns:repeat(var(--cols,4),1fr);gap:16px}
.bhmt-app .post-list{display:grid;grid-template-columns:repeat(min(var(--cols,4),2),1fr);gap:10px 24px}
.bhmt-app .post-card{background:#fff;border:1px solid #ececec;border-radius:6px;overflow:hidden;transition:box-shadow .2s,border-color .2s}
.bhmt-app .post-card:hover{border-color:var(--shop);box-shadow:0 8px 22px rgba(3,128,24,.12)}
.bhmt-app .post-card .thumb{display:block;aspect-ratio:3/2;background:#eef4ee;overflow:hidden}
.bhmt-app .post-card .thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.bhmt-app .post-card:hover .thumb img{transform:scale(1.04)}
.bhmt-app .post-card .no-thumb{display:grid;place-items:center;height:100%;color:#9bb59b;font-weight:700;letter-spacing:.1em}
.bhmt-app .post-card .body{padding:10px 12px 12px}
.bhmt-app .post-card h3{font-size:15px!important;line-height:1.35!important;margin:0 0 4px!important;font-family:var(--bhmt-font-shop,"Roboto"),Roboto,sans-serif!important;font-weight:500!important}
.bhmt-app .post-card h3 a{color:#222}
.bhmt-app .post-card h3 a:hover{color:var(--shop)}
.bhmt-app .post-card .meta{font-size:12px;color:var(--shop);margin:0 0 4px}
.bhmt-app .post-card .excerpt{font-size:13px;color:#666;margin:0;line-height:1.5}
.bhmt-app .post-list .post-card{display:flex;gap:10px;border:0;border-bottom:1px dotted #ddd;border-radius:0}
.bhmt-app .post-list .post-card .thumb{flex:0 0 96px;aspect-ratio:4/3;border-radius:4px}
.bhmt-app .post-list .post-card .body{padding:2px 0 8px}
.bhmt-app .empty{color:#888;font-size:14px}
@media(max-width:900px){.bhmt-app .post-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){
  .bhmt-app .post-grid,.bhmt-app .post-list{grid-template-columns:1fr;gap:10px}
  .bhmt-app .post-grid .post-card{display:flex;gap:10px;padding:8px}
  .bhmt-app .post-grid .post-card .thumb{flex:0 0 112px;aspect-ratio:4/3;border-radius:4px}
  .bhmt-app .post-grid .post-card .body{padding:0}
  .bhmt-app .post-grid .post-card .excerpt{display:none}
  .bhmt-app .sec-title h2 span{font-size:13px;padding:11px 10px}
  .bhmt-app .sec-title h2 span::after{display:none}
  .bhmt-app .sec-title a{font-size:12px;white-space:nowrap}
}
.bhmt-app .bhmt-products .products{margin:0}
.bhmt-app .bhmt-products .product-small{border:1px solid #e2e2e2;padding:10px;background:#fff}
.bhmt-app .bhmt-products .product-small:hover{border-color:var(--shop)}
.bhmt-app .bhmt-products .price .amount{color:red;font-size:17px}

/* ---------- Thanh gọi nhanh mobile ---------- */
.bhmt-mobile-bar{display:none}
@media(max-width:767px){
  .bhmt-mobile-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:999;height:52px;background:rgba(0,0,0,.6);padding:5px;gap:5px}
  .bhmt-mobile-bar a{flex:1;display:grid;place-items:center;border-radius:4px;color:#fff!important;font-weight:600;font-size:15px}
  .bhmt-mobile-bar .call{flex:1.8;background:#0082d0}
  .bhmt-mobile-bar .zalo{background:#3fb801}
  body:has(.bhmt-mobile-bar){padding-bottom:52px}
}
.bhmt-app .result .note{font-size:.8rem;color:var(--slate);margin:.7rem 0 0}

/* Footer Logistics — đúng lưới 3 cột của bản gốc */
.bhmt-app .footer-grid.footer-grid--3{grid-template-columns:1.6fr 1fr 1fr}
@media(max-width:900px){.bhmt-app .footer-grid.footer-grid--3{grid-template-columns:1fr;gap:2rem}}
.bhmt-footer--logistics .footer-hotline{margin:1.4rem 0 .8rem}
.bhmt-footer--logistics .footer-hotline strong{font-size:1.55rem}

/* ==========================================================================
   Bố cục "giống bachhoamoitruong.com" — bài viết, trang, lưu trữ, sản phẩm, cửa hàng
   ========================================================================== */
.bhmt-site{--shop:#038018;--shop-2:#5abe12;--line:#e5e5e5;--muted:#777;display:block;background:#fff;color:#333;font-family:var(--bhmt-font-shop,"Roboto"),Roboto,sans-serif;font-size:15px;line-height:1.65;padding-bottom:30px}
.bhmt-site *{box-sizing:border-box}
.bhmt-site a{color:var(--shop);text-decoration:none}
.bhmt-site a:hover{color:#025c11}
.bhmt-site img{max-width:100%;height:auto}
.bhmt-wrap{max-width:1180px;margin-inline:auto;padding-inline:15px;width:100%}
.bhmt-crumbbar{background:#f5f5f5;border-bottom:1px solid #eee;padding:10px 0;margin-bottom:22px}
.bhmt-crumbs{font-size:14px;color:#666}
.bhmt-crumbs a{color:#666}.bhmt-crumbs a:hover{color:var(--shop)}
.bhmt-crumbs .sep{margin:0 6px;color:#bbb}
.bhmt-titlebar{background:#f5f5f5;padding:14px 0;margin-bottom:24px;border-bottom:1px solid #eee}
.bhmt-titlebar .bhmt-crumbs{margin-bottom:4px}
.bhmt-titlebar__title{margin:0;font-size:24px;line-height:1.3;color:#222;font-weight:600}
.bhmt-layout{display:grid;gap:30px;align-items:start}
.bhmt-layout--left{grid-template-columns:270px minmax(0,1fr)}
.bhmt-layout--left .bhmt-layout__side{order:0}
.bhmt-layout--right{grid-template-columns:minmax(0,1fr) 270px}
.bhmt-layout--full{grid-template-columns:minmax(0,1fr)}
@media(max-width:900px){
  .bhmt-layout--left,.bhmt-layout--right{grid-template-columns:1fr}
  .bhmt-layout--left .bhmt-layout__side{order:2}
}

/* Sidebar */
.bhmt-sidebar .widget{margin-bottom:16px}
.bhmt-sidebar .widget-title{display:block;background:var(--shop);color:#fff;font-weight:500;line-height:40px;padding:0 15px;margin:0 0 10px;font-size:15px;text-transform:none}
.bhmt-sidebar .widget-title span{color:#fff}
.bhmt-sidebar .hotline-ho-tro{font-size:14px;border:1px solid #ececec;padding:20px 10px;border-radius:3px;text-align:center;background:#fff}
.bhmt-sidebar .hotline-ho-tro .info-hotline{text-transform:uppercase;display:block;font-weight:500;margin-bottom:8px}
.bhmt-sidebar .hotline-ho-tro .info2-hotline{display:block;color:#555}
.bhmt-sidebar .hotline-ho-tro strong{display:block;font-size:22px;color:#fb0000;font-weight:600}
.bhmt-policy{border:1px solid #ececec;border-radius:3px;padding:4px 10px}
.bhmt-policy .icon-box-row{display:flex;gap:10px;align-items:center;padding:9px 0;border-bottom:1px dashed #eee}
.bhmt-policy .icon-box-row:last-child{border-bottom:0}
.bhmt-policy img{width:40px;height:auto;flex:none}
.bhmt-policy strong{display:block;font-size:14px;color:#222;font-weight:600;line-height:1.3}
.bhmt-policy span{display:block;font-size:13px;color:var(--muted)}
.bhmt-recent{list-style:none;margin:0;padding:0}
.bhmt-recent li{display:flex;gap:10px;padding:8px 0;border-bottom:1px dotted #ddd;margin:0;list-style:none}
.bhmt-recent .thumb{flex:0 0 58px;height:58px;border-radius:3px;background:#eef4ee center/cover no-repeat}
.bhmt-recent a{color:#333;font-size:14px;line-height:1.35;display:block}
.bhmt-recent a:hover{color:var(--shop)}
.bhmt-recent .date{display:block;font-size:12px;color:#999;margin-top:2px}
.bhmt-recent .price{display:block;font-size:13px;color:red;margin-top:2px}
.bhmt-recent .price del{color:#999}

/* Bài viết */
.bhmt-article .entry-header{margin-bottom:16px}
.bhmt-article .entry-category{margin:0 0 6px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;font-weight:500}
.bhmt-article .entry-title{font-size:28px;line-height:1.3;margin:0 0 10px;color:#222;font-weight:600}
.bhmt-site .is-divider{height:3px;width:30px;background:rgba(0,0,0,.1);margin:10px 0}
.bhmt-article .entry-meta{font-size:12px;color:#888;text-transform:uppercase;letter-spacing:.03em}
.bhmt-article .entry-content{font-size:16px;line-height:1.75;color:#333;overflow-wrap:anywhere}
.bhmt-article .entry-content h2{font-size:22px;margin:1.4em 0 .6em;color:#222;line-height:1.35}
.bhmt-article .entry-content h3{font-size:19px;margin:1.3em 0 .5em;color:#222}
.bhmt-article .entry-content p{margin:0 0 1.1em}
.bhmt-article .entry-content ul,.bhmt-article .entry-content ol{margin:0 0 1.1em 1.4em;padding:0}
.bhmt-article .entry-content img{border-radius:3px}
.bhmt-article .entry-content .aligncenter{display:block;margin-inline:auto}
.bhmt-article .entry-content .alignleft{float:left;margin:0 1em 1em 0}
.bhmt-article .entry-content .alignright{float:right;margin:0 0 1em 1em}
.bhmt-article .entry-content table{width:100%;border-collapse:collapse;margin-bottom:1.2em;font-size:15px}
.bhmt-article .entry-content th,.bhmt-article .entry-content td{border:1px solid #e3e3e3;padding:8px 10px;text-align:left}
.bhmt-article .entry-content th{background:#f5f9f5}
.bhmt-article .entry-content blockquote{border-left:4px solid var(--shop);background:#f7fff1;margin:0 0 1.2em;padding:12px 16px}
.bhmt-article .entry-content iframe{max-width:100%}
.bhmt-article .entry-footer{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid #eee;padding-top:14px;margin-top:20px;font-size:14px}
.bhmt-share{display:flex;gap:6px;align-items:center}
.bhmt-share span{color:#777;margin-right:4px}
.bhmt-share a{width:32px;height:32px;border-radius:50%;border:1px solid #ddd;display:grid;place-items:center;font-size:12px;color:#555!important;font-weight:600}
.bhmt-share a:hover{background:var(--shop);border-color:var(--shop);color:#fff!important}
.entry-author{display:flex;gap:14px;align-items:center;background:#f7f7f7;border-radius:4px;padding:14px;margin-top:20px}
.entry-author img{border-radius:50%}
.entry-author h5{margin:0;text-transform:uppercase;font-size:14px;letter-spacing:.03em}
.entry-author p{margin:2px 0 0;font-size:13px;color:#777}
.bhmt-postnav{display:flex;justify-content:space-between;gap:20px;margin-top:18px;font-size:14px}
.bhmt-postnav .next{text-align:right}
.bhmt-related{margin-top:30px}
.bhmt-related__title{font-size:18px;text-transform:uppercase;border-bottom:2px solid var(--shop);padding-bottom:8px;margin:0 0 16px;color:#222}
.bhmt-site .comments-area{margin-top:30px}

/* Lưới bài viết */
.bhmt-archive-head{text-align:center;padding:24px 0 6px;margin-bottom:20px}
.bhmt-archive-head .bhmt-crumbs{margin-bottom:8px}
.bhmt-archive-head .page-title{font-size:26px;text-transform:uppercase;margin:0;color:#222;letter-spacing:.02em}
.bhmt-archive-head .taxonomy-description{max-width:760px;margin:10px auto 0;color:#666;font-size:14px}
.bhmt-cards{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:22px}
.bhmt-card{background:#fff;border:1px solid #eee;border-radius:3px;overflow:hidden;transition:box-shadow .2s;display:flex;flex-direction:column}
.bhmt-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.08)}
.bhmt-card__img{display:block;position:relative;aspect-ratio:3/2;background:#eef4ee;overflow:hidden}
.bhmt-card__img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.bhmt-card:hover .bhmt-card__img img{transform:scale(1.05)}
.bhmt-card__img .no-thumb{display:grid;place-items:center;height:100%;color:#9bb59b;font-weight:700;letter-spacing:.1em}
.bhmt-card__date{position:absolute;left:10px;top:10px;background:var(--shop);color:#fff!important;font-size:11px;line-height:1.1;text-align:center;padding:6px 7px;border-radius:2px}
.bhmt-card__date b{display:block;font-size:18px}
.bhmt-card__body{padding:12px 14px 16px}
.bhmt-card__cat{font-size:11px;text-transform:uppercase;color:#999;letter-spacing:.05em}
.bhmt-card h3{font-size:16px;line-height:1.35;margin:4px 0 0;font-weight:500}
.bhmt-card h3 a{color:#222}.bhmt-card h3 a:hover{color:var(--shop)}
.bhmt-card p{font-size:14px;color:#666;margin:0}
@media(max-width:900px){.bhmt-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.bhmt-cards{grid-template-columns:1fr}}
.bhmt-pagination ul{display:flex;gap:6px;justify-content:center;list-style:none;padding:0;margin:26px 0 0;flex-wrap:wrap}
.bhmt-pagination li{margin:0}
.bhmt-pagination a,.bhmt-pagination span{display:grid;place-items:center;min-width:36px;height:36px;padding:0 8px;border:1px solid #ddd;border-radius:3px;color:#333}
.bhmt-pagination .current,.bhmt-pagination a:hover{background:var(--shop);border-color:var(--shop);color:#fff}
.bhmt-searchform{display:flex;margin-bottom:20px;border:2px solid var(--shop);border-radius:4px;overflow:hidden}
.bhmt-searchform input{flex:1;border:0;padding:10px 12px;font:inherit;min-width:0}
.bhmt-searchform button{border:0;background:var(--shop);color:#fff;padding:0 18px;font:inherit;cursor:pointer}
.bhmt-empty{color:#666;font-size:15px}

/* Trang */
.bhmt-article--page .entry-content{font-size:15px}
.bhmt-article--wc .entry-content{font-size:15px}

/* Sản phẩm */
.bhmt-product__main{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,4.2fr) minmax(0,2.8fr);gap:28px;align-items:start}
@media(max-width:1000px){.bhmt-product__main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.bhmt-product__side{display:none}}
@media(max-width:700px){.bhmt-product__main{grid-template-columns:1fr}}
.bhmt-product__gallery .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important}
.bhmt-product__gallery img{border:1px solid #ececec}
.bhmt-product__gallery .flex-control-thumbs{display:flex;gap:6px;list-style:none;padding:0;margin:8px 0 0}
.bhmt-product__gallery .flex-control-thumbs li{flex:0 0 calc(25% - 5px);margin:0}
.bhmt-product__summary{width:auto!important;float:none!important}
.bhmt-product__summary .product_title{font-size:25px;line-height:1.3;margin:0 0 8px;color:#222;font-weight:600}
.bhmt-product__summary .price{color:gray;font-size:14px;margin:6px 0 12px}
.bhmt-product__summary .price .amount{color:red;font-size:22px;font-weight:400}
.bhmt-product__summary .price del .amount{color:#999;font-size:15px}
.bhmt-product__summary .woocommerce-product-details__short-description{font-size:15px;margin:15px 0;border:1px dashed var(--shop);border-radius:3px;background:#f7fff1;padding:10px 12px}
.bhmt-product__summary .woocommerce-product-details__short-description ul{margin:0 0 0 1.2em;padding:0}
.bhmt-product__summary .woocommerce-product-details__short-description li{margin-bottom:4px}
.bhmt-product__summary .variations{width:100%;border-collapse:collapse;margin-bottom:10px}
.bhmt-product__summary .variations th,.bhmt-product__summary .variations td{padding:6px 0;text-align:left;vertical-align:middle;border:0}
.bhmt-product__summary .variations select{min-width:200px;padding:8px;border:1px solid #ddd;border-radius:3px;font:inherit}
.bhmt-product__summary form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:10px 0}
.bhmt-product__summary form.variations_form{display:block}
.bhmt-product__summary .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.bhmt-product__summary .quantity input{width:70px;height:42px;text-align:center;border:1px solid #ddd;border-radius:3px}
.bhmt-product__summary .single_add_to_cart_button{background:var(--shop)!important;color:#fff!important;border:0;border-radius:3px;padding:0 22px;height:42px;font:inherit;font-size:15px;cursor:pointer;text-transform:none}
.bhmt-buy-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.bhmt-buy-buttons a{display:block;text-align:center;border-radius:3px;padding:10px;color:#fff!important;font-weight:500;line-height:1.3}
.bhmt-buy-buttons .btn-fb{background-image:linear-gradient(to top,#005cbb,#007eff)}
.bhmt-buy-buttons .btn-call{background-image:linear-gradient(to top,#dc5b00,#ecc500)}
.bhmt-product__summary .product_meta{font-size:14px;border-top:1px dotted #ddd;padding-top:10px;margin-top:10px}
.bhmt-product__summary .product_meta>span{display:block;margin-bottom:3px}
.bhmt-product__summary .woocommerce-product-rating{font-size:13px;margin-bottom:6px}
.bhmt-product__footer{margin-top:34px}
.bhmt-product__footer .woocommerce-tabs{border:1px solid #e6e6e6;border-radius:3px;padding:0 20px 20px;margin-bottom:30px}
.bhmt-product__footer .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:0;list-style:none;margin:0 -20px 18px;padding:0 10px;background:#f7fff1;border-bottom:1px solid #e6e6e6}
.bhmt-product__footer .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:0;background:none}
.bhmt-product__footer .woocommerce-tabs ul.tabs li a{display:block;padding:12px 16px;color:#333;font-weight:500;font-size:16px;border-bottom:2px solid transparent}
.bhmt-product__footer .woocommerce-tabs ul.tabs li.active a{color:var(--shop);border-bottom-color:var(--shop)}
.bhmt-product__footer .woocommerce-Tabs-panel{font-size:15px;line-height:1.7}
.bhmt-product__footer .woocommerce-Tabs-panel h2:first-child{font-size:20px}
.bhmt-product__footer .related>h2,.bhmt-product__footer .upsells>h2{text-align:center;color:var(--shop);font-size:20px;margin-bottom:16px}

/* Lưới sản phẩm (khi không có CSS Flatsome) */
.bhmt-site ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;list-style:none;margin:0;padding:0}
.bhmt-site ul.products.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.bhmt-site ul.products.columns-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.bhmt-site ul.products::before,.bhmt-site ul.products::after{display:none}
.bhmt-site ul.products li.product{width:auto!important;margin:0!important;float:none!important;border:1px solid #e2e2e2;padding:10px;background:#fff;border-radius:3px;text-align:center;transition:border-color .2s}
.bhmt-site ul.products li.product:hover{border-color:var(--shop)}
.bhmt-site ul.products li.product img{aspect-ratio:1;object-fit:cover;width:100%;margin:0 0 8px}
.bhmt-site ul.products .woocommerce-loop-product__title{font-size:15px!important;font-weight:400;color:#333;margin:0 0 6px;line-height:1.35}
.bhmt-site ul.products .price{color:gray;font-size:13px;display:block;margin-bottom:8px}
.bhmt-site ul.products .price .amount{color:red;font-size:17px}
.bhmt-site ul.products .button{display:inline-block;background:var(--shop);color:#fff!important;border-radius:3px;padding:6px 12px;font-size:13px}
@media(max-width:900px){.bhmt-site ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.bhmt-shop-main .term-description,.bhmt-shop-main .page-description{margin-bottom:16px;color:#555;font-size:14px}
.bhmt-shop-main .woocommerce-result-count{float:left;font-size:14px;color:#666;margin:0 0 14px}
.bhmt-shop-main .woocommerce-ordering{float:right;margin:0 0 14px}
.bhmt-shop-main .woocommerce-ordering select{padding:6px 8px;border:1px solid #ddd;border-radius:3px}
.bhmt-shop-main ul.products{clear:both}
.bhmt-shop-main .woocommerce-pagination ul{display:flex;gap:6px;justify-content:center;list-style:none;padding:0;margin:24px 0 0;border:0}
.bhmt-shop-main .woocommerce-pagination li{border:0;margin:0}
.bhmt-shop-main .woocommerce-pagination a,.bhmt-shop-main .woocommerce-pagination span{display:grid;place-items:center;min-width:36px;height:36px;border:1px solid #ddd;border-radius:3px;padding:0 8px}
.bhmt-shop-main .woocommerce-pagination .current{background:var(--shop);color:#fff;border-color:var(--shop)}
