/* Nhóm trang Sản phẩm 2026 (Figma "Website – Sản phẩm"): shop / danh mục / tìm kiếm, chi tiết, đặt hàng nhanh.
   Tiền tố pv-, dùng chung token --hp-* và .hp-card / .hp-btn của home-v2.css. Mọi rule nằm dưới .pv để không đụng trang khác. */
.pv { --pv-radius: 14px; --pv-green: #16a34a; --pv-green-50: #e8f7ee; --pv-amber-ink: #b45309; --pv-red-50: #fdecec; padding-bottom: 56px; }
.pv button { font-family: inherit; }
.pv .lucide { flex: none; }

/* ===== Nút & chip dùng chung ===== */
.pv .pv-btn-indigo { background: var(--hp-indigo); color: #fff !important; }
.pv .pv-btn-indigo:hover { background: var(--hp-indigo-700); }
.pv .hp-btn--outline { border-width: 1.5px; }
.pv-chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; font-style: normal; }
.pv-chip::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--pv-ico) center / contain no-repeat; mask: var(--pv-ico) center / contain no-repeat; }
.pv-chip--invoice, .pv .hp-badge--invoice { background: var(--pv-green-50); color: var(--pv-green); --pv-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E"); }
.pv-chip--date, .pv .hp-card__date { background: var(--hp-amber-50); color: var(--pv-amber-ink); --pv-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E"); }
.pv-chip--sale { background: var(--pv-red-50); color: var(--hp-red); }
.pv-chip--sale::before { display: none; }

/* ===== Đầu trang ===== */
.pv-hero { background: #fff; border-bottom: 1px solid var(--hp-line); padding: 20px 0 22px; }
.pv-crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--hp-muted); min-width: 0; white-space: nowrap; }
.pv-crumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--hp-muted) !important; }
.pv-crumb a:hover { color: var(--hp-indigo) !important; }
.pv-crumb > span { color: var(--hp-indigo); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.pv-crumb__sep { color: #9ca3af; }
.pv-hero__title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.pv-hero__title h1 { margin: 0; font-size: 30px; line-height: 1.25; font-weight: 700; color: var(--hp-ink); }
.pv-hero__title h1 em { font-style: normal; color: var(--hp-indigo); }
.pv-hero__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--hp-amber); color: #1f1300; display: grid; place-items: center; }
.pv-count { background: var(--hp-indigo-50); color: var(--hp-indigo); font-size: 14px; font-weight: 500; padding: 4px 12px; border-radius: 999px; }
.pv-hero__desc { margin: 10px 0 0 !important; font-size: 15px; color: #4b5563; line-height: 1.55; }

/* ===== Bố cục shop ===== */
.pv-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 24px; padding-top: 24px; align-items: start; }
.pv-side .offcanvas-body { display: flex; flex-direction: column; gap: 18px; }
.pv-box { background: #fff; border: 1px solid var(--hp-line); border-radius: var(--pv-radius); padding: 16px; }
.pv .pv-box__title { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--hp-ink); margin: 0 4px 10px; padding-bottom: 12px; border-bottom: 1px solid var(--hp-line); }
.pv-box__title .lucide { color: var(--hp-indigo); }
.pv-cats { display: flex; flex-direction: column; gap: 2px; }
.pv-cats__item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: #374151 !important; transition: background .15s, color .15s; }
.pv-cats__item .lucide { color: #9ca3af; }
.pv-cats__item:hover { background: var(--hp-bg); color: var(--hp-indigo) !important; }
.pv-cats__item.is-active { background: var(--hp-indigo-50); color: var(--hp-indigo) !important; font-weight: 700; }
.pv-cats__item.is-active .lucide { color: var(--hp-indigo); }
.pv-filter { display: flex; flex-direction: column; gap: 4px; }
.pv-check { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: #374151; cursor: pointer; margin: 0; }
.pv-check:hover { background: var(--hp-bg); }
.pv-check input { width: 17px; height: 17px; accent-color: var(--hp-indigo); margin: 0; }
.pv-filter__clear { font-size: 13px; color: var(--hp-indigo) !important; padding: 8px 12px 0; text-decoration: underline !important; }
.pv-promo { background: var(--hp-amber-50); border: 1px solid #fde7b0; border-radius: var(--pv-radius); padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pv-promo h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin: 0; color: var(--hp-ink); }
.pv-promo h3 span { width: 30px; height: 30px; border-radius: 50%; background: var(--hp-amber); color: #1f1300; display: grid; place-items: center; }
.pv-promo p { font-size: 13px; line-height: 1.55; color: #4b5563; }
.pv-promo .hp-btn { height: 42px; }
.pv-hotline { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--pv-radius); padding: 16px 18px; }
.pv-hotline > span:first-child { width: 36px; height: 36px; border-radius: 50%; background: var(--hp-indigo-50); color: var(--hp-indigo); display: grid; place-items: center; flex: none; }
.pv-hotline small { display: block; font-size: 12px; color: var(--hp-muted); }
.pv-hotline b { display: block; font-size: 18px; color: var(--hp-indigo); }

.pv-main { min-width: 0; }
.pv-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--hp-line); border-radius: 12px; padding: 8px 12px 8px 16px; margin-bottom: 16px; min-height: 50px; }
.pv-toolbar__count { font-size: 14px; color: #4b5563; }
.pv-toolbar__count b { color: var(--hp-ink); }
.pv-sort { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pv-sort__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--hp-muted); margin-right: 2px; }
.pv-sort__chip { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hp-line); background: #fff; font-size: 13px; color: #374151 !important; transition: border-color .15s, background .15s; }
.pv-sort__chip:hover { border-color: var(--hp-indigo); color: var(--hp-indigo) !important; }
.pv-sort__chip.is-active { background: var(--hp-indigo); border-color: var(--hp-indigo); color: #fff !important; font-weight: 500; }
.pv-mtools, .pv-mchips { display: none; }

/* banner khách */
.pv-guest { display: flex; align-items: center; gap: 16px; background: var(--hp-indigo); color: #fff; border-radius: var(--pv-radius); padding: 16px 20px; margin-bottom: 16px; }
.pv-guest__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--hp-amber); color: #1f1300; display: grid; place-items: center; flex: none; }
.pv-guest__text { flex: 1; min-width: 0; }
.pv-guest__text strong { display: block; font-size: 17px; font-weight: 700; }
.pv-guest__text span { display: block; font-size: 13px; color: rgba(255, 255, 255, .82); margin-top: 3px; }
.pv-guest__cta { display: flex; gap: 10px; flex: none; }

/* ===== Lưới + thẻ sản phẩm (ghi đè nhẹ .hp-card theo bản vẽ) ===== */
.pv .pv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pv .pv-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pv .hp-card { border-radius: 12px; }
.pv .hp-card__img img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
.pv .hp-card__badges { top: 10px; left: 10px; flex-direction: column-reverse; }
.pv .hp-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 2px 7px; }
.pv .hp-badge--invoice::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--pv-ico) center / contain no-repeat; mask: var(--pv-ico) center / contain no-repeat; }
.pv .hp-card__body { padding: 12px 14px 14px; border-top: 0; gap: 3px; }
.pv .hp-card__name { font-size: 15px; min-height: 42px; color: var(--hp-ink); }
.pv .hp-card__mfr { font-size: 13px; color: #9ca3af; }
.pv .hp-card__price { padding-top: 10px; }
.pv .hp-card__price b { color: var(--hp-indigo); font-size: 18px; }
.pv .hp-card__price:has(s) b { color: var(--hp-red); }
.pv .hp-card__date { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.pv .hp-card__date::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--pv-ico) center / contain no-repeat; mask: var(--pv-ico) center / contain no-repeat; }
.pv .hp-card.is-out { opacity: 1; }
.pv .hp-card.is-out .hp-card__img img { opacity: .45; }
.pv .hp-card__out { margin-top: auto; display: block; text-align: center; background: var(--pv-red-50); color: var(--hp-red); border-radius: 8px; padding: 9px; font-size: 14px; }
.pv .hp-card__login { position: relative; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 1.5px solid var(--hp-indigo); border-radius: 8px; padding: 8px; font-size: 14px; }
.pv .hp-card__login::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--pv-login) center / contain no-repeat; mask: var(--pv-login) center / contain no-repeat;
    --pv-login: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' x2='3' y1='12' y2='12'/%3E%3C/svg%3E"); }
.pv .hp-card__login::after { content: "Giá sỉ dành cho thành viên"; position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); padding-left: 20px; text-align: left; font-size: 13px; font-weight: 400; color: #9ca3af; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") left center / 14px no-repeat; }
.pv.is-guest .hp-card__mfr { margin-bottom: 36px; }

/* ô số lượng (thẻ + dòng + chi tiết) – ghi đè product.css cũ */
.pv .quanity.hp-qty, .pv .quanity.pv-qty { display: flex; align-items: stretch; justify-content: space-between; border: 1px solid #d1d5db; border-radius: 8px; height: 36px; margin-top: 8px; overflow: hidden; background: #fff; max-width: none; }
.pv .quanity.hp-qty .minus, .pv .quanity.hp-qty .plus, .pv .quanity.pv-qty .minus, .pv .quanity.pv-qty .plus { width: 36px; height: auto; flex: none; border: 0; border-radius: 0; background: var(--hp-bg); color: #4b5563; font-size: 20px; font-weight: 400; opacity: 1; transform: none; display: flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; transition: background .15s, color .15s; }
.pv .quanity.hp-qty .plus, .pv .quanity.pv-qty .plus { background: var(--hp-indigo); color: #fff; }
.pv .quanity.hp-qty .minus:hover, .pv .quanity.pv-qty .minus:hover { background: var(--hp-indigo-50); color: var(--hp-indigo); transform: none; }
.pv .quanity.hp-qty .plus:hover, .pv .quanity.pv-qty .plus:hover { background: var(--hp-indigo-700); color: #fff; transform: none; }
.pv .quanity.hp-qty .value-quanity, .pv .quanity.pv-qty .value-quanity { flex: 1; width: auto; min-width: 0; height: auto; margin: 0; border: 0; border-radius: 0; text-align: center; font-size: 15px; font-weight: 500; color: var(--hp-ink); background: #fff; -moz-appearance: textfield; display: block; }
.pv .quanity .value-quanity:focus { outline: none; box-shadow: inset 0 0 0 2px var(--hp-indigo-50); }
.pv .quanity.has-qty { border-color: var(--hp-indigo); }

/* phân trang */
.pv-pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.pv-pager__btn { min-width: 38px; height: 38px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; border: 1px solid var(--hp-line); font-size: 14px; font-weight: 500; color: var(--hp-ink) !important; }
a.pv-pager__btn:hover { border-color: var(--hp-indigo); color: var(--hp-indigo) !important; }
.pv-pager__btn.is-active { background: var(--hp-indigo); border-color: var(--hp-indigo); color: #fff !important; }
.pv-pager__btn.is-disabled { color: #c3c7cf !important; background: var(--hp-bg); }
.pv-pager__dots { color: var(--hp-muted); padding: 0 2px; }

/* trạng thái rỗng */
.pv-empty { background: #fff; border: 1px solid var(--hp-line); border-radius: var(--pv-radius); padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pv-empty__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--hp-indigo-50); color: var(--hp-indigo); display: grid; place-items: center; margin-bottom: 4px; }
.pv-empty h2 { font-size: 20px; font-weight: 700; margin: 0; color: var(--hp-ink); }
.pv-empty p { max-width: 560px; font-size: 14px; line-height: 1.6; color: var(--hp-muted); }
.pv-empty__tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--hp-muted); }
.pv-empty__tags a { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--hp-bg); border: 1px solid var(--hp-line); color: #374151 !important; font-weight: 500; }
.pv-empty__tags a:hover { border-color: var(--hp-indigo); color: var(--hp-indigo) !important; }
.pv-empty__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.pv-empty__cta .hp-btn { height: 46px; padding: 0 22px; }
.pv-empty__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--hp-muted) !important; }

/* thanh giỏ mobile (dùng lại .footer-cart-mobile của main.js) */
.pv .footer-cart-mobile { display: none; }

/* ===== Chi tiết sản phẩm ===== */
.pv-crumb--detail { padding: 18px 0 14px; }
.pv-card { background: #fff; border: 1px solid var(--hp-line); border-radius: 16px; }
.pv-top { display: grid; grid-template-columns: minmax(0, 456px) minmax(0, 1fr); gap: 40px; padding: 24px; }
.pv-gallery { min-width: 0; }
.pv-gallery__main { position: relative; border: 1px solid var(--hp-line); border-radius: 12px; overflow: hidden; background: #fff; }
.pv .box-product-left .feature-gallery-product { border: 0 !important; margin: 0; }
.pv .feature-gallery-item { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 24px; cursor: zoom-in; }
.pv-gallery__badge { position: absolute; top: 14px; left: 14px; z-index: 3; }
.pv-gallery__zoom { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hp-line); background: #fff; color: #374151; display: grid; place-items: center; cursor: pointer; transition: color .15s, border-color .15s; }
.pv-gallery__zoom:hover { color: var(--hp-indigo); border-color: var(--hp-indigo); }
.pv .feature-gallery-product .swiper-button-next, .pv .feature-gallery-product .swiper-button-prev { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--hp-indigo); border: 1px solid var(--hp-line); }
.pv .feature-gallery-product .swiper-button-next::after, .pv .feature-gallery-product .swiper-button-prev::after { font-size: 14px; font-weight: 700; }
.pv .thumnail-gallery-product { margin-top: 10px; }
.pv .box-product-left .box-thumnail { border: 1px solid var(--hp-line) !important; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; }
.pv .box-product-left .swiper-slide-thumb-active .box-thumnail { border-color: var(--hp-indigo) !important; box-shadow: 0 0 0 1px var(--hp-indigo); }
.pv .feature-gallery-thumbs { display: block; width: 100%; padding: 4px; }
.pv-gallery__note { font-size: 12px; color: #9ca3af; margin-top: 10px !important; }

.pv-info { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pv-info__chips { display: flex; gap: 8px; }
.pv-info__chips .pv-chip { height: 24px; font-size: 13px; }
.pv-info__title { font-size: 30px; line-height: 1.3; font-weight: 700; margin: 0; color: var(--hp-ink); overflow-wrap: anywhere; }
.pv-info__mfr { font-size: 15px; color: #4b5563; }
.pv-info__mfr a { color: var(--hp-indigo) !important; font-weight: 700; }
.pv-specs { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 0 0; border: 1px solid var(--hp-line); border-radius: 12px; overflow: hidden; }
.pv-specs__row { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 12px 16px; }
.pv-specs__row:nth-child(4n + 3), .pv-specs__row:nth-child(4n + 4) { background: #f9fafb; }
.pv-specs__row:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pv-specs__row .lucide { grid-row: span 2; color: var(--hp-indigo); margin-top: 2px; }
.pv-specs dt { font-size: 13px; font-weight: 400; color: var(--hp-muted); }
.pv-specs dd { margin: 2px 0 0; font-size: 14px; font-weight: 500; color: var(--hp-ink); overflow-wrap: anywhere; }
.pv-specs dd a { color: var(--hp-indigo) !important; }
.pv-specs dd a:hover { text-decoration: underline !important; }
.pv-specs dd.is-amber { color: var(--pv-amber-ink); }
.pv-specs dd.is-green { color: var(--pv-green); }

.pv .pv-price { background: var(--hp-amber-50); border-radius: 12px; padding: 14px 18px 16px; margin: 0; display: block; }
.pv .pv-price small { display: block; font-size: 13px; color: var(--hp-muted); }
.pv-price__row { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; margin-top: 2px; }
.pv .pv-price .sale-price { font-size: 30px; font-weight: 700; color: var(--hp-indigo); margin: 0; line-height: 1.2; }
.pv .pv-price.is-sale .sale-price { color: var(--hp-red); }
.pv .pv-price .regular-price { font-size: 14px; color: #9ca3af; }
.pv-price__save { font-style: normal; font-size: 12px; font-weight: 500; color: var(--hp-red); background: var(--pv-red-50); padding: 3px 8px; border-radius: 6px; }
.pv .pv-price.is-out { background: #f3f4f6; }
.pv .pv-price.is-out .sale-price { color: #9ca3af; }
.pv-attrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.pv-attrs label { font-size: 13px; color: var(--hp-muted); margin-bottom: 4px; }

.pv-buy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pv-buy__label { font-size: 15px; font-weight: 500; }
.pv .form-add-to-cart { max-width: none; }
.pv .quanity.pv-qty--lg { width: 180px; height: 44px; margin: 0; }
.pv .quanity.pv-qty--lg .minus, .pv .quanity.pv-qty--lg .plus { width: 44px; }
.pv .quanity.pv-qty--lg .value-quanity { font-size: 16px; }
.pv-buy__cart { height: 44px; }
.pv-show-sm { display: none; }
.pv-hint { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hp-muted); }
.pv-outbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; border: 0; border-radius: 10px; background: var(--pv-red-50); color: var(--hp-red); font-size: 16px; font-weight: 500; cursor: not-allowed; }
.pv-zalobtn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; border: 1.5px solid var(--hp-indigo); border-radius: 10px; color: var(--hp-indigo) !important; font-weight: 500; background: #fff; transition: background .15s; }
.pv-zalobtn:hover { background: var(--hp-indigo-50); }
.pv-lockbox { background: var(--hp-indigo-50); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.pv-lockbox h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 700; color: var(--hp-indigo); }
.pv-lockbox h3 span { width: 32px; height: 32px; border-radius: 50%; background: var(--hp-indigo); color: var(--hp-amber); display: grid; place-items: center; }
.pv-lockbox p { font-size: 14px; line-height: 1.55; color: #4b5563; }
.pv-lockbox__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pv-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pv-trust span, .pv-trust a { display: flex; align-items: center; gap: 8px; background: #f3f4f6; border-radius: 8px; padding: 9px 12px; font-size: 13px; color: #374151 !important; }
.pv-trust a:hover { background: var(--hp-indigo-50); color: var(--hp-indigo) !important; }
.pv-trust .lucide { color: var(--hp-indigo); }
.pv-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--hp-muted); margin: 0; }
.pv-share__btn { width: 32px; height: 32px; border: 0; padding: 0; background: none; display: grid; place-items: center; border-radius: 50%; cursor: pointer; transition: transform .15s; }
.pv-share__btn:hover { transform: translateY(-2px); }
.pv-share__btn img { width: 30px; height: 30px; display: block; }
.pv-share__icon { border: 1px solid var(--hp-line); background: #fff; color: #374151; }
.pv-share__more { position: relative; }
.pv-share__other { height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hp-line); background: #fff; font-size: 13px; color: #374151; cursor: pointer; }
.pv-share__menu { position: absolute; z-index: 20; left: 0; top: calc(100% + 6px); min-width: 170px; background: #fff; border: 1px solid var(--hp-line); border-radius: 10px; box-shadow: 0 12px 30px rgba(17, 24, 39, .12); padding: 6px; display: flex; flex-direction: column; }
.pv-share__menu[hidden] { display: none; }
.pv-share__menu a { padding: 8px 10px; border-radius: 6px; font-size: 14px; color: #374151 !important; }
.pv-share__menu a:hover { background: var(--hp-bg); color: var(--hp-indigo) !important; }

.pv-below { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; margin-top: 24px; align-items: start; }
.pv-desc { padding: 28px 32px; min-width: 0; }
.pv-desc h2 { font-size: 24px; font-weight: 700; margin: 0 0 16px; color: var(--hp-ink); }
.pv-desc__body { font-size: 15px; line-height: 1.7; color: #374151; overflow-wrap: anywhere; position: relative; }
.pv-desc__body.is-clamped { max-height: 600px; overflow: hidden; }
.pv-desc__body.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.pv-desc__body img { max-width: 100%; height: auto; }
.pv-desc__body table { max-width: 100%; display: block; overflow-x: auto; }
.pv-desc__body h1, .pv-desc__body h2, .pv-desc__body h3, .pv-desc__body h4, .pv-desc__body strong { color: var(--hp-indigo); }
.pv-desc__body h1, .pv-desc__body h2, .pv-desc__body h3, .pv-desc__body h4 { font-size: 16px; font-weight: 700; margin: 16px 0 8px; }
.pv-desc__body p { margin: 0 0 10px; }
.pv-desc__more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 40px; margin-top: 16px; border: 1px solid var(--hp-line); border-radius: 10px; background: #fff; color: var(--hp-indigo); font-weight: 500; font-size: 14px; cursor: pointer; }
.pv-desc__more:hover { background: var(--hp-indigo-50); }
.pv-desc__more.is-open .lucide { transform: rotate(180deg); }
.pv-desc__more[hidden] { display: none; }
.pv-desc__none { color: var(--hp-muted); font-size: 15px; }
.pv-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 104px; }
.pv-consult { background: var(--hp-indigo); color: #fff; border-radius: 16px; padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.pv-consult h3 { font-size: 18px; font-weight: 700; margin: 0; }
.pv-consult p { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.pv-consult__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; color: var(--hp-amber) !important; letter-spacing: .3px; }
.pv-consult__zalo { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 10px; background: #fff; color: var(--hp-indigo) !important; font-weight: 500; font-size: 14px; margin-top: 2px; }
.pv-consult__zalo:hover { background: var(--hp-indigo-50); }
.pv-related { margin-top: 40px; }
.pv-related .hp-head h2 { color: var(--hp-ink); }
.pv-more { color: #2563eb !important; }

/* ===== Đặt hàng nhanh ===== */
.pv-qlayout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding-top: 24px; align-items: start; }
.pv-qmain { min-width: 0; }
.pv-qsearch { display: flex; gap: 8px; background: #fff; border: 1px solid var(--hp-line); border-radius: var(--pv-radius); padding: 8px; }
.pv-qsearch__field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; margin: 0; padding: 0 12px 0 14px; border: 1.5px solid var(--hp-indigo); border-radius: 10px; color: #4b5563; cursor: text; }
.pv-qsearch__field input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 16px; color: var(--hp-ink); background: transparent; height: 100%; }
.pv-qsearch__field input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.pv-qsearch__clear { width: 26px; height: 26px; border-radius: 50%; border: 0; background: #e5e7eb; color: #4b5563; display: grid; place-items: center; cursor: pointer; flex: none; }
.pv-qsearch__clear[hidden] { display: none; }
.pv-qsearch__submit { width: auto; height: 48px; padding: 0 22px; }
.pv-qinfo { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 2px 12px; font-size: 14px; color: #374151; }
.pv-qinfo__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--hp-muted); }
.pv-qresults { transition: opacity .15s; }
.pv-qresults.is-loading { opacity: .55; pointer-events: none; }
.pv-qlist { background: #fff; border: 1px solid var(--hp-line); border-radius: var(--pv-radius); overflow: hidden; }
.pv-qlist__head, .pv-qrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) 130px 156px; column-gap: 16px; align-items: center; }
.pv-qlist__head { background: #f9fafb; border-bottom: 1px solid var(--hp-line); padding: 9px 16px; font-size: 13px; font-weight: 500; color: #4b5563; }
.pv-qlist__head span:first-child { grid-column: 1 / 3; }
.pv-qlist__head span:nth-child(2) { text-align: right; }
.pv-qlist__head span:nth-child(3) { text-align: center; }
.pv-qrow { padding: 12px 16px; border-top: 1px solid #f0f1f4; transition: background .15s; }
.pv-qlist__head + .pv-qrow { border-top: 0; }
.pv-qrow:hover { background: #fafbff; }
.pv-qrow__img { width: 64px; height: 64px; border: 1px solid var(--hp-line); border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: #fff; }
.pv-qrow__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pv-qrow.is-out .pv-qrow__img img { opacity: .5; }
.pv-qrow__info { min-width: 0; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.pv-qrow__name { font-size: 15px; font-weight: 500; color: var(--hp-ink) !important; line-height: 1.4; }
.pv-qrow__name:hover { color: var(--hp-indigo) !important; }
.pv-qrow__mfr { font-size: 13px; color: #9ca3af; }
.pv-qrow__chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 3px; }
.pv-qrow__price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.pv-qrow__price b { font-size: 16px; font-weight: 700; color: var(--hp-indigo); }
.pv-qrow__price s { font-size: 12px; color: #9ca3af; }
.pv-qrow .quanity.pv-qty { margin: 0; }
.pv-outpill { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-radius: 8px; background: var(--pv-red-50); color: var(--hp-red); font-size: 14px; font-weight: 500; }
.pv-qside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 104px; }
.pv-qcart { background: #fff; border: 1px solid var(--hp-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; }
.pv-qcart h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--hp-ink); }
.pv-qcart h2 span { width: 36px; height: 36px; border-radius: 50%; background: var(--hp-indigo-50); color: var(--hp-indigo); display: grid; place-items: center; }
.pv-qcart__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 15px; color: #4b5563; }
.pv-qcart__row b { color: var(--hp-ink); }
.pv-qcart__total { border-top: 1px solid var(--hp-line); padding: 14px 0 16px; }
.pv-qcart__total b { font-size: 24px; color: var(--hp-indigo); }
.pv-qcart .hp-btn { height: 46px; }
.pv-qcart small { font-size: 12px; line-height: 1.5; color: #9ca3af; margin-top: 12px; }
.pv-tips { background: var(--hp-amber-50); border: 1px solid #fde7b0; border-radius: var(--pv-radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.pv-tips h3 { font-size: 15px; font-weight: 700; margin: 0 0 2px; }
.pv-tips p { font-size: 13px; line-height: 1.55; color: #4b5563; }
.pv-empty--quick { margin-top: 0; }

/* ===== Responsive ===== */
@media (max-width: 1399px) {
    .pv-top { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 1199px) {
    .pv-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
    .pv .pv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pv .pv-grid--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .pv-top { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; }
    .pv-specs { grid-template-columns: 1fr; }
    .pv-specs__row:nth-child(n) { background: none; }
    .pv-specs__row:nth-child(even) { background: #f9fafb; }
    .pv-trust { grid-template-columns: 1fr 1fr; }
    .pv-below { grid-template-columns: minmax(0, 1fr) 280px; }
    .pv-qlayout { grid-template-columns: minmax(0, 1fr) 300px; }
    .pv-guest { flex-wrap: wrap; }
}
@media (max-width: 991px) {
    .pv { padding-bottom: 32px; }
    .pv-hero { padding: 12px 0 16px; border-bottom: 0; }
    .pv-hero__title { margin-top: 10px; gap: 10px; }
    .pv-hero__title h1 { font-size: 24px; }
    .pv-hero__icon { width: 34px; height: 34px; }
    .pv-hero__desc { font-size: 14px; margin-top: 6px !important; }
    .pv-shop .pv-hero__desc { display: none; }
    .pv-count { font-size: 13px; padding: 3px 10px; }
    .pv-layout { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 0; }
    .pv-side .offcanvas-header { border-bottom: 1px solid var(--hp-line); }
    .pv-side .offcanvas-title { font-size: 18px; font-weight: 700; margin: 0; }
    .pv-side .offcanvas-body { background: var(--hp-bg); padding: 12px; }
    .pv-mtools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #fff; margin: 0 -12px; padding: 0 12px 14px; }
    .pv-mtools__btn, .pv-mtools__sort { height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; font-size: 15px; font-weight: 500; color: var(--hp-ink); margin: 0; position: relative; }
    .pv-mtools__sort { justify-content: flex-start; padding-left: 14px; }
    .pv-mtools__sort .form-select { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background-color: transparent; padding: 0 34px 0 42px; font-size: 15px; font-weight: 500; color: var(--hp-ink); box-shadow: none; cursor: pointer; }
    .pv-mchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 14px 12px 4px; }
    .pv-mchips::-webkit-scrollbar { display: none; }
    .pv-mchips a { flex: none; height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--hp-line); font-size: 14px; font-weight: 500; color: #374151 !important; white-space: nowrap; }
    .pv-mchips a.is-active { background: var(--hp-indigo); border-color: var(--hp-indigo); color: #fff !important; }
    .pv-toolbar { background: none; border: 0; padding: 0; min-height: 0; margin: 10px 0 12px; }
    .pv-sort { display: none; }
    .pv-guest { margin-top: 12px; padding: 14px; gap: 12px; }
    .pv-guest__text strong { font-size: 15px; }
    .pv-guest__cta { width: 100%; }
    .pv-guest__cta .hp-btn { flex: 1; height: 42px; }
    .pv .footer-cart-mobile { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; height: 68px; padding: 0 16px; background: #fff; box-shadow: 0 -6px 20px rgba(17, 24, 39, .1); border-top: 1px solid var(--hp-line); }
    .pv .footer-cart-mobile-info p { margin: 0; }
    .pv .footer-cart-mobile-count { font-size: 13px; color: var(--hp-muted); }
    .pv .footer-cart-mobile-title { font-size: 15px; font-weight: 700; color: var(--hp-ink); }
    .pv .footer-cart-mobile-title .cart-total { font-size: 17px; color: var(--hp-red); }
    .pv .footer-cart-mobile .hp-btn { width: auto; height: 46px; padding: 0 20px; }

    .pv-crumb--detail { padding: 12px 0; }
    .pv-top { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 0; background: none; border: 0; }
    .pv-gallery__main { border-radius: 14px; }
    .pv .feature-gallery-item { max-height: 360px; padding: 16px; }
    .pv-gallery__note { display: none; }
    .pv-info__title { font-size: 24px; }
    .pv-specs { order: 5; }
    .pv-specs__row { grid-template-columns: 22px auto minmax(0, 1fr); align-items: center; padding: 11px 14px; }
    .pv-specs__row .lucide { grid-row: auto; margin: 0; }
    .pv-specs dd { margin: 0; text-align: right; }
    .pv-trust { order: 6; }
    .pv-share { order: 7; }
    .pv .pv-price .sale-price { font-size: 26px; }
    .pv-below { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
    .pv-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
    .pv-related { margin-top: 28px; }
    .pv .pv-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .pv-qlayout { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
    .pv-qside { display: none; }
    .pv-qsearch { padding: 6px; }
    .pv-qinfo { margin: 12px 0 8px; }
    .pv-qinfo__hint { display: none; }
}
@media (max-width: 767px) {
    .pv .pv-grid, .pv .pv-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pv .hp-card__body { padding: 10px 12px 12px; }
    .pv .hp-card__name { font-size: 14px; min-height: 39px; }
    .pv .hp-card__price b { font-size: 17px; }
    .pv .hp-card__price s { font-size: 11px; }
    .pv .hp-card__login { font-size: 13px; gap: 6px; padding: 8px 4px; }
    .pv .hp-card__login::after { font-size: 12px; }
    .pv-empty { padding: 28px 16px; }
    .pv-empty__cta .hp-btn { width: 100%; }
    .pv-empty__cta { width: 100%; flex-direction: column; }

    .pv-info { gap: 12px; }
    .pv-info__title { font-size: 22px; }
    .pv-buy { flex-wrap: nowrap; }
    .pv-buy__label { display: none; }
    .pv .form-add-to-cart { flex: 1; min-width: 0; }
    .pv .quanity.pv-qty--lg { width: 100%; }
    .pv-buy__cart { padding: 0 16px; }
    .pv-hide-sm { display: none; }
    .pv-show-sm { display: inline; }
    .pv-trust { grid-template-columns: 1fr 1fr; gap: 8px; }
    .pv-trust span, .pv-trust a { font-size: 12px; padding: 8px 10px; }
    .pv-trust > :last-child { grid-column: 1 / -1; }
    .pv-desc { padding: 0; background: none; border: 0; }
    .pv-desc h2 { font-size: 20px; margin-bottom: 10px; }
    .pv-desc__body { font-size: 14px; }
    .pv-desc__body.is-clamped { max-height: 420px; }
    .pv-desc__body.is-clamped::after { background: linear-gradient(rgba(246, 247, 251, 0), var(--hp-bg)); }
    .pv-aside { grid-template-columns: 1fr; }
    .pv-related .hp-head .hp-more { display: inline-flex; }
    .pv-related .hp-head p { display: none; }

    .pv-qsearch__field { height: 44px; padding: 0 10px; gap: 8px; border: 0; }
    .pv-qsearch__field input { font-size: 15px; }
    .pv-qsearch__submit { height: 44px; padding: 0 16px; }
    .pv-qsearch__submit .lucide { display: none; }
    .pv-qsearch { border-color: #d1d5db; }
    .pv-qinfo { font-size: 13px; color: #4b5563; }
    .pv-qlist { margin: 0 -12px; border-radius: 0; border-left: 0; border-right: 0; }
    .pv-qlist__head { display: none; }
    .pv-qrow { grid-template-columns: 56px minmax(0, 1fr) 148px; grid-template-areas: "img info info" "price price qty"; row-gap: 10px; column-gap: 12px; padding: 14px 12px; }
    .pv-qrow__img { grid-area: img; width: 56px; height: 56px; align-self: start; }
    .pv-qrow__info { grid-area: info; }
    .pv-qrow__name { font-size: 15px; }
    .pv-qrow__price { grid-area: price; align-items: flex-start; text-align: left; }
    .pv-qrow__qty { grid-area: qty; }
}
@media (max-width: 380px) {
    .pv-qrow { grid-template-columns: 56px minmax(0, 1fr) 132px; }
    .pv-mtools__btn, .pv-mtools__sort .form-select { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .pv *, .pv *::after { transition: none !important; }
}
@media (max-width: 991px) {
    /* offcanvas đã có tiêu đề riêng */
    .pv-side .pv-cats .pv-box__title { display: none; }
}
