/* ==========================================================================
   Bison – Header + Tìm kiếm
   Phối màu: thanh chính TRẮNG, thanh thông tin + menu ĐEN, nút/giá ĐỎ
   ========================================================================== */

.bhs, .bhs-drawer, .bhs-cartdrawer, .bhs-results, .bhs-layer {
  --bhs-red: #C8161D;
  --bhs-red-dark: #9E1016;
  --bhs-logo-red: #E11B22;
  --bhs-black: #141414;
  --bhs-soft: #F4F4F4;
  --bhs-line: #E3E3E3;
  --bhs-line-strong: #CFCFCF;
  --bhs-text-2: #3D3D3D;
  --bhs-text-3: #4A4A4A;
  --bhs-muted: #6B6B6B;
  --bhs-zalo: #015CE0;
  --bhs-zalo-dark: #0049B3;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--bhs-black);
}
.bhs *, .bhs *::before, .bhs *::after,
.bhs-drawer *, .bhs-cartdrawer *, .bhs-results * { box-sizing: border-box; }

/* Reset style Flatsome trong phạm vi header */
.bhs button, .bhs input, .bhs select,
.bhs-drawer button, .bhs-cartdrawer button, .bhs-results select {
  margin: 0; min-height: 0; line-height: 1.2; letter-spacing: normal;
  text-transform: none; box-shadow: none; font-family: inherit;
}
.bhs ul, .bhs-drawer ul, .bhs-results ul { margin: 0; padding: 0; list-style: none; }
.bhs ul li, .bhs-drawer ul li, .bhs-results ul li { margin: 0; }
.bhs p, .bhs-drawer p, .bhs-cartdrawer p { margin: 0; }
.bhs a:focus-visible, .bhs button:focus-visible, .bhs input:focus-visible,
.bhs-drawer a:focus-visible, .bhs-drawer button:focus-visible,
.bhs-cartdrawer a:focus-visible, .bhs-cartdrawer button:focus-visible { outline: 3px solid var(--bhs-red); outline-offset: 2px; }
.bhs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bhs [hidden], .bhs-drawer[hidden], .bhs-cartdrawer[hidden], .bhs-layer[hidden], .bhs-drawer [hidden] { display: none !important; }

.bhs-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ---------- Nút dùng chung ---------- */
.bhs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 18px; border-radius: 10px; border: 0;
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.bhs-btn img { width: 26px; height: 26px; border-radius: 6px; background: #fff; flex: none; }
.bhs-btn--zalo { background: var(--bhs-zalo); color: #fff; }
.bhs-btn--zalo:hover { background: var(--bhs-zalo-dark); color: #fff; }
.bhs-btn--red { background: var(--bhs-red); color: #fff; }
.bhs-btn--red:hover { background: var(--bhs-red-dark); color: #fff; }
.bhs-btn--dark { background: var(--bhs-black); color: #fff; }
.bhs-btn--dark:hover { background: #000; color: #fff; }
.bhs-btn--lg { height: 54px; padding: 0 24px; }
.bhs-icon-btn {
  width: 40px; height: 40px; border: 0; border-radius: 10px; padding: 0; cursor: pointer;
  background: var(--bhs-soft); color: var(--bhs-black); display: flex; align-items: center; justify-content: center;
}

/* ---------- Thanh thông tin ---------- */
.bhs-top { position: relative; z-index: 1000; background: var(--bhs-black); color: #E6E6E6; font-size: 13px; }
.bhs-top .bhs-wrap { min-height: 34px; display: flex; align-items: center; justify-content: center; text-align: center; }

/* ---------- Thanh chính (dính trên cùng khi cuộn) ----------
   Header nằm trong <header id="header"> của Flatsome nên position: sticky không chạy (chỉ dính trong khung cha).
   Thay bằng: cuộn qua thanh chính → JS thêm .is-stuck → thanh chính cố định, .bhs-main-ph giữ đúng chiều cao cũ. */
.bhs-main { position: relative; z-index: 1000; background: #fff; border-bottom: 1px solid var(--bhs-line); }
.bhs-main-ph { display: none; }
.bhs.is-stuck .bhs-main { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 4px 16px rgba(20, 20, 20, .08); }
.bhs.is-stuck .bhs-main-ph { display: block; height: var(--bhs-ph, 89px); }
.admin-bar .bhs.is-stuck .bhs-main { top: 32px; }
@media (max-width: 782px) { .admin-bar .bhs.is-stuck .bhs-main { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bhs.is-stuck .bhs-main { top: 0; } } /* thanh quản trị trôi theo trang */

/* Trang kết quả tìm kiếm: bỏ thanh tiêu đề + breadcrumb của Flatsome (template đã có "Trang chủ / Tìm kiếm") */
body.bhs-on.search .shop-page-title,
body.bhs-on.search .page-title,
body.bhs-on.search .category-page-title { display: none !important; }

/* Đang mở màn tìm kiếm / ngăn kéo danh mục / ngăn kéo giỏ (JS gắn html.bhs-lock):
   tạm ẩn các thanh cố định ở đáy của gói khác để không đè lên nội dung (vd. thanh Mua ngay ở trang sản phẩm
   đè banner "Hàng mới về" trong màn tìm kiếm mobile). Đóng màn là các thanh hiện lại. */
html.bhs-lock .bp-mbar,
html.bhs-lock .bc-nav,
html.bhs-lock .bco-mbar,
html.bhs-lock .bfc { display: none !important; }

/* Tắt phần dính của Flatsome (phòng khi filter flatsome_header_class không có ở phiên bản đang dùng) */
body.bhs-on #header .header-wrapper.stuck { position: relative !important; top: auto !important; animation: none !important; box-shadow: none !important; }
body.bhs-on #header { height: auto !important; min-height: 0 !important; }
.bhs-main__row { position: relative; height: 88px; display: flex; align-items: center; gap: 36px; transition: height .2s ease; }
.bhs.is-compact .bhs-main__row { height: 64px; }
.bhs.is-compact .bhs-logo img { height: 40px; }
.bhs.is-compact .bhs-call__label { display: none; }

.bhs-menu-btn { display: none; }
.bhs-msearch { display: none; } /* chỉ hiện trên mobile */
.bhs-logo { display: flex; flex: none; text-decoration: none; }
.bhs-logo img { height: 54px; width: auto; display: block; border-radius: 6px; transition: height .2s ease; }
.bhs-logo__text { font-size: 26px; font-weight: 800; color: var(--bhs-red); }

/* ---------- Ô tìm kiếm ---------- */
.bhs-search { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; margin: 0; }
.bhs-search__back { display: none; }
.bhs-search__field { position: relative; flex: 1; min-width: 0; display: block; }
.bhs-search__icon { display: none; }
/* "input." tăng độ ưu tiên hơn input[type=search] của Flatsome (padding, margin-bottom 1em, box-shadow) */
.bhs input.bhs-search__input {
  margin: 0; max-width: none; box-shadow: none; line-height: normal;
  width: 100%; height: 50px; padding: 0 44px 0 18px;
  border: 1px solid var(--bhs-line-strong); border-right: 0; border-radius: 10px 0 0 10px;
  background: var(--bhs-soft); color: var(--bhs-black); font-size: 16px; outline: none;
  -webkit-appearance: none; appearance: none;
}
.bhs-search__input::placeholder { color: var(--bhs-muted); }
.bhs-search__input::-webkit-search-cancel-button { display: none; }
.bhs .bhs-search__input:focus-visible { outline: none; }
.bhs input.bhs-search__input:focus { background: #fff; border-color: var(--bhs-black); box-shadow: inset 0 0 0 1px var(--bhs-black); }
.bhs-search__clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--bhs-line-strong); color: #fff; display: flex; align-items: center; justify-content: center;
}
.bhs-search__submit {
  flex: none; width: 60px; height: 50px; border: 0; border-radius: 0 10px 10px 0; cursor: pointer;
  background: var(--bhs-red); color: #fff; display: flex; align-items: center; justify-content: center; padding: 0;
}
.bhs-search__submit:hover { background: var(--bhs-red-dark); }
.bhs-search__submit span { display: none; }

/* Bảng gợi ý tìm kiếm */
.bhs-panel {
  position: absolute; left: 0; top: 58px; z-index: 1100;
  width: min(840px, calc(100vw - 64px)); max-height: calc(100vh - 140px); overflow-y: auto;
  background: #fff; border: 1px solid #D9D9D9; border-radius: 14px;
}
.bhs-p__cols { display: flex; min-height: 300px; }
.bhs-p__left { flex: 0 0 300px; padding: 18px 20px; border-right: 1px solid #EEEEEE; display: flex; flex-direction: column; gap: 18px; }
.bhs-p__right { flex: 1; min-width: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.bhs-p__sec { display: flex; flex-direction: column; gap: 8px; }
.bhs-p__h { font-size: 13px; font-weight: 700; color: var(--bhs-text-3); }
.bhs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bhs-chip {
  height: 36px; padding: 0 12px; border-radius: 18px; border: 1.5px solid var(--bhs-line-strong);
  background: #fff; color: var(--bhs-black); font-size: 14px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap;
}
.bhs-chip:hover { border-color: var(--bhs-black); color: var(--bhs-black); }
.bhs-chip.is-on { background: var(--bhs-black); border-color: var(--bhs-black); color: #fff; }
.bhs .bhs-kw {
  width: 100%; min-height: 40px; padding: 0 8px; margin: 0 -8px; border: 0; border-radius: 8px;
  background: transparent; color: var(--bhs-black); font-size: 15px; text-align: left; cursor: pointer;
  display: flex; align-items: center; gap: 10px; width: calc(100% + 16px);
}
.bhs .bhs-kw:hover, .bhs .bhs-kw.is-active { background: var(--bhs-soft); }
.bhs-kw svg { color: #8A8A8A; flex: none; }
.bhs-kw__text { flex: 1; }
.bhs-kw__del { color: #9A9A9A; display: flex; padding: 4px; }
.bhs-prow {
  display: flex; align-items: center; gap: 14px; padding: 8px; margin: 0 -8px; border-radius: 10px;
  color: var(--bhs-black); text-decoration: none;
}
.bhs-prow:hover, .bhs-prow.is-active { background: #F7F7F7; color: var(--bhs-black); }
.bhs-prow img { width: 56px; height: 56px; flex: none; border-radius: 8px; background: var(--bhs-soft); object-fit: contain; padding: 4px; }
.bhs-prow__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bhs-prow__name { font-size: 15px; font-weight: 700; line-height: 1.35; }
.bhs-prow__sku { font-size: 13px; color: var(--bhs-muted); }
.bhs-prow__price { font-size: 16px; font-weight: 800; color: var(--bhs-red); white-space: nowrap; }
.bhs-prow__price.is-contact { color: var(--bhs-black); }
.bhs-p__all {
  margin-top: 8px; height: 44px; border-radius: 10px; background: var(--bhs-soft); color: var(--bhs-black);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; text-decoration: none;
}
.bhs-p__all:hover { background: #EAEAEA; color: var(--bhs-black); }
.bhs-p__none-title { font-size: 16px; font-weight: 800; }
.bhs-p__none-sub { font-size: 14px; line-height: 1.55; color: var(--bhs-text-3); }
.bhs-p__loading { padding: 20px 0; color: var(--bhs-text-3); font-size: 14px; }
.bhs-promo { display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: var(--bhs-red); color: #fff; text-decoration: none; }
.bhs-promo:hover { background: var(--bhs-red-dark); color: #fff; }
.bhs-promo__label { background: #fff; color: var(--bhs-red); font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 6px; flex: none; }
.bhs-promo__text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.bhs-promo__title { font-size: 17px; font-weight: 800; }
.bhs-promo__sub { font-size: 14px; color: #FFE0E0; }
.bhs-promo__cta { height: 40px; padding: 0 18px; border-radius: 10px; background: #fff; color: var(--bhs-red); display: flex; align-items: center; font-size: 15px; font-weight: 800; flex: none; }

/* ---------- Gọi tư vấn ---------- */
.bhs-call { position: relative; flex: none; }
.bhs-call__btn { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 6px 4px; cursor: pointer; color: var(--bhs-black); text-align: left; }
.bhs-call__btn:hover { background: none; color: var(--bhs-black); }
.bhs-call__ring { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--bhs-red); color: var(--bhs-red); display: flex; align-items: center; justify-content: center; flex: none; }
.bhs-call__text { display: flex; flex-direction: column; gap: 2px; }
.bhs-call__label { font-size: 13px; color: #5A5A5A; }
.bhs-call__num { font-size: 20px; font-weight: 800; letter-spacing: .01em; }
.bhs-call__pop {
  position: absolute; right: 0; top: 64px; z-index: 1100; width: 320px;
  background: #fff; border: 1px solid #D9D9D9; border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.bhs-call__hint { font-size: 14px; color: var(--bhs-text-3); }
.bhs-call__big { font-size: 26px; font-weight: 800; color: var(--bhs-red); text-decoration: none; }
.bhs-call__qr { display: flex; gap: 14px; align-items: center; padding-top: 12px; border-top: 1px solid #EEEEEE; font-size: 14px; line-height: 1.5; color: var(--bhs-text-2); }
.bhs-call__qr img { width: 108px; height: 108px; flex: none; border-radius: 8px; }

/* ---------- Giỏ hàng ---------- */
.bhs-cart {
  position: relative; flex: none; display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px; border-radius: 24px; background: var(--bhs-red); color: #fff;
  font-size: 16px; font-weight: 700; text-decoration: none;
}
.bhs-cart:hover { background: var(--bhs-red-dark); color: #fff; }
.bhs-cart__count {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--bhs-black); color: #fff; border: 2px solid #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.bhs-toast {
  position: absolute; right: 32px; top: calc(100% - 4px); z-index: 1100; width: 320px;
  background: var(--bhs-black); color: #fff; border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.bhs-toast__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.bhs-toast__title svg { color: #7BD88F; }
.bhs-toast__name { font-size: 14px; color: #CFCFCF; }
.bhs-toast .bhs-btn { height: 42px; font-size: 15px; }

/* ---------- Menu danh mục + mega menu ---------- */
.bhs-nav { position: relative; z-index: 900; background: var(--bhs-black); }
.bhs-nav__row { height: 54px; display: flex; align-items: stretch; gap: 16px; }
.bhs-nav__list { display: flex; align-items: stretch; gap: 4px; }
.bhs-nav__item { display: flex; }
.bhs-nav__link {
  display: flex; align-items: center; gap: 6px; padding: 3px 14px 0; border-bottom: 3px solid transparent;
  color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.bhs-nav__link:hover, .bhs-nav__link[aria-expanded="true"] { color: #fff; border-bottom-color: var(--bhs-logo-red); }
.bhs-nav__link--plain { font-weight: 600; }
.bhs-nav__dealer {
  margin-left: auto; align-self: center; height: 38px; padding: 0 16px; border: 1.5px solid #fff; border-radius: 8px;
  color: #fff; display: flex; align-items: center; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.bhs-nav__dealer:hover { background: #fff; color: var(--bhs-black); }
.bhs-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--bhs-line); padding: 24px 0 30px; }
.bhs-mega__title { font-size: 18px; font-weight: 800; margin-bottom: 14px !important; }
.bhs-mega__grid { display: flex; flex-wrap: wrap; gap: 16px; }
.bhs-mega__loading { color: var(--bhs-text-3); font-size: 15px; padding: 40px 0; }
.bhs-ptile {
  width: 196px; padding: 10px; border-radius: 14px; border: 1.5px solid transparent;
  display: flex; flex-direction: column; gap: 8px; color: var(--bhs-black); text-decoration: none;
  transition: border-color .15s ease;
}
.bhs-ptile:hover, .bhs-ptile:focus-visible { border-color: var(--bhs-black); color: var(--bhs-black); }
.bhs-ptile__img { position: relative; height: 176px; border-radius: 10px; background: var(--bhs-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; color: #2B2B2B; }
.bhs-ptile__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.bhs-ptile__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; font-size: 15px; font-weight: 700; line-height: 1.35; }
.bhs-ptile__price { font-size: 17px; font-weight: 800; color: var(--bhs-red); }
.bhs-ptile__price.is-contact { color: var(--bhs-black); }
.bhs-ptile__plus { width: 60px; height: 60px; border-radius: 50%; border: 2px solid #9A9A9A; color: var(--bhs-muted); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 400; }
.bhs-backdrop { position: fixed; inset: 0; z-index: 800; background: rgba(20, 20, 20, .35); }

/* ---------- Ngăn kéo (danh mục mobile + giỏ hàng) ---------- */
.bhs-layer { position: fixed; inset: 0; z-index: 99990; background: rgba(20, 20, 20, .5); }
.bhs-drawer, .bhs-cartdrawer {
  position: fixed; top: 0; bottom: 0; z-index: 99991; background: #fff;
  display: flex; flex-direction: column; animation: bhs-in-left .22s ease-out;
}
.bhs-drawer { left: 0; width: min(336px, 88vw); }
.bhs-cartdrawer { right: 0; width: min(400px, 100vw); animation-name: bhs-in-right; }
.bhs-drawer__head { height: 60px; padding: 0 12px 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #EEEEEE; flex: none; }
.bhs-drawer__title { font-size: 18px; font-weight: 800; }
.bhs-drawer__body { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.bhs-drawer__foot { flex: none; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #EEEEEE; display: flex; gap: 10px; }
.bhs-drawer__foot .bhs-btn { flex: 1; height: 50px; font-size: 15px; padding: 0 10px; }
.bhs-drawer__foot .bhs-btn img { width: 22px; height: 22px; }
.bhs-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bhs-drawer .bhs-tile {
  min-height: 64px; padding: 10px; border-radius: 12px; border: 1.5px solid var(--bhs-line); background: #fff; cursor: pointer;
  display: flex; align-items: center; gap: 10px; text-align: left; color: var(--bhs-black); font-size: 14px; font-weight: 700; line-height: 1.3;
}
.bhs-drawer .bhs-tile:hover { background: #fff; color: var(--bhs-black); border-color: var(--bhs-black); }
.bhs-drawer .bhs-tile[aria-expanded="true"] { border: 2px solid var(--bhs-red); background: #FFF4F4; padding: 9.5px; }
.bhs-tile__img { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--bhs-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; color: #2B2B2B; }
.bhs-tile__img img { width: 100%; height: 100%; object-fit: contain; }
.bhs-tile-panel { display: flex; flex-direction: column; gap: 10px; }
.bhs-tile-panel__title { font-size: 15px; font-weight: 800; }
.bhs-tile-panel .bhs-mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bhs-tile-panel .bhs-ptile { width: auto; padding: 7px; border-radius: 12px; gap: 5px; }
.bhs-tile-panel .bhs-ptile__img { height: 100px; border-radius: 8px; }
.bhs-tile-panel .bhs-ptile__name { font-size: 13px; min-height: 2.6em; }
.bhs-tile-panel .bhs-ptile__price { font-size: 14px; }
.bhs-tile-panel .bhs-ptile__plus { width: 44px; height: 44px; font-size: 24px; }
.bhs-joblist a, .bhs-drawer__links a {
  min-height: 46px; display: flex; align-items: center; border-bottom: 1px solid #F0F0F0;
  color: var(--bhs-black); font-size: 15px; font-weight: 600; text-decoration: none;
}
.bhs-cartdrawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.bhs-cartdrawer .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.bhs-cartdrawer .woocommerce-mini-cart-item { padding: 14px 0 14px 0; border-bottom: 1px solid #F0F0F0; font-size: 14px; }
.bhs-cartdrawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 16px; }
.bhs-cartdrawer .woocommerce-mini-cart__total .amount { color: var(--bhs-red); font-size: 20px; font-weight: 800; }
.bhs-cartdrawer .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.bhs-cartdrawer .woocommerce-mini-cart__buttons .button {
  display: flex; align-items: center; justify-content: center; height: 50px; margin: 0; border-radius: 10px;
  border: 1.5px solid var(--bhs-black); background: #fff; color: var(--bhs-black);
  font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: normal;
}
.bhs-cartdrawer .woocommerce-mini-cart__buttons .checkout { order: -1; background: var(--bhs-red); border-color: var(--bhs-red); color: #fff; }
html.bhs-lock, html.bhs-lock body { overflow: hidden; }
@keyframes bhs-in-left { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes bhs-in-right { from { transform: translateX(100%); } to { transform: none; } }

/* ---------- Trang kết quả tìm kiếm ---------- */
.bhs-results { max-width: 1280px; margin: 0 auto; padding: 24px 32px 64px; display: flex; flex-direction: column; gap: 20px; }
.bhs-results__crumb { font-size: 14px; color: #5A5A5A; }
.bhs-results__crumb a { color: #5A5A5A; text-decoration: none; }
.bhs-results__title { margin: 0; font-size: 32px; line-height: 1.25; font-weight: 800; color: var(--bhs-black); text-transform: none; }
.bhs-results__count { margin: -12px 0 0; font-size: 16px; color: var(--bhs-text-2); }
.bhs-results__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bhs-results__label { font-size: 15px; font-weight: 700; min-width: 150px; }
.bhs-results__filters { padding: 16px 0; border-top: 1px solid var(--bhs-line); border-bottom: 1px solid var(--bhs-line); }
.bhs-results .bhs-chip { height: 42px; padding: 0 16px; border-radius: 21px; font-size: 15px; }
.bhs-results__sort { margin: 0 0 0 auto; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.bhs-results__sort label { margin: 0; font-weight: 400; color: var(--bhs-text-2); }
.bhs-results__sort select { width: auto; height: 44px; margin: 0; padding: 0 36px 0 12px; border: 1px solid var(--bhs-line-strong); border-radius: 8px; background-color: #fff; font-size: 15px; }
.bhs-results__grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.bhs-results__item { display: flex; min-width: 0; }
.bhs-results__pages ul { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bhs-results__pages .page-numbers {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--bhs-line-strong);
  display: flex; align-items: center; justify-content: center; color: var(--bhs-black); font-weight: 700; text-decoration: none;
}
.bhs-results__pages .page-numbers.current { background: var(--bhs-black); border-color: var(--bhs-black); color: #fff; }
.bhs-results__empty { display: flex; flex-direction: column; gap: 12px; padding: 12px 0; font-size: 16px; color: var(--bhs-text-2); }
.bhs-results__band { margin-top: 12px; background: var(--bhs-black); color: #fff; border-radius: 18px; padding: 28px 36px; display: flex; align-items: center; gap: 28px; }
.bhs-results__band > div { flex: 1; }
.bhs-results__band-title { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: #fff; }
.bhs-results__band-sub { margin: 0; font-size: 16px; color: #D6D6D6; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .bhs-main__row { gap: 20px; }
  .bhs-call__label { display: none; }
  .bhs-cart__label { display: none; }
  .bhs-cart { padding: 0 14px; }
  .bhs-nav__link { padding: 3px 10px 0; font-size: 14px; }
  .bhs-results__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .bhs-wrap { padding: 0 8px; }
  .bhs-top { font-size: 11px; }
  .bhs-top .bhs-wrap { min-height: 26px; padding: 4px 12px; }
  .admin-bar .bhs-main { top: 0; }

  .bhs-main__row { height: auto; display: grid; grid-template-columns: 88px 1fr 88px; align-items: center; gap: 0; }
  .bhs.is-compact .bhs-main__row { height: auto; }
  .bhs-menu-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    height: 56px; padding: 0 8px; border: 0; background: none; color: var(--bhs-black);
    font-size: 11px; font-weight: 600; cursor: pointer; justify-self: start;
  }
  .bhs-menu-btn:hover { background: none; color: var(--bhs-black); }
  .bhs-logo { justify-self: center; grid-column: 2; grid-row: 1; }
  .bhs-logo img, .bhs.is-compact .bhs-logo img { height: 38px; }
  /* Nút kính lúp góc phải */
  .bhs-msearch {
    display: flex; align-items: center; justify-content: center; grid-column: 3; grid-row: 1; justify-self: end;
    width: 48px; height: 48px; margin: 0 4px 0 0; padding: 0; border: 0; border-radius: 10px;
    background: none; color: var(--bhs-black); cursor: pointer; min-height: 0; box-shadow: none;
  }
  .bhs-msearch:hover, .bhs-msearch:focus { background: var(--bhs-soft); color: var(--bhs-black); }
  /* Trang có thanh điều hướng đáy (đã có nút "Danh mục" ở giữa) → bỏ nút ☰ Danh mục trên header */
  body.bc-nav-on .bhs-menu-btn { display: none; }
  .bhs-call, .bhs-cart, .bhs-nav { display: none; }
  .bhs-toast { position: fixed; left: 16px; right: 16px; top: auto; bottom: 92px; width: auto; }

  .bhs-search { grid-column: 1 / -1; padding: 0 8px 12px; }
  .bhs.is-compact:not(.is-search-open) .bhs-search { display: none; }
  .bhs-search__icon { display: flex; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--bhs-muted); pointer-events: none; }
  .bhs input.bhs-search__input { height: 46px; padding-left: 42px; border-right: 1px solid var(--bhs-line-strong); border-radius: 10px; font-size: 16px; }
  .bhs-search__submit { display: none; }

  /* Màn hình tìm kiếm toàn trang */
  .bhs.is-search-open .bhs-search {
    position: fixed; inset: 0; z-index: 99995; background: #fff; padding: 9px 12px 0;
    display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px;
  }
  .bhs.is-search-open .bhs-search__back {
    display: flex; width: 40px; height: 46px; border: 0; background: none; padding: 0; color: var(--bhs-black);
    align-items: center; justify-content: center; cursor: pointer;
  }
  .bhs.is-search-open .bhs-search__icon { display: none; }
  .bhs.is-search-open .bhs-search__input { padding-left: 12px; background: #fff; border: 2px solid var(--bhs-black); }
  .bhs.is-search-open .bhs-search__submit { display: flex; width: auto; height: 46px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 700; }
  .bhs.is-search-open .bhs-search__submit svg { display: none; }
  .bhs.is-search-open .bhs-search__submit span { display: inline; }
  .bhs.is-search-open .bhs-panel {
    position: static; flex: 0 0 100%; width: 100%; max-height: none; height: calc(100dvh - 70px);
    margin: 4px -12px 0; width: calc(100% + 24px); flex-basis: calc(100% + 24px);
    border: 0; border-top: 1px solid #EEEEEE; border-radius: 0;
  }
  .bhs-p__cols { flex-direction: column; min-height: 0; }
  .bhs-p__left { flex: none; border-right: 0; padding: 12px 16px 0; gap: 14px; }
  .bhs-p__right { padding: 12px 16px; }
  .bhs .bhs-kw { min-height: 44px; border-bottom: 1px solid #F0F0F0; border-radius: 0; }
  .bhs-chip { height: 38px; padding: 0 14px; }
  .bhs-prow { padding: 9px 0; margin: 0; border-radius: 0; border-bottom: 1px solid #F0F0F0; }
  .bhs-prow { flex-wrap: nowrap; }
  .bhs-prow__name { font-size: 14px; }
  .bhs-prow__sku { font-size: 12px; }
  .bhs-prow__price { font-size: 15px; }
  .bhs-promo { margin: 4px 16px 16px; border-radius: 12px; padding: 14px 16px; gap: 12px; }
  .bhs-promo__label { font-size: 11px; }
  .bhs-promo__title { font-size: 16px; }
  .bhs-promo__sub { font-size: 13px; }
  .bhs-promo__cta { height: 38px; padding: 0 14px; font-size: 14px; }

  .bhs-results { padding: 16px 16px 96px; gap: 14px; }
  .bhs-results__title { font-size: 21px; }
  .bhs-results__count { margin-top: -8px; font-size: 14px; }
  .bhs-results__label { min-width: 0; width: 100%; font-size: 14px; }
  .bhs-results__row .bhs-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .bhs-results .bhs-chip { height: 38px; font-size: 13px; padding: 0 12px; }
  .bhs-results__sort { margin-left: 0; width: 100%; }
  .bhs-results__sort select { flex: 1; }
  .bhs-results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bhs-results__band { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 20px; border-radius: 16px; }
  .bhs-results__band-title { font-size: 20px; }
  .bhs-results__band .bhs-btn { width: 100%; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .bhs *, .bhs-drawer, .bhs-cartdrawer { transition: none !important; animation: none !important; }
}
