/* Order for collection, Book a table, and their thank-you / cancel pages: same look as the homepage
   (navy header with the shop-sign logo, gold labels, one gold italic word in a heading, thin lines). */
:root {
  --navy: #1f2c45; --navy-2: #2b3b5a; --oak: #e7d6bf; --oak-dk: #a8743f;
  --ink: #1d2433; --paper: #f6f1e9; --white: #ffffff; --blush: #f3e5d9;
  --sage: #c9d3b0; --sage-dk: #5d6b3e; --pink: #d63d71; --oak-lt: #d9b98f; --edge: #d9cfc0;
  --muted: #5d6170; --line: #e6ddd0; --error: #b42318;
  --display: Fraunces, Georgia, serif; --font: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .4em; color: var(--navy); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--oak-dk); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--oak-dk); }

.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 72px; gap: 12px; }
.word { font-family: var(--display); font-size: 22px; text-decoration: none; color: #fff; display: block; }
.word img { height: 40px; width: auto; }
.top .back { font-size: 15px; text-decoration: none; color: var(--oak-lt); padding: 10px 0; }

.preview-bar { background: #fff7d6; color: #3a3320; font-size: 14px; padding: 8px 16px; text-align: center; }

.head { padding: 44px 0 12px; }
.head h1 { font-size: clamp(40px, 7vw, 64px); }
.head p { color: var(--muted); margin: 0; max-width: 52ch; font-size: 17px; }
.head .label { margin: 0 0 12px; font-size: 12px; color: var(--oak-dk); }
.when { display: flex; align-items: center; gap: 10px; border-block: 1px solid var(--line); padding: 14px 0; margin: 22px 0 0; font-size: 15px; }
.when strong { color: var(--navy); }
.when i { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-dk); flex: none; }
.when.closed i { background: #c3cad8; }

/* Section tabs: plain words with a gold line under the section you're in; they stay at the top while you scroll. */
.tabs { position: sticky; top: 0; z-index: 5; background: var(--paper); display: flex; gap: 28px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; text-decoration: none; font-weight: 500; min-height: 52px; display: inline-flex; align-items: center; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); }
.tabs a.on { color: var(--navy); border-bottom-color: var(--oak-dk); }

.section { padding: 36px 0 8px; scroll-margin-top: 70px; }
.section h2 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 6px; }
/* Dishes in a list with thin lines between them, like the homepage menu (two columns on wider screens). */
.items { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } }
.item { display: flex; gap: 18px; align-items: center; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 22px 0; text-align: left; cursor: pointer; width: 100%; }
.item:hover { border-bottom-color: var(--oak-dk); }
.item .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.item h3 { font-family: var(--display); font-size: 19px; font-weight: 500; line-height: 1.25; color: var(--ink); margin: 0; }
.item p { margin: 0; color: var(--muted); font-size: 14.5px; }
.item .desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .allergens { font-size: 12.5px; color: #8a8d98; }
.item .price { font-weight: 500; color: var(--navy); font-size: 16px; padding-top: 6px; font-variant-numeric: tabular-nums; }
.item .ph { position: relative; width: 104px; height: 104px; flex: none; }
.item .ph img { width: 104px; height: 104px; object-fit: cover; border-radius: 14px; display: block; }
.item .add { align-self: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--navy); color: var(--navy); display: grid; place-items: center; font-size: 22px; line-height: 1; }
.item .ph .add { position: absolute; right: -8px; bottom: -8px; background: var(--navy); color: #fff; border: 0; box-shadow: 0 0 0 3px var(--paper); }
.empty { color: var(--muted); padding: 24px 0; }
.sec-note { margin: 0 0 4px; color: var(--oak-dk); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.section.off .item { opacity: .5; cursor: default; }
.section.off .item:hover { border-bottom-color: var(--line); }

/* The item sheet and the basket slide up from the bottom (a centred card on wide screens). */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 92svh; border-radius: 24px 24px 0 0; background: var(--white); color: var(--ink); }
@media (min-width: 720px) { .sheet { margin: auto; border-radius: 24px; } }
.sheet::backdrop { background: rgba(29, 36, 51, .5); }
.sheet form { display: flex; flex-direction: column; max-height: 92svh; }
.sheet .body { overflow-y: auto; padding: 20px 20px 8px; }
.sheet .foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sheet .foot .error { flex-basis: 100%; margin: 0; }
.sheet .foot .error:empty { display: none; }
.sheet h2 { font-size: 30px; margin-right: 40px; }
.close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(29, 36, 51, .15); cursor: pointer; font-size: 18px; z-index: 1; }
.sheet .photo { width: calc(100% + 40px); max-width: none; margin: -20px -20px 18px; height: 230px; object-fit: cover; border-radius: 24px 24px 0 0; }
.sheet p.desc { color: var(--muted); margin: 0 0 8px; }
fieldset { border: 0; padding: 0; margin: 22px 0 0; }
legend { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-dk); padding: 0; margin-bottom: 8px; display: flex; gap: 10px; align-items: baseline; }
legend small { color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 12.5px; }
/* Options as a list with thin lines, not boxes. */
.choice { display: flex; align-items: center; gap: 12px; padding: 13px 2px; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; margin: 0; cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.choice span { flex: 1; }
.choice small { color: var(--muted); font-variant-numeric: tabular-nums; }
.allergy { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--white); border: 1px solid var(--edge); border-radius: 999px; padding: 4px; }
.qty button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; font-size: 18px; }
.qty output { min-width: 26px; text-align: center; font-weight: 500; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 16px; text-decoration: none; border: 1.5px solid var(--navy); cursor: pointer; }
.btn.solid { background: var(--navy); color: #fff; flex: 1; }
.btn.solid:hover { background: var(--navy-2); }
.btn.solid:disabled { opacity: .6; cursor: default; }
.btn.soft { background: var(--oak); border-color: var(--oak); color: var(--ink); }

.basketbar { position: fixed; inset: auto 0 0 0; z-index: 10; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(246, 241, 233, 0), rgba(246, 241, 233, .92) 40%); }
.basketbar .btn { width: 100%; max-width: 560px; min-height: 56px; margin: 0 auto; display: flex; justify-content: space-between; box-shadow: 0 12px 30px rgba(31, 44, 69, .28); }
#bar-total { color: var(--oak); font-variant-numeric: tabular-nums; }
body.has-basket { padding-bottom: 90px; }

.lines { list-style: none; padding: 0; margin: 0 0 8px; }
.lines li { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lines .what { flex: 1; min-width: 0; }
.lines .what small { display: block; color: var(--muted); }
.lines .cost { font-weight: 500; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0 0; color: var(--muted); }
.fee small { display: block; font-size: 13px; }
.total { display: flex; justify-content: space-between; font-family: var(--display); font-size: 24px; color: var(--navy); padding: 10px 0; font-variant-numeric: tabular-nums; }
.field { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--edge); background: var(--white); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 44, 69, .12); outline: none; }
.field small { font-weight: 400; color: var(--muted); }
.small-print { font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.error { color: var(--error); font-size: 15px; margin: 10px 0 0; }

footer { margin-top: 56px; padding: 36px 0 44px; font-size: 14px; background: var(--navy); color: #c3cad8; }
footer a { color: #fff; }

/* Thanks page */
.thanks { max-width: 560px; margin: 0 auto; padding: 40px 16px 64px; text-align: center; }
.thanks h1 { font-size: clamp(36px, 7vw, 52px); }
.thanks .card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px; text-align: center; margin: 24px 0; }
.thanks .label { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--oak-dk); }
.thanks .big { font-family: var(--display); font-weight: 300; font-size: 56px; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.thanks p { color: var(--muted); }

@media (max-width: 719px) { .word img { height: 34px; } .head { padding-top: 32px; } .item .ph, .item .ph img { width: 92px; height: 92px; } }
