/* ============================================================
   DONI'S PIZZA – STYLES.CSS
   Paleta: fondo casi negro, rojo logo #E8231A, azul logo #1E9BD7
   ============================================================ */

/* ---------- VARIABLES ---------- */
:root {
  --bg:        #0f0f0f;
  --bg2:       #161616;
  --bg3:       #1e1e1e;
  --red:       #E8231A;
  --red-dark:  #c41a12;
  --blue:      #1E9BD7;
  --blue-dark: #1680b5;
  --white:     #ffffff;
  --gray:      #a0a0a0;
  --gray2:     #2c2c2c;
  --border:    rgba(255,255,255,0.08);
  --shadow:    0 8px 32px rgba(0,0,0,0.5);
  --radius:    14px;
  --radius-sm: 8px;
  --font:      'Poppins', sans-serif;
  --transition: 0.25s ease;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 18px rgba(232,35,26,0.35);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 6px 24px rgba(232,35,26,0.55);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 18px rgba(30,155,215,0.35);
}
.btn-blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 6px 24px rgba(30,155,215,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}

.btn-full { width: 100%; display: flex; }

/* ============================================================
   CONTENEDOR
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.section-desc {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ============================================================
   DELIVERY BANNER
   ============================================================ */
.delivery-banner {
  background: var(--red);
  padding: 0.7rem 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 998;
  overflow: hidden;
  margin-top: 62px; /* altura del navbar */
  /* Contorno muy visible con sombra interna */
  box-shadow:
    0 0 0 4px var(--red-dark),
    0 0 0 6px #ff6b63,
    0 4px 20px rgba(232,35,26,0.6);
}
.delivery-text {
  font-size: clamp(0.82rem, 2.5vw, 1rem);
  font-weight: 700;
  color: #fff;
  text-shadow:
    0 0 10px rgba(0,0,0,0.6),
    1px 1px 0 rgba(0,0,0,0.4),
    -1px -1px 0 rgba(0,0,0,0.4);
  letter-spacing: 0.3px;
  /* animación pulso sutil */
  animation: pulseBanner 2.5s ease-in-out infinite;
}
@keyframes pulseBanner {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition),
              box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(15,15,15,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo img {
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links li a {
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition), background var(--transition);
}
.nav-links li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 50px;
  padding: 0.45rem 1.1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(232,35,26,0.4);
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  box-shadow: 0 6px 20px rgba(232,35,26,0.6) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem 4rem;
}
/* Pizza de fondo del hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('imgs/pizza-plano-epico.jpeg') center / cover no-repeat;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 70% 50%, rgba(232,35,26,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(30,155,215,0.06) 0%, transparent 60%),
    linear-gradient(160deg, rgba(10,10,10,0.78) 0%, rgba(18,18,18,0.78) 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}
.hero-text { }
.hero-sub {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.hero-logo {
  width: min(420px, 90%);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 24px rgba(232,35,26,0.25));
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img img {
  width: min(460px, 100%);
  filter: drop-shadow(0 10px 40px rgba(232,35,26,0.2));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   HERO MASCOTA CORNER
   ============================================================ */
.hero-mascota-corner {
  position: absolute;
  bottom: 0;
  left: clamp(0.5rem, 4vw, 4rem);
  z-index: 2;
  pointer-events: none;
  width: clamp(90px, 13vw, 170px);
  animation: mascotaPeek 6s ease-in-out infinite;
  transform-origin: bottom center;
}
.hero-mascota-corner img {
  width: 100%;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
}
@keyframes mascotaPeek {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  40%       { transform: translateY(-10px) rotate(2deg); }
  70%       { transform: translateY(-5px) rotate(-1deg); }
}

/* ============================================================
   MASCOTA CALLOUT
   ============================================================ */
.mascota-callout {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
  overflow: hidden;
}
.mascota-callout-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.callout-mascota {
  width: clamp(80px, 12vw, 150px);
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(232,35,26,0.18));
  animation: float 4.5s ease-in-out infinite;
}
.callout-bubble {
  background: var(--bg2);
  border: 1px solid rgba(30,155,215,0.25);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  position: relative;
  flex: 1;
}
/* Cola de la burbuja */
.callout-bubble::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: rgba(30,155,215,0.25);
}
.callout-bubble::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--bg2);
}
.callout-bubble p {
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.callout-bubble p strong { color: var(--blue); }
.hide-mobile { display: inline; }

@media (max-width: 600px) {
  .hero-mascota-corner { display: none; }
  .mascota-callout-inner { gap: 1rem; }
  .hide-mobile { display: none; }
  .callout-bubble::before,
  .callout-bubble::after { display: none; }
}

/* ============================================================
   PROMO STRIP
   ============================================================ */
.promo-strip {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0.9rem 0;
}
.promo-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.promo-track span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.5px;
}
.promo-track span:nth-child(odd) { color: rgba(255,255,255,0.7); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   MENU SECTION
   ============================================================ */
.menu-section {
  padding: 5rem 0 4rem;
  background: var(--bg);
}

/* SIZE TABS */
.size-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.size-tab {
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--bg3);
  color: var(--gray);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.size-tab:hover { border-color: var(--red); color: var(--white); }
.size-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232,35,26,0.4);
}

/* GRID */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

/* CARD */
.pizza-card {
  background: var(--bg3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.pizza-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  border-color: rgba(232,35,26,0.3);
}

.card-img-unknown {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 700;
  color: #555;
  background: #1a1a1a;
  user-select: none;
}

.card-img-wrap {
  position: relative;
  height: 200px;
  background: var(--bg2);
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}
.pizza-card:hover .card-img-wrap img { transform: scale(1.06); }

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.badge-red { background: var(--red); color: #fff; }
.badge-blue { background: var(--blue); color: #fff; }

.card-body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.5px;
}
.btn-order {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.menu-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.8rem;
  margin-top: 2.25rem;
  opacity: 0.7;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 5rem 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
}
.about-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.about-img {
  width: min(380px, 100%);
  filter: drop-shadow(0 8px 30px rgba(30,155,215,0.15));
  animation: float 5s ease-in-out infinite;
}
.about-badge {
  position: absolute;
  bottom: 10px;
  right: 0;
  background: var(--red);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232,35,26,0.5);
  text-align: center;
}
.badge-num {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}
.badge-label {
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.9;
}
.about-text p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about-text p strong { color: var(--white); }
.about-stats {
  display: flex;
  gap: 2rem;
  margin: 1.75rem 0 1.5rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.76rem;
  color: var(--gray);
  font-weight: 500;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 5rem 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}
.contact-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card:hover {
  border-color: rgba(30,155,215,0.4);
  transform: translateY(-4px);
}
.contact-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}
.contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--blue);
}
.contact-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo {
  height: 50px;
  object-fit: contain;
  opacity: 0.85;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--gray);
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.18); }

.modal-header {
  padding: 1.75rem 1.75rem 0;
  text-align: center;
}
.modal-logo {
  height: 42px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
}
.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
}
.modal-pizza-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  margin-top: 0.25rem;
}

.modal-body {
  padding: 1.25rem 1.75rem;
}
.modal-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 0.65rem;
}
.modal-size-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}
.radio-option:has(input:checked) {
  border-color: var(--red);
  background: rgba(232,35,26,0.07);
}
.radio-option input[type="radio"] { display: none; }
.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray2);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition);
}
.radio-option:has(input:checked) .radio-custom {
  border-color: var(--red);
}
.radio-option:has(input:checked) .radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--red);
  border-radius: 50%;
}
.radio-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.radio-text strong { color: var(--white); }

.modal-total-bar {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 1.25rem;
}
.modal-total-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
}

.modal-input {
  width: 100%;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.modal-input::placeholder { color: var(--gray); }
.modal-input:focus { border-color: var(--blue); }
/* Selects en modo oscuro (evita popup blanco del sistema) */
select.modal-input,
.drink-select {
  color-scheme: dark;
  cursor: pointer;
}
select.modal-input option,
.drink-select option {
  background: #1e1e1e;
  color: #fff;
}

.modal-footer {
  padding: 0 1.75rem 1.75rem;
}

/* ============================================================
   MODAL – extras nuevos
   ============================================================ */
.modal-label-hint {
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray);
  margin-left: 4px;
}

/* --- TOPPINGS CHIPS --- */
.toppings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.topping-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.42rem 0.9rem;
  border-radius: 50px;
  border: 2px solid transparent;
  background: var(--bg3);
  color: rgba(255,255,255,0.65);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--transition), background var(--transition),
              color var(--transition), transform var(--transition);
}
.topping-chip:hover {
  border-color: rgba(30,155,215,0.45);
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.topping-chip.selected {
  border-color: var(--blue);
  background: rgba(30,155,215,0.15);
  color: #fff;
  transform: scale(1.04);
}
.topping-chip.selected::before { content: '✓ '; font-weight: 700; color: var(--blue); }

/* --- CANTIDAD --- */
.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}
.qty-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg2);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  line-height: 1;
}
.qty-btn:hover { background: var(--red); border-color: var(--red); }
.qty-display {
  font-size: 1.5rem;
  font-weight: 800;
  min-width: 32px;
  text-align: center;
}

/* --- CART ITEMS LIST --- */
.cart-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--gray);
  font-size: 0.9rem;
}
.cart-empty span { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { min-width: 0; }
.cart-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-detail {
  font-size: 0.76rem;
  color: var(--gray);
  margin-top: 2px;
  line-height: 1.5;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  text-align: right;
  margin-top: 2px;
}
.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  line-height: 1;
}
.cart-qty-btn:hover { background: var(--red); border-color: var(--red); }
.cart-qty-num { font-size: 0.9rem; font-weight: 700; min-width: 18px; text-align: center; }
.cart-remove-btn {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color var(--transition);
}
.cart-remove-btn:hover { color: var(--red); }

/* --- FIELD ERROR --- */
.field-error {
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 0.4rem;
  display: none;
}

/* --- CARRITO FAB --- */
.cart-fab {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  z-index: 900;
  background: var(--red);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  display: none; /* se muestra con JS cuando hay items */
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(232,35,26,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  position: fixed; /* fix doble declaración */
}
.cart-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(232,35,26,0.65); }
.cart-fab.visible { display: flex; }

.cart-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes badgePop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* ============================================================
   BADGE GOLD / GRAY (nuevas pizzas)
   ============================================================ */
.badge-gold { background: linear-gradient(135deg,#f59e0b,#d97706); color:#fff; }
.badge-gray { background: #444; color: rgba(255,255,255,0.6); }

/* ============================================================
   PIZZA CARD – variantes
   ============================================================ */
.pizza-card--coming { opacity: 0.65; pointer-events: none; }
.pizza-card--coming .card-img-wrap img { filter: grayscale(60%); }
.pizza-card--special .card-img-wrap { border-top: 3px solid #f59e0b; }
.pizza-card--halfhalf .card-img-wrap { border-top: 3px solid var(--blue); }
.only12 { font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.5); display: block; margin-top: 2px; }

/* ============================================================
   DRINKS GRID
   ============================================================ */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.drink-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  transition: border-color var(--transition), transform var(--transition);
}
.drink-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.drink-icon { font-size: 2rem; flex-shrink: 0; }
.drink-info { flex: 1; }
.drink-info h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin: 0 0 2px; }
.drink-info p  { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin: 0; }
.drink-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.drink-price { font-size: 1.05rem; font-weight: 800; color: var(--blue); }
.btn-sm { font-size: 0.75rem; padding: 0.35rem 0.8rem; border-radius: 50px; }

/* ============================================================
   PROMO MARTES – sección
   ============================================================ */
.promo-martes-section {
  display: flex;
  background: linear-gradient(135deg, #1a0a0a, #2a0e0e);
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  padding: 2rem 0;
}
.promo-martes-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.promo-martes-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid var(--red);
  flex-shrink: 0;
}
.promo-martes-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0.3rem 0 0.5rem;
}
.promo-martes-text p { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.promo-martes-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Chip dentro del modal */
.promo-martes-chip {
  margin-top: 1rem;
  background: rgba(232,35,26,0.1);
  border: 1px solid var(--red);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.promo-martes-chip label { cursor: pointer; display: flex; align-items: center; gap: 0.5rem; }
.promo-martes-chip input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--red); }

/* ============================================================
   DELIVERY SHOWCASE (entre Nosotros y Contacto)
   ============================================================ */
.delivery-showcase {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-height: 480px;
  display: flex;
  align-items: stretch;
}
.delivery-showcase-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.65);
}
.delivery-showcase-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 0.75rem;
}
.delivery-showcase-content h3 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0,0,0,0.9);
}
.delivery-showcase-content p {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 8px rgba(0,0,0,0.85);
}
.delivery-showcase-content strong { color: var(--red); }
@media (max-width: 600px) {
  .delivery-showcase-img { height: 320px; }
  .delivery-showcase { max-height: 320px; }
}

/* ============================================================
   MODE TABS del modal (Normal / Mitad y Mitad)
   ============================================================ */
.mode-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg3);
  border-radius: 10px;
  padding: 4px;
}
.mode-tab {
  flex: 1;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.mode-tab.active {
  background: var(--red);
  color: #fff;
}

/* Nota toppings gratis – Mitad y Mitad 24 reb */
.halfhalf-note {
  font-size: 0.8rem;
  color: var(--blue);
  background: rgba(30,155,215,0.08);
  border: 1px solid rgba(30,155,215,0.25);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ============================================================
   DRINK RECOMMENDATION dentro del carrito
   ============================================================ */
.drink-recommendation {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(30,155,215,0.08);
  border: 1px solid rgba(30,155,215,0.3);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.drink-recommendation > span { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.drink-rec-btns { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }

/* ============================================================
   SELECT DE MARCA EN REFRESCOS
   ============================================================ */
.drink-select {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.3rem 0.5rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font);
  font-size: 0.82rem;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}
.drink-select:focus {
  border-color: var(--blue);
}

/* ============================================================
   HERO – imagen pizza reemplaza al chef
   ============================================================ */
.hero-pizza-img {
  width: 100%;
  max-width: 430px;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 12px 48px rgba(0,0,0,0.65)) drop-shadow(0 4px 20px rgba(232,35,26,0.18));
  animation: floatImg 4s ease-in-out infinite;
  background: transparent;
}
@keyframes floatImg {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ============================================================
   CHIP PRECIO  (precio del topping dentro del chip)
   ============================================================ */
.chip-price {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  margin-left: 2px;
}
.topping-chip.selected .chip-price { color: #fff; }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}
.whatsapp-fab svg { filter: drop-shadow(0 1px 4px rgba(0,0,0,0.25)); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-img { order: -1; }
  .hero-img img { width: min(300px, 70%); }
  .hero-btns { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { margin-bottom: 1rem; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15,15,15,0.97);
    backdrop-filter: blur(18px);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 0.65rem 0.75rem; }
  .nav-toggle { display: flex; }
}

@media (max-width: 500px) {
  .menu-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 6rem 1rem 3rem; }
  .about-stats { gap: 1.25rem; }
}

/* ============================================================
   FADE-IN ANIMACION DE ENTRADA (Intersection Observer)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
