/* PRODUCT PAGE: one dish, one ticket. Builds on site.css; the chrome is untouched. */
.pdp { padding-block: .5rem clamp(2.5rem, 6vw, 4.5rem); }

/* THE TICKET: stacked on phones (photo, tear, text), side by side from 56rem */
.pticket { --pad: clamp(1.25rem, 3vw, 2rem); flex-direction: column; }
.pticket > .stub { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
.pticket > .stub::after { left: calc(50% - var(--notch) / 2); right: auto; top: auto; bottom: calc(var(--notch) / -2); }
.pticket > .tear { flex: none; margin: 0; }
.pticket > .tear--v { display: none; }
.pticket > .ticket__body { flex: 1 1 auto; }
@media (min-width: 56rem) {
  .pticket { flex-direction: row; min-height: max(30rem, calc(100vh - var(--nav-space) - 4.5rem)); min-height: max(30rem, calc(100svh - var(--nav-space) - 4.5rem)); }
  .pticket > .stub { flex: 0 0 46%; aspect-ratio: auto; }
  .pticket > .stub::after { left: auto; right: calc(var(--notch) / -2); top: calc(50% - var(--notch) / 2); bottom: auto; }
  .pticket > .tear--h { display: none; }
  .pticket > .tear--v { display: block; }
}

/* TEXT SIDE: name, kind in plain words, line, price on its dotted leader */
.pbody { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.25rem, 4vw, 3.5rem); }
.pbody h1 { margin: 0 0 .15em; }
.kind { margin: 0 0 1rem; font: 600 1.25rem/1.3 var(--text); }
.pbody .lede { margin-bottom: 2rem; }
.pbody .leader { font-size: 1.25rem; }
.pbody .leader > span:first-child { font-weight: 600; }
.pbody .price { font-size: 1.875rem; line-height: 1; }
.pbody .price--ask { font-size: 1.125rem; line-height: 1.2; white-space: normal; text-align: right; }
.pnote { margin: .75rem 0 0; }

/* THE ORDER STUB (set piece): hangs from the ticket's bottom edge; its top perforation is punched left to right once */
.ostub { --pad: 1.125rem; position: relative; z-index: 1; width: min(100%, 30rem); margin: calc(var(--line) * -1) 0 0 clamp(1rem, 6vw, 4rem); border-top: 0; }
.ostub .tear { margin: calc(var(--pad) * -1) calc(var(--pad) * -1) var(--pad); }
.ostub__say { margin: 0 0 .25rem; font: 600 var(--fs-small)/1.2 var(--text); }
.ostub__words { margin: 0 0 .5rem; font: 400 clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem)/1.1 var(--display); text-wrap: balance; }
.ostub__call { margin: 0; }
.js .ostub:not(.is-punched) .tear { clip-path: inset(-1rem 100% -1rem -1rem); }
.js .ostub.is-punched .tear { clip-path: inset(-1rem); transition: clip-path 200ms steps(var(--dashes, 12), end), border-color var(--fast); }

/* COPY AND SIDE: lead and two paragraphs on five columns, details and stop on three */
.pmain { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(.5rem, 2vw, 1rem); }
.pcopy h2 { margin-bottom: .45em; }
.pcopy > p { max-width: 36rem; }
.poffer { margin-top: 1.75rem; max-width: 36rem; padding: 1rem var(--pad); }
.poffer .small { margin: .5rem 0 0; }
.poffer a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.pside { display: grid; gap: var(--gap); }
.ptile { --pad: 1.25rem; }
.ptile h2 { margin-bottom: .25rem; }
.ptile .specs > div:last-child { border-bottom: 0; }
.pstop { --pad: 1rem; }
.pstop .stamp { display: grid; gap: .5rem; }
.pstop h2 { margin: 0; font-size: 1.875rem; }
.pstop p { margin: 0; }
.pstop__place { font-weight: 600; }
.pstop__tel { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }

/* LINKS AND NEIGHBOURS: previous and next dish as two small tickets */
.plinks { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin: clamp(1.5rem, 3vw, 2.5rem) 0 1rem; }
.plinks a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; }
.pn { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
@media (min-width: 40rem) { .pn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pn .ticket__body { display: flex; flex-direction: column; justify-content: center; }
.pn p { margin: 0; }
.pn .pn__dir { margin-bottom: .35rem; font-weight: 600; }
.pn .name { margin-bottom: .1rem; }
.pn__prev:hover .arrow, .pn__prev:focus-visible .arrow { transform: translateX(-.25rem); }
