/* ==========================================================================
   PIN HOÀNG LONG — PHẦN 2
   Trang chủ · Blog · Chính sách · Giỏ hàng · Tài khoản · Trang lỗi
   Nạp sau hl-theme.css, dùng chung biến trong :root của file đó.
   ========================================================================== */

/* ---------- TRANG CHỦ: banner + ô khuyến mãi ---------- */

.hl-top { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 14px; }
.hl-hero {
    position: relative; border-radius: 22px; overflow: hidden; background: #fff;
    box-shadow: 0 8px 24px rgba(163, 124, 32, .12); aspect-ratio: 2.32 / 1; min-height: 210px;
}
.hl-hero__track { display: flex; height: 100%; width: 300%; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.hl-hero__slide {
    width: 33.3333%; height: 100%; padding: 34px 38px;
    display: flex; flex-direction: column; justify-content: center; gap: 9px;
}
.hl-hero__slide:nth-child(1) { background: linear-gradient(120deg, #FFE7A8 0%, #FFC53D 100%); }
.hl-hero__slide:nth-child(2) { background: linear-gradient(120deg, #FFF3D6 0%, #FFDE8A 100%); }
.hl-hero__slide:nth-child(3) { background: linear-gradient(120deg, #FFEFC2 0%, #F7C860 100%); }
.hl-hero__eyebrow {
    display: inline-flex; align-self: flex-start; padding: 5px 12px; border-radius: 999px;
    background: #4A3208; color: #FFD874; font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
}
.hl-hero__eyebrow--green { background: #2E7D5B; color: #fff; }
.hl-hero__eyebrow--red { background: var(--hl-price); color: #fff; }
.hl-hero__h { font-size: 38px; line-height: 1.06; font-weight: 800; letter-spacing: -.03em; color: var(--hl-ink-strong); max-width: 460px; margin: 0; }
.hl-hero__p { font-size: 14.5px; font-weight: 500; color: #6B4405; margin: 0; }
.hl-hero__cta {
    align-self: flex-start; margin-top: 6px; padding: 11px 24px; border-radius: 14px;
    background: #fff; color: var(--hl-link); font-size: 14px; font-weight: 800; box-shadow: 0 6px 16px rgba(120, 80, 0, .18);
}
.hl-hero__dots { position: absolute; bottom: 14px; left: 38px; display: flex; gap: 6px; z-index: 2; }
.hl-hero__dots button { width: 22px; height: 5px; border: none; padding: 0; border-radius: 99px; background: rgba(61, 44, 8, .25); cursor: pointer; }
.hl-hero__dots button.is-on { background: var(--hl-ink-strong); }

.hl-promos { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.hl-promo { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(163, 124, 32, .10); display: flex; color: var(--hl-ink); }
.hl-promo__txt { flex: 1; padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.hl-promo__eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--hl-link); }
.hl-promo__h { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--hl-ink-strong); line-height: 1.15; margin: 0; }
.hl-promo__p { font-size: 12.5px; color: var(--hl-muted); margin: 0; }
.hl-promo__ic { width: 96px; display: grid; place-items: center; background: linear-gradient(160deg, #FFE7A8, #FFC53D); color: var(--hl-gold-ink); flex: 0 0 96px; }
.hl-promo__ic--green { background: linear-gradient(160deg, #DCF2E6, #A9DCC3); color: var(--hl-green); }

/* ---------- TRANG CHỦ: dải dịch vụ ---------- */

.hl-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
.hl-service { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 6px 4px; color: #4A4132; text-align: center; }
.hl-service__ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--hl-gold-soft); color: var(--hl-gold-ink); }
.hl-service__ic--red { background: var(--hl-red-soft); color: var(--hl-price); }
.hl-service__ic--green { background: var(--hl-green-soft); color: var(--hl-green); }
.hl-service__ic--blue { background: #E8EEFA; color: #3A5A9B; }
.hl-service span { font-size: 12.5px; font-weight: 600; line-height: 1.3; }

/* ---------- TRANG CHỦ: flash sale ---------- */

.hl-flash__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 16px; }
.hl-flash__brand { display: flex; align-items: center; gap: 8px; color: var(--hl-price); font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.hl-timer { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--hl-ink-3); }
.hl-timer b { min-width: 32px; padding: 5px 7px; border-radius: 9px; background: var(--hl-ink-strong); color: #FFD874; font-size: 14px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.hl-fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.hl-fcard { border-radius: 16px; overflow: hidden; background: var(--hl-surface-2); display: block; color: var(--hl-ink); }
.hl-fcard__thumb { display: block; position: relative; aspect-ratio: 1 / 1; overflow: hidden; 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-fcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-fcard__off { position: absolute; top: 0; right: 0; padding: 4px 8px; border-radius: 0 0 12px 0; background: var(--hl-price); color: #fff; font-size: 12px; font-weight: 800; }
.hl-fcard__body { padding: 9px 8px 11px; display: flex; flex-direction: column; gap: 7px; }
.hl-fcard__price { font-size: 15px; font-weight: 800; color: var(--hl-price); }
.hl-bar { position: relative; height: 16px; border-radius: 99px; background: #FFF0C4; overflow: hidden; }
.hl-bar__fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #FFD05B, #F0A202); }
.hl-bar__txt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 3px; white-space: nowrap; font-size: 10.5px; font-weight: 800; color: #5C3A02; }

/* ---------- TRANG CHỦ: combo mua kèm + mua lại nhanh ---------- */

.hl-card__note { font-size: 12.5px; color: var(--hl-muted); }
.hl-combo__badge { padding: 3px 9px; border-radius: 8px; background: var(--hl-red-soft); color: var(--hl-red-ink); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.hl-combogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.hl-combo { border-radius: 18px; background: var(--hl-surface-2); border: 1px solid #F5EBD3; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.hl-combo__row { display: flex; align-items: center; gap: 10px; }
.hl-combo__thumb { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; flex: 0 0 74px; 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-combo__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-combo__plus { width: 22px; height: 22px; border-radius: 99px; background: #FFE9A8; color: var(--hl-gold-ink); display: grid; place-items: center; font-size: 14px; font-weight: 800; flex: 0 0 22px; }
.hl-combo__names { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hl-combo__names a { font-size: 12px; color: var(--hl-ink-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hl-combo__foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hl-combo__pricebox { display: flex; flex-direction: column; }
.hl-combo__pricebox b { font-size: 18px; font-weight: 800; color: var(--hl-price); letter-spacing: -.01em; }
.hl-combo__pricebox i { font-style: normal; font-size: 11.5px; color: var(--hl-muted); }
.hl-combo__buy { border: 0; cursor: pointer; padding: 10px 20px; border-radius: 13px; background: var(--hl-grad); color: var(--hl-ink-strong); font-size: 13px; font-weight: 800; font-family: inherit; }
.hl-combo__buy:hover { filter: brightness(1.04); }

.hl-againgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.hl-again { display: flex; align-items: center; gap: 12px; border-radius: 16px; background: var(--hl-surface-2); border: 1px solid #F5EBD3; padding: 11px; }
.hl-again__thumb { width: 62px; height: 62px; border-radius: 13px; overflow: hidden; flex: 0 0 62px; 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-again__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-again__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hl-again__name { font-size: 12.5px; color: #3A3327; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hl-again__price { font-size: 14px; font-weight: 800; color: var(--hl-price); }
.hl-again__buy { border: 0; cursor: pointer; padding: 9px 16px; border-radius: 12px; background: var(--hl-gold-soft); color: var(--hl-gold-ink); font-size: 12.5px; font-weight: 800; white-space: nowrap; font-family: inherit; }
.hl-again__buy:hover { background: #FFE9A8; }
.hl-again__buy:disabled { opacity: .5; cursor: default; }
.hl-combo__buy.is-loading, .hl-again__buy.is-loading { opacity: .6; pointer-events: none; }

/* ---------- TRANG CHỦ: ô danh mục + dải gợi ý ---------- */

.hl-catgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.hl-cattile { border-radius: 16px; background: var(--hl-surface-2); padding: 10px; display: flex; flex-direction: column; gap: 9px; color: #4A4132; }
.hl-cattile__img { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; background-color: #FFF6E0; background-image: var(--hl-ph), var(--hl-tile-grad); background-repeat: no-repeat, no-repeat; background-position: center, center; background-size: 46%, cover; }
.hl-cattile__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-cattile span { font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.3; }

.hl-divider { display: flex; align-items: center; gap: 12px; padding: 10px 6px 0; }
.hl-divider__line { height: 3px; flex: 1; border-radius: 99px; background: linear-gradient(90deg, rgba(240, 162, 2, 0), #F0A202); }
.hl-divider__line--r { background: linear-gradient(90deg, #F0A202, rgba(240, 162, 2, 0)); }
.hl-divider__t { font-size: 19px; font-weight: 800; letter-spacing: .02em; color: var(--hl-link); }

/* ---------- BLOG ---------- */

.hl-blog { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.hl-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.hl-bcard { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--hl-shadow-sm); display: flex; flex-direction: column; color: var(--hl-ink); }
.hl-bcard:hover { color: var(--hl-ink); box-shadow: 0 10px 24px rgba(163, 124, 32, .16); }
.hl-bcard__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background-color: #FFF6E0; background-image: var(--hl-ph), var(--hl-tile-grad); background-repeat: no-repeat, no-repeat; background-position: center, center; background-size: 26%, cover; }
.hl-bcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-bcard__cat { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .92); color: var(--hl-gold-ink); font-size: 10.5px; font-weight: 800; }
.hl-bcard__body { padding: 15px 16px 17px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.hl-bcard__meta { font-size: 12px; color: var(--hl-muted-2); }
.hl-bcard__title { font-size: 15.5px; line-height: 1.4; font-weight: 700; color: var(--hl-ink); margin: 0; }
.hl-bcard__ex { font-size: 12.5px; line-height: 1.75; color: var(--hl-ink-3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hl-bcard__more { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--hl-link); margin-top: auto; padding-top: 4px; }

.hl-bhero { border-radius: 24px; overflow: hidden; background: #fff; box-shadow: var(--hl-shadow); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); color: var(--hl-ink); }
.hl-bhero__img { position: relative; min-height: 280px; background-color: #FFF6E0; background-image: var(--hl-ph), linear-gradient(150deg, #FFFBEF 0%, #FFE7A8 100%); background-repeat: no-repeat, no-repeat; background-position: center, center; background-size: 30%, cover; }
.hl-bhero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-bhero__tag { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 5px 12px; border-radius: 99px; background: var(--hl-ink-strong); color: #FFD874; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.hl-bhero__body { padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.hl-bhero__h { font-size: 28px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--hl-ink); margin: 0; }
.hl-bhero__p { font-size: 14px; line-height: 1.85; color: var(--hl-ink-2); margin: 0; }

.hl-side-list { display: flex; flex-direction: column; }
.hl-side-list a { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--hl-line-3); font-size: 12.5px; color: var(--hl-ink-2); }
.hl-side-recent { display: flex; flex-direction: column; gap: 13px; }
.hl-side-recent a { display: flex; gap: 11px; color: var(--hl-ink); }
.hl-side-recent__thumb { width: 64px; height: 64px; border-radius: 13px; overflow: hidden; flex: 0 0 64px; background-color: #FFF6E0; background-image: var(--hl-ph), var(--hl-tile-grad); background-repeat: no-repeat, no-repeat; background-position: center, center; background-size: 52%, cover; }
.hl-side-recent__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hl-cta-card { background: linear-gradient(150deg, #FFE7A8, #FFC53D); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 9px; }
.hl-cta-card b { font-size: 15px; font-weight: 800; color: var(--hl-ink-strong); line-height: 1.3; }
.hl-cta-card p { font-size: 12.5px; color: #6B4405; line-height: 1.7; margin: 0; }
.hl-cta-card a { align-self: flex-start; margin-top: 4px; padding: 10px 18px; border-radius: 13px; background: #fff; color: var(--hl-link); font-size: 12.5px; font-weight: 800; }

.hl-article { font-size: 15px; line-height: 1.9; color: var(--hl-ink-2); }
.hl-article h2, .hl-article h3, .hl-article h4 { color: var(--hl-ink-strong); font-weight: 800; letter-spacing: -.01em; margin: 28px 0 12px; }
.hl-article h2 { font-size: 21px; }
.hl-article h3 { font-size: 17px; }
.hl-article img { border-radius: 16px; margin: 14px 0; height: auto; }
.hl-article p { margin: 0 0 14px; }
.hl-article ul, .hl-article ol { padding-left: 22px; margin: 0 0 14px; }
.hl-article li { margin-bottom: 7px; }
.hl-article a { text-decoration: underline; }
.hl-article table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.hl-article th, .hl-article td { border: 1px solid var(--hl-line); padding: 9px 12px; font-size: 13.5px; }
.hl-article th { background: var(--hl-gold-soft); color: var(--hl-ink-strong); }
.hl-article blockquote { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--hl-gold-2); background: var(--hl-tile); border-radius: 0 12px 12px 0; }
.hl-scrollx { overflow-x: auto; }

/* ---------- CHÍNH SÁCH ---------- */

.hl-policy { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 14px; align-items: start; }
.hl-policy__nav { display: flex; flex-direction: column; gap: 6px; }
.hl-policy__nav a { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 14px; font-size: 13px; color: var(--hl-ink-2); }
.hl-policy__nav a.is-on { background: var(--hl-gold-soft); color: var(--hl-gold-ink); font-weight: 800; }
.hl-policy__eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--hl-link); }
.hl-policy__h { font-size: 27px; font-weight: 800; letter-spacing: -.02em; color: var(--hl-ink); line-height: 1.25; margin: 0; }
.hl-policy__intro { font-size: 14px; line-height: 1.9; color: #4A4132; }
.hl-sec { display: flex; flex-direction: column; gap: 10px; }
.hl-sec__head { display: flex; align-items: center; gap: 11px; }
.hl-sec__no { width: 28px; height: 28px; border-radius: 10px; background: var(--hl-gold-soft); color: var(--hl-gold-ink); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: 0 0 28px; }
.hl-sec__h { font-size: 17px; font-weight: 800; color: var(--hl-ink-strong); letter-spacing: -.01em; margin: 0; }
.hl-sec p { font-size: 13.5px; line-height: 1.9; color: var(--hl-ink-2); padding-left: 39px; margin: 0; }
.hl-sec ul { list-style: none; margin: 0; padding: 0 0 0 39px; display: flex; flex-direction: column; gap: 8px; }
.hl-sec li { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.8; color: var(--hl-ink-2); }
.hl-note { border-radius: 18px; background: var(--hl-tile); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; font-size: 13px; line-height: 1.8; color: var(--hl-ink-2); }
.hl-note__ic { width: 38px; height: 38px; border-radius: 13px; background: #fff; display: grid; place-items: center; color: var(--hl-link); flex: 0 0 38px; }

/* ---------- GIỎ HÀNG ---------- */

.hl-cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.hl-cline { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hl-line-3); align-items: center; }
.hl-cline:last-child { border-bottom: none; }
.hl-cline__thumb { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; flex: 0 0 84px; background-color: #FFF6E0; background-image: var(--hl-ph), var(--hl-tile-grad); background-repeat: no-repeat, no-repeat; background-position: center, center; background-size: 48%, cover; }
.hl-cline__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hl-cline__name { font-size: 13.5px; font-weight: 600; color: var(--hl-ink); line-height: 1.4; }
.hl-cline__opt { font-size: 11.5px; color: var(--hl-muted); }
.hl-cline__price { font-size: 15px; font-weight: 800; color: var(--hl-price); white-space: nowrap; }
.hl-cline__del { color: var(--hl-muted); background: none; border: none; cursor: pointer; padding: 6px; }
.hl-cline__del:hover { color: var(--hl-price); }
.hl-sum { background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: var(--hl-shadow); display: flex; flex-direction: column; gap: 12px; }
.hl-sum__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--hl-ink-2); }
.hl-sum__row b { font-weight: 700; color: var(--hl-ink-strong); }
.hl-sum__total { border-top: 1px solid var(--hl-line); padding-top: 12px; font-size: 15px; }
.hl-sum__total b { font-size: 22px; font-weight: 800; color: var(--hl-price); letter-spacing: -.02em; }
.hl-coupon { display: flex; gap: 8px; }
.hl-coupon input { flex: 1; min-width: 0; border: 1px solid var(--hl-line); border-radius: 12px; padding: 10px 12px; font-size: 13px; background: var(--hl-surface-2); }

/* ---------- TRẠNG THÁI RỖNG ---------- */

.hl-empty { text-align: center; padding: 48px 20px; }
.hl-empty__ic { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 28px; background: var(--hl-gold-soft); display: grid; place-items: center; color: var(--hl-gold-ink); }
.hl-empty h2 { font-size: 18px; font-weight: 800; color: var(--hl-ink-strong); margin: 0 0 6px; }
.hl-empty p { font-size: 13.5px; color: var(--hl-muted); margin: 0 0 20px; }

/* ---------- ĐĂNG NHẬP / ĐĂNG KÝ / FORM ---------- */

.hl-auth { max-width: 560px; margin: 0 auto; }
.hl-auth__h { font-size: 24px; font-weight: 800; color: var(--hl-ink-strong); letter-spacing: -.02em; margin: 0 0 6px; text-align: center; }
.hl-auth__p { font-size: 13.5px; color: var(--hl-muted); text-align: center; margin: 0 0 22px; }
.hl-formwrap .form-group, .hl-formwrap .mb-3 { margin-bottom: 14px; }
.hl-formwrap label, .hl-formwrap .form-label { font-size: 13px; font-weight: 700; color: var(--hl-ink-strong); margin-bottom: 6px; display: block; }
.hl-formwrap input[type="text"], .hl-formwrap input[type="email"], .hl-formwrap input[type="password"],
.hl-formwrap input[type="tel"], .hl-formwrap input[type="number"], .hl-formwrap select,
.hl-formwrap textarea, .hl-formwrap .form-control {
    width: 100%; border: 1px solid var(--hl-line); border-radius: 12px; background: var(--hl-surface-2);
    padding: 11px 13px; font-size: 13.5px; color: var(--hl-ink); outline: none;
}
.hl-formwrap input:focus, .hl-formwrap select:focus, .hl-formwrap textarea:focus {
    border-color: var(--hl-gold-2); box-shadow: 0 0 0 3px rgba(240, 162, 2, .15);
}
.hl-formwrap button[type="submit"], .hl-formwrap .btn-primary, .hl-formwrap .tptrack__submition {
    width: 100%; border: none; border-radius: 14px; background: var(--hl-grad); color: var(--hl-ink-strong);
    font-size: 14px; font-weight: 800; padding: 13px 20px; cursor: pointer; box-shadow: 0 6px 16px rgba(196, 145, 20, .28);
}
.hl-formwrap .invalid-feedback, .hl-formwrap .text-danger { color: var(--hl-price); font-size: 12px; }
.hl-formwrap .form-check { display: flex; align-items: center; gap: 8px; }
.hl-formwrap .form-check input { width: auto; }

/* ---------- TRANG LỖI ---------- */

.hl-err { text-align: center; padding: 60px 20px; }
.hl-err__code { font-size: 72px; font-weight: 800; color: var(--hl-gold-2); letter-spacing: -.04em; line-height: 1; margin: 0 0 8px; }
.hl-err h1 { font-size: 22px; font-weight: 800; color: var(--hl-ink-strong); margin: 0 0 10px; }
.hl-err p { font-size: 14px; color: var(--hl-muted); margin: 0 0 24px; }

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

@media (max-width: 1100px) {
    .hl-blog, .hl-cart { grid-template-columns: minmax(0, 1fr); }
    .hl-policy { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 900px) {
    .hl-top { grid-template-columns: minmax(0, 1fr); }
    .hl-promos { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
    .hl-hero { aspect-ratio: 2 / 1; }
    .hl-hero__h { font-size: 24px; }
    .hl-hero__slide { padding: 20px; }
    .hl-bhero { grid-template-columns: minmax(0, 1fr); }
    .hl-bhero__img { min-height: 190px; }
    .hl-bhero__body { padding: 18px 20px; }
    .hl-bhero__h { font-size: 20px; }
}
@media (max-width: 767px) {
    .hl-policy { grid-template-columns: minmax(0, 1fr); }
    .hl-promos { grid-template-columns: 1fr; }
    .hl-blog-grid { grid-template-columns: minmax(0, 1fr); }
    .hl-sec p, .hl-sec ul { padding-left: 0; }
    .hl-cline { flex-wrap: wrap; }
    .hl-err__code { font-size: 54px; }
    .hl-policy__h { font-size: 20px; }
    .hl-hero__dots { left: 20px; }
}

/* ==========================================================================
   SOAT LAI MOBILE — trang chu, blog, gio hang
   ========================================================================== */

@media (max-width: 767px) {
    .hl-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hl-catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hl-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-hero { aspect-ratio: 1.55 / 1; min-height: 0; }
    .hl-hero__h { font-size: 20px; }
    .hl-hero__p { font-size: 12.5px; }
    .hl-hero__eyebrow { font-size: 10.5px; padding: 4px 10px; }
    .hl-hero__cta { padding: 9px 18px; font-size: 13px; }
    .hl-promo__ic { width: 74px; flex: 0 0 74px; }
    .hl-promo__txt { padding: 16px 16px; }
    .hl-promo__h { font-size: 17px; }
    .hl-divider__t { font-size: 16px; }
    .hl-flash__brand { font-size: 17px; }
    .hl-combogrid, .hl-againgrid { grid-template-columns: minmax(0, 1fr); }
    .hl-combo__thumb { width: 60px; height: 60px; flex: 0 0 60px; }
    .hl-cline__thumb { width: 66px; height: 66px; flex: 0 0 66px; }
    .hl-cline__price { font-size: 14px; }
    .hl-sum__total b { font-size: 19px; }
    .hl-bhero__h { font-size: 18px; }
    .hl-auth { max-width: none; }
    .hl-sec__h { font-size: 15.5px; }
    .hl-empty { padding: 34px 14px; }
}

@media (max-width: 420px) {
    .hl-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hl-service__ic { width: 46px; height: 46px; border-radius: 15px; }
    .hl-service span { font-size: 11.5px; }
    .hl-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-cta-card, .hl-note { padding: 14px 15px; }
    .hl-timer b { min-width: 27px; font-size: 13px; }
}

/* ==========================================================================
   TRANG ĐĂNG NHẬP / ĐĂNG KÝ — ghi đè markup do plugin ecommerce sinh ra
   Form auth của plugin tự bọc một thẻ Bootstrap thứ hai (.card.auth-card nền
   xám #f8f9fa) nằm lọt trong thẻ trắng .hl-card của theme. Phần bọc
   container/row/col đã được tắt trong blade bằng form option has_wrapper=no;
   phần còn lại xử lý ở đây. front-auth.css dùng !important nên chỗ nào chọi
   trực tiếp cũng phải !important.
   Ghi chú: app đang chạy locale = en nên chuỗi __() ra tiếng Anh — câu chữ
   tiếng Việt được đặt lại trong từng blade, KHÔNG đổi locale toàn site.
   ========================================================================== */

.hl-auth__card { padding: 30px 32px 34px; }

.hl-formwrap .auth-card,
.hl-formwrap .auth-card .card-header { background-color: transparent !important; }
.hl-formwrap .auth-card { border: 0; border-radius: 0; box-shadow: none; }
.hl-formwrap .auth-card__body { padding: 0 !important; }
.hl-formwrap .auth-card__header { padding: 0 !important; }
.hl-formwrap .auth-card__banner { display: none; }

/* biểu tượng trong ô nhập: plugin ghim top:3px, lệch so với ô cao 44px của theme */
.hl-formwrap .auth-card form .auth-input-icon {
    top: 50%; transform: translateY(-50%); inset-inline-start: 13px;
    color: var(--hl-muted); padding: 0;
}
.hl-formwrap .auth-card form .auth-input-icon svg { width: 19px; height: 19px; }
.hl-formwrap .auth-card .ps-5 { padding-inline-start: 42px !important; }

/* hàng "ghi nhớ đăng nhập" + "quên mật khẩu" */
.hl-formwrap .row.g-0 { align-items: center; margin: 2px 0 16px; }
.hl-formwrap .auth-card .form-check {
    display: flex; align-items: flex-start; gap: 9px;
    padding-inline-start: 0; margin: 0; min-height: 0;
}
.hl-formwrap .auth-card .form-check .form-check-input {
    width: 18px; height: 18px; flex: 0 0 18px; margin: 0;
    accent-color: var(--hl-gold-2); border-radius: 5px;
}
.hl-formwrap .form-check-label { font-size: 13px; font-weight: 600; color: var(--hl-ink-2); margin: 0; }
.hl-formwrap .text-end a { font-size: 13px; font-weight: 700; color: var(--hl-link); }

/* dòng "chưa có tài khoản?" và dòng điều khoản dưới thẻ */
.hl-auth__alt {
    text-align: center; font-size: 13px; color: var(--hl-muted);
    padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--hl-line);
}
.hl-auth__alt a { font-weight: 700; }
.hl-auth__terms {
    text-align: center; font-size: 11.5px; color: var(--hl-muted-2);
    line-height: 1.7; margin: 14px auto 0; max-width: 420px;
}

/* thẻ hỗ trợ dưới trang đăng nhập */
.hl-auth__help {
    margin-top: 14px; padding: 18px 20px;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--hl-ink-3); line-height: 1.6;
}
.hl-auth__help > span:last-child { flex: 1; min-width: 200px; }
.hl-auth__help b { color: var(--hl-ink-strong); }
.hl-auth__help-ic {
    width: 42px; height: 42px; border-radius: 14px; flex: 0 0 42px;
    background: var(--hl-gold-soft); color: var(--hl-gold-ink);
    display: grid; place-items: center;
}

/* iOS phóng to cả trang khi chạm vào ô nhập dưới 16px */
@media (max-width: 767px), (pointer: coarse) {
    .hl-formwrap input[type="text"], .hl-formwrap input[type="email"], .hl-formwrap input[type="password"],
    .hl-formwrap input[type="tel"], .hl-formwrap input[type="number"], .hl-formwrap select,
    .hl-formwrap textarea, .hl-formwrap .form-control {
        font-size: 16px !important;
    }
}
@media (max-width: 575px) {
    .hl-auth__card { padding: 24px 18px 26px; }
}

/* ô tick có nhãn dài 2 dòng: giữ ô thẳng hàng với dòng chữ đầu tiên */
.hl-formwrap .auth-card .form-check .form-check-input { margin-top: 1px; }
.hl-formwrap .form-check-label { line-height: 1.55; }
.hl-formwrap .form-check-label a { font-weight: 700; }

/* nút gửi form: 40px là hụt so với mốc chạm 44px */
.hl-formwrap button[type="submit"], .hl-formwrap .btn-primary, .hl-formwrap .tptrack__submition {
    min-height: 48px;
}

/* Bootstrap chỉ hiện .invalid-feedback khi nó là phần tử anh em ĐỨNG SAU ô
   .is-invalid. Plugin lại bọc ô nhập trong một <div> riêng để đặt icon, nên
   thông báo lỗi nằm ngoài quan hệ anh em đó và vĩnh viễn display:none —
   khách đăng nhập sai không thấy báo gì. Lớp .has-error chỉ được gắn khi
   trường thật sự có lỗi (trang sạch không có lớp này), nên bám vào nó. */
.hl-formwrap .has-error .invalid-feedback { display: block; margin-top: 6px; }
.hl-formwrap .has-error .form-control { border-color: var(--hl-price); }
.hl-formwrap .has-error .form-control:focus { box-shadow: 0 0 0 3px rgba(196, 71, 47, .14); }
