/* Para completar por el equipo de maquetación */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;900&display=swap');


/************************************/
/*** Vista RESULTADOS DE BÚSQUEDA ***/
/************************************/

.mkte_productos-resultado {
  font-family: var(--font) !important;
}

.mkte_productos-resultado button {
  outline: none !important;
}

.mkte_productos-resultado h3 {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
}

@media (min-width: 992px) {
  .mkte_productos-resultado .resultados_busqueda {
    min-height: 100vh;
  }
}

/* Preloader */
.mkte_productos-resultado .preloader {
  background: center no-repeat;
  background-size: cover;
  position: relative;
  padding: 45px 35px 35px;
  overflow: hidden;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12) !important;
}

.mkte_productos-resultado .preloader::before {
  display: block;
  content: "";
  background-color: rgba(44, 62, 80, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.mkte_productos-resultado .preloader>* {
  position: relative;
  z-index: 2;
}

.mkte_productos-resultado .preloader>h1 {
  color: #fff;
  text-shadow: 1px 1px 1px #333;
}

.mkte_productos-resultado .preloader>p {
  color: #d9d9d9;
}

.mkte_productos-resultado .preloader>.progress {
  margin: 0;
  height: 13px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: none;
  border-radius: 3px;
}

.mkte_productos-resultado .preloader>.progress>.progress-bar {
  border-radius: 3px;
  background-color: #808e9b;
}

/* Listado */
.mkte_productos-resultado .resultados {
  margin-bottom: 15px;
}

.mkte_productos-resultado .resultados .no-more {
  color: #b0b0b0;
  font-size: 18px;
  font-weight: 100;
  border-top: 1px dashed #ddd;
  padding-top: 15px;
  margin-bottom: 15px;
}

@media (min-width: 992px) {
  .mkte_productos-resultado .resultados {
    min-height: 100vh;
  }
}

/* Listado > Placeholder */
.mkte_productos-resultado .resultados-placeholder {
  border: 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12) !important;
}

.mkte_productos-resultado .resultados-placeholder svg {
  display: block;
}

.mkte_productos-resultado .resultados-placeholder>.fa-picture-o {
  position: absolute;
  top: 55px;
  font-size: 130px;
  left: 45px;
  color: #959595;
}

.mkte_productos-resultado .placeholder-resultado {
  border: 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12) !important;

}

.mkte_productos-resultado .placeholder-resultado svg {
  display: block;
}

.mkte_productos-resultado .placeholder-resultado>.fa-picture-o {
  position: absolute;
  top: 55px;
  font-size: 130px;
  left: 45px;
  color: #959595;
}



/* Listado > Thumbnails */
.mkte_productos-resultado .thumbnails>.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -8px;
  margin-left: -8px;
}

.mkte_productos-resultado .thumbnails>.row div {
  display: flex;
  padding-right: 8px;
  padding-left: 8px;
}

.mkte_productos-resultado .thumbnails-mazorny {
  display: flex;
  justify-content: flex-start; /* Cambio: alinear al inicio en lugar de distribuir */
  flex-wrap: wrap;
}

/* Listado > Thumbnails > Thumbnail*/
.mkte_productos-resultado .thumbnail {
  flex: 0 0 auto;
  flex-basis: calc(25% - 15px) !important; /* 4 columnas por defecto (>1000px) */
  margin-right: 15px;
  margin-bottom: 20px;
  padding: 0;
  border: 0;
  transition-property: box-shadow, opacity;
  overflow-wrap: break-word;
  position: relative;
  white-space: normal;
  overflow: visible;
  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: box-shadow;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

/* 3 columnas entre 730px y 1200px */
@media (max-width: 1200px) and (min-width: 731px) {
  .mkte_productos-resultado .thumbnail {
    flex-basis: calc(33.333% - 15px) !important;
  }
}

/* 2 columnas entre 480px y 730px */
@media (max-width: 730px) and (min-width: 481px) {
  .mkte_productos-resultado .thumbnail {
    flex-basis: calc(50% - 15px) !important;
  }
}

/* 1 columna para menos de 480px */
@media (max-width: 480px) {
  .mkte_productos-resultado .thumbnails>.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  
  .mkte_productos-resultado .thumbnails>.row div {
    padding-right: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
  }
  
  .mkte_productos-resultado .thumbnail {
    flex-basis: calc(100% - 15px) !important; /* 1 columna en móvil */
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 15px !important;
  }
}

.mkte_productos-resultado .thumbnail>.img-bg {
  height: 190px;
  position: relative;
  background: no-repeat center #ccc;
  background-size: cover;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;

}

.mkte_productos-resultado .thumbnail>.img-bg>.img-bg-placeholder {
  top: 50%;
  left: 50%;
  color: #a3a3a3;
  width: 80px;
  height: 116px;
  margin: -58px 0 0 -40px;
  font-size: 80px;
  position: absolute;
  text-align: center;
}

.mkte_productos-resultado .thumbnail>.img-bg>.tarifa {
  color: #fff;
  right: 10px;
  bottom: 5px;
  position: absolute;
  font-size: 24px;
  text-align: right;
  text-shadow: 1px 1px 0px #333;
  font-weight: 700;
}
.mkte_productos-resultado .thumbnail .tarifa .tarifa-impuestos {
  font-size: 18px;
  line-height: 1;
}

/* Resultados: Etiqueta */
.mkte_productos-resultado .thumbnail .etiqueta {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary);
  z-index: 1;
  color: #fff;
  padding: 3px 8px;
}

.mkte_productos-resultado .thumbnail>.caption {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 190px);
}

.mkte_productos-resultado .thumbnail>.caption>h4 {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--primary);
  text-transform: capitalize;
  font-weight: 600;
}

.mkte_productos-resultado .thumbnail>.caption>.row {
  margin-right: -5px;
  margin-left: -5px;
}

.mkte_productos-resultado .thumbnail>.caption>.row>div {
  padding-right: 5px;
  padding-left: 5px;
}

.mkte_productos-resultado .thumbnail>.caption>.row>div>.list-inline {
  font-size: 11px;
  margin: 0;
  color: #333;
}

.mkte_productos-resultado .thumbnail>.caption>.row>div>.list-inline>li {
  padding: 0;
  display: block !important;
  color: #333;
  font-size: 12px;
}

.mkte_productos-resultado .thumbnail .caption .btn-warning {
  background: var(--primary) !important;
  color: #ffffff !important;
  border: 0 !important;
  outline: 0 !important;
  width: 100% !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  min-height: 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}


/* Sin resultados */
.mkte_productos-resultado .sin-resultados>.alert {
  color: #8a6d3b;
  border: none;
  position: relative;
  background-color: #ffdd87;
  padding: 20px 15px 15px 90px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.mkte_productos-resultado .sin-resultados>.alert>i {
  left: 10px;
  bottom: -8px;
  position: absolute;
  font-size: 75px;
}

.mkte_productos-resultado .sin-resultados>.alert>p {
  font-size: 25px;
  font-weight: 100;
  margin-bottom: 5px;
}

/* Volver arriba */
.mkte_productos-resultado .btn-go-top {
  right: 15px;
  bottom: 15px;
  position: fixed;
  font-size: 27px;
  padding: 2px 8px;
  height: 45px;
  width: 45px;
  background: #33393b;
  color: #919494;
  border-color: #1b1f20;
}

.mkte_productos-resultado .btn-go-top:hover,
.mkte_productos-resultado .btn-go-top:focus,
.mkte_productos-resultado .btn-go-top.focus {
  color: #fff;
}