/* Fredoka and Nunito (Google Fonts), latin subset, self-hosted. */
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/fredoka.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/nunito.woff2") format("woff2");
}

:root {
  --bg: #fff6ef;
  --ink: #2c1810;
  --muted: #5e453c;
  --line: #f0d5c8;
  --rose: #8e2f4a;
  --rose-deep: #6e243c;
  --paper: #fff;
  --shadow: 0 8px 24px rgba(92, 42, 48, 0.06);
  --max: 1100px;
  --green: #0f6b4c;
  --green-deep: #0c5940;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scroll-padding-bottom: 96px;
}

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(#ffe4ee, var(--bg) 320px);
}

body.home {
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

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

h1,
h2,
h3,
h4 {
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  margin: 0 0 8px;
  color: var(--rose);
  font-size: clamp(3rem, 12vw, 5.4rem);
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

p {
  margin: 0;
}

a {
  color: var(--rose);
}

:focus {
  outline: none;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 80;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff6ef;
  border-bottom: 1px solid rgba(232, 196, 184, 0.85);
}

.header-inner,
.hero-grid,
.visit-grid,
.wrap {
  min-width: 0;
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand action"
    "nav nav";
  align-items: center;
  gap: 4px 12px;
  padding: 8px 0;
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--rose-deep);
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-name::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, #3a2a24 46%);
  transform: translateY(-10px);
}

.nav {
  grid-area: nav;
  display: flex;
}

.nav a {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-order {
  grid-area: action;
}

.wide-label {
  display: none;
}

.section {
  padding: 48px 0;
}

.panel {
  padding: 24px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero {
  padding: 18px 0 8px;
}

.hero-grid {
  display: grid;
  gap: 16px;
}

.hero-copy {
  order: 2;
  padding: 22px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  order: 1;
}

.hero-media img {
  display: block;
  width: 100%;
  border-radius: 28px;
  background: #f7d5e2;
}

.tagline {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 44px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 800;
}

.chip[data-state="open"] {
  border-color: transparent;
  background: #e5f6ec;
  color: #0e5c3a;
}

.chip[data-state="soon"] {
  border-color: transparent;
  background: #fff3d6;
  color: #6a4b00;
}

.chip[data-state="closed"] {
  border-color: transparent;
  background: #fdecec;
  color: #8c1d1d;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  flex: 1 1 180px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-order.btn {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 10px 14px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-wa {
  background: var(--green);
  color: #fff;
}

.btn-wa:hover {
  background: var(--green-deep);
  color: #fff;
}

.btn-primary,
.btn-ig {
  background: var(--rose);
  color: #fff;
}

.btn-primary:hover,
.btn-ig:hover {
  background: var(--rose-deep);
  color: #fff;
}

.btn-ghost {
  border-color: var(--rose);
  background: var(--paper);
  color: var(--rose);
}

.btn-ghost:hover {
  background: #fde8ee;
}

.about p,
.lead {
  max-width: 40em;
  font-size: 1.2rem;
}

#menu {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.55));
}

.empty-menu {
  padding: 24px 20px;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.empty-menu p {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.menu-note {
  margin-bottom: 8px;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 16px;
}

.chip-btn {
  min-height: 48px;
  padding: 8px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.chip-btn[aria-pressed="true"] {
  border-color: var(--rose);
  background: var(--rose);
  color: #fff;
}

.menu-category {
  margin-top: 8px;
}

.items {
  display: grid;
  gap: 12px;
}

.item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.item h4 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 1.2rem;
}

.price {
  margin: 0;
  color: var(--rose);
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-size: 1.3rem;
}

.tag {
  flex: 1 0 100%;
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff3d6;
  color: #6a4b00;
  font-size: 0.95rem;
  font-weight: 800;
}

.item-note {
  flex: 1 0 100%;
  margin: 0;
  color: var(--muted);
}

.order-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 800;
}

.todo {
  color: #b00020;
  font-weight: 800;
}

.gallery-note,
.caption {
  margin-bottom: 14px;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gallery-grid figure {
  margin: 0;
}

.shot {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #f7d5e2;
  cursor: zoom-in;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.shot:hover img {
  transform: scale(1.04);
}

.visit-grid {
  display: grid;
  gap: 18px;
}

.storefront {
  display: block;
  width: min(100%, 240px);
  margin: 0 auto 8px;
  border-radius: 28px;
}

.facts {
  display: grid;
  gap: 14px;
  margin: 16px 0;
}

.facts div {
  display: grid;
  gap: 2px;
}

.facts dt {
  color: var(--rose);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
}

address {
  font-style: normal;
}

.phone {
  font-weight: 800;
  white-space: nowrap;
}

.map-wrap {
  min-width: 0;
}

.map {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 320px;
  border: 0;
  border-radius: 24px;
  background: #f3e6de;
}

#order-apps:empty {
  display: none;
}

#order .actions,
#follow .btn {
  margin-top: 4px;
}

.site-footer {
  padding: 12px 0 28px;
  color: var(--muted);
}

.footer-brand {
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--rose);
  text-decoration: none;
}

.site-footer p,
.site-footer address {
  margin-top: 8px;
}

.site-footer a {
  font-weight: 800;
}

.dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff6ef;
}

.dock-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 6px 4px;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none;
}

.dock-link.wa {
  background: #e5f6ec;
  color: #0e5c3a;
}

.dock-link.call {
  background: #fde8ee;
  color: var(--rose);
}

.dock-link.dir {
  background: #fff3d6;
  color: #6a4b00;
}

.pearls {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 28px;
  pointer-events: none;
}

.pearls span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 20%, #3a2a24 46%);
  animation: float 2.4s ease-in-out 1 both;
}

.pearls span:nth-child(1) { top: 14%; left: 8%; }
.pearls span:nth-child(2) { top: 28%; right: 10%; width: 10px; height: 10px; animation-delay: -1.2s; }
.pearls span:nth-child(3) { bottom: 16%; left: 14%; width: 11px; height: 11px; animation-delay: -2s; }
.pearls span:nth-child(4) { top: 10%; left: 46%; width: 8px; height: 8px; animation-delay: -3s; }
.pearls span:nth-child(5) { right: 18%; bottom: 22%; animation-delay: -4s; }

@keyframes float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

#lightbox {
  padding: 64px 16px 16px;
  border: 0;
  background: transparent;
}

#lightbox[open] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  cursor: zoom-out;
}

#lightbox::backdrop {
  background: rgba(44, 24, 16, 0.78);
}

#lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(960px, 100%);
  max-height: calc(100dvh - 96px);
  margin: 0 auto;
  border-radius: 20px;
  background: #fff;
  object-fit: contain;
  cursor: default;
}

#lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 48px;
  min-height: 48px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.page-404 {
  padding: 48px 0 72px;
}

.page-404 .panel p {
  margin: 8px 0 18px;
  font-size: 1.15rem;
}

.page-404 .btn {
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  body.home {
    padding-bottom: 0;
  }

  .header-inner {
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "brand nav action";
    min-height: 76px;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 8px 14px;
  }

  .wide-label {
    display: inline;
  }

  .narrow-label {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .dock {
    display: none;
  }

  .btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 800px) {
  .hero {
    padding: 36px 0 12px;
  }

  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 28px;
  }

  .hero-copy {
    order: 1;
    padding: 36px 32px;
  }

  .hero-media {
    order: 2;
  }

  .items,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .items {
    grid-template-columns: 1fr 1fr;
  }

  .visit-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

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

  .pearls span,
  .shot img,
  .btn {
    animation: none;
    transition: none;
  }

  .shot:hover img,
  .btn:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid Highlight;
  }

  .btn,
  .chip-btn,
  .dock-link,
  .shot {
    border: 1px solid ButtonText;
  }
}

@media print {
  .dock,
  .site-header,
  .skip,
  .btn,
  .shot {
    box-shadow: none;
  }

  .dock,
  .skip {
    display: none;
  }

  body.home {
    padding-bottom: 0;
    background: #fff;
  }
}
