body {
    background: var(--offwhite);
}

.section-title {
    text-align: center;
    font-family: var(--font-serif);
    color: var(--coffee);
    font-size: 2.25rem;
    margin: 40px 0;
    font-weight: 500;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.menu-item {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: pointer;
}

    .menu-item:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-warm);
    }

.item-image {
    width: 100%;
    height: 220px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--caramel);
    position: relative;
    overflow: hidden;
}

    /* Image fade-in */
    .item-image img.lazy-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        opacity: 0;
        transition: opacity 0.3s ease-in;
    }

    .item-image.loaded img.lazy-img {
        opacity: 1;
    }

/* Spinner */
.spinner {
    border: 4px solid rgba(58,43,33,.1);
    border-top: 4px solid var(--caramel);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.item-details {
    padding: 22px;
    text-align: center;
}

.item-name {
    font-family: var(--font-serif);
    color: var(--coffee);
    font-size: 18px;
    margin-bottom: 12px;
}

.item-price {
    display: inline-block;
    background: var(--cream);
    color: var(--coffee);
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 16px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}
