/* 🔹 NAVBAR MODERNA CON EFECTO DE SCROLL */
.navbar {
    background: #ffffff;
    padding: 0px 0;
    position: fixed; /* cambiado de absolute a fixed */
    width: 100%;
    border-color: #000;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: transform 0.4s ease; /* transición para el efecto de scroll */
}
.btn.btn-default-yellow-fill.btn-carrito {
  border-radius: 10px !important;
  font-size: 15px !important;
  padding: 10px;
  font-weight: normal;
}

.btn.btn-default-yellow-fill.configure-btn {
  border-radius: 10px !important;
  font-size: 15px !important;
  margin-top: 0px;
  padding: 10px;
  font-weight: normal;
  
}
/* 🔹 Efecto al ocultarse */
.navbar.scroll-hide {
    transform: translateY(-100%);
}

/* 🔹 Efecto al mostrarse */
.navbar.scroll-show {
    transform: translateY(0);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.navbar .logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li {
    margin: 0 15px;
    position: relative; /* Importante para posicionar dropdown */
}

.navbar .nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 18px;
}

.navbar .menu-toggle {
    display: none;
    background: none;
    color: white;
    font-size: 24px;
    border: none;
    cursor: pointer;
}

/* 🔹 MENÚ RESPONSIVE MODERNO */
@media (max-width: 768px) {
  .navbar .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85); /* fondo semi-transparente */
    backdrop-filter: blur(8px); /* efecto moderno de desenfoque */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.426); /* sombra suave */
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    padding: 0;
    pointer-events: none;
   z-index: 10;
  }

  .navbar .nav-links.active {
    max-height: 400px;
    opacity: 1;
    padding: 15px 0;
    pointer-events: auto;
  }

  .navbar .nav-links li {
    margin: 10px 0;
    text-align: center;
    transform: translateY(-10px);
    opacity: 0;
    animation: fadeInUp 0.4s forwards;
  }

  .navbar .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
  .navbar .nav-links.active li:nth-child(2) { animation-delay: 0.2s; }
  .navbar .nav-links.active li:nth-child(3) { animation-delay: 0.3s; }
  .navbar .nav-links.active li:nth-child(4) { animation-delay: 0.4s; }
  .navbar .nav-links.active li:nth-child(5) { animation-delay: 0.5s; }

  @keyframes fadeInUp {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .navbar .menu-toggle {
    display: block;
    background: none;
    color: #000000;
    font-size: 26px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .navbar .menu-toggle:hover {
    transform: scale(1.1);
  }

  /* Puedes ajustar los colores y fuentes si quieres más estilo */
  .navbar .nav-links a {
    color: #111;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .navbar .nav-links a:hover {
    color: #0071e3; /* azul Apple style */
  }
}

/* 🔹 BODY Y LAYOUT GENERAL */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 80px; /* Deja espacio para el navbar fijo */
    overflow-x: hidden; /* 🔧 Evita scroll horizontal */
    background-color: #f9f9f9;
}

/* 🔹 CARRITO DROPDOWN */
.carrito-dropdown {
    position: relative;
}

.carrito-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 15px;
    width: 300px;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.carrito-dropdown:hover .carrito-menu {
    display: block;
}

.carrito-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.carrito-item .acciones {
    display: flex;
    gap: 5px;
}

.carrito-item button {
    background-color: #ddd;
    border: none;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
}

.carrito-item button:hover {
    background-color: #bbb;
}

.total-carrito {
    font-weight: bold;
    margin-top: 10px;
    text-align: right;
}

/* 🔹 TABLA DE CARRITO (si usas cart.html) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.bg-seccolorstyle.fondo-negro {
    background-color: rgb(240, 236, 236) !important;
    color: rgb(201, 26, 26);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* sombra permanente */
    transform: translateY(-5px); /* efecto de elevación permanente */
    transition: all 0.3s ease;
    border-radius: 10px;
  }

.total {
    font-size: 1.2em;
    font-weight: bold;
    text-align: right;
}

/* 🔹 BOTONES */
button {
    padding: 4px 10px;
    cursor: pointer;
    border: none;
    background-color: #eee;
    border-radius: 4px;
}

button:hover {
    background-color: #ccc;
}

.carrito-icono {
    position: relative;
    font-size: 24px;
    cursor: pointer;
    color: white;
  }
  
  /* 🔹 Contador del carrito */
  .contador {
    background: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: -10px;
  }
  
  /* 🔹 RESPONSIVE para el carrito dropdown */
  @media (min-width: 768px) {
    .scroll-btn {
      display: none;
    }
  
    .app-list-horizontal {
      justify-content: center;
      overflow-x: visible;
      flex-wrap: wrap;
    }
  
    .app-card {
      margin: 0.5rem;
    }
  }
  .fab-carrito {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #222;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    line-height: 55px;
    z-index: 1001;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
  }
  
  .fab-contador {
    background: red;
    color: white;
    font-size: 11px;
    padding: 0;
    border-radius: 50%;
    height: 18px;
    width: 18px;
    line-height: 18px;
    text-align: center;
    position: absolute;
    top: 4px;
    right: 4px;
  }
  
  /* 🛍️ Menú flotante del carrito */
  .fab-carrito,
  .carrito-menu-flotante {
    display: none;
  }
  
  /* Solo mostrar el FAB y su menú en pantallas móviles */
  @media (max-width: 768px) {
    .fab-carrito {
      display: flex;
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #000000;
      color: rgb(255, 255, 255);
      border-radius: 50%;
      padding: 0.7rem 1rem;
      font-size: 1.5rem;
      z-index: 999;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      border-color: #222;
    }
  
    .fab-contador {
      background: red;
      color: white;
      font-size: 0.8rem;
      padding: 0px 6px;
      border-radius: 50%;
      margin-left: 6px;
    }
  
    .carrito-menu-flotante {
      display: block;
      position: fixed;
      bottom: 80px;
      right: 20px;
      background: white;
      padding: 1rem;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.2);
      z-index: 998;
      width: 280px;
    }
  
    /* Ocultamos el carrito del nav en móvil */
    .carrito-dropdown {
      display: none;
    }
  }
  .scroll-btn.left {
    left: -10px;
    z-index: 10;
  }

  .scroll-btn.right {
    right: -10px;
    z-index: 10;
  }
  
  /* Mostrar solo en móviles */
  .app-section {
    padding: 1rem;
    max-width: 100%;
    box-sizing: border-box;
   

  }

  #searchInput {
    width: 100%;
    padding: 0.7rem 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
  }

  .app-scroll-wrapper {
    position:relative;
    display: flex;
    align-items: center;
    z-index: 20;
  }

  .app-list-horizontal {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 1rem 0;
    scrollbar-width: none;
  }

  .app-list-horizontal::-webkit-scrollbar {
    display: none;
  }

  .app-card {
    width: 150px;
    flex: 0 0 auto;
    background: #f5f5f7;
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.418);
    border-color: #222;
  }

  .app-icon {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-bottom: 1rem;
  }

  .app-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .app-description {
    font-size: 0.9rem;
    color: #555;
  }

  .scroll-btn {
    background: #b7b8b9;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 0.5rem 0.7rem;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 6px rgba(40, 40, 40, 0.326);
  }



  @media (min-width: 768px) {
    .scroll-btn {
      display: none;
    }
  }
  .app-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .app-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(13, 13, 13, 0.374);
    background-color: #ffffff;
    z-index: 1;
  }
  

  .product-scroll-container {
    position: relative;
    margin: 2rem 0;
  }
  
  .product-scroll-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
  }
  
  .product-scroll-list {
    display: flex;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .product-card {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    background: #fefefe;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow:
      0 1px 3px rgba(0, 0, 0, 0.289),
      0 4px 6px rgba(0, 0, 0, 0.1),
      0 10px 20px rgba(0, 0, 0, 0.155);
    transform: translateY(0);
  }

  /* Efecto de elevación al pasar el mouse (estilo Apple) */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.36),
    0 12px 24px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}
  
  .product-card img {
    max-width: 100%;
    margin-bottom: 1rem;
  }
  
  .product-card .title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
  }
  
  .product-card .desc {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  
  .product-card .configure-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    background-color: #0071e3;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 0.5rem;
  }
  
  /* 🔺 Flechas de scroll (solo para PC) */
  .scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem 0.8rem;
    border-radius: 200%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
  }
  
  .scroll-arrow:hover {
    background: rgba(0,0,0,0.8);
  }
  
  .scroll-arrow.left {
    left: 10px;
  }
  
  .scroll-arrow.right {
    right: 10px;
  }
  
  /* 🧼 Ocultar flechas en móvil */
  @media (max-width: 768px) {
    .scroll-arrow {
      display: none;
    }
  }

  .video-container {
    width: 100%; /* Personaliza ancho */
    height:200px; /* Personaliza alto */
    overflow: hidden;
 
  }
  
  .custom-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  /* LOGO + BUSCADOR */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* MENÚ TOGGLE (MÓVIL) */
.menu-toggle {
  font-size: 24px;
  background: none;
  border: none;
  display: none;
  cursor: pointer;
  
}

/* MENÚ DE LINKS */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* ÍCONOS Y ENLACES */
.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap; /* <- esto impide que se baje a otra línea */
  gap: 10px;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  
}

.search-container {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  flex: 2;
  
}

.search-container input[type="text"] {
  border: none;
  outline: none;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 20px;
  width: 100%;
  background: transparent;
  min-width: 0; /* <- evita que crezca demasiado */
 margin-top: 3%;
}



.menu-toggle {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  
}

/* Responsivo */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: none;
    z-index: 100;
  
  }

  .nav-links.show {
    display: flex;
  }
  
  .search-container {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    flex: 2;
    margin-top: 3%;
  }

  .navbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1; /* ✅ Esto permite que los hijos crezcan */
  }
}

#totalOrderAmount{
  background-color: rgb(14, 93, 240);
padding: 3%;
border-radius: 10px;
color: white;
margin-right: 10px;
font-size: 20px;
}
#modalContent {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Quita scroll del fondo cuando el modal está activo */
body.modal-open {
  overflow: hidden;
}


.icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;       /* Tamaño para PC */
  height: 100px;
  margin-left: 25%;
  margin-top: 15%;
}

@media (max-width: 768px) {
  .icono {
    width: 100px;      /* Tamaño más pequeño para móviles */
    height: 100px;
    margin-top: 15%;
    margin-left: 15%;   /* Opcional: centrar en móvil */
  }
}

.help-container {
  transition: all 0.3s ease;
  
}
.help-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

}

.img img {
  max-width: 100%;
  height: auto;
}

.title {
  font-size: 1.25rem;
}

.description {
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .help-container {
    padding: 2rem 1.5rem;
    margin-bottom: -4rem;
  }
}

.contact-section {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 60px 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.267);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-section h2, 
.contact-section h4 {
  font-weight: 600;
  color: #333;
}

.contact-info p a, 
.contact-info p {
  color: #666;
  font-size: 1rem;
}

.social-links {
  margin-top: 40px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #007bff;
  color: white;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.3s;
}

.social-icon:hover {
  background: #0056b3;
  transform: scale(1.1);
}

footer .small {
  margin-top: 30px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 576px) {
  .contact-section {
    padding: 40px 10px;
  }
}

.titulo-pie{
  background-color: #bbbbbb74;
  text-align: center;
  padding: 20px;
  width: 100%;
  height: 100%;
}


.testimonial-carousel-section {
  text-align: center;
  padding: 50px 20px;
  

}

.testimonial-carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
  height: 250px;

}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;

  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s ease, transform 1s ease;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.432);
  padding: 30px 20px;
  box-sizing: border-box;
  border-color: #000;
}

.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.testimonial-slide h3 {
  margin: 10px 0 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.testimonial-slide p {
  font-size: 1rem;
  color: #555;
  margin: 10px 0 0;
}

.testimonial-dots {
  margin-top: 50px;
}

.testimonial-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.testimonial-dot.active {
  background: #333;
}


.features-section {
  background: linear-gradient(135deg, #f8f9fa, #e0e0e0);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Evita scroll raro con parallax */
}

.features-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
  will-change: transform; /* Mejora rendimiento de animaciones */
}

.features-text {
  flex: 1;
  min-width: 280px;
  animation: fadeInLeft 1.2s ease;
  transition: transform 0.3s ease-out;
}

.features-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
  text-align: left;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  opacity: 0;
  animation: fadeInUp 1s forwards;
}

.features-list li:nth-child(1) { animation-delay: 0.2s; }
.features-list li:nth-child(2) { animation-delay: 0.4s; }
.features-list li:nth-child(3) { animation-delay: 0.6s; }
.features-list li:nth-child(4) { animation-delay: 0.8s; }
.features-list li:nth-child(5) { animation-delay: 1s; }

.features-image {
  flex: 1;
  min-width: 280px;
  animation: fadeInRight 1.2s ease;
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease-out;
}

.features-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Animaciones */
@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .features-content {
    flex-direction: column;
    text-align: center;
  }
  
  .features-title {
    text-align: center;
    font-size: 2rem;
  }
  
  .features-list li {
    padding-left: 0;
  }
}


.features-section {
  position: relative;
  overflow: hidden;
  background: #ffffff; /* Color suave de fondo */
  padding: 60px 20px;
}

.wave-background {
  position: absolute;
  top: -100px;
  left: 0;
  width: 200%;
  height: 300px;
  background: radial-gradient(circle at 50% 50%, #006eff30 30%, transparent 70%);
  opacity: 0.4;
  animation: waveMove 3s ease-in-out infinite alternate;
  transform: rotate(5deg);
  z-index: 0;
}



@keyframes waveMove {
  0% {
    transform: translateX(0) rotate(5deg);
  }
  100% {
    transform: translateX(-50%) rotate(5deg);
  }
}

.features-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.features-text {
  flex: 1 1 400px;
}

.features-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1rem;
}

.features-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #555;
}

.features-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  top: 0;
}

.features-image {
  flex: 1 1 300px;
  text-align: center;
}

.features-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .features-content {
    flex-direction: column;
    text-align: center;
  }

  .features-text {
    text-align: center;
  }
}





.testimonial-rating {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 5px;
}


.how-it-works-section {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.how-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 50px;
  animation: fadeInUp 1s ease;
}

.how-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.how-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 25px;
  width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.how-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.how-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 20px;
}

.how-card h3 {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 10px;
}

.how-card p {
  color: #555;
  font-size: 1rem;
}

/* Delay animations */
.how-card:nth-child(1) { animation-delay: 0.2s; }
.how-card:nth-child(2) { animation-delay: 0.4s; }
.how-card:nth-child(3) { animation-delay: 0.6s; }

/* Reuse existing keyframes */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .how-cards {
    flex-direction: column;
    align-items: center;
  }
}


/* Beneficios */

   .benefits-section {
  padding: 2rem;
  background-color: #eaeaea;
}
.benefits {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.benefit-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}
.lottie-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
}
@media (min-width: 768px) {
  .benefits {
    flex-direction: row;
    justify-content: space-between;
  }
  .benefit-card {
    flex: 1;
  }
}
    @keyframes scaleUp {
      from {
        opacity: 0;
        transform: scale(0.95);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @media (min-width: 768px) {
      .benefits {
        flex-direction: row;
        justify-content: space-between;
      }

      .benefit-card {
        flex: 1;
      }
    }
.related-products-section {
  position: relative;
  overflow: hidden;
  background: #f9fbfc;
  padding: 80px 20px;
}

.related-products-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.related-title {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #333;
}

/* Contenedor de productos horizontal */
.products-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.products-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.product-card {
  flex: 0 0 250px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  scroll-snap-align: start;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
}

.product-name {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.2rem;
  color: #1d3557;
  font-weight: bold;
}

/* Botones de flechas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1d3557;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 2;
  transition: background 0.3s;
}

.arrow:hover {
  background: #457b9d;
}

.left {
  left: 10px;
}

.right {
  right: 10px;
}

/* Olas de fondo */
.wave-background {
  position: absolute;
  top: -120px;
  left: 0;
  width: 200%;
  height: 300px;
  background: radial-gradient(circle at 50% 50%, #a8dadc 30%, transparent 70%);
  opacity: 0.3;
  animation: waveMove 5s ease-in-out infinite alternate;
  transform: rotate(5deg);
  z-index: 0;
}

/* Responsive para quitar flechas en móvil */
@media (max-width: 768px) {
  .arrow {
    display: none;
  }
}


.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.pago-img {
  width: 100%; /* Aumenta el tamaño de forma proporcional */
  max-width: 900px; /* No crecerá más allá de esto */
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pago-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.garantia-container {
  display: flex;
  justify-content: center; /* Centra las imágenes horizontalmente */
  gap: 20px; /* Espacio entre imágenes */
  flex-wrap: wrap; /* Opcional: permite que se ajusten en pantallas pequeñas */
  padding: 10px;
}

.garantia-img {
  width: 50%;
  max-width: 150px;
  height: auto;
  display: block;

  
}


@media (max-width: 768px) {
  .garantia-img {
    width: 50%;
    max-width: 130px;
    height: auto;
    display: block;
  }
}

.personalization .contenido {
  display: flex;
  align-items: center; /* Alinea verticalmente */
  gap: 15px; /* Espacio entre texto e imagen */
}

.icono-regalo {
  width: 80px; /* Ajusta según necesites */
  height: auto;
}
.botones-producto {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.btn-personal {
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: #fff;
}

/* Colores distintos por botón */
.btn-personal.agregar {
  background-color: #1c1c1e; /* negro tipo Apple */
}

.btn-personal.comprar {
  background-color: #0071e3; /* azul Apple */
}

.btn-personal.contraentrega {
  background-color: #34c759; /* verde estilo iOS */
}

/* Hover (opcional para escritorio) */
.btn-personal:hover {
  opacity: 0.9;

}

/* Responsive */
@media (min-width: 768px) {
  .botones-producto {
    flex-direction: row;
    justify-content: space-between;
  }

  .btn-personal {
    flex: 1;
  }
}



  @media (max-width: 768px) {
    .testimonial-carousel-section {
      padding: 20px;
    }
    .testimonial-slide {
      text-align: center;
    }
  }

  .star {
    font-size: 24px;
    cursor: pointer;
    color: gray;
    transition: color 0.2s;
  }
  
  .star.selected {
    color: gold;
  }
  
  .testimonial-slide { display: none; }
  .testimonial-slide.active { display: block; }
  
  .testimonial-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #bbb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
  }
  
  .testimonial-dot.active {
    background: #333;
  }
  
  .testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
  }



  .product-card {
    position: relative;
    overflow: hidden;
  }
  
  .price-tag {
    position: absolute;
    top: 10px;
    right: 90px;
    background-color: rgba(255, 58, 48, 0.23); /* rojo suave */
    color: #ff3b30; /* estilo Apple */
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    backdrop-filter: blur(4px);
  }
  
  .price-tag del {
    color: #313131;
    margin-left: 6px;
  }
  