/* The detail photo is independent of intrinsic grid tracks, including on mobile WebKit. */
.product-page figure {
  position:relative;
  display:block;
  overflow:hidden;
  height:clamp(340px,62vh,740px);
  height:clamp(340px,62svh,740px);
}
.product-page figure img,.menu-photo img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  max-height:100%;
  object-fit:contain;
  object-position:center;
}
.product-page figure img{padding:clamp(14px,2.3vw,40px)}
.menu-photo img{padding:6% 12%}
.detail-actions,.detail-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px 22px}
.detail-actions .button{gap:9px;margin:0}
.detail-links .under,.detail-actions .under{font-size:.94rem}
.detail-recipe{margin-top:clamp(46px,7vw,108px);scroll-margin-top:16px}
.recipe-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:var(--paper);background:var(--ink);border-radius:30px;padding:8px 22px;font-size:.94rem;font-weight:700;pointer-events:auto;margin-top:clamp(8px,1.35svh,16px)}
.product-caption[aria-hidden="true"] .recipe-trigger{pointer-events:none}
.recipe-trigger:hover,.recipe-close:hover{filter:brightness(1.12)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.recipe-dialog {
  --paper:#ffe4ef;
  --ink:#62142e;
  width:min(1000px,calc(100vw - 48px));
  max-width:100%;
  max-height:calc(100vh - 40px);
  max-height:calc(100dvh - 40px);
  padding:0;border:0;border-radius:10px;
  background:var(--paper);color:var(--ink);
  overflow:auto;overscroll-behavior:contain;
}
.recipe-dialog::backdrop{background:rgb(43 12 30/.72)}
html:has(dialog[open]){overflow:hidden;overscroll-behavior:none}
body:has(dialog[open]){overflow:visible}
.recipe-close{position:absolute;z-index:3;top:12px;right:12px;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;color:var(--ink);background:var(--paper);border:1px solid color-mix(in srgb,var(--ink) 40%,transparent)}
.recipe-panel {
  --space:clamp(22px,3.5vw,52px);
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  grid-template-areas:"intro intro" "display details";
  align-items:center;gap:clamp(18px,2.6vw,32px) var(--space);
  padding:var(--space);
  background:var(--paper);color:var(--ink);
}
.detail-recipe .recipe-panel{background:color-mix(in srgb,var(--paper) 76%,var(--color));border-radius:5px}
.recipe-intro{grid-area:intro;padding-right:40px}
.recipe-intro>p{font-size:.94rem;font-weight:650;margin:0 0 6px}
.recipe-intro h2,.recipe-note h3{font-family:"Climate Crisis","Arial Black",sans-serif;font-weight:400;font-variation-settings:"YEAR" 1995;letter-spacing:-.045em}
.recipe-intro h2{font-size:clamp(28px,4.4vw,68px);line-height:1.05;overflow-wrap:anywhere}
.recipe-display{grid-area:display;position:relative;isolation:isolate;overflow:hidden;min-width:0;height:clamp(230px,34vw,368px);border-radius:6px;background:radial-gradient(ellipse at 45% 35%,color-mix(in srgb,var(--color) 70%,white),var(--color) 75%)}
.recipe-display::before{content:"";position:absolute;left:23%;right:23%;bottom:12%;height:9%;background:radial-gradient(ellipse closest-side,color-mix(in srgb,var(--ink) 24%,transparent),transparent)}
.ingredient-view{position:absolute;inset:0;cursor:grab;touch-action:pan-y;outline-offset:-5px;user-select:none;-webkit-user-select:none}
.ingredient-view.dragging{cursor:grabbing}
.ingredient-view .glass-form{position:absolute;display:block;inset:9% 14% 16%}
.ingredient-view img,.ingredient-view canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.ingredient-view .has-model img{visibility:hidden}
.rotate-hint{position:absolute;pointer-events:none;bottom:8px;inset-inline:10px;text-align:center;font-size:.78rem;font-weight:600}
.recipe-details{grid-area:details;display:grid;gap:clamp(12px,2vw,22px);min-width:0}
.recipe-info{display:grid;gap:inherit;min-width:0}
.recipe-options{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:0}
.recipe-options button{display:flex;align-items:center;gap:7px;text-align:left;border-radius:22px;min-height:44px;padding:4px 13px 4px 7px;border:1px solid color-mix(in srgb,var(--ink) 37%,transparent);font-weight:650;font-size:.93rem;line-height:1.16}
.recipe-options img{width:32px;height:32px;object-fit:contain}
.recipe-options [aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.recipe-note h3{font-size:clamp(20px,2.3vw,34px);line-height:1.1}
.recipe-note p{margin-top:6px;max-width:38ch;line-height:1.4}
.recipe-order{justify-self:start}
html:not(.js) .recipe-options,html:not(.js) .recipe-note{display:none}
.plain-ingredients{margin:0}.plain-ingredients dt{font-weight:700}.plain-ingredients dd{margin:0 0 10px}
@media (max-width:820px) and (min-width:621px){.recipe-intro h2{font-size:clamp(25px,4.1vw,48px)}}
@media (max-width:620px) {
  .product-page figure{height:clamp(245px,83vw,410px);height:clamp(245px,min(83vw,48svh),410px)}
  .product-page figure img{padding:clamp(12px,4.4vw,22px)}
  .detail-actions,.detail-links{gap:4px 15px}
  .footer-inner{grid-template-columns:minmax(0,1fr)}
  .footer-inner p{grid-column:1;grid-row:2}
  .footer-inner nav{grid-column:1;grid-row:3;flex-wrap:wrap}
  .recipe-dialog{width:calc(100% - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);border-radius:8px}
  .recipe-panel{--space:clamp(16px,4.3vw,26px);grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "display" "details";gap:14px}
  .recipe-intro>p{font-size:.84rem}.recipe-intro h2{font-size:clamp(25px,6.5vw,39px)}
  .recipe-close{top:7px;right:7px}.recipe-display{height:clamp(154px,25svh,235px)}
  .recipe-details{gap:12px}.recipe-options{gap:5px}.recipe-options button{font-size:.87rem;padding-right:10px}
  .recipe-note h3{font-size:clamp(20px,4.8vw,27px)}.recipe-note p{font-size:.94rem}
}
@media (max-height:530px) and (orientation:landscape){
  .recipe-dialog{max-height:calc(100dvh - 12px)}
  .recipe-panel{--space:14px;gap:12px 20px;grid-template-columns:1fr 1.2fr}
  .recipe-intro h2{font-size:26px}.recipe-intro>p{margin-bottom:3px}
  .recipe-display{height:clamp(154px,43svh,232px)}.recipe-details{gap:7px}.recipe-note h3{font-size:20px}
}
@media (max-width:767px), (pointer:coarse) and (max-width:980px){
  .recipe-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"intro intro" "display details" "order order"}
  .recipe-details{display:contents}
  .recipe-info{grid-area:details;gap:12px}
  .recipe-order{
    grid-area:order;display:flex;align-items:center;justify-content:center;justify-self:stretch;
    width:100%;min-height:50px;padding:12px 18px;gap:9px;border-radius:28px;
    color:var(--paper);background:var(--ink);text-decoration:none;font-size:1rem;
  }
  .recipe-order:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
}
@media (max-width:620px) and (orientation:portrait){
  .recipe-panel{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "display" "details" "order"}
}
