/* ==========================================================================
   Bison – Trang sản phẩm chi tiết
   Đỏ #C8161D · Đen #141414 · Xanh Zalo #015CE0 · Font Be Vietnam Pro
   ========================================================================== */

.bp, .bp-lightbox, .bp-sheet, .bp-mbar, .bp-pcbar {
  --bp-red: #C8161D; --bp-red-dark: #9E1016; --bp-black: #141414;
  --bp-soft: #F4F4F4; --bp-soft2: #F7F7F7; --bp-line: #E3E3E3; --bp-line-strong: #CFCFCF;
  --bp-text2: #3D3D3D; --bp-text3: #4A4A4A; --bp-muted: #6B6B6B;
  --bp-green: #1F7A3A; --bp-star: #E8A317; --bp-zalo: #015CE0; --bp-zalo-dark: #0049B3;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--bp-black);
}
.bp *, .bp *::before, .bp *::after, .bp-sheet *, .bp-mbar *, .bp-pcbar * { box-sizing: border-box; }
.bp button, .bp input, .bp select, .bp textarea, .bp-sheet button, .bp-mbar button, .bp-pcbar button {
  margin: 0; min-height: 0; line-height: 1.2; letter-spacing: normal; text-transform: none; box-shadow: none; font-family: inherit;
}
.bp ul { margin: 0; padding: 0; list-style: none; }
.bp ul li { margin: 0; }
.bp p { margin: 0; }
.bp h1, .bp h2 { font-family: inherit; text-transform: none; letter-spacing: normal; color: var(--bp-black); }
.bp [hidden], .bp-sheet[hidden], .bp-pcbar[hidden], .bp-lightbox[hidden], .bp-mbar [hidden], .bp-sheet [hidden] { display: none !important; }
.bp a:focus-visible, .bp button:focus-visible, .bp input:focus-visible,
.bp-sheet button:focus-visible, .bp-mbar a:focus-visible, .bp-mbar button:focus-visible { outline: 3px solid var(--bp-red); outline-offset: 2px; }
.bp-muted { color: var(--bp-muted); font-size: 14px; }
.bp-dot { color: #BDBDBD; }
.bp-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.bp > .bp-wrap { padding-top: 20px; padding-bottom: 80px; }
.bp-crumb { font-size: 14px; color: #5A5A5A; margin-bottom: 20px; }
.bp-crumb a { color: #5A5A5A; text-decoration: none; }
.bp-crumb a:hover { color: var(--bp-red); }
.bp-h2 { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 3px solid var(--bp-black); font-size: 26px; font-weight: 800; line-height: 1.3; }

/* ---------- Nút ---------- */
.bp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 20px;
  border-radius: 12px; border: 0; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.bp-btn img { width: 24px; height: 24px; border-radius: 5px; background: #fff; flex: none; }
.bp-btn--lg { height: 56px; font-size: 17px; }
.bp-btn--red { background: var(--bp-red); color: #fff; font-weight: 800; }
.bp-btn--red:hover { background: var(--bp-red-dark); color: #fff; }
/* "Thêm vào giỏ": nền đen chữ trắng. Thêm tiền tố .bp / .bp-pcbar / .bp-sheet để thắng màu nút submit của Flatsome
   (trước đây Flatsome tô nền đỏ, chữ đen → khó đọc). */
.bp-btn--ghost,
.bp .bp-btn--ghost, .bp-pcbar .bp-btn--ghost, .bp-sheet .bp-btn--ghost { background: var(--bp-black); color: #fff; border: 1.5px solid var(--bp-black); }
.bp .bp-btn--ghost:hover, .bp-pcbar .bp-btn--ghost:hover, .bp-sheet .bp-btn--ghost:hover { background: #000; border-color: #000; color: #fff; }
.bp .bp-btn--ghost svg, .bp-pcbar .bp-btn--ghost svg, .bp-sheet .bp-btn--ghost svg { color: #fff; }
.bp .bp-btn--red, .bp-pcbar .bp-btn--red, .bp-sheet .bp-btn--red { background: var(--bp-red); color: #fff; border: 0; }
.bp .bp-btn--red:hover, .bp-pcbar .bp-btn--red:hover, .bp-sheet .bp-btn--red:hover { background: var(--bp-red-dark); color: #fff; }
.bp-btn--outline { background: #fff; color: var(--bp-black); border: 1.5px solid var(--bp-black); height: 46px; font-size: 15px; }
.bp-btn--outline:hover { background: var(--bp-black); color: #fff; }
.bp-btn--dark { background: var(--bp-black); color: #fff; }
.bp-btn--dark:hover { background: #000; color: #fff; }
.bp-btn--zalo { background: var(--bp-zalo); color: #fff; }
.bp-btn--zalo:hover { background: var(--bp-zalo-dark); color: #fff; }
.bp-btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.bp-link { background: none; border: 0; padding: 4px 0; color: var(--bp-red); font-size: 14px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.bp-icon-btn { width: 40px; height: 40px; flex: none; border: 0; border-radius: 10px; background: var(--bp-soft); color: var(--bp-black); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }

/* ---------- Bố cục trên: ảnh dính khi cuộn ---------- */
.bp-top { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 48px; align-items: start; }
.bp-gallery { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.admin-bar .bp-gallery { top: 56px; }
body:has(.bhs-main) .bp-gallery { top: 96px; } /* Có header dính của gói header-search-bison */

.bp-gallery__main { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--bp-line); border-radius: 16px; overflow: hidden; background: #fff; }
.bp-gallery__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.bp-gallery__track::-webkit-scrollbar { display: none; }
.bp-gallery__slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; }
.bp-gallery__zoom { width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; display: block; }
.bp-gallery__zoom img, .bp-gallery__slide > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bp-gallery__main.is-oos img { opacity: .5; }
.bp-oos-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--bp-black); color: #fff; font-size: 16px; font-weight: 700; padding: 9px 20px; border-radius: 22px; pointer-events: none; }
.bp-gallery__nav {
  position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--bp-line); background: #fff; color: var(--bp-black); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; z-index: 2;
}
.bp-gallery__nav--prev { left: 14px; }
.bp-gallery__nav--next { right: 14px; }
.bp-gallery__count { position: absolute; left: 16px; bottom: 16px; background: rgba(20, 20, 20, .75); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 12px; }
.bp-gallery__hint { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--bp-line); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; pointer-events: none; }
/* Album ảnh nhỏ: 1 hàng, không xuống dòng – hiện 5 ảnh, còn lại kéo ngang */
.bp-gallery__thumbs { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; padding-bottom: 4px; }
.bp-thumb { flex: 0 0 calc((100% - 40px) / 5); scroll-snap-align: start; aspect-ratio: 1 / 1; padding: 0; border-radius: 10px; overflow: hidden; background: #fff; border: 2px solid var(--bp-line); cursor: pointer; }
.bp-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bp-thumb:hover { border-color: var(--bp-black); }
.bp-thumb.is-on { border-color: var(--bp-red); }

.bp-badge { position: absolute; top: 16px; z-index: 2; font-size: 14px; font-weight: 700; line-height: 1.2; padding: 6px 12px; border-radius: 6px; }
.bp-badge--left { left: 16px; background: var(--bp-red); color: #fff; }
.bp-badge--right { right: 16px; }
/* Màu nhãn thống nhất với card: Bán chạy đỏ · Mới xanh dương · Đặt trước cam · Hot (chọn tay) đen · Hot sale đỏ */
.bp-badge--ban-chay, .bp-badge--hot { background: var(--bp-red); color: #fff; }
.bp-badge--left + .bp-badge--hot { background: var(--bp-black); }
.bp-badge--hot-tag { background: var(--bp-black); color: #fff; }
.bp-badge--moi { background: #1565C0; color: #fff; }
.bp-badge--dat-truoc { background: #D9480F; color: #fff; }
.bp-badge--combo { background: #fff; color: var(--bp-red); border: 1.5px solid var(--bp-red); padding: 4.5px 10.5px; }

/* Phóng to */
.bp-lightbox { position: fixed; inset: 0; z-index: 100002; background: rgba(10, 10, 10, .92); display: flex; align-items: center; justify-content: center; }
.bp-lightbox__img { max-width: 92vw; max-height: 88vh; object-fit: contain; background: #fff; border-radius: 8px; }
.bp-lightbox__close, .bp-lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--bp-black); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.bp-lightbox__close { top: 16px; right: 16px; }
.bp-lightbox__nav--prev { left: 16px; top: 50%; margin-top: -26px; }
.bp-lightbox__nav--next { right: 16px; top: 50%; margin-top: -26px; }

/* ---------- Cột thông tin ---------- */
.bp-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bp-title { margin: 0; font-size: 30px; line-height: 1.3; font-weight: 800; }
.bp-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--bp-text3); }
.bp-rating a { color: var(--bp-red); font-weight: 600; }
.bp-stars {
  --w: 0%; --s: 18px; display: inline-block; width: calc(var(--s) * 5); height: var(--s); flex: none;
  background: linear-gradient(90deg, var(--bp-star) var(--w), #DADADA 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") repeat-x 0 0 / var(--s) var(--s);
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") repeat-x 0 0 / var(--s) var(--s);
}
.bp-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 14px 16px; background: var(--bp-soft2); border-radius: 12px; font-size: 15px; }
.bp-stock { color: var(--bp-green); display: inline-flex; align-items: center; gap: 6px; }
.bp-stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #1F9D4C; }
.bp-stock.is-out { color: var(--bp-muted); }
.bp-stock.is-out::before { background: #9A9A9A; }
.bp-stock.is-pre { color: #8A5A00; }
.bp-stock.is-pre::before { background: #E8A317; }

.bp-hot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--bp-red); color: #fff; border-radius: 12px; padding: 12px 16px; }
.bp-hot__label { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; letter-spacing: .03em; }
.bp-hot__timer { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.bp-hot__timer span { background: var(--bp-black); color: #fff; font-size: 16px; font-weight: 800; border-radius: 6px; padding: 4px 7px; min-width: 26px; text-align: center; }

.bp-price { display: flex; flex-direction: column; gap: 6px; }
.bp-price__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.bp-price__now { font-size: 34px; font-weight: 800; color: var(--bp-red); letter-spacing: -.01em; line-height: 1.15; }
.bp-price__now.is-contact { font-size: 26px; color: var(--bp-black); }
.bp-price__now.is-out { color: var(--bp-muted); }
.bp-price__old { font-size: 18px; color: var(--bp-muted); font-weight: 500; }
.bp-price__pct { background: var(--bp-red); color: #fff; font-size: 14px; font-weight: 800; padding: 3px 8px; border-radius: 6px; align-self: center; }
.bp-price__save { font-size: 15px; font-weight: 700; color: var(--bp-green); }
.bp-price__note { font-size: 14px; color: var(--bp-text3); }

/* Phân loại */
.bp-form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.bp-variants { display: flex; flex-direction: column; gap: 12px; }
.bp-vgroup { margin: 0; padding: 14px 16px; border: 1px solid var(--bp-line); border-radius: 14px; min-width: 0; }
.bp-vgroup.is-err { border: 2px solid var(--bp-red); background: #FFF4F4; padding: 13px 15px; }
.bp-vgroup__label { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 700; }
.bp-vgroup__label + * { clear: both; }
.bp-vgroup__label span { font-weight: 600; color: var(--bp-text3); }
.bp-vgroup__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.bp-vgroup__opts.is-swatch { display: flex; flex-wrap: wrap; }
.bp-opt {
  min-height: 48px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--bp-line-strong); background: #fff; color: var(--bp-black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; text-align: center;
}
.is-swatch .bp-opt { flex-direction: row; min-height: 48px; border-radius: 24px; padding: 0 16px 0 10px; gap: 8px; }
.bp-opt:hover { border-color: var(--bp-black); background: #fff; color: var(--bp-black); }
.bp-opt[aria-pressed="true"] { border: 2px solid var(--bp-red); padding: 7.5px 11.5px; }
.is-swatch .bp-opt[aria-pressed="true"] { padding: 0 15.5px 0 9.5px; }
.bp-opt.is-out { border-style: dashed; color: #9A9A9A; }
.bp-opt[aria-disabled="true"] { cursor: not-allowed; opacity: .6; }
.bp-opt.is-out[aria-pressed="true"] { border-style: solid; }
.bp-opt.is-out .bp-opt__name { text-decoration: line-through; }
.bp-opt.is-out .bp-opt__dot { opacity: .4; }
.bp-opt__dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex: none; }
.bp-opt__name { font-size: 15px; font-weight: 700; }
.bp-opt__sub { font-size: 12px; color: var(--bp-text3); }
.bp-opt__price { font-size: 13px; font-weight: 800; color: var(--bp-red); }
.bp-opt__price:empty { display: none; }
.bp-opt.is-out .bp-opt__price { color: #9A9A9A; font-weight: 600; }
.bp-vgroup__err { margin-top: 8px !important; font-size: 14px; font-weight: 700; color: var(--bp-red); }
.bp-chosen { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bp-soft2); border-radius: 10px; font-size: 15px; }
.bp-chosen .bp-link { margin-left: auto; }

.bp-qty-row { display: flex; align-items: center; gap: 16px; }
.bp-qty-label { margin: 0; min-width: 84px; font-size: 16px; font-weight: 700; }
.bp-qty { display: flex; align-items: center; border: 1.5px solid var(--bp-line-strong); border-radius: 10px; overflow: hidden; }
.bp-qty button { width: 48px; height: 48px; border: 0; background: #fff; color: var(--bp-black); font-size: 22px; cursor: pointer; padding: 0; }
.bp-qty input, .bp-qty output { width: 56px; height: 48px; margin: 0; border: 0; text-align: center; font-size: 17px; font-weight: 700; background: #fff; box-shadow: none; padding: 0; display: flex; align-items: center; justify-content: center; -moz-appearance: textfield; }
.bp-qty input::-webkit-inner-spin-button, .bp-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.bp-actions { display: flex; flex-direction: column; gap: 10px; }
.bp-actions__buy { display: flex; gap: 10px; }
.bp-actions__buy .bp-btn { flex: 1; min-width: 0; }
.bp-msg { font-size: 15px; font-weight: 600; color: var(--bp-green); }
.bp-msg:empty { display: none; }
.bp-msg.is-err { color: var(--bp-red); }
.bp-dealer { font-size: 15px; color: var(--bp-text2); }
.bp-dealer a { color: var(--bp-red); font-weight: 700; }

.bp-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bp-trust li { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--bp-line); border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.bp-trust__ic { width: 36px; height: 36px; flex: none; border-radius: 50%; background: #FFF4F4; color: var(--bp-red); display: flex; align-items: center; justify-content: center; }

.bp-box { padding: 16px 18px; border: 1px solid var(--bp-line); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; }
.bp-box__title { font-size: 16px; font-weight: 800; }
.bp-box__title span { font-size: 14px; font-weight: 600; color: var(--bp-text3); }
.bp-box__list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--bp-line); font-size: 15px; }
.bp-box__list li:last-child { border-bottom: 0; }
.bp-hl { display: flex; flex-direction: column; gap: 8px; }
.bp-hl__title { font-size: 16px; font-weight: 800; }
.bp-hl li { display: flex; gap: 10px; font-size: 15px; line-height: 1.55; }
.bp-hl li svg { color: var(--bp-red); flex: none; margin-top: 3px; }

/* ---------- Mô tả + thông số ---------- */
.bp-content { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.bp-desc__inner { max-height: 560px; overflow: hidden; position: relative; font-size: 16px; line-height: 1.75; color: #333; }
.bp-desc__inner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.bp-desc.is-open .bp-desc__inner { max-height: none; }
.bp-desc.is-open .bp-desc__inner::after, .bp-desc.is-short .bp-desc__inner::after { display: none; }
.bp-desc.is-short [data-bp-desc-toggle] { display: none; }
.bp-desc__inner h2, .bp-desc__inner h3 { font-family: inherit; color: var(--bp-black); font-weight: 800; line-height: 1.35; margin: 22px 0 8px; }
.bp-desc__inner h2 { font-size: 22px; } .bp-desc__inner h3 { font-size: 20px; }
.bp-desc__inner p { margin: 0 0 14px; }
.bp-desc__inner img { max-width: 100%; height: auto; border-radius: 12px; }
.bp-desc [data-bp-desc-toggle] { margin-top: 14px; }
.bp-specs { position: sticky; top: 24px; }
body:has(.bhs-main) .bp-specs { top: 96px; }
.bp-specs__table { width: 100%; margin: 0; border-collapse: collapse; border: 1px solid var(--bp-line); font-size: 15px; }
.bp-specs__table th, .bp-specs__table td { padding: 12px 14px; border: 0; border-bottom: 1px solid #EEE; text-align: left; vertical-align: top; text-transform: none; letter-spacing: normal; line-height: 1.5; }
.bp-specs__table th { width: 42%; color: var(--bp-text3); font-weight: 400; }
.bp-specs__table td { font-weight: 600; }
.bp-specs__table tr:nth-child(odd) th, .bp-specs__table tr:nth-child(odd) td { background: var(--bp-soft2); }
.bp-specs__ask { display: inline-block; margin-top: 14px; color: var(--bp-red); font-size: 15px; font-weight: 700; }

/* ---------- Đánh giá ---------- */
.bp-reviews { margin-top: 64px; }
.bp-rv-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding: 28px; border: 1px solid var(--bp-line); border-radius: 16px; }
.bp-rv-sum__score { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }
.bp-rv-sum__avg { font-size: 44px; font-weight: 800; line-height: 1; }
.bp-rv-bars { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.bp-rv-bars li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.bp-rv-bars li > span:first-child { width: 48px; }
.bp-rv-bar { flex: 1; height: 10px; border-radius: 5px; background: #EEE; overflow: hidden; }
.bp-rv-bar span { display: block; height: 100%; border-radius: 5px; background: var(--bp-star); }
.bp-rv-empty { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.bp-rv-empty__title { font-size: 18px; font-weight: 800; }
.bp-rv-form { margin-top: 20px; padding: 24px; border: 1px solid var(--bp-line); border-radius: 16px; }
.bp-rv-form__title { font-size: 18px; font-weight: 800; margin-bottom: 12px !important; }
.bp-rv-form label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.bp-rv-form input[type="text"], .bp-rv-form input[type="email"], .bp-rv-form input[type="tel"], .bp-rv-form select, .bp-rv-form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--bp-line-strong); border-radius: 10px; font-size: 16px; background: #fff; box-shadow: none;
}
.bp-rv-form p { margin-bottom: 14px !important; }
.bp-rv-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.bp-chip { height: 42px; padding: 0 16px; border-radius: 21px; border: 1.5px solid var(--bp-line-strong); background: #fff; color: var(--bp-black); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.bp-chip:hover { border-color: var(--bp-black); background: #fff; color: var(--bp-black); }
.bp-chip.is-on { background: var(--bp-black); border-color: var(--bp-black); color: #fff; }
.bp-rv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.bp-rv { padding: 18px 0; border-top: 1px solid #EEE; display: flex; flex-direction: column; gap: 8px; }
.bp-rv__head { display: flex; align-items: center; gap: 12px; }
.bp-rv__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--bp-soft); color: var(--bp-text3); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.bp-rv__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; }
.bp-rv__verified { background: #E8F5EC; color: #1F6B3A; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 5px; }
.bp-rv__text { font-size: 15px; line-height: 1.6; color: #333; }
.bp-rv__text p { margin: 0 0 8px; }
.bp-reviews [data-bp-rv-more-btn] { margin-top: 12px; }

/* ---------- Sản phẩm liên quan ---------- */
.bp-related { margin-top: 64px; }
.bp-related .bp-h2 { border-bottom: 0; padding-bottom: 0; }
.bp-related__grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.bp-related__item { display: flex; min-width: 0; }

/* ---------- Thanh mua ---------- */
.bp-mbar { display: none; }
.bp-pcbar { position: fixed; left: 0; right: 0; top: 0; z-index: 990; background: #fff; border-bottom: 1px solid var(--bp-line); animation: bp-down .2s ease-out; }
.admin-bar .bp-pcbar { top: 32px; }
.bp-pcbar__row { height: 76px; display: flex; align-items: center; gap: 18px; }
.bp-pcbar__row img { width: 54px; height: 54px; object-fit: contain; border: 1px solid var(--bp-line); border-radius: 8px; flex: none; }
.bp-pcbar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bp-pcbar__info strong { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-pcbar__price { font-size: 24px; font-weight: 800; color: var(--bp-red); white-space: nowrap; }
.bp-pcbar .bp-btn { height: 48px; }
/* Header Bison: thanh chính cố định 64px khi cuộn → đặt thanh mua thu gọn ngay bên dưới (bản gốc ẩn hẳn,
   nhưng header mới luôn thu gọn khi cuộn quá 200px nên thanh mua sẽ không bao giờ hiện). */
body:has(.bhs.is-stuck) .bp-pcbar { top: 65px; }
.admin-bar:has(.bhs.is-stuck) .bp-pcbar { top: 97px; }
body:has(.bhs.is-stuck) .bp-specs { top: 96px; }
.admin-bar .bp-specs { top: 56px; }
.admin-bar:has(.bhs.is-stuck) .bp-specs, .admin-bar:has(.bhs-main) .bp-gallery { top: 128px; }

/* Trang sản phẩm mới: ẩn thanh tiêu đề + breadcrumb của Flatsome (template đã có breadcrumb riêng) */
body.bp-on .product-page-title, body.bp-on .shop-page-title { display: none !important; }

/* style.css cũ đặt body { overflow: hidden } → position: sticky (ảnh, thông số) không chạy. Đổi sang clip (vẫn chặn cuộn ngang). */
@media (min-width: 768px) {
  body.bp-on { overflow: visible !important; overflow-x: clip !important; }
}

/* Bảng chọn trượt từ đáy (mobile) */
.bp-sheet { position: fixed; inset: 0; z-index: 100001; }
.bp-sheet__backdrop { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: rgba(20, 20, 20, .5); cursor: pointer; }
.bp-sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 90vh; overflow-y: auto; background: #fff;
  border-radius: 20px 20px 0 0; padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px;
  animation: bp-up .22s ease-out;
}
.bp-sheet__grip { align-self: center; width: 44px; height: 5px; border-radius: 3px; background: #D9D9D9; }
.bp-sheet__head { display: flex; gap: 12px; align-items: center; }
.bp-sheet__head img { width: 80px; height: 80px; object-fit: contain; border: 1px solid var(--bp-line); border-radius: 10px; flex: none; }
.bp-sheet__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bp-sheet__price { font-size: 20px; font-weight: 800; color: var(--bp-red); }
.bp-sheet__head .bp-icon-btn { align-self: flex-start; }
.bp-sheet__body { display: flex; flex-direction: column; gap: 10px; }
.bp-sheet__body .bp-vgroup { padding: 0; border: 0; }
.bp-sheet__body .bp-vgroup.is-err { padding: 10px; border: 2px solid var(--bp-red); }
.bp-sheet__qty { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; }
.bp-sheet__btns { display: flex; gap: 10px; }
.bp-sheet__btns .bp-btn { flex: 1; }
html.bp-lock, html.bp-lock body { overflow: hidden; }
@keyframes bp-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes bp-down { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .bp-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .bp-title { font-size: 26px; }
  .bp-content { grid-template-columns: 1fr; }
  .bp-specs { position: static; order: -1; }
  .bp-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .bp-pcbar__info strong { font-size: 15px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .bp-wrap { padding: 0 16px; }
  .bp > .bp-wrap { padding-top: 12px; padding-bottom: 110px; }
  .bp-crumb { font-size: 13px; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bp-top { display: block; }
  .bp-gallery { position: static; margin: 0 -16px 16px; gap: 0; }
  .bp-gallery__main { border: 0; border-bottom: 1px solid #EEE; border-radius: 0; }
  .bp-gallery__nav, .bp-gallery__hint { display: none; }
  /* Mobile: album ảnh nhỏ chạy ngang ngay dưới ảnh đại diện (giống PC) */
  .bp-gallery__thumbs { padding: 0 16px 4px; gap: 8px; scrollbar-width: none; }
  .bp-gallery__thumbs::-webkit-scrollbar { display: none; }
  .bp-thumb { flex: 0 0 64px; border-radius: 8px; }
  .bp-gallery__count { left: auto; right: 12px; bottom: 12px; font-size: 12px; }
  .bp-badge { top: 12px; font-size: 12px; padding: 4px 9px; }
  .bp-badge--left { left: 12px; } .bp-badge--right { right: 12px; }
  .bp-info { gap: 14px; }
  .bp-title { font-size: 21px; }
  .bp-rating, .bp-meta { font-size: 13px; }
  .bp-meta { padding: 10px 12px; gap: 6px 14px; }
  .bp-price__now { font-size: 26px; }
  .bp-price__now.is-contact { font-size: 22px; }
  .bp-price__old { font-size: 15px; }
  .bp-hot__label { font-size: 16px; }
  .bp-vgroup { padding: 12px; }
  .bp-vgroup__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .bp-opt { padding: 6px; }
  .bp-opt__name { font-size: 14px; }
  .is-swatch .bp-opt { min-height: 44px; padding: 0 12px 0 8px; }
  /* Mobile: nút mua nằm ở thanh đáy, ẩn nút trong trang (vẫn giữ Zalo + đại lý) */
  /* Nút Mua ngay / Thêm vào giỏ đã có ở thanh mua cố định đáy; ô Số lượng vẫn hiện (dùng chung số lượng với thanh đáy) */
  .bp-actions__buy { display: none; }
  .bp-btn--lg { height: 52px; font-size: 16px; }
  .bp-trust li { font-size: 12px; padding: 10px; gap: 8px; }
  .bp-trust__ic { width: 30px; height: 30px; }
  .bp-content { margin-top: 36px; gap: 28px; }
  .bp-h2 { font-size: 20px; }
  .bp-desc__inner { max-height: 320px; font-size: 15px; }
  .bp-specs__table { font-size: 14px; }
  .bp-specs__table th, .bp-specs__table td { padding: 10px 12px; }
  .bp-reviews, .bp-related { margin-top: 40px; }
  .bp-rv-sum { padding: 18px; gap: 18px; }
  .bp-rv-sum__score { min-width: 0; }
  .bp-rv-sum__avg { font-size: 34px; }
  .bp-rv-sum .bp-btn { width: 100%; }
  .bp-rv-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .bp-rv-list { grid-template-columns: 1fr; }
  .bp-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bp-pcbar { display: none !important; }

  .bp-mbar {
    display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 995;
    background: #fff; border-top: 1px solid var(--bp-line); padding: 10px 12px calc(14px + env(safe-area-inset-bottom));
  }
  .bp-mbar__price { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
  .bp-mbar__label { font-size: 11px; color: var(--bp-muted); }
  .bp-mbar__now { font-size: 20px; font-weight: 800; color: var(--bp-red); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bp-mbar__now.is-muted { color: var(--bp-muted); font-size: 17px; }
  .bp-mbar__btns { display: flex; gap: 8px; flex: none; }
  .bp-mbar__cart { width: 52px; height: 52px; border-radius: 12px; border: 1.5px solid var(--bp-black); background: #fff; color: var(--bp-black); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
  .bp-mbar__buy { width: 136px; height: 52px; border: 0; border-radius: 12px; background: var(--bp-red); color: #fff; font-size: 17px; font-weight: 800; cursor: pointer; }
  .bp-mbar__zalo { flex: none; height: 52px; padding: 0 16px; border-radius: 12px; background: var(--bp-zalo); color: #fff; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; text-decoration: none; }
  .bp-mbar__zalo--red { background: var(--bp-red); }
  .bp-mbar__zalo img { width: 22px; height: 22px; border-radius: 5px; background: #fff; }
  /* Trang sản phẩm dùng thanh mua thay cho thanh điều hướng đáy (nếu có) */
  .single-product .bc-mbar, .single-product .bhs-bottomnav, .single-product .bc-zalo-fab { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .bp *, .bp-sheet__panel, .bp-pcbar { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
