.next-prev-thumbs {
    position: absolute;
    top: 250px;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
  }

  .next-prev-thumbs li {
    pointer-events: all;
  }

  .next-prev-thumbs li:first-child {
    position: absolute;
    left: calc(50% - 50px); /* AJUSTA SEGÚN EL ANCHO DE TU GALERÍA */
  }

  .next-prev-thumbs li:last-child {
    position: absolute;
    left: calc(50% + 1075px); /* AJUSTA TAMBIÉN */
  }
  
  /* Botones con estilo moderno */
  .next-prev-thumbs .button.icon {
    background-color: #009d34 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
  }
  
  .next-prev-thumbs .button.icon:hover {
    background-color: #333 !important;
    transform: scale(1.1);
  }

  @media (max-width: 1250px) {
  .next-prev-thumbs {
    position: absolute;
    top: -720px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
  }

  .next-prev-thumbs li {
    pointer-events: all;
    position: static;
  }

  .next-prev-thumbs li:first-child,
  .next-prev-thumbs li:last-child {
    position: static !important;
  }

  .next-prev-thumbs .button.icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .product-main {
    position: relative; /* Asegura que .next-prev-thumbs se posicione relativo a este contenedor */
    padding-top: 80px !important;
  }
}