.food-heading:has(.coffee-section){grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;margin-bottom:40px}
.food-heading:has(.coffee-section)>h2{max-width:none}
.food-heading-actions:has(.coffee-section){width:100%;max-width:none;min-width:0}
.food-heading-actions:has(.coffee-section)>p{max-width:58ch}
.coffee-section{color:var(--paper);margin-top:24px}
.coffee-tabs{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:100%;margin:0 0 16px;padding:3px;border:1px solid var(--accent-bright);border-radius:9px;gap:2px}
.coffee-tabs button{min-height:44px;padding:6px clamp(10px,3vw,24px);border:0;border-radius:5px;background:transparent;color:var(--paper);font:600 clamp(18px,3.6vw,24px)/1.15 Barlow,'Arial Narrow',Arial,sans-serif;cursor:pointer}
.coffee-tabs button[aria-selected=true]{color:var(--ink);background:var(--accent-bright)}
.coffee-tabs button:hover:not([aria-selected=true]){text-decoration:underline;text-underline-offset:3px}
.coffee-tabs button:focus-visible,.coffee-section [role=tabpanel]:focus-visible{outline:2px solid var(--paper);outline-offset:3px}
.coffee-section [hidden]{display:none}
.coffee-empty{color:var(--paper);margin:0 0 14px}
.coffee-new-badge{grid-area:1/3;justify-self:end}
.coffee-item-heading:has(.coffee-new-badge) .coffee-name{grid-column:2}
.coffee-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:16px}
.coffee-item{min-width:0;background:var(--paper);color:var(--ink);border-radius:14px;container-type:inline-size}
.coffee-item article{padding:22px 24px;height:100%;display:flex;flex-direction:column;gap:16px}
.coffee-item-heading{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:7px 12px;align-items:start}
.coffee-cup-icon{grid-column:1;grid-row:1;color:var(--accent);margin-top:3px}
.coffee-name{grid-column:2/-1;grid-row:1;margin:0;min-width:0;font:600 28px/1.15 Barlow,'Arial Narrow',Arial,sans-serif;letter-spacing:-.015em;color:var(--accent-deep);overflow-wrap:anywhere}
.coffee-item-heading:has(.coffee-arrival) .coffee-name{grid-column:2}
.coffee-item-meta{grid-column:2/-1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:12px;align-items:start;min-width:0}
.coffee-roaster{grid-column:1;font-size:16px;line-height:1.45;color:var(--muted);margin:0;overflow-wrap:anywhere}
.coffee-tasting{border-top:1px solid var(--line);padding-top:12px}
.coffee-tasting-label{display:block;font-size:13px;line-height:1.4;color:var(--muted)}
.coffee-notes{font-size:17px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere;white-space:pre-line}
.coffee-notes-empty{margin-top:0;color:var(--muted)}
.coffee-charge{grid-column:2;grid-row:1;display:flex;align-items:center;gap:7px;font-size:16px;line-height:1.45;font-weight:700;color:var(--accent-deep);margin:0;white-space:nowrap}
.coffee-charge svg{flex:none}
.coffee-arrival{grid-column:3;grid-row:1;display:grid;place-items:center;width:52px;min-height:44px;padding:4px;margin:-7px -8px 0 0;border:0;border-radius:8px;background:transparent;color:var(--accent-deep);cursor:pointer}
.coffee-arrival-label{padding:4px 7px;border-radius:5px;background:var(--accent-deep);color:var(--white);font:700 12px/1.25 Atkinson,Arial,sans-serif;letter-spacing:.04em}
.coffee-arrival:hover .coffee-arrival-label{background:var(--accent)}
.coffee-arrival:focus-visible,.coffee-arrival-info button:focus-visible{outline:2px solid var(--accent-deep);outline-offset:3px}
.coffee-arrival-info{position:fixed;inset:0;margin:auto;width:min(320px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font:16px/1.5 Atkinson,Arial,sans-serif}
.coffee-arrival-info strong{color:var(--accent-deep)}.coffee-arrival-info p{margin-top:8px}
.coffee-arrival-info button{display:block;margin:16px auto 0;min-height:44px;padding:8px 24px;border:1px solid var(--accent-deep);border-radius:8px;background:var(--paper);color:var(--accent-deep);font:700 15px/1.3 Atkinson,Arial,sans-serif;cursor:pointer}
.coffee-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.coffee-preview-empty{padding:20px;border:1px solid var(--line);border-radius:10px}
@media(min-width:768px){
 /* Six tracks allow complete half-width and third-width rows in reading order. */
 .coffee-list{grid-template-columns:repeat(6,minmax(0,1fr))}
 .coffee-item{grid-column:span 3}
 .coffee-list:is([data-count="3"],[data-count="6"],[data-count="9"])>.coffee-item,
 .coffee-list[data-count="5"]>.coffee-item:nth-child(-n+3),
 .coffee-list[data-count="7"]>.coffee-item{grid-column:span 2}
 .coffee-list[data-count="1"]>.coffee-item,
 .coffee-list[data-count="7"]>.coffee-item:first-child{grid-column:1/-1}
 .coffee-list[data-count="1"]>.coffee-item article,
 .coffee-list[data-count="7"]>.coffee-item:first-child article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:32px}
 .coffee-list:is([data-count="1"],[data-count="7"])>.coffee-item:first-child .coffee-name{text-wrap:balance}
 .coffee-list[data-count="1"] .coffee-tasting,
 .coffee-list[data-count="7"]>.coffee-item:first-child .coffee-tasting{border-top:0;border-left:1px solid var(--line);padding:0 0 0 24px}
}
@media(min-width:1101px){
 .food-heading:has(.coffee-section){grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:40px}
 .food-heading-actions:has(.coffee-section){display:contents}
 .food-heading-actions:has(.coffee-section)>p{grid-column:2;grid-row:1;align-self:center}
 .food-heading-actions>.coffee-section{grid-column:1/-1;grid-row:2;margin-top:4px}
}
@media(max-width:1100px){.coffee-item article{padding:20px}.coffee-name{font-size:26px}}
@container(max-width:280px){
 .coffee-item article{padding:16px;gap:14px}
 .coffee-item-heading{grid-template-columns:20px minmax(0,1fr) auto;column-gap:8px}
 .coffee-cup-icon{width:20px;height:20px}
 .coffee-name{font-size:24px}
 .coffee-item-meta{grid-column:1/-1;column-gap:8px}
 .coffee-roaster,.coffee-charge{font-size:14px}
 .coffee-notes{font-size:16px}
}
@media(max-width:767px){
 .food-heading:has(.coffee-section){gap:16px;margin-bottom:32px}
 .coffee-section{margin-top:24px}
 .coffee-list{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:14px;align-items:start}
 .coffee-item article{padding:20px;height:auto;gap:14px}
 .coffee-name{font-size:26px}.coffee-roaster{font-size:15px}.coffee-notes{font-size:16px}.coffee-charge{font-size:15px}
}
@media(forced-colors:active){.coffee-item{border:1px solid CanvasText}.coffee-arrival{border:1px solid ButtonText}}
