/* Card */
.text-center h1, .custom-text h1 {
    font-family: "Clicker Script";
    font-weight: bold;
    margin-top: 1rem;
}
.card {
    background-color: #FFF9F1;
}
.card-fixed {
    height: 200px !important;
    overflow: hidden;
    transition: transform 0.2s;
}
.card-body h3 {
    font-family: "Playfair Display";
    font-weight: bold;
    color: #603809;
}
.card-text {
    font-family: "Playfair Display";
    font-size: 0.9rem;
    color: #603809;
}
.card-button {
    background-color: #603809;
    color: #FFFFFF;
    border-radius: 20px;
}
.card-button a {
    color: #FFFFFF;
}
.shadow {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.3);
  }

.shadow:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3), 0 10px 10px rgba(0, 0, 0, 0.4);
}

/* mobile */
@media (max-width: 768px) {
    .card-fixed {
        height: 180px !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0px;
    }

    .card-body {
        padding-bottom: 35px !important;
    }

    .card-body h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .card-text {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }

    .img-fixed {
        width: 100%;
        object-fit: cover;
        margin: 0;
        padding: 0;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
}

/* Cart */
.fixed-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #603809;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.modal {
    /* display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000; */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    /* background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
    position: relative; */
    background: #FFF9F1; /* Sesuaikan dengan warna card */
    padding: 20px;
    border-radius: 20px; /* Sesuaikan dengan rounded-5 */
    width: 90%; /* Lebar responsif */
    max-width: 400px; /* Maksimum lebar */
    text-align: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
    color: #603809;
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 200px; /* Batasi tinggi gambar */
    object-fit: cover;
}

.modal-content p {
    font-family: "Playfair Display";
    font-size: 0.9rem;
    color: #603809;
}
