/**
 * CSS Chuyên Biệt Cho Trang Lấy Mã Ưu Đãi Halloween - VPS Hữu Bình TM
 * Phong cách Halloween hiện đại, chuyên nghiệp, cảnh nền liền mạch từ Hero đến Footer.
 * Scope 100% dưới .halloween-promo, không dùng emoji, tương phản >= 4.5:1, touch target >= 44px.
 *
 * @package VPSHuuBinhTM
 */

.halloween-promo {
    /* Palette màu chính */
    --hlw-bg-top: #0B0714;
    --hlw-bg-mid: #160A29;
    --hlw-bg-grid: #1B0B33;
    --hlw-bg-deep: #120824;
    --hlw-bg-footer: #080D1A;

    --hlw-orange: #FF7A1A;
    --hlw-orange-hover: #FFA857;
    --hlw-orange-light: #FFB347;
    --hlw-orange-text: #1A0B00;
    --hlw-orange-glow: rgba(255, 122, 26, 0.25);

    --hlw-purple: #7C3AED;
    --hlw-purple-dark: #261047;
    --hlw-purple-border: rgba(124, 58, 237, 0.35);

    /* Typography & Contrast Tokens (>= 4.5:1 trên nền tối) */
    --hlw-text-main: #F5F0E6;
    /* Contrast > 14:1 */
    --hlw-text-sub: #D1C7BD;
    /* Contrast > 9:1 */
    --hlw-text-muted: #A89B8C;
    /* Contrast > 5.8:1 */
    --hlw-text-subtle: #9C8E80;
    /* Contrast > 5.1:1 */

    --hlw-card-bg: rgba(255, 255, 255, 0.04);
    --hlw-card-border: rgba(255, 179, 71, 0.16);
    --hlw-card-hover-border: rgba(255, 179, 71, 0.4);

    --hlw-danger: #EF4444;
    --hlw-warning: #EA580C;
    --hlw-success: #10B981;

    background: linear-gradient(180deg, var(--hlw-bg-top) 0%, var(--hlw-bg-mid) 20%, var(--hlw-bg-grid) 55%, var(--hlw-bg-deep) 85%, var(--hlw-bg-footer) 100%);
    color: var(--hlw-text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: clip;
    min-height: 100vh;
    position: relative;
}

/* Đồng bộ container 1240px */
.halloween-promo .vhb-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ==========================================================================
   0. MẠNG NHỆN GÓC HERO & BIỂU TƯỢNG SVG INLINE
   ========================================================================== */
.hlw-symbol-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    flex-shrink: 0;
}

.hlw-web-decor {
    position: absolute;
    top: 0;
    pointer-events: none;
    z-index: 1;
    color: rgba(255, 255, 255, 0.06);
    width: 120px;
    height: 120px;
}

.hlw-web-decor svg {
    width: 100%;
    height: 100%;
}

.hlw-web-decor--left {
    left: 0;
}

.hlw-web-decor--right {
    right: 0;
    transform: scaleX(-1);
}

/* ==========================================================================
   1. BREADCRUMB
   ========================================================================== */
.hlw-breadcrumb-wrap {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 12px 0;
    position: relative;
    z-index: 4;
}

.hlw-breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
}

.hlw-breadcrumb-item a {
    color: var(--hlw-text-sub);
    text-decoration: none;
    transition: color 0.2s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.hlw-breadcrumb-item a:hover,
.hlw-breadcrumb-item a:focus-visible {
    color: var(--hlw-orange);
}

.hlw-breadcrumb-sep {
    margin: 0 10px;
    color: var(--hlw-text-muted);
}

.hlw-breadcrumb-item.is-active span {
    color: var(--hlw-text-main);
    font-weight: 600;
}

/* ==========================================================================
   3. PHẦN ĐẦU TRANG (HERO SECTION: 2 CỘT DESKTOP, CAO <= 420PX)
   ========================================================================== */
.hlw-hero-section {
    position: relative;
    padding: 24px 0 0;
    overflow: hidden;
    background: radial-gradient(circle at 25% 45%, rgba(255, 122, 26, 0.12) 0%, rgba(124, 58, 237, 0.1) 45%, transparent 70%);
}

.hlw-hero-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 24px;
    align-items: center;
    min-height: 270px;
}

.hlw-hero-col--left {
    position: relative;
    z-index: 3;
}

.hlw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 122, 26, 0.12);
    border: 1px solid rgba(255, 122, 26, 0.35);
    color: var(--hlw-orange-light);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hlw-badge-icon {
    width: 14px;
    height: 14px;
}

.hlw-hero-title {
    font-size: 2.125rem;
    font-weight: 900;
    color: var(--hlw-text-main);
    line-height: 1.15;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.hlw-hero-desc {
    font-size: 0.9375rem;
    color: var(--hlw-text-sub);
    line-height: 1.5;
    margin: 0 0 12px;
    max-width: 520px;
}

.hlw-hero-meta {
    margin-bottom: 16px;
}

.hlw-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #4ADE80;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
}

.hlw-chip__dot {
    width: 7px;
    height: 7px;
    background: #22C55E;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.hlw-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hlw-btn-primary {
    background: linear-gradient(135deg, var(--hlw-orange) 0%, var(--hlw-orange-light) 100%) !important;
    border: none !important;
    color: var(--hlw-orange-text) !important;
    min-height: 44px;
    padding: 10px 20px !important;
    font-weight: 800 !important;
    font-size: 0.875rem !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(255, 122, 26, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
    cursor: pointer;
}

.hlw-btn-primary:hover,
.hlw-btn-primary:focus-visible {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 26, 0.5);
    outline: 2px solid var(--hlw-orange-light);
    outline-offset: 2px;
}

.hlw-btn-primary:active {
    transform: scale(0.98);
}

.hlw-btn-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--hlw-text-main) !important;
    min-height: 44px;
    padding: 10px 18px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.hlw-btn-secondary:hover,
.hlw-btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #FFFFFF !important;
    outline: 2px solid var(--hlw-orange);
    outline-offset: 2px;
}

.hlw-btn-icon {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

/* CỘT PHẢI: KHUNG CẢNH TRĂNG, DƠI & BÍ NGÔ */
.hlw-hero-col--right {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Mặt trăng rằm phát sáng */
.hlw-moon {
    position: absolute;
    top: 5px;
    right: 40px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.hlw-moon__glow {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 230, 138, 0.3) 0%, rgba(255, 122, 26, 0.15) 50%, transparent 75%);
    filter: blur(12px);
    pointer-events: none;
}

.hlw-moon__surface {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #FFFDF5 0%, #FDE68A 55%, #F59E0B 100%);
    box-shadow: 0 0 30px rgba(253, 230, 138, 0.45);
    overflow: hidden;
}

.hlw-crater {
    position: absolute;
    background: rgba(217, 119, 6, 0.22);
    border-radius: 50%;
}

.hlw-crater--1 {
    width: 28px;
    height: 20px;
    top: 35px;
    left: 40px;
}

.hlw-crater--2 {
    width: 18px;
    height: 14px;
    bottom: 38px;
    right: 30px;
}

.hlw-crater--3 {
    width: 14px;
    height: 10px;
    top: 65px;
    left: 25px;
}

/* Đàn dơi 3 cỡ trôi chậm */
.hlw-bat {
    position: absolute;
    color: #0B0714;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
    z-index: 3;
}

.hlw-bat svg {
    width: 100%;
    height: 100%;
}

.hlw-bat--lg {
    width: 48px;
    height: 24px;
    top: 50px;
    right: 145px;
}

.hlw-bat--md {
    width: 32px;
    height: 16px;
    top: 15px;
    right: 75px;
}

.hlw-bat--sm {
    width: 22px;
    height: 11px;
    top: 95px;
    right: 35px;
}

@keyframes hlwBatFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-6px) rotate(3deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.hlw-bat-drift {
    animation: hlwBatFloat 5s ease-in-out infinite;
}

.hlw-bat-delay-1 {
    animation-delay: 1.5s;
}

.hlw-bat-delay-2 {
    animation-delay: 3s;
}

/* Bí ngô Jack-o'-lantern lớn phát sáng nhấp nháy 4-6s */
.hlw-pumpkin {
    position: absolute;
    bottom: 0;
    right: 55px;
    z-index: 4;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6));
}

@keyframes hlwPumpkinGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 6px rgba(255, 179, 71, 0.45));
        opacity: 0.95;
    }

    50% {
        filter: drop-shadow(0 0 16px rgba(255, 122, 26, 0.85)) drop-shadow(0 0 25px rgba(255, 230, 150, 0.6));
        opacity: 1;
    }
}

.hlw-pumpkin-glow .hlw-pumpkin__glow-face {
    animation: hlwPumpkinGlow 4.5s ease-in-out infinite;
}

/* Tắt hiệu ứng khi người dùng bật prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    .hlw-bat-drift,
    .hlw-pumpkin-glow .hlw-pumpkin__glow-face {
        animation: none !important;
        transition: none !important;
    }
}

/* ĐƯỜNG CHÂN TRỜI NGÔI NHÀ MA + CÂY KHÔ CHUYỂN VIỀN */
.hlw-skyline-divider {
    position: relative;
    width: 100%;
    line-height: 0;
    margin-top: 8px;
    color: var(--hlw-bg-grid);
    z-index: 2;
}

.hlw-skyline-divider svg {
    display: block;
    width: 100%;
    height: 42px;
}

/* ==========================================================================
   4. VÙNG LƯỚI 12 THẺ MÃ ƯU ĐÃI (TICKET STYLE)
   ========================================================================== */
.hlw-coupons-section {
    padding: 32px 0 64px;
    position: relative;
    z-index: 3;
}

.hlw-list-header {
    margin-bottom: 28px;
}

.hlw-list-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hlw-text-main);
    margin: 0;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hlw-list-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--hlw-orange);
    border-radius: 9999px;
}

/* Lưới: 3 cột >= 1024px, 2 cột >= 640px, 1 cột < 640px */
.hlw-coupons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Thẻ Vé Voucher Halloween */
.hlw-coupon-card {
    background: var(--hlw-card-bg);
    border: 1px solid var(--hlw-card-border);
    border-radius: 18px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hlw-coupon-card:hover {
    transform: translateY(-4px);
    border-color: var(--hlw-card-hover-border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px var(--hlw-orange-glow);
}

/* Thẻ có huy hiệu "Tiết kiệm nhất" */
.hlw-card--best-deal {
    border-color: rgba(255, 122, 26, 0.45);
    box-shadow: 0 0 16px rgba(255, 122, 26, 0.2);
}

/* PHẦN TRÊN: Nhãn giảm giá & Tags */
.hlw-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    min-height: 38px;
}

.hlw-card__discount {
    font-size: clamp(1.625rem, 2.5vw, 2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--hlw-orange-light) 0%, var(--hlw-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 8px rgba(255, 122, 26, 0.2);
}

.hlw-card__tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Huy hiệu (Badge) */
.hlw-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hlw-badge-accent {
    background: rgba(124, 58, 237, 0.25);
    border: 1px solid rgba(124, 58, 237, 0.5);
    color: #DDD6FE;
}

/* Nhãn trạng thái Sắp hết hạn / Sắp hết lượt */
.hlw-status-pill {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    white-space: nowrap;
}

.hlw-status-pill-danger {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #FCA5A5;
}

.hlw-status-pill-warning {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #FDE68A;
}

/* Tiêu đề ưu đãi (H3) */
.hlw-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--hlw-text-main);
    line-height: 1.4;
    margin: 0 0 8px;
    min-height: 44px;
}

/* Điều kiện áp dụng (tối đa 2 dòng) */
.hlw-card__conditions {
    font-size: 0.8125rem;
    color: var(--hlw-text-sub);
    line-height: 1.5;
    margin: 0 0 8px;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dịch vụ áp dụng */
.hlw-card__applies {
    font-size: 0.8125rem;
    color: var(--hlw-text-sub);
    line-height: 1.4;
    margin: 0 0 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hlw-card__applies-label {
    color: var(--hlw-text-muted);
    font-weight: 600;
    margin-right: 4px;
}

.hlw-card__applies-val {
    color: var(--hlw-text-main);
    font-weight: 700;
}

/* ĐƯỜNG XÉ VÉ VỚI VẾT CẮT BÁN NGUYỆT 2 BÊN */
.hlw-card__tear-line {
    position: relative;
    height: 18px;
    margin: 0 -20px 14px;
    display: flex;
    align-items: center;
}

.hlw-card__dashed-divider {
    width: 100%;
    height: 1px;
    border-top: 1.5px dashed rgba(255, 179, 71, 0.22);
}

.hlw-card__notch {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--hlw-bg-grid);
    border: 1px solid var(--hlw-card-border);
    top: 0;
    z-index: 2;
}

.hlw-card__notch--left {
    left: -10px;
    border-left-color: transparent;
}

.hlw-card__notch--right {
    right: -10px;
    border-right-color: transparent;
}

/* PHẦN DƯỚI: MÃ ƯU ĐÃI (TRÊN) + NÚT SAO CHÉP (DƯỚI) - CHUẨN THƯƠNG MẠI ĐIỆN TỬ */
.hlw-card__action-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 14px;
    width: 100%;
}

.hlw-card__code-box {
    width: 100%;
    min-height: 42px;
    border: 1.5px dashed rgba(255, 179, 71, 0.45);
    background: rgba(11, 7, 20, 0.65);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    user-select: all;
}

.hlw-card__code-box:hover {
    border-color: rgba(255, 179, 71, 0.9);
    background: rgba(255, 122, 26, 0.12);
}

.hlw-card__code-box:focus-visible {
    outline: 2px solid var(--hlw-orange-light);
    outline-offset: 2px;
}

.hlw-card__code-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--hlw-orange-light);
    letter-spacing: 1.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 122, 26, 0.25);
}

.hlw-card__copy-btn {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, var(--hlw-orange) 0%, var(--hlw-orange-light) 100%) !important;
    border: none !important;
    color: var(--hlw-orange-text) !important;
    font-size: 0.875rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
    padding: 0 16px !important;
    border-radius: 8px !important;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(255, 122, 26, 0.25) !important;
    box-sizing: border-box !important;
}

.hlw-card__copy-btn:hover:not(:disabled),
.hlw-card__copy-btn:focus-visible:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 122, 26, 0.35) !important;
    outline: none !important;
}

.hlw-card__copy-btn:active:not(:disabled) {
    transform: scale(0.98);
}

.hlw-card__copy-btn.is-copied,
.hlw-card__copy-btn.is-copied-locked {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
    cursor: not-allowed !important;
    opacity: 0.95;
    transform: none !important;
    filter: none !important;
}

.hlw-coupon-card.is-copied-locked .hlw-card__code-box {
    border-color: rgba(16, 185, 129, 0.5) !important;
    background: rgba(16, 185, 129, 0.08) !important;
    cursor: not-allowed !important;
}

.hlw-copy-btn__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Lượt sử dụng & Thanh tiến độ mỏng */
.hlw-card__quota {
    margin-bottom: 12px;
}

.hlw-card__quota-meta {
    font-size: 0.75rem;
    color: var(--hlw-text-muted);
    margin-bottom: 6px;
}

.hlw-card__quota-meta strong {
    color: var(--hlw-text-main);
}

.hlw-card__progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
}

.hlw-card__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--hlw-orange) 0%, var(--hlw-orange-light) 100%);
    border-radius: 9999px;
    transition: width 0.4s ease;
}

.hlw-card__progress-bar.is-urgent {
    background: linear-gradient(90deg, #DC2626 0%, #EF4444 100%);
}

/* Hạn sử dụng (HSD) */
.hlw-card__expiry {
    margin-top: auto;
    font-size: 0.75rem;
    color: var(--hlw-text-subtle);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hlw-card__expiry-date {
    font-weight: 600;
    color: var(--hlw-text-sub);
}

.hlw-card__expiry-left {
    color: var(--hlw-orange-light);
    font-weight: 600;
}

/* Trạng thái Thẻ Vô Hiệu (Hết lượt / Hết hạn) */
.hlw-coupon-card.is-disabled {
    opacity: 0.52;
    filter: grayscale(45%);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

.hlw-coupon-card.is-disabled .hlw-card__discount {
    background: none;
    -webkit-text-fill-color: #8C8074;
    color: #8C8074;
    text-shadow: none;
}

.hlw-coupon-card.is-disabled .hlw-card__code-box {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    cursor: not-allowed !important;
}

.hlw-coupon-card.is-disabled .hlw-card__code-text {
    color: #8C8074 !important;
    text-decoration: line-through;
    text-shadow: none !important;
}

.hlw-coupon-card.is-disabled .hlw-card__copy-btn {
    background: #3B2E4A !important;
    color: #9A8CA7 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    box-shadow: none !important;
    filter: none !important;
}

.hlw-coupon-card.is-expired .hlw-card__expiry-left {
    color: #F87171;
}

/* Dòng Chú Thích Nhỏ Dưới Lưới */
.hlw-list-footer-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--hlw-text-muted);
    line-height: 1.6;
    margin: 40px auto 0;
    max-width: 760px;
}

/* Mép cuối vùng nội dung chuyển mềm sang footer chung */
.hlw-footer-blend {
    position: relative;
    width: 100%;
    line-height: 0;
    margin-top: 48px;
    color: var(--hlw-bg-footer);
    pointer-events: none;
}

.hlw-footer-blend svg {
    display: block;
    width: 100%;
    height: 48px;
}

/* ==========================================================================
   5. TOAST THÔNG BÁO SAO CHÉP MÃ
   ========================================================================== */
.hlw-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.hlw-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hlw-toast__inner {
    background: #1F0D3D;
    color: var(--hlw-text-main);
    border: 1px solid rgba(255, 179, 71, 0.35);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    font-size: 0.875rem;
}

.hlw-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--hlw-success);
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 11px;
}

.hlw-toast__msg strong {
    color: var(--hlw-orange-light);
}

.hlw-toast__sep {
    color: var(--hlw-text-muted);
}

.hlw-toast__link {
    color: #FDE68A;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
}

.hlw-toast__link:hover,
.hlw-toast__link:focus-visible {
    color: #FFFFFF;
}

.hlw-toast__close {
    background: transparent;
    border: none;
    color: var(--hlw-text-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 0 0 6px;
    transition: color 0.2s ease;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hlw-toast__close:hover,
.hlw-toast__close:focus-visible {
    color: #FFFFFF;
}

/* Trợ năng (Screen Reader Only) */
.hlw-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   6. RESPONSIVE (1024px, 768px, 640px, 375px)
   ========================================================================== */
@media (max-width: 1024px) {
    .hlw-coupons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hlw-hero-title {
        font-size: 2.125rem;
    }
}

@media (max-width: 768px) {
    .hlw-hero-section {
        padding: 32px 0 0;
    }

    .hlw-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }

    .hlw-hero-col--right {
        height: 200px;
    }

    .hlw-moon {
        width: 130px;
        height: 130px;
        right: calc(50% - 65px);
        top: 10px;
    }

    .hlw-pumpkin {
        right: calc(50% - 70px);
    }

    .hlw-bat--lg {
        right: calc(50% + 50px);
    }

    .hlw-bat--md {
        right: calc(50% - 60px);
    }

    .hlw-bat--sm {
        right: calc(50% + 30px);
    }

    .hlw-coupons-section {
        padding: 24px 0 48px;
    }

    .hlw-toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .hlw-toast__inner {
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .halloween-promo .vhb-container {
        padding: 0 16px;
    }

    .hlw-coupons-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hlw-hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hlw-hero-actions .vhb-btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile: Thẻ vé gọn gàng, cao <= 240px, nút Sao chép full-width */
    .hlw-coupon-card {
        padding: 10px 12px;
        border-radius: 12px;
    }

    .hlw-card__top {
        margin-bottom: 2px;
        min-height: 26px;
    }

    .hlw-card__discount {
        font-size: 1.375rem;
    }

    .hlw-badge,
    .hlw-status-pill {
        font-size: 0.625rem;
        padding: 2px 6px;
    }

    .hlw-card__title {
        font-size: 0.875rem;
        min-height: auto;
        margin-bottom: 2px;
        line-height: 1.25;
    }

    .hlw-card__conditions {
        font-size: 0.6875rem;
        min-height: auto;
        margin-bottom: 2px;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        line-height: 1.3;
    }

    .hlw-card__applies {
        font-size: 0.6875rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .hlw-card__tear-line {
        height: 10px;
        margin: 0 -12px 6px;
    }

    .hlw-card__notch {
        width: 12px;
        height: 12px;
        background-color: var(--hlw-bg-mid);
    }

    .hlw-card__notch--left {
        left: -6px;
    }

    .hlw-card__notch--right {
        right: -6px;
    }

    .hlw-card__action-row {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 6px;
    }

    .hlw-card__code-box {
        width: 100%;
        min-height: 30px;
        padding: 4px 6px;
    }

    .hlw-card__code-text {
        font-size: 0.75rem;
    }

    .hlw-card__copy-btn {
        width: 100%;
        min-height: 44px;
        padding: 8px 12px !important;
        font-size: 0.8125rem !important;
    }

    .hlw-card__quota {
        margin-bottom: 4px;
    }

    .hlw-card__quota-meta {
        font-size: 0.625rem;
        margin-bottom: 2px;
    }

    .hlw-card__progress {
        height: 3px;
    }

    .hlw-card__expiry {
        font-size: 0.625rem;
        margin-top: 2px;
    }
}

@media (max-width: 375px) {
    .hlw-card__code-text {
        font-size: 0.75rem;
    }

    .hlw-card__discount {
        font-size: 1.4375rem;
    }
}