:root {
  --yellow: #f7c600;
  --yellow-soft: #ffe07a;
  --ink: #111111;
  --ink-2: #272118;
  --paper: #fffaf0;
  --line: rgba(17, 17, 17, 0.1);
  --muted: #6e6253;
  --green: #0a7a4f;
  --radius: 8px;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 245, 195, 0.95), rgba(247, 198, 0, 0.24)),
    #fff8da;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

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

body,
main,
section,
article,
div,
form,
aside {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  background: rgba(17, 17, 17, 0.94);
  border-bottom: 1px solid rgba(247, 198, 0, 0.22);
  backdrop-filter: blur(14px);
}

.brand-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.65rem;
  flex: 1 1 auto;
}

.brand-wrap > div {
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  object-fit: cover;
}

.brand-title {
  margin: 0;
  color: var(--yellow);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.65rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.brand-tag {
  margin: 0.12rem 0 0;
  color: #fff3bd;
  font-size: 0.74rem;
  white-space: normal;
}

.desktop-nav {
  display: none;
}

.desktop-nav a {
  color: #fff9dd;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.cart-btn,
.mini-cart {
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.56rem 0.7rem;
  box-shadow: 0 8px 20px rgba(247, 198, 0, 0.22);
  flex: 0 0 auto;
}

.cart-btn strong {
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-size: 0.78rem;
}

main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 0.8rem 1.4rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 380px;
  margin: 0.8rem 0 0;
  padding: 1rem 0.85rem;
  overflow: hidden;
  align-items: end;
  isolation: isolate;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.18), rgba(17, 17, 17, 0.88)),
    url("https://images.unsplash.com/photo-1594212699903-ec8a3eca50f5?auto=format&fit=crop&w=1600&q=85")
      center / cover;
  animation: rise 450ms ease;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 36%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(247, 198, 0, 0.2));
}

.hero-copy {
  width: min(680px, 100%);
  color: #fffdf2;
}

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

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0.35rem 0 0;
  line-height: 1;
}

h1,
h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.4rem, 20vw, 5.2rem);
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

h2 {
  font-size: 1.9rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 34rem;
  margin: 0.35rem 0 0;
  color: #fff7d4;
  font-size: 1rem;
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  width: 100%;
  padding: 0.72rem 0.92rem;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

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

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.btn-dark {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(247, 198, 0, 0.25);
}

.btn-light {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.hero-ticket {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: none;
  width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 0.8rem;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-ticket span,
.hero-ticket small {
  display: block;
  color: #ffe690;
  font-weight: 800;
}

.hero-ticket strong {
  display: block;
  margin: 0.2rem 0;
  font-size: 1.15rem;
}

.highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0.8rem 0 0;
  background: rgba(17, 17, 17, 0.11);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.highlights article {
  padding: 1rem;
  background: #fffaf0;
}

.highlights h3,
.highlights p {
  margin: 0;
}

.highlights h3 {
  font-size: 0.9rem;
}

.highlights p {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.order-layout {
  display: grid;
  gap: 1.1rem;
  padding-top: 1.2rem;
}

.section-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
  min-width: 0;
}

.section-head.compact {
  margin-bottom: 0.55rem;
}

.mini-cart {
  display: none;
  flex: 0 0 auto;
  padding: 0.58rem 0.78rem;
}

.filters {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0 0 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}

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

.filters button {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 38px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.filters button span {
  display: grid;
  place-items: center;
  min-width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.09);
  font-size: 0.72rem;
}

.filters button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--yellow);
}

.filters button.active span {
  background: var(--yellow);
  color: var(--ink);
}

.menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
}

.card {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: var(--radius);
  background: #fffdf5;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.08);
}

.card-image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--ink);
}

.card-image img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  transition: transform 240ms ease;
}

.card:hover .card-image img {
  transform: scale(1.04);
}

.card-image span {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  border-radius: 999px;
  padding: 0.24rem 0.45rem;
  background: rgba(17, 17, 17, 0.82);
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 900;
}

.card-body {
  padding: 0.74rem 0.8rem 0.15rem;
}

.item-cat {
  margin: 0;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card h3 {
  margin-top: 0.18rem;
  font-size: 1rem;
  line-height: 1.15;
}

.card p {
  margin: 0.28rem 0 0;
  color: #4e463b;
  font-size: 0.82rem;
  line-height: 1.38;
}

.card-foot {
  grid-column: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem 0.74rem;
  flex-wrap: wrap;
}

.price {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 1000;
}

.card-foot .btn {
  min-height: 38px;
  padding: 0.48rem 0.8rem;
  width: auto;
}

.pickup-section {
  align-self: start;
}

.checkout-form {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: #fffdf5;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.09);
  min-width: 0;
}

.checkout-form label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.36rem;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: var(--radius);
  padding: 0.74rem 0.78rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(247, 198, 0, 0.32);
}

.full {
  width: 100%;
}

.form-note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.pay-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 0 0 0.82rem;
  border: 0;
  padding: 0;
}

.pay-methods legend {
  grid-column: 1 / -1;
  margin-bottom: 0.1rem;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 900;
}

.inline-choice {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  min-height: 44px;
  margin: 0;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius);
  background: #fff9de;
  cursor: pointer;
}

.inline-choice input {
  width: auto;
  margin: 0;
  accent-color: var(--ink);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: min(94vw, 410px);
  padding: 1rem;
  background: #fffdf5;
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.24);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
}

.cart-head h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.85rem;
}

.cart-head button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 0.6rem 0;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}

.cart-item p {
  margin: 0.22rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.qty-ops {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.qty-ops button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
  background: #fff4bf;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.cart-foot {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.cart-foot p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0.7rem;
  font-size: 1rem;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 50;
  width: max-content;
  max-width: calc(100vw - 1.4rem);
  border-radius: 999px;
  padding: 0.72rem 0.92rem;
  background: var(--ink);
  color: var(--yellow);
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  transform: translateX(-50%) translateY(140%);
  transition: transform 200ms ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

footer {
  padding: 1.4rem 1rem 2rem;
  color: #6b5510;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@media (min-width: 720px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  main {
    padding-inline: 1.25rem;
  }

  .hero {
    min-height: clamp(430px, 72vh, 620px);
    padding: 1.7rem;
  }

  h1 {
    font-size: clamp(5.4rem, 14vw, 8rem);
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 220px));
  }

  .btn {
    width: auto;
  }

  .hero-ticket {
    display: block;
  }

  .highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .filters {
    padding-bottom: 0.35rem;
  }

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

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

  .card-image img {
    aspect-ratio: 1.55 / 1;
    height: auto;
    min-height: 0;
  }

  .card-foot {
    grid-column: auto;
  }

  .pay-methods {
    grid-template-columns: 1fr 1fr;
  }

  .inline-choice {
    justify-content: center;
  }

  .cart-item {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 430px) {
  .topbar {
    gap: 0.45rem;
    padding: 0.55rem 0.7rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 1.42rem;
  }

  .brand-tag {
    font-size: 0.68rem;
  }

  .cart-btn {
    gap: 0.3rem;
    padding: 0.48rem 0.55rem;
  }

  .cart-btn span {
    display: none;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .highlights article {
    padding: 0.82rem 0.72rem;
  }

  .card-body {
    padding: 0.75rem 0.8rem 0.2rem;
  }

  .cart-drawer {
    left: 0;
    width: 100vw;
    max-width: 100vw;
    padding: 0.85rem;
  }

  .qty-ops {
    margin-top: 0.35rem;
  }
}

@media (min-width: 1040px) {
  .order-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
  }

  .pickup-section {
    position: sticky;
    top: 5.4rem;
  }

  .mini-cart {
    display: inline-flex;
  }

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

@media (min-width: 1240px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .order-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}
