/* ------------------------------------------------- */
/*                    Hero start                     */
/* ------------------------------------------------- */
.hero {
    height: 400px;
    border: 1px solid var(--grey);
    border-radius: var(--border-radius-normal);
    background-image: url("/asset/img/hero-image-png.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero h1,
.hero h2 {
    text-shadow: 0 0.25rem 01rem rgba(18, 38, 63, 0.5);
}

.hero img {
    object-fit: contain;
    right: 0;
}

/* ------------------------------------------------- */
/*                     Hero end                      */
/* ------------------------------------------------- */

/* ------------------------------------------------- */
/*                  Product start                    */
/* ------------------------------------------------- */
/* Filter start */
.filter button {
    background-color: transparent;
    border: 1px solid var(--grey);
    padding: 0.5rem 1.25rem;
    font-size: 16px;
    border-radius: 2rem;
    color: black;
}
.filter button.active {
    background-color: var(--green);
    color: black;
    border-color: var(--grey);
}
/* Filter start */

/* Slider start */
.product__card {
    height: 100%;
    border: 1px solid var(--blue);
    border-radius: var(--border-radius-normal);
}
.product__card .image {
    height: 120px;
    max-width: 100%;
    transform: scale(1);
    border-radius: 1rem 1rem 0 0;
}
.product__card:hover {
    transform: translateY(-0.25rem);
    transition: 0.2s;
}
.product__card img {
    object-fit: cover;
    width: 100%;
    /* border-radius: 0.75rem; */
}
.product__card .description h3 {
    /* white-space: nowrap; */
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box; /* Display menggunakan WebKit Box */
    -webkit-line-clamp: 2; /* Batasi teks menjadi 2 baris */
    -webkit-box-orient: vertical; /* Orientasi tata letak vertikal */
}
.btn__wrapper a {
    flex-grow: 5;
    padding: auto;
}
.btn__wrapper a span {
    display: none;
}
.btn__wrapper button:last-child {
    flex-grow: 1;
}
/* Slider product end */
/* ------------------------------------------------- */
/*                   Product end                     */
/* ------------------------------------------------- */

/* Mobile */
@media only screen and (min-width: 768px) {
    .product__card .image {
        height: 160px;
    }
    .product__card .description .title {
        height: 70px !important;
    }
    .product__card .description h3,
    .product__card .description h4 {
        font-size: 20px !important;
    }
    .btn__wrapper a {
        font-size: 16px !important;
    }
    .btn__wrapper a svg {
        font-size: 18px !important;
    }
    .btn__wrapper a span {
        display: inline-block;
    }
}
@media only screen and (min-width: 992px) {
    .hero h2 {
        font-size: 24px !important;
    }
}
