/* =========================
   VARIABLES
========================= */

:root {
  --rojo: #d62828;
  --rojo-oscuro: #7f0000;
  --amarillo: #ffbe0b;
  --naranja: #fb8500;
  --negro: #111111;
  --carbon: #1b1b1b;
  --gris: #f7f7f7;
  --blanco: #ffffff;
  --whatsapp: #25d366;
  --verde: #198754;
}

/* =========================
   GENERAL
========================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 190, 11, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(214, 40, 40, 0.10), transparent 25%),
    var(--gris);
  color: var(--negro);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fw-black {
  font-weight: 900;
}

/* =========================
   HERO
========================= */

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.95), rgba(127, 0, 0, 0.88)),
    radial-gradient(circle at top right, rgba(255, 190, 11, 0.5), transparent 30%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.04) 25%, transparent 25%);
  background-size: 34px 34px;
  opacity: 0.55;
}

.min-vh-hero {
  min-height: 82vh;
}

.hero-badge {
  background: rgba(255, 190, 11, 0.14);
  color: var(--amarillo);
  border: 1px solid rgba(255, 190, 11, 0.35);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 560px;
  font-size: 1.2rem;
}

.big-hero-btn {
  font-weight: 900;
}

.hero-info-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  max-width: 620px;
}

.hero-info-box div {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 12px;
  color: #fff;
  text-align: center;
}

.hero-info-box strong,
.hero-info-box span {
  display: block;
}

.hero-info-box span {
  color: var(--amarillo);
  font-weight: 900;
  font-size: 1.1rem;
  margin-top: 3px;
}

.hero-food-card {
  width: min(100%, 340px);
  min-height: 370px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 28px 70px rgba(0,0,0,0.45);
  display: grid;
  place-items: center;
  position: relative;
  backdrop-filter: blur(8px);
}

.hero-food-card::before {
  content: "🔥";
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 3rem;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,0.4));
}

.logo-placeholder {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff7df;
  border: 6px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
  display: block;
}

.hero-food-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  border-radius: 22px;
  padding: 16px;
  text-align: center;
}

.hero-food-label span {
  color: var(--amarillo);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-food-label strong {
  font-size: 1.1rem;
}

/* =========================
   BENEFICIOS
========================= */

.benefits-section {
  background: #fff;
}

.benefit-card {
  height: 100%;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #fff8e6, #ffffff);
  border: 1px solid rgba(251, 133, 0, 0.18);
  padding: 18px 12px;
  transition: 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.08);
}

.benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.benefit-card p {
  margin: 0;
  font-weight: 900;
  font-size: 1rem;
}

/* =========================
   CARDS
========================= */

.section-badge {
  display: inline-block;
  background: var(--carbon);
  color: var(--amarillo);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.95rem;
}

.card {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
}

.order-card {
  background: #fff;
  border-top: 7px solid var(--rojo);
}

.order-card:nth-of-type(2) {
  border-top-color: var(--naranja);
}

.order-card:nth-of-type(3) {
  border-top-color: var(--amarillo);
}

.order-card:nth-of-type(4) {
  border-top-color: var(--carbon);
}

.order-card:nth-of-type(5) {
  border-top-color: var(--verde);
}

.simple-title {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.simple-title h3 {
  margin: 0;
  font-weight: 900;
  font-size: 1.55rem;
}

.simple-title p {
  margin: 4px 0 0;
  color: #6c757d;
  font-size: 1rem;
}

.simple-icon {
  min-width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #fff1cc;
  font-size: 2rem;
}

.info-box {
  background: #f8f9fa;
  border: 1px solid #eeeeee;
  border-radius: 18px;
  padding: 16px;
  font-size: 1.05rem;
}

.delivery-notice {
  background: #fff3cd;
  border: 1px solid rgba(255, 190, 11, 0.5);
  color: #5d3800;
  border-radius: 18px;
  padding: 14px 16px;
  font-weight: 700;
}

/* =========================
   PRODUCTOS DEL MENÚ
========================= */

.menu-product-card {
  height: 100%;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, #ff7900, #f15a00);
  color: #fff;
  box-shadow: 0 12px 28px rgba(251, 133, 0, 0.22);
}

.menu-product-card.dark {
  background: linear-gradient(180deg, #2a2a2a, #111111);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.menu-product-card h4 {
  font-size: 1.55rem;
  font-weight: 900;
  margin: 10px 0 8px;
}

.menu-product-card p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.95;
}

.product-includes {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 12px;
  margin-top: 13px;
  font-size: 0.95rem;
  font-weight: 700;
}

.product-includes.dark-box {
  background: rgba(255,190,11,0.14);
  border-color: rgba(255,190,11,0.25);
  color: #fff;
}

.product-tag {
  display: inline-block;
  background: #fff;
  color: var(--rojo);
  font-weight: 900;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.9rem;
}

.product-tag.yellow {
  background: var(--amarillo);
  color: #111;
}

.product-price {
  font-size: 2rem;
  font-weight: 900;
  margin-top: 12px;
}

.btn-add-product {
  background: #fff;
  color: #111;
  border: none;
  font-weight: 900;
  padding: 15px;
  border-radius: 18px;
  font-size: 1.05rem;
}

.btn-add-product:hover {
  background: var(--amarillo);
  color: #111;
}

/* =========================
   HAMBURGUESAS AGREGADAS
========================= */

.empty-message {
  background: #f8f9fa;
  border: 2px dashed #dddddd;
  border-radius: 18px;
  padding: 18px;
  font-weight: 800;
  color: #6c757d;
  text-align: center;
}

.burger-item {
  border: 1px solid #eeeeee;
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 16px;
  background: #fffdf8;
}

.burger-item-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.burger-item h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.burger-item p {
  margin: 3px 0 0;
  color: #6c757d;
}

.burger-price {
  color: var(--rojo);
  font-weight: 900;
}

.btn-remove-burger {
  border: none;
  background: #ffe3e3;
  color: var(--rojo);
  font-weight: 900;
  border-radius: 14px;
  padding: 10px 12px;
  white-space: nowrap;
}

.btn-remove-burger:hover {
  background: var(--rojo);
  color: #fff;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.ingredient-option {
  background: #f7f7f7;
  border: 2px solid #eeeeee;
  border-radius: 16px;
  padding: 13px 10px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.ingredient-check:checked + .ingredient-option {
  background: var(--rojo);
  color: #fff;
  border-color: var(--rojo);
}

/* =========================
   CONTROLES DE CANTIDAD
========================= */

.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
}

.qty-btn {
  width: 70px;
  height: 62px;
  border: none;
  border-radius: 18px;
  background: var(--rojo);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(214, 40, 40, 0.22);
}

.qty-btn:hover {
  background: var(--rojo-oscuro);
}

.qty-input {
  height: 62px;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 900;
  border-radius: 18px;
}

.small-qty {
  min-width: 220px;
}

/* =========================
   EXTRAS
========================= */

.extra-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.extra-item h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
}

.extra-item p {
  margin: 4px 0;
  color: #6c757d;
}

.extra-item strong {
  color: var(--rojo);
  font-size: 1.15rem;
}

/* =========================
   FORMULARIOS
========================= */

.form-control,
.form-select {
  border-radius: 17px;
  border: 1px solid #dddddd;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--naranja);
  box-shadow: 0 0 0 0.2rem rgba(251, 133, 0, 0.18);
}

/* =========================
   TRANSFERENCIA
========================= */

.transfer-box {
  background: #eef9f1;
  border: 1px solid rgba(25, 135, 84, 0.25);
  border-radius: 20px;
  padding: 16px;
}

.account-card {
  border-top: 7px solid var(--verde);
}

.account-info {
  display: grid;
  gap: 12px;
}

.account-info div {
  background: #f4fbf6;
  border: 1px solid rgba(25, 135, 84, 0.17);
  border-radius: 18px;
  padding: 14px 16px;
}

.account-info span {
  display: block;
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 800;
}

.account-info strong {
  display: block;
  color: #111;
  word-break: break-word;
  font-size: 1.05rem;
}

/* =========================
   RESUMEN
========================= */

.summary-card {
  background:
    linear-gradient(180deg, #242424, #111111);
  color: #fff;
  top: 20px;
}

.summary-heading {
  font-weight: 900;
  font-size: 1.75rem;
}

.summary-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  padding: 18px;
}

.summary-row,
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.summary-row {
  margin-bottom: 13px;
  font-size: 1.05rem;
}

.summary-title {
  color: var(--amarillo);
  font-weight: 900;
}

.summary-text {
  color: rgba(255,255,255,0.75);
  margin-bottom: 15px;
}

.summary-burger {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 10px;
}

.summary-burger strong {
  color: #fff;
}

.summary-burger small {
  display: block;
  color: rgba(255,255,255,0.72);
  margin-top: 4px;
}

.total-row {
  font-size: 1.3rem;
}

.total-row strong {
  color: var(--amarillo);
  font-size: 1.75rem;
}

.summary-card hr {
  border-color: rgba(255,255,255,0.18);
}

.btn-whatsapp {
  background: var(--whatsapp);
  border: none;
  color: #fff;
  font-weight: 900;
  padding: 18px 18px;
  font-size: 1.25rem;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.24);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
}

/* =========================
   ALERTAS
========================= */

#alertPlaceholder .alert {
  border: 0;
  border-radius: 18px;
  font-weight: 800;
  font-size: 1.05rem;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #111;
  color: #fff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
  .summary-card {
    position: static !important;
  }
}

@media (max-width: 576px) {
  .min-vh-hero {
    min-height: auto;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .hero-info-box {
    grid-template-columns: 1fr;
  }

  .hero-food-card {
    min-height: 300px;
    width: 100%;
  }

  .logo-placeholder {
    width: 170px;
    height: 170px;
  }

  .display-3 {
    font-size: 2.7rem;
  }

  .simple-title {
    gap: 12px;
  }

  .simple-title h3 {
    font-size: 1.35rem;
  }

  .simple-icon {
    min-width: 56px;
    height: 56px;
    font-size: 1.7rem;
  }

  .ingredient-grid {
    grid-template-columns: 1fr;
  }

  .burger-item-header {
    flex-direction: column;
  }

  .btn-remove-burger {
    width: 100%;
  }

  .qty-control {
    max-width: 100%;
  }

  .qty-btn {
    width: 64px;
    height: 60px;
  }

  .extra-item {
    flex-direction: column;
    align-items: stretch;
  }

  .small-qty {
    min-width: 100%;
  }

  .card-body {
    padding: 22px !important;
  }
}