:root {
  --red: #d62424;
  --red-dark: #a61318;
  --yellow: #ffd22e;
  --cream: #fff8ed;
  --paper: #fffdf8;
  --ink: #17120e;
  --muted: #6d6258;
  --line: rgba(23, 18, 14, 0.12);
  --shadow: 0 24px 70px rgba(80, 31, 16, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.topbar {
  align-items: center;
  background: rgba(255, 248, 237, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 12px clamp(18px, 4vw, 64px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav {
  align-items: center;
  display: flex;
  gap: 18px;
  font-size: 0.94rem;
  font-weight: 800;
}

.nav a {
  border-radius: 999px;
  padding: 9px 12px;
}

.nav-order {
  background: var(--red);
  color: #fff;
}

.nav-raffle {
  background: var(--yellow);
  color: var(--ink);
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 210, 46, 0.38), transparent 28%),
    radial-gradient(circle at 82% 76%, rgba(214, 36, 36, 0.22), transparent 30%),
    linear-gradient(135deg, #24140d 0%, #5b1d16 48%, #111 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: clamp(26px, 4vw, 72px);
  min-height: calc(100vh - 73px);
  overflow: hidden;
  padding: clamp(48px, 8vw, 112px) clamp(20px, 6vw, 86px);
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  opacity: 0.2;
  position: absolute;
}

.hero-content {
  color: #fff;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  align-items: center;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.hero-logo img {
  height: auto;
  object-fit: contain;
  width: 100%;
}

.eyebrow {
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(4.1rem, 12vw, 10rem);
  line-height: 0.82;
  margin-bottom: 26px;
  text-transform: uppercase;
}

h2 {
  color: var(--red);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.95;
  margin-bottom: 18px;
  text-transform: uppercase;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.05;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-copy {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  max-width: 620px;
}

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

.button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--red);
  box-shadow: 0 14px 32px rgba(214, 36, 36, 0.34);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--red-dark);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-whatsapp {
  background: #19b857;
  color: #fff;
}

.contact-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 28px;
  padding-top: 18px;
  font-weight: 800;
}

.highlights {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  padding: 26px clamp(18px, 4vw, 64px);
  transform: translateY(-34px);
  position: relative;
  z-index: 2;
}

.highlights article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.highlights span,
.tag {
  color: var(--red);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.highlights strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin: 8px 0 10px;
}

.highlights p,
.section-heading p,
.menu-card p,
.order-banner p,
.footer p {
  color: var(--muted);
}

.menu-section,
.order-banner {
  padding: 54px clamp(18px, 4vw, 64px);
}

.section-heading {
  max-width: 760px;
}

.section-heading .eyebrow,
.order-banner .eyebrow {
  color: var(--red);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 26px;
}

.filter {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 900;
  padding: 10px 15px;
}

.filter.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.menu-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.menu-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: 22px;
}

.menu-card.featured {
  background: var(--red);
  color: #fff;
}

.menu-card.featured p,
.menu-card.featured .tag {
  color: rgba(255, 255, 255, 0.86);
}

.menu-card strong {
  color: var(--red);
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  margin-top: 22px;
}

.menu-card.featured strong {
  color: var(--yellow);
}

.order-banner {
  align-items: center;
  background: var(--yellow);
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.order-banner h2 {
  color: var(--ink);
}

.order-banner p {
  color: rgba(23, 18, 14, 0.74);
  max-width: 620px;
}

.footer {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  padding: 28px 18px 86px;
  text-align: center;
}

.footer img {
  height: 60px;
  object-fit: contain;
  width: auto;
}

.footer p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.floating-order {
  background: var(--red);
  border-radius: 8px;
  bottom: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  color: #fff;
  font-weight: 900;
  padding: 13px 18px;
  position: fixed;
  right: 16px;
  z-index: 20;
}

.editor-toggle {
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  bottom: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  left: 16px;
  min-height: 48px;
  padding: 12px 16px;
  position: fixed;
  z-index: 21;
}

.editor-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 78px;
  box-shadow: var(--shadow);
  display: none;
  left: 16px;
  max-width: calc(100vw - 32px);
  padding: 18px;
  position: fixed;
  width: 360px;
  z-index: 22;
}

.editor-panel[aria-hidden="false"] {
  display: block;
}

.editor-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.editor-head strong {
  color: var(--red);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.editor-head button {
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  height: 30px;
  width: 30px;
}

.editor-panel label {
  color: var(--ink);
  display: grid;
  font-size: 0.85rem;
  font-weight: 900;
  gap: 7px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.editor-panel input {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 12px;
  width: 100%;
}

.editor-panel p {
  color: var(--muted);
  font-size: 0.92rem;
}

.editor-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.editor-actions button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 12px;
}

.editor-actions button:first-child {
  background: var(--red);
  color: #fff;
}

.editor-actions button:last-child {
  background: #eee6dc;
  color: var(--ink);
}

.is-editing .menu-card [contenteditable="true"] {
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(214, 36, 36, 0.24);
  outline: 0;
  padding: 3px;
}

.menu-card.is-hidden {
  display: none;
}

.admin-body {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 210, 46, 0.24), transparent 24%),
    linear-gradient(180deg, #fff8ed 0%, #f5eadb 100%);
  min-height: 100vh;
}

.admin-topbar {
  align-items: center;
  background: rgba(255, 248, 237, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 58px);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}

.admin-topbar nav {
  display: flex;
  gap: 10px;
}

.admin-topbar nav a {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  padding: 10px 13px;
}

.admin-topbar nav a:first-child {
  background: var(--red);
}

.admin-shell {
  margin: 0 auto;
  max-width: 1240px;
  padding: 34px clamp(14px, 3vw, 34px) 64px;
}

.admin-hero {
  align-items: center;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 210, 46, 0.36), transparent 24%),
    linear-gradient(135deg, #24140d, #611c15 58%, #111);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: clamp(26px, 5vw, 48px);
}

.admin-hero h1,
.admin-login h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 0.9;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.admin-hero p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
}

.admin-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  min-width: 170px;
  padding: 22px;
}

.admin-stat span {
  color: var(--yellow);
  display: block;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-stat strong {
  display: block;
  font-size: 3.4rem;
  line-height: 1;
}

.admin-login {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 8vh auto;
  max-width: 460px;
  padding: 30px;
  text-align: center;
}

.admin-login img {
  height: 92px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
  object-fit: contain;
  width: auto;
}

.admin-login h1 {
  font-size: clamp(2.4rem, 12vw, 4.8rem);
  overflow-wrap: anywhere;
}

.admin-login p {
  color: var(--muted);
}

.admin-login form,
.settings-form {
  display: grid;
  gap: 14px;
}

.admin-login label,
.settings-form label,
.product-row label {
  color: var(--ink);
  display: grid;
  font-size: 0.82rem;
  font-weight: 900;
  gap: 7px;
  text-transform: uppercase;
}

.admin-login input,
.settings-form input,
.settings-form select,
.settings-form textarea,
.product-row input,
.product-row select,
.product-row textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}

.admin-login button,
.settings-form button,
.admin-save {
  background: var(--red);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 12px 16px;
}

.admin-card {
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(80, 31, 16, 0.08);
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.admin-section-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-section-title h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 0;
}

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

.settings-form .wide {
  grid-column: 1 / -1;
}

.settings-form button {
  align-self: end;
}

.product-admin-list {
  display: grid;
  gap: 14px;
}

.product-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr 1.2fr 0.8fr 0.7fr;
  padding: 14px;
}

.product-row .wide {
  grid-column: 1 / -1;
}

.checks {
  align-content: end;
  display: grid;
  gap: 8px;
}

.checks label {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.checks input {
  width: auto;
}

.admin-save {
  margin-top: 16px;
  width: 100%;
}

.danger-card {
  border-color: rgba(214, 36, 36, 0.32);
}

.danger-card button {
  background: var(--ink);
}

.delete-product-list {
  display: grid;
  gap: 10px;
}

.delete-product-item {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.delete-product-item span {
  color: var(--red);
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.delete-product-item strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.15;
}

.delete-product-item p {
  color: var(--muted);
  margin: 5px 0 0;
}

.delete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.delete-actions a,
.delete-actions button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 40px;
  padding: 10px 13px;
}

.delete-actions a {
  background: var(--yellow);
  color: var(--ink);
}

.delete-actions button {
  background: var(--red);
  color: #fff;
}

.product-row.is-targeted {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(214, 36, 36, 0.16);
}

.delete-modal-form {
  display: none;
}

.modal-backdrop {
  align-items: center;
  background: rgba(17, 13, 10, 0.66);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 80;
}

.modal-backdrop[aria-hidden="false"] {
  display: flex;
}

.delete-modal {
  background: var(--paper);
  border: 1px solid rgba(255, 210, 46, 0.45);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  max-width: 500px;
  padding: clamp(22px, 5vw, 34px);
  width: 100%;
}

.delete-modal h2 {
  font-size: clamp(2rem, 7vw, 3.7rem);
}

.delete-modal p {
  color: var(--muted);
}

.delete-modal strong {
  color: var(--ink);
}

.modal-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
}

.modal-actions button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 12px 16px;
}

.modal-actions button:first-child {
  background: #eee6dc;
  color: var(--ink);
}

.modal-actions button:last-child {
  background: var(--red);
  color: #fff;
}

.modal-open {
  overflow: hidden;
}

.admin-alert {
  background: #e9fff0;
  border: 1px solid rgba(25, 184, 87, 0.32);
  border-radius: 8px;
  color: #0e6b33;
  font-weight: 900;
  margin: 16px 0;
  padding: 14px 16px;
}

.admin-alert.error {
  background: #fff1ef;
  border-color: rgba(214, 36, 36, 0.32);
  color: var(--red-dark);
}

@media (max-width: 980px) {
  .menu-grid,
  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-logo {
    max-width: 330px;
  }

  .order-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-form,
  .product-row {
    grid-template-columns: 1fr 1fr;
  }

  .admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    position: static;
  }

  .brand img {
    height: 48px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }

  .nav a {
    padding-inline: 6px;
  }

  .hero {
    min-height: 660px;
  }

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

  h1 {
    font-size: clamp(3.7rem, 18vw, 5.4rem);
  }

  .highlights {
    grid-template-columns: 1fr;
    transform: none;
  }

  .menu-section,
  .order-banner {
    padding-block: 42px;
  }

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

  .menu-card {
    min-height: 210px;
  }

  .button,
  .hero-actions,
  .order-actions,
  .hero-actions a,
  .order-actions a {
    width: 100%;
  }

  .floating-order {
    bottom: 70px;
    left: 10px;
    right: 10px;
    text-align: center;
  }

  .editor-toggle {
    bottom: 10px;
    left: 10px;
    right: 10px;
    width: auto;
  }

  .editor-panel {
    bottom: 124px;
    left: 10px;
    right: 10px;
    width: auto;
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .admin-topbar nav,
  .admin-topbar nav a {
    width: 100%;
  }

  .settings-form,
  .product-row {
    grid-template-columns: 1fr;
  }

  .delete-product-item,
  .modal-actions {
    grid-template-columns: 1fr;
  }

  .delete-actions,
  .delete-actions a,
  .delete-actions button {
    width: 100%;
  }

  .admin-login {
    margin: 18px;
  }
}
