:root {
  --ink: #15120f;
  --muted: #675d53;
  --paper: #fffaf1;
  --cream: #f5ead8;
  --charcoal: #201d1a;
  --mustard: #d79a19;
  --tomato: #d43f25;
  --leaf: #287843;
  --line: rgba(21, 18, 15, 0.14);
  --shadow: 0 22px 60px rgba(30, 22, 13, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(215, 154, 25, 0.2), transparent 30%),
    linear-gradient(135deg, #fff8ec 0%, #fffdf7 42%, #efe0c8 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a,
textarea {
  font: inherit;
}

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

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 160px;
}

.hero {
  min-height: min(780px, calc(100vh - 28px));
  padding: 18px;
  color: #fffaf1;
  background:
    linear-gradient(135deg, rgba(21, 18, 15, 0.96), rgba(42, 26, 15, 0.92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 48px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -32% 34%;
  height: 420px;
  background: radial-gradient(circle, rgba(212, 63, 37, 0.55), transparent 68%);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  border: 2px solid rgba(255, 250, 241, 0.88);
}

.brand span,
.mini-link {
  font-size: 0.92rem;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 5px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.08);
}

.lang-btn {
  width: 38px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.lang-btn.active {
  background: var(--mustard);
}

.mini-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  background: rgba(255, 250, 241, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  min-height: calc(min(780px, calc(100vh - 28px)) - 102px);
  padding: clamp(32px, 6vw, 72px) clamp(6px, 2vw, 26px) 24px;
}

.hero-copy {
  min-width: 0;
  max-width: 100%;
}

.hero-copy > * {
  max-width: 100%;
}

.service-line {
  margin: 0 0 18px;
  color: var(--mustard);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Archivo Black", Impact, sans-serif;
  text-transform: uppercase;
}

h1 {
  max-width: 640px;
  font-size: clamp(3.4rem, 7.2vw, 6.55rem);
}

h1 span {
  display: block;
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.whatsapp-btn,
.clear-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
}

.primary-action,
.whatsapp-btn {
  color: #1c1409;
  background: var(--mustard);
}

.secondary-action,
.clear-btn {
  color: #fffaf1;
  background: rgba(255, 250, 241, 0.12);
  border: 1px solid rgba(255, 250, 241, 0.2);
}

.hero-plate {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  min-width: 0;
  display: grid;
  place-items: center;
}

.hero-plate img {
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
}

.quick-stats {
  position: absolute;
  right: 6px;
  bottom: 22px;
  display: grid;
  gap: 8px;
}

.quick-stats span {
  color: var(--paper);
  background: rgba(20, 17, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 0.86rem;
  font-weight: 900;
}

.category-tabs {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
  padding: 8px;
  background: rgba(255, 250, 241, 0.84);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(18px);
}

.category-tabs a {
  min-width: 0;
  min-height: 42px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 900;
}

.category-tabs a:focus,
.category-tabs a:hover {
  color: var(--ink);
  background: #fff;
}

.menu-section {
  padding: clamp(36px, 6vw, 78px) 0 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading span,
.contact-strip span {
  color: var(--tomato);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2,
.contact-strip h2 {
  margin-top: 8px;
  color: var(--charcoal);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.menu-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.menu-column {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.accent-column {
  background: rgba(32, 29, 26, 0.94);
  color: var(--paper);
}

.column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid currentColor;
}

.column-head p {
  margin: 0;
  color: var(--tomato);
  font-weight: 900;
}

.accent-column .column-head p {
  color: var(--mustard);
}

.column-head h3 {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  overflow-wrap: anywhere;
}

.item-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.menu-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 102px;
  padding: 10px;
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid rgba(21, 18, 15, 0.1);
  border-radius: 18px;
}

.accent-column .menu-card {
  color: var(--paper);
  background: rgba(255, 250, 241, 0.08);
  border-color: rgba(255, 250, 241, 0.14);
}

.item-thumb {
  width: 104px;
  height: 78px;
  overflow: hidden;
  border-radius: 16px;
  background-color: #fff;
  background-image: url("menu.png?v=20260514");
  background-repeat: no-repeat;
  background-size: 400% 200%;
  box-shadow: inset 0 0 0 1px rgba(21, 18, 15, 0.04);
}

.thumb-0 { background-position: 0% 0%; }
.thumb-1 { background-position: 33.333% 0%; }
.thumb-2 { background-position: 66.666% 0%; }
.thumb-3 { background-position: 100% 0%; }
.thumb-4 { background-position: 0% 100%; }
.thumb-5 { background-position: 33.333% 100%; }
.thumb-6 { background-position: 66.666% 100%; }
.thumb-7 { background-position: 100% 100%; }

.item-info {
  min-width: 0;
}

.item-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.item-info strong {
  display: block;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 900;
}

.item-title b {
  flex: 0 0 auto;
  color: var(--tomato);
  font-size: 0.95rem;
  font-weight: 900;
  white-space: nowrap;
}

.accent-column .item-title b {
  color: var(--mustard);
}

.item-info span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.accent-column .item-info span {
  color: rgba(255, 250, 241, 0.68);
}

.add-btn,
.qty-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #1c1409;
  background: var(--mustard);
  font-weight: 900;
  cursor: pointer;
}

.contact-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
  margin: 34px 0 0;
  padding: clamp(22px, 4vw, 34px);
  color: var(--paper);
  background: var(--charcoal);
  border-radius: 24px;
}

.contact-strip h2 {
  color: var(--paper);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-links a {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: 16px;
}

.contact-links small {
  color: rgba(255, 250, 241, 0.68);
}

.cart-panel {
  position: fixed;
  right: max(16px, calc((100vw - 1180px) / 2));
  bottom: 16px;
  z-index: 20;
  width: min(420px, calc(100vw - 32px));
  color: var(--paper);
}

.cart-toggle {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: inherit;
  background: rgba(21, 18, 15, 0.94);
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 20px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  text-align: left;
}

.cart-toggle span {
  min-width: 0;
}

.cart-toggle b,
.cart-toggle small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-toggle small {
  margin-top: 5px;
  color: rgba(255, 250, 241, 0.64);
}

#cartCount {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #1c1409;
  background: var(--mustard);
  border-radius: 50%;
}

.cart-drawer {
  display: none;
  margin-top: 8px;
  padding: 14px;
  background: rgba(21, 18, 15, 0.96);
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 20px;
}

.cart-panel.open .cart-drawer {
  display: block;
}

.cart-list {
  display: grid;
  gap: 8px;
  max-height: 34vh;
  overflow: auto;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 250, 241, 0.08);
  border-radius: 14px;
}

.cart-row span {
  color: rgba(255, 250, 241, 0.64);
  font-size: 0.86rem;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 34px;
  height: 34px;
}

.note-field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 250, 241, 0.74);
  font-size: 0.9rem;
  font-weight: 800;
}

textarea {
  width: 100%;
  resize: vertical;
  color: var(--paper);
  background: rgba(255, 250, 241, 0.08);
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 14px;
  padding: 12px;
  outline: 0;
}

.cart-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: 12px;
}

.whatsapp-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 860px) {
  .app-shell {
    width: min(100% - 22px, 640px);
    padding-top: 11px;
  }

  .hero {
    min-height: auto;
    border-radius: 22px;
  }

  .hero-grid,
  .menu-layout,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 24px;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-plate {
    min-height: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-plate img {
    width: min(100%, 420px);
    transform: none;
  }

  .quick-stats {
    right: 10px;
    bottom: 10px;
  }

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

@media (max-width: 560px) {
  .app-shell {
    width: 100%;
    padding: 0 0 154px;
    overflow: hidden;
  }

  .hero {
    border-radius: 0 0 22px 22px;
    border-left: 0;
    border-right: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .topbar {
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    justify-content: flex-start;
  }

  .nav-actions {
    gap: 6px;
    margin-left: 10px;
    position: static;
  }

  .language-switch {
    min-height: 38px;
    padding: 3px;
    gap: 4px;
  }

  .lang-btn {
    width: 34px;
    height: 32px;
    font-size: 1.18rem;
  }

  .mini-link {
    display: none;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 3.55rem);
    max-width: 100%;
  }

  .quick-stats {
    display: none;
  }

  .hero-plate img {
    width: calc(100vw - 62px);
    max-width: 328px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .hero-copy {
    width: 100%;
    max-width: min(334px, calc(100vw - 56px));
  }

  .hero-text {
    width: min(334px, calc(100vw - 56px));
    max-width: min(334px, calc(100vw - 56px));
  }

  .category-tabs,
  .menu-section,
  .contact-strip {
    margin-left: auto;
    margin-right: auto;
    width: min(100% - 22px, 360px);
    max-width: 360px;
    overflow: hidden;
  }

  .section-heading h2 {
    font-size: clamp(1.85rem, 9vw, 2.25rem);
    line-height: 1.05;
    max-width: 100%;
  }

  .menu-layout,
  .menu-column {
    width: 100%;
    max-width: 100%;
  }

  .column-head h3 {
    font-size: 1.65rem;
  }

  .menu-card {
    grid-template-columns: 82px minmax(0, 1fr) 38px;
    min-height: 104px;
    gap: 10px;
  }

  .item-thumb {
    width: 82px;
    height: 66px;
    border-radius: 13px;
  }

  .item-title {
    display: block;
  }

  .item-title b {
    display: block;
    margin-top: 4px;
  }

  .add-btn {
    width: 38px;
    height: 38px;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}
