/* Menu Grid Layout */
section[class*="breakfast"] .row.g-3 {
    margin: 0;
    width: 100%;
}

section[class*="breakfast"] .row.g-3 .d-flex {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    width: 100%;
    padding: 0 15px;
}

section[class*="breakfast"] .row.g-3 .d-flex > div {
    width: 100%;
    min-width: 0;
    padding: 0;
}

.card.breakfast-card {
    width: 100%;
    height: 100%;
    background: var(--bg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--card-shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.breakfast-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--card-shadow);
}

.breakfast-card .card-img-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: var(--surface);
    overflow: hidden;
}

.breakfast-card .card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Card Content */
.breakfast-card .card-body {
    padding: 10px 8px;
    text-align: center;
    height: auto;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breakfast-card .card-title {
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    color: var(--text);
    font-weight: 500;
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .row.g-3 .d-flex {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 8px !important;
        padding: 0 10px !important;
    }

    .card-body {
        padding: 8px 4px !important;
        min-height: 40px !important;
    }

    .card-title {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}

/* Container and Section Layout */
.container-fluid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    margin-bottom: 2rem;
    width: 100%;
}

/* Section Header */
.meal-title {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    padding: 0 1rem;
    text-align: left;
    position: relative;
    text-shadow: none;
}

.meal-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    margin-top: 0.5rem;
    border-radius: 2px;
}
section .d-flex.align-items-center {
    margin-bottom: 1rem;
    padding: 0;
}

.section-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--primary-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.section-icon i {
    font-size: 14px;
    color: var(--primary);
}

section h2.h5.fw-bold {
    font-size: 1rem;
    margin: 0;
    color: var(--text);
}

/* Dinner Option Cards */
.dinner-option-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--card-shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dinner-option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--card-shadow);
}

.dinner-item-card {
    background: var(--bg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--card-shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dinner-item-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--card-shadow);
}

.dinner-item-card .card-img-container {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: var(--surface);
    overflow: hidden;
}

.dinner-item-card .card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.dinner-item-card .card-body {
    padding: 8px 6px;
    text-align: center;
    height: auto;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dinner-item-card .card-title {
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    color: var(--text);
    font-weight: 500;
}

/* Empty Card Style */
.card.bg-light {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card.bg-light .card-body {
    opacity: 0.5;
}