* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0d1117;
  color: #f5f7fa;
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

a {
  text-decoration: none;
}

/* HERO */
.page-hero {
  min-height: 520px;
  position: relative;
  padding: 28px 6% 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pizza-hero {
  background:
    linear-gradient(rgba(10, 14, 20, 0.55), rgba(10, 14, 20, 0.78)),
    url("https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1600&q=80")
    center center / cover no-repeat;
}

/* NAV */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 110px;
}

.logo {
  color: #d8b15a;
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 6px;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.nav-links a {
  color: #1a120d;
  font-size: 0.95rem;
  transition: 0.2s ease;
  text-decoration: none;
}

.return-menu {
  display: inline-block;
  text-decoration: none;
  color: #1a120d;
  background: #d4a25a;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.return-menu:hover {
  background: #e2b777;
  transform: translateY(-1px);
}

/* HERO TEXT */
.hero-content {
  max-width: 560px;
  margin-top: 40px;
}

.eyebrow {
  color: #d8b15a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 3.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #dff4ff;
}

.hero-text {
  color: #e6edf6;
  font-size: 1rem;
  max-width: 520px;
}

/* MAIN CONTENT */
.pizza-menu {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.pizza-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pizza-heading h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #f3f3f3;
  margin-bottom: .75rem;
}

.pizza-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: #c9c9c9;
  font-size: 1.05rem;
  line-height: 1.7;
}

.pizza-filter-box {
  margin-bottom: 1.5rem;
}

.pizza-filter-box label {
  display: block;
  margin-bottom: .65rem;
  color: #f2f2f2;
  font-weight: 400;
  font-size: 28px;
}

.pizza-select {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(207,141,67,0.28);
  background: rgba(19,19,19,0.96);
  color: #f4f4f4;
}

.pizza-items-grid {
  display: grid;
  gap: 1.25rem;
}

.pizza-card {
  display: block;
  background: linear-gradient(180deg, rgba(27,27,27,0.98), rgba(20,20,20,0.98));
  border: 1px solid rgba(255,153,51,0.12);
  border-radius: 24px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.pizza-card.show {
  display: block;
}

.pizza-card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: .9rem;
}

.pizza-card-top h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.4rem;
}

.pizza-card-top span {
  color: #d59a45;
  font-weight: 800;
}

.pizza-sizes {
  margin-top: 5px;
}

.pizza-size {
  display: flex;
  justify-content: space-between;
  max-width: 200px;
  font-size: 0.95rem;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.order-actions button {
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background: #b7863b;
  color: #111;
  font-weight: 700;
  cursor: pointer;
}

.order-cart {
  width: min(1100px, 92%);
  margin: 2rem auto 3rem;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 1.25rem;
}

.order-cart-header,
.summary-row,
.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cart-items {
  margin: 1rem 0;
}

.cart-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-item-meta {
  margin: 0.35rem 0 0;
  opacity: 0.8;
  font-size: 0.95rem;
}

.remove-cart-item,
#clearCartBtn {
  margin-top: 0.5rem;
  border: none;
  background: transparent;
  color: #d7a35a;
  cursor: pointer;
  font-weight: 600;
}

.checkout-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  background: #d7a35a;
  color: #111;
  font-weight: 800;
  cursor: pointer;
}

.checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 24px 16px 32px;
  color: #c7d1de;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1117;
}

/* TABLET */
@media (max-width: 900px) {
  .pizza-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    gap: 24px;
  }

  .logo {
    font-size: 1.45rem;
  }

  .hero-content h1 {
    font-size: 2.7rem;
  }
}

/* MOBILE */
@media (max-width: 700px) {
  .page-hero {
    padding: 22px 5% 60px;
    min-height: 460px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 70px;
  }

  .nav-links {
    text-align: left;
    margin-top: 18px;
  }

  .hero-content {
    margin-top: 10px;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .section-heading h2 {
    font-size: 1.6rem;
  }

  .pizza-card {
    padding: 16px 18px;
    flex-direction: column;
  }

  .pizza-card span {
    align-self: flex-start;
  }
}