/* ==========================================
   COMPONENT: PREMIUM CAR CARD (Thẻ xe)
   ========================================== */
.premium-car-card { background: #fff; border: 1px solid #f1f5f9; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275); }
.premium-car-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: #e2e8f0; }
.premium-car-card .img-wrapper { display: block; overflow: hidden; border-bottom: 1px solid #f1f5f9; }
.premium-car-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; margin: 0; padding: 0; transition: transform 0.6s ease; }
.premium-car-card:hover img { transform: scale(1.06); }
.premium-car-card .card-body { padding: 15px 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; text-align: center; }
.premium-car-card h3 { margin: 0 0 8px 0; font-size: 19px; line-height: 1.4; }
.premium-car-card h3 a { color: #0f172a; text-decoration: none; font-weight: 800; transition: color 0.2s; }
.premium-car-card h3 a:hover { color: var(--accent); }
.premium-car-card .price-row { margin-bottom: 5px; padding-bottom: 10px; border-bottom: 1px dashed #e2e8f0; }
.premium-car-card .price-label { color: #64748b; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.premium-car-card .price-value { color: #dc2626; font-weight: 900; font-size: 20px; /* display: block; */ margin-top: 5px; }

/* Nút Ghost Button */
.premium-car-card .btn-detail { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: transparent; color: var(--accent); text-decoration: none; padding: 12px 15px; font-weight: 900; font-size: 15px; text-transform: uppercase; transition: all 0.3s ease; width: 100%; box-sizing: border-box; }
.premium-car-card .btn-detail:hover { color: #dc2626; }
.premium-car-card .btn-detail svg.arrow-icon { transition: transform 0.3s ease; opacity: 0; transform: translateX(-10px); width: 0; }
.premium-car-card .btn-detail:hover svg.arrow-icon { opacity: 1; transform: translateX(0); width: 20px; }


/* ==========================================
   COMPONENT: SMART PROMO GRID (Bảng Khuyến Mãi VIP)
   ========================================== */
.smart-promo-wrapper { 
    max-width: 1000px; 
    margin: 5px auto;
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* Đổ bóng 3D sâu hơn */
    position: relative; 
    overflow: hidden;
    border: none; /* Bỏ viền đứt nét phèn */
    z-index: 10; /* Ép nổi lên trên Hero Banner */
}

.smart-promo-header { 
    text-align: center; 
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); /* Nền gradient Xanh Đen sang trọng */
    padding: 25px 20px; 
    border-bottom: 4px solid #bd7400; /* Điểm nhấn viền đỏ thể thao */
}

.smart-promo-header h2 { 
    font-size: 22px; 
    font-weight: 900; 
    color: #fff; /* Chữ trắng nổi bật */
    text-transform: uppercase; 
    margin: 0 0 8px 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.smart-promo-header p { 
    font-size: 15px; 
    color: #94a3b8; 
    font-weight: 500; 
    margin: 0; 
}

.promo-list { 
    display: flex; 
    flex-direction: column; 
    padding: 10px 30px 25px 30px; 
}

.promo-item { 
    display: flex; 
    align-items: center; 
    padding: 10px 0; 
    border-bottom: 1px dashed #cbd5e1; /* Đường kẻ đứt xám nhạt thanh lịch */
    transition: 0.3s; 
}

.promo-item:last-child {
    border-bottom: none; /* Bỏ đường kẻ ở dòng cuối cùng */
}

.promo-item:hover { 
    transform: translateX(6px); /* Trượt nhẹ sang phải khi lướt chuột */
}

.promo-car { 
    font-weight: 900; 
    color: #0f172a; 
    width: 25%; 
    font-size: 16px; 
    text-transform: uppercase;
}

.promo-price { 
    color: #dc2626; 
    font-weight: 800; 
    width: 25%; 
    font-size: 16px; 
}

.promo-gift { 
    flex-grow: 1; 
    color: #fff; 
    background: #bd7400; /* Thẻ quà tặng Gradient Đỏ rực */
    padding: 8px 15px; 
    border-radius: 6px; /* Bo góc vuông vức, nam tính hơn */
    font-size: 14px; 
    font-weight: 700; 
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
    display: inline-block;
}

/* Hiệu ứng rung lắc hộp quà */
@keyframes shakingGift { 
    0% { transform: rotate(0deg); } 
    25% { transform: rotate(-15deg); } 
    50% { transform: rotate(15deg); } 
    75% { transform: rotate(-15deg); } 
    100% { transform: rotate(0deg); } 
}

.gift-icon { 
    animation: shakingGift 2s infinite ease-in-out; 
    color: #fca5a5; /* Đổi màu hộp quà cho hợp với nền Xanh Đen */
}

/* ==========================================
   SMART PROMO GRID - PHẦN FOOTER (Quyền lợi & Nút)
   ========================================== */
.smart-promo-footer {
    border-top: 1px dashed #cbd5e1;
    padding: 25px 30px;
    background: #f8fafc;
}

.promo-benefits-list {
    list-style: none;
    padding: 0; margin: 0 0 30px 0; /* Tăng khoảng cách với cụm nút cho thoáng */
}

.promo-benefits-list li {
    display: flex;
    align-items: center; /* Căn giữa chữ và icon */
    gap: 12px;
    font-size: 15px;
    color: #0f172a; /* Đổi màu chữ tối hơn cho dễ đọc */
    margin-bottom: 15px;
    font-weight: 600;
}

/* ĐỘ LẠI TÍCH XANH DẠNG BADGE CỰC VIP */
.promo-benefits-list li svg {
    color: #fff; /* Dấu tích màu trắng */
    background: #10b981; /* Nền xanh lá đậm */
    border-radius: 50%;
    padding: 4px; /* Khoảng trống bên trong */
    flex-shrink: 0;
    width: 24px; /* Tăng kích thước */
    height: 24px; /* Tăng kích thước */
    stroke-width: 3; /* Nét gạch dày dặn, mạnh mẽ */
    box-shadow: 0 3px 6px rgba(16, 185, 129, 0.25); /* Bóng đổ nổi bật */
}

/* Khu vực 2 Nút bấm */
.promo-actions {
    display: flex;
    gap: 20px; /* Khoảng cách giữa 2 nút */
    justify-content: center; /* CĂN GIỮA NÚT */
}

/* Nút Phụ (Ghost Button) */
.btn-promo-secondary {
    display: inline-flex; justify-content: center; align-items: center;
    background: #fff;
    color: #0168ff;
    border: 2px solid #0168ff;
    padding: 14px 40px; /* Kéo đệm 2 bên ra cho nút đẹp hơn */
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
    width: auto; /* CO LẠI THEO CHỮ */
    min-width: 220px; /* Kích thước tối thiểu để 2 nút bằng nhau */
}
.btn-promo-secondary:hover {
    background: #0168ff;
    color: #fff;
}

/* Nút Chính (Đỏ + Hiệu ứng Shine vệt sáng) */
.btn-promo-primary {
    display: inline-flex; justify-content: center; align-items: center;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    color: #fff;
    padding: 14px 40px; /* Kéo đệm 2 bên ra */
    border-radius: 8px;
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
    width: auto; /* CO LẠI THEO CHỮ */
    min-width: 220px; /* Kích thước tối thiểu để 2 nút bằng nhau */
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden; 
    border: none;
}
.btn-promo-primary:hover {
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

/* Tạo vệt sáng ánh kim */
.btn-promo-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shineEffect 3s infinite; 
}

@keyframes shineEffect {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; } 
}

/* Tối ưu hiển thị cho Mobile - ÉP TRÀN VIỀN 100% */
@media (max-width: 768px) {
    .smart-promo-wrapper { 
        margin-top: -30px; 
        margin-left: -30px; /* Phá vỡ khoảng đệm (padding) 30px của vùng chứa */
        margin-right: -30px; 
        border-radius: 0; /* Xóa bo góc để bám sát lề màn hình */
    }
    
    /* Điều chỉnh lại khoảng không bên trong cho thoáng mắt */
    .smart-promo-header { padding: 20px 15px; }
    .smart-promo-header h2 { font-size: 24px; }
    .promo-list { padding: 10px 15px 15px 15px; }
    .smart-promo-footer { padding: 20px 15px; }
    
    /* Căn chỉnh các khối nội dung xếp dọc bám trái */
    .promo-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px 0; }
    .promo-car, .promo-price { width: 100%; font-size: 15px; }
    .promo-gift { width: 100%; text-align: left; }
    
    /* Ép 2 nút Full 100% chiều ngang để dễ lấy ngón tay bấm */
    .promo-actions { flex-direction: column; gap: 12px; }
    .btn-promo-primary, .btn-promo-secondary { width: 100%; min-width: 100%; }
}

/* ==========================================
   COMPONENT: NEWS CARD (Thẻ Tin Tức Dùng Chung)
   ========================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #f1f5f9; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-bottom: 1px solid #f1f5f9; display: block; margin: 0; padding: 0; }
.news-card-body { padding: 20px; }
.news-card-body h3 { font-size: 16px; font-weight: 500; margin: 0 0 15px 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.news-card-body h3 a { color: #0f172a; text-decoration: none; transition: 0.2s; }
.news-card-body h3 a:hover { color: var(--accent); }
.news-separator { border-top: 1px dashed #e2e8f0; margin-bottom: 15px; }
.news-readmore { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 400; text-transform: uppercase; text-decoration: none; transition: color 0.3s; }
.news-readmore svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.news-readmore:hover { color: var(--accent); }
.news-readmore:hover svg { transform: translateX(5px); }

/* Responsive Lưới Tin Tức */
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } }
@media (max-width: 480px) { .news-grid { grid-template-columns: 1fr; } }