 .slider-container {
     width: 100%;
     position: relative;
     background: white;
     border-radius: 15px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     overflow: hidden;
 }

 .slider-wrapper {
     position: relative;
     width: 100%;
     height: 300px;
     overflow: hidden;
     border-radius: 10px;
 }

 .slider-track {
     display: flex;
     height: 100%;
     transition: transform 0.5s ease-in-out;
     gap: 15px;
     user-select: none;
     -webkit-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
     will-change: transform;
 }

 .slide {
     flex: 0 0 calc(20% - 12px);
     height: 100%;
     position: relative;
     border-radius: 10px;
     overflow: hidden;
     cursor: pointer;
     transition: all 0.3s ease;
     user-select: none;
     -webkit-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
     transform: translateZ(0);
     /* Forzar aceleración de hardware */
     will-change: auto;
     min-width: calc(20% - 12px); /* Asegurar ancho mínimo */
 }

 /* IMPORTANTE: Evitar movimiento en slides cuando se hace click */
 .slide:active {
     transform: none !important;
 }

 .slide:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
 }

 .slide.active {
     transform: scale(1.05);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
     z-index: 10;
 }

 .slide img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: transform 0.3s ease;
     user-select: none;
     -webkit-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
     pointer-events: none;
 }

 /* Overlay con lupa al hover */
 .slide::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(0, 0, 0, 0.6);
     opacity: 0;
     transition: opacity 0.3s ease;
     z-index: 5;
     border-radius: 10px;
 }

 .slide:hover::before {
     opacity: 1;
 }

 .slide::after {
     content: '🔍';
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     font-size: 24px;
     color: white;
     opacity: 0;
     transition: opacity 0.3s ease;
     z-index: 6;
     pointer-events: none;
 }

 .slide:hover::after {
     opacity: 1;
 }

 .slide-overlay {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
     color: white;
     padding: 15px;
     transform: translateY(100%);
     transition: transform 0.3s ease;
 }

 .slide:hover .slide-overlay,
 .slide.active .slide-overlay {
     transform: translateY(0);
 }

 .slide-title {
     font-size: 14px;
     font-weight: bold;
     margin-bottom: 5px;
     display: none;
 }

 .slide-description {
     font-size: 12px;
     opacity: 0.9;
     line-height: 1.3;
     display: none;
 }

 /* Navegación */
 .nav-arrow {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.95);
     border: none;
     width: 45px;
     height: 45px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 18px;
     color: #333;
     transition: all 0.3s ease;
     z-index: 20;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
 }

 .nav-arrow:hover {
     background: white;
     transform: translateY(-50%) scale(1.1);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
 }

 .nav-arrow.prev {
     left: -20px;
 }

 .nav-arrow.next {
     right: -20px;
 }

 /* Controles inferiores */
 .controls-container {
     padding: 20px 0;
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 20px;
     flex-wrap: wrap;
 }

 .pagination-custom {
     display: flex;
     gap: 4px;
     justify-content: center;
     align-items: center;
     overflow: visible;
     max-width: 300px;
     padding: 4px 0;
 }

 .pagination-custom-dot {
     width: 14px !important;
     height: 14px !important;
     border-radius: 50%;
     background: #ddd;
     cursor: pointer;
     transition: all 0.3s ease;
     position: relative;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     font-size: 8px;
     font-weight: bold;
     color: #666;
     border: 1px solid transparent;
     line-height: 1;
     text-align: center;
     box-sizing: border-box;
     padding: 0;
     margin: 2px;
 }

 .pagination-custom-dot.active {
     background: #007bff;
     color: white;
     transform: scale(1.1);
     box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
     border-color: #0056b3;
 }

 .pagination-custom-dot:hover {
     background: #0056b3;
     color: white;
     transform: scale(1.05);
     border-color: #004085;
 }

 /* Botones de navegación */
 .nav-button {
     background: #f8f9fa;
     border: 1px solid #dee2e6;
     padding: 8px 16px;
     border-radius: 20px;
     cursor: pointer;
     font-size: 13px;
     color: #495057;
     transition: all 0.3s ease;
     font-weight: 500;
     min-width: 60px;
 }

 .nav-button:hover:not(:disabled) {
     background: #007bff;
     color: white;
     border-color: #007bff;
 }

 .nav-button:disabled {
     opacity: 0.3;
     cursor: not-allowed;
     background: #e9ecef;
     color: #6c757d;
 }

 /* Contador */
 .slide-counter {
     color: #6c757d;
     font-size: 13px;
     font-weight: 500;
     padding: 8px 12px;
     background: #f8f9fa;
     border-radius: 15px;
 }

 /* Responsive */
 @media (max-width: 768px) {
    
     .slider-wrapper {
         height: 200px;
     }

     .slide {
         flex: 0 0 calc(33.333% - 10px);
     }

     .nav-arrow {
         width: 35px;
         height: 35px;
         font-size: 14px;
     }

     .slide-title {
         font-size: 12px;
     }

     .slide-description {
         font-size: 10px;
     }

     .controls-container {
         gap: 15px;
     }
 }

 @media (max-width: 480px) {
     .slide {
         flex: 0 0 calc(50% - 8px);
     }

     .slider-wrapper {
         height: 150px;
     }

     .pagination-custom-dot {
         width: 12px !important;
         height: 12px !important;
         font-size: 7px;
     }
 }

 /* Indicador de imagen activa */
 .slide-number {
     position: absolute;
     top: 10px;
     right: 10px;
     background: rgba(0, 0, 0, 0.7);
     color: white;
     padding: 4px 8px;
     border-radius: 12px;
     font-size: 11px;
     font-weight: bold;
 }

 /* Efecto de carga */
 .slide img {
     opacity: 0;
     transition: opacity 0.3s ease;
 }

 .slide img.loaded {
     opacity: 1;
 }

 /* Modal Lightbox */
 .lightbox {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.9);
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
     z-index: 9999;
 }

 /* Cuando el lightbox está activo, congelar el slider */
 .lightbox.active~.slider-container .slider-track {
     transition: none !important;
 }

 .lightbox.active {
     opacity: 1;
     visibility: visible;
 }

 .lightbox-content {
     position: relative;
     max-width: 90%;
     max-height: 90%;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
 }

 .lightbox img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     display: block;
 }

 .lightbox-close {
     position: absolute;
     top: 15px;
     right: 15px;
     background: rgba(0, 0, 0, 0.7);
     border: none;
     color: white;
     font-size: 24px;
     cursor: pointer;
     width: 45px;
     height: 45px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
     font-weight: bold;
     z-index: 10001;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
 }

 .lightbox-close:hover {
     background: rgba(255, 255, 255, 0.9);
     color: #333;
     transform: scale(1.1);
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
 }

 .lightbox-close:active {
     transform: scale(0.95);
 }

 /* Botón de cierre alternativo (X estilizada) */
 .lightbox-close::before {
     content: '✕';
     font-size: 18px;
     line-height: 1;
 }