/*
Theme Name: Kadence Child
Template: kadence
*/

/* ============================
   ESTILOS BASE GENERALES
============================ */
:root {
  --color-bg: #f4f7fb;
  --color-primary: #0a84ff;
  --color-primary-dark: #005fcc;
  --color-secondary: #e5f0ff;
  --color-accent: #004b8d;
  --color-text: #1a1a1a;
  --color-muted: #6c7a8a;
  --radius: 16px;
  --transition: all 0.35s ease;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}
/* =======================================================
   ESTILOS PERSONALIZADOS PARA EL PRODUCTO (WooCommerce)
======================================================= */

/* .landing-producto .product {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 4rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.landing-producto .product:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.landing-producto .woocommerce-product-gallery {
  flex: 1 1 420px;
  max-width: 500px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  padding: 1rem;
}

.landing-producto .woocommerce-product-gallery__image img {
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.landing-producto .woocommerce-product-gallery__image img:hover {
  transform: scale(1.05);
}

.landing-producto .summary {
  flex: 1 1 420px;
  max-width: 500px;
  padding: 1.5rem;
}

.landing-producto .product_title {
  font-size: 2rem;
  font-weight: 700;
  color: #002e6d;
  margin-bottom: 1rem;
}

.landing-producto .price {
  font-size: 1.6rem;
  color: #0a84ff;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.landing-producto .woocommerce-product-details__short-description {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

/* === BOTONES DE AÑADIR AL CARRITO === */
.landing-producto .single_add_to_cart_button {
  background: linear-gradient(135deg, #0a84ff, #005fcc);
  color: white;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(10,132,255,0.25);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.landing-producto .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #005fcc, #003d8a);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10,132,255,0.3);
} */

/* === INPUT DE CANTIDAD === */
.landing-producto .quantity {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
  background: #f3f6fb;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: inset 0 0 3px rgba(0,0,0,0.1);
}
.landing-product{
    background-color: red;
}
.landing-producto .quantity input.qty {
  width: 60px;
  border: none;
  text-align: center;
  background: transparent;
  font-weight: 600;
  color: #333;
}

.landing-producto .quantity button {
  background: transparent;
  border: none;
  color: #0a84ff;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.3rem 0.8rem;
  transition: 0.3s;
}
.landing-producto .quantity button:hover {
  color: #004b8d;
}

/* === TABLA DE INFORMACIÓN / CATEGORÍAS === */
.landing-producto .product_meta {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}
.landing-producto .product_meta a {
  color: #0a84ff;
  text-decoration: none;
}
.landing-producto .product_meta a:hover {
  text-decoration: underline;
}

/* === ESTILOS DE LOS TABS (DESCRIPCIÓN, RESEÑAS) === */
.woocommerce-tabs {
  margin-top: 3rem;
}
.woocommerce-tabs ul.tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  border-bottom: 2px solid #e3ebf5;
}
.woocommerce-tabs ul.tabs li {
  margin: 0 1rem;
}
.woocommerce-tabs ul.tabs li a {
  padding: 0.8rem 1.2rem;
  border-radius: 30px;
  background: #f1f6ff;
  color: #005fcc;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  background: #0a84ff;
  color: white;
}
.woocommerce-Tabs-panel {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: 0 auto;
  animation: fadeUp 0.5s ease;
}

/* === RESEÑAS === */
.commentlist li {
  background: #f9fcff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}
.comment-text p {
  color: #444;
}
.star-rating {
  color: #ffcc00;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .landing-producto .product {
    flex-direction: column;
  }
  .landing-producto .summary,
  .landing-producto .woocommerce-product-gallery {
    max-width: 100%;
  }
}


/* ============================
   HERO SECTION (PARALLAX)
============================ */
.lp-hero {
  position: relative;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.lp-hero-bg {
  background: linear-gradient(135deg, #0a84ff 0%, #004b8d 100%);
  background-attachment: fixed;
  position: absolute;
  inset: 0;
  z-index: -1;
  animation: heroParallax 12s ease-in-out infinite alternate;
}

@keyframes heroParallax {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.lp-hero-content {
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeUp 1.2s ease;
}

.lp-hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

.lp-hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.lp-btn-comprar {
  background: white;
  color: var(--color-primary-dark);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}
.lp-btn-comprar:hover {
  background: var(--color-primary-dark);
  color: white;
  transform: scale(1.05);
}

/* ============================
   SECCIÓN PRODUCTO
============================ */
.lp-producto {
  background: white;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
  position: relative;
  z-index: 10;
}

.lp-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================
   CÓMO USARLO
============================ */
.lp-uso {
  background: linear-gradient(180deg, #eaf2ff, #ffffff);
  padding: 5rem 2rem;
  text-align: center;
}

.lp-uso h2 span {
  color: var(--color-primary-dark);
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.lp-step {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  overflow: hidden;
}
.lp-step:hover {
  transform: translateY(-8px);
}
.lp-step-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.lp-step h3 {
  margin-top: 1rem;
  color: var(--color-accent);
}

/* ============================
   VIDEOS — CLIENTES SATISFECHOS
============================ */
.seccion-videos {
  background: linear-gradient(135deg, #dbeaff, #f7fbff);
  padding: 5rem 2rem;
  text-align: center;
}

.videos-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.video-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  width: 300px;
  overflow: hidden;
  transition: var(--transition);
}
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.video-wrapper video {
  width: 100%;
  border-bottom: 3px solid var(--color-primary);
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.video-desc {
  font-weight: 500;
  padding: 1rem;
  color: var(--color-accent);
}
.video-user {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ============================
   RESEÑAS
============================ */
.lp-reseñas {
  padding: 5rem 2rem;
  background: #ffffff;
}
.lp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.lp-review {
  background: #f8fbff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}
.lp-review:hover {
  transform: translateY(-5px);
}
.stars {
  color: #ffcc00;
  margin-bottom: 0.5rem;
}

/* ============================
   FAQ — PREGUNTAS FRECUENTES
============================ */
.seccion-faq {
  background: var(--color-secondary);
  padding: 5rem 2rem;
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.faq-title {
  display: block;
  cursor: pointer;
  padding: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  position: relative;
}
.faq-title::after {
  content: "+";
  position: absolute;
  right: 1rem;
  transition: var(--transition);
}
.faq-item input {
  display: none;
}
.faq-item input:checked + .faq-title::after {
  content: "−";
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: white;
  border-radius: var(--radius);
}
.faq-item input:checked ~ .faq-content {
  max-height: 200px;
  padding: 1rem;
}

/* ============================
   TÉRMINOS Y CONDICIONES
============================ */
.seccion-terminos {
  background: linear-gradient(180deg, #f7faff, #e9f2ff);
  padding: 5rem 2rem;
  text-align: center;
}
.terminos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.termino {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.termino:hover {
  transform: translateY(-6px);
  background: #f1f7ff;
}

/* ============================
   CTA FINAL
============================ */
.lp-cta {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #0a84ff, #004b8d);
  color: white;
  position: relative;
  overflow: hidden;
}
.lp-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.lp-garantia {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ============================
   ANIMACIONES SUAVES
============================ */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.woocommerce-tabs {
    display: none;
}