/* ================================
   ESTILOS ESPECÍFICOS PARA REPORTE DE MINORISTAS
   ================================ */

/* ================================
   HEADER MODERNO CON COLORES PASTELES
   ================================ */

.header-pastel-section {
  background: linear-gradient(135deg, 
    rgba(255, 234, 167, 0.60) 0%,   /* Amarillo pastel con transparencia */
    rgba(250, 177, 160, 0.60) 25%,  /* Coral pastel con transparencia */
    rgba(253, 121, 168, 0.60) 50%,  /* Rosa pastel con transparencia */
    rgba(162, 155, 254, 0.60) 75%,  /* Lavanda pastel con transparencia */
    rgba(129, 236, 236, 0.60) 100%  /* Turquesa pastel con transparencia */
  );
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border-radius: 0 0 20px 20px;
}

.header-pastel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.header-pastel-section .container {
  position: relative;
  z-index: 2;
}

.btn-volver-pastel {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #2d3436;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Chelsea Market', cursive;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-volver-pastel:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  color: #2d3436;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.header-content-pastel {
  text-align: center;
}

.header-title-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header-icon-wrapper {
  margin-bottom: 0;
}

.header-cart-icon {
  font-size: 1.8rem;
  color: #2d3436;
  background: rgba(255, 255, 255, 0.3);
  padding: 0.6rem;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

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

.header-title-pastel {
  font-family: 'Chelsea Market', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 0;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* ================================
   CARDS PRINCIPALES
   ================================ */

/* Card de precios recientes */
.card-precios-recientes {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Card del gráfico histórico */
.card-grafico-historico {
  background-color: rgba(255, 255, 255, 0.8);
}

/* ================================
   CARDS DE SUPERMERCADOS
   ================================ */

/* Card individual de supermercado */
.card-supermercado {
  background-color: #24282c;
  border: 1px solid #444;
}

/* Título del supermercado */
.supermercado-titulo {
  color: white;
  font-family: 'Chelsea Market', cursive;
}

/* Información del producto */
.producto-info .card-subtitle {
  color: white;
  font-family: 'Chelsea Market', cursive;
}

/* Precio destacado */
.precio-destaque {
  padding: 0.1rem 0;
}

.precio-destaque .firstPrice {
  color: #fcfcfc !important; /* Rosa pastel */
  font-family: 'Chelsea Market', cursive;
  font-size: 2rem;
  text-shadow: 3px 3px 6px rgba(255, 159, 243, 0.4);
  filter: drop-shadow(2px 2px 4px rgba(255, 159, 243, 0.3));
  font-weight: 800;
  letter-spacing: 1px;
}

.precio-destaque .card-text {
  color: white;
  font-family: 'Chelsea Market', cursive;
}

/* Fecha del precio */
.fecha-precio {
  color: white;
  font-family: 'Chelsea Market', cursive;
}

/* ================================
   ALERT DE DIFERENCIA DE PRECIOS
   ================================ */

.diferencia-precios {
  font-family: 'Chelsea Market', cursive;
}

/* Advertencia pequeña */
.advertencia-pequenia {
  font-size: 0.70em;
  color: #000;
  margin-bottom: 10px;
  font-family: 'Chelsea Market', cursive;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  display: inline-block;
}

/* ================================
   RESPONSIVE DESIGN - MÓVILES
   ================================ */

/* Para pantallas pequeñas (móviles) */
@media (max-width: 576px) {
  
  /* Header pastel responsive */
  .header-pastel-section .row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-volver-pastel {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
    align-self: flex-start;
  }
  
  .btn-volver-pastel span {
    display: none;
  }
  
  .btn-volver-pastel i {
    margin: 0;
  }
  
  .header-cart-icon {
    display: none;
  }
  
  .header-title-pastel {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .header-title-icon-wrapper {
    justify-content: center;
  }
  
  .header-icon-wrapper {
    margin-bottom: 0;
  }
  
  /* Precio destacado en móviles */
  .precio-destaque .firstPrice {
    font-size: 1.7rem !important;
    text-shadow: 2px 2px 4px rgba(255, 159, 243, 0.4);
    filter: drop-shadow(1px 1px 3px rgba(255, 159, 243, 0.3));
  }
}

/* Para pantallas muy pequeñas (móviles pequeños) */
@media (max-width: 480px) {
  
  .header-pastel-section {
    margin-bottom: 1.5rem;
  }
  
  .header-title-pastel {
    font-size: 1.3rem;
  }
  
  .header-cart-icon {
    display: none;
  }
  
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Precio destacado para pantallas muy pequeñas */
  .precio-destaque .firstPrice {
    font-size: 1.5rem !important;
    text-shadow: 2px 2px 4px rgba(255, 159, 243, 0.3);
    filter: drop-shadow(1px 1px 2px rgba(255, 159, 243, 0.3));
  }
}
