:root {
  --accent: #d32f2f;
  --accent-dark: #a52424;
  --cream: #f7f0e8;
  --cream-deep: #efe4d6;
  --ink: #2a2420;
  --ink-muted: #6b5e54;
  --surface: #fffaf5;
  --line: rgba(42, 36, 32, 0.12);
  --ok: #2f7d4a;
  --danger: #b42318;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(42, 36, 32, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 92, 38, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 92, 38, 0.08), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, #f3ebe2 40%, var(--cream-deep) 100%);
  line-height: 1.55;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(247, 240, 232, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  line-height: 0;
}
.brand__logo {
  width: auto;
  height: 3.25rem;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  box-shadow: none;
}
.brand__name {
  display: none;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 1.15rem;
}
.hero-brand__logo {
  width: clamp(10.5rem, 32vw, 15rem);
  height: auto;
  aspect-ratio: 494 / 505;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  /* Soft light plate so dark logo art stays readable on busy photos - not a dark box */
  padding: 0.65rem 0.75rem;
  margin-left: -0.75rem;
  filter: drop-shadow(0 2px 0 rgba(255, 250, 245, 0.55)) drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}
.hero-brand h1 {
  margin: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.75rem;
  line-height: 0;
}
.footer-brand__logo {
  width: auto;
  height: 4rem;
  border-radius: 0;
  object-fit: contain;
  display: block;
  background: transparent;
  box-shadow: none;
}
.footer-brand h3 {
  margin: 0;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn--primary {
  background: var(--accent);
  color: #fffaf5;
}
.btn--primary:hover {
  background: var(--accent-dark);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--icon {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border-radius: 50%;
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
}
.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 2.6rem;
  height: 2.6rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-drawer {
  display: none;
  padding: 0 0 1rem;
}
.nav-drawer.is-open {
  display: block;
}
.nav-drawer a {
  display: block;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle,
  .nav-drawer {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fffaf5;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 8, 6, 0.78) 0%, rgba(12, 8, 6, 0.45) 42%, rgba(12, 8, 6, 0.28) 100%),
    linear-gradient(180deg, rgba(12, 8, 6, 0.2) 0%, rgba(12, 8, 6, 0.75) 100%),
    url("../../public/hero.jpg") center 20% / cover no-repeat;
  transform: scale(1.02);
  animation: hero-zoom 18s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3rem;
  max-width: 36rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
  margin: 0 0 0.75rem;
}

.hero__tagline,
.hero p[data-tagline] {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: rgba(255, 250, 245, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn--ghost {
  border-color: rgba(255, 250, 245, 0.45);
  color: #fffaf5;
  background: rgba(255, 250, 245, 0.08);
  backdrop-filter: blur(6px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 250, 245, 0.88);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section__head h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
}

.section__head p {
  margin: 0;
  color: var(--ink-muted);
}

.about-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}
.about-photo {
  border-radius: var(--radius);
  min-height: 280px;
  background:
    url("../../public/about.jpg")
      center / cover;
  box-shadow: var(--shadow);
}

/* Menu */
.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  cursor: pointer;
}
.chip.is-active,
.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 920px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.meal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.meal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.meal-card__img {
  aspect-ratio: 4 / 3;
  background: var(--cream-deep) center / cover no-repeat;
  position: relative;
}
.meal-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(42, 36, 32, 0.85);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.meal-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.meal-card__body h3 {
  margin: 0;
  font-size: 1.2rem;
}
.meal-card__desc {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  flex: 1;
}
.meal-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}
.price {
  font-weight: 700;
  font-size: 1.05rem;
}
.meal-card.is-sold .btn {
  opacity: 0.55;
  pointer-events: none;
}

.menu-status {
  padding: 2rem;
  text-align: center;
  color: var(--ink-muted);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* Order flow */
.order-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: none;
  border-top: 1px solid var(--line);
}
.order-flow__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.order-flow__num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fffaf5;
  background: var(--accent);
  flex-shrink: 0;
}
.order-flow__step h3 {
  margin: 0.15rem 0 0.3rem;
  font-size: 1.2rem;
}
.order-flow__step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  max-width: 36rem;
}
@media (min-width: 860px) {
  .order-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 0;
    position: relative;
  }
  .order-flow::before {
    content: "";
    position: absolute;
    top: 1.2rem;
    left: 7%;
    right: 7%;
    height: 1px;
    background: var(--line);
    z-index: 0;
  }
  .order-flow__step {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 0 1rem 0 0;
    border-bottom: 0;
    gap: 0.85rem;
  }
  .order-flow__step:last-child {
    padding-right: 0;
  }
  .order-flow__num {
    position: relative;
    z-index: 1;
  }
}

/* Delivery / FAQ */
.info-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details p {
  margin: 0.5rem 0 0;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 5.5rem;
  background: rgba(42, 36, 32, 0.04);
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.site-footer h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}
.site-footer p,
.site-footer a {
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 0.35rem;
}

/* Floating CTA */
.float-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  display: flex;
  gap: 0.5rem;
}
.float-cta .btn {
  box-shadow: var(--shadow);
}

/* Cart drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 10, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--surface);
  z-index: 51;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.cart-drawer.is-open {
  transform: translateX(0);
}
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.15rem;
}
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-line__img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--cream-deep) center / cover;
}
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.qty-ctrl button {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.cart-drawer__foot {
  border-top: 1px solid var(--line);
  padding: 1rem 1.15rem 1.25rem;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* Checkout form */
.checkout-summary {
  background: var(--cream);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.checkout-summary strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.05rem;
}
.checkout-form .field-grid {
  display: grid;
  gap: 0.85rem;
}
.checkout-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.checkout-form .field--row {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 400px) {
  .checkout-form .field--row {
    grid-template-columns: 1fr 1fr;
  }
}
.checkout-form label,
.checkout-form .field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  margin: 0;
}
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.checkout-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b5e54' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.2rem;
}
.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: #a8988c;
}
.checkout-form input:hover,
.checkout-form select:hover,
.checkout-form textarea:hover {
  border-color: rgba(211, 47, 47, 0.35);
}
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}
.checkout-form .fieldset-title {
  margin: 1.15rem 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.pay-options {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}
.pay-option {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-option:hover {
  border-color: rgba(211, 47, 47, 0.4);
}
.pay-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(211, 47, 47, 0.05);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.pay-option input {
  width: auto;
  margin: 0;
  accent-color: var(--accent);
}
.pay-option span {
  font-weight: 600;
  font-size: 0.95rem;
}
.form-error {
  color: var(--danger);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}
.form-ok {
  color: var(--ok);
  font-size: 0.9rem;
}
.bank-box {
  background: var(--cream);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
}
.drawer-actions {
  display: grid;
  gap: 0.55rem;
}
.hidden {
  display: none !important;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

.confirm-panel {
  text-align: center;
  padding: 1rem 0 0.5rem;
}
.confirm-panel h3 {
  margin: 0 0 0.5rem;
}
.status-pill {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(196, 92, 38, 0.12);
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
}
