/* Hero y Controles de la Tienda */
.hero-tienda {
  background-size: cover;
  background-position: center;
  color: #ffffff !important;
  padding: 100px 0 !important;
  text-align: center;
}
.hero-tienda h1, .hero-tienda p { color: #ffffff !important; }
.tienda-controles { padding: 30px 0 10px 0; background: #faf7f5; }
.controles-wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.buscador-caja input { padding: 10px 15px; width: 280px; border: 1px solid #d3c7bf; border-radius: 4px; outline: none; }
.filtros-caja { display: flex; gap: 10px; }
.btn-filtro { background: #ffffff; border: 1px solid #d3c7bf; padding: 8px 16px; border-radius: 4px; cursor: pointer; font-size: 0.9rem; transition: all 0.2s ease; }
.btn-filtro.active, .btn-filtro:hover { background: #2c2520; color: #ffffff; border-color: #2c2520; }

/* Tarjetas con cursor interactivo */
.tarjeta-producto {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
  border: 1px solid #eaeaea;
  cursor: pointer; /* Hace notar que toda la tarjeta es clickeable */
}
.tarjeta-producto:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(44, 37, 32, 0.12); }
.imagen-contenedor { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.imagen-contenedor img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tarjeta-producto:hover .imagen-contenedor img { transform: scale(1.05); }
.producto-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.producto-info h2 { font-size: 1.3rem; margin: 0 0 10px 0; }
.producto-info p { font-size: 0.95rem; line-height: 1.5; color: #555; margin-bottom: 15px; flex-grow: 1; }
.precio { font-size: 1.4rem; font-weight: bold; color: #2c2520; margin-bottom: 15px; }

/* Contenedor de Paginación */
.paginacion-contenedor {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.btn-pagina {
  background: #ffffff;
  border: 1px solid #d3c7bf;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-pagina.active, .btn-pagina:hover { background: #2c2520; color: #ffffff; }

/* Estructura del Nuevo Modal Dividido en Dos Partes */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(44, 37, 32, 0.5);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
}
.modal-content-split {
  background: #faf7f5;
  border-radius: 12px;
  max-width: 850px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
}
.modal-izq {
  padding: 40px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #eaeaea;
}
.modal-izq img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}
.modal-der {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stock-badge {
  display: inline-block;
  font-size: 0.85rem;
  padding: 4px 8px;
  background: #e6dfda;
  color: #2c2520;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 15px;
}

/* Adaptación para pantallas de teléfonos móviles */
@media (max-width: 768px) {
  .modal-content-split { grid-template-columns: 1fr; }
  .modal-izq { border-right: none; border-bottom: 1px solid #eaeaea; padding: 20px; }
  .modal-der { padding: 20px; }
}

/* =========================================
   NUEVO HERO CENTRADO Y ROSA (#FAF7F5)
   ========================================= */
.hero-centrado-rosa {
  background: #faf7f5 !important; /* Mismo color de fondo de la grilla */
  color: #2c2520 !important; /* Texto secundario oscuro */
  padding: 60px 0 !important; /* Padding un poco más compacto */
  text-align: center;
  border-bottom: 1px solid #eaeaea; 
}

.hero-centrado-rosa .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  max-width: 150px; /* Reducido exactamente a la mitad del alto/ancho original */
  height: auto;
  margin-bottom: 20px;
}

.hero-centrado-rosa h1 {
  font-size: 2.8rem;
  margin: 0 0 15px 0;
  color: #7648c5 !important; /* Color morado exacto solicitado */
  letter-spacing: -1px;
}

.hero-centrado-rosa p {
  font-size: 1.2rem;
  color: #555 !important;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}