:root {
  --font-script: "Great Vibes", cursive;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="carte"] {
  --bg: #f4eee3;
  --bg-page: #e8dfd0;
  --surface: #fffaf2;
  --ink: #1c241c;
  --muted: #5c6558;
  --accent: #1f3d2b;
  --accent-2: #1a4a8c;
  --price: #1f3d2b;
  --line: rgba(31, 61, 43, 0.12);
  --chip: rgba(31, 61, 43, 0.07);
  --chip-on: #1f3d2b;
  --chip-on-ink: #f7f1e6;
  --awning: #1a4a8c;
  --shadow: 0 18px 50px rgba(28, 36, 28, 0.08);
  --theme-meta: #1a4a8c;
}

[data-theme="boissons"] {
  --bg: #0b1420;
  --bg-page: #070d14;
  --surface: #121c2b;
  --ink: #f4e8cc;
  --muted: #b5a686;
  --accent: #c9a35a;
  --accent-2: #e4c88a;
  --price: #e4c88a;
  --line: rgba(201, 163, 90, 0.18);
  --chip: rgba(201, 163, 90, 0.1);
  --chip-on: #c9a35a;
  --chip-on-ink: #0b1420;
  --awning: #0b1420;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --theme-meta: #0b1420;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-page);
  transition: background 0.45s var(--ease), color 0.35s var(--ease);
}

body,
button {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.app {
  width: min(100%, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: background 0.45s var(--ease);
}

.hero {
  position: relative;
}

.awning {
  padding: calc(22px + var(--safe-top)) 22px 26px;
  background: var(--awning);
  color: #fffaf2;
  text-align: center;
  transition: background 0.45s var(--ease);
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.78;
}

.logo {
  margin: 0;
  font-family: var(--font-script);
  font-size: 58px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.tag {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 0;
  width: min(220px, 70%);
  color: currentColor;
  opacity: 0.75;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
}

.hero-card {
  margin: -18px 16px 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(16, 24, 20, 0.18);
}

.hero-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center 35%;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(8, 14, 20, 0.55));
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 4px;
}

.welcome {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.welcome span {
  display: block;
  margin-top: 2px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.table-chip {
  display: none;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-chip.is-on {
  display: inline-flex;
}

.address {
  display: block;
  margin: 0 0 16px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.45;
}

.ig {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.ig svg {
  width: 16px;
  height: 16px;
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 10px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 16px;
  padding: 5px;
  border-radius: 999px;
  background: var(--chip);
}

.tab {
  height: 40px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.tab.is-on {
  background: var(--chip-on);
  color: var(--chip-on-ink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.cats {
  display: none;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 16px 12px;
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}

.cats.is-on {
  display: flex;
}

.cats::-webkit-scrollbar {
  display: none;
}

.cat {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--muted);
}

.cat.is-on {
  background: var(--chip-on);
  border-color: var(--chip-on);
  color: var(--chip-on-ink);
}

.sheet {
  display: none;
  padding: 6px 16px 40px;
}

.sheet.is-on {
  display: block;
}

.daily {
  margin: 8px 0 22px;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.daily h2 {
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.daily p {
  margin: 8px 0 14px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.daily-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.daily-card {
  padding: 12px 8px;
  border-radius: 14px;
  background: var(--chip);
  text-align: center;
}

.daily-card strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

.daily-card span {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
}

.section {
  scroll-margin-top: 126px;
  margin-bottom: 28px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 14px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head::before,
.section-head::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.45;
}

.section-note {
  margin: -6px 0 12px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.group-title {
  margin: 16px 0 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.item:last-child {
  border-bottom: 0;
}

.item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.item-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--price);
}

.desc {
  margin: 5px 0 0;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.sizes {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.size {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 52px;
}

.size small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer {
  padding: 8px 22px calc(28px + var(--safe-bot));
  text-align: center;
}

.footer-love {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  color: var(--muted);
}

.footer-sante {
  margin: 18px 0 6px;
  font-family: var(--font-script);
  font-size: 42px;
}

.footer a {
  color: inherit;
}

@media (min-width: 860px) {
  body {
    padding: 28px 0;
  }

  .app {
    min-height: calc(100dvh - 56px);
    border-radius: 28px;
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
