/* Flechas Swiper (ajusta colores según tu tema) */
.s-crossfit-slider .swiper-button-prev,
.s-crossfit-slider .swiper-button-next {
  color: #fff;
  width: 44px; height: 44px;
}

/* Evitar que .slider-navigation tape el layout */
.slider-navigation { position: relative; z-index: 2; }
.slider-navigation .slider-navigation-cover { pointer-events: none; }

/* Lazy loaded */
.lozad { opacity: 0; transition: opacity .3s ease; }
.lozad.is-loaded { opacity: 1; }

/* (Opcional) utilidades para cards/productos que te gustan */
.product-card { border-radius: 16px; padding: 16px; background: #fff; }
.product-thumb {
  background: #ff7a00;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.product-thumb img { width: 80%; height: auto; display: block; }

/* ==== Product Showcase Section ==== */
.s-product-showcase {
  position: relative;
  overflow: hidden;
}

.s-product-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(218, 165, 32, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.s-product-showcase::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(218, 165, 32, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.product-image-container {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.s-product-showcase .btn {
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.s-product-showcase .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(218, 165, 32, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .s-product-showcase .row {
    flex-direction: column-reverse;
  }
  
  .product-image-container {
    margin-bottom: 30px;
  }
  
  .s-product-showcase .col-md-6 {
    padding: 20px 15px;
  }
}


/* ==== Hero Section - Better sizing, centering, and contrast ==== */
.s-crossfit-slider {
  height: 600px !important;
  max-height: 600px !important;
}

.s-crossfit-slider .swiper {
  width: 100%;
  height: 100% !important;
  position: relative;
}

.s-crossfit-slider .swiper-wrapper,
.s-crossfit-slider .swiper-slide {
  height: 100% !important;
}

.swiper-slide { 
  height: 100% !important;
  position: relative !important;
  overflow: hidden;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

/* Dark overlay for better text contrast */
.swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  z-index: 1;
}

.crossfit-slide-bg { 
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 0 !important;
}

.swiper-slide .container {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2 !important;
  width: 100%;
  max-width: 1200px;
  height: auto !important;
  min-height: 0 !important;
  padding: 20px !important;
}

.crossfit-slide-cover {
  max-width: 900px;
  text-align: center;
  padding: 30px;
  margin: 0 auto;
}

/* Enhanced text contrast */
.crossfit-slide .title {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  color: #fff;
}

.crossfit-slide p {
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
  color: #fff;
}

@media (max-width: 768px) {
  .s-crossfit-slider {
    height: 450px;
    max-height: 450px;
  }
  
  .crossfit-slide-cover {
    padding: 20px;
  }
}
