/* Book for Meal Section Styles */

.book-for-meal-section {
    width: 100%;
    margin: 3rem 0;
    padding: 2rem 0;
    background: #faf9f7;
}

/* Header */
.bfm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.bfm-title {
    font-size: 24px;
    font-weight: 600;
    color: #C67353;
    margin: 0;
    line-height: 1.2;
}

.bfm-see-all {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.bfm-see-all:hover {
    color: #C67353;
}

/* Carousel Container */
.bfm-restaurants-carousel {
    position: relative;
    padding: 0 3rem;
}

.bfm-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.bfm-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* Restaurant Card */
.bfm-restaurant-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bfm-restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.bfm-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.bfm-card-image img {
    width: 100%;
    height: 500px !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bfm-restaurant-card:hover .bfm-card-image img {
    transform: scale(1.05);
}

/* Card Content */
.bfm-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bfm-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.bfm-card-title a {
    color: #C67353;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bfm-card-title a:hover {
    color: #C67353;
}

/* Rating Stars */
.bfm-card-rating {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.bfm-stars {
    display: flex;
    gap: 2px;
}

.bfm-star {
    font-size: 1rem;
    line-height: 1;
}

.bfm-star-filled {
    color: #C67353;
}

.bfm-star-half {
    color: #C67353;
    opacity: 0.6;
}

.bfm-star-empty {
    color: #ddd;
}

.bfm-booked-count {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 1rem;
}

/* Booking Times */
.bfm-booking-times {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    flex-wrap: wrap;
}

.bfm-time-btn {
    padding: 0.5rem 1rem;
    background: #C67353;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    flex: 1;
    min-width: 80px;
}

.bfm-time-btn:hover {
    background: #b05f44;
}

/* Navigation Buttons */
.bfm-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bfm-nav-btn:hover {
    background: #C67353;
    color: #000;
    border-color: #C67353;
    box-shadow: 0 4px 12px rgba(198, 115, 83, 0.3);
}

.bfm-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.bfm-nav-prev {
    left: 0;
}

.bfm-nav-next {
    right: 0;
}

.bfm-nav-btn svg {
    width: 20px;
    height: 20px;
}

.bfm-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bfm-nav-btn:disabled:hover {
    background: #fff;
    color: #333;
    border-color: #e0e0e0;
}

/* No Results */
.bfm-no-results {
    text-align: center;
    padding: 3rem;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .book-for-meal-section {
        padding: 1rem 0;
    }
    
    .bfm-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .bfm-title {
        font-size: 1.5rem;
    }
    
    .bfm-restaurants-carousel {
        padding: 0 2.5rem;
    }
    
    .bfm-restaurant-card {
        flex: 0 0 280px;
    }
    
    .bfm-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .bfm-nav-prev {
        left: 0.5rem;
    }
    
    .bfm-nav-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .bfm-restaurant-card {
        flex: 0 0 260px;
    }
    
    .bfm-booking-times {
        flex-direction: column;
    }
    
    .bfm-time-btn {
        width: 100%;
    }
}

