.coffee-menu-layout {
    display: grid;
    gap: 2rem;
}

.coffee-menu-column {
    min-width: 0;
}

.departments .panes .coffee-menu-section {
    margin: 0 0 1.5rem;
    table-layout: fixed;
    width: 100%;
}

.departments .panes .coffee-menu-section thead,
.coffee-menu-section-heading {
    border-bottom: 3px solid #fff;
}

.departments .panes .coffee-menu-section th {
    padding-bottom: 0.3rem;
    vertical-align: baseline;
}

.coffee-and-juice-bar .panes .coffee-menu-section h3 {
    font: normal 2.2rem/1 "Andada", Georgia, Times, serif;
    letter-spacing: -0.04em;
    text-transform: none;
}

.coffee-menu-sizes {
    font: normal 1.05rem/1 "Source Sans", "Helvetica Neue", Arial, sans-serif;
    white-space: nowrap;
    width: 45%;
}

.departments .panes .coffee-menu-section td {
    font: normal 1.05rem/1.15 "Source Sans", "Helvetica Neue", Arial, sans-serif;
    padding-bottom: 0.38rem;
    padding-top: 0.38rem;
    vertical-align: top;
}

.coffee-menu-item {
    padding-right: 0.65rem !important;
}

.coffee-menu-item-line {
    display: inline;
}

.coffee-menu-price-line {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.coffee-menu-subtext {
    display: block;
    font-size: 0.72em;
    line-height: 1.1;
    margin-top: 0.12rem;
}

.coffee-menu-size-note {
    font-size: 0.68em;
    margin-left: 0.18em;
    white-space: nowrap;
}

.coffee-allergen {
    color: #fff;
    display: inline-flex;
    line-height: 1;
    margin-left: 0.18em;
    vertical-align: -0.05em;
}

.coffee-allergen-symbol {
    fill: currentColor;
    height: 0.72em;
    overflow: visible;
    width: 0.72em;
}

.coffee-menu-brand {
    margin: 2rem auto 0;
    max-width: 220px;
    width: 58%;
}

.coffee-menu-brand img {
    display: block;
    width: 100%;
}

.coffee-allergen-legend {
    border: 2px solid #fff;
    display: flex;
    flex-wrap: wrap;
    font: normal 0.95rem/1 "Source Sans", "Helvetica Neue", Arial, sans-serif;
    gap: 0.65rem 1.15rem;
    justify-content: center;
    margin: 1.5rem 0 0;
    padding: 0.6rem 0.75rem !important;
}

.coffee-allergen-legend li {
    align-items: center;
    display: inline-flex;
    gap: 0.28rem;
}

.coffee-allergen-legend .coffee-allergen {
    margin-left: 0;
}

.coffee-menu-section-fallback ul {
    font: normal 1.05rem/1.25 "Source Sans", "Helvetica Neue", Arial, sans-serif;
    margin-top: 0.35rem !important;
}

.coffee-menu-section-fallback li {
    padding: 0.2rem 0;
}

.coffee-menu-section-heading {
    padding-bottom: 0.3rem;
}

.coffee-menu-sr-only {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media only screen and (min-width: 40.063em) {
    .coffee-menu-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coffee-menu-column-details {
        column-gap: 2rem;
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coffee-menu-column-details .coffee-allergen-legend {
        grid-column: 1 / -1;
    }
}

@media only screen and (min-width: 90em) {
    .coffee-and-juice-bar .container > .main {
        max-width: 1200px;
    }

    .coffee-menu-layout {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .coffee-menu-column-details {
        display: block;
        grid-column: auto;
    }

    .coffee-menu-column-details .coffee-allergen-legend {
        grid-column: auto;
    }
}

@media only screen and (max-width: 40em) {
    .coffee-menu-layout {
        gap: 0;
    }

    .coffee-menu-price-line {
        font-size: 0.9em;
    }

    .coffee-menu-brand {
        margin-bottom: 2rem;
        max-width: 180px;
    }
}
