/* Swaygo — restaurant detail page (body.sy-page.sy-detail). Uses tokens/components from sy.css.
 * Replaces css/restaurant-detail.css + the former inline <style> block on this page only. */

body.sy-detail {
  --dt-nav-h: 44px;
  --dt-top: calc(var(--sy-header-h) + var(--dt-nav-h));
}
@media (max-width: 767px) { body.sy-detail { --dt-nav-h: 42px; } }

/* Anchors, focus and scrollIntoView clear the sticky site header + the sticky section nav (+ its 1px
   borders) + 12px. Set on the content as scroll-margin, never as html scroll-padding-top: a padding zone
   also covers the sticky nav / sticky booking panel themselves, so focusing a control inside them made the
   page jump. (1,1,0) beats sy.css "#sy-main :where(*)" (header + 16px) on this page. */
#syDetail.sy-dt :where(*) { scroll-margin-top: calc(var(--dt-top) + 2px + 12px); }
/* sticky / fixed parts (section nav, booking panel and sheet, mobile bar, lightbox, toast): focusing
   something inside them must never scroll the page (same specificity, later = wins) */
#syDetail.sy-dt :where(.sy-dt-nav, .sy-bk, .sy-dt-mbar, .sy-dt-sheet, .sy-lb, .sy-dt-toast),
#syDetail.sy-dt :where(.sy-dt-nav, .sy-bk, .sy-dt-mbar, .sy-dt-sheet, .sy-lb, .sy-dt-toast) * { scroll-margin-top: 0; }
/* the fixed mobile booking bar at the bottom (a bottom zone: the sticky nav / header never sit in it) */
@media (max-width: 1023px) { html:has(> body.sy-page.sy-detail) { scroll-padding-bottom: calc(68px + 12px + env(safe-area-inset-bottom)); } }
.sy-dt-anchor { position: relative; top: -4px; height: 0; }

/* ── Identity ───────────────────────────────────────────────────────── */
.sy-dt-head { padding-top: 18px; }
.sy-dt-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--sy-ink-3); }
.sy-dt-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.sy-dt-crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--sy-ink-3); }
.sy-dt-crumbs a { color: var(--sy-ink-2); text-decoration: none; border-radius: 4px; }
.sy-dt-crumbs a:hover { color: var(--sy-ink); text-decoration: underline; text-underline-offset: 3px; }
.sy-dt-crumbs [aria-current] { color: var(--sy-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

.sy-dt-id { display: grid; gap: 16px; margin-top: 14px; }
@media (min-width: 900px) {
  .sy-dt-id { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
}
.sy-dt-id__main { display: grid; gap: 10px; min-width: 0; }
.sy-dt-id__title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sy-dt-id__logo {
  width: 56px; height: 56px; flex: none; object-fit: contain; border-radius: var(--sy-r);
  background: var(--sy-surface); border: 1px solid var(--sy-line); padding: 4px;
}
.sy-dt-id__titletext { min-width: 0; }
.sy-dt-id__kicker { margin: 0 0 2px; font-size: .875rem; font-weight: 700; color: var(--sy-accent-text); }
.sy-dt-id__name {
  margin: 0; font-weight: 800; font-size: clamp(1.875rem, 1.25rem + 2.4vw, 3rem); line-height: 1.04;
  letter-spacing: -0.04em; color: var(--sy-ink); overflow-wrap: anywhere;
}
.sy-dt-id__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 2px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--sy-ink-2); }
.sy-dt-id__facts > li { display: inline-flex; align-items: center; gap: 8px; }
.sy-dt-id__facts > li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--sy-ink-3); margin: 0 12px; }
@media (max-width: 639px) {
  .sy-dt-id__facts { gap: 6px 16px; }
  .sy-dt-id__facts > li + li::before { display: none; }
}
.sy-dt-id__price { font-weight: 700; color: var(--sy-ink); letter-spacing: .02em; }
.sy-dt-id__hours { font-variant-numeric: tabular-nums; }
.sy-dt-id__addr { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--sy-ink-2); font-size: .9375rem; }
.sy-dt-id__addr svg { margin-top: 3px; color: var(--sy-ink-3); }
.sy-dt-id__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.sy-dt-id__badges .sy-badge { min-height: 26px; font-size: .8125rem; }

.sy-dt-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--sy-ink); text-decoration: none; border-radius: 6px; }
.sy-dt-rating:hover .sy-dt-rating__count { text-decoration: underline; text-underline-offset: 3px; }
.sy-dt-rating__count { color: var(--sy-ink-2); }
.sy-dt-norating { color: var(--sy-ink-2); font-weight: 600; }

.sy-dt-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--sy-danger); }
.sy-dt-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.sy-dt-status.is-open { color: var(--sy-success); }

/* real star rating (reflects the value) */
.sy-dt-stars {
  --s: 16px; position: relative; display: inline-block; flex: none;
  width: calc(var(--s) * 5); height: var(--s); background: var(--sy-line-strong);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.95 5.97 6.6.96-4.78 4.66 1.13 6.57L12 17.55 6.1 20.66l1.13-6.57L2.45 9.43l6.6-.96L12 2.5z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.95 5.97 6.6.96-4.78 4.66 1.13 6.57L12 17.55 6.1 20.66l1.13-6.57L2.45 9.43l6.6-.96L12 2.5z'/%3E%3C/svg%3E") 0 0 / var(--s) var(--s) repeat-x;
}
.sy-dt-stars > span { position: absolute; inset: 0 auto 0 0; width: var(--pct, 0%); background: var(--sy-star); }
.sy-dt-stars--lg { --s: 22px; }

/* actions */
.sy-dt-id__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; position: relative; }
.sy-dt-favform { margin: 0; display: contents; }
.sy-dt-act { min-height: 42px; }
.sy-dt-act.is-fav { --_fg: var(--sy-accent-text); --_bd: var(--sy-accent-line); --_bg: var(--sy-accent-soft); }
.sy-dt-act.is-fav svg { fill: currentColor; }
.sy-dt-share { flex-basis: 100%; font-size: .875rem; color: var(--sy-ink-2); }
.sy-dt-share:empty { display: none; }
.sy-dt-share input { margin-top: 6px; width: 100%; font-size: .875rem; min-height: 40px; }
@media (max-width: 899px) {
  /* equal widths, never narrower than the label + icon: wraps instead of overflowing */
  .sy-dt-id__actions .sy-dt-act { flex: 1 1 0; min-width: max-content; padding-inline: 12px; }
}
@media (max-width: 420px) {
  /* Sauvegarder + Partager on the first row, Commander on its own row */
  .sy-dt-id__actions .sy-btn--outline.sy-dt-act { flex-basis: 100%; }
}
@media (min-width: 900px) { .sy-dt-share { position: absolute; right: 0; top: calc(100% + 6px); width: max-content; max-width: 360px; text-align: right; } }

/* owner bar */
.sy-dt-owner {
  margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 12px 14px; border-radius: var(--sy-r); background: var(--sy-accent-soft); border: 1px solid var(--sy-accent-line);
}
.sy-dt-owner__title { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9375rem; color: var(--sy-ink); }
.sy-dt-owner__title svg { color: var(--sy-accent-text); }
.sy-dt-owner__links { display: flex; flex-wrap: wrap; gap: 8px; }
.sy-dt-owner__links .sy-btn { background: var(--sy-surface); }

/* ── Gallery ────────────────────────────────────────────────────────── */
.sy-dt-gal { margin-top: 22px; }
.sy-dt-gal__grid {
  position: relative; display: grid; gap: 6px; overflow: hidden; border-radius: var(--sy-r-lg);
  background: var(--sy-surface-3);
}
.sy-dt-gal__grid--1 { width: 100%; height: clamp(260px, 36vw, 480px); }
.sy-dt-gal__grid--2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); height: clamp(260px, 34vw, 460px); }
.sy-dt-gal__grid--3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; height: clamp(300px, 36vw, 480px); }
.sy-dt-gal__grid--3 .is-main { grid-row: 1 / span 2; }
.sy-dt-gal__cell {
  position: relative; display: block; width: 100%; height: 100%; min-height: 0; padding: 0; margin: 0; border: 0;
  background: var(--sy-surface-3); cursor: zoom-in; overflow: hidden;
}
.sy-dt-gal__cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--sy-ease); }
.sy-dt-gal__cell:hover img { transform: scale(1.02); }
.sy-dt-gal__cell:focus-visible { outline: 3px solid #fff; outline-offset: -6px; box-shadow: inset 0 0 0 6px var(--sy-action); border-radius: 0; }
.sy-dt-gal__all {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--sy-line); border-radius: var(--sy-r-sm); background: var(--sy-surface); color: var(--sy-ink);
  font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; box-shadow: var(--sy-shadow-2);
}
.sy-dt-gal__all svg { width: 16px; height: 16px; }
.sy-dt-gal__all:hover { border-color: var(--sy-ink-3); }
.sy-dt-gal__all:focus-visible { outline: 2px solid var(--sy-focus); outline-offset: 2px; }
.sy-dt-gal__empty {
  display: grid; gap: 0; overflow: hidden; text-align: center;
  border: 1px solid var(--sy-line); border-radius: var(--sy-r-lg); background: var(--sy-surface); color: var(--sy-ink-2);
}
.sy-dt-gal__empty .sy-illus { position: relative; inset: auto; min-height: 220px; aspect-ratio: 3 / 1; max-height: 340px; }
.sy-dt-gal__empty-copy { display: grid; justify-items: center; gap: 8px; padding: 14px 20px 16px; border-top: 1px solid var(--sy-line); }
.sy-dt-gal__empty p { margin: 0; }
@media (max-width: 767px) { .sy-dt-gal__empty .sy-illus { aspect-ratio: 16 / 9; min-height: 0; } }
@media (min-width: 768px) {
  .sy-dt-gal__all:not(.is-more) { display: none; }
}
@media (max-width: 767px) {
  .sy-dt-gal { margin-top: 16px; padding-inline: 0; }
  .sy-dt-gal__grid { display: block; height: auto; aspect-ratio: 4 / 3; max-height: 62vh; border-radius: 0; }
  .sy-dt-gal__cell:not(.is-main) { display: none; }
  .sy-dt-gal__empty { margin-inline: var(--sy-gutter); }
}

/* ── Lightbox ───────────────────────────────────────────────────────── */
.sy-lb-bg { position: fixed; inset: 0; z-index: 400; background: rgba(14, 11, 9, .94); }
.sy-lb {
  position: fixed; inset: 0; z-index: 401; display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center; justify-items: center; padding: 56px 8px 24px; color: #fff; font-family: var(--sy-font);
}
.sy-lb[hidden], .sy-lb-bg[hidden] { display: none; }
.sy-lb__fig { grid-column: 2; margin: 0; display: grid; justify-items: center; gap: 12px; max-width: 100%; max-height: 100%; min-height: 0; }
.sy-lb__fig img { display: block; max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; border-radius: var(--sy-r-sm); background: #1f1a16; }
.sy-lb__cap { text-align: center; }
.sy-lb__cap p { margin: 0; }
#lightboxCaption { font-size: .9375rem; font-weight: 600; color: #fff; }
#lbCounter { margin-top: 2px; font-size: .8125rem; color: rgba(255, 255, 255, .82); font-variant-numeric: tabular-nums; }
.sy-lb__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; transition: background-color .15s;
}
.sy-lb__btn:hover { background: rgba(255, 255, 255, .26); }
.sy-lb__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sy-lb__btn svg { width: 24px; height: 24px; }
.sy-lb__close { position: absolute; top: 12px; right: 12px; }
.sy-lb__nav--prev { grid-column: 1; grid-row: 1; }
.sy-lb__nav--next { grid-column: 3; grid-row: 1; }
.sy-lb__fig { grid-row: 1; }
@media (max-width: 639px) {
  .sy-lb { grid-template-columns: minmax(0, 1fr); padding: 64px 0 88px; }
  .sy-lb__fig { grid-column: 1; }
  .sy-lb__fig img { border-radius: 0; max-height: calc(100dvh - 200px); }
  .sy-lb__nav { position: absolute; bottom: 20px; }
  .sy-lb__nav--prev { left: calc(50% - 64px); }
  .sy-lb__nav--next { right: calc(50% - 64px); }
}

/* ── Section navigation (sticky under the site header) ─────────────── */
.sy-dt-nav {
  position: sticky; top: var(--sy-header-h); z-index: 90; margin-top: 24px;
  background: color-mix(in srgb, var(--sy-bg) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(8px); backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 1px solid var(--sy-line);
}
.sy-dt-nav__inner { display: flex; align-items: center; gap: 16px; height: var(--dt-nav-h); }
.sy-dt-nav__list {
  display: flex; align-items: stretch; gap: 2px; height: 100%; margin: 0 0 0 -10px; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; scroll-padding-inline: 16px;
}
.sy-dt-nav__list::-webkit-scrollbar { display: none; }
.sy-dt-nav__list li { display: flex; flex: none; }
.sy-dt-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 0 9px;
  font-size: .875rem; font-weight: 500; color: var(--sy-ink-3); text-decoration: none; white-space: nowrap; border-radius: 6px;
}
.sy-dt-nav__link .sy-tab__count { font-size: .6875rem; }
.sy-dt-nav__link:hover { color: var(--sy-ink); }
.sy-dt-nav__link:focus-visible { outline-offset: -3px; }
.sy-dt-nav__link.is-active { color: var(--sy-ink); font-weight: 600; }
.sy-dt-nav__link.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--sy-action); }
.sy-dt-nav__cta { display: none; gap: 8px; flex: none; }
.sy-dt-nav__cta .sy-btn--sm { min-height: 32px; padding-block: 5px; }
@media (min-width: 1024px) { .sy-dt-nav__cta { display: flex; } }
@media (max-width: 767px) {
  .sy-dt-nav { margin-top: 0; }
  .sy-dt-nav__link { font-size: .8125rem; padding-inline: 8px; }
}

/* ── Layout ─────────────────────────────────────────────────────────── */
.sy-dt-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.sy-dt-main { min-width: 0; }
.sy-dt-aside { display: none; }
@media (min-width: 1024px) {
  .sy-dt-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .sy-dt-aside { display: block; padding-top: 28px; min-width: 0; }
}
@media (min-width: 1280px) { .sy-dt-layout { grid-template-columns: minmax(0, 1fr) 384px; gap: 56px; } }

/* sections */
.sy-dt-sec { padding-block: 32px; border-top: 1px solid var(--sy-line); }
.sy-dt-main > .sy-dt-sec:first-child { border-top: 0; }
@media (min-width: 1024px) { .sy-dt-sec { padding-block: 40px; } .sy-dt-main > .sy-dt-sec:first-child { padding-top: 32px; } }
.sy-dt-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.sy-dt-sec__title { margin: 0; font-size: clamp(1.375rem, 1.15rem + .7vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--sy-ink); }
.sy-dt-sec__intro { margin: -8px 0 14px; font-size: .9375rem; }
.sy-dt-sub { margin: 24px 0 12px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; color: var(--sy-ink); }
.sy-dt-empty { padding: 28px 20px; }

/* about */
.sy-dt-lead { margin: 0 0 10px; font-size: 1.0625rem; font-weight: 600; color: var(--sy-ink); line-height: 1.5; max-width: 68ch; }
.sy-dt-prose { color: var(--sy-ink-2); line-height: 1.7; max-width: 68ch; }
.sy-dt-prose p { margin: 0; }
.sy-dt-amenities { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.sy-dt-amenities li {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px;
  border: 1px solid var(--sy-line); border-radius: var(--sy-r-sm); background: var(--sy-surface);
  font-size: .9375rem; font-weight: 600; color: var(--sy-ink);
}
.sy-dt-amenities__ic { width: 22px; flex: none; display: grid; place-items: center; font-size: 1.05rem; color: var(--sy-success); }

/* practical info */
.sy-dt-info {
  margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
  background: var(--sy-surface); border: 1px solid var(--sy-line); border-radius: var(--sy-r); box-shadow: var(--sy-shadow-1);
  padding: 4px 18px;
}
.sy-dt-info__item { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--sy-line); align-content: start; }
.sy-dt-info__item:last-child { border-bottom: 0; }
.sy-dt-info__item > svg { width: 18px; height: 18px; color: var(--sy-ink-2); grid-row: 1 / span 2; margin-top: 2px; }
.sy-dt-info dt { grid-column: 2; font-size: .8125rem; font-weight: 600; color: var(--sy-ink-3); }
.sy-dt-info dd { grid-column: 2; margin: 0; font-size: .9375rem; font-weight: 600; color: var(--sy-ink); overflow-wrap: anywhere; }
.sy-dt-info__hrow { display: block; font-variant-numeric: tabular-nums; }
.sy-dt-info__hrow > span { display: inline-block; min-width: 44px; color: var(--sy-ink-3); font-weight: 600; }
.sy-dt-info__link { color: var(--sy-accent-text); text-decoration: none; }
.sy-dt-info__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sy-dt-info__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px !important; }
@media (min-width: 640px) {
  .sy-dt-info { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; padding: 6px 22px; }
  .sy-dt-info__item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .sy-dt-info__item--wide { grid-column: 1 / -1; }
}
.sy-dt-openbadge { min-height: 28px; font-size: .8125rem; }

/* map */
.sy-dt-map { border: 1px solid var(--sy-line); border-radius: var(--sy-r); overflow: hidden; background: var(--sy-surface); box-shadow: var(--sy-shadow-1); }
.sy-dt-map__canvas { height: 300px; width: 100%; position: relative; z-index: 0; background: var(--sy-surface-3); }
@media (max-width: 639px) { .sy-dt-map__canvas { height: 240px; } }
.sy-dt-map__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px; border-top: 1px solid var(--sy-line); font-size: .875rem; color: var(--sy-ink-2); }
.sy-dt-map__foot > span { display: inline-flex; gap: 8px; align-items: flex-start; }
.sy-dt-map__foot > span svg { margin-top: 2px; color: var(--sy-ink-3); }
.sy-dt-map .leaflet-popup-content-wrapper, .sy-dt-map .leaflet-popup-tip { background: var(--sy-surface); color: var(--sy-ink); box-shadow: var(--sy-shadow-3); }
.sy-dt-map .leaflet-popup-content { margin: 12px 14px; font-family: var(--sy-font); font-size: .8125rem; line-height: 1.45; }
.sy-dt-map .leaflet-popup-content strong { display: block; font-size: .9375rem; color: var(--sy-ink); }
.sy-dt-map .leaflet-popup-content span { color: var(--sy-ink-2); }
.sy-dt-map .leaflet-popup-content a { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--sy-accent-text); text-decoration: none; }
.sy-dt-map .leaflet-container a.leaflet-popup-close-button { color: var(--sy-ink-2); }
.sy-dt-map .leaflet-container .leaflet-control-attribution { font-size: 11px; }
.sy-dt-pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: var(--sy-action); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); transform: rotate(-45deg); }

/* menu */
.sy-dt-menu { display: grid; gap: 28px; }
.sy-dt-menu__cat { margin: 0 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--sy-line-strong); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.015em; color: var(--sy-ink); }
.sy-dt-menu__list { list-style: none; margin: 0; padding: 0; }
.sy-dt-dish { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--sy-line); }
.sy-dt-dish:last-child { border-bottom: 0; }
.sy-dt-dish__body { min-width: 0; }
.sy-dt-dish__name { margin: 0; font-weight: 600; color: var(--sy-ink); overflow-wrap: anywhere; }
.sy-dt-dish__name .sy-badge { margin-left: 6px; vertical-align: 1px; }
.sy-dt-dish__desc { margin: 2px 0 0; font-size: .875rem; color: var(--sy-ink-3); line-height: 1.45; }
.sy-dt-dish__price { flex: none; font-weight: 700; color: var(--sy-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sy-dt-dish.is-off .sy-dt-dish__name, .sy-dt-dish.is-off .sy-dt-dish__price { color: var(--sy-ink-3); }

/* specials */
.sy-dt-specials { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
/* fixed first column for the day badge, so every title starts at the same x (day is free text, ≤ 20 chars:
   a longer value wraps inside the column instead of pushing the title) */
.sy-dt-special { display: grid; grid-template-columns: 5.75rem minmax(0, 1fr); align-items: start; gap: 14px; padding: 14px 16px; border: 1px solid var(--sy-line); border-radius: var(--sy-r); background: var(--sy-surface); box-shadow: var(--sy-shadow-1); }
.sy-dt-special .sy-badge { justify-self: start; max-width: 100%; margin-top: 1px; white-space: normal; overflow-wrap: anywhere; }
.sy-dt-special__title { margin: 0; font-weight: 700; color: var(--sy-ink); }
.sy-dt-special__desc { margin: 2px 0 0; font-size: .9375rem; color: var(--sy-ink-2); }

/* ── Reviews ────────────────────────────────────────────────────────── */
.sy-dt-rvsum {
  display: grid; gap: 22px; padding: 20px; border: 1px solid var(--sy-line); border-radius: var(--sy-r);
  background: var(--sy-surface); box-shadow: var(--sy-shadow-1);
}
@media (min-width: 640px) { .sy-dt-rvsum { grid-template-columns: auto minmax(0, 1fr); padding: 22px 24px; column-gap: 32px; } .sy-dt-rvsum__subs { grid-column: 1 / -1; } }
@media (min-width: 1180px) { .sy-dt-rvsum { grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr); } .sy-dt-rvsum__subs { grid-column: auto; } }
.sy-dt-rvsum__score { display: grid; justify-items: start; align-content: center; gap: 6px; }
.sy-dt-rvsum__num { margin: 0; font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--sy-ink); }
.sy-dt-rvsum__num span { font-size: 1.125rem; font-weight: 700; color: var(--sy-ink-3); letter-spacing: 0; margin-left: 2px; }
.sy-dt-rvsum__total { margin: 0; font-size: .875rem; color: var(--sy-ink-2); }
.sy-dt-rvsum__dist, .sy-dt-rvsum__subs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; align-content: center; }
.sy-dt-dist { display: grid; grid-template-columns: 34px minmax(0, 1fr) 26px; align-items: center; gap: 10px; font-size: .8125rem; color: var(--sy-ink-2); }
.sy-dt-dist__lbl { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; }
.sy-dt-dist__lbl svg { width: 12px; height: 12px; color: var(--sy-star); fill: currentColor; }
.sy-dt-dist__track, .sy-dt-sub-rate__bar { display: block; height: 8px; border-radius: var(--sy-r-pill); background: var(--sy-surface-3); overflow: hidden; }
.sy-dt-dist__track > span, .sy-dt-sub-rate__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--sy-star); }
.sy-dt-dist__count { text-align: right; font-variant-numeric: tabular-nums; }
.sy-dt-rvsum__subs { gap: 10px; }
.sy-dt-sub-rate { display: grid; grid-template-columns: 110px minmax(0, 1fr) 34px; align-items: center; gap: 10px; font-size: .875rem; }
.sy-dt-sub-rate__name { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sy-ink); }
.sy-dt-sub-rate__name svg { color: var(--sy-ink-3); }
.sy-dt-sub-rate__bar > span { background: var(--sy-ink-2); }
.sy-dt-sub-rate strong { text-align: right; font-variant-numeric: tabular-nums; color: var(--sy-ink); }

.sy-dt-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.sy-dt-trust__pct { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--sy-r-sm); background: var(--sy-success-bg); border: 1px solid var(--sy-success-line); color: var(--sy-ink); font-size: .9375rem; }
.sy-dt-trust__pct strong { color: var(--sy-success); font-size: 1.0625rem; }
.sy-dt-trust__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sy-dt-trust__tags .sy-chip { cursor: default; min-height: 32px; padding: 4px 12px; }
.sy-dt-trust__tags .sy-chip:hover { border-color: transparent; }

.sy-dt-rvbar { margin: 24px 0 12px; display: grid; gap: 10px; }
.sy-dt-rvbar__count { margin: 0; font-size: .9375rem; font-weight: 700; color: var(--sy-ink); }
.sy-dt-rvbar__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.sy-dt-rvbar .sy-chip { min-height: 38px; }
.rv-filter-btn--active { background: var(--sy-ink); color: var(--sy-bg); border-color: var(--sy-ink); }
.rv-filter-btn--active .sy-dt-chipcount { color: inherit; }
.sy-dt-chipcount { color: var(--sy-ink-3); font-weight: 500; }
.sy-dt-sort { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--sy-line-strong); border-radius: var(--sy-r-sm); background: var(--sy-surface); }
.sy-dt-sort__lbl { font-size: .8125rem; color: var(--sy-ink-3); padding: 0 6px 0 8px; }
.rv-sort-btn { font: inherit; font-size: .875rem; font-weight: 600; min-height: 34px; padding: 4px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--sy-ink-2); cursor: pointer; }
.rv-sort-btn:hover { color: var(--sy-ink); background: var(--sy-surface-2); }
.rv-sort-btn--active, .rv-sort-btn--active:hover { background: var(--sy-ink); color: var(--sy-bg); }

.sy-dt-rvlist { display: grid; gap: 12px; }
.sy-dt-review { padding: 16px 18px; border: 1px solid var(--sy-line); border-radius: var(--sy-r); background: var(--sy-surface); box-shadow: var(--sy-shadow-1); }
.sy-dt-review[hidden] { display: none; }
@media (min-width: 640px) { .sy-dt-review { padding: 18px 22px; } }
.sy-dt-review__top { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.sy-dt-review__avatar { width: 40px; height: 40px; font-size: .9375rem; }
.sy-dt-review__name { margin: 0; font-weight: 700; color: var(--sy-ink); overflow-wrap: anywhere; }
.sy-dt-review__meta { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .8125rem; color: var(--sy-ink-3); }
.sy-dt-review__verified { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--sy-success); }
.sy-dt-review__rate { display: grid; justify-items: end; gap: 2px; }
.sy-dt-review__num { font-size: .8125rem; font-weight: 700; color: var(--sy-ink-2); }
.sy-dt-review__subs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sy-dt-review__subs li { padding: 3px 10px; border-radius: var(--sy-r-pill); background: var(--sy-surface-2); font-size: .8125rem; color: var(--sy-ink-2); }
.sy-dt-review__subs strong { color: var(--sy-ink); }
.sy-dt-review__text { margin: 12px 0 0; color: var(--sy-ink-2); line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.sy-dt-reply { margin-top: 14px; padding: 12px 14px; border-radius: var(--sy-r-sm); background: var(--sy-surface-2); border-left: 3px solid var(--sy-action); }
.sy-dt-reply__label { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--sy-ink); }
.sy-dt-reply__label svg { color: var(--sy-accent-text); }
.sy-dt-reply__date { font-weight: 500; color: var(--sy-ink-3); }
.sy-dt-reply__text { margin: 6px 0 0; font-size: .9375rem; color: var(--sy-ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.sy-dt-review__foot { display: flex; justify-content: flex-end; align-items: center; margin-top: 10px; min-height: 8px; }
.sy-dt-review__foot form { margin: 0; }
.sy-dt-review__foot:empty { display: none; }
.rv-helpful-btn { color: var(--sy-ink-2); }
.rv-helpful-btn--active { --_fg: var(--sy-accent-text); --_bg: var(--sy-accent-soft); }
.rv-helpful-btn--active svg { fill: currentColor; fill-opacity: .25; }
.sy-dt-review__helpful { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--sy-ink-3); }

/* owner reply / answer forms */
.sy-dt-details { margin-top: 12px; }
.sy-dt-details > summary { list-style: none; width: fit-content; }
.sy-dt-details > summary::-webkit-details-marker { display: none; }
.sy-dt-details[open] > summary { background: var(--sy-surface-2); }
.sy-dt-inlineform { display: grid; gap: 8px; margin-top: 10px; }
.sy-dt-inlineform .sy-btn { justify-self: start; }

/* review form */
.sy-dt-yours { margin-top: 8px; }
.sy-dt-rform, .sy-dt-askform {
  display: grid; gap: 18px; padding: 20px; border: 1px solid var(--sy-line); border-radius: var(--sy-r);
  background: var(--sy-surface); box-shadow: var(--sy-shadow-1);
}
@media (min-width: 640px) { .sy-dt-rform, .sy-dt-askform { padding: 22px 24px; } }
.sy-dt-rform__title { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--sy-ink); }
.sy-dt-rform__head p { margin: 2px 0 0; }
.sy-dt-rform__overall { border: 0; margin: 0; padding: 0; min-width: 0; }
.sy-dt-rform__overall legend { padding: 0; margin-bottom: 6px; }
.rf-stars { display: flex; gap: 4px; }
.rf-star { position: relative; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; border-radius: 8px; }
.rf-star input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rf-star svg { width: 34px; height: 34px; fill: var(--sy-surface-3); stroke: var(--sy-line-strong); stroke-width: 1.2; transition: fill .12s, stroke .12s; pointer-events: none; }
.rf-star.is-hovered svg { fill: color-mix(in srgb, var(--sy-star) 55%, transparent); stroke: var(--sy-star); }
.rf-star.is-filled svg { fill: var(--sy-star); stroke: var(--sy-star); }
.rf-star:has(input:focus-visible) { outline: 2px solid var(--sy-focus); outline-offset: 0; }
.rf-feedback { margin: 6px 0 0; font-size: .875rem; color: var(--sy-ink-3); }
.rf-feedback.is-set { color: var(--sy-ink); font-weight: 600; }
.sy-dt-rform__overall.is-invalid .rf-star svg { stroke: var(--sy-danger); }
.sy-dt-rform .sy-error, .sy-dt-askform .sy-error { margin-top: 6px; }
.sy-dt-rform .sy-error svg { margin-top: 2px; flex: none; }
.sy-dt-rform__subs { display: grid; gap: 10px; }
@media (min-width: 640px) { .sy-dt-rform__subs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rf-sub { padding: 10px 12px; border-radius: var(--sy-r-sm); background: var(--sy-surface-2); border: 1px solid transparent; }
.rf-sub.is-set { border-color: var(--sy-accent-line); background: var(--sy-accent-soft); }
.rf-sub-head { margin: 0 0 4px; display: flex; align-items: baseline; gap: 6px; font-size: .875rem; }
.rf-sub-label { font-weight: 700; color: var(--sy-ink); }
.rf-sub-value { margin-left: auto; color: var(--sy-ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.rf-mini-stars { display: flex; gap: 0; margin-left: -6px; }
.rf-mini-star { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; border-radius: 6px; cursor: pointer; }
.rf-mini-star svg { width: 22px; height: 22px; fill: var(--sy-surface-3); stroke: var(--sy-line-strong); stroke-width: 1.4; pointer-events: none; }
.rf-mini-star.is-hovered svg { fill: color-mix(in srgb, var(--sy-star) 55%, transparent); stroke: var(--sy-star); }
.rf-mini-star.is-filled svg { fill: var(--sy-star); stroke: var(--sy-star); }
.rf-mini-star:focus-visible { outline: 2px solid var(--sy-focus); outline-offset: -2px; }
.sy-dt-fieldfoot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 4px; }
.rf-counter { flex: none; font-size: .8125rem; color: var(--sy-ink-3); font-variant-numeric: tabular-nums; }
.rf-counter.is-near { color: var(--sy-warning); font-weight: 600; }
.rf-counter.is-max { color: var(--sy-danger); font-weight: 700; }
.sy-dt-rform textarea, .sy-dt-askform textarea, .sy-dt-inlineform textarea { width: 100%; }
.sy-dt-rform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.sy-dt-rform__foot .sy-help { flex: 1 1 220px; }
.sy-dt-ts { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .75rem; color: var(--sy-ink-3); }
.sy-dt-ts a { color: var(--sy-accent-text); text-decoration: none; }
.sy-dt-ts a:hover { text-decoration: underline; }
.sy-dt-rform > .sy-dt-ts, .sy-dt-askform > .sy-dt-ts { justify-content: flex-end; margin-top: -6px; }
.sy-dt-login .sy-link { margin-top: 4px; }

/* ── Q&A ────────────────────────────────────────────────────────────── */
.sy-dt-qalist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sy-dt-qa { padding: 16px 18px; border: 1px solid var(--sy-line); border-radius: var(--sy-r); background: var(--sy-surface); box-shadow: var(--sy-shadow-1); }
.sy-dt-qa__q, .sy-dt-qa__a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.sy-dt-qa__a { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sy-line); }
.sy-dt-qa__mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 800; background: var(--sy-surface-2); color: var(--sy-ink); }
.sy-dt-qa__mark--a { background: var(--sy-accent-soft); color: var(--sy-accent-text); }
.sy-dt-qa__text { margin: 4px 0 0; font-weight: 600; color: var(--sy-ink); overflow-wrap: anywhere; }
.sy-dt-qa__text--a { font-weight: 400; color: var(--sy-ink-2); white-space: pre-line; }
.sy-dt-qa__meta { margin: 4px 0 0; font-size: .8125rem; color: var(--sy-ink-3); }
.sy-dt-qa__pending { display: flex; align-items: center; gap: 6px; margin: 10px 0 0 44px; font-size: .8125rem; font-weight: 600; color: var(--sy-warning); }
.sy-dt-qa .sy-dt-details { margin-left: 44px; }
.sy-dt-ask { margin-top: 8px; }
.sy-dt-qalogin { margin: 18px 0 0; }

/* ── Nearby ─────────────────────────────────────────────────────────── */
.sy-dt-nearby { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .sy-dt-nearby { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sy-dt-nearby__row { border: 1px solid var(--sy-line); background: var(--sy-surface); border-radius: var(--sy-r); box-shadow: var(--sy-shadow-1); height: 100%; }
.sy-dt-nearby__row:hover { background: var(--sy-surface); border-color: var(--sy-line-strong); box-shadow: var(--sy-shadow-2); }
.sy-dt-nearby__body { display: grid; gap: 2px; min-width: 0; }
.sy-dt-nearby .sy-rrow__meta .sy-stars { font-size: .8125rem; }

/* ── Booking module ─────────────────────────────────────────────────── */
.sy-bk {
  display: flex; flex-direction: column; min-height: 0;
  background: var(--sy-surface); border: 1px solid var(--sy-line); border-radius: var(--sy-r-lg); box-shadow: var(--sy-shadow-2);
  color: var(--sy-ink);
}
@media (min-width: 1024px) {
  .sy-dt-aside > .sy-bk {
    position: sticky; top: calc(var(--dt-top) + 12px);
    max-height: calc(100vh - var(--dt-top) - 24px);
  }
}
.sy-bk__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 14px; scrollbar-width: thin; }
.sy-bk__bar { position: relative; flex: none; padding: 10px 18px 14px; border-top: 1px solid var(--sy-line); background: var(--sy-surface); border-radius: 0 0 var(--sy-r-lg) var(--sy-r-lg); }
/* the scroll area continues under the action bar (sticky panel shorter than its content, mobile sheet):
   fade the last lines + lift the bar, so nothing looks cut. .is-more is set by sy-detail.js while there is
   more content below; the right edge leaves the scrollbar visible. */
.sy-bk__bar::before {
  content: ""; position: absolute; left: 0; right: 12px; bottom: 100%; height: 32px; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--sy-surface) 0%, transparent), var(--sy-surface) 85%);
  opacity: 0; transition: opacity .15s;
}
.sy-bk.is-more .sy-bk__bar::before { opacity: 1; }
.sy-bk.is-more .sy-bk__bar { box-shadow: 0 -10px 18px -14px rgba(28, 27, 25, .4); }
:root[data-theme="dark"] .sy-bk.is-more .sy-bk__bar { box-shadow: 0 -10px 18px -12px rgba(0, 0, 0, .7); }
/* keyboard focus inside the scroll area is revealed above that fade */
.sy-bk__scroll * { scroll-margin-bottom: 36px; }
.sy-bk__head { display: grid; gap: 4px; justify-items: start; }
.sy-bk__title { margin: 0; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--sy-ink); }
.sy-bk__rating { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .875rem; }
/* the standard wording is long ("… si une table est disponible"): it may wrap in the 360px panel */
.sy-bk__mode { margin-top: 2px; max-width: 100%; white-space: normal; border-radius: 12px; }
.sy-bk__mode.is-request { background: var(--sy-warning-bg); color: var(--sy-warning); border-color: var(--sy-warning-line); }
.sy-bk__errors { margin-top: 14px; }
.sy-bk__errors ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.sy-bk__sec { margin-top: 14px; }
.sy-bk__label { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .875rem; font-weight: 700; color: var(--sy-ink); }
.sy-bk__label svg { color: var(--sy-ink-2); }
.sy-bk__opt { font-weight: 500; color: var(--sy-ink-3); }

.sy-bk__types { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 12px; padding: 3px; border-radius: var(--sy-r); background: var(--sy-surface-2); border: 1px solid var(--sy-line); }
.bk-type-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 36px; padding: 5px 6px;
  font: inherit; font-size: .8125rem; font-weight: 700; white-space: nowrap; line-height: 1.2; text-align: center;
  color: var(--sy-ink-2); background: transparent; border: 0; border-radius: var(--sy-r-sm); cursor: pointer;
}
.bk-type-tab svg { width: 16px; height: 16px; flex: none; }
.bk-type-tab:hover { color: var(--sy-ink); }
.bk-type-tab.active { background: var(--sy-surface); color: var(--sy-ink); box-shadow: var(--sy-shadow-2); }
.sy-bk__group { padding: 2px 0 0; }
.sy-bk__group textarea, .sy-bk__notes textarea { width: 100%; min-height: 84px; }

/* calendar */
.sy-bk__calhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.sy-bk__calhead .bk-cal-nav { width: 32px; height: 32px; min-height: 32px; }
.sy-bk__month { margin: 0; font-weight: 700; font-size: .9375rem; color: var(--sy-ink); text-transform: capitalize; }
.bk-cal-nav { border: 1px solid var(--sy-line); }
.bk-cal-nav:disabled { opacity: 1; color: var(--sy-ink-3); background: transparent; cursor: not-allowed; border-color: transparent; }
.bk-cal-wdays, .bk-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.bk-cal-wday { text-align: center; font-size: .6875rem; font-weight: 700; color: var(--sy-ink-3); padding: 2px 0; }
.bk-cal-day {
  display: grid; place-items: center; height: 34px; width: 100%; padding: 0; margin: 0;
  font: inherit; font-size: .875rem; font-weight: 600; color: var(--sy-ink); font-variant-numeric: tabular-nums;
  background: transparent; border: 0; border-radius: var(--sy-r-sm); cursor: pointer; position: relative;
}
button.bk-cal-day:not(:disabled):hover { background: var(--sy-surface-2); }
.bk-cal-day:focus-visible { outline: 2px solid var(--sy-focus); outline-offset: 1px; z-index: 1; }
/* other-month padding cells: empty spans (aria-hidden), they only keep the weekday columns aligned */
.bk-cal-other { cursor: default; }
.bk-cal-disabled, .bk-cal-day:disabled { color: var(--sy-ink-3); font-weight: 400; cursor: not-allowed; }
/* today = bold number + dot (no ring: the orange ring is reserved for the keyboard focus) */
.bk-cal-today { font-weight: 800; }
.bk-cal-today::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--sy-action); }
.bk-cal-active, button.bk-cal-active:not(:disabled):hover { background: var(--sy-action); color: var(--sy-on-action); box-shadow: none; }
.bk-cal-active::after { background: var(--sy-on-action); }
.sy-bk__calhelp { margin-top: 4px; }

/* guests */
.sy-bk__guests { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 10px 7px 12px; border: 1px solid var(--sy-line); border-radius: var(--sy-r); background: var(--sy-surface); }
.sy-bk__guestsval { margin: 0; font-weight: 700; color: var(--sy-ink); }
.sy-bk__guests .sy-help { margin-top: 1px; }
.sy-bk__stepper { display: flex; align-items: center; gap: 6px; flex: none; }
.bk-step-btn { border: 1px solid var(--sy-line-strong); border-radius: 50%; }
.bk-step-btn:hover:not(:disabled):not([aria-disabled="true"]) { border-color: var(--sy-ink-3); background: var(--sy-surface-2); }
.bk-step-btn:disabled, .bk-step-btn[aria-disabled="true"] { color: var(--sy-ink-3); border-color: var(--sy-line); cursor: not-allowed; background: transparent; }
.bk-step-val { min-width: 28px; text-align: center; font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }

/* slots */
.bk-slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 6px; }
.bk-slot {
  display: grid; place-content: center; justify-items: center;
  min-height: 36px; padding: 5px 4px; font: inherit; font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--sy-ink); background: var(--sy-surface); border: 1px solid var(--sy-line-strong); border-radius: var(--sy-r-sm); cursor: pointer;
}
.bk-slot__t { line-height: 1.2; }
.bk-slot:hover { border-color: var(--sy-action); color: var(--sy-accent-text); }
.bk-slot.active, .bk-slot.active:hover { background: var(--sy-action); border-color: var(--sy-action); color: var(--sy-on-action); }
/* today, already started: shown but not selectable */
.bk-slot.is-past, .bk-slot.is-past:hover { padding-block: 3px; color: var(--sy-ink-3); background: var(--sy-surface-2); border: 1px dashed var(--sy-line-strong); cursor: not-allowed; }
.bk-slot__s { font-size: .6875rem; font-weight: 600; line-height: 1.1; }
.bk-no-slots { grid-column: 1 / -1; margin: 0; font-size: .875rem; color: var(--sy-ink-2); }
.sy-bk__note { margin: 0 0 8px; padding: 8px 10px; border-radius: var(--sy-r-sm); background: var(--sy-info-bg); border: 1px solid var(--sy-info-line); font-size: .8125rem; color: var(--sy-ink); }
.sy-bk__slotshint { margin-top: 10px; }
.sy-bk__grpnote { margin: 10px 0 0; display: grid; gap: 8px; justify-items: start; }
.sy-bk__grpnote[hidden] { display: none; }
.sy-bk__grpnote p { margin: 0; }
.sy-bk__grpnote .sy-btn { background: var(--sy-surface); }
.bk-slots-wrap:not([hidden]) + .sy-bk__slotshint { display: none; }

/* seating / event chips */
.sy-bk__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sy-bk__chips--3 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.bk-seat-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 6px 12px;
  font: inherit; font-size: .8125rem; font-weight: 700; line-height: 1.2; text-align: center;
  color: var(--sy-ink); background: var(--sy-surface); border: 1px solid var(--sy-line-strong); border-radius: var(--sy-r-sm); cursor: pointer;
}
.sy-bk__chips--3 .bk-seat-btn { padding-inline: 6px; }
.bk-seat-btn:hover { border-color: var(--sy-ink-3); }
.bk-seat-btn.active { background: var(--sy-accent-soft); border-color: var(--sy-action); color: var(--sy-accent-text); }

/* notes */
.sy-bk__notestoggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 0; margin: 0;
  font: inherit; font-size: .875rem; font-weight: 600; color: var(--sy-ink); background: none; border: 0; cursor: pointer; border-radius: 6px;
}
.sy-bk__notestoggle:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
#bkNotesArrow { display: inline-grid; transition: transform .15s; color: var(--sy-ink-2); }
.sy-bk__notestoggle[aria-expanded="true"] #bkNotesArrow { transform: rotate(90deg); }
.sy-bk__notes { margin-top: 6px; }

/* guest contact */
.sy-bk__form { margin: 0; }
.sy-bk__guest { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 12px; }
.sy-bk__guest legend { padding: 0; }
.sy-bk__guest input { width: 100%; }
.sy-bk__guest .sy-help { margin: 0; }

/* reassurance + waitlist */
.sy-bk__facts { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--sy-line); display: grid; gap: 6px; font-size: .8125rem; color: var(--sy-ink-2); }
.sy-bk__facts li { display: flex; align-items: center; gap: 8px; }
.sy-bk__facts li svg { color: var(--sy-ink-3); }
.sy-bk__facts a { color: var(--sy-ink); font-weight: 600; text-decoration: none; }
.sy-bk__facts a:hover { text-decoration: underline; }
.sy-bk__facts .sy-dt-ts { font-size: .75rem; color: var(--sy-ink-3); }
.sy-bk__facts .sy-dt-ts a { color: var(--sy-accent-text); font-weight: 600; }
.sy-bk__pts { font-weight: 700; color: var(--sy-ink) !important; }
.sy-bk__pts svg { color: var(--sy-brand) !important; }
.sy-bk__wl { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--sy-line-strong); display: grid; gap: 8px; }
.sy-bk__wlstate { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--sy-success); }
.sy-bk__wl .sy-help { margin: 0; }
.sy-bk__wl-login { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--sy-line-strong); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.sy-bk__wl-login .sy-ico { flex-shrink: 0; align-self: center; }
#waitlistBtn { white-space: normal; text-align: center; }

/* CTA */
.bk-cta { flex-direction: column; gap: 2px; white-space: normal; min-height: 58px; padding-block: 8px; text-align: center; }
.bk-cta-label { font-size: 1rem; font-weight: 800; }
.bk-cta-summary { font-size: .8125rem; font-weight: 500; opacity: .95; }
.bk-cta[disabled] .bk-cta-summary { color: var(--sy-ink-2); opacity: 1; }
.sy-bk__reassure { margin: 8px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--sy-ink-2); text-align: center; }
.sy-bk__reassure svg { color: var(--sy-success); flex: none; }
.sy-bk__reassure.is-request svg { color: var(--sy-warning); }

/* ── Mobile bar + sheet ─────────────────────────────────────────────── */
.sy-dt-mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--sy-gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--sy-surface); border-top: 1px solid var(--sy-line); box-shadow: 0 -6px 20px -10px rgba(28, 27, 25, .25);
}
.sy-dt-mbar__info { flex: 1; min-width: 0; }
.sy-dt-mbar__name { margin: 0; font-weight: 700; font-size: .9375rem; color: var(--sy-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sy-dt-mbar__rate { margin: 1px 0 0; display: flex; align-items: center; gap: 4px; font-size: .8125rem; color: var(--sy-ink-2); }
.sy-dt-mbar__rate svg { color: var(--sy-star); fill: currentColor; }
#bkMobileOpen { flex: none; min-width: 132px; min-height: 46px; }
@media (max-width: 1023px) {
  body.sy-detail { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) { .sy-dt-mbar { display: none; } }

.sy-dt-sheet { position: fixed; inset: 0; z-index: 300; }
.sy-dt-sheet[hidden] { display: none; }
.sy-dt-sheet__backdrop { position: absolute; inset: 0; background: rgba(20, 16, 12, .5); }
.sy-dt-sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column;
  max-height: 92vh; max-height: 92dvh; background: var(--sy-surface); color: var(--sy-ink);
  border-radius: var(--sy-r-xl) var(--sy-r-xl) 0 0; box-shadow: var(--sy-shadow-3); overflow: hidden;
}
@media (min-width: 640px) { .sy-dt-sheet__panel { left: 50%; right: auto; width: 560px; transform: translateX(-50%); } }
.sy-dt-sheet__head { flex: none; position: relative; display: flex; align-items: center; gap: 8px; padding: 14px 8px 6px var(--sy-gutter); border-bottom: 1px solid var(--sy-line); }
.sy-dt-sheet__handle { position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--sy-line-strong); }
.sy-dt-sheet__head > [data-close-sheet] { margin-left: auto; }
.sy-dt-sheet__body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.sy-dt-sheet__body > .sy-bk { flex: 1 1 auto; border: 0; border-radius: 0; box-shadow: none; }
.sy-dt-sheet__body .sy-bk__scroll { padding-top: 14px; }
.sy-dt-sheet__body .sy-bk__bar { border-radius: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }

/* toast (flash messages when the page opens on an anchor) */
.sy-dt-toast { position: fixed; z-index: 96; left: var(--sy-gutter); right: var(--sy-gutter); bottom: calc(80px + env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; }
.sy-dt-toast[hidden] { display: none; }
.sy-dt-toast .sy-alert { pointer-events: auto; max-width: 520px; width: 100%; box-shadow: var(--sy-shadow-3); align-items: center; }
@media (min-width: 1024px) { .sy-dt-toast { bottom: 24px; justify-content: flex-start; } }

/* footer spacing on this page */
body.sy-detail .sy-footer { margin-top: 24px; }

/* booking mode icons (standard = instant confirmation, group = request) */
.sy-bk__i-std, .sy-bk__i-req { display: inline-flex; }
.sy-bk__i-req { display: none; }
.is-request > .sy-bk__i-std { display: none; }
.is-request > .sy-bk__i-req { display: inline-flex; }
.sy-bk__i-std svg, .sy-bk__i-req svg { width: 13px; height: 13px; }
.sy-bk__reassure .sy-bk__i-std svg, .sy-bk__reassure .sy-bk__i-req svg { width: 15px; height: 15px; }
.sy-bk.is-flash { box-shadow: 0 0 0 3px var(--sy-accent-line), var(--sy-shadow-2); transition: box-shadow .3s; }
/* the heading is only a programmatic focus target (deep link, "Réserver" links, sheet): no ring on it */
.sy-bk__title[tabindex="-1"]:focus, .sy-bk__title[tabindex="-1"]:focus-visible { outline: none; }
.sy-bk__errors:focus { outline: 2px solid var(--sy-danger); outline-offset: 2px; }

@media (max-width: 639px) { .sy-dt-crumbs li:last-child { display: none; } }
/* swaygo.css "legend { uppercase; letter-spacing }" (0,0,1) still beats the zero-specificity sy.css reset */
.sy-dt legend { text-transform: none; letter-spacing: inherit; }
.sy-dt-review__foot .sy-btn--quiet { margin-right: -12px; }
@media (min-width: 1024px) {
  .sy-dt-toast { left: calc(max(0px, (100vw - var(--sy-container) - 2 * var(--sy-gutter)) / 2) + var(--sy-gutter)); right: auto; width: min(520px, calc(100vw - 2 * var(--sy-gutter))); }
}
.sy-dt-gal__cell.is-broken img { visibility: hidden; }
.sy-dt-gal__cell.is-broken::after {
  content: "Photo indisponible"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: .875rem; font-weight: 600; color: var(--sy-ink-3); background: var(--sy-surface-2);
}
/* Leaflet controls follow the theme (links would otherwise inherit the page ink colour) */
.sy-dt-map .leaflet-bar a, .sy-dt-map .leaflet-bar a:hover { background: var(--sy-surface); color: var(--sy-ink); border-bottom-color: var(--sy-line); }
.sy-dt-map .leaflet-bar a.leaflet-disabled { color: var(--sy-ink-3); background: var(--sy-surface-2); }
.sy-dt-map .leaflet-bar { border: 1px solid var(--sy-line-strong); box-shadow: var(--sy-shadow-1); }
/* (0,3,0): leaflet.css is loaded after this file with ".leaflet-container .leaflet-control-attribution" */
.sy-dt-map .leaflet-container .leaflet-control-attribution { background: color-mix(in srgb, var(--sy-surface) 88%, transparent); color: var(--sy-ink-2); }
.sy-dt-map .leaflet-container .leaflet-control-attribution a { color: var(--sy-accent-text); }
.sy-dt-deal { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 8px 12px; width: fit-content; max-width: 100%; border-radius: var(--sy-r-sm); background: var(--sy-accent-soft); border: 1px solid var(--sy-accent-line); font-size: .9375rem; color: var(--sy-ink); }
.sy-dt-deal svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--sy-accent-text); }
.sy-dt-deal strong { color: var(--sy-accent-text); }

/* gallery photo buttons: focus ring drawn as an overlay (the grid clips outlines) */
#syDetail .sy-dt-gal__cell { position: relative; }
#syDetail .sy-dt-gal__cell:focus-visible { outline: none; box-shadow: none; }
#syDetail .sy-dt-gal__cell:focus-visible::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--sy-action);
}

/* touch screens keep comfortable targets in the (compact) calendar and slots */
@media (pointer: coarse) {
  .bk-cal-day { height: 40px; }
  .bk-slot { min-height: 42px; }
  .bk-type-tab { min-height: 42px; }
}

/* desktop booking panel: denser slot grid, e-mail and phone side by side (DOM / tab order unchanged) */
@media (min-width: 1024px) {
  .sy-dt-aside .bk-slots-grid { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); }
  .sy-dt-aside .sy-bk__guest { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 10px; row-gap: 10px; }
  .sy-dt-aside .sy-bk__guest > :not(.sy-field), .sy-dt-aside .sy-bk__guest > .sy-field:first-of-type { grid-column: 1 / -1; }
}
