/* Tipografía */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

/* Estilo global */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: white;
  font-size: 15px;
  overflow-x: hidden;
  background-color: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografía de texto */
p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Encabezados */
h1, h2, h3 {
  font-weight: 500;
  color: rgb(255, 255, 255);
  margin: 0;
}

h1 { font-size: 50px; }
h2 { font-size: 40px; }
h3 { font-size: 30px; }

h1 a, h2 a, h3 a {
  color: inherit;
  text-decoration: none;
}

/* Enlaces y spans */
a, span {
  display: inline-block;
  text-decoration: none;
  transition: all 0.4s ease;
}

/* Imágenes */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Listas */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Accesibilidad y focus */
.navbar-toggler:focus,
a:focus,
button:focus,
.btn:focus,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999999;
  width: 100%;
  height: 100%;
  background-color: #fff;
  overflow: hidden;
}

.preloader-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.preloader-icon {
  width: 100px;
  height: 100px;
  display: inline-block;
  padding: 0px;
}

.preloader-icon span {
  position: absolute;
  display: inline-block;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  background: #0076A6;
  -webkit-animation: preloader-fx 1.6s linear infinite;
  animation: preloader-fx 1.6s linear infinite;
}

.preloader-icon span:last-child {
  animation-delay: -0.8s;
  -webkit-animation-delay: -0.8s;
}

/* Responsive Typography and Base Adjustments */
@media (max-width: 992px) {
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  body {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  body {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
  body {
    font-size: 12.5px;
  }

  .preloader-icon {
    width: 70px;
    height: 70px;
  }

  .preloader-icon span {
    width: 70px;
    height: 70px;
  }
}

/* Navbar general */
.navbar {
  background-color: #ffffff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  font-size: 0.1rem;
  font-weight: bold;
}

.navbar-logo img {
  height: 65px;
}

.navbar-links {
  padding: 0 60px;
}

/* Enlaces */
.navbar-links a {
  color: #5c5c5c;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover y activo con transición */
.navbar-links a:hover {
  color: #0284c7;
}

.navbar-links a.active {
  color: white;
  font-weight: 600;
}

/* Indicador de activo animado (opcional: subrayado suave) */
.navbar-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;;
  transition: width 0.3s ease;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

/* Botón carrito */
.navbar-cart-btn {
  background-color: #0284c7;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
  font-weight: 500;
  transition: background 0.3s;
}

.navbar-cart-btn:hover {
  background-color: #0369a1;
}

/* Ícono carrito (usando Lucide) */
.cart-icon {
  mask: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXNob3BwaW5nLWNhcnQtaWNvbiBsdWNpZGUtc2hvcHBpbmctY2FydCI+PGNpcmNsZSBjeD0iOCIgY3k9IjIxIiByPSIxIi8+PGNpcmNsZSBjeD0iMTkiIGN5PSIyMSIgcj0iMSIvPjxwYXRoIGQ9Ik0yLjA1IDIuMDVoMmwyLjY2IDEyLjQyYTIgMiAwIDAgMCAyIDEuNThoOS43OGEyIDIgMCAwIDAgMS45NS0xLjU3bDEuNjUtNy40M0g1LjEyIi8+PC9zdmc+') no-repeat center;
  -webkit-mask: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLXNob3BwaW5nLWNhcnQtaWNvbiBsdWNpZGUtc2hvcHBpbmctY2FydCI+PGNpcmNsZSBjeD0iOCIgY3k9IjIxIiByPSIxIi8+PGNpcmNsZSBjeD0iMTkiIGN5PSIyMSIgcj0iMSIvPjxwYXRoIGQ9Ik0yLjA1IDIuMDVoMmwyLjY2IDEyLjQyYTIgMiAwIDAgMCAyIDEuNThoOS43OGEyIDIgMCAwIDAgMS45NS0xLjU3bDEuNjUtNy40M0g1LjEyIi8+PC9zdmc+') no-repeat center;
  background-color: white;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.text-desktop {
  display: inline;
}

.logo-desktop {
  display: block;
  height: 40px;
  visibility: visible;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .navbar-links a {
    font-size: 0.85rem;
    margin: 0 0.5rem;
  }

  .navbar-cart-btn {
    font-size: 0.9rem;
    padding: 0.4rem 0.7rem;
  }
}

@media (max-width: 860px) and (min-width: 769px) {
  .navbar-links a {
    font-size: 0.8rem;
    margin: 0 0.4rem;
  }

  .navbar-cart-btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
  }

  .navbar-logo img {
    max-width: 120px; /* Reduce un poco el logo si es necesario */
  }
}

/* Solo en móvil: mostrar íconos, ocultar texto */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 0;
    /* Un poco más de aire arriba y abajo */
  }

  .navbar-logo { 
    height: 17px;
    width: auto;
    margin-top: 10px;
    margin-bottom: 5px;
  }

  .navbar-logo img {
    height: 42px;
  }

  .navbar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .navbar-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 1rem;
    width: 100%;
  }

  .navbar-links a {
    margin: 0;
    padding: 6px;
    background-color: #ffffff;
    text-align: center;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #4b5563;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }

  .navbar-links a:hover,
  .navbar-links a.active {
    background-color: #0284c7;
    color: white !important;
    border-color: #0274ad;
  }

  /* Eliminar la línea de subrayado en móvil para limpiar el diseño */
  .navbar-links a::after {
    display: none;
  }

  /* Ocultar carrito o ajustarlo */
  .navbar-cart-btn {
    display: none;
  }

  .text-desktop {
    display: inline !important;
  }
}

/* hero Area */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-bg.active {
  opacity: 1;
}

/* GENERAL HERO STYLES */
.hero-area {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-area .container {
  position: relative;
  z-index: 2;
}

.hero-area h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.hero-area p {
  font-size: 1.2rem;
  color: #eaeaea;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-area .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* espacio entre ícono y texto */
  background-color: #25D366;
  color: rgb(0, 0, 0);
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe5b;
  transform: translateY(-3px);
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.btn-whatsapp i {
  font-size: 1.3rem;
  color: #000;
}

.hero-area .btn-tones {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* espacio entre ícono y texto */
  background-color: transparent;
  color: rgb(255, 255, 255);
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border: 2px solid #fff;
  border-color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-tones:hover {
  background-color: transparent;
  transform: translateY(-3px);
  text-decoration: none;
  color: rgb(255, 255, 255);
}

.btn-tones i {
  font-size: 1.3rem;
  color: #ffffff;
}

/* OVERLAY DARK */
.hero-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

@media (max-width: 992px) {
  .hero-area h1 {
    font-size: 2.5rem;
  }

  .hero-area p {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .hero-area .btn {
    font-size: 1rem;
    padding: 12px 28px;
  }

  .btn-whatsapp {
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
  }
  .btn-tones {
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-area {
    padding: 3rem 1rem;
    text-align: center;
  }

  .hero-area h1 {
    font-size: 2.1rem;
  }

  .hero-area p {
    font-size: 1rem;
  }

  .hero-area .btn-whatsapp {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.7rem;
  }

  .hero-area .btn-tones {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-area h1 {
    font-size: 1.8rem;
  }

  .hero-area p {
    font-size: 0.95rem;
  }

  .btn-whatsapp i {
    font-size: 1.1rem;
  }

  .btn-tones i {
    font-size: 1.1rem;
  }
}

/* Products Section */
.products {
  padding: 80px 0;
  background-color: #fdfdfd;
}

.products-brand {
  font-size: 0.8rem;
  font-weight: bold;
  color: #727272;
  margin-bottom: 0.5rem;
}

.products-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
}

.marca-logo {
  width: 280px;
  max-width: 80%;
  height: auto;
  object-fit: contain;
  margin-bottom: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.marca-group {
  margin-top: 4rem;
  padding-top: 2rem;
  position: relative;
}

.marca-group::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #b3b5b8;
  border-radius: 999px;
  margin: 0 auto 1rem auto;
}


@media (max-width: 600px) {
  .marca-logo {
    width: 220px;
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

.textNoTones {
  text-align: center;
  font-size: 1.5rem;
  color: #666;
  margin-top: 105px;
}

.contenedor-loader {
  text-align: center;
  margin-top: 50px; /* opcional */
}

.loader {
  width: 48px;  
  height: 48px;
  border: 3px solid #bebebe;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: #0076A6;
}

.texto-carga {
  margin-top: 10px;
  font-size: 25px;
  color: #000000;
  font-family: Arial, sans-serif;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.marca-group {
  margin-bottom: 3rem;
}

.marca-titulo {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: bold;
  color: #333;
  display: inline-block;
  padding-bottom: 0.5rem;
}

/* GRID CON 3 COLUMNAS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.products .no-products {
  text-align: center;
  font-size: 1.5rem;
  color: #555;
  margin-top: 2rem;
}

.products-body {
  position: relative;
  max-width: 280px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animación al hacer hover */
.products-body:hover {
  cursor: pointer;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Imagen del producto */
.products-body img {
  width: 100%;
  max-height: 210px;
  height: auto;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
}

.zoom-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

.seemore-btn {
  display: inline-block;
  margin: 2rem auto; /* centrado horizontal con espacio vertical */
  padding: 0.75rem 1.5rem;
  background-color: #0076A6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s;
  text-decoration: none; /* por si es un <a> */
}
.seemore-btn:hover {
  background-color: #005e85;
}

/* Estilos del carrusel */
.products-carrusel {
    position: relative;
    width: 100%;
    height: 200px; /* Ajusta según necesites */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.carousel-container {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    width: 100%;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Dots centrados abajo */
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 5;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Badges posicionados */
.products-carrusel .products-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}

.products-carrusel .badge-gama {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

/* Para productos con una sola imagen */
.products-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 2rem;
}

.products-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Contenido interno */
.products-body .body {
  text-align: center;
}

/* Título del producto */
.products-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: black;
  margin-bottom: 0.5rem;
}

.products-stock {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* Descripción */
.products-description {
  font-style: italic;
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Precio */
.products-price-text {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

/* Botón */
.products-add-to-cart {
  background-color: #0284c7;
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Botón */
.btn-see-video {
  margin-top: 10px;
  background-color: #0284c7;
  z-index: 10;
  color: white;
  border: none;
  pointer-events: auto;
  padding: 0.6rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-see-video:hover{
  background-color: #0369a1;
}

.btn-see-video p{
  display: inline;
  margin-left: 10px;
}

/* Hover botón */
.products-add-to-cart:hover {
  background-color: #2563eb;
  transform: scale(1.05);
}

/* Etiqueta destacada */
.products-label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: #facc15;
  color: #111;
  font-weight: bold;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.products-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.products-badges.has-offer {
  top: 20px;
}

.products-img-wrapper {
  position: relative;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  text-transform: uppercase;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.badge-nuevo {
  background-color: #dc3737;
}

.badge-popular {
  background-color: #f59e0b;
}

.products-card {
  position: relative;
  overflow: hidden;
}

.badge-oferta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  background: linear-gradient(90deg, #ff4b2b, #ff416c);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Efecto al pasar el ratón */
.badge-oferta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(255, 107, 107, 0.6);
}

.badge-gama {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.badge-gama.has-offer {
    top: 18px;
}

@media (max-width: 440px) {
  .products-badges {
      position: absolute;
      top: 8px;
      left: 8px;
      flex-direction: column;
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }
  
    .products-badges.has-offer {
      top: 20px;
    }
}

.products-body.wow {
  visibility: hidden;
}

@media (max-width: 1177px) {
  .products-body {
    position: relative;
    max-width: 280px;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}

@media (max-width: 992px) {
  .products {
    padding: 60px 1rem;
  }

  .products-title h2 {
    font-size: 2.1rem;
  }

  .marca-titulo {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .products-body {
    padding: 0.8rem;
    max-width: 990px;
  }

  .products-body img {
    max-height: 210px;
  }
}

@media (max-width: 768px) {
  .products-title h2 {
    font-size: 1.9rem;
    text-align: center;
  }

  .products-body {
    max-width: 550px;
    justify-content: center;
    align-items: center;
  }

  .products-body img {
    display: block;           /* Para que margin auto funcione */
    margin: 0 auto;           /* Centra la imagen horizontalmente */
    max-width: 350px;  
    max-width: 350px;
    margin: 0 auto;
    max-height: 210px;
    height: auto;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
  }

  .products-description {
    font-size: 0.85rem;
  }

  .products-add-to-cart {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }

  .products-price-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .products {
    padding: 50px 1rem;
  }

  .products-img-wrapper {
    margin-bottom: 1.5rem;
    height: auto;
  }

  .products-body img {
    margin-bottom: 0;
    height: 168.4px;
  }

  .products-title h2,
  .marca-titulo {
    font-size: 1.6rem;
    text-align: center;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .products-body {
    justify-content: center;
    align-items: center;
    max-width: 990px;
  }

  .products-add-to-cart {
    width: 100%;
    font-size: 0.9rem;
  }

  .products-description,
  .products-price-text {
    font-size: 0.85rem;
  }

  .products-title {
    font-size: 1rem;
  }

  .badge {
    font-size: 0.65rem;
  }
}

/* ==== CONTENEDOR FILTROS ==== */
.filtros-busqueda {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  padding: 0 1rem;
  max-width: 100%;
  box-sizing: border-box;
}

/* ==== BUSCADOR ==== */
.buscador-container {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 300px;
  max-width: 500px;
  background: #ffffff;
  border: 1.5px solid #919599;
  border-radius: 9999px;
  height: 40px;
  padding: 0 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.buscador-container input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: #111827;
  outline: none;
  padding: 0;
  margin: 0;
  height: 100%;
  box-sizing: border-box;
}

.buscador-container input::placeholder {
  color: #9ca3af;
}

.buscador-container .icono-lupa {
  font-size: 1rem;
  color: #9ca3af;
  pointer-events: none;
}

/* ==== DROPDOWN FILTROS ==== */
.dropdown-filtro {
  position: relative;
  flex: 0 0 auto;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 1rem;
  height: 40px;
  font-size: 1rem;
  background-color: #f3f4f6;
  border: 1.5px solid #919599;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-btn:focus {
  outline: none;
  border: 1.5px solid #919599 !important;
  box-shadow: none !important;
}

.dropdown-btn:hover {
  background-color: #d1d4d8;
}

/* Icono SVG de flecha */
.dropdown-btn svg.flecha {
  width: 16px;
  height: 16px;
  color: #6b7280;
  transition: transform 0.2s ease;
}

/* Menú desplegable */
.dropdown-menu {
  display: none;
  border: 1px solid #919599;
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 250px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
  z-index: 999;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.3rem 0;
  font-size: 0.95rem;
  cursor: pointer;
}

.dropdown-menu input[type="checkbox"] {
  transform: scale(1.1);
}

/* ==== RESPONSIVE: MÓVIL ==== */
@media (max-width: 600px) {
  .filtros-busqueda {
    flex-direction: column;
    align-items: stretch;
  }

  .buscador-container {
    max-height: 40px;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    width: 100%;
  }

  .dropdown-filtro {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .dropdown-btn {
    width: 100%;
  }
}

/* Modal Producto */
.modal-productos {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  flex-direction: column;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes modalFadeIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-animar {
  animation: modalFadeIn 0.3s ease-out;
}

.hidden {
  display: none !important;
}

.badge-oferta-container {
  max-width: 720px;
  width: 90%;
}

.badge-modal-oferta {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  background: linear-gradient(90deg, #ff4b2b, #ff416c);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.badge-oferta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3),
    0 0 15px rgba(255, 107, 107, 0.6);
}

.modal-container {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  width: 90%;
}

.modal-content {
  background: white;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  display: flex;
  overflow: hidden;
  flex-direction: row;
  align-items: flex-start;
  padding: 1.5rem;
  max-width: 720px;
  width: 90%;
  position: relative;
  gap: 1.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.modal-products-carrusel {
    position: relative;
    width: 200px;
    height: 200px; /* Ajusta según necesites */
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    margin: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.modal-products-carrusel .modal-carousel-container {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.modal-products-carrusel .modal-carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    width: 100%;
}

.modal-products-carrusel .modal-carousel-slide.active {
    opacity: 1;
    position: relative;
}

.modal-products-carrusel .modal-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Dots centrados abajo - IDÉNTICO al main */
.modal-products-carrusel .modal-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 5;
}

.modal-products-carrusel .modal-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-products-carrusel .modal-carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Cerrar modal */
.close-modal-productos {
  position: absolute;
  top: 0.2rem;
  right: 1rem;
  font-size: 1.6rem;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal-productos:hover {
  color: #000;
}

/* Info del producto */
.modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

#modal-producto-nombre {
  font-size: 1.8rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.2rem;
}

#modal-producto-descripcion {
  color: #4b5563;
  font-size: 1rem;
}

.modal-producto-gama-container {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: fit-content;
}

#modal-producto-gama-texto {
  color: #4b5563;
  font-size: 1rem;
}

.badge-modal-gama {
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

#modal-producto-cantidad {
  color: #4b5563;
  font-size: 1rem;
}

#modal-producto-precio {
  color: #111827;
  font-weight: 600;
  font-size: 1.2rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

label {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  gap: 0.5rem;
  margin-top: 0.3rem;
  color: #374151;
}

/* Botón */
#modal-agregar-carro {
  margin-top: 0.8rem;
  background: #111827;
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 0.6rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: fit-content;
}

#modal-agregar-carro:hover {
  background: #374151;
}

/* Video Producto */
.video-producto {
  width: 100%;
  background: black;
  overflow: hidden;
  position: relative;
}

/* Caja blanca (equivalente a modal-content) */
.video-content {
  width: 90%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  background: #ffffff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Video */
#video-player {
  width: 100%;
  height: 100%;
  max-width: 380px;
  max-height: 90%;
  top: 10px;
  object-fit: contain;
  background: black;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Botón cerrar */
.close-video-producto {
  position: absolute;
  top: 1px;
  right: 15px;
  font-size: 1.8rem;
  color: #374151;
  cursor: pointer;
  z-index: 2;
}

.close-video-producto:hover {
  color: #000;
}

#product-video {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Modal Producto */
@media (max-width: 640px) {
  .modal-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .modal-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #modal-img {
    width: 150px;
    height: 150px;
  }

  .modal-info {
    align-items: center;
  }

  #modal-agregar-carro {
    align-self: center;
  }
}

/* Responsive Video Producto */
@media (max-width: 470px) {
  #video-player {
    width: auto;
    height: 100%;
    max-width: 380px;
    max-height: 89%;
    top: 10px;
    object-fit: contain;
    background: black;
    border-radius: 12px;
    }
}

@media (max-width: 400px) {
  #video-player {
    width: auto;
    height: 100%;
    max-width: 380px;
    max-height: 86%;
    top: 10px;
    object-fit: contain;
    background: black;
    border-radius: 12px;
  }
}

/* Info Section */
.info-title {
  font-size: 2.5rem;
  text-align: center;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.info-section {
  padding: 4rem 2rem;
  background-color: #f9fafb;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  text-align: center;
}

.info-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.info-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #111827;
}

.info-card p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
}

.bancos-master-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  text-align: center;
  grid-column: 1 / -1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bancos-master-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.bancos-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1rem 0 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.banco-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: left;
  max-width: 260px;
}

.banco-card img {
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.cuenta-card {
  display: inline-block;
  text-align: left;
  background: #f9fafb;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  font-size: 1rem;
  color: #4b5563;
}

.cuenta-card p {
  margin: 0.25rem 0;
  color: #374151;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .info-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .info-card h3 {
    font-size: 1.3rem;
  }

  .info-card p {
    font-size: 0.95rem;
  }

  .banco-card {
    max-width: 220px;
  }

  .cuenta-card {
    font-size: 0.95rem;
    padding: 1.2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .info-section {
    padding: 3rem 1rem;
  }

  .info-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .info-icon {
    font-size: 2.5rem;
  }

  .bancos-master-card {
    padding: 1.5rem;
  }

  .bancos-cards {
    gap: 1.5rem;
  }

  .banco-card {
    max-width: 100%;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
  }

  .banco-card img {
    height: 40px;
  }

  .cuenta-card {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .info-title {
    font-size: 1.6rem;
  }

  .info-icon {
    font-size: 2.2rem;
  }

  .info-card h3 {
    font-size: 1.2rem;
  }

  .info-card p {
    font-size: 0.9rem;
  }

  .bancos-cards {
    flex-direction: column;
    align-items: center;
  }

  .banco-card {
    flex-direction: column;
    text-align: center;
  }

  .cuenta-card {
    font-size: 0.85rem;
  }
}

/* Cart Widget */
.cart-widget {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 20px;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Mensaje flotante */
.cart-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f87171; /* rojo suave */
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  font-size: 14px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.cart-message.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(10px);
}

/* Estilo del ítem del carrito */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
  gap: 8px;
  font-size: 14px;
}

.cart-item-name {
  flex: 1;
  font-weight: 500;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-controls button {
  border: 1px solid #ccc;
  background: white;
  padding: 4px 8px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-controls button:hover {
  background-color: #f3f4f6;
}

.cart-controls span {
  min-width: 20px;
  text-align: center;
}

.cart-visible {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cart-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.cart-header i {
  color: #0284c7;
  margin-right: 8px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 10px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 4px;
}

.cart-item p {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.cart-controls span {
  font-size: 14px;
  color: #666;
}

.empty-message {
  text-align: center;
  font-style: italic;
  color: #777;
}

.cart-footer {
  border-top: 1px solid #ccc;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-footer p {
  margin: 0;
  font-weight: bold;
  font-size: 16px;
  color: #000;
}

.checkout-btn {
  padding: 10px;
  background-color: #0284c7;
  border: none;
  color: white;
  cursor: pointer; 
  font-weight: bold;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.checkout-btn:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  #cart-widget {
    position: fixed;
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  #cart-widget.cart-visible {
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  background-color: #ffffff;
  font-size: 0.95rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2); ;
}

.footer-description {
  font-size: 16px;
  color: #1b1b1b;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
  font-style: italic;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4e4e4e;
  border: 1px solid #4e4e4e;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #fff;
  border-color: #00c2cb;
  background-color: #00c2cb;
}

.social-icon.instagram:hover {
  background-color: #E1306C;
  border-color: #E1306C;
}

.social-icon.whatsapp:hover {
  background-color: #25D366;
  border-color: #25D366;
}

.social-icon.tiktok:hover {
  background-color: #000;
  border-color: #000;
}

@media (max-width: 768px) {
  .footer-description {
    font-size: 15px;
    padding: 0 1rem;
    text-align: center;
  }

  .social-icons {
    gap: 12px;
    flex-wrap: wrap;
  }

  .social-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .footer-description {
    font-size: 14px;
    line-height: 1.5;
    padding: 0 1rem;
  }

  .social-icons {
    justify-content: center;
    gap: 10px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

/* Cart Mobile Button */
.cart-mobile-btn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: auto;
  height: 65px;
  padding: 0 20px;
  background: #0076A6;
  color: #fff !important;
  border-radius: 15px;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all .3s ease-out;
}

.cart-mobile-btn p {
  margin: 0;
  font-weight: 400;
}

.cart-mobile-btn:hover {
  box-shadow: 0 1rem 3rem rgba(35, 38, 45, 0.15);
  transform: translateY(-5px);
  background-color: #0382b5;
}

@media (min-width: 769px) {
  .cart-mobile-btn {
    display: none !important;
  }
}


/* Pagination CSS */
.button .btn {
  display: inline-block;
  text-transform: capitalize;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 30px;
  background-color: #0076A6;
  color: #fff;
  border: none;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  border-radius: 5px;
  position: relative;
  z-index: 1;
  margin-right: 7px;
  overflow: hidden;
}

.button .btn i {
  display: inline-block;
  margin-right: 5px;
}

.button .btn:last-child {
  margin: 0;
}

.button .btn:hover {
  color: #fff;
  background-color: #081828;
  -webkit-box-shadow: 0px 4px 4px #0000000f;
          box-shadow: 0px 4px 4px #0000000f;
}

.button .btn-alt {
  color: #0076A6 !important;
  background: transparent !important;
  border: 4px solid #0076A6;
  padding: 11px 30px;
}

.button .btn-alt:hover {
  background-color: #fff !important;
  color: #0076A6 !important;
}

@keyframes preloader-fx {
  0% {
    -webkit-transform: scale(0, 0);
            transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    opacity: 0;
  }
}

@-webkit-keyframes preloader-fx {
  0% {
    -webkit-transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: scale(1, 1);
    opacity: 0;
  }
}