/* Two stable ingredient selectors, with the answer underneath. */
.nm-home #inside .step-controls {
  display:flex;flex-wrap:nowrap;align-items:center;gap:5px;margin-block:13px 8px;
}
.nm-home #inside .step-controls button {
  min-height:44px;white-space:nowrap;border-radius:24px;border:1px solid #753e5238;
  padding:8px 13px;color:#673448;background:transparent;line-height:1.2;
}
.nm-home #inside .step-controls button[aria-pressed=true] {color:#fff9f1;background:#682d44;border-color:#682d44}
.nm-home #inside .step-controls button:hover,.nm-home #inside .step-controls button:focus-visible {background:#ecd7dd;color:#562738;border-color:#86425c}
.nm-home #inside .step-controls button:focus-visible {outline:2px solid #642c42;outline-offset:2px}
.nm-home #inside #storyText {min-height:5em;margin:0;align-content:start}
.nm-home #inside #storyText p {margin:0;line-height:1.5}
.nm-home #inside #storySurface .diagram {transition:opacity .18s}
.nm-home.flight-ready #journey .shell-turn img {filter:none;mix-blend-mode:normal}
.nm-home #storySurface .diagram-sample {
  position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;opacity:var(--preview-opacity,1);
}
.nm-home #storySurface .diagram-sample::before {
 content:"";width:min(62%,290px);aspect-ratio:1;background:var(--diagram-src,var(--diagram-src-initial)) center / contain no-repeat;
}
@media(max-width:767.98px) {
 .nm-home #flavours .picker {grid-template-columns:minmax(0,1fr) 44px}
 .nm-home #flavours .chip-window,.nm-home #flavours .flavour-dots {overflow:visible;mask:none;-webkit-mask:none}
 .nm-home #flavours .flavour-dots {display:flex;flex-wrap:wrap;justify-content:center;gap:0 3px;padding:0;scroll-snap-type:none}
 .nm-home #flavours .flavour-dots button {padding:4px 7px;min-width:44px;min-height:44px;flex:0 0 auto;flex-direction:row;gap:4px;font-size:clamp(11px,3vw,13px);white-space:nowrap}
 .nm-home #flavours .flavour-dots .swatch {width:9px;height:9px}
 .nm-home #flavours .phone-chip-name {display:none}
 .nm-home #flavours .flavour-dots .name {display:inline}
 .nm-home #inside .story-art {order:0;height:clamp(245px,34svh,340px)}
 .nm-home #inside .story-copy {order:1}
 .nm-home #inside #storyText {min-height:4.75em}
 .nm-home #inside .story-copy .step-controls {gap:4px;justify-content:center}
 .nm-home #inside .step-controls button {font-size:13px}
 .nm-home #storySurface .diagram-sample {display:none}
 /* The ring opens around the arriving pastry once their silhouettes intersect. */
 .nm-home.flight-ready #inside #storySurface .diagram {opacity:var(--ring-opacity,0)}
}
@media(min-width:1550px) {
 :root {--nm-measure:min(91vw,1720px)}
 .nm-home :is(#inside,#gift,#occasions,#visit) {--page-edge:max(4.5vw,calc((100vw - 104rem) / 2))}
 .nm-home :is(.story-inner,.gift-inner,#occasions>.wrap) {width:100%;max-width:none;padding-inline:var(--page-edge)}
 .nm-home #visit {padding-inline:var(--page-edge)}
}
.nm-page .nm-main {max-width:100%}
body.nm-page {overflow-x:clip}
@media (min-width:365px) and (max-width:767.98px) {
 .nm-home #flavours .picker {display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:0 3px;align-items:center;justify-items:center}
 .nm-home #flavours .picker :is(.chip-window,.flavour-dots) {display:contents}
 .nm-home #flavours .flavour-dots button {padding-inline:3px}
 .nm-home #flavours .paging {grid-column:3;grid-row:2;justify-self:center}
}
@media(max-width:767.98px) {
 .nm-home #inside .story-copy {margin-top:24px}
 .nm-home[data-journey=shell] #inside.shell-open #layerLabels {display:flex;opacity:1;right:0;top:7%;bottom:7%;width:19%;font-size:11px;line-height:1.2;color:#61394b}
 .nm-home #inside #layerLabels span {gap:3px}
 .nm-home #inside #layerLabels span::before {width:8px;flex:none}
}
@media (min-width:365px) and (max-width:767.98px) {
 .nm-home #flavours .picker {grid-template-columns:repeat(20,minmax(0,1fr));column-gap:0}
 .nm-home #flavours .flavour-dots button {min-width:0;max-width:100%;padding:2px;justify-self:center}
 .nm-home #flavours .flavour-dots button .name {font:inherit;letter-spacing:-.015em}
 .nm-home #flavours .flavour-dots button:nth-child(1) {grid-column:span 6}
 .nm-home #flavours .flavour-dots button:nth-child(2) {grid-column:span 5}
 .nm-home #flavours .flavour-dots button:nth-child(3) {grid-column:span 9}
 .nm-home #flavours .flavour-dots button:nth-child(4) {grid-column:span 5}
 .nm-home #flavours .flavour-dots button:nth-child(5) {grid-column:span 9}
 .nm-home #flavours .paging {grid-column:15 / -1}
}
