/* =======================
   PRODUCT
======================= */

.section {
    margin: 0 20px;
    padding-top: 15vh;
}


/* =======================
   BADGE
======================= */

.center-badge {
    display: flex;
    width: fit-content;

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

    margin: 0 auto 25px;

    padding: 10px 22px;

    background: rgba(74, 222, 128, .12);
    border: 1px solid rgba(74, 222, 128, .25);

    color: #4ade80;

    border-radius: 100px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =======================
   SECTION TITLE
======================= */

.section-title {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.15;

    text-align: center;

    margin: 0 0 20px;

    color: #fff;
}

.section-title span {
    color: #4ade80;
}


/* =======================
   SECTION DESCRIPTION
======================= */

.section-desc {
    max-width: 760px;

    margin: 0 auto 70px;

    padding: 0;

    text-align: center;

    font-size: 18px;
    line-height: 1.9;

    color: #cbd5e1;

    font-weight: 500;
}


/* =======================
   PRODUCT GRID
======================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(420px, 420px));

    justify-content: center;

    gap: 35px;

    margin-top: 70px;

    align-items: stretch;
}


/* =======================
   PRODUCT BOX
======================= */

.product-box {
    width: 100%;

    background: rgba(255, 255, 255, .04);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 35px;

    overflow: hidden;

    position: relative;

    display: flex;
    flex-direction: column;

    transition:
        transform .4s ease,
        border-color .4s ease,
        box-shadow .4s ease;
}

.product-box:hover {
    transform: translateY(-10px);

    border-color: #22c55e;

    box-shadow:
        0 20px 60px rgba(34, 197, 94, .15);
}


/* =======================
   PRODUCT IMAGE
======================= */

.product-image {
    position: relative;

    overflow: hidden;

    flex-shrink: 0;
}

.product-image img {
    display: block;

    width: 100%;
    height: auto;

    transition: transform .5s ease;
}

.product-box:hover .product-image img {
    transform: scale(1.08);
}


/* =======================
   PRODUCT TAG
======================= */

.product-tag {
    position: absolute;

    top: 20px;
    left: 20px;

    background: #22c55e;

    color: #000;

    padding: 10px 18px;

    border-radius: 100px;

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

    z-index: 2;
}


/* =======================
   PRODUCT CONTENT
======================= */

.product-content {
    padding: 30px;

    display: flex;
    flex-direction: column;

    flex: 1;
}


/* =======================
   PRODUCT TITLE
======================= */

.product-content h3 {
    font-size: 30px;

    margin: 0 0 15px;

    color: #fff;
}


/* =======================
   PRODUCT DESCRIPTION
======================= */

.product-content p {

    color: #cbd5e1;

    line-height: 1.8;

    margin: 0;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    transition: all .3s ease;
}


/* DESKRIPSI DIBUKA */

.product-content p.expanded {

    display: block;

    -webkit-line-clamp: unset;

    overflow: visible;
}


/* PETUNJUK BACA SELENGKAPNYA */

.product-content .read-more {

    display: inline-block;

    margin-top: 6px;

    color: #8fc447;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: .2s ease;
}

.product-content .read-more:hover {

    color: #b5df70;

    text-decoration: underline;
}


/* =======================
   PRODUCT BOTTOM
======================= */

.product-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    /*
       INI YANG MEMBUAT HARGA + BUTTON
       SELALU BERADA DI BAGIAN PALING BAWAH
    */
    margin-top: auto;

    padding-top: 30px;
}


/* =======================
   PRODUCT PRICE
======================= */

.product-price {
    font-size: 28px;

    font-weight: 800;

    color: #4ade80;
}


/* =======================
   PRODUCT BUTTON
======================= */

.product-btn {
    display: inline-block;

    background:
        linear-gradient(
            135deg,
            #4ade80,
            #22c55e
        );

    color: #000;

    text-decoration: none;

    padding: 12px 22px;

    border-radius: 14px;

    font-weight: 700;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

    white-space: nowrap;
}

.product-btn:hover {
    transform: scale(1.05);

    box-shadow:
        0 10px 30px rgba(34, 197, 94, .2);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .product-grid {
        grid-template-columns: 1fr;

        justify-items: center;

        gap: 30px;
    }

    .product-box {
        width: 100%;

        max-width: 420px;
    }
}


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

@media (max-width: 768px) {

    .section {
        margin: 0 15px;

        padding-top: 11vh;
    }


    /* BADGE */

    .center-badge {
        margin: 0 auto 18px;

        padding: 8px 18px;

        font-size: 12px;

        letter-spacing: .8px;
    }


    /* TITLE */

    .section-title {
        font-size: 38px;

        line-height: 1.2;

        margin-bottom: 16px;
    }


    /* DESCRIPTION */

    .section-desc {
        padding: 0 15px;

        margin-bottom: 50px;

        font-size: 16px;

        line-height: 1.8;
    }


    /* GRID */

    .product-grid {
        grid-template-columns: 1fr;

        margin-top: 50px;

        gap: 25px;
    }


    /* PRODUCT */

    .product-box {
        max-width: 420px;

        border-radius: 25px;
    }


    /* IMAGE */

    .product-image img {
        width: 100%;
        height: auto;
    }


    /* CONTENT */

    .product-content {
        padding: 22px;
    }


    .product-content h3 {
        font-size: 24px;
    }


    .product-content p {
        font-size: 15px;

        line-height: 1.7;
    }


    /* PRICE */

    .product-price {
        font-size: 22px;
    }


    /* BOTTOM */

    .product-bottom {
        padding-top: 25px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .section {
        margin: 0 12px;

        padding-top: 10vh;
    }


    .center-badge {
        padding: 7px 15px;

        font-size: 11px;
    }


    .section-title {
        font-size: 25px;

        line-height: 1.25;
    }


    .section-desc {
        font-size: 15px;

        padding: 0 10px;
    }


    .product-grid {
        margin-top: 40px;
    }


    .product-content {
        padding: 20px;
    }


    .product-content h3 {
        font-size: 22px;
    }


    .product-content p {
        font-size: 14px;
    }


    .product-price {
        font-size: 20px;
    }


    .product-bottom {
        flex-direction: column;

        align-items: stretch;

        gap: 12px;

        padding-top: 25px;
    }


    .product-btn {
        width: 100%;

        text-align: center;
    }
}