/* === Layout === */
body {
  font-family: system-ui, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: #222;
}

.container {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 16px;
}

/* === Hero === */
.hero {
  position: relative;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("../img/hero-portada.png") center/cover no-repeat;
  z-index: 0;
  opacity: 0.25;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: 10%;
  text-align: left;
}

.hero-content h1 {
  font-family: 'Poppins', sans-serif; /* ✅ Aseguramos la tipografía */
  font-size: 2.4rem; /* 🔽 Más contenido que titular de periódico */
  font-weight: 600; /* ✅ Más suave, no tan gritado como el 900 */
  text-transform: none; /* 🔥 Se acabó el TODO EN MAYÚSCULAS */
  letter-spacing: 0; /* Natural, sin espaciado forzado */
  line-height: 1.3; /* Da aire entre líneas */
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4); /* ✅ Un toque de lujo */
  margin: 0 0 20px;
}

.hero-content p {
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 0 0 30px;
  color: #eee;
}

.hero-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  background: #ff4081;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.hero-btn:hover {
  background: #e73370;
  transform: translateY(-3px);
}

/* === Features Full === */
.features-full {
  background: #111;
  color: #fff;
  padding: 60px 20px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.features-full .feature {
  background: #1b1b1b;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  transition: transform 0.3s;
}
.features-full .feature:hover {
  transform: translateY(-5px);
}
.features-full .feature i {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #ff4081;
}
.features-full .feature h3 {
  font-size: 1rem;
  margin: 0 0 6px;
  font-weight: 700;
  text-transform: uppercase;
}
.features-full .feature p {
  font-size: 0.95rem;
  color: #ddd;
  margin: 0;
}

/* === Grid de muñecas === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card-img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 40px;
  margin-top: 10px;
  background: #f3f3f3;
}
.placeholder {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  color: #777;
  font-size: 0.9rem;
  border-radius: 12px;
  margin-top: 10px;
}
.info {
  padding: 14px 16px;
}
.info h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.universo {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #666;
}
.universo i {
  color: #ff4081;
  margin-right: 6px;
}

/* Precios */
.precios {
  display: flex;
  gap: 8px;
  align-items: center;
}
.precios .original {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
}
.precios .descuento {
  color: #d32f2f;
  font-weight: bold;
}
.precios .normal {
  font-weight: bold;
  color: #111;
}

/* Texto secundario */
.muted {
  text-align: center;
  color: #777;
  font-size: 0.95rem;
  margin-top: 20px;
}

/* Buscador */
.search-wrap {
  margin: 20px 0 30px;
  text-align: left;
}
.search-box {
  display: flex;
  align-items: center;
  max-width: 400px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 6px 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: border .2s ease, box-shadow .2s ease;
}
.search-box:focus-within {
  border-color: #ff4081;
  box-shadow: 0 0 6px rgba(255,64,129,0.4);
}
.search-box i {
  color: #999;
  margin-right: 8px;
  font-size: 1rem;
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 8px 6px;
  background: transparent;
}

/* === FAQ === */
.faq-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}
.faq-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #ff4081;
  text-align: center;
}
.faq-item {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.faq-item h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: #222;
}
.faq-item p {
  font-size: 1rem;
  color: #444;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    margin-left: 6%;
    max-width: 90%;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  gap: 8px;
}
.pagination a {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all .2s ease;
}
.pagination a:hover {
  background: #ff4081;
  color: #fff;
  border-color: #ff4081;
}
.pagination a.active {
  background: #ff4081;
  color: #fff;
  border-color: #ff4081;
  pointer-events: none;
}
