/* UNU QR menu — focused, mobile-first restaurant menu experience. */

.qr-menu-page {
    background: var(--unu-paper);
    color: var(--unu-ink);
}

.qr-menu-page .skip-link {
    z-index: 2000;
}

.qr-menu {
    min-height: 100vh;
    overflow: clip;
    background:
        radial-gradient(circle at 6% 8%, rgba(217, 137, 34, 0.07), transparent 23rem),
        var(--unu-paper);
}

.qr-shell {
    width: min(calc(100% - 48px), 1180px);
    margin-inline: auto;
}

.qr-brandbar {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--unu-line);
    background: rgba(255, 250, 241, 0.96);
}

.qr-brandbar__inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.qr-brandbar .site-logo {
    gap: 14px;
}

.qr-brandbar .site-logo img {
    width: 104px;
    max-height: 38px;
}

.qr-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid currentColor;
    font-size: 0.7rem;
    font-weight: 780;
    letter-spacing: 0.13em;
    line-height: 1;
    text-transform: uppercase;
}

.qr-back-link span:last-child {
    font-size: 1rem;
    transition: transform var(--unu-transition);
}

.qr-back-link:hover span:last-child {
    transform: translate(2px, -2px);
}

.qr-category-home {
    padding: clamp(26px, 4vw, 52px) 0 clamp(72px, 9vw, 116px);
    min-height: calc(100svh - 82px);
}

.qr-category-home[hidden] {
    display: none !important;
}

.qr-category-home__header {
    margin-bottom: clamp(22px, 3vw, 34px);
}

.qr-category-home__header p {
    margin: 0 0 10px;
    color: var(--unu-chilli);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.qr-category-home__header h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.02;
}

.qr-category-home__header > span {
    display: block;
    margin-top: 7px;
    color: var(--unu-ink-soft);
    font-size: 0.72rem;
    font-weight: 740;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.qr-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
}

.qr-category-card {
    --qr-card-accent: var(--unu-saffron);
    position: relative;
    display: grid;
    grid-template-columns: 39% minmax(0, 1fr);
    min-width: 0;
    min-height: clamp(210px, 19vw, 250px);
    overflow: hidden;
    border: 1px solid var(--unu-line);
    border-radius: var(--unu-radius);
    background: linear-gradient(140deg, rgba(255, 253, 248, 0.98), rgba(246, 239, 226, 0.9));
    box-shadow: 0 16px 38px rgba(69, 36, 25, 0.05);
    color: var(--unu-ink);
    transition: border-color var(--unu-transition), box-shadow var(--unu-transition), transform var(--unu-transition);
}

.qr-category-card::before {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--qr-card-accent);
    content: "";
    pointer-events: none;
}

.qr-category-card--chilli {
    --qr-card-accent: var(--unu-chilli);
}

.qr-category-card--plum {
    --qr-card-accent: var(--unu-plum);
}

.qr-category-card--leaf {
    --qr-card-accent: var(--unu-leaf);
}

.qr-category-card__media {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    background: var(--unu-cream-deep);
}

.qr-category-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.qr-category-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(20px, 2.5vw, 30px);
}

.qr-category-card__labels {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.qr-category-card__labels strong {
    font-family: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
    font-size: clamp(1.45rem, 2.8vw, 2.55rem);
    font-weight: 600;
    line-height: 1.04;
}

.qr-category-card__labels small {
    color: var(--unu-ink-soft);
    font-size: 0.67rem;
    font-weight: 780;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.qr-category-card__arrow {
    display: grid;
    width: 42px;
    height: 42px;
    align-self: flex-end;
    place-items: center;
    border: 1px solid var(--unu-line);
    border-radius: 50%;
    color: var(--qr-card-accent);
    font-size: 1.2rem;
    line-height: 1;
    transition: background var(--unu-transition), color var(--unu-transition), transform var(--unu-transition);
}

.qr-category-card:hover {
    border-color: var(--qr-card-accent);
    box-shadow: 0 22px 46px rgba(69, 36, 25, 0.11);
    color: var(--unu-ink);
    transform: translateY(-3px);
}

.qr-category-card:hover .qr-category-card__media img {
    transform: scale(1.045);
}

.qr-category-card:hover .qr-category-card__arrow {
    background: var(--qr-card-accent);
    color: var(--unu-white);
    transform: translateX(3px);
}

.qr-category-card:focus-visible,
.qr-panel__back:focus-visible {
    outline: 3px solid var(--unu-chilli);
    outline-offset: 3px;
}

.qr-panel {
    --qr-accent: var(--unu-saffron);
    --qr-accent-ink: var(--unu-plum-deep);
    padding: clamp(28px, 3.5vw, 47px) 0 clamp(72px, 9vw, 118px);
    scroll-margin-top: 92px;
}

.qr-panel[hidden] {
    display: none !important;
}

.qr-panel__back {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 9px 17px 9px 13px;
    border: 1px solid var(--unu-line);
    border-radius: 999px;
    background: var(--unu-cream);
    color: var(--unu-plum);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: border-color var(--unu-transition), background var(--unu-transition), color var(--unu-transition);
}

.qr-panel__back span {
    font-size: 1.15rem;
    line-height: 1;
}

.qr-panel__back:hover {
    border-color: var(--unu-plum);
    background: var(--unu-plum);
    color: var(--unu-white);
}

.qr-panel--chilli {
    --qr-accent: var(--unu-chilli);
    --qr-accent-ink: var(--unu-white);
}

.qr-panel--plum {
    --qr-accent: var(--unu-plum);
    --qr-accent-ink: var(--unu-white);
}

.qr-panel--leaf {
    --qr-accent: var(--unu-leaf);
    --qr-accent-ink: var(--unu-white);
}

.qr-panel__header {
    display: flex;
    min-height: 118px;
    align-items: center;
    margin-bottom: clamp(30px, 4vw, 48px);
    padding: clamp(16px, 2.5vw, 31px);
    border-radius: var(--unu-radius);
    background: var(--qr-accent);
    color: var(--qr-accent-ink);
}

.qr-panel__header p {
    margin: 0 0 7px;
    font-size: 0.65rem;
    font-weight: 780;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.qr-panel__header h2 {
    font-size: clamp(2.15rem, 4vw, 3.8rem);
    line-height: 0.94;
}

.qr-panel__groups {
    display: grid;
    gap: clamp(66px, 9vw, 112px);
}

.qr-menu-group__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--unu-line);
}

.qr-menu-group__header h3 {
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    line-height: 1.2;
    text-transform: uppercase;
}

.qr-menu-group__header h3::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--qr-accent);
    content: "";
}

.qr-menu-group__header p {
    margin: 0;
    color: var(--unu-ink-soft);
    font-size: 0.73rem;
    letter-spacing: 0.06em;
}

.qr-dish-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.qr-dish {
    position: relative;
    display: grid;
    min-height: 176px;
    overflow: hidden;
    border: 1px solid rgba(45, 27, 24, 0.11);
    border-radius: 22px;
    background: rgba(255, 253, 248, 0.88);
    box-shadow: 0 14px 40px rgba(69, 36, 25, 0.055);
    transition: border-color var(--unu-transition), box-shadow var(--unu-transition), transform var(--unu-transition);
}

.qr-dish::after {
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--qr-accent);
    content: "";
}

.qr-dish--with-image {
    grid-template-columns: minmax(175px, 38%) minmax(0, 1fr);
}

.qr-dish--with-image::after {
    display: none;
}

@media (hover: hover) {
    .qr-dish:hover {
        border-color: rgba(45, 27, 24, 0.2);
        box-shadow: 0 20px 52px rgba(69, 36, 25, 0.1);
        transform: translateY(-2px);
    }

    .qr-dish:hover .qr-dish__media img {
        transform: scale(1.035);
    }
}

.qr-dish__media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    margin: 0;
    background: var(--unu-cream-deep);
}

.qr-dish__media::after {
    position: absolute;
    inset: 0;
    border-right: 1px solid rgba(45, 27, 24, 0.1);
    content: "";
    pointer-events: none;
}

.qr-dish__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.qr-dish__photo-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    touch-action: manipulation;
}

.qr-dish__photo-link:focus-visible {
    z-index: 1;
    outline: 3px solid var(--unu-saffron-light);
    outline-offset: -5px;
}

.qr-dish__zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    background: rgba(35, 19, 18, 0.82);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
    color: var(--unu-white);
    transition: background var(--unu-transition), transform var(--unu-transition);
}

.qr-dish__zoom img {
    display: block;
    width: 18px;
    height: 18px;
    min-height: 0;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.96;
    transition: none;
}

@media (hover: hover) {
    .qr-dish__photo-link:hover .qr-dish__zoom {
        background: var(--unu-chilli);
        transform: scale(1.08);
    }
}

body.qr-lightbox-open {
    overflow: hidden;
}

.qr-lightbox {
    width: min(calc(100% - 32px), 1180px);
    max-width: none;
    max-height: calc(100dvh - 32px);
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--unu-white);
}

.qr-lightbox::backdrop {
    background: rgba(24, 11, 14, 0.9);
    backdrop-filter: blur(7px);
}

.qr-lightbox__surface {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: #170d10;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.qr-lightbox figure {
    display: grid;
    margin: 0;
}

.qr-lightbox img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 92px);
    object-fit: contain;
}

.qr-lightbox figcaption {
    min-height: 50px;
    padding: 15px 62px 15px 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.qr-lightbox__close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(23, 13, 16, 0.82);
    color: var(--unu-white);
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 1.75rem;
    line-height: 1;
    transition: background var(--unu-transition), transform var(--unu-transition);
}

.qr-lightbox__close:hover {
    background: var(--unu-chilli);
    transform: scale(1.05);
}

.qr-dish__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 25px 26px 22px;
}

.qr-dish:not(.qr-dish--with-image) .qr-dish__body {
    padding-left: 30px;
}

.qr-dish__topline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.qr-dish__topline h4 {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.08rem;
    font-weight: 790;
    letter-spacing: -0.02em;
    line-height: 1.22;
}

.qr-dish__heat {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin-inline-start: 0.25em;
    vertical-align: -0.18em;
    white-space: nowrap;
}

.qr-dish__heat img {
    display: block;
    width: 12px;
    height: 18px;
}

.qr-dish__price {
    color: var(--unu-chilli);
    font-size: 0.96rem;
    font-weight: 820;
    line-height: 1.3;
    white-space: nowrap;
}

.qr-dish__description {
    margin: 12px 0 0;
    color: var(--unu-ink-soft);
    font-size: 0.88rem;
    line-height: 1.48;
}

.qr-dish__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: auto 0 0;
    padding-top: 19px;
}

.qr-dish__meta > div {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.qr-dish__meta dt {
    color: var(--unu-ink-soft);
    font-size: 0.58rem;
    font-weight: 760;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.qr-dish__meta dd {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 780;
    letter-spacing: 0.04em;
}

.qr-allergens {
    padding: 0 0 clamp(82px, 10vw, 130px);
}

.qr-allergens[hidden] {
    display: none !important;
}

.qr-allergens__details {
    overflow: hidden;
    border: 1px solid var(--unu-line);
    border-radius: var(--unu-radius);
    background: var(--unu-cream);
}

.qr-allergens__details summary {
    display: flex;
    min-height: 104px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px clamp(24px, 4vw, 46px);
    cursor: pointer;
    list-style: none;
}

.qr-allergens__details summary::-webkit-details-marker {
    display: none;
}

.qr-allergens__details summary > span:first-child {
    display: grid;
    gap: 4px;
}

.qr-allergens__details summary small {
    color: var(--unu-chilli);
    font-size: 0.62rem;
    font-weight: 780;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.qr-allergens__details summary strong {
    font-family: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1;
}

.qr-allergens__toggle {
    position: relative;
    display: block;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border: 1px solid var(--unu-line);
    border-radius: 50%;
}

.qr-allergens__toggle::before,
.qr-allergens__toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 1.5px;
    background: var(--unu-ink);
    content: "";
    transform: translate(-50%, -50%);
    transition: transform var(--unu-transition);
}

.qr-allergens__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.qr-allergens__details[open] .qr-allergens__toggle::after {
    transform: translate(-50%, -50%) rotate(0);
}

.qr-allergens__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 48px;
    margin: 0;
    padding: 0 clamp(28px, 5vw, 60px) 42px 78px;
    color: var(--unu-ink-soft);
    font-size: 0.8rem;
}

.qr-allergens__list li {
    padding-left: 5px;
}

.qr-allergens__list li::marker {
    color: var(--unu-chilli);
    font-weight: 800;
}

.qr-footer {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 8vw, 100px) 0 26px;
    background: var(--unu-plum-deep);
    color: var(--unu-white);
}

.qr-footer::after {
    position: absolute;
    top: -230px;
    right: -170px;
    width: 480px;
    border: 1px solid rgba(255, 250, 241, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 54px rgba(255, 250, 241, 0.025), 0 0 0 108px rgba(255, 250, 241, 0.02);
    content: "";
    aspect-ratio: 1;
}

.qr-footer__grid {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
}

.qr-footer .site-logo {
    color: var(--unu-white);
}

.qr-footer .site-logo__descriptor {
    border-color: rgba(255, 250, 241, 0.25);
}

.qr-footer__brand p {
    margin: 22px 0 0;
    color: rgba(255, 253, 248, 0.68);
    font-size: 0.84rem;
}

.qr-footer__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 13px 24px;
}

.qr-footer__actions a {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 250, 241, 0.32);
    font-size: 0.7rem;
    font-weight: 760;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.qr-footer__actions a:hover {
    border-color: var(--unu-saffron-light);
    color: var(--unu-saffron-light);
}

.qr-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 58px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 250, 241, 0.16);
    color: rgba(255, 253, 248, 0.46);
    font-size: 0.62rem;
    font-weight: 720;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.qr-category-home.is-entering,
.qr-panel.is-entering {
    animation: qr-panel-in 320ms ease both;
}

@keyframes qr-panel-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
    .qr-dish-grid {
        grid-template-columns: 1fr;
    }

    .qr-dish--with-image {
        grid-template-columns: minmax(190px, 32%) minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .qr-shell {
        width: min(calc(100% - 32px), 1180px);
    }

    .qr-brandbar__inner {
        min-height: 70px;
    }

    .qr-brandbar .site-logo img {
        width: 88px;
    }

    .qr-brandbar .site-logo__descriptor {
        display: inline-block;
        padding-left: 10px;
        font-size: 0.53rem;
        letter-spacing: 0.12em;
    }

    .qr-back-link {
        font-size: 0.62rem;
    }

    .qr-category-home {
        min-height: calc(100svh - 70px);
        padding: 26px 0 72px;
    }

    .qr-category-home__header {
        margin-bottom: 22px;
    }

    .qr-category-home__header h1 {
        font-size: clamp(1.9rem, 7vw, 2.6rem);
    }

    .qr-category-grid {
        gap: 12px;
    }

    .qr-category-card {
        display: flex;
        min-height: 0;
        flex-direction: column;
        border-radius: 18px;
    }

    .qr-category-card__media {
        width: 100%;
        min-height: 0;
        flex: 0 0 auto;
        aspect-ratio: 1;
    }

    .qr-category-card__content {
        min-height: 82px;
        flex-direction: row;
        align-items: flex-end;
        gap: 6px;
        padding: 12px;
    }

    .qr-category-card__labels {
        flex: 1 1 auto;
        gap: 4px;
    }

    .qr-category-card__labels strong {
        font-size: clamp(1.1rem, 4.8vw, 1.55rem);
    }

    .qr-category-card__labels small {
        font-size: 0.56rem;
        letter-spacing: 0.12em;
    }

    .qr-category-card__arrow {
        width: 30px;
        height: 30px;
        flex: 0 0 auto;
        font-size: 0.95rem;
    }

    .qr-panel {
        padding: 22px 0 68px;
    }

    .qr-panel__back {
        margin-bottom: 18px;
    }

    .qr-panel__header {
        min-height: 104px;
        margin-bottom: 30px;
        padding: 14px 18px;
        border-radius: 18px;
    }

    .qr-panel__header p {
        margin-bottom: 6px;
        font-size: 0.58rem;
    }

    .qr-panel__header h2 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .qr-panel__groups {
        gap: 68px;
    }

    .qr-menu-group__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .qr-menu-group__header h3 {
        font-size: 0.73rem;
    }

    .qr-dish-grid {
        gap: 12px;
    }

    .qr-dish {
        min-height: 146px;
        border-radius: 18px;
    }

    .qr-dish--with-image {
        grid-template-columns: 116px minmax(0, 1fr);
    }

    .qr-dish__body,
    .qr-dish:not(.qr-dish--with-image) .qr-dish__body {
        padding: 18px 17px 16px;
    }

    .qr-dish:not(.qr-dish--with-image) .qr-dish__body {
        padding-left: 22px;
    }

    .qr-dish__topline {
        gap: 10px;
    }

    .qr-dish__topline h4 {
        font-size: 0.97rem;
        line-height: 1.19;
    }

    .qr-dish__heat img {
        width: 11px;
        height: 16px;
    }

    .qr-dish__price {
        font-size: 0.87rem;
    }

    .qr-dish__description {
        margin-top: 9px;
        font-size: 0.76rem;
        line-height: 1.4;
    }

    .qr-dish__meta {
        gap: 6px 12px;
        padding-top: 13px;
    }

    .qr-dish__meta dt {
        font-size: 0.51rem;
    }

    .qr-dish__meta dd {
        font-size: 0.62rem;
    }

    .qr-dish__zoom {
        right: 8px;
        bottom: 8px;
        width: 30px;
        height: 30px;
    }

    .qr-dish__zoom img {
        width: 16px;
        height: 16px;
    }

    .qr-lightbox {
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
    }

    .qr-lightbox__surface {
        border-radius: 15px;
    }

    .qr-lightbox img {
        max-height: calc(100dvh - 76px);
    }

    .qr-lightbox figcaption {
        min-height: 46px;
        padding: 13px 56px 13px 16px;
        font-size: 0.64rem;
    }

    .qr-lightbox__close {
        top: 9px;
        right: 9px;
        width: 38px;
        height: 38px;
    }

    .qr-allergens {
        padding-bottom: 78px;
    }

    .qr-allergens__details {
        border-radius: 22px;
    }

    .qr-allergens__details summary {
        min-height: 90px;
        padding: 22px;
    }

    .qr-allergens__toggle {
        width: 40px;
        height: 40px;
    }

    .qr-allergens__list {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 24px 30px 48px;
        font-size: 0.73rem;
    }

    .qr-footer__grid {
        align-items: flex-start;
        flex-direction: column;
    }

    .qr-footer__actions {
        justify-content: flex-start;
    }

    .qr-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}

@media (max-width: 370px) {
    .qr-brandbar .site-logo__descriptor {
        display: none;
    }

    .qr-category-card {
        min-height: 0;
    }

    .qr-category-card__content {
        min-height: 76px;
        gap: 4px;
        padding: 10px;
    }

    .qr-category-card__labels strong {
        font-size: 1.05rem;
    }

    .qr-category-card__labels small {
        font-size: 0.5rem;
    }

    .qr-category-card__arrow {
        width: 27px;
        height: 27px;
    }

    .qr-dish--with-image {
        display: block;
    }

    .qr-dish__media {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qr-category-home.is-entering,
    .qr-panel.is-entering {
        animation: none;
    }

    .qr-dish__media img {
        transition: none;
    }

    .qr-category-card__media img {
        transition: none;
    }
}

@media print {
    .qr-brandbar,
    .qr-category-home,
    .qr-panel__back,
    .qr-footer,
    .qr-allergens {
        display: none !important;
    }

    .qr-panel,
    .qr-panel[hidden] {
        display: block !important;
        padding: 30px 0;
        break-before: page;
    }

    .qr-panels > .qr-panel:first-child {
        break-before: auto;
    }

    .qr-panel__header {
        min-height: 0;
        margin-bottom: 30px;
        padding: 24px;
    }

    .qr-panel__header h2 {
        font-size: 42px;
    }

    .qr-dish {
        break-inside: avoid;
        box-shadow: none;
    }
}
