:root {
  --bg: #fff7ed;
  --card: #ffffff;

  --primary: #24140d;
  --primaryText: #ffffff;

  --text: #21130c;
  --muted: #7a6254;

  --accent: #f97316;
  --accentDark: #9a3412;
  --accentSoft: #ffedd5;

  --cream: #fff7ed;
  --soft: #f8eadc;
  --line: rgba(36, 20, 13, 0.12);

  --shadow: 0 26px 80px rgba(36, 20, 13, 0.16);
  --focusRing: rgba(249, 115, 22, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  background: var(--card);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a,
button {
  color: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
}

button {
  font-family: inherit;
}

img {
  max-width: 100%;
}

.foodPage {
  width: 100%;
  min-height: 100dvh;
  background: var(--card);
}

.foodCard {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
}

@media (min-width: 768px) {
  body {
    background:
      radial-gradient(circle at top, rgba(249, 115, 22, 0.18), transparent 34rem),
      var(--bg);
  }

  .foodPage {
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background:
      radial-gradient(circle at top, rgba(249, 115, 22, 0.18), transparent 34rem),
      var(--bg);
  }

  .foodCard {
    max-width: 430px;
    min-height: auto;
    border: 1px solid rgba(36, 20, 13, 0.08);
    border-radius: 2rem;
    box-shadow: var(--shadow);
  }
}

/* HERO */
.foodHero {
  position: relative;
  height: 260px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--primary);
}

@media (min-width: 768px) {
  .foodHero {
    height: 285px;
  }
}

.foodHero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--heroPosition, center center);
}

.heroShade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(36, 20, 13, 0.88), rgba(36, 20, 13, 0.18), rgba(36, 20, 13, 0.05)),
    radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.42), transparent 36%);
}

.shareBtn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, background 0.18s ease;
}

.shareBtn:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.shareBtn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.heroBadge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 4.5rem;
  bottom: auto;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 5.5rem);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accentDark);
  padding: 0.55rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CONTENT */
.foodContent {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}

/* BRAND */
.brandBox {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: center;
  margin-top: -2.25rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.85rem;
  box-shadow: 0 18px 44px rgba(36, 20, 13, 0.12);
  backdrop-filter: blur(14px);
}

.brandLogo {
  display: grid;
  width: 4.8rem;
  height: 4.8rem;
  place-items: center;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.85), transparent 62%),
    var(--primary);
  color: var(--primaryText);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brandInfo {
  min-width: 0;
}

.brandInfo p {
  margin: 0 0 0.32rem;
  color: var(--accentDark);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brandInfo h1 {
  margin: 0;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.brandInfo span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.description {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 620;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* BUTTONS */
.mainActions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.btn,
.finalCta a,
.productBtn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 950;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover,
.finalCta a:hover,
.productBtn:hover,
.quickLink:hover,
.socialLink:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.btnOrder {
  background: var(--accent);
  color: #ffffff;
}

.btnCall {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btnCall:hover {
  background: var(--primary);
  color: var(--primaryText);
}

@media (min-width: 380px) {
  .mainActions {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

/* QUICK LINKS */
.quickLinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.quickLink {
  display: grid;
  gap: 0.42rem;
  place-items: center;
  min-height: 76px;
  border: 0;
  border-radius: 1.15rem;
  background: var(--cream);
  color: var(--text);
  padding: 0.7rem 0.4rem;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease;
}

.quickLink:hover {
  background: var(--soft);
}

.quickIcon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--primary);
  color: var(--primaryText);
}

.quickIcon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.quickLink span:last-child {
  font-size: 0.7rem;
  font-weight: 900;
}

/* SOCIAL LINKS */
.socialSection {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.socialSection p {
  margin: 0;
  color: var(--accentDark);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.socialLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.socialLink {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--text);
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease;
}

.socialLink:hover {
  background: var(--soft);
}

.socialLink svg {
  width: 1rem;
  height: 1rem;
}

/* PRODUCTS */
.productsSection {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.sectionTitle p {
  margin: 0;
  color: var(--accentDark);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sectionTitle h2 {
  margin: 0.3rem 0 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.productsList {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.productCard {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #ffffff;
  padding: 0.9rem;
}

.productInfo h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.15;
}

.productInfo p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 620;
  line-height: 1.35;
}

.productPrice {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--accentSoft);
  color: var(--accentDark);
  padding: 0.38rem 0.58rem;
  font-size: 0.75rem;
  font-weight: 950;
}

.productBtn {
  min-height: 42px;
  border: 0;
  background: var(--primary);
  color: var(--primaryText);
  padding: 0 0.85rem;
  white-space: nowrap;
}

/* DELIVERY */
.deliveryBox {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.deliveryBox > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  border-radius: 1.2rem;
  background: var(--cream);
  padding: 0.9rem;
}

.deliveryBox > div > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.9rem;
  background: var(--accent);
  color: #ffffff;
}

.deliveryBox svg {
  width: 1.12rem;
  height: 1.12rem;
}

.deliveryBox p {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.deliveryBox strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.3;
}

/* FINAL CTA */
.finalCta {
  margin-top: 1.15rem;
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.5), transparent 34%),
    var(--primary);
  color: var(--primaryText);
  padding: 1.15rem;
}

.finalCta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.finalCta h2 {
  margin: 0.35rem 0 0;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.045em;
}

.finalCta span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.45;
}

.finalCta a {
  width: 100%;
  margin-top: 1rem;
  background: var(--accent);
  color: #ffffff;
}

.footer {
  margin-top: auto;
  padding-top: 1rem;
  padding-bottom: 0.25rem;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ACCESSIBILITY */
a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--focusRing);
  outline-offset: 4px;
}

@media (max-width: 370px) {
  .quickLinks {
    grid-template-columns: repeat(2, 1fr);
  }

  .productCard {
    grid-template-columns: 1fr;
  }

  .productBtn {
    width: 100%;
  }
}