/** Shopify CDN: Minification failed

Line 220:1 Expected "}" to go with "{"

**/


/*RESPONSIVE*/
@media screen and (max-width: 820px) {
.noMobile {
  display: none;
}
}

@media screen and (min-width: 819px) {
.noDesk {
  display: none;
}
}

/*SCROLL TO TOP button*/
@media screen and (min-width: 706px) {
    .m-button--scroll-top {
        right: 27px !important;
        bottom: 90px !important;
      }
    }

@media screen and (max-width: 705px) {
    .m-button--scroll-top {
        right: 30px !important;
        bottom: 149px !important;
    }
}

/*SIDEBAR COLLECTIONS*/
.m-collection-filters-form {
    margin-top: 30px !important; /* Puedes subir o bajar este número */
    display: block;
}

/* =================================================== */
/* VARIABLES DE COLOR (BIVIEN)                         */
/* =================================================== */
:root {
  --color-button: 0, 73, 116;         /* Azul Naval (#004974) para botones y precios */
  --color-button-text: 255, 255, 255; /* Blanco (#ffffff) para el texto del botón */
  --color-text-body: 153, 153, 153;   /* Gris (#999999) para el precio tachado */
}

/* =================================================== */
/* PRODUCT CARD DISPLAY                                */
/* =================================================== */
.m-product-card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  background-color: white !important;
  border-radius: 12px !important;
  padding-bottom: 20px !important; 
  transition: box-shadow 0.3s ease, transform 0.3s ease !important;
  border: 1px solid transparent;
  overflow: hidden;
}

.m-product-card:hover {
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-4px) !important;
}

.m-product-card__content {
  display: flex !important;
  flex-direction: column;
  flex-grow: 1;
}

.m-product-card__info {
  margin-bottom: auto !important;
}

.m-product-card__media {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.m-product-card__title {
  max-width: 85% !important;
  margin: 0 auto 10px auto !important;
  min-height: 2.8em !important;
  display: block !important;
}

.m-product-tag,
.m-product-card__tag-name {
  text-transform: none !important;
}

.main-product__block-inventory_status {
  display: none;
}

.m-product-card__action-wrapper .m-add-to-cart {
  background-color: rgb(var(--color-button)) !important;
  color: rgb(var(--color-button-text)) !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 12px 20px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  width: 85% !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  transition: background-color 0.3s ease !important;
}

/* =================================================== */
/* PRICES DISPLAY                                      */
/* =================================================== */
.m-product-card__price .m-price-item {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: rgb(var(--color-button)) !important;
  margin-bottom: 15px !important;
}

.m-product-card__price .m-price-item--sale {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  gap: 10px !important;
  width: 100% !important;
}

.m-product-card__price .m-price-item--sale > span:not(.ymq-b2b-cp-compare-price) {
  order: 1 !important; 
}

.m-product-card__price .m-price-item--sale > span:not(.ymq-b2b-cp-compare-price) .ymq-b2b-price-span {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: rgb(var(--color-button)) !important;
  display: block !important;
}

.ymq-b2b-cp-compare-price,
.ymq-b2b-cp-compare-price .ymq-b2b-price-span {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: rgb(var(--color-text-body)) !important;
}

.ymq-b2b-cp-compare-price {
  order: 2 !important;
  text-decoration: line-through !important;
  display: inline-block !important;
}

/* =================================================== */
/* MOBILE ADAPTATION (MAX-WIDTH: 767PX)                */
/* =================================================== */
@media (max-width: 767px) {
  .m-product-card {
    padding: 0px 10px 10px 10px;
  }

  .m-product-card__title {
    max-width: 95% !important;
  }

  .m-product-card__price .m-price-item {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: rgb(var(--color-button)) !important;
    margin-bottom: 15px !important;
  }

  .m-product-card__price .m-price-item--sale > span:not(.ymq-b2b-cp-compare-price) .ymq-b2b-price-span {
    font-size: 18px !important;
  }

  .ymq-b2b-cp-compare-price .ymq-b2b-price-span {
    font-size: 14px !important;
  }

  .m-product-card__action-wrapper .m-add-to-cart {
    align-items: center !important; 
  }

  .m-product-card__action-wrapper .m-add-to-cart--text {
    font-size: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  
  .m-product-card__action-wrapper .m-add-to-cart--text::after {
    content: "Añadir";
    font-size: 15px !important;
    line-height: 1 !important;
  }
}
.m-search-popup__result{
  border-radius: 15px;
}

.m-filter--widget{
  margin-top: 30px;
}

.m-product-card__title .m-product-card__name {
  text-wrap: balance !important; 
  
@media (min-width: 1024px) {
  .m-collection-products .m-product-item {
    width: 25% !important;
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}