@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   PIN HOÀNG LONG — GIAO DIỆN GỐC (dựng từ bộ artboard Claude Design)
   Đây là template MỚI, không phải lớp phủ lên Ninico.
   Mọi class đều mang tiền tố .hl- nên không dính gì tới .tp* của theme cũ.
   ========================================================================== */

:root {
    --hl-bg: #F3EBDA;
    --hl-surface: #FFFFFF;
    --hl-surface-2: #FFFCF4;
    --hl-tile: #FFF7E3;
    --hl-tile-grad: linear-gradient(150deg, #FFFBEF 0%, #FFF0C9 100%);

    --hl-ink: #2B2418;
    --hl-ink-strong: #3D2C08;
    --hl-ink-2: #5C5344;
    --hl-ink-3: #6E6455;
    --hl-muted: #8A7A5E;
    --hl-muted-2: #756B59;

    --hl-line: #F0E7D5;
    --hl-line-2: #E4DAC4;
    --hl-line-3: #F7F0E1;

    --hl-gold-1: #FFC53D;
    --hl-gold-2: #F0A202;
    --hl-gold-soft: #FFF3D6;
    --hl-gold-ink: #8A4E06;
    --hl-grad: linear-gradient(135deg, #FFC53D, #F0A202);
    --hl-grad-head: linear-gradient(135deg, #FFD874 0%, #F9BE43 55%, #F4AE2A 100%);

    --hl-price: #C4472F;
    --hl-link: #A8620A;
    --hl-green: #215F45;
    --hl-green-soft: #DCF2E6;
    --hl-red-soft: #FFE6E0;
    --hl-red-ink: #A8291A;
    --hl-star: #E0A106;

    --hl-shadow: 0 6px 20px rgba(163, 124, 32, .09);
    --hl-shadow-sm: 0 3px 12px rgba(163, 124, 32, .08);
    --hl-shadow-lg: 0 10px 30px rgba(196, 145, 20, .22);

    /* bề rộng khung nội dung — artboard vẽ ở 1280 nhưng màn thật rộng hơn nhiều */
    --hl-max: 1560px;

    /* ô ảnh trống: đúng component "Anh SP" trong artboard */
    --hl-ph: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23C9970F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><rect x='7' y='14' width='30' height='20' rx='4'/><path d='M40 21v6' stroke-width='4'/><path d='M22 19l-4 6h5l-1 4 5-6h-5z' fill='%23C9970F' stroke-width='1.4'/></svg>");
}

@media (min-width: 1800px) { :root { --hl-max: 1720px; } }
@media (max-width: 1400px) { :root { --hl-max: 100%; } }

/* ---------- nền trang ---------- */

body.hl-body {
    margin: 0;
    background: var(--hl-bg);
    font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
    color: var(--hl-ink);
    -webkit-font-smoothing: antialiased;
}
.hl-body * { box-sizing: border-box; }
.hl-body a { color: var(--hl-link); text-decoration: none; }
.hl-body a:hover { color: var(--hl-gold-ink); }
.hl-body img { max-width: 100%; }
.hl-body input, .hl-body select, .hl-body textarea, .hl-body button { font-family: inherit; }

.hl-page {
    min-height: 100vh;
    padding: 14px 14px 60px;
}
.hl-wrap {
    max-width: var(--hl-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hl-rail { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.hl-rail::-webkit-scrollbar { display: none; }
.hl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- HEADER ---------- */

.hl-header {
    background: var(--hl-grad-head);
    border-radius: 28px;
    padding: 12px 32px 24px;
    box-shadow: 0 10px 30px rgba(196, 145, 20, .22);
}

/* thanh tiện ích trên cùng */
.hl-utils {
    display: flex; align-items: center; gap: 0 28px; flex-wrap: wrap;
    font-size: 13px; font-weight: 600; color: #6B4405; padding-bottom: 14px;
}
.hl-utils__item { display: flex; align-items: center; gap: 6px; color: #6B4405; white-space: nowrap; }
a.hl-utils__item:hover { color: #4A3208; }
.hl-utils__item.is-strong { font-weight: 700; }
.hl-utils__sep { width: 1px; height: 13px; background: rgba(107, 68, 5, .3); }
.hl-utils__sep.is-strong { background: rgba(107, 68, 5, .35); }
.hl-utils__gap { flex: 1; min-width: 0; }

/* hàng chính */
.hl-header__main { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }

/* logo */
.hl-logo { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.hl-logo__box {
    height: 62px; padding: 0 16px; border-radius: 20px; background: #fff;
    display: grid; place-items: center; box-shadow: 0 5px 14px rgba(120, 80, 0, .18);
}
.hl-logo__box img { height: 40px; width: auto; display: block; }
.hl-logo__txt { display: block; }
.hl-logo__name { display: block; font-size: 27px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #4A3208; }
.hl-logo__tag { display: block; font-size: 11.5px; font-weight: 700; color: #7A5510; letter-spacing: .07em; padding-top: 3px; }

/* ô tìm kiếm */
.hl-search-col { flex: 1; min-width: 320px; max-width: 900px; }
.hl-search {
    position: relative; display: flex; align-items: center; gap: 10px; background: #fff;
    border-radius: 18px; padding: 7px 7px 7px 20px; box-shadow: 0 6px 18px rgba(140, 95, 10, .16);
}
.hl-search > svg { flex: 0 0 21px; }
.hl-search input {
    flex: 1; min-width: 0; border: none; outline: none; background: transparent;
    font-size: 15px; color: var(--hl-ink); padding: 10px 0;
}
.hl-search__sep { width: 1px; height: 26px; background: var(--hl-line); flex: 0 0 1px; }
.hl-search__cam {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px;
    color: #8A7A5E; flex: 0 0 40px;
}
.hl-search button {
    flex: 0 0 auto; white-space: nowrap; padding: 12px 40px; border: none; border-radius: 14px;
    background: var(--hl-grad); color: var(--hl-ink-strong); font-size: 15px; font-weight: 800; cursor: pointer;
}
.hl-search-hints {
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
    padding: 11px 6px 0; font-size: 13px; font-weight: 500; color: #6B4405;
}
.hl-search-hints a { color: #6B4405; white-space: nowrap; }
.hl-search-hints a:hover { color: #4A3208; }
.hl-search-hints a.is-strong { font-weight: 800; }

/* hotline (chỉ trong header — footer có biến thể riêng bên dưới) */
.hl-header .hl-hotline {
    flex: 0 0 auto; display: flex; align-items: center; gap: 13px;
    padding-left: 6px; border-left: 1px solid rgba(107, 68, 5, .18);
}
.hl-header .hl-hotline__ic {
    width: 46px; height: 46px; border-radius: 15px; background: rgba(255, 255, 255, .5);
    display: grid; place-items: center; color: #6B4405; flex: 0 0 46px;
}
.hl-hotline__txt { display: block; line-height: 1.35; }
.hl-hotline__label { display: block; font-size: 11px; font-weight: 700; color: #7A5510; letter-spacing: .05em; }
.hl-hotline__num { display: block; font-size: 19px; font-weight: 800; color: #4A3208; letter-spacing: -.01em; }

/* nút chat + giỏ hàng — cùng họ: nền trắng, bo 17px, bóng đổ nhẹ */
.hl-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.hl-chatbtn {
    position: relative; width: 54px; height: 54px; border-radius: 17px;
    background: #fff; display: grid; place-items: center; color: var(--hl-link);
    box-shadow: 0 5px 14px rgba(120, 80, 0, .16);
    transition: transform .15s ease, box-shadow .15s ease, color .15s ease;
}
.hl-chatbtn:hover { color: var(--hl-gold-ink); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(120, 80, 0, .24); }
.hl-cartbtn {
    position: relative; display: flex; align-items: center; gap: 13px; height: 54px;
    padding: 0 19px 0 16px; border-radius: 17px; background: #fff; color: var(--hl-link);
    box-shadow: 0 5px 14px rgba(120, 80, 0, .16);
    transition: transform .15s ease, box-shadow .15s ease;
}
.hl-cartbtn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(120, 80, 0, .24); }
.hl-cartbtn__ic { position: relative; display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; }
.hl-cartbtn__txt { display: block; line-height: 1.35; }
.hl-cartbtn__label { display: block; font-size: 10px; font-weight: 700; color: #8A7A5E; letter-spacing: .06em; }
.hl-cartbtn__price { display: block; font-size: 14.5px; font-weight: 800; color: var(--hl-price); white-space: nowrap; letter-spacing: -.01em; }

/* badge số lượng: chấm đỏ viền trắng, neo góc trên-phải, không đè icon */
.hl-badge-n {
    position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 999px; background: var(--hl-price); color: #fff; font-size: 10.5px; font-weight: 800;
    line-height: 1; display: grid; place-items: center; border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(140, 40, 20, .25);
}
.hl-cartbtn .hl-badge-n { top: -7px; right: -8px; left: auto; }

/* dải danh mục */
.hl-catbar {
    display: flex; gap: 8px; background: #fff; border-radius: 18px;
    padding: 10px 12px; box-shadow: var(--hl-shadow-sm);
}
.hl-catbar a {
    padding: 8px 15px; border-radius: 12px; font-size: 13.5px; font-weight: 600;
    color: var(--hl-ink-2); white-space: nowrap;
}
.hl-catbar a:hover { background: var(--hl-surface-2); }
.hl-catbar a.is-all { display: flex; align-items: center; gap: 7px; background: var(--hl-gold-soft); color: var(--hl-gold-ink); font-weight: 700; }
.hl-catbar a.is-sale { color: var(--hl-price); font-weight: 700; }
.hl-catbar a.is-news { display: flex; align-items: center; gap: 7px; margin-left: auto; color: var(--hl-gold-ink); font-weight: 700; }

/* thu gọn dần theo bề rộng */
@media (max-width: 1500px) {
    .hl-header__main { gap: 22px; }
    .hl-hotline__label { display: none; }
    .hl-search button { padding: 12px 28px; }
}
@media (max-width: 1200px) {
    .hl-header .hl-hotline { display: none; }
    .hl-search-col { max-width: none; }
}

/* ---------- BREADCRUMB ---------- */

.hl-crumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--hl-muted); padding: 0 6px;
}
.hl-crumb .is-current { color: var(--hl-ink-strong); font-weight: 700; }

/* ---------- THẺ TRẮNG DÙNG CHUNG ---------- */

.hl-card {
    background: var(--hl-surface); border-radius: 22px;
    box-shadow: var(--hl-shadow); padding: 18px 20px 22px;
}
.hl-card--tight { padding: 14px 16px; }
.hl-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; }
.hl-card__title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--hl-ink-strong); margin: 0; }
.hl-card__more { display: flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--hl-link); margin-left: auto; }
.hl-spacer { flex: 1; }

/* ---------- THẺ SẢN PHẨM (The SP) ---------- */

.hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 12px; }

.hl-prod {
    background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--hl-shadow-sm);
    display: flex; flex-direction: column; color: var(--hl-ink); height: 100%;
    transition: transform .16s ease, box-shadow .16s ease;
}
.hl-prod:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(163, 124, 32, .16); color: var(--hl-ink); }
.hl-prod__thumb {
    position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center;
    background-color: #FFF6E0;
    background-image: var(--hl-ph), var(--hl-tile-grad);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 42%, cover;
}
.hl-prod__thumb::before {
    content: ''; position: absolute; top: -30%; left: -20%; width: 70%; height: 160%;
    transform: rotate(18deg); pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.5), rgba(255,255,255,0));
}
.hl-prod__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; }
.hl-prod__badge {
    position: absolute; top: 7px; left: 7px; z-index: 2; padding: 2px 7px; border-radius: 7px;
    font-size: 9.5px; font-weight: 800; background: var(--hl-green-soft); color: var(--hl-green);
}
.hl-prod__badge--hot { background: var(--hl-red-soft); color: var(--hl-red-ink); }
.hl-prod__badge--out { background: #3D2C08; color: #FFD874; }
.hl-prod__disc {
    position: absolute; top: 0; right: 0; z-index: 2; padding: 4px 7px; border-radius: 0 0 11px 0;
    background: rgba(255, 197, 61, .95); color: var(--hl-ink-strong); font-size: 11px; font-weight: 800;
}
.hl-prod__body { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hl-prod__name {
    font-size: 12.5px; line-height: 1.4; color: #3A3327; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hl-prod__tags { display: flex; gap: 4px; flex-wrap: wrap; }
.hl-tag-s { padding: 1px 6px; border-radius: 5px; font-size: 9.5px; font-weight: 700; background: var(--hl-gold-soft); color: var(--hl-gold-ink); }
.hl-tag-s--green { background: var(--hl-green-soft); color: var(--hl-green); }
.hl-prod__price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.hl-prod__price b { font-size: 15.5px; font-weight: 800; color: var(--hl-price); letter-spacing: -.01em; }
.hl-prod__price del { font-size: 10.5px; color: var(--hl-muted-2); }
.hl-prod__meta { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--hl-muted); overflow: hidden; }
.hl-prod__rate { display: flex; align-items: center; gap: 2px; color: var(--hl-star); }
.hl-prod__rate b { color: #4A4132; font-weight: 700; }
.hl-prod__meta > span { white-space: nowrap; }
.hl-prod__new { color: var(--hl-green); font-weight: 700; }

/* ---------- DANH MỤC: sidebar lọc ---------- */

.hl-shop { display: grid; grid-template-columns: 246px minmax(0, 1fr); gap: 14px; align-items: start; }
.hl-side { display: flex; flex-direction: column; gap: 12px; }
.hl-widget { background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: var(--hl-shadow); }
.hl-widget__title { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--hl-ink-strong); padding-bottom: 10px; }
.hl-widget__title--lg { font-size: 14px; padding-bottom: 12px; }
.hl-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hl-widget li a { font-size: 12.5px; color: var(--hl-ink-2); display: flex; align-items: center; gap: 7px; }
.hl-widget li a:hover { color: var(--hl-gold-ink); }
.hl-price-range { display: flex; align-items: center; gap: 8px; }
.hl-price-range input {
    flex: 1; min-width: 0; border: 1px solid var(--hl-line); border-radius: 10px;
    padding: 9px 10px; font-size: 12px; outline: none; background: var(--hl-surface-2);
}
.hl-price-range span { width: 10px; height: 1px; background: #D9CEB6; flex: 0 0 10px; }
.hl-btn-apply {
    margin-top: 12px; padding: 10px; border: none; width: 100%; border-radius: 12px;
    background: var(--hl-grad); color: var(--hl-ink-strong); font-size: 12.5px; font-weight: 800; cursor: pointer;
}
.hl-check { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--hl-ink-2); cursor: pointer; }
.hl-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.hl-check__box {
    width: 17px; height: 17px; border-radius: 6px; flex: 0 0 17px; display: grid; place-items: center;
    border: 1.5px solid var(--hl-line-2); background: #fff;
}
.hl-check input:checked + .hl-check__box { border-color: var(--hl-gold-2); background: var(--hl-gold-soft); }
.hl-check__box svg { opacity: 0; }
.hl-check input:checked + .hl-check__box svg { opacity: 1; }

/* ---------- DANH MỤC: thanh sắp xếp ---------- */

.hl-toolbar { display: flex; flex-direction: column; gap: 12px; }
.hl-toolbar__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hl-toolbar__title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: var(--hl-ink-strong); margin: 0; }
.hl-count { font-size: 12.5px; color: var(--hl-muted); }
.hl-sort { display: flex; gap: 7px; }
.hl-sort a {
    padding: 8px 15px; border-radius: 11px; font-size: 12.5px; font-weight: 700;
    white-space: nowrap; background: var(--hl-surface-2); color: var(--hl-ink-2);
}
.hl-sort a.is-on { background: var(--hl-grad); color: var(--hl-ink-strong); }
.hl-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px;
    background: var(--hl-gold-soft); color: var(--hl-gold-ink); font-size: 11.5px; font-weight: 700;
}
.hl-chip--clear { background: none; color: var(--hl-price); }

/* ---------- PHÂN TRANG ---------- */

.hl-pagi { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 14px 0 4px; flex-wrap: wrap; list-style: none; margin: 0; }
.hl-pagi a, .hl-pagi span {
    min-width: 38px; height: 38px; padding: 0 12px; border-radius: 12px; background: #fff;
    color: var(--hl-ink-2); font-size: 13.5px; font-weight: 700; display: grid; place-items: center;
    box-shadow: 0 3px 10px rgba(163, 124, 32, .08);
}
.hl-pagi .is-on span, .hl-pagi .active span { background: var(--hl-grad); color: var(--hl-ink-strong); font-weight: 800; }
.hl-pagi .disabled span { color: #C9BFA8; }

/* ---------- CHI TIẾT SẢN PHẨM ---------- */

.hl-pd { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 26px; }
.hl-pd__left { display: flex; flex-direction: column; gap: 12px; }
.hl-pd__main {
    position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1;
    display: grid; place-items: center; background-color: #FFF6E0;
    background-image: var(--hl-ph), var(--hl-tile-grad);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 34%, cover;
}
.hl-pd__thumbs button {
    background-image: var(--hl-ph), var(--hl-tile-grad);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 46%, cover;
}
.hl-mini__thumb {
    background-image: var(--hl-ph), var(--hl-tile-grad);
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 52%, cover;
}
.hl-pd__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hl-pd__disc {
    position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 9px;
    background: var(--hl-price); color: #fff; font-size: 12px; font-weight: 800;
}
.hl-pd__count {
    position: absolute; bottom: 12px; right: 12px; padding: 5px 10px; border-radius: 9px;
    background: rgba(43, 36, 24, .6); color: #fff; font-size: 11.5px; font-weight: 700;
}
.hl-pd__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.hl-pd__thumbs button {
    position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1;
    cursor: pointer; border: 2px solid transparent; padding: 0; background: var(--hl-tile-grad);
}
.hl-pd__thumbs button.is-on { border-color: var(--hl-gold-2); }
.hl-pd__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hl-pd__right { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hl-pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.hl-pill { padding: 3px 9px; border-radius: 8px; font-size: 11px; font-weight: 800; background: var(--hl-gold-soft); color: var(--hl-gold-ink); }
.hl-pill--green { background: var(--hl-green-soft); color: var(--hl-green); }
.hl-pill--red { background: var(--hl-red-soft); color: var(--hl-red-ink); }
.hl-pd__title { font-size: 25px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--hl-ink); margin: 0; }
.hl-pd__stats { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--hl-ink-3); }
.hl-pd__stats .sep { width: 1px; height: 16px; background: var(--hl-line); }
.hl-stars { display: flex; gap: 1px; color: var(--hl-star); }

.hl-pd__pricebox { border-radius: 18px; background: var(--hl-tile); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.hl-pd__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hl-pd__price b { font-size: 33px; font-weight: 800; color: var(--hl-price); letter-spacing: -.02em; }
.hl-pd__price del { font-size: 15px; color: var(--hl-muted-2); }
.hl-pd__price .off { padding: 4px 9px; border-radius: 8px; background: var(--hl-price); color: #fff; font-size: 12px; font-weight: 800; }

.hl-pd__rows { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px 16px; align-items: center; font-size: 13px; }
.hl-pd__rows > dt { color: var(--hl-muted); font-weight: 400; margin: 0; }
.hl-pd__rows > dd { margin: 0; }
.hl-voucher { padding: 5px 11px; border-radius: 9px; background: var(--hl-gold-soft); color: var(--hl-gold-ink); font-size: 11.5px; font-weight: 800; border: 1px dashed #E8B84B; }
.hl-voucher--green { background: var(--hl-green-soft); color: var(--hl-green); border-color: #8FCBB0; }
.hl-ship { display: flex; align-items: center; gap: 9px; color: var(--hl-green); font-size: 12.5px; font-weight: 700; }

.hl-qty { display: flex; align-items: center; border: 1px solid var(--hl-line); border-radius: 12px; overflow: hidden; width: max-content; }
.hl-qty button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--hl-muted); background: none; border: none; cursor: pointer; font-size: 16px; }
.hl-qty input { width: 52px; height: 36px; text-align: center; font-size: 13.5px; font-weight: 700; border: none; border-left: 1px solid var(--hl-line); border-right: 1px solid var(--hl-line); outline: none; background: #fff; }

.hl-pd__actions { display: flex; gap: 11px; flex-wrap: wrap; padding-top: 4px; }
.hl-btn {
    display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: 15px;
    font-size: 14px; font-weight: 800; cursor: pointer; border: none;
}
.hl-btn--gold { background: var(--hl-grad); color: var(--hl-ink-strong); box-shadow: 0 6px 16px rgba(196, 145, 20, .3); padding: 14px 44px; }
.hl-btn--soft { background: var(--hl-gold-soft); border: 1.5px solid #F0C862; color: var(--hl-gold-ink); }
.hl-btn--ghost { background: none; border: 1.5px solid var(--hl-line); color: var(--hl-ink-3); font-size: 13.5px; font-weight: 700; }
.hl-btn:hover { filter: brightness(1.04); }

.hl-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding-top: 6px; border-top: 1px solid var(--hl-line-3); margin-top: 4px; }
.hl-trust div { display: flex; align-items: center; gap: 9px; padding-top: 12px; font-size: 12px; color: var(--hl-ink-3); font-weight: 600; }

.hl-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; }
.hl-specs > div { display: flex; gap: 12px; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed #F5EBD3; }
.hl-specs dt { width: 130px; flex: 0 0 130px; color: var(--hl-muted); font-weight: 400; margin: 0; }
.hl-specs dd { color: #3A3327; font-weight: 600; margin: 0; }
.hl-desc { font-size: 13.5px; line-height: 1.85; color: var(--hl-ink-2); }
.hl-desc img { border-radius: 14px; }

.hl-two { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; align-items: start; }
.hl-mini { display: flex; align-items: center; gap: 11px; color: var(--hl-ink); }
.hl-mini__thumb { width: 62px; height: 62px; border-radius: 13px; overflow: hidden; flex: 0 0 62px; background: var(--hl-tile-grad); }
.hl-mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hl-mini__name { font-size: 12px; line-height: 1.35; color: #3A3327; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hl-mini__price { font-size: 13.5px; font-weight: 800; color: var(--hl-price); }

/* ---------- ĐÁNH GIÁ ---------- */

.hl-rv-sum { border-radius: 18px; background: var(--hl-tile); padding: 18px; display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.hl-rv-score { display: flex; flex-direction: column; gap: 6px; min-width: 130px; }
.hl-rv-score b { font-size: 34px; font-weight: 800; color: var(--hl-price); letter-spacing: -.02em; }
.hl-rv-bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 7px; }
.hl-rv-bar { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--hl-ink-3); }
.hl-rv-bar__track { flex: 1; height: 8px; border-radius: 99px; background: #FFEBBE; overflow: hidden; }
.hl-rv-bar__fill { height: 100%; background: linear-gradient(90deg, #FFD05B, #F0A202); }
.hl-rv-item { display: flex; gap: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--hl-line-3); }
.hl-rv-ava { width: 42px; height: 42px; border-radius: 99px; background: var(--hl-gold-soft); color: var(--hl-link); display: grid; place-items: center; font-size: 15px; font-weight: 800; flex: 0 0 42px; overflow: hidden; }
.hl-rv-ava img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FOOTER ---------- */

.hl-footer { background: #fff; border-radius: 26px; padding: 30px 34px 22px; box-shadow: var(--hl-shadow); }
.hl-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.hl-footer__col { display: flex; flex-direction: column; gap: 12px; }
.hl-footer__logo { height: 52px; padding: 0 14px; border-radius: 16px; background: var(--hl-gold-soft); display: inline-flex; align-items: center; align-self: flex-start; }
.hl-footer__logo img { height: 34px; width: auto; display: block; }
.hl-footer__about { font-size: 13px; color: var(--hl-ink-3); line-height: 1.7; max-width: 260px; }
.hl-footer__title { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; letter-spacing: .05em; color: var(--hl-ink-strong); }
.hl-footer__links { display: flex; flex-direction: column; gap: 11px; }
.hl-footer__links a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hl-ink-3); }
.hl-social { display: flex; gap: 8px; padding-top: 2px; }
.hl-social a { width: 34px; height: 34px; border-radius: 11px; background: var(--hl-surface-2); border: 1px solid var(--hl-line); display: grid; place-items: center; color: var(--hl-muted); }
.hl-footer .hl-hotline { display: flex; align-items: center; gap: 11px; }
.hl-footer .hl-hotline__ic { width: 42px; height: 42px; border-radius: 14px; background: var(--hl-grad); display: grid; place-items: center; color: var(--hl-ink-strong); flex: 0 0 42px; }
.hl-footer .hl-hotline b { font-size: 16px; font-weight: 800; color: var(--hl-ink-strong); letter-spacing: -.01em; }
.hl-contact-line { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--hl-ink-3); line-height: 1.6; }
.hl-news { display: flex; flex-direction: column; gap: 10px; }
.hl-news input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 13px; color: var(--hl-ink); padding: 10px 0; }
.hl-news__box { display: flex; align-items: center; gap: 8px; background: var(--hl-surface-2); border: 1px solid var(--hl-line); border-radius: 14px; padding: 4px 4px 4px 14px; max-width: 340px; }
.hl-news__btn { display: inline-flex; align-self: flex-start; align-items: center; gap: 9px; padding: 11px 20px; border: none; border-radius: 14px; background: var(--hl-grad); color: var(--hl-ink-strong); font-size: 13px; font-weight: 800; box-shadow: 0 5px 14px rgba(196, 145, 20, .28); cursor: pointer; }
.hl-footer__rule { height: 1px; background: var(--hl-line); margin: 26px 0 20px; }
.hl-footer__legal { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.hl-footer__company { font-size: 13px; font-weight: 800; color: var(--hl-ink-strong); }
.hl-footer__meta { font-size: 12.5px; color: var(--hl-ink-3); line-height: 1.8; }
.hl-footer__copy { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 12px; color: var(--hl-muted-2); }

/* ---------- NAV DƯỚI (mobile) ---------- */

.hl-bottomnav { display: none; }
@media (max-width: 991px) {
    .hl-bottomnav {
        display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        background: #fff; border-top: 1px solid var(--hl-line); padding: 8px 6px 12px;
        box-shadow: 0 -4px 16px rgba(163, 124, 32, .08);
    }
    .hl-bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--hl-muted-2); position: relative; }
    .hl-bottomnav a.is-on { color: var(--hl-link); }
    .hl-bottomnav span { font-size: 10px; font-weight: 700; }
    .hl-bottomnav .hl-badge-n { top: -3px; right: 14px; min-width: 16px; height: 16px; font-size: 9.5px; border-width: 0; }
    .hl-page { padding-bottom: 92px; }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1100px) {
    .hl-shop { grid-template-columns: 210px minmax(0, 1fr); }
    .hl-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
    .hl-pd { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .hl-pd__title { font-size: 20px; }
    .hl-pd__price b { font-size: 27px; }
}
@media (max-width: 767px) {
    .hl-shop { grid-template-columns: minmax(0, 1fr); }
    .hl-side { order: 2; }
    .hl-header { padding: 10px 14px 16px; border-radius: 20px; }
    .hl-header__main { gap: 12px; }
    .hl-search-col { min-width: 100%; order: 3; }
    .hl-search button { padding: 10px 16px; font-size: 13px; }
    .hl-utils { gap: 0 10px; font-size: 12px; padding-bottom: 10px; justify-content: flex-end; }
    .hl-utils__item:not(.is-strong), .hl-utils__sep:not(.is-strong), .hl-utils__gap { display: none; }
    .hl-logo { gap: 10px; }
    .hl-logo__box { height: 46px; padding: 0 11px; border-radius: 15px; }
    .hl-logo__box img { height: 28px; }
    .hl-logo__name { font-size: 20px; }
    .hl-logo__tag { font-size: 9.5px; letter-spacing: .04em; padding-top: 2px; }
    .hl-search { padding: 5px 5px 5px 14px; border-radius: 15px; }
    .hl-search__cam, .hl-search__sep { display: none; }
    .hl-search input { font-size: 14px; padding: 8px 0; }
    .hl-search-hints { gap: 14px; font-size: 12px; padding-top: 9px; }
    .hl-actions { margin-left: auto; gap: 9px; }
    .hl-chatbtn { width: 46px; height: 46px; border-radius: 15px; }
    .hl-cartbtn { height: 46px; padding: 0 13px; border-radius: 15px; }
    .hl-cartbtn__txt { display: none; }
    .hl-cartbtn .hl-badge-n { left: auto; right: -5px; }
    .hl-footer { padding: 22px 18px 16px; border-radius: 20px; }
    .hl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .hl-card { padding: 14px 14px 18px; border-radius: 18px; }
    .hl-card__title { font-size: 16px; }
    .hl-page { padding: 10px 10px 92px; }
}
@media (prefers-reduced-motion: reduce) {
    .hl-prod { transition: none; }
}

/* ==========================================================================
   SOAT LAI MOBILE — dai 768-991 (tablet) va cac loi tran ngang
   ========================================================================== */

.hl-pd__thumbs button { min-width: 0; }
.hl-search-col { min-width: 260px; }

/* Tablet: header xuong dong gon, bo bot muc tien ich */
@media (max-width: 991px) {
    .hl-header { padding: 10px 20px 18px; border-radius: 24px; }
    .hl-header__main { gap: 14px; }
    .hl-search-col { flex: 1 1 100%; order: 3; min-width: 0; max-width: none; }
    .hl-actions { margin-left: auto; }
    .hl-utils { gap: 0 14px; font-size: 12.5px; }
    .hl-utils__item.is-hideable, .hl-utils__sep.is-hideable { display: none; }
    .hl-logo__name { font-size: 23px; }
    .hl-logo__box { height: 54px; }
    .hl-logo__box img { height: 34px; }
    .hl-search button { padding: 11px 24px; font-size: 14px; }
}

/* Dien thoai */
@media (max-width: 767px) {
    .hl-pd__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hl-pd__rows { grid-template-columns: 88px minmax(0, 1fr); gap: 10px 12px; }
    .hl-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-two { gap: 12px; }
    .hl-crumb { font-size: 12px; }
    .hl-desc, .hl-article { overflow-wrap: anywhere; }
    .hl-desc table, .hl-article table { display: block; width: 100%; overflow-x: auto; }
    .hl-desc pre, .hl-article pre { overflow-x: auto; }
}

/* May nho */
@media (max-width: 420px) {
    .hl-logo__tag { display: none; }
    .hl-logo__name { font-size: 18px; }
    .hl-logo__box { height: 42px; padding: 0 9px; }
    .hl-logo__box img { height: 26px; }
    .hl-grid { gap: 8px; }
    .hl-search-hints a:nth-child(n+5) { display: none; }
    .hl-search button { padding: 10px 14px; font-size: 12.5px; }
}

/* iOS Safari tu phong to trang khi focus o nhap co chu < 16px */
@media (max-width: 767px) {
    .hl-body input[type="text"], .hl-body input[type="email"], .hl-body input[type="tel"],
    .hl-body input[type="number"], .hl-body input[type="password"], .hl-body input[type="search"],
    .hl-body select, .hl-body textarea { font-size: 16px; }
}
