/* CSS para Origen Canino Web & Mobile Suite */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Fredoka:wght@400;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Courier+Prime:wght@400;700&display=swap');

:root {
  /* Paleta de colores basada en el logo oficial */
  --primary-green: hsl(85, 34%, 28%);     /* #4d6433 - Verde oliva del plato */
  --primary-green-light: hsl(85, 30%, 45%);
  --primary-green-dark: hsl(85, 38%, 18%);
  --secondary-brown: hsl(24, 38%, 13%);    /* #2c1a0e - Marrón de 'CANINO' */
  --secondary-brown-light: hsl(24, 25%, 30%);
  --accent-red: hsl(1, 51%, 46%);         /* #b13b39 - Rojo óxido de la carne */
  --accent-red-light: hsl(1, 55%, 55%);
  --bg-cream: hsl(40, 24%, 96%);          /* #f6f3ed - Fondo crema suave */
  --bg-white: #ffffff;
  --text-dark: hsl(24, 30%, 12%);
  --text-muted: hsl(24, 12%, 45%);
  
  /* Sistema de diseño tipográfico basado en el logotipo oficial */
  --font-script: 'Pacifico', cursive;      /* Tipografía de 'Origen' */
  --font-header: 'Fredoka', sans-serif;    /* Tipografía de 'CANINO' (chunky rounded) */
  --font-sans: 'Outfit', sans-serif;       /* Para cuerpo de texto */
  --font-mono: 'Courier Prime', monospace;
  
  --shadow-sm: 0 4px 12px rgba(44, 26, 14, 0.05);
  --shadow-md: 0 12px 36px rgba(44, 26, 14, 0.08);
  --shadow-lg: 0 24px 64px rgba(44, 26, 14, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-green-light) transparent;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-green-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-green);
}

/* Header de la Aplicación General */
.app-header {
  background: rgba(246, 243, 237, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--primary-green);
  background-color: var(--bg-white);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

/* Estructuración Typográfica Réplica del Logo */
.logo-brand-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin-bottom: 2px;
}

.logo-brand-origen {
  font-family: var(--font-script);
  font-size: 1.85rem;
  color: var(--primary-green);
  transform: rotate(-3deg);
  line-height: 0.8;
  padding-bottom: 3px;
}

.logo-brand-canino {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--secondary-brown);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.logo-paw {
  font-size: 0.95rem;
  color: var(--primary-green-light);
  transform: rotate(15deg);
}

.logo-brand-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-green);
  text-transform: uppercase;
  border-top: 1px solid rgba(44, 26, 14, 0.12);
  padding-top: 2px;
  margin-top: 2px;
  display: inline-block;
  line-height: 1.2;
}

/* Navegación por Pestañas */
.view-tabs {
  display: flex;
  background: rgba(44, 26, 14, 0.05);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  gap: 0.25rem;
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  color: var(--text-muted);
  border-radius: calc(var(--radius-md) - 4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.tab-btn i {
  font-size: 1.1rem;
}

.tab-btn:hover {
  color: var(--secondary-brown);
}

.tab-btn.active {
  background: var(--bg-white);
  color: var(--primary-green);
  box-shadow: var(--shadow-sm);
}

/* Área de Contenido Principal */
.main-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.view-section {
  display: none;
  width: 100%;
  animation: fadeIn 0.4s ease-out forwards;
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   1. ESTILOS DEL SITIO WEB (DESKTOP)
   ========================================================================== */
.web-hero {
  padding: 5rem 2rem;
  background: radial-gradient(circle at 80% 20%, hsla(85, 34%, 28%, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, hsla(1, 51%, 46%, 0.05) 0%, transparent 50%);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.1;
  color: var(--secondary-brown);
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: var(--primary-green);
  display: block;
  font-family: var(--font-script);
  font-size: 3rem;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0px;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  gap: 0.5rem;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--primary-green);
  color: var(--bg-cream);
  box-shadow: 0 8px 20px hsla(85, 34%, 28%, 0.25);
}

.btn-primary:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px hsla(85, 34%, 28%, 0.35);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--secondary-brown);
  border: 1px solid rgba(44, 26, 14, 0.15);
}

.btn-secondary:hover {
  background: rgba(44, 26, 14, 0.03);
  transform: translateY(-2px);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badge {
  position: absolute;
  background: var(--bg-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  border: 1px solid rgba(44, 26, 14, 0.05);
  animation: float 4s ease-in-out infinite;
}

.hero-badge.badge-1 {
  top: 2%;
  left: -20%;
}

.hero-badge.badge-2 {
  bottom: 6%;
  right: -20%;
  animation-delay: 2s;
}

@media (max-width: 1200px) {
  .hero-badge.badge-1 {
    left: -12%;
  }
  .hero-badge.badge-2 {
    right: -12%;
  }
}

@media (max-width: 768px) {
  .hero-badge.badge-1 {
    top: -8%;
    left: 2%;
  }
  .hero-badge.badge-2 {
    bottom: -8%;
    right: 2%;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-badge i {
  color: var(--accent-red);
  font-size: 1.8rem;
  background: hsla(1, 51%, 46%, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
}

.hero-badge-info h4 {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1rem;
  color: var(--secondary-brown);
}

.hero-badge-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-main-img {
  width: 90%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--bg-white);
  transform: rotate(2deg);
}

/* Filosofía y Dietas */
.web-diets {
  padding: 6rem 2rem;
  background: var(--bg-white);
}

.section-title {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-title span {
  color: var(--accent-red);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--secondary-brown);
}

.diets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.diet-card {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid rgba(44, 26, 14, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.diet-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green-light);
}

.diet-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary-green);
}

.diet-card.cooked::before {
  background: var(--accent-red);
}

.diet-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.diet-card h3 {
  font-size: 1.8rem;
  font-family: var(--font-header);
  color: var(--secondary-brown);
  margin-bottom: 1rem;
}

.diet-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.diet-benefits-list {
  list-style: none;
  margin-bottom: 2rem;
}

.diet-benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.diet-benefits-list li i {
  color: var(--primary-green);
}

.diet-card.cooked .diet-benefits-list li i {
  color: var(--accent-red);
}

/* Catálogo Web */
.web-catalog {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-white);
  border: 1px solid rgba(44, 26, 14, 0.1);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--secondary-brown);
  border-color: var(--secondary-brown);
}

.filter-btn.active {
  background: var(--secondary-brown);
  color: var(--bg-white);
  border-color: var(--secondary-brown);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 26, 14, 0.05);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  height: 200px;
  background: #eae6df;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 3.5rem;
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-green);
  color: var(--bg-white);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
}

.product-tag.tag-cooked {
  background: var(--accent-red);
}

.product-tag.tag-snack {
  background: var(--secondary-brown);
}

.product-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.25rem;
  font-family: var(--font-header);
  font-weight: 600;
  color: var(--secondary-brown);
  margin-bottom: 0.5rem;
}

.product-ingredients {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-green);
}

/* ==========================================
   ESTILOS DE TESTIMONIOS (INSPIRADO EN LEGRAND PETIT)
   ========================================== */
.web-testimonials {
  padding: 6rem 2rem;
  background: var(--bg-white);
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-cream);
  border: 1px solid rgba(44, 26, 14, 0.06);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green-light);
}

.stars-rating {
  color: #f39c12; /* Color dorado */
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44, 26, 14, 0.08);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--primary-green);
  flex-shrink: 0;
}

.testimonial-author-name {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary-brown);
}

.testimonial-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-dog-tag {
  font-size: 0.7rem;
  color: var(--primary-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.testimonial-dog-tag span {
  font-style: italic;
  text-transform: none;
  font-weight: normal;
}

/* Botón flotante para crear testimonio */
.add-testimonial-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ==========================================
   ESTILOS DE PREGUNTAS FRECUENTES (FAQS)
   ========================================== */
.web-faqs {
  padding: 6rem 2rem;
  background: var(--bg-cream);
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid rgba(44, 26, 14, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-green-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--secondary-brown);
  padding: 1.25rem 1.75rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-chevron {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--primary-green);
  font-size: 1rem;
}

.faq-item.active {
  border-color: var(--primary-green);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: hsla(40, 24%, 96%, 0.3);
}

.faq-answer-content {
  padding: 0 1.75rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(44, 26, 14, 0.04);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ==========================================
   Calculadora Rápida Web
   ========================================== */
.web-calculator-section {
  background: var(--secondary-brown);
  color: var(--bg-cream);
  padding: 6rem 2rem;
}

.web-calc-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.web-calc-text h2 {
  font-family: var(--font-header);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.web-calc-text p {
  color: hsla(40, 24%, 96%, 0.75);
  margin-bottom: 2rem;
}

.web-calc-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--bg-cream);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(44, 26, 14, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary-green-light);
  box-shadow: 0 0 0 3px hsla(85, 34%, 28%, 0.25);
}

.calc-result-overlay {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.calc-result-overlay.active {
  display: block;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.result-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.result-item span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: hsla(40, 24%, 96%, 0.6);
  margin-bottom: 0.25rem;
}

.result-item strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-green-light);
}

/* Footer Web */
.web-footer {
  background: var(--bg-white);
  border-top: 1px solid rgba(44, 26, 14, 0.08);
  padding: 4rem 2rem;
  text-align: center;
}

.web-footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.web-footer-logo h3 {
  font-family: var(--font-header);
  font-weight: 700;
  color: var(--secondary-brown);
}

.web-footer p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.web-footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(44, 26, 14, 0.06);
  padding-top: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* ==========================================================================
   2. ESTILOS DEL SIMULADOR DE APP MÓVIL
   ========================================================================= */
.mobile-simulator-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  min-height: calc(100vh - 75px);
  background: radial-gradient(circle at center, hsla(85, 34%, 28%, 0.05) 0%, transparent 80%);
}

/* Carcasa del Teléfono (Smartphone Frame) - Adaptado a contenedor limpio en PC */
.pc-columns-wrapper {
  display: contents;
}
.pc-column {
  display: contents;
}

.phone-mockup {
  width: 1050px;
  max-width: 95vw;
  height: 820px;
  max-height: 88vh;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

/* Elementos del Marco */
.phone-notch,
.phone-camera,
.phone-speaker {
  display: none !important;
}

/* Contenido Interno de la App Móvil */
.phone-screen {
  flex: 1;
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 26, 14, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Barra de Estado */
.phone-status-bar {
  height: 38px;
  padding: 12px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  z-index: 99;
  background: transparent;
}

.status-icons {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

/* Pantalla/Contenedor de Vistas Móviles */
.phone-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
}

/* Ocultar scrollbars dentro del teléfono */
.phone-content::-webkit-scrollbar {
  display: none;
}
.phone-content {
  scrollbar-width: none;
}

/* Navbar Inferior del Móvil */
.phone-navbar {
  height: 65px;
  background: var(--bg-white);
  border-top: 1px solid rgba(44, 26, 14, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-bottom: 8px;
  z-index: 99;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  flex: 1;
}

.nav-item i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.nav-item.active {
  color: var(--primary-green);
}

/* Vistas de la App Móvil */
.mobile-view {
  display: none;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  flex: 1;
  flex-direction: column;
}

.mobile-view.active {
  display: flex;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Tarjetas y Contenedores Móviles */
.mobile-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(44, 26, 14, 0.04);
}

.mobile-title {
  font-size: 1.35rem;
  font-family: var(--font-header);
  font-weight: 700;
  color: var(--secondary-brown);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.mobile-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Componente de Subida de Imagen (Mascota) */
.photo-uploader {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.25rem;
}

.photo-preview-box {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: hsla(24, 25%, 30%, 0.05);
  border: 2.5px dashed var(--primary-green-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.photo-preview-box:hover {
  background: hsla(85, 34%, 28%, 0.05);
  border-color: var(--primary-green);
}

.photo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-box i {
  font-size: 1.8rem;
  color: var(--primary-green-light);
  margin-bottom: 4px;
}

.photo-preview-box span {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
}

.photo-uploader input[type="file"] {
  display: none;
}

/* Inputs Móviles */
.mobile-input-group {
  margin-bottom: 0.85rem;
}

.mobile-input-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--secondary-brown-light);
  margin-bottom: 0.3rem;
}

.mobile-select,
.mobile-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--bg-cream);
  border: 1px solid rgba(44, 26, 14, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.mobile-select:focus,
.mobile-input:focus {
  border-color: var(--primary-green);
  background: var(--bg-white);
  box-shadow: 0 0 0 2px hsla(85, 34%, 28%, 0.15);
}

/* Botones Móviles */
.mobile-btn {
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.mobile-btn-primary {
  background: var(--primary-green);
  color: var(--bg-white);
}

.mobile-btn-primary:hover {
  background: var(--primary-green-dark);
}

.mobile-btn-accent {
  background: var(--accent-red);
  color: var(--bg-white);
}

.mobile-btn-accent:hover {
  background: var(--accent-red-light);
}

.mobile-btn-secondary {
  background: var(--bg-white);
  border: 1px solid rgba(44, 26, 14, 0.12);
  color: var(--secondary-brown);
}

.mobile-btn-secondary:hover {
  background: rgba(44, 26, 14, 0.02);
}

/* Pantalla de Inicio / Onboarding */
.mobile-welcome-screen {
  text-align: center;
  padding: 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.welcome-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary-green);
  margin-bottom: 1.25rem;
  background-color: var(--bg-white);
}

.mobile-welcome-screen h2 {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 2rem;
  color: var(--secondary-brown);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.mobile-welcome-screen p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Lista de Mascotas en Bienvenida */
.welcome-pets-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.welcome-pet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 26, 14, 0.06);
  cursor: pointer;
  transition: var(--transition);
}

.welcome-pet-item:hover {
  border-color: var(--primary-green-light);
  transform: translateY(-2px);
}

.welcome-pet-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--primary-green);
}

.welcome-pet-info {
  flex: 1;
}

.welcome-pet-info h4 {
  font-family: var(--font-header);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary-brown);
}

.welcome-pet-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Indicador de Desglose de Porción */
.portion-breakdown-card {
  background: hsla(85, 34%, 28%, 0.06);
  border: 1px solid rgba(85, 100, 51, 0.12);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 0.85rem;
}

.portion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.portion-total {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-green);
}

.breakdown-bars {
  display: flex;
  height: 10px;
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: rgba(44, 26, 14, 0.05);
}

.bar-part {
  height: 100%;
}

.bar-bones { background: #dfdcd3; } /* Hueso */
.bar-meat { background: var(--accent-red); } /* Carne */
.bar-organs { background: var(--secondary-brown); } /* Víscera */
.bar-veggies { background: var(--primary-green-light); } /* Verduras */
.bar-carbs { background: #e09f3e; } /* Carbohidratos */

.breakdown-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  gap: 0.3;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Personalización de Receta */
.recipe-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.recipe-select-card {
  border: 2px solid rgba(44, 26, 14, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-white);
}

.recipe-select-card:hover {
  border-color: var(--primary-green-light);
}

.recipe-select-card.selected {
  border-color: var(--primary-green);
  background: hsla(85, 34%, 28%, 0.04);
}

.recipe-select-card h4 {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  color: var(--secondary-brown);
}

.recipe-select-card span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Selector de cantidad por receta */
.recipe-qty-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px dashed rgba(44, 26, 14, 0.1);
  padding-top: 0.5rem;
}

.recipe-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(44, 26, 14, 0.15);
  background: var(--bg-white);
  color: var(--secondary-brown);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.recipe-qty-btn:hover:not(:disabled) {
  background: var(--primary-green);
  color: var(--bg-white);
  border-color: var(--primary-green);
}

.recipe-qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.recipe-qty-val {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--secondary-brown);
  min-width: 30px;
  text-align: center;
}

/* Barra de progreso de kilos seleccionados */
.weight-progress-wrapper {
  background: hsla(24, 25%, 30%, 0.03);
  border: 1px solid rgba(44, 26, 14, 0.06);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.weight-progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-brown);
  margin-bottom: 0.35rem;
}

.weight-progress-bar-bg {
  height: 6px;
  background: rgba(44, 26, 14, 0.06);
  border-radius: 50px;
  overflow: hidden;
}

.weight-progress-bar-fill {
  height: 100%;
  background: var(--primary-green);
  width: 0%;
  transition: width 0.3s ease;
}

.weight-progress-bar-fill.completed {
  background: #55722e; /* green matching theme */
}

.weight-progress-bar-fill.exceeded {
  background: var(--accent-red);
}

/* Ingredientes Personalizables e Interactivos */
.ingredient-recipe-group {
  border: 1.5px solid rgba(44, 26, 14, 0.08);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem 0.85rem;
  margin-bottom: 0.75rem;
  background: var(--bg-white);
  transition: var(--transition);
}

.ingredient-recipe-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--secondary-brown);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.recipe-title-icon {
  font-size: 0.95rem;
}

/* Colores sobrios para las agrupaciones por receta */
.ingredient-recipe-group.recipe-color-b-pollo {
  border-color: rgba(208, 124, 60, 0.25);
  background: rgba(208, 124, 60, 0.015);
}
.ingredient-recipe-group.recipe-color-b-pollo .ingredient-recipe-title {
  color: #a05a20;
}
.ingredient-recipe-group.recipe-color-b-pollo .pill-label.base-ing {
  border-color: rgba(208, 124, 60, 0.15);
}

.ingredient-recipe-group.recipe-color-b-vacuno {
  border-color: rgba(192, 57, 43, 0.25);
  background: rgba(192, 57, 43, 0.015);
}
.ingredient-recipe-group.recipe-color-b-vacuno .ingredient-recipe-title {
  color: #922b21;
}
.ingredient-recipe-group.recipe-color-b-vacuno .pill-label.base-ing {
  border-color: rgba(192, 57, 43, 0.15);
}

.ingredient-recipe-group.recipe-color-b-salmon {
  border-color: rgba(41, 128, 185, 0.25);
  background: rgba(41, 128, 185, 0.015);
}
.ingredient-recipe-group.recipe-color-b-salmon .ingredient-recipe-title {
  color: #1f618d;
}
.ingredient-recipe-group.recipe-color-b-salmon .pill-label.base-ing {
  border-color: rgba(41, 128, 185, 0.15);
}

.ingredient-recipe-group.recipe-color-c-pollo {
  border-color: rgba(212, 172, 13, 0.25);
  background: rgba(212, 172, 13, 0.015);
}
.ingredient-recipe-group.recipe-color-c-pollo .ingredient-recipe-title {
  color: #9a7d0a;
}
.ingredient-recipe-group.recipe-color-c-pollo .pill-label.base-ing {
  border-color: rgba(212, 172, 13, 0.15);
}

.ingredient-recipe-group.recipe-color-c-vacuno {
  border-color: rgba(142, 68, 173, 0.25);
  background: rgba(142, 68, 173, 0.015);
}
.ingredient-recipe-group.recipe-color-c-vacuno .ingredient-recipe-title {
  color: #6c3483;
}
.ingredient-recipe-group.recipe-color-c-vacuno .pill-label.base-ing {
  border-color: rgba(142, 68, 173, 0.15);
}

.ingredient-recipe-group.recipe-color-c-cerdo {
  border-color: rgba(39, 174, 96, 0.25);
  background: rgba(39, 174, 96, 0.015);
}
.ingredient-recipe-group.recipe-color-c-cerdo .ingredient-recipe-title {
  color: #1e8449;
}
.ingredient-recipe-group.recipe-color-c-cerdo .pill-label.base-ing {
  border-color: rgba(39, 174, 96, 0.15);
}

.pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.pill-checkbox {
  display: none;
}

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: var(--bg-cream);
  border: 1px solid rgba(44, 26, 14, 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.pill-label i {
  font-size: 0.7rem;
}

/* Estilo para quitar ingrediente base (se tacha) */
.pill-checkbox:not(:checked) + .pill-label.base-ing {
  text-decoration: line-through;
  opacity: 0.5;
  background: #f0ede5;
  border-color: transparent;
  color: var(--text-muted);
}

.pill-checkbox:not(:checked) + .pill-label.base-ing i {
  visibility: hidden;
}

/* Estilo para superalimento/vegetales agregados (activo) */
.pill-checkbox:checked + .pill-label.super-ing,
.pill-checkbox:checked + .pill-label.veg-fruit-ing {
  background: var(--primary-green);
  color: var(--bg-white);
  border-color: var(--primary-green);
}

.pill-checkbox:checked + .pill-label.super-ing i,
.pill-checkbox:checked + .pill-label.veg-fruit-ing i {
  color: var(--bg-white);
}

/* Etiqueta del Paquete Custom */
.package-label-mockup {
  background: #fbf9f4;
  border: 2px dashed rgba(44, 26, 14, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  position: relative;
  overflow: hidden;
  color: #3d2b1f;
  margin-top: 1rem;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}

.package-label-mockup::before {
  content: "ORIGEN CANINO - SELLO CALIDAD";
  position: absolute;
  top: 15px;
  right: -35px;
  transform: rotate(45deg);
  background: var(--accent-red);
  color: white;
  font-size: 0.45rem;
  padding: 2px 25px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--font-sans);
}

.label-title {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px double rgba(44, 26, 14, 0.2);
  padding-bottom: 0.35rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

/* Catálogo de Snacks en Móvil */
.mobile-snacks-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.mobile-snack-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  border: 1px solid rgba(44, 26, 14, 0.05);
  box-shadow: var(--shadow-sm);
}

.mobile-snack-icon {
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  background: var(--bg-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-snack-info {
  flex: 1;
}

.mobile-snack-info h4 {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--secondary-brown);
}

.mobile-snack-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mobile-snack-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(44, 26, 14, 0.2);
  background: var(--bg-white);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.qty-btn:hover {
  background: var(--secondary-brown);
  color: var(--bg-white);
  border-color: var(--secondary-brown);
}

/* Desglose Checkout por Mascota */
.checkout-pets-breakdown {
  border-bottom: 1px dashed rgba(44, 26, 14, 0.15);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkout-pet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.checkout-pet-row .pet-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.checkout-pet-row .pet-title img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--primary-green);
}

/* Simulación de Tarjeta de Crédito 3D */
.credit-card-wrapper {
  perspective: 1000px;
  margin: 0.5rem auto 1.25rem;
  width: 100%;
  max-width: 280px;
  height: 165px;
}

.credit-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.credit-card-wrapper.flipped .credit-card-inner {
  transform: rotateY(180deg);
}

.credit-card-front,
.credit-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 1.15rem;
  color: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.credit-card-front {
  background: linear-gradient(135deg, var(--secondary-brown) 0%, var(--primary-green) 100%);
}

.credit-card-back {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-brown) 100%);
  transform: rotateY(180deg);
}

.card-chip {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, #ffd700 0%, #e5c158 100%);
  border-radius: 4px;
}

.card-number {
  font-size: 1.05rem;
  letter-spacing: 2px;
  font-family: monospace;
  margin-top: 0.75rem;
}

.card-holder-group {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.card-holder-group span {
  opacity: 0.7;
}

.card-holder-name {
  font-weight: 600;
  letter-spacing: 1px;
}

/* Dorso de la tarjeta */
.card-magnetic-strip {
  height: 32px;
  background: #111;
  margin: 0 -1.15rem 0.5rem;
}

.card-signature-strip {
  height: 28px;
  background: #fff;
  color: #111;
  text-align: right;
  padding-right: 10px;
  font-family: monospace;
  line-height: 28px;
  font-style: italic;
  font-size: 0.85rem;
  border-radius: 4px;
}

/* Pantalla de Confirmación de Compra */
.order-success-box {
  text-align: center;
  padding: 1.25rem 0.25rem;
}

.success-icon-badge {
  width: 60px;
  height: 60px;
  background: hsla(85, 34%, 28%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary-green);
  font-size: 2rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(77, 100, 51, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(77, 100, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 100, 51, 0); }
}

.order-receipt-ticket {
  background: var(--bg-cream);
  border: 1px dashed rgba(44, 26, 14, 0.15);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
}

.receipt-row.total-row {
  border-top: 1px solid rgba(44, 26, 14, 0.1);
  padding-top: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-green);
}

.qr-code-placeholder {
  width: 90px;
  height: 90px;
  background: #fff;
  border: 1px solid rgba(44, 26, 14, 0.1);
  margin: 1rem auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* Barra de Selección de Mascota en el Dashboard */
.pet-selector-bar {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 0.75rem;
  margin-bottom: 1rem;
  align-items: center;
  scrollbar-width: none;
}

.pet-selector-bar::-webkit-scrollbar {
  display: none;
}

.pet-selector-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(44, 26, 14, 0.15);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.6;
  flex-shrink: 0;
}

.pet-selector-avatar:hover {
  opacity: 0.9;
}

.pet-selector-avatar.active {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2.5px var(--primary-green-light);
  transform: scale(1.08);
  opacity: 1;
}

.pet-selector-add {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px dashed rgba(44, 26, 14, 0.3);
  background: var(--bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.pet-selector-add:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.pet-profile-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pet-avatar-big {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary-green);
  object-fit: cover;
}

.pet-meta-text h3 {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--secondary-brown);
}

.pet-meta-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.delivery-countdown {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  color: #fff;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  text-align: center;
}

.delivery-countdown h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
}

.delivery-countdown .days {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.2rem 0;
}

/* ==========================================================================
   3. ESTILOS DEL PANEL DE MANTENEDORES (ADMIN)
   ========================================================================== */
.admin-dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-menu-btn {
  background: var(--bg-white);
  border: 1px solid rgba(44, 26, 14, 0.08);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-menu-btn:hover {
  background: rgba(44, 26, 14, 0.02);
  color: var(--secondary-brown);
}

.admin-menu-btn.active {
  background: var(--primary-green);
  color: var(--bg-white);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-sm);
}

.admin-content-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(44, 26, 14, 0.06);
}

.admin-view-panel {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.admin-view-panel.active {
  display: block;
}

/* Tablas Administrativas */
.admin-table-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 26, 14, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  background: var(--bg-cream);
  padding: 1rem;
  font-weight: 700;
  color: var(--secondary-brown);
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(44, 26, 14, 0.05);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.badge {
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-success {
  background: hsla(85, 34%, 28%, 0.1);
  color: var(--primary-green);
}

.badge-info {
  background: hsla(24, 38%, 13%, 0.1);
  color: var(--secondary-brown);
}

.badge-danger {
  background: hsla(1, 51%, 46%, 0.1);
  color: var(--accent-red);
}

/* Modales e Interfaces de Edición Admin */
.admin-actions-cell {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  font-size: 1.1rem;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-edit {
  color: var(--primary-green);
}
.btn-edit:hover {
  background: hsla(85, 34%, 28%, 0.08);
}

.btn-delete {
  color: var(--accent-red);
}
.btn-delete:hover {
  background: hsla(1, 51%, 46%, 0.08);
}

/* Formulario inline para parámetros */
.inline-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   4. DISEÑO RESPONSIVO (PORTAL WEB)
   ========================================================================= */
@media (max-width: 1024px) {
  .web-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .diets-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .web-calc-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .admin-dashboard-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .app-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .view-tabs {
    width: 100%;
    justify-content: center;
  }
  .tab-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
}

/* ==========================================================================
   5. BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================= */
.whatsapp-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  display: none; /* Oculto por defecto para no interferir en simulador móvil o admin */
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mostrar únicamente cuando la vista del Sitio Web Desktop está activa */
#view-web.active ~ .whatsapp-float-btn {
  display: flex;
}

.whatsapp-float-btn:hover {
  background-color: #128c7e;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.whatsapp-float-btn i {
  margin-top: 1px;
}

/* Tooltip lateral */
.whatsapp-float-btn .whatsapp-float-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--secondary-brown);
  color: var(--bg-cream);
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transform: translateX(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-float-btn .whatsapp-float-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--secondary-brown);
}

.whatsapp-float-btn:hover .whatsapp-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Ajustes responsivos para móvil */
@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  .whatsapp-float-btn .whatsapp-float-tooltip {
    display: none; /* Se oculta en móviles para no obstruir pantalla */
  }
}

/* ==========================================================================
   6. CRÉDITOS Y MODAL DE CONTACTO PPV SOLUCIONES INFORMÁTICAS
   ========================================================================= */
.ppv-credit {
  font-size: 11px;
  color: #cbd5e1;
  margin-top: 0.5rem;
}

.ppv-link {
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(90deg, #22d3ee 0%, #c084fc 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

.ppv-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1.5px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #22d3ee 0%, #c084fc 50%, #818cf8 100%);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.ppv-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Modal PPV (Space Theme) */
.ppv-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 11000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.ppv-modal.active {
  display: flex;
  animation: ppvFadeIn 0.3s ease-out;
}

.ppv-modal-content {
  background: linear-gradient(to bottom, #0c061e 0%, #070312 60%, #140b2a 100%);
  color: #f1f5f9;
  border-radius: 24px;
  box-shadow: 0 0 50px rgba(6, 182, 212, 0.25);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  border: 2px solid rgba(6, 182, 212, 0.2);
  transition: border-color 0.3s ease;
  overflow: hidden;
}

.ppv-modal-content:hover {
  border-color: rgba(6, 182, 212, 0.3);
}

/* Dust particles */
.ppv-dust-purple {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  width: 200px;
  height: 200px;
  background: rgba(147, 51, 234, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.ppv-dust-cyan {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-50%, 50%);
  width: 200px;
  height: 200px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

/* Spaceship Orbit */
.ppv-spaceship {
  position: absolute;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.ppv-spaceship svg {
  width: 28px;
  height: 28px;
  color: #22d3ee;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.8));
}

@keyframes spaceship-orbit {
  0% {
    top: 12px;
    left: 12px;
    transform: rotate(90deg);
  }
  25% {
    top: 12px;
    left: calc(100% - 40px);
    transform: rotate(180deg);
  }
  50% {
    top: calc(100% - 40px);
    left: calc(100% - 40px);
    transform: rotate(270deg);
  }
  75% {
    top: calc(100% - 40px);
    left: 12px;
    transform: rotate(360deg);
  }
  100% {
    top: 12px;
    left: 12px;
    transform: rotate(450deg);
  }
}

.animate-spaceship-orbit {
  animation: spaceship-orbit 16s linear infinite;
}

/* Ship shake (launch stage) */
@keyframes ship-shake {
  0%, 100% { transform: translate(-50%, -50%) rotate(180deg); }
  15% { transform: translate(-52%, -48%) rotate(177deg); }
  30% { transform: translate(-48%, -52%) rotate(183deg); }
  45% { transform: translate(-51%, -49%) rotate(178deg); }
  60% { transform: translate(-49%, -51%) rotate(182deg); }
  75% { transform: translate(-52%, -50%) rotate(176deg); }
  90% { transform: translate(-48%, -50%) rotate(184deg); }
}

.animate-ship-shake {
  position: absolute;
  top: 25%;
  left: 50%;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: ship-shake 0.12s infinite;
}

.animate-ship-shake svg {
  width: 28px;
  height: 28px;
  color: #67e8f9;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 1));
}

/* Missile */
.ppv-missile {
  position: absolute;
  left: 50%;
  z-index: 20;
  width: 24px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ppv-missile svg {
  width: 20px;
  height: 32px;
  color: #ef4444;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8));
}

@keyframes missile-launch {
  0% {
    bottom: 50px;
    opacity: 0;
    transform: translate(-50%, 0) scale(0.5);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1.2);
  }
  100% {
    bottom: calc(75% - 20px);
    transform: translate(-50%, 0) scale(1);
  }
}

.animate-missile-launch {
  animation: missile-launch 0.9s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

/* Explosion */
.ppv-explosion {
  position: absolute;
  top: 25%;
  left: 50%;
  z-index: 30;
  width: 64px;
  height: 64px;
  pointer-events: none;
}

.ppv-explode-ring,
.ppv-explode-ring-delayed {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  background: transparent;
  border: 4px solid #22d3ee;
  border-radius: 50%;
}

.ppv-explode-ring {
  animation: explode-ring 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

.ppv-explode-ring-delayed {
  border: 1px dashed #fde047;
  width: 56px;
  height: 56px;
  animation: explode-ring 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) 0.1s forwards;
}

.ppv-explode-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ef4444, #f97316, #facc15);
  border-radius: 50%;
  animation: explode-particles 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes explode-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.8);
    opacity: 0;
  }
}

@keyframes explode-particles {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3.5);
    opacity: 0;
    filter: blur(5px);
  }
}

/* Header & close */
.ppv-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
  z-index: 999;
}

.ppv-modal-close:hover {
  color: #22d3ee;
}

.ppv-modal-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.ppv-terminal-icon {
  display: flex;
  justify-content: center;
  color: #22d3ee;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.4));
  margin-bottom: 0.75rem;
}

.ppv-terminal-icon svg {
  width: 48px;
  height: 48px;
}

.ppv-modal-header h3 {
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #22d3ee, #c084fc, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.ppv-subtitle {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(34, 211, 238, 0.8);
  font-weight: 700;
  margin-bottom: 1rem;
}

.ppv-intro {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
  padding: 0 0.5rem;
}

/* Inputs and Forms */
#ppv-form-wrapper {
  transition: all 0.5s ease;
}

#ppv-form-wrapper.faded {
  opacity: 0.2;
  pointer-events: none;
}

.ppv-form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.ppv-form-group label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: rgba(34, 211, 238, 0.7);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 0.25rem;
}

.ppv-form-group input,
.ppv-form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid #1e293b;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.85rem;
  color: #f8fafc;
  outline: none;
  transition: all 0.3s ease;
}

.ppv-form-group input::placeholder,
.ppv-form-group textarea::placeholder {
  color: #475569;
}

.ppv-form-group textarea {
  height: 90px;
  resize: none;
}

.ppv-form-group input:focus,
.ppv-form-group textarea:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2);
}

/* Submit & Close Buttons */
.ppv-btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #06b6d4, #6366f1, #a855f7);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
}

.ppv-btn-submit:hover {
  background: linear-gradient(90deg, #22d3ee, #818cf8, #c084fc);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

.ppv-btn-submit:active {
  transform: translateY(0);
}

/* Success State */
.ppv-success-msg {
  text-align: center;
  padding: 1.5rem 0;
  animation: ppvScaleIn 0.3s ease-out;
}

.ppv-success-icon-container {
  display: flex;
  justify-content: center;
  color: #22d3ee;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.5));
  margin-bottom: 1.25rem;
}

.ppv-success-icon-container svg {
  width: 64px;
  height: 64px;
  animation: bounce 1s infinite;
}

.ppv-success-msg h4 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #22d3ee, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.ppv-success-msg p {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.6;
  padding: 0 0.5rem;
  margin-bottom: 2rem;
}

.ppv-btn-close-cabin {
  padding: 0.9rem 2rem;
  background: rgba(8, 47, 73, 0.2);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ppv-btn-close-cabin:hover {
  border-color: #22d3ee;
  color: #e0f2fe;
}

/* General Animations */
@keyframes ppvFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ppvScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* ==========================================================================
   3. ESTILOS PARA EL MODO APLICACIÓN MÓVIL NATIVA (PWA) Y ASISTENTE DESKTOP
   ========================================================================= */

/* Modo App Móvil Nativa (Activado en móviles o pantallas angostas) */
body.mobile-native-mode {
  background: var(--bg-cream);
}

/* Header visibility and scrolling control on mobile native mode */
body.mobile-native-mode.hide-header-on-mobile {
  overflow: hidden;
}
body.mobile-native-mode.hide-header-on-mobile .app-header {
  display: none !important;
}
body.mobile-native-mode.hide-header-on-mobile .main-viewport {
  padding: 0 !important;
  margin: 0 !important;
  height: 100vh !important;
  width: 100vw !important;
  max-width: 100% !important;
}
body.mobile-native-mode:not(.hide-header-on-mobile) .main-viewport {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh;
}

body.mobile-native-mode #view-web.active {
  display: block !important;
}
body.mobile-native-mode #view-web {
  display: none;
}

body.mobile-native-mode #view-mobile.active {
  display: block !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.mobile-native-mode #view-mobile {
  display: none;
}

body.mobile-native-mode .mobile-simulator-container {
  padding: 0 !important;
  background: none !important;
  min-height: 100vh !important;
  width: 100vw !important;
  height: 100vh !important;
}

body.mobile-native-mode .phone-mockup {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background: none !important;
  position: relative !important;
}

body.mobile-native-mode .phone-notch,
body.mobile-native-mode .phone-camera {
  display: none !important;
}

body.mobile-native-mode .phone-screen {
  border-radius: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  flex: 1 !important;
}

/* Ocultar barra superior simulada en modo nativo si es necesario, o mantenerla limpia */
body.mobile-native-mode .phone-header {
  padding-top: 10px !important;
}



/* Estilos para el Asistente de Compra Desktop (Modal) */
.desktop-wizard-modal {
  display: none; /* Se activa dinámicamente */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 26, 14, 0.4);
  backdrop-filter: blur(8px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.desktop-wizard-modal.active {
  display: flex;
  animation: ppvFadeIn 0.3s ease;
}

.desktop-wizard-card {
  background: var(--bg-cream);
  width: 95%;
  max-width: 1000px;
  height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(44, 26, 14, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ppvScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.desktop-wizard-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.desktop-wizard-header h3 {
  font-family: var(--font-serif);
  color: var(--secondary-brown);
  margin: 0;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.desktop-wizard-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.desktop-wizard-close-btn:hover {
  color: var(--accent-red);
}

.desktop-wizard-progress-bar {
  height: 4px;
  width: 100%;
  background: rgba(44, 26, 14, 0.04);
  position: relative;
}

.desktop-wizard-progress-fill {
  height: 100%;
  width: 16.66%; /* 1 paso de 6 */
  background: var(--primary-green);
  transition: width 0.3s ease;
}

.desktop-wizard-body {
  flex: 1;
  padding: 2.5rem;
  overflow-y: auto;
  box-sizing: border-box;
  background: var(--bg-cream);
}

.desktop-wizard-step {
  display: none;
}

.desktop-wizard-step.active {
  display: block;
}

.desktop-wizard-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(44, 26, 14, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

/* Estilos de botones sociales de login */
.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem;
  border: 1px solid rgba(44, 26, 14, 0.15);
  border-radius: var(--radius-md);
  background: white;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
  margin-bottom: 0.75rem;
}

.social-login-btn:hover {
  background: var(--bg-cream);
  border-color: rgba(44, 26, 14, 0.3);
}

.social-login-btn.google-btn i {
  color: #DB4437;
}

.social-login-btn.apple-btn i {
  color: #000000;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(44, 26, 14, 0.08);
}

.auth-divider:not(:empty)::before {
  margin-right: .5em;
}

.auth-divider:not(:empty)::after {
  margin-left: .5em;
}

.customer-profile-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(85, 114, 46, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-green);
}

/* PC Column Layouts & Display Optimizations */
body:not(.mobile-native-mode) .pc-columns-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}

body:not(.mobile-native-mode) #mobile-profile-setup .pc-columns-wrapper {
  align-items: stretch !important;
}

body:not(.mobile-native-mode) .pc-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  height: 100%;
}

/* Specific grids for elements inside columns */
body:not(.mobile-native-mode) .mobile-snacks-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}



/* Welcome and success receipt centered constraints */
body:not(.mobile-native-mode) .mobile-welcome-screen,
body:not(.mobile-native-mode) .order-success-box {
  max-width: 500px;
  margin: 0 auto;
}

/* PC simulator container responsive height adjustments */
body:not(.mobile-native-mode) .phone-mockup {
  height: auto !important;
  max-height: 94vh !important;
}

body:not(.mobile-native-mode) .phone-screen {
  height: auto !important;
  max-height: 94vh !important;
}

body:not(.mobile-native-mode) .phone-content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}

body:not(.mobile-native-mode) .mobile-simulator-container {
  padding: 1rem 2rem !important;
}

/* Desktop compact layouts to avoid scrolling on PC/notebook */
body:not(.mobile-native-mode) #mobile-calculator .pc-columns-wrapper {
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 1rem !important;
}

body:not(.mobile-native-mode) .mobile-card {
  padding: 0.8rem !important;
  margin-bottom: 0.5rem !important;
}

body:not(.mobile-native-mode) .portion-breakdown-card {
  padding: 0.8rem !important;
  margin-bottom: 0.5rem !important;
}

body:not(.mobile-native-mode) .pill-label {
  padding: 0.35rem 0.6rem !important;
  font-size: 0.7rem !important;
}

body:not(.mobile-native-mode) .package-label-mockup {
  padding: 0.8rem !important;
  margin-top: 0.5rem !important;
}

/* Ocultar botones de cambio de vista de entorno y navbar móvil en desktop */
.view-tabs button.tab-btn,
body:not(.mobile-native-mode) .phone-navbar {
  display: none !important;
}
