/* =========================================================
   VIETTEAM — PRICING TABLE
   File: assets/css/pricing.css
   ========================================================= */


/* =========================================================
   ALL SCREENS
   ========================================================= */

.custom-pricing-section {
    --pricing-gap: 24px;
    --pricing-radius: 20px;
    --pricing-featured: #c89b3c;
}


/* Pricing row */

.custom-pricing-section .custom-pricing-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--pricing-gap);

    justify-content: flex-start !important;
    align-items: stretch;

    margin-left: 20px !important;
    margin-right: 20px !important;

    width: auto !important;
}


/* Pricing cards */

.custom-pricing-section .pricing-card {
    flex: 0 0 calc((100% - 48px) / 3) !important;
    width: calc((100% - 48px) / 3) !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 34px 30px 30px !important;

    background: #fff;

    border: 1px solid #e8ebf0;
    border-radius: var(--pricing-radius);

    box-shadow: 0 8px 30px rgba(20, 30, 50, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    overflow: hidden;
}


/* Hover */

.custom-pricing-section .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(20, 30, 50, 0.12);
    border-color: #d9dde5;
}


/* Card title */

.custom-pricing-section .pricing-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    color: #111827;
}


/* Price */

.custom-pricing-section .pricing-card h4 {
    margin: 0;
    line-height: 1;
}

.custom-pricing-section .pricing-card h4 span {
    font-size: 48px !important;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: #111827;
}


/* Per month */

.custom-pricing-section .pricing-card > p {
    margin: 10px 0 22px;
    font-size: 14px;
    color: #8a919d;
}


/* Feature list */

.custom-pricing-section .pricing-card ul {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.custom-pricing-section .pricing-card ul li {
    position: relative;
    margin: 0 0 13px;
    padding-left: 28px;

    font-size: 15px;
    line-height: 1.5;
    color: #4b5563;
}

.custom-pricing-section .pricing-card ul li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 0;

    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef2f5;
    color: #667085;

    font-size: 11px;
    font-weight: 700;
}


/* Button */

.custom-pricing-section .pricing-card .button {
    width: 100%;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 !important;

    border: 1px solid #dfe3e8;

    background: #fff;
    color: #111827;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.custom-pricing-section .pricing-card .button:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}


/* Medium card */

.custom-pricing-section .pricing-card-featured {
    border: 2px solid var(--pricing-featured);

    box-shadow: 0 15px 45px rgba(20, 30, 50, 0.12);
}

.custom-pricing-section .pricing-card-featured .button {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.custom-pricing-section .pricing-card-featured .button:hover {
    background: var(--pricing-featured);
    border-color: var(--pricing-featured);
    color: #fff;
}


/* =========================================================
   TABLETS AND DOWN
   ========================================================= */

@media (max-width: 849px) {

    .custom-pricing-section .custom-pricing-row {
        overflow-x: auto !important;
        overflow-y: hidden;

        flex-wrap: nowrap !important;

        justify-content: flex-start !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding: 10px 30px 25px !important;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .custom-pricing-section .pricing-card {
        flex: 0 0 340px !important;
        width: 340px !important;
    }

}


/* =========================================================
   MOBILE ONLY
   ========================================================= */

@media (max-width: 549px) {

    .custom-pricing-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .custom-pricing-section .custom-pricing-row {
        gap: 14px;

        overflow-x: auto !important;
        overflow-y: hidden;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding-left: 18px !important;
        padding-right: 18px !important;
        padding-bottom: 22px !important;

        justify-content: flex-start !important;
    }

    .custom-pricing-section .pricing-card {
        flex: 0 0 60vw !important;
        width: 60vw !important;

        padding: 24px 18px 22px !important;
    }


    /* Tiêu đề */

    .custom-pricing-section .pricing-card h3 {
        font-size: 18px;
        margin-bottom: 7px;
    }


    /* Giá */

    .custom-pricing-section .pricing-card h4 span {
        font-size: 34px !important;
    }


    /* Per month */

    .custom-pricing-section .pricing-card > p {
        margin: 7px 0 16px;
        font-size: 12px;
    }


    /* Danh sách */

    .custom-pricing-section .pricing-card ul {
        margin-bottom: 20px;
    }

    .custom-pricing-section .pricing-card ul li {
        margin-bottom: 9px;
        padding-left: 23px;
        font-size: 13px;
    }


    /* Check */

    .custom-pricing-section .pricing-card ul li::before {
        width: 17px;
        height: 17px;
        font-size: 10px;
    }


    /* Button */

    .custom-pricing-section .pricing-card .button {
        min-height: 42px;
        font-size: 12px;
    }

}