/* ================= 10 · PRICE LIST =================
   A calm room after the noisy ones: warm white, hairline borders, one accent per service. */
.pricing { --c: #ff4b2b; --line: rgb(21 19 26 / .14); position: relative; display: flex; flex-direction: column; gap: clamp(1rem, 2.6svh, 1.8rem); min-height: 100svh; padding: 88px clamp(1rem, 4vw, 4.5rem) 92px; background: #f3efe6; transition: background-color .5s; }
@supports (background: color-mix(in srgb, red 10%, white)) { .pricing { background: color-mix(in srgb, var(--c) 7%, #f6f3ec); } }

.price-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; width: 100%; max-width: 1560px; margin: 0 auto; }
.price-head .display { font-size: clamp(3rem, min(6.4vw, 10svh), 6.6rem); }
.price-head .display em { font-size: .84em; color: var(--ink); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c) 55%, transparent) 62% 90%, transparent 90%); padding-inline: .08em; }
.price-head p { margin-top: .5rem; color: rgb(21 19 26 / .72); font-weight: 500; }
.price-head-side { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.price-sample { font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border: 1.5px dashed var(--ink); border-radius: 99px; }
.view-switch { display: flex; gap: 4px; padding: 5px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 99px; }
.view-switch button { min-height: 40px; padding: 0 1.2rem; border: 0; border-radius: 99px; background: transparent; font-weight: 700; font-size: .92rem; transition: background-color .25s, color .25s; }
.view-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.price-body { flex: 1; display: grid; grid-template-columns: minmax(230px, .78fr) minmax(0, 1.45fr) minmax(290px, .92fr); grid-template-areas: "menu offer slip"; align-items: stretch; gap: clamp(.9rem, 1.8vw, 1.8rem); width: 100%; max-width: 1560px; margin: 0 auto; }
.price-body[data-view="pick"] .matrix-wrap { display: none; }
.price-body[data-view="all"] { grid-template-areas: "matrix matrix slip"; }
.price-body[data-view="all"] .menu-card, .price-body[data-view="all"] .offer { display: none; }

/* ---------- services ---------- */
.menu-card { grid-area: menu; display: flex; flex-direction: column; gap: .55rem; }
.dish { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; min-height: 68px; padding: .5rem .9rem .5rem .55rem; text-align: left; background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; transition: translate .3s var(--spring), border-color .25s, box-shadow .25s; }
.dish img { width: clamp(46px, 7svh, 62px); aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.dish span { display: flex; flex-direction: column; line-height: 1.25; }
.dish b { font-weight: 800; font-size: 1.04rem; }
.dish small { color: rgb(21 19 26 / .65); font-weight: 600; font-size: .8rem; font-variant-numeric: tabular-nums; }
.dish i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-style: normal; font-weight: 800; opacity: 0; translate: -8px 0; transition: .3s var(--spring); }
.dish:hover { translate: 4px 0; border-color: var(--ink); }
.dish[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 7px 0 0 var(--c), 0 14px 28px -20px rgb(21 19 26 / .5); }
.dish[aria-pressed="true"] i { opacity: 1; translate: 0; background: var(--c); }

/* ---------- the offer ---------- */
.offer { grid-area: offer; display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1.5px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 50px -38px rgb(21 19 26 / .5); }
.offer-art { position: relative; flex: 1 1 auto; min-height: clamp(160px, 24svh, 300px); background: var(--c); overflow: hidden; transition: background-color .45s; }
.offer-art::before { content: ""; position: absolute; left: 50%; bottom: -62%; width: 74%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: rgb(255 255 255 / .22); }
.offer-art img { position: absolute; left: 50%; top: 50%; height: 80%; max-width: 46%; aspect-ratio: 4 / 5; object-fit: cover; border: 5px solid var(--paper); border-radius: 14px; box-shadow: 0 22px 30px -16px rgb(0 0 0 / .55); translate: -50% 30%; opacity: 0; scale: .8; transition: translate .6s var(--spring), rotate .6s var(--spring), opacity .3s, scale .6s var(--spring); }
.offer-art img.in { opacity: 1; scale: 1; }
.offer-art img:nth-child(1) { z-index: 3; }
.offer-art img:nth-child(2) { z-index: 2; }
.offer-art img.in { translate: -50% -50%; }
.offer-art[data-count="2"] img:nth-child(1) { translate: -86% -48%; rotate: -6deg; }
.offer-art[data-count="2"] img:nth-child(2) { translate: -14% -52%; rotate: 6deg; }
.offer-art[data-count="3"] img:nth-child(1) { translate: -50% -50%; }
.offer-art[data-count="3"] img:nth-child(2) { translate: -128% -46%; rotate: -9deg; scale: .9; }
.offer-art[data-count="3"] img:nth-child(3) { translate: 28% -46%; rotate: 9deg; scale: .9; }

.offer-sheet { display: flex; flex-direction: column; gap: clamp(.65rem, 1.7svh, 1.1rem); padding: clamp(1rem, 2.2svh, 1.6rem) clamp(1rem, 1.8vw, 1.8rem); }
.offer-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; }
.offer-title h3 { font-weight: 800; font-stretch: 80%; font-size: clamp(1.7rem, min(2.8vw, 4.6svh), 2.7rem); line-height: 1; }
.offer-title p { color: rgb(21 19 26 / .65); font-size: .95rem; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.sizes label { position: relative; cursor: pointer; }
.sizes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sizes span { display: flex; flex-direction: column; align-items: center; height: 100%; padding: .55rem .3rem; border: 1.5px solid var(--line); border-radius: 16px; line-height: 1.3; transition: background-color .25s, color .25s, border-color .25s; }
.sizes b { font: 400 1.05rem/1.4 var(--chunk); }
.sizes small { font-weight: 700; font-size: .8rem; font-variant-numeric: tabular-nums; }
.sizes label:hover span { border-color: var(--ink); }
.sizes input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sizes input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.sizes em { position: absolute; left: 50%; top: -9px; translate: -50% 0; white-space: nowrap; padding: 0 .55rem; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--sun); font-style: normal; font-weight: 800; font-size: .62rem; line-height: 1.7; text-transform: uppercase; letter-spacing: .05em; }
.includes { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: .35rem 1.2rem; min-height: 3.4rem; font-weight: 550; font-size: .93rem; }
.includes li { display: flex; align-items: center; gap: .55rem; line-height: 1.3; animation: line-in .35s ease-out backwards; }
.includes li:nth-child(2) { animation-delay: 50ms; }
.includes li:nth-child(3) { animation-delay: .1s; }
.includes li:nth-child(4) { animation-delay: .15s; }
@keyframes line-in { from { opacity: 0; translate: 0 8px; } }
.includes li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--c) 28%, white); font-weight: 800; font-size: .72rem; }
.offer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; padding-top: clamp(.6rem, 1.6svh, 1rem); border-top: 1.5px dashed var(--line); }
.offer-price { font-weight: 800; font-stretch: 78%; font-size: clamp(2.2rem, min(3.8vw, 6.4svh), 3.7rem); line-height: 1; font-variant-numeric: tabular-nums; }
.offer-meta { color: rgb(21 19 26 / .65); font-weight: 600; font-size: .85rem; }
.add-btn { display: inline-flex; align-items: center; gap: .8rem; min-height: 56px; padding: 0 .55rem 0 1.5rem; border: 0; border-radius: 99px; background: var(--ink); color: var(--paper); font-weight: 750; transition: translate .25s var(--spring); }
.add-btn span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c); color: var(--ink); font-size: 1.5rem; transition: rotate .35s var(--spring); }
.add-btn:hover { translate: 0 -3px; }
.add-btn:hover span { rotate: 90deg; }

/* ---------- all prices ---------- */
.matrix-wrap { grid-area: matrix; min-width: 0; padding: .6rem 1rem 1rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: 28px; box-shadow: 0 30px 50px -38px rgb(21 19 26 / .5); }
.matrix { width: 100%; height: 100%; border-collapse: collapse; table-layout: fixed; }
.matrix thead th { padding: .6rem .4rem .7rem; text-align: left; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.matrix thead th:first-child { width: 27%; font-size: .85rem; }
.matrix thead b { display: block; font: 400 1.2rem/1.4 var(--chunk); }
.matrix thead small { display: block; color: rgb(21 19 26 / .6); font-weight: 600; font-size: .76rem; }
.matrix tbody tr + tr { border-top: 1.5px solid var(--line); }
.matrix tbody th { padding: .35rem .4rem .35rem 0; text-align: left; }
.matrix tbody th img { display: inline-block; vertical-align: middle; width: clamp(40px, 6.4svh, 58px); aspect-ratio: 1; object-fit: cover; margin-right: .7rem; border-radius: 12px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 5px var(--c); }
.matrix tbody th span { vertical-align: middle; font-weight: 800; font-size: .98rem; }
.matrix td { padding: .25rem; }
.matrix td button { position: relative; display: flex; flex-direction: column; justify-content: center; width: 100%; min-height: 62px; padding: .35rem .7rem; text-align: left; border: 1.5px solid transparent; border-radius: 14px; background: transparent; transition: background-color .2s, border-color .2s; }
.matrix td button b { font-weight: 800; font-stretch: 82%; font-size: clamp(1rem, 1.5vw, 1.4rem); line-height: 1.2; font-variant-numeric: tabular-nums; }
.matrix td button small { color: rgb(21 19 26 / .6); font-weight: 600; font-size: .74rem; }
.matrix td button i { position: absolute; right: 8px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c); font-style: normal; font-weight: 800; opacity: 0; scale: .5; transition: .25s var(--spring); }
.matrix td button:hover, .matrix td button:focus-visible { background: color-mix(in srgb, var(--c) 14%, white); border-color: var(--ink); }
.matrix td button:hover i, .matrix td button:focus-visible i { opacity: 1; scale: 1; }

/* ---------- order slip ---------- */
.slip { grid-area: slip; display: flex; flex-direction: column; min-width: 0; }
.slot-bar { position: relative; z-index: 2; height: 18px; border-radius: 99px; background: var(--ink); box-shadow: inset 0 -6px 0 #35313f; }
.paper { flex: 1; display: flex; flex-direction: column; gap: clamp(.5rem, 1.3svh, .85rem); margin: -9px 14px 0; padding: 1.5rem 1.1rem 1.6rem; background: var(--paper); filter: drop-shadow(0 18px 18px rgb(21 19 26 / .14));
  --tooth: 12px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 95% 100%, 90% calc(100% - 8px), 85% 100%, 80% calc(100% - 8px), 75% 100%, 70% calc(100% - 8px), 65% 100%, 60% calc(100% - 8px), 55% 100%, 50% calc(100% - 8px), 45% 100%, 40% calc(100% - 8px), 35% 100%, 30% calc(100% - 8px), 25% 100%, 20% calc(100% - 8px), 15% 100%, 10% calc(100% - 8px), 5% 100%, 0 calc(100% - 8px)); }
.printed .paper { animation: print .45s var(--spring); }
@keyframes print { 40% { translate: 0 10px; } }
.paper header { display: flex; flex-direction: column; align-items: center; padding-bottom: .5rem; border-bottom: 1.5px dashed var(--line); }
.paper header strong { font: 700 1.5rem/1.35 var(--logo); letter-spacing: -.025em; }
.paper header span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgb(21 19 26 / .6); }
.slip-lines { flex: 1 1 104px; min-height: 104px; max-height: 28svh; overflow-y: auto; display: flex; flex-direction: column; gap: .45rem; scrollbar-width: thin; }
.slip-lines li { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 .5rem; padding-left: .6rem; border-left: 5px solid var(--c); }
.slip-lines li div { display: flex; flex-direction: column; line-height: 1.25; }
.slip-lines b { font-size: .88rem; }
.slip-lines small { font-size: .74rem; font-weight: 650; color: rgb(21 19 26 / .65); font-variant-numeric: tabular-nums; }
.qty { display: flex; align-items: center; gap: .1rem; }
.qty button { width: 30px; height: 30px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: var(--paper); font-weight: 800; line-height: 1; }
.qty button:hover { border-color: var(--ink); background: var(--sun); }
.qty output { min-width: 1.8em; text-align: center; font-weight: 800; font-size: .88rem; }
.slip-lines .empty { flex: 1; display: flex; align-items: center; justify-content: center; gap: .9rem; padding: 0; border: 0; }
.slip-lines .empty img { height: min(100px, 12svh); width: auto; }
.slip-lines .empty p { max-width: 15ch; font: 1.2rem/1.2 var(--hand); }
.addons { display: grid; gap: .15rem; padding-top: .5rem; border-top: 1.5px dashed var(--line); }
.addons legend { float: left; width: 100%; margin-bottom: .2rem; padding: 0; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.addons label { display: flex; align-items: center; gap: .55rem; min-height: 28px; cursor: pointer; clear: both; }
.addons input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--ink); }
.addons span { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.addons b { font-weight: 600; font-size: .86rem; }
.addons small { font-weight: 700; font-size: .76rem; color: rgb(21 19 26 / .6); white-space: nowrap; }
.slip-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .55rem; border-top: 2px solid var(--ink); }
.slip-total span { font-weight: 800; }
.slip-total output { font-weight: 800; font-stretch: 80%; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.slip-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.send-order, .copy-order, .wa-order { min-height: 46px; border-radius: 99px; font-weight: 750; font-size: .92rem; transition: translate .2s var(--spring); }
.send-order { flex: 1; border: 0; background: var(--c); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.copy-order { padding: 0 1.1rem; border: 1.5px solid var(--ink); background: var(--paper); }
.wa-order { display: grid; place-items: center; width: 100%; background: var(--leaf); color: var(--ink); text-decoration: none; border: 1.5px solid var(--ink); }
.wa-order[aria-disabled] { opacity: .4; }
.send-order:hover:not(:disabled), .copy-order:hover:not(:disabled), .wa-order:hover { translate: 0 -2px; }
.slip-status { font-weight: 650; font-size: .78rem; line-height: 1.35; }
.slip-status:empty { display: none; }

/* ---------- short laptop screens: tighten up so the whole list and slip stay in one view ---------- */
@media (min-width: 1181px) and (max-height: 860px) {
  .pricing { gap: .7rem; padding-top: 76px; padding-bottom: 78px; }
  .price-head { align-items: center; flex-wrap: nowrap; }
  .price-head > div:first-child { display: flex; flex: 1; min-width: 0; align-items: baseline; gap: 1.5rem; }
  .price-head .display { white-space: nowrap; }
  .price-head-side { flex: none; flex-wrap: nowrap; }
  .addons legend { grid-column: 1 / -1; }
  .price-head .display { font-size: min(5vw, 8svh); }
  .price-head p { margin: 0; font-size: .95rem; }
  .dish { min-height: 52px; padding-block: .3rem; }
  .dish img { width: 42px; border-radius: 11px; }
  .offer-art { min-height: 120px; }
  .offer-sheet { gap: .55rem; padding: .75rem 1.3rem .85rem; }
  .offer-title h3 { font-size: 1.6rem; }
  .sizes span { padding-block: .25rem; }
  .sizes b { font-size: .95rem; }
  .includes { min-height: 0; gap: .2rem 1rem; font-size: .84rem; }
  .includes li::before { width: 17px; height: 17px; font-size: .62rem; }
  .offer-foot { padding-top: .5rem; }
  .offer-price { font-size: 2.2rem; }
  .add-btn { min-height: 46px; padding-left: 1.2rem; }
  .add-btn span { width: 34px; height: 34px; font-size: 1.25rem; }
  .paper { gap: .4rem; padding: .85rem .9rem 1.05rem; }
  .paper header { flex-direction: row; justify-content: space-between; align-items: baseline; padding-bottom: .3rem; }
  .paper header strong { font-size: 1.15rem; }
  .paper header span { font-size: .62rem; letter-spacing: .06em; }
  .slip-lines { flex-basis: 76px; min-height: 76px; }
  .slip-lines .empty img { height: 66px; }
  .slip-lines .empty p { font-size: 1.05rem; }
  .addons { grid-template-columns: 1fr 1fr; gap: .15rem .6rem; padding-top: .35rem; }
  .addons span { flex-direction: column; gap: 0; line-height: 1.2; }
  .addons b { font-size: .76rem; }
  .addons small { font-size: .68rem; }
  .addons label { min-height: 32px; gap: .4rem; }
  .slip-total { padding-top: .35rem; }
  .slip-total output { font-size: 1.5rem; }
  .send-order, .copy-order, .wa-order { min-height: 40px; }
  .matrix thead th { padding-block: .25rem .35rem; }
  .matrix thead small { display: none; }
  .matrix tbody th img { width: 38px; }
  .matrix td button { min-height: 50px; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .price-body { grid-template-columns: minmax(0, 1.35fr) minmax(290px, 1fr); grid-template-areas: "menu menu" "offer slip"; }
  .price-body[data-view="all"] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "matrix" "slip"; }
  .price-body[data-view="all"] .slip { width: min(460px, 100%); justify-self: center; }
  .menu-card { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .dish { flex: 1 0 auto; grid-template-columns: auto auto; }
  .dish i { display: none; }
  .dish:hover { translate: 0; }
  .dish[aria-pressed="true"] { box-shadow: inset 0 -5px 0 var(--c); }
  .slip-lines { max-height: 34svh; }
}
@media (max-width: 760px) {
  .pricing { min-height: 0; padding: 80px 1rem 5.5rem; }
  .price-body, .price-body[data-view="all"] { grid-template-columns: minmax(0, 1fr); }
  .price-body { grid-template-areas: "menu" "offer" "slip"; }
  .menu-card { margin-inline: -1rem; padding-inline: 1rem; scroll-snap-type: x proximity; }
  .dish { scroll-snap-align: start; min-width: 188px; }
  .offer-art { flex: none; height: 230px; }
  .includes { grid-template-columns: 1fr; }
  .sizes { gap: .4rem; }
  .sizes small { font-size: .72rem; }
  .offer-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .add-btn { justify-content: space-between; }
  .slip-lines { max-height: none; overflow: visible; }
  .paper { margin-inline: 8px; }
  /* the table becomes one small card per service */
  .matrix-wrap { padding: 0; background: none; border: 0; box-shadow: none; }
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; width: auto; height: auto; }
  .matrix thead { display: none; }
  .matrix tbody tr { margin-bottom: .8rem; padding: .8rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; }
  .matrix tbody tr + tr { border-top: 1.5px solid var(--line); }
  .matrix tbody th { padding: 0 0 .5rem; }
  .matrix td { display: grid; grid-template-columns: 5.2rem 1fr; align-items: center; padding: .15rem 0; }
  .matrix td::before { content: attr(data-tier); font: 400 .95rem/1.4 var(--chunk); }
  .matrix td button { min-height: 52px; border-color: var(--line); }
  .matrix td button i { opacity: 1; scale: 1; }
}
/* very narrow panes: package sizes stack, the switch stays on one line */
@media (max-width: 340px) {
  .view-switch button { padding: 0 .75rem; white-space: nowrap; font-size: .82rem; }
  .price-sample { font-size: .7rem; }
  .sizes { grid-template-columns: 1fr; gap: .7rem; }
  .sizes span { flex-direction: row; justify-content: space-between; padding-inline: .9rem; }
}
