.menu {
    background: #fff;
    padding: 58px 0 90px;
}

.menu .container {
    max-width: 960px;
}

.menu-line {
    width: 216px;
    height: 10px;
    margin: 0 auto 13px;
    background: var(--red, #e30016);
}

.menu h2 {
    margin: 0 0 42px;
    color: #000;
    font-family: "Poiret One", "Trebuchet MS", Arial, sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 52px 58px;
    margin: 0;
}

.menu-grid-featured {
    margin-bottom: 52px;
}

.menu-grid-day {
    margin-top: 44px;
}

.menu-item {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
}

.menu-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.22 / 1;
    object-fit: cover;
    border-radius: 0;
    cursor: zoom-in;
}

.menu-item img:focus-visible,
.coffee-grid img:focus-visible {
    outline: 3px solid var(--red, #e30016);
    outline-offset: 4px;
}

.menu-item h3 {
    margin: 12px 0 0;
    color: #050505;
    font-family: "Poiret One", "Trebuchet MS", Arial, sans-serif;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0;
    text-transform: none;
}

.menu-item p {
    margin: 16px auto 0;
    max-width: 210px;
    color: #555;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.menu-note {
    max-width: 930px;
    margin: 0 auto;
    color: #151515;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 2px;
    clear: both;
}

.menu-note span {
    font-weight: 700;
}

.menu-note a {
    color: inherit;
    white-space: nowrap;
}

.coffee-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 760px;
    margin: 64px auto 0;
}

.coffee-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: zoom-in;
}

.menu-image-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.82);
}

.menu-image-modal[hidden] {
    display: none;
}

.menu-image-modal__dialog {
    position: relative;
    max-width: min(960px, 100%);
    max-height: 90vh;
}

.menu-image-modal__close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.menu-image-modal__close:hover,
.menu-image-modal__close:focus-visible {
    background: var(--red, #e30016);
    color: #fff;
}

.menu-image-modal__image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    background: #fff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.coffee-text {
    max-width: 860px;
    margin: 30px auto 0;
    color: #191919;
    font-family: "Poiret One", "Trebuchet MS", Arial, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
}

@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 46px 36px;
    }
}

@media (max-width: 760px) {
    .menu {
        padding: 44px 0 64px;
    }

    .menu h2 {
        margin-bottom: 36px;
        font-size: 44px;
    }

    .menu-grid,
    .coffee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 18px;
    }

    .menu-item h3 {
        margin-top: 15px;
        font-size: 22px;
    }

    .menu-note {
        font-size: 16px;
    }

    .coffee-text {
        font-size: 25px;
    }
}

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

    .menu-item img,
    .coffee-grid img {
        max-width: 320px;
        margin: 0 auto;
    }

    .menu-image-modal {
        padding: 14px;
    }

    .menu-image-modal__close {
        top: 8px;
        right: 8px;
    }
}
