:root {
  --primary: #007bff;
  --dark-overlay: rgba(0, 0, 0, 0.7);
  --accent: #f8f9fa;
}

body {
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
}

.content-pag-home .navbar-brand {
  font-weight: 700;
  letter-spacing: 1px;
}

.content-pag-home .hero {
  position: relative;
  min-height: 100vh;
  /*background: url('https://images.unsplash.com/photo-1604176354204-9268737828e4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;*/
  background: url(../images/bg-home-vs1.jpg.jpg) center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
}

.content-pag-home .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark-overlay);
}

.content-pag-home .hero .container {
  position: relative;
  z-index: 1;
  text-align: left;
}

.content-pag-home .btn-custom {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.content-pag-home .btn-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.content-pag-home .social-icons a {
  margin-right: 1rem;
  font-size: 1.75rem;
  color: white;
  transition: transform 0.2s;
}

.content-pag-home .social-icons a:hover {
  transform: scale(1.1);
  color: var(--accent);
}

.content-pag-home .scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }

  40% {
    transform: translate(-50%, -10px);
  }

  60% {
    transform: translate(-50%, -5px);
  }
}

.content-pag-home .section-padding {
  padding: 6rem 0;
}

.content-pag-home .card-custom {
  border: none;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.3s;
}

.content-pag-home .card-custom:hover {
  transform: translateY(-10px);
}

.content-pag-home footer {
  background: #222;
  color: var(--accent);
  padding: 2rem 0;
}

.content-pag-home footer a {
  color: var(--accent);
  text-decoration: none;
}

.content-pag-home .footer-social a {
  margin: 0 0.5rem;
  font-size: 1.5rem;
  color: var(--accent);
  transition: color 0.2s;
}

.content-pag-home .footer-social a:hover {
  color: white;
}


.offcanvas-backdrop.show {
  opacity: .5;
  z-index: 9999;
}

/*++++++++++++++++++++++++++++++++++++++++++++++++ Categorías */

.content-pag-home .swiper-pagination {
  position: relative;
}


.content-pag-home .imgItemCategoria {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.content-pag-home .imgItemCategoria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/*
.content-pag-home .swiper-slide-Categorias:hover .imgItemCategoria {
  transform: scale(1.1);
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2);
}
*/

.content-pag-home .categoria-texto {
  font-weight: 600;
  color: #343a40;
  font-size: 0.9rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}


.content-pag-home .tienda_producto_item {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.content-pag-home .tienda_producto_item:hover {
  transform: translateY(-5px);
}

.content-pag-home .tienda_producto_item a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgb(0 0 0 / 0.15);
  margin-bottom: 12px;
  width: 100%;
  height: 180px;
  background-color: #eee;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.content-pag-home .producto-titulo {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.5rem;
}

.content-pag-home .producto-precio {
  font-size: 1rem;
  font-weight: 700;
  color: #007bff;
  padding: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  /*
  .swiper-slide-Categorias {
    width: 90px !important;
  }
  */

  .content-pag-home .imgItemCategoria {
    width: 70px;
    height: 70px;
  }

  .content-pag-home .categoria-texto {
    font-size: 0.8rem;
  }

  .content-pag-home .tienda_producto_item a {
    height: 140px;
  }

  .content-pag-home .producto-titulo {
    font-size: 1rem;
  }

  .content-pag-home .producto-precio {
    font-size: 0.9rem;
  }
}


.Skeleton .swiper-slide {
  width: 200px;
  margin: 0.5rem;
}



.Skeleton .tienda_producto_item .producto-imagen,
.Skeleton .tienda_producto_item .producto-titulo,
.Skeleton .tienda_producto_item .producto-precio,
.Skeleton .imgItemCategoria,
.Skeleton .categoria-texto {
  border: 10px;
  background-color: #ededed;
  pointer-events: none;
  color: transparent;
  /* ocultar texto */
  background: linear-gradient(100deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 60%) #ededed;
  background-size: 200% 100%;
  background-position: 180% 0;
  animation: skeleton 1s ease-in-out infinite;
}

@keyframes skeleton {
  to {
    background-position: -20% 0;
  }
}




.swiper-slide-Categorias {
  margin: 0.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.swiper {
  overflow: hidden;
  width: 100%;
}

.swiper-wrapper {
  display: flex;
  width: max-content;
}

.swiper-slide {
  flex-shrink: 0;
  width: auto;
}