/* ==========================================
   FOOD MENU GRID CUSTOM STYLES
   ========================================== */

/* Filter Buttons */
#category-filter .btn,
#diet-filter .btn {
    border-radius: 30px;
    font-weight: 500;
    padding: 8px 20px;
    margin-right: 10px;
    transition: all 0.3s ease;
    box-shadow: none;
}

#category-filter .btn.active,
#diet-filter .btn.active {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

#category-filter .btn:hover,
#diet-filter .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Search Input */
#food-search {
    border-radius: 30px;
    padding: 10px 20px;
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#food-search:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    outline: none;
}

.border-custom{
     border : 3px solid #f8f9fa;
      box-shadow: none!important;
     
}
/* Food Item Cards */
.food-item .card {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    box-shadow: none!important;
    border: 0 !important;
}

.food-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1) !important;
}

.food-item .card-img-top {
    border-bottom: 3px solid #f8f9fa;
    transition: transform 0.5s ease;
    height: 200px;
    min-height: 200px;
}

.food-item {
    margin-bottom: 0;
    padding: 16px;
    border: 1px solid #ededed;
}

.food-item .card:hover .card-img-top {
    transform: scale(1.05);
}

.food-item .bg-danger {
    background-color: #ffeff0 !important;
}

.food-item .bg-success {
    background-color: #c9ffd5 !important;
}

/* To allow the image zoom effect without overflowing the card */
.food-item .card>div:first-child,
.food-item .card {
    overflow: hidden;
}

.food-item .card-body {
    padding: 20px;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

.food-item .badge {
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.food-item h6 {
    color: #333;
    font-size: 1.1rem;
    margin-top: 5px;
}

.food-item .text-danger {
    color: #d65628 !important;
    /* Theme specific orange-red color */
    font-size: 1.1rem;
}