/* ==========================================================================
   CƠ KHÍ ĐẠI THẮNG - WARRANTY & REPAIR POLICY STYLESHEET (warranty.css)
   Chuẩn hóa 2026: Plus Jakarta Sans, Xanh Dương Sáng (#0284C7), Clean & Modular
   ========================================================================== */

/* 0. Page-specific global overrides */
.flexslider {
    display: none !important;
}

.dt-nav-item .dt-nav-link.active_tag {
    background: transparent !important;
    color: #FFFFFF !important;
}
.dt-nav-item .dt-nav-link.active_tag::after {
    width: 0 !important;
}
.dt-nav-item .dt-nav-link[href="/chinh-sach-bao-hanh-va-sua-chua"] {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}
.dt-nav-item .dt-nav-link[href="/chinh-sach-bao-hanh-va-sua-chua"]::after {
    width: 100% !important;
}

/* 1. Hero Page Banner */
.warranty-hero {
    position: relative;
    background: linear-gradient(135deg, #075985 0%, #0284C7 60%, #0099E5 100%);
    padding: 55px 0 45px 0;
    color: #FFFFFF;
    overflow: hidden;
}

.warranty-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.warranty-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #BAE6FD;
    margin-bottom: 14px;
    list-style: none;
    padding: 0;
}

.warranty-breadcrumb a {
    color: #E0F2FE;
    text-decoration: none;
    transition: color 0.2s ease;
}

.warranty-breadcrumb a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.warranty-breadcrumb .separator {
    color: #7DD3FC;
    font-size: 11px;
}

.warranty-breadcrumb .current {
    color: #FFFFFF;
    font-weight: 700;
}

.warranty-hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 10px 0;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.warranty-hero-subtitle {
    font-size: 15.5px;
    line-height: 1.6;
    color: #E0F2FE;
    max-width: 750px;
    margin: 0;
}

/* 2. Quick Highlights Bar */
.warranty-highlights {
    padding: 40px 0 20px 0;
    background: #F8FAFC;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.highlight-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    border: 1.5px solid #E0F2FE;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.06);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.12);
    border-color: #7DD3FC;
}

.highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #E0F2FE;
    color: #0284C7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.highlight-card:nth-child(2) .highlight-icon {
    background: #FEF3C7;
    color: #D97706;
}

.highlight-card:nth-child(3) .highlight-icon {
    background: #DCFCE7;
    color: #16A34A;
}

.highlight-title {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 4px 0;
}

.highlight-desc {
    font-size: 13.5px;
    color: #64748B;
    margin: 0;
    line-height: 1.45;
}

/* 3. Policy Content Layout */
.warranty-main-section {
    padding: 40px 0 70px 0;
    background: #F8FAFC;
}

.warranty-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 36px;
    align-items: flex-start;
}

/* Policy Cards */
.policy-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px 30px;
    margin-bottom: 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: border-color 0.25s ease;
}

.policy-card:hover {
    border-color: #BAE6FD;
}

.policy-card:last-child {
    margin-bottom: 0;
}

.policy-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #F1F5F9;
}

.policy-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #0284C7;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.policy-title {
    font-size: 19px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    line-height: 1.35;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.policy-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
}

.policy-item i {
    color: #0284C7;
    font-size: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.policy-item.warning i {
    color: #E11D48;
}

/* Sidebar Styling */
.warranty-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-support-card {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1.5px solid #BAE6FD;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
}

.support-title {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-title i {
    color: #0284C7;
}

.support-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}

.support-info-item i {
    color: #0284C7;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.support-info-item strong {
    color: #0F172A;
}

.btn-support-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF6500 0%, #FF8A00 100%);
    color: #FFFFFF !important;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(255, 101, 0, 0.35);
    transition: all 0.25s ease;
    margin-bottom: 12px;
}

.btn-support-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 101, 0, 0.5);
}

.btn-support-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #F0F9FF;
    color: #0284C7 !important;
    border: 1.5px solid #BAE6FD;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.btn-support-contact:hover {
    background: #0284C7;
    color: #FFFFFF !important;
    border-color: #0284C7;
}

.sidebar-commit-card {
    background: linear-gradient(135deg, #075985 0%, #0284C7 100%);
    color: #FFFFFF;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(7, 89, 133, 0.2);
}

.sidebar-commit-card h4 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #FFFFFF;
}

.sidebar-commit-card p {
    font-size: 13.5px;
    color: #BAE6FD;
    line-height: 1.6;
    margin: 0;
}

/* 4. Responsive Breakpoints */
@media (max-width: 991px) {
    .warranty-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .warranty-sidebar {
        position: static;
    }

    .warranty-hero-title {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .warranty-hero {
        padding: 35px 0 30px 0;
    }

    .warranty-hero-title {
        font-size: 22px;
    }

    .policy-card {
        padding: 20px 18px;
    }

    .policy-title {
        font-size: 17px;
    }
}
