html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f1eb;
}
 main {
    flex: 1;
}
a{
    text-decoration: none;
    color: inherit;
}
.featured-book {
    text-align: center;
    width: 150px;
}

.featured-book img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-book img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.featured-book p {
    font-family: 'Poiret One', sans-serif;
    color: #333;
    margin-top: 10px;
    font-size: 16px;
}

.featured-book p a {
    text-decoration: none; 
    color: #333; 
    font-weight: 500; 
}

.featured-book p a:hover {
    color: #5c3d2e;
}

.carousel-inner img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.carousel-indicators button {
    background-color: #5c3d2e;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #5c3d2e;
    border-radius: 50%;
    padding: 10px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #3e2a1f;
}

.custom-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #f8f1eb;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #5c3d2e;
    margin-top: 10px;
}

/* Wishlist Button Styling */
.wishlist-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 20px;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Default black heart */
.wishlist-btn i {
    color: black; /* Black heart */
    font-size: 20px;
    transition: color 0.3s ease;
}

/* Red heart when active */
.wishlist-btn.hover i {
    color: red; /* Red heart */
}

.wishlist-btn:hover {
    transform: scale(1.2); 
}


.sprinkles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    animation: none;
}

/* Individual sprinkle elements */
.sprinkles span {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: red;
    border-radius: 50%;
    animation: sprinkle-animation 0.6s ease-out forwards;
}

/* Sprinkle animation */
@keyframes sprinkle-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2) translateY(-20px);
        opacity: 0;
    }
}

.card-body {
    background-color: #ffffff;
    padding: 15px;
}

.btn-outline-primary {
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: #5c3d2e;
    color: #fff;
    border-color: #5c3d2e;
}

.btn-primary {
    background-color: #5c3d2e;
    border: none;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #3e2a1f;
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 10px;
}

.card-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.card-title:hover {
    z-index: 10;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.badge {
    font-size: 12px; 
}
.btn-primary {
        font-size: 12px; 
        padding: 5px 10px;
    }
.row.flex-nowrap.overflow-auto {
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}

.row.flex-nowrap.overflow-auto::-webkit-scrollbar {
    display: none;
}
