.sds-productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* versión escritorio por defecto */
  gap: 20px;
}

@media screen and (max-width: 767px) {
  .sds-productos-grid {
    grid-template-columns: 1fr !important; /* fuerza 1 columna en móvil */
  }
}



/* ******************************************** */

.precio-oferta {
  display: block;
  width: 100%;
}

.precio-apilado {
  align-items: stretch;
}



.precio-regular,
.precio-oferta,
.precio-unico {
  display: block;
  width: 100%;
  text-align: inherit; /* Controlado por Elementor */
}

.precio-regular {
  text-decoration: line-through;
}


.precio-unico {
  text-decoration: none;
}




/* ************************************* */

.sds-productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 10px;
}

.sds-producto-item {
  background: #fff;
  /*border: 1px solid #ddd;*/
  border-style: solid;
  padding: 12px;
  text-align: center;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.sds-producto-item:hover {
  border-color: #0073e6;
  box-shadow: 0 0 6px rgba(0, 115, 230, 0.2);
}


/* ************************************* */

.sds-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 10px;
}

.swiper-wrapper {
  display: flex !important;
  flex-direction: row;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100% !important;
  box-sizing: border-box;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}


/* ***************************************** */

/* Flechas dentro del slider */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 30px;
  height: 30px;
  font-size: 16px;
  color: #333;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
}

/* Posición flechas */
.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0,0,0,0.6);
  color: #fff;
}
