body {
    background-color: #f4e1d2;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Segoe UI', sans-serif;
}

.navbar-bg {
    background-color: rgba(178, 58, 72, 0.85);
}

.underline-effect {
    position: relative;
    display: inline-block;
    font-size: 32px;
    color: black;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
}

.underline-effect::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 5px;
    background-color: black;
    transition: width 0.3s ease-in-out;
}

.underline-effect:hover::after,
.underline-effect.active::after {
    width: 100%;
}

.category-heading {
    border-bottom: 3px solid black;
}

.mobile-cart {
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dc3545;
    /* bg-danger */
    color: white;
    font-size: 1.5rem;
    /* increase icon size */
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 2000;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mobile-cart i {
    pointer-events: none;
}

#mobile-cart-count {
    font-size: 0.7rem;
    min-width: 18px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

.fade-out {
    animation: fadeOut 0.5s forwards; }