/* ====================================================================
   Hitech Promotions - Independent layout & design system
   Prefix: .hprom  (không xung đột với theme)
   ==================================================================== */

.hprom,
.hprom * {
    box-sizing: border-box;
}

.hprom {
    --hprom-primary:        #1363df;
    --hprom-primary-dark:   #0b46a0;
    --hprom-primary-soft:   #e8f1ff;
    --hprom-accent:         #ff6a3d;
    --hprom-accent-dark:    #e25329;
    --hprom-hot:            #e23b3b;
    --hprom-text:           #1a2236;
    --hprom-muted:          #667085;
    --hprom-border:         #e4e7ec;
    --hprom-surface:        #ffffff;
    --hprom-soft:           #f6f8fc;
    --hprom-radius:         14px;
    --hprom-radius-sm:      8px;
    --hprom-shadow:         0 12px 32px rgba(20, 42, 86, 0.08);
    --hprom-shadow-hover:   0 18px 44px rgba(20, 42, 86, 0.14);
    --hprom-font:           inherit;
    color: var(--hprom-text);
    font-family: var(--hprom-font);
    line-height: 1.55;
}

.hprom a { color: var(--hprom-primary); text-decoration: none; }
.hprom a:hover,
.hprom a:focus { color: var(--hprom-primary-dark); }

/* =====================================================
   Archive / Single Page shell
   ===================================================== */
.hprom-archive-page,
.hprom-single-page {
    background: var(--hprom-soft);
    padding: 32px 0 64px;
}

.hprom-archive-container,
.hprom-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.hprom-archive-banner,
.hprom-single-banner {
    margin-bottom: 28px;
    border-radius: var(--hprom-radius);
    overflow: hidden;
    box-shadow: var(--hprom-shadow);
}
.hprom-archive-banner img,
.hprom-single-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
}

/* =====================================================
   Section header
   ===================================================== */
.hprom-section {
    margin-bottom: 36px;
}
.hprom-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--hprom-primary-soft);
}
.hprom-section__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--hprom-primary-dark);
    margin: 0;
    position: relative;
    padding-left: 14px;
}
.hprom-section__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 2px;
    background: var(--hprom-primary);
}
.hprom-section__sub {
    font-size: 14px;
    color: var(--hprom-muted);
}

/* =====================================================
   Filter
   ===================================================== */
.hprom-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}
.hprom-filter__btn {
    appearance: none;
    border: 1px solid var(--hprom-border);
    background: var(--hprom-surface);
    color: var(--hprom-text);
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.hprom-filter__btn:hover {
    border-color: var(--hprom-primary);
    color: var(--hprom-primary);
}
.hprom-filter__btn.is-active {
    background: var(--hprom-primary);
    color: #fff;
    border-color: var(--hprom-primary);
    box-shadow: 0 6px 16px rgba(19, 99, 223, 0.3);
}

/* =====================================================
   Grid
   ===================================================== */
.hprom-grid {
    display: grid;
    gap: 24px;
}
.hprom-grid--featured,
.hprom-grid--list {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
    .hprom-grid--featured,
    .hprom-grid--list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .hprom-grid--featured,
    .hprom-grid--list { grid-template-columns: 1fr; }
}

/* =====================================================
   Card
   ===================================================== */
.hprom-card {
    display: flex;
    flex-direction: column;
    background: var(--hprom-surface);
    border: 1px solid var(--hprom-border);
    border-radius: var(--hprom-radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    height: 100%;
}
.hprom-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hprom-shadow-hover);
    border-color: var(--hprom-primary-soft);
}

.hprom-card--featured {
    border-top: 3px solid var(--hprom-primary);
}

.hprom-card--hot::after {
    content: "🔥";
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.hprom-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #d7e4ff 0%, #f0f5ff 100%);
}
.hprom-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hprom-card:hover .hprom-card__media img {
    transform: scale(1.04);
}
.hprom-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hprom-primary);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 2px;
}
.hprom-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--hprom-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.hprom-card__badge--hot {
    background: var(--hprom-hot);
    right: 12px;
    left: auto;
}

.hprom-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.hprom-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--hprom-muted);
}
.hprom-card__cat {
    background: var(--hprom-primary-soft);
    color: var(--hprom-primary);
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
}
.hprom-card__dates {
    color: var(--hprom-muted);
    font-size: 12px;
}

.hprom-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hprom-text);
}
.hprom-card__title a {
    color: inherit;
}
.hprom-card__title a:hover {
    color: var(--hprom-primary);
}

.hprom-card__pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0;
}
.hprom-card__value {
    background: linear-gradient(135deg, var(--hprom-accent) 0%, var(--hprom-accent-dark) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    padding: 6px 14px;
    border-radius: 8px;
}
.hprom-card__code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hprom-soft);
    border: 1px dashed var(--hprom-primary);
    color: var(--hprom-text);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 13px;
}
.hprom-card__code-label {
    color: var(--hprom-muted);
    font-size: 12px;
}
.hprom-card__code code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--hprom-primary-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
}
.hprom-card__copy {
    appearance: none;
    border: none;
    background: var(--hprom-primary);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}
.hprom-card__copy:hover { background: var(--hprom-primary-dark); }
.hprom-card__copy.is-copied { background: #16a34a; }

.hprom-card__desc {
    margin: 0;
    color: var(--hprom-muted);
    font-size: 14px;
    line-height: 1.6;
}

.hprom-card__highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hprom-card__highlights li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
}
.hprom-card__highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hprom-primary);
    font-weight: 800;
}

/* Countdown */
.hprom-card__countdown {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 6px 0 0;
}
.hprom-card__countdown-label {
    font-size: 12px;
    color: var(--hprom-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.hprom-cd {
    display: inline-flex;
    gap: 6px;
}
.hprom-cd__item {
    background: var(--hprom-primary-dark);
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    min-width: 44px;
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.hprom-cd__item b {
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.hprom-cd__item em {
    font-size: 10px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}
.hprom-card__countdown.is-expired .hprom-cd {
    background: var(--hprom-muted);
    padding: 6px 10px;
    border-radius: 6px;
    color: #fff;
}
.hprom-card__countdown.is-expired .hprom-cd__item {
    background: transparent;
    padding: 0;
    min-width: 0;
}
.hprom-card__countdown.is-expired::after {
    content: "Đã kết thúc";
    color: var(--hprom-hot);
    font-weight: 700;
    font-size: 13px;
}

/* Actions — hidden by design (single view blocked) */
.hprom-card__actions,
.hprom-single__actions {
    display: none !important;
}

.hprom-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}
.hprom-button--primary {
    background: var(--hprom-primary);
    color: #fff !important;
    border-color: var(--hprom-primary);
}
.hprom-button--primary:hover,
.hprom-button--primary:focus {
    background: var(--hprom-primary-dark);
    border-color: var(--hprom-primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
}
.hprom-button--ghost {
    background: transparent;
    color: var(--hprom-primary) !important;
    border-color: var(--hprom-primary);
}
.hprom-button--ghost:hover,
.hprom-button--ghost:focus {
    background: var(--hprom-primary-soft);
    color: var(--hprom-primary-dark) !important;
    border-color: var(--hprom-primary-dark);
}

/* Empty state */
.hprom-empty {
    background: var(--hprom-surface);
    border: 1px dashed var(--hprom-border);
    border-radius: var(--hprom-radius);
    padding: 32px 16px;
    text-align: center;
    color: var(--hprom-muted);
    font-size: 15px;
}

/* =====================================================
   Pagination
   ===================================================== */
.hprom-pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}
.hprom-pagination .page-numbers {
    list-style: none;
    display: inline-flex;
    gap: 6px;
    padding: 0;
    margin: 0;
}
.hprom-pagination .page-numbers li {
    margin: 0;
}
.hprom-pagination .page-numbers a,
.hprom-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--hprom-border);
    background: var(--hprom-surface);
    color: var(--hprom-text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.hprom-pagination .page-numbers a:hover {
    border-color: var(--hprom-primary);
    color: var(--hprom-primary);
}
.hprom-pagination .page-numbers .current {
    background: var(--hprom-primary);
    color: #fff;
    border-color: var(--hprom-primary);
}

/* =====================================================
   Single page
   ===================================================== */
.hprom-single__header {
    background: var(--hprom-surface);
    border-radius: var(--hprom-radius);
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: var(--hprom-shadow);
}
.hprom-single__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.hprom-single__cats a {
    background: var(--hprom-primary-soft);
    color: var(--hprom-primary);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.hprom-single__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--hprom-primary-dark);
    margin: 0 0 8px;
    line-height: 1.3;
}
.hprom-single__date {
    color: var(--hprom-muted);
    font-size: 14px;
}
.hprom-single__pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.hprom-single__value {
    background: linear-gradient(135deg, var(--hprom-accent) 0%, var(--hprom-accent-dark) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    padding: 8px 18px;
    border-radius: 8px;
}
.hprom-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 28px;
    background: var(--hprom-surface);
    border-radius: var(--hprom-radius);
    padding: 28px;
    box-shadow: var(--hprom-shadow);
}
.hprom-single__media {
    position: relative;
    margin: 0;
    border-radius: var(--hprom-radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #d7e4ff 0%, #f0f5ff 100%);
}
.hprom-single__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hprom-single__media .hprom-card__badge {
    top: 12px;
    left: 12px;
    right: auto;
}
.hprom-single__main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.hprom-single__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--hprom-text);
    background: var(--hprom-primary-soft);
    border-left: 4px solid var(--hprom-primary);
    padding: 12px 16px;
    border-radius: 0 var(--hprom-radius-sm) var(--hprom-radius-sm) 0;
}
.hprom-single__highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hprom-single__highlights li {
    position: relative;
    padding: 8px 12px 8px 36px;
    background: var(--hprom-soft);
    border-radius: var(--hprom-radius-sm);
    font-size: 15px;
    line-height: 1.5;
}
.hprom-single__highlights li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--hprom-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}
.hprom-single__content {
    line-height: 1.75;
    font-size: 16px;
    color: var(--hprom-text);
}
.hprom-single__content h2,
.hprom-single__content h3 {
    color: var(--hprom-primary-dark);
    margin-top: 1.2em;
}
.hprom-single__content p { margin: 0 0 1em; }
.hprom-single__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--hprom-border);
}
.hprom-single__back {
    margin-top: 24px;
    text-align: center;
}

@media (max-width: 860px) {
    .hprom-single__layout {
        grid-template-columns: 1fr;
    }
    .hprom-single__media {
        aspect-ratio: 16 / 9;
    }
}

/* =====================================================
   Featured block (used by shortcode)
   ===================================================== */
.hprom-featured .hprom-section__header {
    display: none;
}

/* =====================================================
   Responsive card variants
   ===================================================== */
.hprom-card--featured .hprom-card__body {
    padding: 16px 18px 18px;
}
.hprom-card--featured .hprom-card__title {
    font-size: 16px;
}
.hprom-card--featured .hprom-card__desc {
    display: none;
}

.hprom-card--detail {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}
.hprom-card--detail:hover {
    transform: none;
}
.hprom-card--detail .hprom-card__media {
    flex: 0 0 280px;
    aspect-ratio: 4 / 3;
    border-radius: var(--hprom-radius-sm);
    max-height: 220px;
}
.hprom-card--detail .hprom-card__body {
    padding: 0;
    flex: 1;
    min-width: 0;
}
@media (max-width: 640px) {
    .hprom-card--detail {
        flex-direction: column;
    }
    .hprom-card--detail .hprom-card__media {
        flex: 0 0 auto;
        width: 100%;
        max-height: none;
    }
}

/* =====================================================
   Zhost-inspired archive refresh
   ===================================================== */
.hprom {
    --hprom-primary: #e03127;
    --hprom-primary-dark: #b91f18;
    --hprom-primary-soft: #fff0f0;
    --hprom-accent: #e03127;
    --hprom-accent-dark: #b91f18;
    --hprom-hot: #e03127;
    --hprom-text: #3a3a3c;
    --hprom-muted: #5b5b5b;
    --hprom-border: #fbe5e5;
    --hprom-surface: #ffffff;
    --hprom-soft: #fff7f7;
    --hprom-radius: 10px;
    --hprom-radius-sm: 8px;
    --hprom-shadow: none;
    --hprom-shadow-hover: 0 10px 24px rgba(224, 49, 39, 0.12);
    color: var(--hprom-text);
}

.hprom-archive-page {
    background: #ffffff;
    padding: 0 0 72px;
}

.hprom-archive-container {
    max-width: 1200px;
    padding: 0 16px;
}

.hprom-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 0;
    align-items: stretch;
    width: 100vw;
    margin: 28px calc(50% - 50vw) 54px;
    border-radius: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 77% 18%, rgba(255,255,255,0.2) 0 90px, transparent 92px),
        linear-gradient(135deg, #0d4c9a 0%, #123a79 54%, #e03127 100%);
    box-shadow: 0 18px 40px rgba(18,58,121,0.08);
}

.hprom-hero__content {
    min-height: 325px;
    padding: 70px 42px 48px;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hprom-hero__content::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -54px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    border: 32px solid rgba(255,255,255,0.12);
}

.hprom-hero__eyebrow {
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.92;
    margin-bottom: 10px;
}

.hprom-hero__title {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: none;
}

.hprom-hero__nav {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    width: fit-content;
    max-width: 100%;
    padding: 16px 24px;
    border-radius: 999px;
    background: #faf6f8;
    box-shadow: 0 12px 24px rgba(18, 58, 121, 0.08);
}

.hprom-hero__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    color: #4d4d4f !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.hprom-hero__nav-link:hover,
.hprom-hero__nav-link:focus,
.hprom-hero__nav-link.is-active {
    background: transparent;
    color: #e03127 !important;
    transform: none;
}

.hprom-hero__banner {
    border-radius: 0;
    overflow: visible;
    min-height: 325px;
    padding: 25px 46px 25px 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hprom-hero__banner img {
    display: block;
    width: min(100%, 420px);
    height: auto;
    max-height: 290px;
    min-height: 0;
    object-fit: contain;
}

.hprom-hero__art {
    height: 100%;
    min-height: 260px;
    padding: 34px;
    background:
        radial-gradient(circle at 80% 18%, rgba(255,255,255,0.86) 0 68px, transparent 70px),
        radial-gradient(circle at 12% 84%, rgba(224,49,39,0.16) 0 78px, transparent 80px),
        linear-gradient(135deg, #fff7f7 0%, #fff0f0 48%, #fde1df 100%);
    color: #3a3a3c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hprom-hero__art-kicker {
    color: #e03127;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.hprom-hero__art strong {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.hprom-hero__art-badge {
    position: absolute;
    right: 28px;
    bottom: 28px;
    display: inline-flex;
    width: 92px;
    height: 92px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e03127;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    transform: rotate(-10deg);
    box-shadow: 0 14px 26px rgba(224,49,39,0.25);
}

.hprom-list {
    width: 100%;
}

.hprom-section {
    margin-bottom: 56px;
}

.hprom-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 0;
    border: 0;
    text-align: center;
}

.hprom-section__kicker {
    display: block;
    margin-bottom: 4px;
    color: #e03127;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hprom-section__title {
    margin: 0;
    padding: 0;
    color: #3a3a3c;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 800;
}

.hprom-section__title::before {
    content: none;
}

.hprom-section__sub {
    display: block;
    color: #5b5b5b;
    font-size: 15px;
}

.hprom-filter {
    justify-content: center;
    gap: 10px;
    margin: -10px 0 30px;
}

.hprom-filter__btn {
    border: 1px solid #f2cccc;
    background: #ffffff;
    color: #3a3a3c;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
}

.hprom-filter__btn:hover,
.hprom-filter__btn:focus {
    border-color: #e03127;
    color: #e03127;
}

.hprom-filter__btn.is-active {
    background: #e03127;
    border-color: #e03127;
    color: #ffffff;
    box-shadow: none;
}

.hprom-grid {
    gap: 32px 30px;
}

.hprom-grid--featured,
.hprom-grid--list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hprom-grid__item {
    min-width: 0;
}

.hprom-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff0f0;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    overflow: hidden;
    color: #3a3a3c;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.hprom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(224, 49, 39, 0.12);
    border-color: transparent;
}

.hprom-card--featured {
    border-top: 0;
}

.hprom-card--hot::after {
    content: none;
}

.hprom-card__media {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: #fbe5e5;
    border-radius: 0;
    color: inherit;
}

.hprom-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hprom-card:hover .hprom-card__media img {
    transform: scale(1.02);
}

.hprom-card__placeholder {
    color: #e03127;
    font-size: 48px;
    letter-spacing: 0.08em;
}

.hprom-card__badge {
    top: 12px;
    left: 12px;
    background: #e03127;
    color: #ffffff;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: none;
}

.hprom-card__badge--hot {
    left: 12px;
    right: auto;
}

.hprom-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1 1 auto;
}

.hprom-card--featured .hprom-card__body {
    padding: 20px;
}

.hprom-card__meta {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.hprom-card__cat {
    background: rgba(224, 49, 39, 0.1);
    color: #e03127;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hprom-card__title {
    margin: 0;
    color: #3a3a3c;
    font-size: 16.6px;
    line-height: 1.3;
    font-weight: 800;
}

.hprom-card--featured .hprom-card__title {
    font-size: 16.6px;
}

.hprom-card__title a {
    color: inherit !important;
    text-decoration: none !important;
}

.hprom-card__title a:hover,
.hprom-card__title a:focus {
    color: #e03127 !important;
}

.hprom-card__desc {
    margin: 8px 0 0;
    color: #5b5b5b;
    font-size: 16px;
    line-height: 1.56;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hprom-card--featured .hprom-card__desc {
    display: -webkit-box;
}

.hprom-card__pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0 0;
}

.hprom-card__value {
    background: #e03127;
    color: #ffffff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    box-shadow: none;
}

.hprom-card__code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    background: #ffffff;
    border: 1px dashed #e03127;
    border-radius: 999px;
    padding: 5px 6px 5px 10px;
    color: #3a3a3c;
    font-size: 12px;
}

.hprom-card__code-label {
    color: #5b5b5b;
    font-size: 12px;
}

.hprom-card__code code {
    color: #b91f18;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.hprom-card__copy {
    background: #e03127;
    border: 0;
    color: #ffffff;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.hprom-card__copy:hover,
.hprom-card__copy:focus {
    background: #b91f18;
}

.hprom-card__copy.is-copied {
    background: #16a34a;
}

.hprom-card__countdown {
    display: block;
    margin: 12px 0 0;
}

.hprom-card__countdown-label {
    display: none;
}

.hprom-cd {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    background: #ffffff;
    border: 4px solid #fbe5e5;
    border-radius: 4px;
    padding: 4px;
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.10);
}

.hprom-cd__item {
    min-width: 0;
    background: transparent;
    color: #5b5b5b;
    border-radius: 0;
    padding: 0 2px;
    text-align: center;
    line-height: 1.1;
}

.hprom-cd__item b {
    display: block;
    color: #5b5b5b;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 800;
}

.hprom-cd__item em {
    display: block;
    color: #5b5b5b;
    font-size: 15px;
    line-height: 1.6;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
}

.hprom-card__countdown.is-expired .hprom-cd {
    background: #ffffff;
    color: #5b5b5b;
    padding: 4px;
    border-radius: 4px;
}

.hprom-card__countdown.is-expired .hprom-cd__item {
    background: transparent;
    padding: 0 2px;
    min-width: 0;
}

.hprom-card__countdown.is-expired::after {
    display: block;
    content: "Đã kết thúc";
    margin-top: 8px;
    color: #e03127;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.hprom-card__dates {
    display: block;
    margin-top: 10px;
    color: #777777;
    font-size: 12px;
    line-height: 1.45;
}

.hprom-empty {
    background: #fff0f0;
    border: 1px dashed #f2cccc;
    border-radius: 10px;
    color: #5b5b5b;
}

.hprom-pagination {
    margin-top: 34px;
}

.hprom-pagination .page-numbers {
    gap: 8px;
}

.hprom-pagination .page-numbers a,
.hprom-pagination .page-numbers span {
    min-width: 38px;
    height: 38px;
    border-color: #f2cccc;
    border-radius: 999px;
    color: #3a3a3c;
    background: #ffffff;
}

.hprom-pagination .page-numbers a:hover,
.hprom-pagination .page-numbers a:focus {
    border-color: #e03127;
    color: #e03127;
}

.hprom-pagination .page-numbers .current {
    background: #e03127;
    border-color: #e03127;
    color: #ffffff;
}

.hprom-featured .hprom-grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hprom-card--detail {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    overflow: visible;
}

.hprom-card--detail:hover {
    transform: none;
    box-shadow: none;
}

.hprom-card--detail .hprom-card__media {
    flex: 0 0 280px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    max-height: 220px;
}

.hprom-card--detail .hprom-card__body {
    padding: 0;
    flex: 1;
    min-width: 0;
}

.hprom-card--detail .hprom-card__desc {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

@media (max-width: 960px) {
    .hprom-hero {
        grid-template-columns: 1fr;
    }

    .hprom-grid--featured,
    .hprom-grid--list,
    .hprom-featured .hprom-grid--featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hprom-archive-page {
        padding-bottom: 48px;
    }

    .hprom-archive-container {
        padding: 0 14px;
    }

    .hprom-hero {
        gap: 0;
        margin: 18px calc(50% - 50vw) 42px;
    }

    .hprom-hero__content,
    .hprom-hero__banner,
    .hprom-hero__banner img,
    .hprom-hero__art {
        min-height: 220px;
    }

    .hprom-hero__content,
    .hprom-hero__art {
        padding: 26px 22px;
    }

    .hprom-hero__banner {
        padding: 22px;
    }

    .hprom-hero__banner img {
        max-height: 240px;
    }

    .hprom-hero__title,
    .hprom-section__title {
        font-size: 28px;
    }

    .hprom-hero__nav-link {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 13px;
    }

    .hprom-hero__art-badge {
        width: 74px;
        height: 74px;
        right: 18px;
        bottom: 18px;
        font-size: 11px;
    }

    .hprom-section {
        margin-bottom: 42px;
    }

    .hprom-section__header {
        margin-bottom: 22px;
    }

    .hprom-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .hprom-filter__btn {
        flex: 0 0 auto;
    }

    .hprom-grid,
    .hprom-grid--featured,
    .hprom-grid--list,
    .hprom-featured .hprom-grid--featured {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hprom-card__body {
        padding: 18px;
    }

    .hprom-card__desc {
        -webkit-line-clamp: 5;
    }

    .hprom-cd__item b {
        font-size: 17px;
    }

    .hprom-cd__item em {
        font-size: 13px;
    }

    .hprom-card--detail {
        flex-direction: column;
    }

    .hprom-card--detail .hprom-card__media {
        flex: 0 0 auto;
        width: 100%;
        max-height: none;
    }
}
