:root {
  --brand: #f97316;
  --brand-dark: #ea580c;
  --bg-page: #fef7ed;
  --text-main: #2c1a0e;
  --text-muted: #6b4c3a;
  --border: #ffebd2;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
}

/* ── HEADER ── */
.site-header {
  background: linear-gradient(120deg, #14100b 0%, #2b2118 100%);
  border-bottom: 3px solid var(--brand);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.site-header h1 {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  letter-spacing: 2px;
  color: #fff2e4;
  margin: 0;
}
.site-header h1 .fa-fire {
  color: var(--brand);
}
.site-header .subtitle {
  color: rgba(255, 242, 228, 0.75);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 4px 0 0;
}

/* ── SELECTOR DE SERVICIO ── */
.service-selector {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3rem;
  padding: 0.25rem;
  backdrop-filter: blur(10px);
}
.btn-service {
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  transition: all 0.2s ease;
  background: transparent;
  color: #fff2e4;
  border: none;
  cursor: pointer;
}
.btn-service i {
  margin-right: 0.5rem;
}
.btn-service.active {
  background: var(--brand);
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.btn-service:hover:not(.active) {
  background: rgba(249, 115, 22, 0.3);
}

/* ── CONTENEDOR DE MESA ── */
.mesa-container {
  margin-top: 1rem;
  padding: 0.5rem;
}
.mesa-input-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fef3e9;
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
}
.mesa-input-wrapper i {
  color: var(--brand);
  font-size: 1rem;
}
.mesa-input-wrapper input {
  background: transparent;
  border: none;
  font-weight: 700;
  width: 60px;
  text-align: center;
  outline: none;
  color: var(--brand-dark);
  font-size: 1rem;
}
.mesa-input-wrapper input:focus {
  outline: none;
}
.mesa-label {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.mesa-container small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

/* ── SECTION HEAD ── */
.section-head {
  background: #fef0e0;
  border-left: 6px solid var(--brand);
  padding: 0.75rem 1.25rem;
}
.section-head h2 {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  letter-spacing: 1px;
  color: #7b341e;
  margin: 0;
}

/* ── PRODUCT CARD ── */
.product-card {
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: #fff;
  transition:
    transform 0.22s,
    box-shadow 0.22s,
    border-color 0.22s;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: #fbbf84;
  box-shadow: 0 16px 30px -8px rgba(249, 115, 22, 0.22);
}
.card-icon-wrap {
  background: #fef3e9;
  text-align: center;
  padding: 16px 0 8px;
  font-size: 2.2rem;
  color: var(--brand-dark);
}
.card-body-inner {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-title {
  font-family: "Bebas Neue", cursive;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: #3f220f;
  margin-bottom: 4px;
}
.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0.75rem;
}

/* ── VARIANT BUTTONS ── */
.variant-group {
  border-top: 1px dashed #f2d8bc;
  padding-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.variant-btn {
  flex: 1 1 auto;
  background: #fef3e9;
  border: 1px solid #fed6aa;
  border-radius: 50px;
  padding: 7px 6px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #7c2d12;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  text-align: center;
  min-width: 70px;
}
.variant-btn span {
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--brand-dark);
}
.variant-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.variant-btn:hover span {
  color: #fff;
}

/* ── TORTILLA SELECTOR ── */
.tortilla-group {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.tortilla-btn {
  flex: 1;
  background: #f0e4d4;
  border: none;
  border-radius: 40px;
  padding: 7px 6px;
  font-family: "Nunito", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: #5a2e12;
  transition:
    background 0.15s,
    color 0.15s;
}
.tortilla-btn:hover {
  background: var(--brand);
  color: #fff;
}

/* ── INFO BLOCKS ── */
.info-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  height: 100%;
}
.info-block .info-icon {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 10px;
  display: block;
}
.info-block h3 {
  font-weight: 800;
  font-size: 1rem;
  color: #2b1a0f;
  margin-bottom: 6px;
}
.info-block p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.social-icons a {
  font-size: 1.7rem;
  color: #5e2e14;
  margin: 0 8px;
  transition:
    color 0.2s,
    transform 0.2s;
  display: inline-block;
}
.social-icons a:hover {
  color: var(--brand);
  transform: scale(1.12);
}

/* ── CART FLOAT ── */
.cart-float {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(600px, 80vh);
  background: #fffef9;
  border: 1px solid #ffd8ae;
  border-radius: 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  z-index: 999;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.cart-float.collapsed {
  max-height: 54px;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--brand);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  background: #fff;
  user-select: none;
}
.cart-badge {
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  margin-left: 6px;
}
.cart-chevron {
  color: var(--brand-dark);
  transition: transform 0.3s;
}
.cart-float.collapsed .cart-chevron {
  transform: rotate(180deg);
}

.cart-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0.75rem 1rem 1rem;
  overflow: hidden;
}
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  margin-bottom: 0.5rem;
}
.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #eedbbc;
  font-size: 0.8rem;
  gap: 8px;
}
.cart-item-name {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.cart-item-price {
  font-weight: 800;
  color: var(--brand-dark);
  white-space: nowrap;
}
.cart-remove {
  background: #e07c4c;
  border: none;
  color: #fff;
  border-radius: 40px;
  padding: 2px 8px;
  font-weight: 800;
  font-size: 0.7rem;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.cart-remove:hover {
  background: #b94e1f;
}
.cart-total {
  font-weight: 800;
  font-size: 1.15rem;
  text-align: right;
  margin: 0.4rem 0;
  flex-shrink: 0;
}
.cart-total small {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}
.cart-empty {
  text-align: center;
  color: #bca08a;
  font-size: 0.82rem;
  font-style: italic;
  padding: 8px 0;
}
.notes-area textarea {
  width: 100%;
  border: 1px solid #f1cfaa;
  border-radius: 0.8rem;
  padding: 7px 10px;
  font-family: "Nunito", sans-serif;
  font-size: 0.8rem;
  resize: none;
  background: #fffcf7;
  color: var(--text-main);
}
.notes-area textarea:focus {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
}

/* ── TOAST ── */
.toast-msg {
  position: fixed;
  bottom: 86px;
  right: 20px;
  background: #1a4a1e;
  color: #fff;
  padding: 9px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.83rem;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  max-width: calc(100vw - 40px);
  animation: toastIn 0.22s ease;
  word-break: break-word;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  background: #1e1710;
  color: #ebd5b3;
  font-size: 0.85rem;
}

.cart-items-list::-webkit-scrollbar {
  width: 5px;
}
.cart-items-list::-webkit-scrollbar-track {
  background: #fef3e9;
}
.cart-items-list::-webkit-scrollbar-thumb {
  background: #f9b67e;
  border-radius: 10px;
}

.btn-wa {
  background: #25d366 !important;
  color: #fff !important;
  font-weight: 800;
  border: none;
}
.btn-wa:hover {
  background: #1ebe5d !important;
}
.btn-fogon {
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 800;
  border: none;
}
.btn-fogon:hover {
  background: var(--brand-dark) !important;
}
