/* ==========================================================================
   JELODA - Software para Pizzerías (p/pizzeria/dom/index.css)
   Clean Code - Separación estricta de responsabilidades
   Tema: Warm Crimson & Wood-Fired Amber (#ef4444, #dc2626, #f97316, #e11d48)
   ========================================================================== */

/* ── Base layout ── */
.product-page-wrapper.pizzeria-page {
  padding-top: 160px !important;
  padding-bottom: 120px !important;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.relative-z {
  position: relative;
  z-index: 2;
}

.product-bg-wave {
  position: absolute;
  top: 4%;
  right: -240px;
  width: 820px;
  height: auto;
  opacity: 0.28;
  z-index: 1;
  pointer-events: none;
  animation: floatSlowPizza 16s infinite ease-in-out;
}

.product-bg-wave img {
  width: 100%;
  height: auto;
}

@keyframes floatSlowPizza {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(2deg); }
}

/* ── Badge Pizzería Neon ── */
.badge-pizzeria-neon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16) 0%, rgba(249, 115, 22, 0.08) 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #f87171 !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.18) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}

.badge-pizzeria-neon i {
  font-size: 16px !important;
  margin-right: 8px;
  color: #ef4444;
}

/* ── Gradientes & Títulos ── */
.text-pizzeria-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.pizzeria-hero-title {
  font-weight: 900 !important;
  font-size: 3.4rem !important;
  line-height: 1.15 !important;
  letter-spacing: -0.8px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .pizzeria-hero-title {
    font-size: 2.2rem !important;
  }
}

/* ── Botón Action Pizzería ── */
.btn-pizzeria-action {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0 2.4rem !important;
  height: 54px !important;
  line-height: 54px !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

.btn-pizzeria-action:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.45) !important;
  color: #ffffff !important;
}

/* ── Stats Hero ── */
.stat-number-pizzeria {
  color: #f87171 !important;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

/* ── Mac Window Frame Mockup ── */
.mac-window-frame {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(239, 68, 68, 0.08);
}

.mac-window-header {
  background: #1e293b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-window-dots {
  display: flex;
  gap: 6px;
  z-index: 2;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mac-dot-red { background: #ff5f56; }
.mac-dot-yellow { background: #ffbd2e; }
.mac-dot-green { background: #27c93f; }

.mac-window-title {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.mac-window-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Showcase Card ── */
.pizzeria-showcase-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 2.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pizzeria-showcase-card:hover {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.12);
}

/* ── Feature Lists & Checkmarks ── */
.pizzeria-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.pizzeria-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pizzeria-feature-list li i {
  color: #ef4444;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Pizza Mitad y Mitad Builder Visual ── */
.pizza-combo-visual {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 16px;
  padding: 24px;
}

.pizza-halves-display {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pizza-half-item {
  flex: 1;
  padding: 16px;
  text-align: center;
}

.pizza-half-left {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-right: 1px dashed rgba(255, 255, 255, 0.2);
}

.pizza-half-right {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.pizza-flavor-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.pizza-flavor-price {
  font-size: 0.85rem;
  color: #f87171;
  font-weight: 600;
}

/* ── KDS Horno y Comandas ── */
.kds-station-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 14px;
  padding: 18px;
  margin-top: 14px;
}

.kds-ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.kds-timer-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Precios Pizzería Card ── */
.pricing-card-pizzeria {
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid rgba(239, 68, 68, 0.45);
  border-radius: 24px;
  padding: 40px 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(239, 68, 68, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card-pizzeria:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.7);
}

.pricing-header-pizzeria .pricing-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.pricing-header-pizzeria .pricing-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 20px;
}

.pricing-amount-pizzeria {
  font-size: 3.2rem;
  font-weight: 900;
  color: #f87171;
  line-height: 1;
}

.pricing-amount-pizzeria .currency {
  font-size: 1.8rem;
  vertical-align: top;
  margin-right: 4px;
}

.pricing-amount-pizzeria .period {
  font-size: 1rem;
  font-weight: 500;
  color: #94a3b8;
}

.pricing-features-pizzeria {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  text-align: left;
}

.pricing-features-pizzeria li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #d1d5db;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features-pizzeria li .check {
  color: #ef4444;
  font-size: 19px;
}

/* ── CTA Banner ── */
.pizzeria-cta-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(249, 115, 22, 0.06) 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.pizzeria-cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
}

.pizzeria-cta-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.pizzeria-cta-guarantee {
  color: #8b9bb4;
  font-size: 0.86rem;
}

/* ── Interlinking Gastronomía ── */
.cluster-link-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.cluster-link-card:hover {
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.15);
}

.cluster-link-card i {
  font-size: 32px;
  color: #ef4444;
  margin-bottom: 12px;
}

.cluster-link-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.cluster-link-card p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}
