/*

Version: 3.0.1

*/

/* GRID Post recientes */

.noticias-grid-wrapper {
  display: grid;
  grid-template-columns: 50% repeat(2, 1fr);
  grid-template-rows: repeat(200px, 2fr);
  grid-gap: 10px;
  min-height: 90vh;
}

.item-grid {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.item-grid .imagen {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.item-grid .imagen:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  background-size: cover;
  transform-origin: center;
  transition: transform .8s ease-in-out;
}

.item-grid:hover .imagen:after {
  transform: scale(1.10);
}

.item-1 {
  grid-column: 1;
  grid-row: 1/3;
}

.item-2 {
  grid-column: 2/4;
  grid-row: 1;
}

.item-3 {
  grid-column: 2;
  grid-row: 2;
}

.item-4 {
  grid-column: 3;
  grid-row: 2;
}

.item-grid .noticias-grid-texto {
  padding: 20px;
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
}

.item-1 .noticias-grid-texto,
.item-2 .noticias-grid-texto {
  height: 100%;
  width: 40%;
}

.item-3 .noticias-grid-texto,
.item-4 .noticias-grid-texto {
  width: 100%;
  height: 35%;
  min-height: 150px;
}

.item-1 .noticias-grid-texto,
.item-3 .noticias-grid-texto {
  background-color: #DEF5B5;
}

.item-2 .noticias-grid-texto {
  background-color: #80DA00;
}

.item-4 .noticias-grid-texto {
  background-color: #E7E7E7;
}

.item-grid a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 60;
}

.noticias-grid-texto h3 {
  line-height: 1;
  margin-bottom: 15px;
  font-size: 25px;
}

.noticias-grid-texto .boton__flecha {
  background-color: #fff;
  padding: 8px 25px;
  border-radius: 20px;
  display: inline-block;
  transition: all 300ms;
}

.item-4 .noticias-grid-texto .boton__flecha {
  background-color: #80DA00;
}

.item-grid:hover .noticias-grid-texto .boton__flecha {
  opacity: 0.5;
}

.noticias-grid-texto .boton__flecha img {
  width: 26px;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1440px) {
  .noticias-grid-texto h3 {
    font-size: 20px;
  }

  .noticias-grid-texto .boton__flecha {
    padding: 5px 20px;
  }

  .noticias-grid-texto .boton__flecha img {
    width: 20px;
  }
}

@media (max-width: 1366px) {
  .noticias-grid-texto h3 {
    line-height: 1.2;
  }
}

@media (max-width: 1024px) {
  .noticias-grid-texto h3 {
    line-height: 1;
    margin-bottom: 15px;
  }

  .item-grid .noticias-grid-texto {
    padding: 10px 15px;
  }
}

@media (max-width: 980px) {
  .noticias-grid-texto h3 {
    font-size: 22px;
  }
}

@media (max-width: 850px) {
  .item-1 {
    grid-column: 1/2;
    grid-row: 1/4;
  }

  .item-2 {
    grid-column: 2/4;
    grid-row: 1/3;
  }

  .item-3 {
    grid-column: 1/2;
    grid-row: 4/6;
  }

  .item-4 {
    grid-column: 2/4;
    grid-row: 3/6;
  }

  .item-grid .noticias-grid-texto {
    width: 100%;
    height: 20%;
    min-height: 120px;
  }
}

@media (max-width: 640px) {
  .noticias-grid-texto h3 {
    font-size: 18px;
    line-height: 1.2;
  }
}

@media (max-width: 550px) {
  .item-grid .noticias-grid-texto {
    min-height: 130px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .noticias-grid-texto h3 {
    line-height: 1;
    margin-bottom: 10px;
  }
}

@media (max-width: 375px) {
  .item-grid .noticias-grid-texto {
    min-height: 120px;
    padding: 10px;
  }

  .noticias-grid-texto h3 {
    line-height: 1;
    margin-bottom: 5px;
  }

  .noticias-grid-texto .boton__flecha {
    padding: 0 15px;
  }

  .noticias-grid-texto .boton__flecha img {
    width: 15px;
  }
}


/* Post recientes - PÁGINA DE PRODUCTO */

.noticias-relacionadas {
  display: flex;
  justify-content: start;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px 0 40px;
}

.noticias-relacionadas>a {
  flex: 1;
  max-width: 100%;
  min-width: 300px;
  width: 100%;
}

.noticias-relacionadas__item {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.noticias-relacionadas__item__titulo {
  background-color: #80DA00;
  padding: 15px;
  position: relative;
  z-index: 10;
}

.noticias-relacionadas__item__titulo .boton__flecha {
  background-color: #fff;
  padding: 6px 22px;
  border-radius: 20px;
  display: inline-block;
  transition: all 300ms;
}

.noticias-relacionadas__item__titulo .boton__flecha {
  background-color: #fff;
}

.noticias-relacionadas__item__titulo .boton__flecha img {
  width: 26px;
}

.noticias-relacionadas>a:hover .noticias-relacionadas__item__titulo .boton__flecha {
  opacity: 0.5;
}

.noticias-relacionadas__item__titulo h4 {
  font-size: 18px;
  line-height: 1.1;
  margin-bottom: 15px;
}

.noticias-relacionadas__item__titulo {
  background-color: #80DA00;
  padding: 15px;
  min-height: 125px;
}

.noticias-relacionadas__item__imagen {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.noticias-relacionadas__item__imagen:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  background-size: cover;
  transform-origin: center;
  transition: transform .8s ease-in-out;
}

.noticias-relacionadas>a:hover .noticias-relacionadas__item__imagen:after {
  transform: scale(1.10);
}

@media (max-width: 550px) {
  .noticias-relacionadas__item__titulo {
    min-height: 155px;
  }

  .noticias-relacionadas__item__titulo .boton__flecha {
    padding: 3px 20px;
  }

  .noticias-relacionadas__item__titulo .boton__flecha img {
    width: 20px;
  }
}


/* MENÚ - SLIDE de productos */

.menu-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.item-vertodos {
  background-color: #DEF5B5;
  padding: 20px;
  display: flex;
  flex-direction: column;
  width: 10%;
  position: relative;
}

.item-vertodos a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.item-vertodos-titulo {
  font-family: 'DM Sans Bold';
  color: #000;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 30px;
  width: 20px;
}

.item-vertodos-imagen {
  text-align: right;
}

.item-vertodos-imagen img {
  width: 45px;
}

.carousel-wrapper {
  position: relative;
  width: 90%;
  margin: 0 auto;
  padding: 20px 0 0;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  padding-bottom: 10px;
}

.carousel {
  display: flex;
  gap: 25px;
  transition: transform 0.3s ease;
}

.carousel-item {
  display: block;
  width: 135px;
  height: auto;
  flex-shrink: 0;
}

.carousel-item a {
  color: #000;
  display: block;
}

.carousel-item a:hover {
  color: #000;
  text-decoration: underline;
  opacity: 0.7;
}

.carousel-item img {
  width: 80%;
  height: auto;
  pointer-events: none;
  margin-bottom: 10px;
}

.carousel-item p {
  font-size: 14px;
  line-height: 1.2;
  text-transform: none;
  margin-bottom: 10px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: #E6E6E6;
  margin-top: 10px;
  position: relative;
}

.progress-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--progress-width, 0%);
  background-color: #898989;
  transition: width 0.1s ease;
}

.progress-handle {
  position: absolute;
  top: -13px;
  left: 0;
  cursor: pointer;
}

.progress-handle img {
  width: 40px;
  height: auto;
}

.carousel-wrapper .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  border: none;
  cursor: pointer;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.carousel-wrapper .arrow img {
  width: 25px;
}

.carousel-wrapper .left-arrow {
  left: -195px;
}

.carousel-wrapper .right-arrow {
  right: -60px;
}

/* SLIDER DE PRODUCTOS RELACIONADOS */
.productos-relacionados__wrapper {
  background-color: rgb(243, 243, 243);
  padding: 50px 0;
}

.productos-relacionados__wrapper h2 {
  font-size: 30px;
  padding-left: 10px;
}

.carousel-outer-container {
  position: relative;
  margin: 0 auto;
}

.carousel-productos-relacionados__wrapper {
  position: relative;
  margin: 0 auto;
  padding: 20px 0;
  overflow: hidden;
  width: 1500px;
  max-width: 100%;
}

.productos-relacionados {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  transition: transform 0.3s ease;
}

.productos-relacionados-item {
  position: relative;
  background-color: #fff;
  padding: 20px;
  flex: 0 0 calc(25% - 11.25px);
  max-width: calc(25% - 11.25px);
  max-height: 450px;
}

.productos-relacionados-item__content p {
  margin-bottom: 0;
}

.productos-relacionados-item__content__precio {
  font-family: "DM Sans Bold", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  color: #80da00;
}

.productos-relacionados-item__content__precio span {
  font-size: 12px;
  font-family: "DM Sans Regular", sans-serif;
}

.productos-relacionados-item__content__titulo {
  line-height: 1.2;
  font-size: 19px;
  margin-top: 5px;
  margin-bottom: 2px;
}

.productos-relacionados-item__enlace a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.productos-relacionados-banner {
  padding: 18px 25px 9px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 313px;
  border: 1px solid #ccc;
  margin: 20px;
}

.productos-relacionados-banner img {
  width: 120px;
  margin-bottom: 10px;
}

.productos-relacionados-banner p {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.productos-relacionados-banner .btn-homs {
  background-color: #fe5000;
  color: #fff;
  text-decoration: none;
  padding: 5px 27px;
  margin-bottom: 0;
  border-radius: 90px;
  font-size: 18px;
}

.productos-relacionados-banner video {
  width: 93%;
}

.carousel-outer-container .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  margin: 0;
  border: none;
  cursor: pointer;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.carousel-outer-container .arrow img {
  width: 25px;
}

.carousel-outer-container .prod-left {
  left: -35px;
}

.carousel-outer-container .prod-right {
  right: -35px;
}

/* MEDIA QUERIES */

@media (max-width: 1440px) {
  .carousel-productos-relacionados__wrapper {
    width: 1350px;
  }

  .carousel-outer-container .prod-left {
    left: -15px;
  }

  .carousel-outer-container .prod-right {
    right: -15px;
  }

  .productos-relacionados-banner p {
    font-size: 25px;
    margin-bottom: 20px;
  }
}

@media (max-width: 1366px) {
  .carousel-productos-relacionados__wrapper {
    width: 1300px;
  }
}

@media (max-width: 1024px) {
  .productos-relacionados-item {
    flex: 0 0 calc(35% - 11.25px);
    max-width: calc(35% - 11.25px);
  }

  .productos-relacionados-banner p {
    font-size: 20px;
  }
}

@media (max-width: 850px) {
  .productos-relacionados-item {
    flex: 0 0 calc(50% - 11.25px);
    max-width: calc(50% - 11.25px);
  }
}

@media (max-width: 550px) {
  .productos-relacionados-item {
    flex: 0 0 calc(50% - 11.25px);
    max-width: calc(50% - 11.25px);
  }

  .carousel-outer-container .arrow {
    display: none;
  }
}

@media (max-width: 420px) {
  .productos-relacionados-item {
    flex: 0 0 calc(90% - 11.25px);
    max-width: calc(90% - 11.25px);
  }

  .productos-relacionados-banner video {
    margin-top: 10px;
  }
}


/* PÁGINA DE PRODUCTO - Producto offline */

.postid-7815 #open-faqs {
  text-decoration: underline;
  cursor: pointer;
}

.formulario-tare__wrapper label {
  font-family: 'DM Sans Regular';
  font-weight: 400;
  font-size: 16px;
}

.formulario-tare__wrapper .hs_tare_tipo_tarjeta>label {
  margin-bottom: 20px;
}

.formulario-tare__wrapper .hs_tare_tipo_tarjeta>label span {
  font-size: 20px;
  font-family: 'DM Sans Bold';
}

.formulario-tare__wrapper .inputs-list {
  list-style: none;
}

.formulario-tare__wrapper .inputs-list li {
  margin-left: 0;
}

.formulario-tare__wrapper .hs_tare_otro_importe {
  margin-top: -60px;
  margin-left: 80px;
  display: flex;
}

.formulario-tare__wrapper .hs_tare_otro_importe .input {
  max-width: 125px;
}

.formulario-tare__wrapper .hs_tare_nombre_envio,
.formulario-tare__wrapper .hs_tare_apellidos_envio,
.formulario-tare__wrapper .hs_tare_email_envio {
  background-color: #DEF5B5;
  padding: 10px 25px 0;
  float: left;
  width: 50%;
}

.formulario-tare__wrapper .hs_tare_email_envio {
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.formulario-tare__wrapper .hs_tare_nombre_envio input,
.formulario-tare__wrapper .hs_tare_apellidos_envio input,
.formulario-tare__wrapper .hs_tare_email_envio input {
  width: 100% !important;
  background-color: #fff !important;
  border: 1px solid #ccc !important;
}

@media (max-width: 480px) {

  .formulario-tare__wrapper .hs_tare_nombre_envio,
  .formulario-tare__wrapper .hs_tare_apellidos_envio,
  .formulario-tare__wrapper .hs_tare_email_envio {
    width: 100%;
  }
}