:root {
  color-scheme: light;
  --bg: #fff8f0;
  --surface: #ffffff;
  --text: #1b1b1b;
  --muted: #5f5f5f;
  --accent: #e45a2a;
  --accent-dark: #c9461b;
  --border: #efe3d6;
  --shadow: 0 12px 32px rgba(20, 20, 20, 0.08);
  --radius: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
}

.skip-link:focus {
  left: 16px;
  z-index: 10;
}

header {
  background: var(--surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 500;
}

.nav-links a {
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(228, 90, 42, 0.12);
  color: var(--accent-dark);
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus {
  background: var(--accent-dark);
}

.hero {
  padding: 72px 0;
  display: grid;
  gap: 32px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 3vw + 1.5rem, 3.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-content p {
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-dark);
}

.btn-secondary {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 48px 0;
}

.section h2 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  margin-bottom: 12px;
}

.section p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 640px;
}

.section-actions {
  margin-top: 20px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(20, 20, 20, 0.12);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.card h3 {
  font-size: 1.1rem;
}

.price {
  font-weight: 700;
}

.pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(228, 90, 42, 0.12);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.85rem;
}

.menu-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.menu-filter button {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.menu-filter button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-layout {
  display: grid;
  gap: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.cart-item h3 {
  margin-bottom: 4px;
}

.cart-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.quantity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}

.quantity button {
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
}

.cart-remove {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
}

.cart-remove:hover,
.cart-remove:focus {
  color: var(--accent-dark);
  border-color: rgba(228, 90, 42, 0.4);
}

.order-summary {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.order-summary .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

form {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 600;
  display: grid;
  gap: 6px;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
  background: #fff;
}

footer {
  background: #1b1b1b;
  color: #fff;
  padding: 32px 0;
  margin-top: 48px;
}

footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 16px;
}

.map-placeholder {
  background: #f2e7da;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

.notice {
  background: #fff1e6;
  border: 1px solid #f4d1be;
  padding: 16px;
  border-radius: 16px;
  color: #9b3d1d;
}

.notice:empty {
  display: none;
}

.empty-state {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed var(--border);
  color: var(--muted);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .cart-layout {
    grid-template-columns: 1.5fr 1fr;
  }

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