:root {
  --ink: #1b120e;
  --muted: #756257;
  --cream: #fbf1df;
  --paper: #fffaf1;
  --berbere: #bd321f;
  --berbere-dark: #812112;
  --gold: #d99a1e;
  --green: #287846;
  --coffee: #3e271d;
  --line: rgba(62, 39, 29, 0.15);
  --shadow: 0 24px 70px rgba(54, 30, 18, 0.16);
  --soft-shadow: 0 12px 34px rgba(54, 30, 18, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 6%, rgba(217, 154, 30, 0.2), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(40, 120, 70, 0.16), transparent 24%),
    linear-gradient(180deg, #fff8eb 0%, #f8ead2 100%),
    var(--cream);
}

body.basket-open {
  overflow: hidden;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes pulseCount {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.18);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes steamRise {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.92);
  }

  28% {
    opacity: 0.34;
  }

  100% {
    opacity: 0;
    transform: translateY(-72px) scale(1.12);
  }
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(62, 39, 29, 0.11);
  background: rgba(255, 250, 241, 0.84);
  backdrop-filter: blur(22px) saturate(1.15);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #fff4df;
  box-shadow: 0 14px 30px rgba(77, 47, 34, 0.18);
  animation: pulseCount 1.8s ease-in-out infinite;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.12rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 0 16px;
  border: 1px solid rgba(40, 120, 70, 0.28);
  border-radius: 999px;
  color: var(--green);
  background: rgba(40, 120, 70, 0.09);
  font-size: 0.9rem;
  font-weight: 900;
}

.cart-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.cart-link strong {
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--berbere);
  font-size: 0.85rem;
}

.hero {
  position: relative;
  width: 100%;
  min-height: calc(94svh - 74px);
  margin: 0 auto;
  padding: 92px max(16px, calc((100vw - 1180px) / 2)) 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(27, 18, 14, 0.94), rgba(27, 18, 14, 0.62) 42%, rgba(27, 18, 14, 0.08)),
    linear-gradient(0deg, rgba(27, 18, 14, 0.74), transparent 48%),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Firfir.JPG?width=1800") center / cover;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(217, 154, 30, 0.22) 0 5px, transparent 5px 100%),
    linear-gradient(0deg, rgba(255, 250, 241, 0.08), transparent 28%);
  background-size: 120px 100%, auto;
  mix-blend-mode: screen;
  opacity: 0.28;
}

.hero::after {
  content: "";
  position: absolute;
  right: max(26px, calc((100vw - 1180px) / 2 + 44px));
  bottom: 22%;
  width: 220px;
  height: 220px;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 32% 60%, rgba(255, 255, 255, 0.38), transparent 36%),
    radial-gradient(ellipse at 62% 42%, rgba(255, 255, 255, 0.24), transparent 34%);
  filter: blur(14px);
  animation: steamRise 4.8s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
  animation: fadeUp 700ms ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f6c94d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 8.3vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action,
.whatsapp-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  cursor: pointer;
}

.primary-action,
.whatsapp-button {
  color: #fff;
  background: linear-gradient(135deg, #d23d27, var(--berbere-dark));
  box-shadow: 0 16px 36px rgba(129, 33, 18, 0.3);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--coffee);
  background: rgba(255, 253, 247, 0.82);
}

.hero .secondary-action {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero + .intro-band {
  margin-top: -34px;
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
}

.intro-band,
.basket-panel,
.checkout-panel {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.intro-band {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 40px;
  border-radius: 12px;
}

.intro-band::before {
  content: "";
  width: 5px;
  align-self: stretch;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--gold), var(--berbere));
}

.intro-band p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.intro-band h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.menu-section {
  padding-top: 64px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading.compact {
  align-items: center;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--coffee);
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(54, 30, 18, 0.06);
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.filter-button.active {
  color: #fff;
  border-color: var(--berbere);
  background: linear-gradient(135deg, var(--berbere), var(--berbere-dark));
  transform: translateY(-2px);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.meal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: var(--soft-shadow);
  animation: fadeUp 600ms ease both;
  animation-delay: var(--delay, 0ms);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.meal-art {
  position: relative;
  margin: 0;
  min-height: 240px;
  overflow: hidden;
  background: #d9c49c;
}

.meal-card:hover {
  border-color: rgba(185, 52, 32, 0.38);
  box-shadow: 0 28px 70px rgba(67, 37, 24, 0.17);
  transform: translateY(-5px);
}

.meal-art img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.meal-card:hover .meal-art img {
  transform: scale(1.08);
}

.meal-art::after {
  content: attr(data-spice);
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(27, 18, 14, 0.74);
  font-size: 0.76rem;
  font-weight: 800;
}

.meal-art figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.meal-body {
  padding: 22px;
}

.meal-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.meal-card h3 {
  margin-bottom: 9px;
  font-size: 1.35rem;
  line-height: 1.05;
}

.meal-card p {
  color: var(--muted);
  line-height: 1.58;
}

.price {
  white-space: nowrap;
  color: var(--berbere-dark);
  font-size: 1.15rem;
  font-weight: 900;
}

.meal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.meal-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--coffee);
  background: rgba(77, 47, 34, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

.addons {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--coffee);
  background: #fff;
}

.card-qty {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.card-qty button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: var(--coffee);
  background: rgba(62, 39, 29, 0.08);
  font-weight: 900;
  cursor: pointer;
}

.card-qty strong {
  min-width: 18px;
  text-align: center;
}

.add-button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, #2f8b53, var(--green));
  font-weight: 900;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.add-button:hover,
.whatsapp-button:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.add-button:hover {
  background: #256b3f;
}

.order-layout {
  display: block;
  padding: 44px 0 70px;
}

.basket-panel,
.checkout-panel {
  border-radius: 10px;
  padding: 28px;
}

.basket-panel {
  align-self: auto;
}

.basket-drawer {
  position: fixed;
  top: 92px;
  right: max(18px, calc((100vw - 1180px) / 2));
  z-index: 45;
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100svh - 116px);
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(26px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.basket-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.basket-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  border: 0;
  background: rgba(27, 18, 14, 0.34);
  backdrop-filter: blur(4px);
}

.basket-overlay.open {
  display: block;
}

.basket-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--coffee);
  background: rgba(255, 250, 241, 0.9);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.text-button {
  border: 0;
  color: var(--berbere);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.cart-items {
  display: grid;
  gap: 12px;
  min-height: 84px;
}

.empty-cart {
  margin: 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  animation: fadeUp 220ms ease both;
}

.cart-item strong,
.cart-item small {
  display: block;
}

.cart-item small {
  margin-top: 4px;
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--coffee);
  background: var(--paper);
  font-weight: 900;
  cursor: pointer;
}

.totals {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.totals div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.totals span {
  color: var(--muted);
}

.total-row {
  font-size: 1.25rem;
}

.checkout-panel {
  display: grid;
  width: min(760px, 100%);
  margin: 0 auto;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--coffee);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 16px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 74, 0.12);
}

textarea {
  resize: vertical;
}

.whatsapp-button {
  width: 100%;
  margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: calc(86svh - 74px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 120px;
    background-position: center;
  }

  .intro-band,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .basket-drawer {
    top: auto;
    right: 10px;
    bottom: 76px;
    left: 10px;
    width: auto;
    max-height: min(70svh, 640px);
    transform: translateY(18px) scale(0.98);
  }

  .basket-drawer.open {
    transform: translateY(0) scale(1);
  }

}

@media (max-width: 620px) {
  .nav,
  .section-shell {
    width: min(100% - 22px, 1180px);
  }

  .brand small,
  .contact-link,
  .cart-link span {
    display: none;
  }

  h1 {
    font-size: clamp(2.75rem, 17vw, 4.5rem);
  }

  .hero {
    width: 100%;
    padding: 112px 12px 38px;
    gap: 28px;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

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

  .add-row {
    grid-template-columns: 1fr auto;
  }

  .add-button {
    grid-column: 1 / -1;
  }

  .add-button,
  .addons {
    width: 100%;
  }
}
