/* ==========================================================================
   B-ALERT TEMPLATE PART: AFTERSALE SECTION
   ========================================================================== */

/* 1. SECTION WRAPPER */
.full-home-aftersale-section,
.full-datlich-aftersale {
    background-color: var(--color-deep-navy, #071629);
    /* Bắt buộc dùng Deep Navy theo Rule SKILL.md */
    padding: 112px 32px !important;
    box-sizing: border-box;
}

@media (max-width: 1024px) {

    .full-home-aftersale-section,
    .full-datlich-aftersale {
        padding: 72px 24px !important;
    }
}

@media (max-width: 767px) {

    .full-home-aftersale-section,
    .full-datlich-aftersale {
        padding: 32px 16px !important;
    }

    .home-aftersale-header {
        margin-bottom: 24px !important;
    }
}

/* 2. HEADER */
.home-aftersale-header {
    text-align: center;
    margin-bottom: 60px;
}

.aftersale-title {
    text-transform: uppercase;
    margin: 0 auto;
    position: relative;
    padding-bottom: 20px;
    color: var(--color-information-white);
}

.aftersale-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--color-brushed-chrome);
    /* Đã bỏ màu vàng */
}

/* 3. GRID & CARDS */
.aftersale-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1363px;
    margin: 0 auto;
}

.aftersale-item {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--panel-graphite) !important;
    border: 1px solid var(--ba-border) !important;
    border-radius: 0 !important;
    /* Thiết kế dạng khối panel phẳng */
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.aftersale-item:hover {
    border-color: var(--color-brushed-chrome) !important;
    box-shadow: 0 0 24px var(--ba-chrome-glow) !important;
}

.aftersale-item-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aftersale-item-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.aftersale-item-title {
    margin-bottom: 10px;
    margin-top: 0;
    color: var(--color-information-white);
    font-size: 18px;
    text-transform: uppercase;
}

.aftersale-item-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-stainless-steel);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .aftersale-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .aftersale-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .aftersale-item {
        padding: 24px 12px 20px;
    }

    .aftersale-item-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 14px;
    }

    .aftersale-item-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .aftersale-item-desc {
        font-size: 13px;
        line-height: 1.45;
    }

    .aftersale-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .aftersale-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .aftersale-item {
        padding: 20px 8px 16px;
    }

    .aftersale-item-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 10px;
    }

    .aftersale-item-title {
        font-size: 13.5px;
        line-height: 1.3;
        margin-bottom: 5px;
    }

    .aftersale-item-desc {
        font-size: 12px;
        line-height: 1.4;
    }
}
