:root {
  --forest: #1C3828;
  --forest-deep: #13281C;
  --oat: #F4F0E4;
  --oat-soft: #FAF8F2;
  --almond: #E8D8C4;
  --crust: #7A4B2A;
  --matcha: #8D9B56;
  --ink: #223026;
  --muted: #5C685F;
  --border: #DDD5C4;
  --danger-bg: #FDF2F0;
  --danger-text: #8C3327;
  --ok-bg: #EEF3EB;
  --ok-text: #1C3828;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 56, 40, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--oat);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--forest);
  line-height: 1.25;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--crust);
  margin-bottom: 10px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest);
}

.brand-mini img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--forest);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hotline-pill {
  text-decoration: none;
  color: var(--forest);
  background: var(--oat);
  border: 1px solid var(--border);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
}

.hotline-pill:hover {
  background: var(--almond);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 20px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

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

.btn-sm {
  padding: 8px 14px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
}

.btn-primary {
  background: var(--forest);
  color: var(--oat-soft);
}

.btn-primary:hover {
  background: var(--forest-deep);
}

.btn-outline {
  background: var(--oat-soft);
  color: var(--forest);
  border-color: var(--forest);
}

.btn-outline:hover {
  background: var(--almond);
}

.link-btn {
  background: none;
  border: none;
  color: var(--crust);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.cart-badge {
  background: var(--matcha);
  color: #fff;
  font-size: 12px;
  padding: 1px 7px;
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 48px 0 54px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 16px;
}

.hero-lead {
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero-highlights dt {
  font-weight: 700;
  font-size: 14px;
  color: var(--forest);
  margin-bottom: 4px;
}

.hero-highlights dd {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--forest-deep);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-note {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--oat-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 58px 0;
}

.section-alt {
  background: var(--oat-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.section-desc {
  max-width: 420px;
  color: var(--muted);
  font-size: 14.5px;
}

/* Featured Grid */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-feature {
  background: var(--oat-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.product-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-feature-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--forest);
  background: var(--ok-bg);
  padding: 4px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.product-feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-feature p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
  flex: 1;
}

.product-feature-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.product-feature-foot strong {
  font-size: 14px;
  color: var(--crust);
}

/* Menu Tabs & List */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-btn {
  border: 1px solid var(--border);
  background: var(--oat);
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: var(--almond);
}

.tab-btn.active {
  background: var(--forest);
  color: var(--oat-soft);
  border-color: var(--forest);
}

.menu-groups {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.menu-group-card {
  background: var(--oat);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.menu-group-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.menu-group-head h3 {
  font-size: 22px;
}

.menu-group-sub {
  font-size: 13.5px;
  color: var(--crust);
  font-weight: 500;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.menu-item {
  background: var(--oat-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.menu-item-info h4 {
  font-size: 16px;
  color: var(--forest);
  margin-bottom: 4px;
}

.menu-item-info p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

.menu-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--crust);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--oat);
  color: var(--forest);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--almond);
}

.qty-val {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

/* Menu Boards */
.boards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.board-card {
  background: var(--oat-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
}

.board-card img {
  width: 100%;
  border-radius: 8px;
}

.board-card figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--forest);
  text-align: center;
}

/* Order Section */
.order-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.order-summary-card,
.order-form-card,
.confirmation-card {
  background: var(--oat);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-header h3,
.order-form-card h3 {
  font-size: 21px;
}

.order-form-card h3 {
  margin-bottom: 18px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-empty {
  padding: 18px;
  border-radius: 10px;
  background: var(--oat-soft);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--oat-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.cart-row-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
}

.cart-row-price {
  font-size: 12.5px;
  color: var(--muted);
}

.cart-quick-add {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}

.cart-quick-add label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.quick-add-row {
  display: flex;
  gap: 8px;
}

.quick-add-row select {
  flex: 1;
}

.cart-totals {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14.5px;
}

.total-main strong {
  font-size: 20px;
  color: var(--forest);
}

.shipping-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--forest);
}

.req {
  color: var(--danger-text);
}

input,
select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--oat-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--matcha);
  border-color: var(--forest);
}

.form-error {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--danger-bg);
  color: var(--danger-text);
  font-size: 13.5px;
  font-weight: 500;
}

.form-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Confirmation */
.confirmation-card {
  margin-top: 24px;
  background: var(--ok-bg);
  border-color: var(--forest);
}

.status-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--oat-soft);
  background: var(--forest);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.confirmation-head h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.confirmation-head p {
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 16px;
}

.conf-summary {
  background: var(--oat-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-family: inherit;
  font-size: 14px;
  white-space: pre-wrap;
  line-height: 1.65;
  margin-bottom: 16px;
}

.conf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Footer */
.footer {
  padding: 36px 0;
  background: var(--forest);
  color: var(--oat);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--oat-soft);
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--almond);
  margin-top: 4px;
}

.footer-info p {
  font-size: 14px;
  margin-bottom: 4px;
}

.footer-info a {
  color: var(--oat);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .boards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .hotline-pill {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-highlights,
  .featured-grid,
  .menu-items-grid,
  .boards-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}
