/* Trang chủ 2026 (Figma "Website – Trang chủ"). Mọi class có tiền tố hp- để không đụng CSS cũ. */
.hp {
    --hp-indigo: #2D3682;
    --hp-indigo-700: #232a6b;
    --hp-indigo-50: #eef0fa;
    --hp-amber: #F59E0B;
    --hp-amber-50: #fff7e6;
    --hp-red: #dc2626;
    --hp-green: #16a34a;
    --hp-ink: #111827;
    --hp-muted: #6b7280;
    --hp-line: #e5e7eb;
    --hp-bg: #f6f7fb;
    font-family: Roboto, system-ui, sans-serif;
    color: var(--hp-ink);
    background: var(--hp-bg);
    padding-bottom: 48px;
}
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp a { text-decoration: none; color: inherit; }
.hp h2, .hp h3, .hp p { margin: 0; }
/* cùng mốc độ rộng với .container (Bootstrap) và .vh-wrap của header */
.hp-container { width: 100%; margin: 0 auto; padding: 0 12px; }
@media (min-width: 576px) { .hp-container { max-width: 540px; } }
@media (min-width: 768px) { .hp-container { max-width: 720px; } }
@media (min-width: 992px) { .hp-container { max-width: 960px; } }
@media (min-width: 1200px) { .hp-container { max-width: 1140px; } }
@media (min-width: 1400px) { .hp-container { max-width: 1320px; } }
.hp-section { padding-top: 40px; }

/* nút */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 500; font-size: 15px; border: 1px solid transparent; transition: background .2s, transform .2s, box-shadow .2s; position: relative; overflow: hidden; white-space: nowrap; }
.hp-btn:hover { transform: translateY(-1px); }
.hp-btn--amber { background: var(--hp-amber); color: #1f1300 !important; }
.hp-btn--amber:hover { background: #e08e00; }
.hp-btn--white { background: #fff; color: var(--hp-indigo) !important; }
.hp-btn--indigo { background: var(--hp-indigo); color: #fff !important; width: 100%; }
.hp-btn--indigo:hover { background: var(--hp-indigo-700); }
.hp-btn--outline { border-color: var(--hp-indigo); color: var(--hp-indigo) !important; background: #fff; }
.hp-btn--outline:hover { background: var(--hp-indigo-50); }
.hp-center { text-align: center; margin-top: 28px; }

/* ===== Hero ===== */
.hp-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; padding-top: 28px; }
.hp-hero__main { position: relative; border-radius: 16px; overflow: hidden; background: var(--hp-indigo); min-height: 380px; }
.hp-hero__track { position: absolute; inset: 0; }
.hp-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hp-slide.is-active { opacity: 1; visibility: visible; }
.hp-slide--image { background: #fff; }
.hp-slide--image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-slide--promo { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px; padding: 40px 48px 56px; color: #fff;
    background: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, .25), transparent 45%), linear-gradient(135deg, #2D3682 0%, #3b46a3 100%); }
.hp-slide__copy h2 { font-size: 34px; line-height: 1.2; font-weight: 700; margin: 16px 0 12px; }
.hp-slide__copy p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .85); max-width: 520px; }
.hp-slide__cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hp-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--hp-amber); color: #1f1300; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.hp-slide__products { position: relative; height: 100%; min-height: 260px; }
.hp-float { position: absolute; width: 190px; background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); color: var(--hp-ink) !important; }
.hp-float img { width: 100%; height: 130px; object-fit: contain; display: block; }
.hp-float span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 13px; font-weight: 500; margin-top: 8px; line-height: 1.35; }
.hp-float em { font-style: normal; background: var(--hp-red); color: #fff; font-size: 12px; padding: 2px 6px; border-radius: 6px; margin-right: 6px; }
.hp-float--0 { top: 10px; left: 8%; }
.hp-float--1 { bottom: 0; right: 4%; }
.hp-hero__dots { position: absolute; left: 48px; bottom: 22px; display: flex; gap: 8px; z-index: 2; }
.hp-hero__dots button { width: 36px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); overflow: hidden; cursor: pointer; position: relative; }
.hp-hero__dots button i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hp-hero__dots button.is-done i { transform: scaleX(1); }
.hp-hero__dots button.is-active i { animation: hp-progress var(--hp-slide-ms, 5000ms) linear forwards; }
.hp-hero__main.is-paused .hp-hero__dots button.is-active i { animation-play-state: paused; }
.hp-hero__side { display: flex; flex-direction: column; gap: 16px; }
.hp-quick { flex: 1; background: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--hp-line); }
.hp-quick__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--hp-amber-50); color: var(--hp-amber); display: grid; place-items: center; }
.hp-quick h3 { font-size: 20px; font-weight: 700; color: var(--hp-indigo); }
.hp-quick p { font-size: 14px; line-height: 1.55; color: var(--hp-muted); flex: 1; }
.hp-hotline { display: flex; gap: 14px; align-items: center; background: var(--hp-indigo); color: #fff !important; border-radius: 16px; padding: 18px 20px; }
.hp-hotline > span { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex: none; }
.hp-hotline small { display: block; font-size: 12px; color: rgba(255, 255, 255, .75); }
.hp-hotline b { display: block; font-size: 22px; letter-spacing: .5px; color: var(--hp-amber); }

/* ===== Cam kết ===== */
.hp-commit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.hp-commit__item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--hp-line); border-radius: 12px; padding: 14px 16px; }
.hp-commit__item > span { width: 40px; height: 40px; border-radius: 10px; background: var(--hp-indigo-50); color: var(--hp-indigo); display: grid; place-items: center; flex: none; }
.hp-commit__item strong { display: block; font-size: 14px; font-weight: 500; }
.hp-commit__item small { display: block; font-size: 12px; color: var(--hp-muted); margin-top: 2px; }

/* ===== Tiêu đề khối ===== */
.hp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.hp-head h2 { font-size: 26px; font-weight: 700; color: var(--hp-indigo); }
.hp-head p { font-size: 14px; color: var(--hp-muted); margin-top: 4px; }
.hp-more { display: inline-flex; align-items: center; gap: 4px; color: var(--hp-indigo) !important; font-weight: 500; font-size: 14px; white-space: nowrap; }
.hp-more:hover { text-decoration: underline; }

/* ===== Danh mục (PA C): lưới thẻ có màu theo nhóm, mobile là danh sách ===== */
.hp-cat2 { --cg-ease: cubic-bezier(.2, .7, .3, 1); }
.hp-cg-all, .hp-cg-toggle { display: none; }
.hp-cg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 16px; }
.hp-cg-card { position: relative; display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 14px 36px 14px 16px; background: #fff; border: 1px solid #E4E8F0; border-radius: 14px; color: #141A33 !important; text-decoration: none !important; transition: background-color 180ms var(--cg-ease), border-color 180ms var(--cg-ease), box-shadow 180ms var(--cg-ease); }
.hp-cg-icon { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--c-soft); color: var(--c); display: grid; place-items: center; transition: background-color 180ms var(--cg-ease); }
.hp-cg-icon svg { width: 38px; height: 38px; display: block; transition: transform 180ms var(--cg-ease); }
.hp-cg-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hp-cg-text strong { font-size: 15px; line-height: 20px; font-weight: 500; color: #141A33; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-cg-text small { font-size: 13px; line-height: 18px; color: #8C94A6; }
.hp-cg-chev { position: absolute; right: 14px; top: 50%; margin-top: -9px; width: 18px; height: 18px; color: #CBD3E1; transition: color 180ms var(--cg-ease), transform 180ms var(--cg-ease); }
.hp-cg-chev svg { display: block; }
.hp-cg-card:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.hp-cg-card:focus-visible, .hp-cg-card:active { background: var(--c-soft); border-color: var(--c-tint); }
@media (hover: hover) {
    .hp-cg-card:hover { background: var(--c-soft); border-color: var(--c-tint); box-shadow: 0 10px 24px -4px rgba(20, 26, 51, .08); }
    .hp-cg-card:hover .hp-cg-icon { background: #fff; }
    .hp-cg-card:hover .hp-cg-icon svg { transform: scale(1.06) rotate(-4deg); }
    .hp-cg-card:hover .hp-cg-chev { color: var(--c); transform: translateX(3px); }
}
.hp-cg-card:focus-visible { box-shadow: 0 10px 24px -4px rgba(20, 26, 51, .08); }
.hp-cg-card:focus-visible .hp-cg-icon { background: #fff; }
.hp-cg-card:focus-visible .hp-cg-icon svg { transform: scale(1.06) rotate(-4deg); }
.hp-cg-card:focus-visible .hp-cg-chev { color: var(--c); transform: translateX(3px); }
/* ô CTA "Xem tất cả sản phẩm" */
.hp-cg-card.hp-cg-cta { --c: #F59E0B; --c-soft: #2D3682; --c-tint: #2D3682; background: #2D3682; border-color: #2D3682; color: #fff !important; }
.hp-cg-cta .hp-cg-icon, .hp-cg-cta:hover .hp-cg-icon, .hp-cg-cta:focus-visible .hp-cg-icon { background: rgba(255, 255, 255, .12) !important; color: #fff; }
.hp-cg-cta .hp-cg-icon svg { width: 30px; height: 30px; }
.hp-cg-cta .hp-cg-text strong { color: #fff; }
.hp-cg-cta .hp-cg-text small { color: rgba(255, 255, 255, .72); }
.hp-cg-cta .hp-cg-chev { color: #F59E0B; }
.hp-cg-card.hp-cg-cta:hover, .hp-cg-card.hp-cg-cta:focus-visible, .hp-cg-card.hp-cg-cta:active { background: #232a6b; border-color: #232a6b; }
/* xuất hiện lần đầu khi khối vào màn hình (JS thêm .hp-cg-anim rồi .is-in) */
.hp-cat2.hp-cg-anim:not(.is-in) .hp-cg-card { opacity: 0; }
.hp-cat2.is-in .hp-cg-card { animation: hp-cg-in 320ms var(--cg-ease) both; animation-delay: calc(var(--i, 0) * 25ms); }
.hp-cat2 .hp-cg-card.is-new { animation: hp-cg-fade 200ms ease-out both; animation-delay: 0ms; }
@keyframes hp-cg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hp-cg-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .hp-cat2.hp-cg-anim:not(.is-in) .hp-cg-card { opacity: 1; }
    .hp-cg-card .hp-cg-icon svg, .hp-cg-card .hp-cg-chev { transform: none !important; }
}

/* ===== Lưới + thẻ sản phẩm ===== */
.hp-band { background: linear-gradient(180deg, var(--hp-amber-50), transparent); margin-top: 40px; }
.hp-band .hp-section { padding-top: 32px; }
.hp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.hp-grid[hidden] { display: none; }
.hp-card { background: #fff; border: 1px solid var(--hp-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.hp-card:hover { box-shadow: 0 10px 24px rgba(17, 24, 39, .08); border-color: #d1d5db; }
.hp-card.is-out { opacity: .7; }
.hp-card__img { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.hp-card__img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; transition: transform .3s; }
.hp-card__badges { z-index: 1; }
.hp-card:hover .hp-card__img img { transform: scale(1.04); }
.hp-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.hp-badge { font-style: normal; font-size: 11px; font-weight: 500; padding: 2px 7px; border-radius: 6px; }
.hp-badge--sale { background: var(--hp-red); color: #fff; }
.hp-badge--invoice { background: var(--hp-indigo-50); color: var(--hp-indigo); }
.hp-card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-top: 1px solid #f3f4f6; }
.hp-card__name { font-size: 14px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.hp-card__name:hover { color: var(--hp-indigo) !important; }
.hp-card__mfr { font-size: 12px; color: var(--hp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 16px; }
.hp-card__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.hp-card__price b { color: var(--hp-red); font-size: 16px; font-weight: 700; }
.hp-card__price s { color: #9ca3af; font-size: 12px; }
.hp-card__date { font-size: 12px; color: var(--hp-muted); }
.hp-card__out { margin-top: auto; font-size: 13px; color: var(--hp-muted); font-weight: 500; }
.hp-card__login { margin-top: auto; display: block; text-align: center; font-size: 13px; font-weight: 500; color: var(--hp-indigo) !important; background: var(--hp-indigo-50); border-radius: 8px; padding: 8px; }
.hp-card__login:hover { background: var(--hp-indigo); color: #fff !important; }
.hp .quanity.hp-qty { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--hp-line); border-radius: 8px; height: 36px; margin-top: 6px; overflow: hidden; background: #fff; }
.hp .quanity.hp-qty .minus, .hp .quanity.hp-qty .plus { width: 36px; height: 34px; border: 0; background: var(--hp-indigo-50); color: var(--hp-indigo); font-size: 18px; font-weight: 500; cursor: pointer; user-select: none; display: flex; align-items: center; justify-content: center; transform: none; }
.hp .quanity.hp-qty .minus:hover, .hp .quanity.hp-qty .plus:hover { background: var(--hp-indigo); color: #fff; transform: none; }
.hp .quanity.hp-qty .value-quanity { flex: 1; width: auto; min-width: 0; height: 34px; border: 0; text-align: center; font-size: 15px; font-weight: 500; -moz-appearance: textfield; }
.hp .quanity.hp-qty.has-qty { border-color: var(--hp-indigo); }

/* tab */
.hp-tabs { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--hp-line); border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.hp-tabs button { border: 0; background: transparent; padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--hp-muted); cursor: pointer; }
.hp-tabs button.is-active { background: var(--hp-indigo); color: #fff; }

/* ===== Đối tác ===== */
.hp-partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.hp-partner { background: #fff; border: 1px solid var(--hp-line); border-radius: 12px; height: 120px; display: grid; place-items: center; padding: 4px; overflow: hidden; }
.hp-partner img { max-width: 100%; max-height: 112px; object-fit: contain; filter: grayscale(.2); transition: filter .2s, transform .2s; }
.hp-partner:hover img { filter: none; transform: scale(1.05); }

/* ===== Giới thiệu ===== */
.hp-about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: stretch; }
.hp-about__copy { background: #fff; border: 1px solid var(--hp-line); border-radius: 16px; padding: 32px; }
.hp-eyebrow { display: inline-block; font-size: 13px; font-weight: 500; color: var(--hp-amber); text-transform: uppercase; letter-spacing: .6px; }
.hp-about__copy h2 { font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--hp-indigo); margin: 8px 0 12px; }
.hp-about__copy p { font-size: 15px; line-height: 1.65; color: #374151; }
.hp-about__copy ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.hp-about__copy li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; }
.hp-about__copy li span { width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; color: var(--hp-green); display: grid; place-items: center; flex: none; }
.hp-about__card { background: linear-gradient(150deg, #2D3682, #3b46a3); color: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.hp-about__card h3 { font-size: 20px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.hp-about__card h3 span { width: 32px; height: 32px; border-radius: 8px; background: var(--hp-amber); color: #1f1300; display: grid; place-items: center; font-size: 22px; }
.hp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; }
.hp-stats div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 16px; }
.hp-stats b { display: block; font-size: 26px; color: var(--hp-amber); }
.hp-stats small { display: block; font-size: 13px; color: rgba(255, 255, 255, .8); margin-top: 4px; }
.hp-about__card .hp-btn { align-self: flex-start; }

/* ===== Tin tức ===== */
.hp-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-news__card { background: #fff; border: 1px solid var(--hp-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.hp-news__card:hover { box-shadow: 0 12px 28px rgba(17, 24, 39, .08); }
.hp-news__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hp-indigo-50); }
.hp-news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hp-news__card:hover .hp-news__img img { transform: scale(1.05); }
.hp-news__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-news__body small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--hp-muted); }
.hp-news__body strong { font-size: 16px; line-height: 1.4; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-news__body > span { font-size: 14px; line-height: 1.55; color: var(--hp-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hp-news__body em { font-style: normal; color: var(--hp-indigo); font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }

/* ===== Chuyển động ===== */
@keyframes hp-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hp-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes hp-shine { 0% { left: -60%; } 60%, 100% { left: 130%; } }
.hp-float--0 { animation: hp-float 4s ease-in-out infinite; }
.hp-float--1 { animation: hp-float 4s ease-in-out 2s infinite; }
.hp-pulse { animation: hp-pulse 2.4s ease-in-out infinite; }
.hp-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: hp-shine 3.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
    .hp *, .hp *::after { animation: none !important; transition: none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
    .hp-grid { grid-template-columns: repeat(4, 1fr); }
    .hp-cg-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-hero { grid-template-columns: 1fr; }
    .hp-hero__side { flex-direction: row; }
    .hp-quick, .hp-hotline { flex: 1; }
}
@media (max-width: 991px) {
    .hp-cg-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-commit { grid-template-columns: repeat(2, 1fr); }
    .hp-partners { grid-template-columns: repeat(3, 1fr); }
    .hp-about { grid-template-columns: 1fr; }
    .hp-news { grid-template-columns: 1fr 1fr; }
    .hp-slide--promo { grid-template-columns: 1fr; padding: 28px 24px 48px; }
    .hp-slide__products { display: none; }
    .hp-hero__dots { left: 24px; }
}
@media (max-width: 767px) {
    .hp { padding-bottom: 90px; }
    .hp-section { padding-top: 28px; }
    .hp-hero { padding-top: 12px; gap: 12px; }
    .hp-hero__main { min-height: 300px; border-radius: 12px; }
    .hp-slide--image { background: var(--hp-indigo); }
    .hp-slide--image img { object-fit: contain; }
    .hp-slide__copy h2 { font-size: 24px; }
    .hp-slide__copy p { font-size: 14px; }
    .hp-slide__cta .hp-btn { height: 40px; padding: 0 14px; font-size: 14px; }
    .hp-slide--promo { padding: 22px 18px 44px; align-content: start; }
    .hp-slide__copy h2 { margin: 12px 0 8px; }
    .hp-slide__cta { margin-top: 16px; }
    .hp-hero__dots { left: 18px; bottom: 16px; gap: 6px; }
    .hp-hero__dots button { width: 22px; }
    .hp-hero__side { flex-direction: row; gap: 10px; }
    .hp-quick { padding: 14px; gap: 8px; }
    .hp-quick__icon, .hp-quick p { display: none; }
    .hp-quick h3 { font-size: 16px; }
    .hp-quick .hp-btn { height: 38px; font-size: 13px; padding: 0 10px; }
    .hp-hotline { padding: 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
    .hp-hotline > span { display: none; }
    .hp-hotline b { font-size: 18px; }
    .hp-hotline small:last-child { display: none; }
    .hp-commit { gap: 8px; margin-top: 12px; }
    .hp-commit__item { padding: 10px; gap: 8px; align-items: flex-start; }
    .hp-commit__item > span { width: 32px; height: 32px; }
    .hp-commit__item strong { font-size: 13px; }
    .hp-commit__item small { display: none; }
    .hp-head { margin-bottom: 14px; }
    .hp-head h2 { font-size: 20px; }
    .hp-head p { font-size: 13px; }
    .hp-head .hp-more { display: none; }
    .hp-cat2 .hp-head { align-items: flex-end; }
    .hp-cg-desk { display: none; }
    .hp-cg-all { display: inline-block; font-size: 13px; font-weight: 500; color: var(--hp-indigo) !important; white-space: nowrap; }
    .hp-cg-grid { display: block; background: #fff; border: 1px solid #E4E8F0; border-radius: 16px; overflow: hidden; }
    .hp-cg-card { min-height: 64px; padding: 10px 36px 10px 12px; gap: 12px; border: 0; border-radius: 0; border-top: 1px solid #E4E8F0; box-shadow: none !important; }
    .hp-cg-card:first-child { border-top: 0; }
    .hp-cg-card:focus-visible { outline-offset: -2px; }
    .hp-cg-icon { width: 44px; height: 44px; border-radius: 12px; }
    .hp-cg-icon svg { width: 30px; height: 30px; }
    .hp-cg-text strong { font-size: 14px; line-height: 18px; }
    .hp-cg-text small { font-size: 12px; line-height: 16px; }
    .hp-cg-card.hp-cg-cta { display: none; }
    .hp-cat2.is-collapsed .hp-cg-extra { display: none; }
    .hp-cg-toggle:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px; margin-top: 16px; border: 1px solid var(--hp-indigo); border-radius: 12px; background: #fff; color: var(--hp-indigo); font-size: 15px; font-weight: 500; }
    .hp-cg-toggle:active { background: var(--hp-indigo-50); }
    .hp-cg-toggle:focus-visible { outline: 2px solid var(--hp-indigo); outline-offset: 2px; }
    .hp-cg-toggle svg { transition: transform 180ms ease; }
    .hp-cg-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
    .hp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hp-card__name { font-size: 13px; min-height: 36px; }
    .hp-tabs { display: flex; overflow-x: auto; }
    .hp-tabs button { flex: none; padding: 8px 14px; }
    .hp-partners { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hp-partner { height: 84px; padding: 2px; }
    .hp-partner img { max-height: 80px; }
    .hp-about__copy, .hp-about__card { padding: 20px; }
    .hp-about__copy ul { grid-template-columns: 1fr; }
    .hp-news { grid-template-columns: 1fr; gap: 12px; }
    .hp-news__card { flex-direction: row; }
    .hp-news__img { width: 112px; flex: none; aspect-ratio: auto; }
    .hp-news__body { padding: 10px 12px; gap: 4px; }
    .hp-news__body strong { font-size: 14px; }
    .hp-news__body > span, .hp-news__body em { display: none; }
}

#hpSale, #hpProducts { scroll-margin-top: 100px; }
@media (max-width: 991px) { #hpSale, #hpProducts, #hpCats { scroll-margin-top: 130px; } }

/* ===== Slide hero HTML (config/hero_slides.php) ===== */
.hp-slide .hp-m { display: none; }
.hp-slide--promo { --hs-ink: #fff; --hs-sub: rgba(255, 255, 255, .85); --hs-chip-bg: var(--hp-amber); --hs-chip-fg: #1f1300; --hs-cta-bg: var(--hp-amber); --hs-cta-fg: #1f1300; }
.hp-slide--promo[class*="hp-theme--"] { background: var(--hs-bg); color: var(--hs-ink); }
.hp-slide--promo[class*="hp-theme--"] .hp-slide__copy p { color: var(--hs-sub); }
.hp-slide--promo[class*="hp-theme--"] .hp-chip { background: var(--hs-chip-bg); color: var(--hs-chip-fg); }
.hp-btn--cta { background: var(--hs-cta-bg, var(--hp-amber)); color: var(--hs-cta-fg, #1f1300) !important; }
.hp-btn--cta:hover { filter: brightness(.94); }
.hp-slide--promo.is-light .hp-btn--white { border-color: #d7dbef; }
.hp-theme--green { --hs-bg: linear-gradient(120deg, #15803D, #22A04B); }
.hp-theme--amber { --hs-bg: linear-gradient(120deg, #F59E0B, #FCC63C); --hs-chip-bg: var(--hp-indigo); --hs-chip-fg: #fff; --hs-cta-bg: var(--hp-indigo); --hs-cta-fg: #fff; }
.hp-theme--mint { --hs-bg: linear-gradient(120deg, #E3F6F3, #BFE9E2); }
.hp-theme--teal { --hs-bg: linear-gradient(120deg, #0F766E, #14A89A); }
.hp-theme--indigo { --hs-bg: linear-gradient(120deg, #2D3682, #3F4BB0); }
.hp-theme--cream { --hs-bg: linear-gradient(120deg, #FFF5E1, #FBDDA8); }
.hp-theme--violet { --hs-bg: linear-gradient(120deg, #3B46A3, #5B67D0); }
.hp-theme--red { --hs-bg: linear-gradient(120deg, #B91C1C, #E03131); }
.hp-theme--lavender { --hs-bg: linear-gradient(120deg, #EEF0FB, #D3D8F4); }
.hp-slide--promo.is-light { --hs-ink: #222866; --hs-sub: #4b5280; --hs-chip-bg: var(--hp-indigo); --hs-chip-fg: #fff; --hs-cta-bg: var(--hp-indigo); --hs-cta-fg: #fff; }
.hp-slide--promo.is-light.hp-theme--cream { --hs-chip-bg: #dc2626; }
.hp-slide__logo { position: absolute; top: 20px; right: 24px; background: #fff; border-radius: 10px; padding: 4px 8px; box-shadow: 0 6px 16px rgba(17, 24, 39, .12); }
.hp-slide__logo img { display: block; height: 36px; width: auto; max-width: 120px; object-fit: contain; }
.hp-deck { display: flex; align-items: flex-start; justify-content: center; gap: 12px; padding-top: 24px; }
.hp-deal { position: relative; flex: 0 1 150px; min-width: 0; background: #fff; border-radius: 16px; padding: 10px; color: var(--hp-ink) !important; box-shadow: 0 16px 36px rgba(17, 24, 39, .22); animation: hp-float 4s ease-in-out infinite; }
.hp-deal:nth-child(2) { margin-top: 28px; animation-delay: 1.3s; }
.hp-deal:nth-child(3) { animation-delay: 2.6s; }
.hp-deal img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.hp-deal em { position: absolute; top: 8px; left: 8px; z-index: 1; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: #D7263D; padding: 2px 8px; border-radius: 6px; }
.hp-deal strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; font-weight: 500; line-height: 1.35; margin-top: 6px; }
.hp-deal small { display: block; font-size: 11px; color: var(--hp-muted); margin-top: 2px; line-height: 1.3; }
.hp-deck--pair { align-items: center; }
.hp-deck--pair .hp-deal { flex-basis: 170px; margin-top: 0; }
.hp-deck--pair .hp-deal em { background: var(--hp-indigo); }
.hp-deck--pair .hp-deal:last-child em { background: #D7263D; }
.hp-deck__gift { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--hp-amber); color: #1f1300; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); animation: hp-wobble 2.4s ease-in-out infinite; }
@keyframes hp-wobble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(0); } }
.hp-hero__main.is-light .hp-hero__dots button { background: rgba(45, 54, 130, .2); }
.hp-hero__main.is-light .hp-hero__dots button i { background: var(--hp-indigo); }
@media (max-width: 1399px) {
    .hp-deck:not(.hp-deck--pair) .hp-deal:nth-child(3) { display: none; }
    .hp-slide--promo[class*="hp-theme--"] .hp-slide__copy h2 { font-size: 30px; }
}
@media (max-width: 991px) {
    .hp-deck { display: none !important; }
    .hp-slide__logo { top: 14px; right: 14px; padding: 3px 6px; }
    .hp-slide__logo img { height: 26px; max-width: 84px; }
}
@media (max-width: 767px) {
    .hp-slide .hp-d { display: none; }
    .hp-slide .hp-m { display: inline; }
    .hp-slide--promo[class*="hp-theme--"] .hp-slide__copy h2 { font-size: 22px; padding-right: 70px; }
    .hp-slide--promo[class*="hp-theme--"] .hp-chip { max-width: calc(100% - 100px); }
}
