/* Fonts, served from this site rather than Google Fonts, so no visitor data goes to Google on page load. All SIL Open Font License (fonts/OFL-LICENSE.txt). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/caveat-latin-600-normal.woff2") format("woff2"); }

/* The Coffee Bean, 64 Mary Street, Dublin 1
   Colours taken from the shopfront: the slate-grey fascia, the burgundy
   awning and terrace screens, the white sign lettering, and the warm cream
   of the menu boards. */

:root {
  --fascia: #2b3236;       /* slate shopfront */
  --fascia-deep: #1d2225;  /* shopfront in shade */
  --moulding: #3d464b;     /* highlight on the shopfront mouldings */
  --leaf: #f1e4c8;         /* cream menu board */
  --teak: #a3253a;         /* burgundy awning */
  --signage: #a3253a;
  --signage-deep: #7d1a2b;
  --sage: #a3253a;         /* script accents use the awning colour */
  --blush: #f6e3e1;
  --wall: #faf4ea;         /* warm cream */
  --white: #ffffff;
  --ink: #241f1d;
  --muted: #5d5551;
  --line: #e8dccd;
  --error: #a3261b;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; max-width: 65ch; }

a { color: var(--signage); }
a:hover { color: var(--signage-deep); }

:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--fascia-deep);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-block;
  font: 600 1rem/1 var(--sans);
  padding: 0.95rem 1.5rem;
  border-radius: 4px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn-light { background: var(--white); color: var(--fascia-deep); }
.btn-light:hover { background: var(--leaf); color: var(--fascia-deep); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--fascia-deep); }
.btn-accent { background: var(--signage); color: var(--white); }
.btn-accent:hover { background: var(--signage-deep); color: var(--white); }
.btn-block { display: block; width: 100%; }

.text-link {
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Header: styled on the shop fascia ---------- */

.fascia {
  background: var(--fascia);
  color: var(--white);
  border-top: 6px solid var(--fascia-deep);
  box-shadow:
    inset 0 2px 0 var(--moulding),
    inset 0 -3px 0 var(--fascia-deep),
    inset 0 -5px 0 var(--moulding);
  position: relative;
  z-index: 10;
}

.fascia-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1rem var(--gutter) 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--white);
  text-decoration: none;
}
.wordmark:hover { color: var(--white); }
.wordmark img { max-height: 56px; width: auto; }
.wordmark { align-items: center; }
.wordmark-badge { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px var(--leaf); }
.wordmark-main { font-family: var(--serif); font-size: 1.75rem; line-height: 1; color: var(--white); }
.wordmark-sub { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--leaf); }
@media (max-width: 420px) { .wordmark-badge { width: 44px; height: 44px; } .wordmark-main { font-size: 1.4rem; } .wordmark-sub { display: none; } }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.site-nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  padding: 0.55rem 0.9rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--leaf); }
.site-nav a.nav-book {
  background: var(--leaf);
  color: var(--fascia-deep);
  border-radius: 4px;
  border-bottom: 0;
  margin-left: 0.5rem;
  font-weight: 600;
}
.site-nav a.nav-book:hover { background: var(--white); }
.site-nav a.nav-book[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--fascia-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  width: 48px;
  height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--white);
  transform: translateX(-50%);
  content: "";
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--fascia-deep);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 0.9rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 1.125rem; }
  .site-nav a[aria-current="page"] { color: var(--leaf); border-bottom-color: rgba(255, 255, 255, 0.12); }
  .site-nav a.nav-book { margin: 1rem 0 0; padding: 0.95rem; text-align: center; }
}

/* ---------- Home: hero ---------- */

.hero {
  background: var(--fascia);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr;
}
.hero-text {
  padding: clamp(2.5rem, 7vw, 5rem) var(--gutter);
  align-self: center;
}
.hero-text h1 { max-width: 11ch; }
.hero-lede {
  font-size: 1.2rem;
  color: #efe6d3;
  max-width: 38ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 40%;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: min(78vh, 720px);
  }
  .hero-text {
    padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    padding-right: clamp(2rem, 5vw, 4rem);
  }
  .hero-photo img { aspect-ratio: auto; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-head h2 { margin: 0; }

.dish-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .dish-row { grid-template-columns: repeat(3, 1fr); }
}
.dish a {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1rem;
  text-decoration: none;
  color: var(--ink);
}
.dish img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 0.9rem;
}
.dish-name { font-family: var(--serif); font-size: 1.3rem; }
.dish-price { color: var(--teak); font-weight: 600; font-variant-numeric: tabular-nums; }
.dish a:hover .dish-name { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 639px) {
  .dish img { aspect-ratio: 4 / 3; }
}

.inside { background: var(--wall); }
.inside-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .inside-grid { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
}
.inside-photo { width: 100%; }

.visit-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.visit-address { font-size: 1.25rem; }
.visit-photo {
  position: relative;
  display: block;
  color: var(--white);
  text-decoration: none;
}
.visit-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.visit-photo span {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--fascia);
  padding: 0.8rem 1.2rem;
  font-weight: 600;
}
.visit-photo:hover span { background: var(--fascia-deep); color: var(--white); }

.hours { margin: 1.25rem 0 1.5rem; }
.hours div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.35rem 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours-large { max-width: 26rem; border-top: 1px solid var(--line); }
.hours-large div { border-bottom: 1px solid var(--line); padding: 0.6rem 0; }

/* ---------- Inner page intro ---------- */

.page-intro {
  background: var(--wall);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}
.page-intro p { color: var(--muted); }

/* ---------- Menu ---------- */

.menu-jump {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 0.25rem;
  scrollbar-width: none;
}
.menu-jump::-webkit-scrollbar { display: none; }
.menu-jump a {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--fascia);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--white);
}
.menu-jump a:hover { background: var(--fascia); color: var(--white); }

.menu-layout { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 900px) {
  .menu-layout { columns: 2; column-gap: 4.5rem; }
}

.menu-section {
  break-inside: avoid;
  margin-bottom: 3rem;
  scroll-margin-top: 1.5rem;
}
.menu-section h2 {
  font-size: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--fascia);
  margin-bottom: 0.5rem;
}
.menu-note { font-family: var(--sans); font-size: 1rem; color: var(--muted); margin-left: 0.25rem; }

.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-item { padding: 1rem 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.menu-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.menu-item h3 { margin: 0; font-size: 1.2rem; }
.price {
  color: var(--teak);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.allergens { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--fascia); margin-left: 0.35rem; white-space: nowrap; }
.allergens abbr { text-decoration: none; cursor: help; margin-right: 0.2rem; }
.menu-desc { color: var(--ink); margin: 0.3rem 0 0; font-size: 1rem; }
.menu-extra { color: var(--muted); margin: 0.15rem 0 0; font-size: 0.95rem; }

.allergen-key {
  break-inside: avoid;
  background: var(--wall);
  padding: 1.5rem;
}
.allergen-key h2 { font-size: 1.5rem; }
.allergen-key dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1.5rem; font-size: 0.95rem; }
.allergen-key div { display: flex; gap: 0.6rem; }
.allergen-key dt { font-weight: 600; color: var(--fascia); min-width: 1.6rem; }
.allergen-key dd { margin: 0; }
@media (max-width: 480px) {
  .allergen-key dl { grid-template-columns: 1fr; }
}

.cta-band { background: var(--fascia); color: var(--white); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-inner h2 { margin: 0; }

/* ---------- Booking ---------- */

.booking-layout {
  display: grid;
  gap: 2.5rem;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
@media (min-width: 900px) {
  .booking-layout { grid-template-columns: 1fr 1.35fr; gap: 4.5rem; align-items: start; }
}
.booking-side p { color: var(--muted); }
.booking-photo { margin-top: 2rem; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 899px) {
  .booking-photo { display: none; }
}

.booking-form fieldset { border: 0; margin: 0 0 1.5rem; padding: 0; }
.booking-form legend {
  font-family: var(--serif);
  font-size: 1.5rem;
  padding: 0;
  margin-bottom: 1rem;
}
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.optional { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #c9bcae;
  border-radius: 4px;
  padding: 0.75rem 0.85rem;
  min-height: 50px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--leaf);
  outline-offset: 0;
  border-color: var(--fascia);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.95rem; font-weight: 500; margin: 0.35rem 0 0; }

.form-alert {
  background: #fbeceb;
  border-left: 5px solid var(--error);
  color: var(--error);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.privacy-note { color: var(--muted); font-size: 0.95rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.confirmation {
  background: var(--wall);
  border-left: 6px solid var(--fascia);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

/* ---------- Gallery ---------- */

.gallery {
  list-style: none;
  margin: 0;
  padding: 2.5rem 0 4rem;
  columns: 1;
  column-gap: 1rem;
}
@media (min-width: 560px) { .gallery { columns: 2; } }
@media (min-width: 960px) { .gallery { columns: 3; } }

.gallery li { break-inside: avoid; margin-bottom: 1rem; }
.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery-item img { width: 100%; }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  color: var(--white);
}
.lightbox::backdrop { background: rgba(28, 30, 34, 0.95); }
.lightbox figure {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 4.5rem 2rem;
}
.lightbox img { max-height: calc(100vh - 9rem); max-width: 100%; width: auto; object-fit: contain; }
.lightbox figcaption { margin-top: 1rem; text-align: center; }
.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.25); }
.lb-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
.lb-close { right: 0.75rem; top: 0.75rem; font-size: 1.75rem; }
@media (max-width: 600px) {
  .lightbox figure { padding: 4rem 0.75rem 5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--fascia-deep);
  color: #e6ddcf;
  padding: 3rem 0 1.5rem;
  border-top: 5px solid var(--signage);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 1.5rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-col p { margin: 0 0 0.4rem; }
.footer-name { font-family: var(--serif); font-size: 1.5rem; color: var(--white); }
.footer-heading { font-weight: 600; color: var(--white); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--leaf); }
.site-footer .hours { margin: 0; }
.site-footer .hours div { padding: 0.15rem 0; }
.footer-legal {
  max-width: var(--wrap);
  margin: 2.5rem auto 0;
  padding: 1.25rem var(--gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

/* ---------- Directions & map ---------- */

.directions-address {
  font-size: 1.25rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}
.eircode {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.directions-apps {
  margin: 0.9rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.directions-apps a { white-space: nowrap; }

.map-strip { padding-top: 0; }
.map-frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--wall);
  overflow: hidden;
}
.map-frame > * {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 440px);
  border: 0;
}

/* The placeholder shown until someone asks for the map */
.map-load {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 2rem 1.25rem;
  font-family: var(--sans);
  color: var(--ink);
  text-align: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(54, 59, 66, 0.05) 18px 36px),
    var(--wall);
  cursor: pointer;
}
.map-load:hover { background-color: #f1e8db; }
.map-load-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--fascia);
}
.map-load-note { font-weight: 500; max-width: 28rem; }
.map-load-small { font-size: 0.875rem; color: var(--muted); }

/* ---------- Cookie notice ---------- */

.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--fascia-deep);
  color: var(--white);
  border-top: 3px solid var(--leaf);
}
.cookie[hidden] { display: none !important; }
.cookie-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1 1 22rem;
  margin: 0;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.5;
}
.cookie-text a { color: var(--leaf); }
.cookie-do { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-do .btn { padding: 0.6rem 1.1rem; }

@media (max-width: 560px) {
  .cookie-do { width: 100%; }
  .cookie-do .btn { flex: 1; }
}

/* ---------- Privacy / long-form text ---------- */

.prose { max-width: 46rem; padding-bottom: 3rem; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.35rem; }

/* ---------- Booking consent ---------- */

.consent { margin: 1.25rem 0; }
.consent-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.45;
}
.consent-label input {
  width: 22px; height: 22px;
  margin-top: 0.15rem;
  flex: none;
}

.slot-note {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--error);
}
.slot-note[hidden] { display: none; }

/* Footer "Cookie settings" — a button, because it opens something rather than
   going somewhere, but dressed to sit in a line of links. */
.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.link-button:hover { color: var(--leaf); }

/* ======================================================================
   Event catering
   Modelled on the soundsystemhire.ie hero: persuasive copy on the left, a
   price card on the right that answers "what will it cost?" before asking
   for anything, then one field.
   ====================================================================== */

.catering-hero {
  background: var(--fascia);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.75rem) 0;
}
.catering-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) {
  .catering-hero-grid { grid-template-columns: 1fr minmax(0, 31rem); gap: 4rem; }
}
.catering-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
}
.catering-copy h1 { color: var(--white); max-width: 15ch; }
.catering-lede { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); max-width: 38rem; }
.catering-proof {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
}
.catering-proof li { color: rgba(255, 255, 255, 0.82); }
.catering-proof strong { color: var(--white); }
.catering-textlink { color: var(--leaf); font-weight: 600; }
.catering-textlink:hover { color: var(--white); }

/* --- the price card --- */
.price-card {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--leaf);
}
.pc-title { margin: 0; font-size: 1.65rem; }
.pc-sub { color: var(--muted); margin: 0.2rem 0 0.4rem; font-size: 0.95rem; }
.pc-block { border: 0; padding: 0; margin: 0; min-width: 0; }
.pc-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.1rem 0 0.55rem;
  padding: 0;
  font-weight: 600;
  font-size: 0.97rem;
}
.pc-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  border-radius: 50%;
  background: var(--fascia);
  color: var(--white);
  font-size: 0.8rem;
}
.pc-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pc-pill { position: relative; }
.pc-pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pc-pill span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.pc-pill:hover span { border-color: var(--fascia); }
.pc-pill input:checked + span { background: var(--fascia); border-color: var(--fascia); color: var(--white); }
.pc-pill input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }

.pc-guests-row { display: flex; align-items: center; gap: 1rem; }
.pc-range { flex: 1; min-width: 0; accent-color: var(--fascia); height: 2rem; cursor: pointer; }
.pc-guests-out { min-width: 5.6rem; text-align: right; font-size: 0.95rem; color: var(--muted); }
.pc-guests-out strong { font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.pc-hint { margin: 0.25rem 0 0; font-size: 0.84rem; color: var(--muted); max-width: none; }

.pc-select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.pc-select:focus { border-color: var(--fascia); outline: none; }


.pc-capture { margin-top: 1.15rem; }
.pc-prompt { display: block; margin: 0 0 0.5rem; font-weight: 500; font-size: 0.97rem; }
.pc-form-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pc-input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.pc-input:focus { border-color: var(--fascia); outline: none; }
.pc-input[aria-invalid="true"] { border-color: var(--error); }
.pc-submit { flex: 0 0 auto; }
.pc-reassure { margin: 0.6rem 0 0; font-size: 0.82rem; color: var(--muted); max-width: none; }
.pc-error { margin: 0.45rem 0 0; color: var(--error); font-size: 0.92rem; font-weight: 500; }
.pc-success { text-align: center; padding: 0.75rem 0.5rem 0.25rem; }
.pc-success h3 { margin: 0.4rem 0 0.25rem; }
.pc-success p { margin: 0 auto; color: var(--muted); }
.pc-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--fascia);
  color: var(--white);
  font-size: 1.4rem;
}

/* --- how it works --- */
.catering-steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) { .catering-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.catering-steps li { position: relative; padding-top: 3.25rem; }
.catering-step-num {
  position: absolute;
  top: 0; left: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--fascia-deep);
  font-family: var(--serif);
  font-size: 1.25rem;
}
.catering-steps p { color: var(--muted); }

/* --- packages --- */
.catering-packages-section { background: var(--wall); }
.package-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.package-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem;
}
.package-card h3 { margin-bottom: 0.35rem; }
.package-price { margin: 0.25rem 0 1rem; }
.package-price strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--fascia-deep); }
.package-card .btn { align-self: flex-start; }
.package-note { margin-top: 1.25rem; font-size: 0.92rem; color: var(--muted); }

/* --- videos (hidden until any are configured) --- */
.catering-videos {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
.catering-video iframe,
.catering-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  background: #000;
}
.catering-video-title { margin: 0.5rem 0 0; font-weight: 600; }

/* --- full enquiry form --- */
.catering-enquiry { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .catering-enquiry { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
}
.catering-enquiry-side p { color: var(--muted); }
.catering-next { padding-left: 1.2rem; margin: 1rem 0 1.5rem; }
.catering-next li { margin-bottom: 0.35rem; }
.catering-side-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

.field-label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; flex: 1 1 12rem; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: block;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-weight: 500;
}
.choice:hover span { border-color: var(--fascia); }
.choice input:checked + span { border-color: var(--fascia); background: var(--blush); }
.choice input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }

/* --- FAQ --- */
.catering-faq-section { background: var(--wall); }
.catering-faq { max-width: 50rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.6rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.15rem;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--fascia);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 1.15rem 1.1rem; margin: 0; color: var(--muted); max-width: none; }

/* --- home page teaser --- */
.catering-teaser { background: var(--fascia-deep); color: var(--white); padding: clamp(2.25rem, 5vw, 3.25rem) 0; }
.catering-teaser-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.catering-teaser h2 { color: var(--white); margin-bottom: 0.35rem; }
.catering-teaser p { color: rgba(255, 255, 255, 0.85); margin: 0; }

/* Location box on the catering price card: full width, outside the phone/email row. */
.pc-location { display: block; width: 100%; }

/* Weekend warning on the booking page — it has to be read, not skimmed past. */
.booking-notice {
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--teak);
  background: #fdf3ec;
  border-radius: 0 8px 8px 0;
}
/* Small note under a field, e.g. why the stools are worth asking for. */
.field-hint { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- Home page additions ---------- */

/* Hero: the shopfront photo runs full width, text sits on a charcoal wash. */
.hero-photo-bleed { position: relative; overflow: hidden; }
.hero-eyebrow {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 1rem;
}
.hero-text h1 { max-width: 12ch; }
.hero-h1-aside {
  display: block;
  font-family: "Caveat", cursive;
  font-size: 0.42em;
  color: var(--leaf);
  margin-top: 0.35em;
  letter-spacing: 0;
}
.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
}
.rating-chip:hover { background: rgba(255, 255, 255, 0.2); color: var(--white); }
.rating-stars { color: #f2b544; letter-spacing: 0.05em; }

@media (min-width: 900px) {
  .hero-photo-bleed { display: block; min-height: min(86vh, 760px); }
  .hero-photo-bleed .hero-photo { position: absolute; inset: 0; }
  .hero-photo-bleed .hero-photo img { height: 100%; object-position: 60% 30%; }
  .hero-photo-bleed .hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 33, 37, 0.92) 0%, rgba(30, 33, 37, 0.74) 32%, rgba(30, 33, 37, 0.12) 62%, rgba(30, 33, 37, 0) 100%);
  }
  .hero-photo-bleed .hero-text {
    position: relative;
    z-index: 1;
    max-width: calc(var(--wrap) * 0.55 + (100vw - var(--wrap)) / 2);
    min-height: min(86vh, 760px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
@media (max-width: 899px) {
  .hero-photo-bleed .hero-photo img { aspect-ratio: 3 / 2; object-position: 50% 20%; }
}

.script-kicker {
  font-family: "Caveat", cursive;
  font-size: 1.6rem;
  color: var(--sage);
  margin-bottom: 0.25rem;
}
.inside-photo { border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(36, 40, 45, 0.45); }
.dish img { border-radius: 6px; }

.reviews { background: var(--fascia); color: var(--white); }
.reviews .text-link { color: var(--leaf); }
.review-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--wall);
  color: var(--ink);
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--signage);
}
.review-stars { color: #e0a22e; letter-spacing: 0.08em; }
.review blockquote { margin: 0.75rem 0 1rem; flex: 1; }
.review blockquote p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; margin: 0; }
.review-name { color: var(--muted); font-size: 0.9rem; font-weight: 600; margin: 0; }

.section-lede { color: var(--muted); margin-top: -0.75rem; margin-bottom: 1.75rem; }
.photo-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .photo-strip { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.photo-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .photo-strip a:hover img, .dish a:hover img { transform: scale(1.02); }
  .dish img { transition: transform 0.3s ease; }
}
.breakfast { background: var(--white); }
.visit { background: var(--wall); }

/* ---------- The Coffee Bean: video hero ----------
   The film is portrait (9:16), shot for phones. On a phone it fills the
   screen behind the headline. On a wider screen it sits as a tall card next
   to the text instead of being blown up and cropped to landscape, which
   would make a 540px-wide file look soft. */

.hero-video-split { position: relative; overflow: hidden; }
.hero-media { position: relative; background: var(--fascia-deep); }
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--fascia-deep) url("../images/hero-poster.webp") center / cover no-repeat;
}
.video-toggle {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  font: 600 0.8rem/1 var(--sans);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 0;
  background: rgba(29, 34, 37, 0.7);
  color: var(--white);
  cursor: pointer;
}
.video-toggle:hover { background: rgba(29, 34, 37, 0.9); }
.video-toggle .video-toggle-play { display: none; }
.video-toggle[aria-pressed="true"] .video-toggle-play { display: inline; }
.video-toggle[aria-pressed="true"] .video-toggle-pause { display: none; }

@media (max-width: 899px) {
  .hero-video-split { display: block; min-height: 88svh; }
  .hero-video-split .hero-media { position: absolute; inset: 0; }
  .hero-video-split .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(29, 34, 37, 0.25) 0%, rgba(29, 34, 37, 0.55) 28%, rgba(29, 34, 37, 0.88) 52%, rgba(29, 34, 37, 0.96) 100%);
    pointer-events: none;
  }
  .hero-video-split .video-toggle { top: 0.85rem; bottom: auto; }
  .hero-video-split .hero-text {
    position: relative;
    z-index: 1;
    min-height: 88svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 2.5rem;
  }
  .hero-video-split .hero-text h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .hero-video-split .hero-text { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
}

@media (min-width: 900px) {
  .hero-video-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    min-height: min(88vh, 800px);
    background:
      radial-gradient(ellipse at 85% 50%, rgba(163, 37, 58, 0.35), transparent 60%),
      var(--fascia);
  }
  .hero-video-split .hero-text { order: 1; }
  .hero-video-split .hero-media {
    order: 2;
    justify-self: center;
    width: min(100%, calc(min(78vh, 700px) * 9 / 16));
    aspect-ratio: 9 / 16;
    margin: 2.5rem var(--gutter) 2.5rem 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.06);
    transform: rotate(1.5deg);
  }
}

/* ---------- Behind the counter ---------- */

.kitchen { background: var(--wall); }
.kitchen-grid { display: grid; gap: 2.5rem; align-items: center; }
.kitchen-media {
  justify-self: center;
  width: min(100%, 340px);
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: var(--fascia-deep) url("../images/kitchen-poster.webp") center / cover no-repeat;
  box-shadow: 0 24px 48px -24px rgba(29, 34, 37, 0.55);
}
.kitchen-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo { border-radius: 8px; margin-top: 1.75rem; box-shadow: 0 18px 40px -22px rgba(29, 34, 37, 0.5); }
@media (min-width: 900px) {
  .kitchen-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; }
}

/* ---------- Small extras ---------- */

.reviews-cta { margin: 2rem 0 0; text-align: center; max-width: none; }
.visit-phone { font-weight: 600; font-size: 1.1rem; }
.price-large { font-weight: 400; font-size: 0.9em; color: var(--muted); white-space: nowrap; }
.site-nav a.nav-order {
  border: 2px solid var(--leaf);
  border-radius: 4px;
  margin-left: 0.5rem;
  font-weight: 600;
}
.site-nav a.nav-order:hover { background: rgba(255, 255, 255, 0.1); }
.wordmark-badge { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); background: #fff; }
.script-kicker { font-size: 1.85rem; }
.hero-h1-aside { font-size: 0.5em; }
.dish img, .photo-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .hero-video-split .hero-media { transform: none; }
}

/* ---------- Home: photo version (index.php) ----------
   Photo on the right half, text on the left. Half the width keeps the
   ~1000px photo sharp on a big screen. */
.hero-photo-split .hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 45%;
}
@media (min-width: 900px) {
  .hero-photo-split { min-height: min(84vh, 760px); }
  .hero-photo-split .hero-photo { order: 2; position: relative; }
  .hero-photo-split .hero-photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .hero-photo-split .hero-text { order: 1; }
}

/* ---------- Home: video version (home-video.php) ----------
   Phone: the film fills the screen at close to its real size, with a dark
   fade only behind the text at the bottom.
   Desktop: the film is portrait and 576px wide, so it sits on the right at
   about its real size, in a phone-shaped frame, on the dark shopfront colour.
   No dark wash over it. */
.hero-video-bg { position: relative; display: block; overflow: hidden; min-height: min(88svh, 820px); background: var(--fascia-deep); }
.hero-video-bg .hero-media { position: absolute; inset: 0; background: none; }
.hero-video-bg .hero-video { background: var(--fascia-deep) url("../images/kitchen-poster-hq.webp") center / cover no-repeat; }
.hero-video-bg .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(29, 34, 37, 0) 0%, rgba(29, 34, 37, 0) 26%, rgba(29, 34, 37, 0.6) 50%, rgba(29, 34, 37, 0.92) 100%);
}
.hero-video-bg .hero-text {
  position: relative;
  z-index: 1;
  min-height: min(88svh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero-video-bg .video-toggle { top: 0.85rem; bottom: auto; }
@media (min-width: 900px) {
  .hero-video-bg .hero-media::after { display: none; }
  .hero-video-bg {
    background:
      radial-gradient(ellipse at 78% 50%, rgba(163, 37, 58, 0.35), transparent 60%),
      var(--fascia);
  }
  .hero-video-bg .hero-video {
    position: absolute;
    top: 50%;
    right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    height: min(78vh, 720px);
    width: auto;
    aspect-ratio: 9 / 16;
    transform: translateY(-50%);
    border-radius: 18px;
    box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.75), 0 0 0 6px rgba(255, 255, 255, 0.08);
  }
  .hero-video-bg .hero-text {
    justify-content: center;
    max-width: calc(var(--wrap) * 0.6 + (100vw - var(--wrap)) / 2);
    padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  }
  .hero-video-bg .video-toggle {
    top: auto;
    bottom: calc(50% - min(39vh, 360px) + 0.85rem);
    right: calc(max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) + 0.85rem);
  }
}
@media (max-width: 760px) {
  .site-nav a[href="home-video.php"] { font-size: 1rem; }
}
.hero-video-bg .rating-chip, .hero-video-bg .hero-actions { align-self: flex-start; }

/* ---------- Booking picker (OpenTable style) ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.picker-card {
  background: var(--white);
  border: 1px solid #e3e5e8;
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 10px 30px -18px rgba(29, 34, 37, 0.35);
}
.picker-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  margin: 0 0 1.25rem;
}
.picker-field {
  position: relative;
  display: flex;
  align-items: center;
  background: #f1f2f4;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.picker-field:focus-within { box-shadow: 0 0 0 2px var(--signage); }
.picker-icon {
  position: absolute;
  left: 0.95rem;
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  pointer-events: none;
}
.picker-field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23241f1d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.85rem center / 1.1rem;
  font: 500 1.05rem/1.2 var(--sans);
  color: var(--ink);
  padding: 1.05rem 2.4rem 1.05rem 3.1rem;
  cursor: pointer;
  border-radius: 8px;
}
.picker-field select:focus { outline: none; }
.picker-field select[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); }
.picker-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.6rem; }
.picker-results { margin-top: 0.75rem; transition: opacity 0.15s; }
.picker-results.is-loading { opacity: 0.45; }
.picker-message {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: #f1f2f4;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-size: 0.97rem;
  margin: 0 0 1.1rem;
  max-width: none;
}
.picker-message svg { flex: 0 0 1.2rem; width: 1.2rem; height: 1.2rem; fill: var(--ink); margin-top: 0.1rem; }
.picker-label { font-size: 1.05rem; margin: 0 0 0.65rem; }
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
@media (max-width: 380px) { .slot-grid { grid-template-columns: repeat(3, 1fr); } }
.slot-btn {
  font: 700 1rem/1 var(--sans);
  color: var(--white);
  background: var(--signage);
  border: 0;
  border-radius: 6px;
  padding: 0.9rem 0.25rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.slot-btn:hover { background: var(--signage-deep); }
.slot-btn:active { transform: scale(0.97); }
.slot-btn.is-picked { background: var(--fascia); box-shadow: 0 0 0 3px var(--leaf), 0 0 0 5px var(--fascia); }
.picker-foot { font-size: 0.9rem; color: var(--muted); margin: 1.25rem 0 0; max-width: none; }
.picker-search { margin-top: 0.5rem; }

.picker-details {
  margin-top: 1.25rem;
  background: var(--white);
  border: 1px solid #e3e5e8;
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  scroll-margin-top: 1rem;
}
.picker.js:not(.has-details) .picker-details { display: none; }
.picker.js.has-details .picker-details { animation: picker-in 0.25s ease-out; }
@keyframes picker-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .picker.js.has-details .picker-details { animation: none; } }
.picker-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--wall);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.25rem;
}
.picker-summary p { margin: 0; }
.picker-extras { margin: 0.25rem 0 1.25rem; }
.picker-extras summary { cursor: pointer; font-weight: 600; color: var(--signage); margin-bottom: 0.75rem; }
.picker-extras .optional { color: var(--muted); font-weight: 400; }
@media (max-width: 480px) {
  .picker-row { grid-template-columns: 1fr; gap: 0; }
}
.picker .consent-label { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; font-size: 0.95rem; }
.picker .consent-label input { margin-top: 0.2rem; width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
/* On a phone the picker comes first: that is what people came for. */
@media (max-width: 899px) {
  .booking-layout .booking-main { order: -1; }
}

/* ---------- Click and collect (order.php) ----------
   Laid out like the usual ordering apps: sticky section tabs, a list of dishes
   with a "+", a basket on the right (a bottom sheet on phones). */
.order-top { background: var(--fascia); color: var(--white); padding: clamp(2rem, 5vw, 3rem) 0 1.5rem; }
.order-top h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.25rem; }
.order-sub { color: var(--leaf); margin-bottom: 1rem; }
.order-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1); border-radius: 999px;
  padding: 0.45rem 0.95rem; font-weight: 600; font-size: 0.95rem; margin: 0;
}
.order-status .dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #4cc38a; box-shadow: 0 0 0 4px rgba(76, 195, 138, 0.25); }
.order-status.is-closed { background: rgba(163, 37, 58, 0.5); }
.order-preview { margin: 0.9rem 0 0; font-size: 0.9rem; color: #f3d9a0; }

.order-tabs {
  position: sticky; top: 0; z-index: 20;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 14px -12px rgba(0, 0, 0, 0.3);
}
.order-tabs-inner { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.order-tabs-inner::-webkit-scrollbar { display: none; }
.order-tabs a {
  flex: 0 0 auto; padding: 0.95rem 0.9rem; color: var(--muted); font-weight: 600;
  text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap;
}
.order-tabs a:hover { color: var(--ink); }
.order-tabs a.is-active { color: var(--signage); border-bottom-color: var(--signage); }

.order-layout { display: grid; gap: 2rem; padding-top: 1.5rem; padding-bottom: 6rem; }
@media (min-width: 1000px) {
  .order-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 2.5rem; align-items: start; }
}
.order-section { scroll-margin-top: 4.5rem; margin-bottom: 2.25rem; }
.order-section h2 { font-size: 1.6rem; margin-bottom: 0.15rem; }
.order-until { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.75rem; }
.order-items { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 700px) { .order-items { grid-template-columns: 1fr 1fr; } }
.order-item {
  position: relative; display: flex; gap: 0.9rem; align-items: stretch; width: 100%; height: 100%;
  text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--white); border: 1px solid #e3e5e8; border-radius: 10px; padding: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.order-item:hover { border-color: #c9cdd2; box-shadow: 0 8px 22px -16px rgba(0, 0, 0, 0.4); }
.order-item-text { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; padding-right: 1.4rem; }
.order-item-name { font-weight: 700; }
.order-item-desc {
  color: var(--muted); font-size: 0.9rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.order-item-price { margin-top: auto; font-weight: 600; }
.order-item-more { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.order-item-img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; flex: 0 0 96px; }
.order-item-add {
  position: absolute; right: 0.6rem; bottom: 0.6rem;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--signage); color: var(--white); font-size: 1.35rem; line-height: 1; font-weight: 600;
  box-shadow: 0 4px 10px -4px rgba(163, 37, 58, 0.7);
}
.order-item:has(.order-item-img) .order-item-add { right: 0.4rem; bottom: 0.4rem; }

/* Basket */
.basket-card {
  background: var(--white); border: 1px solid #e3e5e8; border-radius: 12px;
  padding: 1.25rem; box-shadow: 0 14px 34px -24px rgba(0, 0, 0, 0.45);
}
.basket-head { display: flex; justify-content: space-between; align-items: center; }
.basket-head h2 { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; margin: 0; }
.basket-close { display: none; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.basket-empty { color: var(--muted); margin: 1rem 0 0.25rem; }
.basket-lines { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.basket-line { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.8rem 0; border-bottom: 1px solid #eef0f2; }
.basket-line-name { font-weight: 600; margin: 0; }
.basket-line-opts { color: var(--muted); font-size: 0.85rem; margin: 0.15rem 0 0.4rem; }
.basket-line-price { font-weight: 600; margin: 0; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; gap: 0.6rem; }
.qty-btn {
  width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1.5px solid #cfd3d8; background: var(--white);
  font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--ink); display: grid; place-items: center;
}
.qty-btn:hover { border-color: var(--signage); color: var(--signage); }
.qty-lg .qty-btn { width: 2.4rem; height: 2.4rem; font-size: 1.3rem; }
.qty-lg span { min-width: 1.5rem; text-align: center; font-weight: 700; font-size: 1.1rem; }
.basket-card.is-empty .basket-body { display: none; }
.basket-total { display: flex; justify-content: space-between; font-size: 1.15rem; margin: 1rem 0 0.15rem; }
.basket-pay { color: var(--muted); font-size: 0.9rem; margin: 0 0 1rem; }
.basket-card .field { margin-bottom: 0.9rem; }
.basket-card .field label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.95rem; }
.basket-card select, .basket-card input[type="text"], .basket-card input[type="tel"], .basket-card input[type="email"], .basket-card textarea {
  width: 100%; font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #cfd3d8; border-radius: 8px; background: var(--white);
}
.basket-card .optional { color: var(--muted); font-weight: 400; }
.checkout-details { display: none; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid #eef0f2; }
.basket-card.show-details .checkout-details { display: block; }
.basket-card.show-details .js-continue { display: none; }
.basket-card .consent-label { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem; margin-bottom: 0.75rem; }
.basket-card .consent-label input { margin-top: 0.2rem; }
.basket-card .privacy-note { font-size: 0.85rem; color: var(--muted); }
.basket-card .form-error { background: #fbeaea; color: var(--error); padding: 0.7rem 0.85rem; border-radius: 8px; margin: 0.75rem 0 0; }

@media (min-width: 1000px) {
  .order-basket { position: sticky; top: 4.5rem; max-height: calc(100vh - 5.5rem); overflow-y: auto; }
}

/* Phones: basket bar + sheet */
.basket-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 40;
  display: flex; align-items: center; gap: 0.75rem; justify-content: space-between;
  background: var(--signage); color: var(--white); border: 0; border-radius: 12px;
  padding: 0.95rem 1.1rem; font: 600 1.05rem/1 var(--sans); cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(125, 26, 43, 0.8);
}
.basket-bar[hidden] { display: none; }
.basket-bar-count { background: rgba(255, 255, 255, 0.22); border-radius: 6px; padding: 0.3rem 0.55rem; }
.basket-bar.bump { animation: bump 0.35s ease; }
@keyframes bump { 50% { transform: scale(1.04); } }
@media (min-width: 1000px) { .basket-bar { display: none !important; } }
@media (max-width: 999px) {
  .order-basket {
    position: fixed; inset: 0; z-index: 60; background: rgba(20, 22, 25, 0.5);
    display: flex; align-items: flex-end; visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0.2s;
  }
  .order-basket.is-open { visibility: visible; opacity: 1; }
  .order-basket .basket-card {
    width: 100%; max-height: 92vh; overflow-y: auto; border-radius: 16px 16px 0 0;
    transform: translateY(30px); transition: transform 0.25s ease;
  }
  .order-basket.is-open .basket-card { transform: none; }
  .basket-close { display: block; }
  body.sheet-open { overflow: hidden; }
}

/* Item dialog */
.item-dialog {
  border: 0; padding: 0; border-radius: 16px; width: min(560px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 2rem); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
}
.item-dialog::backdrop { background: rgba(20, 22, 25, 0.55); }
.item-dialog-inner { display: flex; flex-direction: column; max-height: calc(100vh - 2rem); position: relative; }
.item-dialog-img { width: 100%; height: 220px; object-fit: cover; flex: 0 0 auto; }
.item-dialog-body { padding: 1.25rem 1.25rem 0.5rem; overflow-y: auto; }
.item-dialog-body h2 { font-family: var(--sans); font-weight: 700; font-size: 1.4rem; margin: 0 0 0.35rem; }
.item-dialog-desc { color: var(--muted); margin: 0 0 0.5rem; }
.item-dialog-base { font-weight: 600; margin: 0 0 1rem; }
.opt-group { border: 0; padding: 0; margin: 0 0 1.1rem; }
.opt-group legend {
  display: flex; justify-content: space-between; width: 100%; font-weight: 700;
  background: #f1f2f4; padding: 0.6rem 0.75rem; border-radius: 8px; margin-bottom: 0.25rem;
}
.opt-req { font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.opt { display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0.75rem; border-bottom: 1px solid #f0f1f3; cursor: pointer; }
.opt input { width: 1.15rem; height: 1.15rem; accent-color: var(--signage); }
.opt-label { flex: 1; }
.opt-price { color: var(--muted); font-size: 0.95rem; }
.opt-note { display: block; margin: 0.5rem 0 1rem; }
.opt-note span { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.opt-note textarea { width: 100%; font: inherit; padding: 0.65rem 0.75rem; border: 1px solid #cfd3d8; border-radius: 8px; }
.item-dialog-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1.25rem; border-top: 1px solid #eef0f2; background: var(--white);
}
.item-dialog-foot .btn { flex: 1; max-width: 18rem; }
.item-dialog-close {
  position: absolute; top: 0.6rem; right: 0.6rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, 0.92); font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
@media (max-width: 600px) {
  .item-dialog { width: 100vw; max-width: 100vw; max-height: 94vh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
}

.order-toast {
  position: fixed; left: 50%; bottom: 5.5rem; transform: translate(-50%, 20px); z-index: 70;
  background: var(--fascia-deep); color: var(--white); padding: 0.65rem 1rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.order-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1000px) { .order-toast { bottom: 2rem; } }

/* Order placed */
.order-done { padding: clamp(3rem, 8vw, 5rem) 0; background: var(--wall); }
.order-done-inner { max-width: 640px; text-align: center; }
.order-done-inner p { margin-left: auto; margin-right: auto; }
.order-done-tick {
  width: 4.5rem; height: 4.5rem; margin: 0 auto 1.25rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 2.2rem; color: var(--white); background: #2f9e6b;
}
.order-done-facts { display: grid; gap: 0.5rem; margin: 1.5rem auto; max-width: 420px; text-align: left; }
.order-done-facts div { display: flex; justify-content: space-between; background: var(--white); border-radius: 8px; padding: 0.75rem 1rem; }
.order-done-facts dt { color: var(--muted); }
.order-done-facts dd { margin: 0; font-weight: 700; }
.btn-outline-dark { border-color: var(--fascia); color: var(--fascia); }
.site-nav a.nav-order { border-color: var(--leaf); }
.order-section.is-unavailable .order-item { opacity: 0.5; cursor: not-allowed; }
.order-section.is-unavailable .order-item:hover { box-shadow: none; border-color: #e3e5e8; }
.order-section.is-unavailable .order-item-add { background: var(--muted); box-shadow: none; }
.order-section.is-unavailable .order-until { color: var(--signage); font-weight: 600; }
/* The map placeholder hides once the real map loads. Without this, its
   display:flex beat the hidden attribute and pushed the map out of view. */
.map-frame [hidden] { display: none !important; }
