/* Kho ảnh RAW — cùng bộ màu với trang /redirect/ (đỏ cam #e44834) */
.hpk, .hpw {
	--k-accent: #e44834; --k-accent-dark: #c73a28; --k-accent-soft: #fdecea;
	--k-ink: #1f1f1f; --k-muted: #6b7075; --k-faint: #9aa0a6;
	--k-bg: #f7f8f9; --k-line: #e8eaed; --k-gap: 8px; --k-radius: 14px;
	color: var(--k-ink);
}
.hpk *, .hpw * { box-sizing: border-box; }
.hpk button, .hpw button, .hpk-pop button { font: inherit; letter-spacing: 0; text-transform: none; box-shadow: none; }
.hpk-ic { flex: none; display: block; }

/* ---------- Phần đầu trang ---------- */
.hpk-hero { max-width: 760px; margin: 8px auto 32px; text-align: center; }
.hpk-eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--k-accent-soft); color: var(--k-accent); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.hpk .hpk-title { margin: 0 0 12px; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.15; font-weight: 700; color: var(--k-ink); letter-spacing: -.01em; }
.hpk-lead { margin: 0 auto 20px; max-width: 640px; font-size: 17px; line-height: 1.65; color: var(--k-muted); }
.hpk-stats { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-size: 15px; color: var(--k-muted); }
.hpk-stats li { margin: 0; padding: 0 16px; border-left: 1px solid var(--k-line); }
.hpk-stats li:first-child { border-left: 0; }
.hpk-stats b { color: var(--k-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.hpk-rules { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hpk-rules li { margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--k-line); border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--k-ink); }
.hpk-rules .hpk-ic { width: 16px; height: 16px; color: var(--k-accent); }
.hpk-terms { margin: 10px auto 0; text-align: left; max-width: 680px; }
.hpk-terms summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 14px; color: var(--k-muted); text-decoration: underline; text-underline-offset: 3px; margin: 0 auto; }
.hpk-terms summary::-webkit-details-marker { display: none; }
.hpk-terms { text-align: center; }
.hpk-terms[open] summary { color: var(--k-ink); }
.hpk-terms-body { margin-top: 12px; text-align: left; background: var(--k-bg); border: 1px solid var(--k-line); border-radius: var(--k-radius); padding: 18px 22px; font-size: 14.5px; line-height: 1.7; color: #3d4247; }
.hpk-terms-body ul { margin: 0 0 12px 18px; padding: 0; }
.hpk-terms-body li { margin: 0 0 6px; }
.hpk-terms-en { border-top: 1px solid var(--k-line); padding-top: 12px; color: var(--k-muted); font-size: 13.5px; }
.hpk-terms-en p { margin: 0; }

/* ---------- Thanh lọc ---------- */
.hpk-browse { position: relative; }
.hpk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px; background: #fff; border: 1px solid var(--k-line); border-radius: 16px; }
.hpk-search { flex: 1 1 260px; min-width: 200px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; background: var(--k-bg); border: 1px solid transparent; border-radius: 10px; color: var(--k-faint); margin: 0; }
.hpk-search:focus-within { border-color: var(--k-ink); background: #fff; }
.hpk-search input { flex: 1; min-width: 0; height: 38px; border: 0 !important; background: transparent !important; padding: 0 !important; margin: 0; font-size: 14.5px; color: var(--k-ink); outline: none; box-shadow: none !important; }
.hpk-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.hpk-fbtn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px !important; border: 1px solid var(--k-line) !important; border-radius: 10px; background: #fff !important; color: var(--k-ink) !important; font-size: 14px !important; font-weight: 500; line-height: 1 !important; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.hpk-fbtn:hover { border-color: #c9cdd2 !important; }
.hpk-fbtn[aria-expanded="true"] { border-color: var(--k-ink) !important; }
.hpk-fbtn.is-on { border-color: var(--k-accent) !important; background: var(--k-accent-soft) !important; color: var(--k-accent-dark) !important; }
.hpk-fbtn .hpk-ic { width: 16px; height: 16px; opacity: .6; transition: transform .15s; }
.hpk-fbtn[aria-expanded="true"] .hpk-ic { transform: rotate(180deg); }
.hpk-fsel { font-style: normal; font-weight: 600; }
.hpk-fsel:empty { display: none; }
.hpk-sort { margin: 0 0 0 auto; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--k-muted); }
.hpk-sort select { height: 40px; padding: 0 30px 0 12px; border: 1px solid var(--k-line); border-radius: 10px; background-color: #fff; color: var(--k-ink); font-size: 14px; margin: 0; cursor: pointer; }

.hpk-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; min-height: 30px; }
.hpk-total { margin: 0; font-size: 14px; color: var(--k-muted); }
.hpk-total b { color: var(--k-ink); font-variant-numeric: tabular-nums; }
.hpk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hpk-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 12px !important; border: 0 !important; border-radius: 999px; background: var(--k-ink) !important; color: #fff !important; font-size: 13px !important; line-height: 1 !important; cursor: pointer; }
.hpk-chip i { font-style: normal; display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 12px; }
.hpk-chip-clear { height: 30px; padding: 0 8px !important; border: 0 !important; background: none !important; color: var(--k-accent) !important; font-size: 13px !important; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Bảng chọn */
.hpk-pop { position: absolute; z-index: 60; width: 320px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid var(--k-line); border-radius: 14px; box-shadow: 0 18px 50px rgba(17,17,17,.16); padding: 14px; color: var(--k-ink); font-size: 14px; }
.hpk-pop[hidden] { display: none; }
.hpk-pop-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; font-weight: 600; font-size: 15px; }
.hpk-pop-h button { border: 0 !important; background: none !important; color: var(--k-accent) !important; font-size: 13px !important; padding: 0 !important; cursor: pointer; }
.hpk-pop-find { width: 100%; height: 36px; margin: 0 0 8px; padding: 0 10px; border: 1px solid var(--k-line); border-radius: 8px; font-size: 14px; }
.hpk-opts { max-height: 300px; overflow-y: auto; margin: 0 -6px; padding: 0 6px; overscroll-behavior: contain; }
.hpk-opt { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 8px; cursor: pointer; margin: 0; line-height: 1.35; }
.hpk-opt:hover { background: var(--k-bg); }
.hpk-opt input { margin: 0; width: 16px; height: 16px; accent-color: var(--k-accent); flex: none; }
.hpk-opt span { flex: 1; min-width: 0; }
.hpk-opt em { font-style: normal; color: var(--k-faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.hpk-opt.is-zero { opacity: .45; }
.hpk-group { margin: 8px 6px 2px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--k-faint); display: flex; align-items: center; gap: 8px; }
.hpk-group label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; margin: 0; }
.hpk-group input { margin: 0; accent-color: var(--k-accent); }
.hpk-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.hpk-preset { height: 32px; padding: 0 12px !important; border: 1px solid var(--k-line) !important; border-radius: 999px; background: #fff !important; color: var(--k-ink) !important; font-size: 13px !important; line-height: 1 !important; cursor: pointer; }
.hpk-preset:hover { border-color: #c9cdd2 !important; }
.hpk-preset.is-on { border-color: var(--k-accent) !important; background: var(--k-accent-soft) !important; color: var(--k-accent-dark) !important; }
.hpk-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.hpk-range label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--k-muted); margin: 0; }
.hpk-range select { height: 38px; padding: 0 8px; border: 1px solid var(--k-line); border-radius: 8px; font-size: 14px; background: #fff; margin: 0; width: 100%; }
.hpk-range i { padding-bottom: 10px; color: var(--k-faint); font-style: normal; }
.hpk-pop-note { margin: 10px 0 0; font-size: 12.5px; color: var(--k-faint); }
.hpk-sub { margin: 14px 0 8px; font-size: 13px; font-weight: 600; color: var(--k-muted); }
.hpk-sub:first-child { margin-top: 0; }

/* ---------- Lưới ảnh ---------- */
.hpk-grid { column-count: 3; column-gap: var(--k-gap); min-height: 200px; transition: opacity .2s; }
.hpk-grid.is-js { column-count: auto; display: block; }
.hpk-seg { display: flex; gap: var(--k-gap); align-items: flex-start; margin: 0 0 var(--k-gap); }
.hpk-grid.is-loading { opacity: .45; pointer-events: none; }
.hpk-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--k-gap); }
.hpk-item { position: relative; margin: 0 0 var(--k-gap); break-inside: avoid; overflow: hidden; background: #eceef0; border-radius: 4px; aspect-ratio: var(--ar, .667); }
.hpk-grid.is-js .hpk-item { margin: 0; }
.hpk-img { display: block; width: 100%; height: 100%; }
.hpk-img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.hpk-item:hover .hpk-img img { transform: scale(1.03); }

/* Lớp thông tin khi rê chuột */
.hpk-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.28) 55%, transparent); opacity: 0; transition: opacity .2s; pointer-events: none; }
.hpk-cap { position: absolute; left: 0; right: 64px; bottom: 0; z-index: 2; margin: 0; padding: 14px 0 14px 16px; color: #fff; display: flex; flex-direction: column; gap: 3px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.hpk-cap-t { font-size: 15px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.hpk-cap-a { font-size: 12.5px; color: rgba(255,255,255,.82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpk .hpk-dl { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--k-accent); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s, background .15s; }
.hpk .hpk-dl:hover { background: var(--k-accent-dark); color: #fff; }
.hpk-dl .hpk-ic { width: 17px; height: 17px; }
.hpk-item:hover::after, .hpk-item:focus-within::after { opacity: 1; }
.hpk-item:hover .hpk-cap, .hpk-item:focus-within .hpk-cap,
.hpk-item:hover .hpk-dl, .hpk-item:focus-within .hpk-dl { opacity: 1; transform: none; }
.hpk-i { position: absolute; top: 10px; right: 10px; z-index: 3; width: 32px; height: 32px; padding: 0 !important; border: 0 !important; border-radius: 50%; background: rgba(0,0,0,.45) !important; color: #fff !important; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: .8; transition: opacity .15s, background .15s; }
.hpk-i:hover, .hpk-i[aria-expanded="true"] { opacity: 1; background: rgba(0,0,0,.75) !important; }
.hpk-i:focus-visible, .hpk-dl:focus-visible, .hpk-fbtn:focus-visible { outline: 2px solid var(--k-accent); outline-offset: 2px; }

@media (hover: none) {
	.hpk-item::after { opacity: 1; inset: 60% 0 0; }
	.hpk-cap { opacity: 1; transform: none; padding: 10px 0 10px 12px; right: 52px; }
	.hpk-cap-a { display: none; }
	.hpk .hpk-dl { opacity: 1; transform: none; width: 36px; height: 36px; padding: 0; justify-content: center; right: 8px; bottom: 8px; }
	.hpk-dl span { display: none; }
}

.hpk-info-pop { position: absolute; top: 48px; right: 10px; z-index: 5; width: min(290px, calc(100% - 20px)); background: #fff; color: var(--k-ink); border-radius: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.22); padding: 12px 14px; font-size: 13px; line-height: 1.45; }
.hpk-dlist { display: grid; grid-template-columns: 78px 1fr; gap: 6px 10px; margin: 0; }
.hpk-dlist dt { margin: 0; color: var(--k-faint); font-weight: 400; }
.hpk-dlist dd { margin: 0; font-variant-numeric: tabular-nums; word-break: break-word; }

/* Hàng 2 banner sản phẩm chen giữa lưới */
.hpk-ads { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--k-gap); margin: 6px 0 calc(var(--k-gap) + 6px); column-span: all; break-inside: avoid; }
.hpk-ads.is-single { grid-template-columns: 1fr; }
.hpk .hpk-ad { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(17,17,17,.08); transition: transform .2s, box-shadow .2s; }
.hpk .hpk-ad:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(17,17,17,.14); }
.hpk-ad img { display: block; width: 100%; height: auto; aspect-ratio: 865 / 250; object-fit: cover; margin: 0; }
.hpk-ads-tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--k-ink); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; pointer-events: none; }
@media (max-width: 640px) { .hpk-ads { grid-template-columns: 1fr; } }

.hpk-empty { text-align: center; padding: 48px 16px; color: var(--k-muted); }
.hpk-empty[hidden] { display: none; }
.hpk-pager { text-align: center; margin: 32px 0 8px; }
.hpk .hpk-more { min-width: 280px; min-height: 54px; font-size: 16px !important; gap: 10px; box-shadow: 0 10px 24px rgba(228,72,52,.28); transition: background .15s, transform .15s, box-shadow .15s; }
.hpk .hpk-more:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(228,72,52,.34); }
.hpk-more .hpk-ic { width: 20px; height: 20px; }
.hpk-more.is-busy { opacity: .75; pointer-events: none; }
.hpk .hpk-btn--primary { border: 0 !important; background: var(--k-accent) !important; color: #fff !important; }
.hpk .hpk-btn--primary:hover { background: var(--k-accent-dark) !important; color: #fff !important; }
.hpk-pager[hidden] { display: none; }
.hpk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px !important; border-radius: 999px; font-weight: 600; font-size: 15px !important; line-height: 1 !important; cursor: pointer; text-decoration: none !important; }
.hpk-btn--ghost { border: 1px solid #cfd3d7 !important; background: #fff !important; color: var(--k-ink) !important; }
.hpk-btn--ghost:hover { border-color: var(--k-ink) !important; }
.hpk-products { margin-top: 48px; padding-left: 0 !important; padding-right: 0 !important; }

/* ---------- Xem ảnh lớn ---------- */
body.hpk-lb-open { overflow: hidden; }
.hpk-lb { position: fixed; inset: 0; z-index: 100000; display: flex; background: rgba(12,12,12,.95); }
.hpk-lb[hidden] { display: none; }
.hpk-lb button { padding: 0 !important; line-height: 1 !important; min-width: 0; box-shadow: none; }
.hpk-lb-stage { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 24px 72px; }
.hpk-lb-stage img { max-width: 100%; max-height: calc(100vh - 48px); object-fit: contain; transition: opacity .15s; }
.hpk-lb-stage img.is-loading { opacity: .55; }
.hpk-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0 !important; border-radius: 50%; background: rgba(255,255,255,.12) !important; color: #fff !important; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hpk-lb-nav:hover { background: rgba(255,255,255,.24) !important; }
.hpk-lb-nav[hidden] { display: none; }
.hpk-lb-prev { left: 16px; }
.hpk-lb-next { right: 16px; }
.hpk-lb-count { position: absolute; left: 20px; bottom: 14px; color: rgba(255,255,255,.6); font-size: 13px; font-variant-numeric: tabular-nums; }
.hpk-lb-side { position: relative; width: 360px; flex: 0 0 360px; background: #fff; color: var(--k-ink); padding: 32px 26px 26px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.hpk-lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border: 0 !important; border-radius: 50%; background: transparent !important; color: #555 !important; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hpk-lb-close:hover { background: #f2f2f2 !important; color: #111 !important; }
.hpk-lb .hpk-lb-title { margin: 0; padding-right: 34px; font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--k-ink); }
.hpk-lb-by { margin: 6px 0 0; font-size: 14px; color: var(--k-muted); }
.hpk-lb-by a { color: var(--k-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hpk-lb .hpk-dlist { padding-top: 16px; border-top: 1px solid #eee; font-size: 14px; grid-template-columns: 88px 1fr; }
.hpk-lb-noexif { margin: 0; padding-top: 16px; border-top: 1px solid #eee; color: var(--k-faint); font-size: 14px; }
.hpk-lb .hpk-lb-go { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; background: var(--k-accent); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 15.5px; }
.hpk-lb .hpk-lb-go:hover { background: var(--k-accent-dark); }
.hpk-lb-go small { font-weight: 400; opacity: .85; font-size: 12.5px; }
.hpk-lb-note { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--k-faint); }

/* ---------- Trang chờ tải ---------- */
.hpw { max-width: 1132px; margin: 0 auto; padding: 8px 0 48px; }
.hpw-crumb { margin: 0 0 16px; }
.hpw-crumb a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--k-muted); text-decoration: none; }
.hpw-crumb a:hover { color: var(--k-accent); }
.hpw-crumb .hpk-ic { width: 16px; height: 16px; }
.hpw-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid var(--k-line); border-radius: 22px; overflow: hidden; }
.hpw-media { background: #111; display: flex; align-items: center; justify-content: center; min-height: 420px; max-height: 760px; }
.hpw-media img { display: block; width: 100%; height: 100%; max-height: 760px; object-fit: contain; margin: 0; }
.hpw-info { padding: 36px 36px 32px; display: flex; flex-direction: column; }
.hpw .hpw-title { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 700; color: var(--k-ink); }
.hpw-by { margin: 0 0 20px; font-size: 15px; color: var(--k-muted); }
.hpw-by a { color: var(--k-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hpw-exif { display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--k-line); font-size: 14.5px; }
.hpw-exif dt { margin: 0; color: var(--k-faint); font-weight: 400; }
.hpw-exif dd { margin: 0; font-variant-numeric: tabular-nums; }
.hpw-wait { margin: auto 0 16px; padding: 18px 18px 14px; border-radius: 16px; background: var(--k-accent-soft); border: 1px solid #f8d3cd; }
.hpw-timer { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.hpw-sec { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: var(--k-accent); color: #fff; font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 6px rgba(228,72,52,.15); animation: hpw-pulse 1s ease-in-out infinite; }
@keyframes hpw-pulse { 50% { box-shadow: 0 0 0 10px rgba(228,72,52,.06); } }
.hpw-timer-txt { display: flex; flex-direction: column; gap: 3px; }
.hpw-timer-txt strong { font-size: 18px; line-height: 1.3; color: var(--k-ink); }
.hpw-timer-txt small { font-size: 13px; color: var(--k-muted); }
.hpw-progress { height: 10px; border-radius: 999px; background: #fff; overflow: hidden; }
.hpw .hpw-peek { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--k-accent-dark); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.hpw .hpw-peek:hover { color: var(--k-accent); }
.hpw-peek span { text-decoration: underline; text-underline-offset: 3px; }
.hpw-peek .hpk-ic { width: 18px; height: 18px; }
.hpw-peek .hpk-ic:last-child { animation: hpw-bob 1.4s ease-in-out infinite; }
@keyframes hpw-bob { 50% { transform: translateY(3px); } }
.hpw.is-ready .hpw-timer, .hpw.is-ready .hpw-progress { display: none; }
.hpw.is-ready .hpw-wait { background: var(--k-bg); border-color: var(--k-line); padding: 12px 16px; }
.hpw.is-ready .hpw-peek { margin: 0; }
.hpw-ready { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #1a7f37; font-weight: 600; font-size: 15px; }
.hpw-ready[hidden] { display: none; }
.hpw-msg { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #fdecea; color: #b42318; font-size: 14px; line-height: 1.5; }
.hpw-msg[hidden] { display: none; }
.hpw-ready .hpk-ic { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .hpw-sec, .hpw-peek .hpk-ic:last-child { animation: none; } }
.hpw-progress span { display: block; height: 100%; width: 100%; background: var(--k-accent); border-radius: 999px; transform-origin: left center; transform: scaleX(0); }
.hpw .hpw-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 14px; background: var(--k-accent); color: #fff !important; text-decoration: none !important; font-weight: 600; font-size: 16px; transition: background .15s, opacity .2s; }
.hpw .hpw-btn:hover { background: var(--k-accent-dark); }
.hpw-btn small { font-weight: 400; opacity: .85; font-size: 13px; }
.hpw .hpw-btn.is-locked { background: #c9ccd0; pointer-events: none; cursor: not-allowed; }
.hpw-hint, .hpw-terms { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--k-faint); }
.hpw-terms a { color: inherit; }
.hpw-related { margin: 40px 0 0; }
.hpw .hpw-related h2 { margin: 0 0 16px; font-size: 22px; font-weight: 700; color: var(--k-ink); }
.hpw-rel-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.hpw-rel { display: flex; flex-direction: column; gap: 8px; color: var(--k-ink); text-decoration: none; font-size: 13.5px; line-height: 1.35; }
.hpw-rel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin: 0; background: #eceef0; transition: opacity .15s; }
.hpw-rel:hover img { opacity: .85; }
.hpw-rel span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hpw-rel-more { margin: 14px 0 0; font-size: 14px; }
.hpw-rel-more a { color: var(--k-accent); font-weight: 600; text-decoration: none; }
.hpw .hpk-products { margin-top: 40px; }

/* ---------- Màn hình nhỏ ---------- */
@media (max-width: 1024px) {
	.hpk-sort { margin-left: 0; }
	.hpw-rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.hpk-lb { flex-direction: column; overflow-y: auto; background: #111; }
	.hpk-lb-stage { flex: 0 0 auto; min-height: 58vh; padding: 16px 8px 40px; }
	.hpk-lb-stage img { max-height: 56vh; }
	.hpk-lb-side { width: 100%; flex: 1 0 auto; }
	.hpk-lb-close { position: fixed; background: rgba(255,255,255,.14) !important; color: #fff !important; }
	.hpk-lb .hpk-lb-title { padding-right: 0; }
	.hpw-card { grid-template-columns: 1fr; }
	.hpw-media { min-height: 0; max-height: 70vh; }
	.hpw-media img { max-height: 70vh; }
	.hpw-info { padding: 24px 20px; }
}
@media (max-width: 700px) {
	.hpk-hero { margin-bottom: 22px; }
	.hpk-lead { font-size: 15.5px; }
	.hpk-stats li { padding: 0 10px; font-size: 14px; }
	.hpk-bar { padding: 8px; border-radius: 14px; }
	.hpk-search { flex-basis: 100%; }
	.hpk-filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; scrollbar-width: none; }
	.hpk-filters::-webkit-scrollbar { display: none; }
	.hpk-sort { width: 100%; }
	.hpk-sort select { flex: 1; }
	.hpk-grid { column-count: 2; }
	.hpk-pop { position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; max-width: none; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 75vh; overflow-y: auto; }
	.hpk-opts { max-height: 45vh; }
}
