/* Ambre Bar and Restaurant — brand layer on top of site.css (same components, own look).
   Colours sampled from the Ambre logo: gold script on black stone. */

body.ambre {
  --charcoal: #171615;     /* near-black — header, hero, footer */
  --charcoal-2: #24221f;
  --gold: #e2b04f;         /* logo gold — on dark backgrounds only */
  --gold-ink: #82561a;     /* dark gold for text/links on light backgrounds (AA) */
  --ivory: #f5efe4;
  --ink: #1d1b19;
  --muted: #5f5850;
  --line: #e4ddd2;
  --bg: #f8f5ef;
}
.ambre .site-header, .ambre .site-nav.open { border-color: #34302b; }
.ambre .book-bar { background: rgba(23, 22, 21, .97); border-top-color: #34302b; }
.ambre .btn-ghost { border-color: #4a443c; }
.ambre [id] { scroll-margin-top: 76px; } /* anchors clear the sticky header */

/* Logo badge: round, with a gold ring, like the sign on the door */
.a-badge { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .35); object-fit: cover; }
.footer-badge { width: 120px; height: 120px; border-width: 3px; margin: 0 0 10px; }
.ambre .brand-sub { letter-spacing: .2em; color: var(--gold); opacity: .85; }

/* Home hero: the door photo, text over a dark fade on phones, side by side on wider screens */
.a-hero { position: relative; background: var(--charcoal); color: var(--ivory); }
.a-hero-photo { position: relative; height: min(68svh, 560px); overflow: hidden; }
.a-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 45%; }
.a-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,22,21,0) 45%, rgba(23,22,21,.85) 88%, var(--charcoal)); }
.credit { position: absolute; right: 8px; top: 8px; z-index: 1; font-size: .7rem; color: #fff; opacity: .75; background: rgba(0,0,0,.35); padding: 2px 8px; border-radius: 999px; margin: 0; }
.a-hero-text { position: relative; margin-top: -96px; padding-bottom: 36px; }
.a-hero h1 { color: var(--gold); font-size: clamp(2.1rem, 9vw, 3.4rem); margin-bottom: .2em; }
.a-hero .lede { max-width: 34ch; }
.hours-line { font-size: .92rem; opacity: .85; margin: 0; }

/* Ways to book */
.ways { display: grid; gap: 16px; padding-block: 32px 8px; }
.way h2 { margin-bottom: .25em; }
.way .who { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: var(--gold-ink); font-weight: 700; margin: 0 0 6px; }

/* Bar section */
.a-bar { display: grid; gap: 20px; align-items: center; }
.a-bar figure { margin: 0; position: relative; }
.a-bar img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

/* Menu */
.menu-section { padding-block: 24px 4px; }
.menu-section > h2 { font-size: 1.6rem; border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
.dishes { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.dish { padding: 14px 0; border-bottom: 1px solid var(--line); }
.dish-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish h3 { font-size: 1.2rem; margin: 0; }
.dish-price { font-weight: 700; white-space: nowrap; }
.dish-price small { font-weight: 400; color: var(--muted); }
.dish p { margin: 4px 0 0; }
.dish-meta { font-size: .85rem; color: var(--muted); }
.menu-jump { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; }
.menu-jump a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: .9rem; }


@media (min-width: 760px) {
  .ways { grid-template-columns: repeat(3, 1fr); }
  .dishes { grid-template-columns: 1fr 1fr; column-gap: 40px; }

  .a-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
  .a-hero-photo { order: 2; height: auto; min-height: 560px; }
  .a-hero-photo::after { background: linear-gradient(90deg, var(--charcoal), rgba(23,22,21,0) 30%); }
  .a-hero-photo img { position: absolute; inset: 0; object-position: 30% 50%; }
  .a-hero-text { margin: 0; align-self: center; padding: 48px var(--gutter) 48px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .a-bar { grid-template-columns: 2fr 3fr; gap: 40px; }
}
.drinks-head { font-size: 2rem; margin: 32px 0 4px; }

/* Reservation page (on top of book.css) */
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 4px; }
.time { min-height: 48px; border: 2px solid var(--line); border-radius: 10px; background: #fff; font: 600 1rem var(--font); color: var(--ink); cursor: pointer; }
.time:disabled { color: #b9b2a6; text-decoration: line-through; cursor: default; background: #f6f3ee; }
.time.on { border-color: var(--charcoal); background: var(--charcoal); color: var(--gold); }
.order-sec { margin-top: 18px; font-family: var(--font-display); font-size: 1.15rem; }
.order-row { padding: 6px 0; border-bottom: 1px solid var(--line); }
.order-row.picked .st-label { font-weight: 700; }
.ambre .bk-summary .stepper { margin-bottom: 12px; }
@media (min-width: 760px) {
  .ambre .bk-step[data-step="2"] { grid-template-columns: 3fr 2fr; align-items: start; }
  .ambre .bk-step[data-step="2"] .bk-summary { position: sticky; top: 84px; }
}
@media (min-width: 900px) {
  .ambre .bk-step[data-step="1"] { grid-template-columns: 1fr 1.3fr; align-items: start; }
  .ambre .bk-step[data-step="3"] .bk-panel, .ambre .bk-step[data-step="4"] .bk-panel { max-width: 620px; margin: 0 auto; width: 100%; }
}
/* Phones: running pre-order total pinned to the bottom while scrolling the menu */
.order-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(23, 22, 21, .97); color: var(--ivory); border-top: 1px solid #34302b; }
.order-bar[hidden], .bk-step[hidden] .order-bar { display: none; }
.order-bar small { display: block; color: var(--gold); font-size: .8rem; }
.ambre .bk-step[data-step="2"] { padding-bottom: 72px; }
@media (min-width: 900px) { .order-bar { display: none !important; } .ambre .bk-step[data-step="2"] { padding-bottom: 0; } }

/* Staff admin (on top of admin.css) */
.admin.ambre .adm-bar { background: var(--charcoal); }
.admin.ambre .a-badge { width: 36px; height: 36px; }
.closure p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.closed-line { color: #a1291b; }
.load { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(30px, 1fr); gap: 3px; overflow-x: auto; margin: 0 0 12px; padding-bottom: 4px; }
.slot { display: grid; grid-template-rows: 54px auto auto; text-align: center; font-size: .7rem; color: var(--muted); }
.slot .bar { align-self: end; background: #b8d8c1; border-radius: 4px 4px 0 0; min-height: 2px; }
.slot.busy .bar { background: #e2b04f; }
.slot.full .bar { background: #c0533f; }
.slot b { color: var(--ink); font-size: .8rem; }
.day-list td small { display: block; color: var(--muted); font-size: .8rem; }
.day-list tr.dim td { opacity: .55; }
.day-list .quick { text-align: right; }
.day-list .quick .btn { min-height: 40px; padding: 0 12px; }
.st.requested, .st.held { background: #f6eedc; color: #6b5220; }
.st.seated { background: #dbe7f6; color: #23466f; }
.st.completed { background: #e9e6df; color: #555; }
.st.no_show { background: #f8dcd8; color: #a1291b; }
.kinds { flex-wrap: wrap; }
.kinds label { flex: 1 1 45%; }
.export { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.export label { flex: 1 1 140px; }
.detail { display: grid; gap: 10px; }
.detail .facts > div { grid-template-columns: 6.5em minmax(0, 1fr); }
.detail .facts dd { overflow-wrap: anywhere; min-width: 0; }
.detail { min-width: 0; }
@media (max-width: 700px) {
  /* admin.css hides the 1st and 5th columns of hotel lists on phones; here those are Time and the quick action */
  .day-list th:nth-child(1), .day-list td:nth-child(1), .day-list th:nth-child(5), .day-list td:nth-child(5) { display: table-cell; }
  .day-list th:nth-child(4), .day-list td:nth-child(4) { display: none; }
}
.adm-dialog p:empty { display: none; }
.day-list td:first-child { white-space: nowrap; }

/* Staff admin: menu editor */
.menu-pick { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.menu-pick select { min-height: 44px; font-size: 1rem; }
.menu-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.menu-status.behind { color: var(--gold-ink); font-weight: 600; }
.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-items li { display: flex; align-items: stretch; gap: 6px; border-top: 1px solid var(--line); padding: 6px 0; }
.menu-items li.off .mi-main { opacity: .55; }
.mi-main { flex: 1; min-width: 0; min-height: 48px; text-align: left; background: none; border: 0; padding: 6px 4px; font: inherit; color: inherit; cursor: pointer; }
.mi-main b { display: block; }
.mi-main small { display: block; color: var(--muted); }
.mi-price { font-weight: 700; white-space: nowrap; }
.mi-tools { display: flex; gap: 4px; align-items: center; }
.mi-tools .btn { min-width: 44px; min-height: 44px; padding: 0 10px; }

/* Upcoming reservations (admin) */
.inline { display: flex !important; align-items: center; gap: 8px; }
.inline select { font: inherit; padding: 8px 10px; border: 1px solid #cfc6b8; border-radius: 8px; min-height: 44px; background: #fff; }
.upcoming td small { display: block; color: var(--muted); font-size: .8rem; }
.upcoming td:first-child { white-space: nowrap; }
.upcoming tr.up-day th { background: #f3ede2; text-align: left; padding: 8px 10px; }
.upcoming tr.up-day small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.up-day-btn { all: unset; cursor: pointer; font-weight: 700; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.up-day-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 700px) {
  /* admin.css hides the 1st and 5th columns of hotel lists on phones; keep Time, hide Status here */
  .upcoming th:nth-child(1), .upcoming td:nth-child(1) { display: table-cell; }
  .upcoming thead th:nth-child(4), .upcoming td:nth-child(4) { display: none; }
  .upcoming tr.up-day th { display: table-cell; }
}
