.product-img {
    width: 100%;
    height: 12.5rem;
    /* Equivalent to 200px */
    object-fit: cover;
}

.product-title {
    margin: 1rem 0;
    color: black;
    font-weight: 600;
}

.product-sub {
    color: black;
    font-style: normal;
    text-decoration: none !important;
}

.product-card {
    cursor: pointer;
    text-align: center;
}

.btn-product {
    margin: 0 auto;
    display: block;
    padding: .8rem 1rem;
    border-radius: 30px;
    opacity: 0;
    transition: .3s;
}

/* .btn-product.showing {
    border: 1px solid black;
    background-color: transparent;
    color: black;
    opacity: 1;
}

.btn-product.showing:hover {
    background-color: black;
    color: white;
} */

.product-card:hover .btn-product {
    border: 1px solid black;
    background-color: transparent;
    color: black;
    opacity: 1;
}

.btn-product:hover {
    background-color: black !important;
    color: white !important;
}

.product-section {
    margin-top: 7rem;
}

.book-section {
    margin: 10rem 0;
}

.book-content {
    flex: 1;
    margin-left: 5vw;
}

.btn-book {
    display: block;
    padding: 1rem 2rem;
    border-radius: 30px;
    transition: .4s;
    border: 1px solid black;
    background-color: transparent;
    color: black;
}

.btn-book:hover {
    background-color: black;
    color: white;
}

.book-title {
    font-size: 64px;
    font-weight: 600;
}

.product-label {
    position: absolute;
    top: .5rem;
    background-color: black;
    padding: .45rem .65rem;
    font-weight: 500;
    color: white;
    font-size: calc(1rem - 2px);
}

.main-carousel {
    padding: 0 40px;
    border: 1px solid #dadce0;
    max-width: 350px;
}

.modal-product {
    max-width: max(45%, 300px);
    margin: auto;
}

.modal-title {
    font-size: 3rem;
    font-weight: 600;
}

.modal-sub {
    font-size: 1.15rem;
}

.modal-location {
    opacity: .6;
}

.modal-btn {
    padding: .8rem 2rem;
}

.modal-link {
    font-size: .8rem;
    font-weight: 500;
}

.splide__slide img {
    width: 100%;
    height: auto;
}

.splide__pagination {
    display: flex !important;
    justify-content: center;
    margin-top: 10px;
}

.splide__arrows {
    display: none;
}
@media screen and (max-width: 992px) {
    .product-section {
        margin-top: 10rem;
    }

    .modal-title {
        font-size: 2rem;
    }

    .book-title {
        font-size: 40px;
        width: 300px;
    }

    .book-img {
        width: 328px;
        height: 459px;
    }

    .book-content {
        flex: 0;
        justify-content: center;
        align-items: center;
        margin-left: 0;
    }
}