:root {
  --bg: #0d0d0f;
  --panel: #171719;
  --panel-2: #202024;
  --text: #fff8ee;
  --muted: #b7afa5;
  --line: rgba(255, 255, 255, 0.12);
  --orange: #ff7a1a;
  --yellow: #ffc247;
  --red: #ed3324;
  --green: #3dde84;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 26, 0.18), transparent 28rem),
    linear-gradient(180deg, #101013 0%, #0d0d0f 42%, #111113 100%);
}

body.cart-open,
body.checkout-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(13, 13, 15, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.logo {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  font-size: 1.18rem;
}

.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  color: #140b05;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, #fff2b6 0 12%, transparent 13%),
    linear-gradient(145deg, var(--yellow) 0%, var(--orange) 55%, var(--red) 100%);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(255, 122, 26, 0.34);
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 0.28rem 0.42rem 1.28rem;
  background: #190d06;
  border-radius: 999px 999px 7px 7px;
  box-shadow: inset 0 0.18rem 0 rgba(255, 255, 255, 0.22);
}

.logo-mark::after {
  content: "";
  position: absolute;
  left: 0.48rem;
  right: 0.48rem;
  bottom: 0.48rem;
  height: 0.55rem;
  background: #190d06;
  border-radius: 0 0 999px 999px;
}

.logo-flame {
  position: absolute;
  z-index: 1;
  top: 0.45rem;
  left: 50%;
  width: 0.82rem;
  height: 1.08rem;
  background: linear-gradient(180deg, #fff6bd 0%, var(--yellow) 45%, var(--orange) 100%);
  border-radius: 70% 35% 70% 35%;
  transform: translateX(-50%) rotate(45deg);
}

.logo-grill {
  position: absolute;
  z-index: 1;
  left: 0.73rem;
  right: 0.73rem;
  bottom: 1.05rem;
  height: 0.2rem;
  background: var(--yellow);
  border-radius: 99px;
  box-shadow:
    0 0.36rem 0 rgba(255, 194, 71, 0.95),
    0 0.72rem 0 rgba(255, 194, 71, 0.9);
}

.logo-word {
  letter-spacing: 0;
}

.nav-toggle {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  display: grid;
  gap: 0.28rem;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
}

.main-nav {
  display: none;
}

.site-header.nav-open .main-nav {
  display: flex;
  grid-column: 1 / -1;
}

.main-nav {
  flex-direction: column;
  gap: 0.2rem;
}

.main-nav a {
  padding: 0.8rem 0;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.75rem;
}

.order-link,
.cart-toggle,
.button {
  min-height: 2.9rem;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.order-link {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  color: #160b04;
  background: var(--yellow);
}

.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.cart-count {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  display: grid;
  min-width: 1.3rem;
  height: 1.3rem;
  place-items: center;
  padding: 0 0.25rem;
  color: #160b04;
  background: var(--orange);
  border-radius: 999px;
  font-size: 0.76rem;
}

.hero {
  display: grid;
  gap: 2rem;
  min-height: calc(92svh - 4.6rem);
  padding: 3rem 1rem 2rem;
  overflow: hidden;
  scroll-margin-top: 5rem;
}

.hero-content {
  align-self: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 9vw, 5.9rem);
  line-height: 0.9;
  font-weight: 900;
}

.hero-copy {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.8rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #160b04;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 14px 32px rgba(255, 122, 26, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 44rem;
}

.hero-stats span {
  padding: 0.9rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
}

.hero-stats strong {
  display: block;
  color: var(--text);
  font-size: 1.15rem;
}

.hero-visual {
  position: relative;
  align-self: center;
}

.hero-visual img {
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 15rem;
  padding: 1rem;
  background: rgba(13, 13, 15, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.hero-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-badge strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.section {
  padding: 3.5rem 1rem;
  scroll-margin-top: 5rem;
}

.intro-strip {
  display: grid;
  gap: 1rem;
  background: #151516;
  border-block: 1px solid var(--line);
}

.intro-strip div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-strip strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.intro-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.8rem);
  line-height: 0.95;
}

.category-tabs {
  display: flex;
  gap: 0.55rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1.4rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-tab {
  flex: 0 0 auto;
  min-height: 2.7rem;
  padding: 0 1rem;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.category-tab.active,
.category-tab:hover {
  color: #160b04;
  background: var(--yellow);
  border-color: var(--yellow);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.product-card {
  display: grid;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.product-card img {
  height: 12.5rem;
  object-fit: cover;
}

.product-body {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.product-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.product-meta h3 {
  margin: 0;
  font-size: 1.04rem;
}

.product-price {
  color: var(--yellow);
  font-weight: 900;
  white-space: nowrap;
}

.product-card p {
  min-height: 3.1rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-card .button {
  width: 100%;
}

.deal-banner,
.delivery-checker,
.checkout-form {
  padding: 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deal-banner {
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(135deg, rgba(237, 51, 36, 0.22), rgba(255, 122, 26, 0.12)),
    var(--panel);
}

.deal-banner p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  color: var(--text);
  background: #101012;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.16);
}

.inline-form {
  display: grid;
  gap: 0.75rem;
}

.checker-message,
.form-message {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.checker-message.success,
.form-message.success {
  color: var(--green);
}

.checker-message.error,
.form-message.error {
  color: #ff6a5f;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.notes-field {
  grid-column: 1 / -1;
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 70;
  width: min(100%, 28rem);
  pointer-events: none;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  height: 100%;
  padding: 1rem;
  background: #111113;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

body.cart-open .cart-drawer {
  pointer-events: auto;
}

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

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
  transition: background 220ms ease;
}

body.cart-open .cart-backdrop {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.55);
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: opacity 180ms ease, background 180ms ease;
}

body.checkout-open .checkout-modal {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.68);
  opacity: 1;
}

.checkout-dialog {
  width: min(100%, 48rem);
  max-height: min(90svh, 54rem);
  overflow-y: auto;
  padding: 1rem;
  background: #111113;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(1rem) scale(0.98);
  transition: transform 180ms ease;
}

body.checkout-open .checkout-dialog {
  transform: translateY(0) scale(1);
}

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

.cart-header h2 {
  margin-bottom: 0;
}

.icon-button {
  width: 2.6rem;
  height: 2.6rem;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.5rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1rem 0;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.8rem;
  padding: 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item img {
  height: 4.5rem;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item h3 {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.quantity-controls button,
.remove-item {
  min-width: 2rem;
  height: 2rem;
  color: var(--text);
  background: #101012;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.remove-item {
  padding: 0 0.7rem;
  color: #ff8a80;
}

.cart-empty {
  display: none;
  padding: 1.2rem;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-empty.visible {
  display: block;
}

.cart-summary {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.cart-summary strong {
  color: var(--text);
}

.cart-summary .summary-total {
  color: var(--text);
  font-size: 1.12rem;
}

.checkout-jump {
  width: 100%;
}

.site-footer {
  display: grid;
  gap: 2rem;
  padding: 3rem 1rem;
  color: var(--muted);
  background: #080809;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5rem;
}

.site-footer h3 {
  color: var(--text);
}

.site-footer p {
  line-height: 1.6;
}

.footer-logo {
  margin-bottom: 1rem;
  color: var(--text);
}

.social-links,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.legal-links {
  margin-top: 1rem;
}

.social-links a,
.legal-links a {
  color: var(--yellow);
  font-weight: 800;
}

.status-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 1rem;
}

.status-panel {
  width: min(100%, 42rem);
  padding: 1.3rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.status-panel h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 10vw, 5.2rem);
}

.status-panel p {
  color: var(--muted);
  line-height: 1.7;
}

@media (min-width: 720px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 1.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav,
  .header-actions,
  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    display: flex;
    grid-column: auto;
  }

  .order-link {
    display: inline-flex;
  }

  .main-nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    flex-direction: row;
    gap: 1.25rem;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.8fr);
    align-items: center;
    padding-inline: 1.5rem;
  }

  .section {
    padding-inline: 1.5rem;
  }

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

  .section-heading {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .deal-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .inline-form {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

  .site-footer {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1120px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-left: max(2rem, calc((100vw - 1240px) / 2));
    padding-right: max(2rem, calc((100vw - 1240px) / 2));
  }

  .hero {
    min-height: calc(88svh - 4.2rem);
  }
}

@media (max-width: 430px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

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