/* ==========================================================================
   1. CONTENEDOR PRINCIPAL DE PRODUCTOS
========================================================================== */
/* .products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
    gap: 0.7rem;
    margin-bottom: 3rem;
  }

  .products-container--list {
    grid-template-columns: 1fr !important;
  } */

/* ==========================================================================
   2. ESTILOS BASE
========================================================================== */
#product-modal-portal{
	display: none;
}
.products-container.grid {
  .product__agent-price {
		font-size: 18px;
		line-height: 18px;
  }
	span.decimales {
		 font-size: 16px;
	}
	span.currency {
		 font-size: 18px;
	}


	  
 }

.avisame2 {
    display: flex;
    width: -webkit-fill-available;
}
span.decimales {
    font-size: 20px;
}


ul.texto-format {
    padding: 0px 0px 0px 20px;
	font-size: 18px!important;
	font-weight: 500!important;    
	color: var(--color-primary-500);	
  margin: 0px;	
}
ul.texto-format li{
    padding-bottom: 6px;
}

#product-modal-portal .product-downloads{
	display: none;
}
.products__container {
  resize: horizontal;
  container-type: inline-size;
}
.product__stock-info-warn {
    position: absolute!important;
    margin-left: 78px;
    margin-top: 3px;
	.product__stock-info-stock-send-warn {
    color: var(--color-error);
    font-size: 1.3rem;    
	}

    & > .icon {
        width: 1.3rem!important;
        height: 1.3rem!important;
    }
}

div.info-bot {
    display: flex;
    justify-content: flex-end;
}
img.card-cod{
  max-width: 33px;
  height: auto
}
.product {
  max-width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: var(--color-neutral-50);
  resize: horizontal;
  container-type: inline-size;
}

.product__header {
  margin-bottom: 0.5rem;
}

.product__header-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product__header-brand-image {
	max-height: 55px;
	max-width: 70px;
	height: auto;
	width: auto;	
    position: absolute;		
    z-index:99;
mix-blend-mode: multiply;    
}

.product__header-search-button {
  cursor: pointer;
  transition: opacity 0.2s ease;
   margin-left: calc(100% - 27px);  
  &:hover {
  opacity: 0.75
}
}
.product__header-search-button > .icon {
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--color-primary-500);
}

.product__image-container {
  position: relative;
  width: 100%;
  height: 100%;
  height: 220px;
  display: inline-flex;
  align-items: center;
  flex-direction: column;  
 justify-content: center;  
}
.centrado-disponible {
    margin: 0px auto;
    width: 100%;
    grid-column-start: 3;
    grid-column-end: 5;
    display: flex;    
}
span.no-visible{
    color: var(--color-error);
    display: block;
    margin-top: -63px;
    border-radius: 4px;    
    z-index: 2;
    font-size: 15px;
    padding: 3px 6px;
    background: rgb(230, 230, 230, 0.75)      
}

body.productos.soloprod span.no-visible {
    margin-left: 0px;
    margin-top: -102px;
}    


.product__image {
  width: 100%;
  margin-inline: auto;
  object-fit: contain;
  transition: transform 0.2s ease-in-out;
 max-height: 100%;  
  &:hover {
    cursor: pointer;
    transform: scale(1.05);
  }
}
.product__image-container.prd{
	.product__image.img2 {
		display: none;
	}
}
.product__image-container.prd:hover{
	.product__image.img2 {
		display: block;
	}
	.product__image.img1 {
		display: none;
	}
}


.product__header.list {
    display: flex;
}
.product__header.list .grupo_bots {
    display: flex;
    flex-direction: column;
    gap: 5px;    
    min-width: 60px;
    justify-content: space-between;    
}
.product__header.list {
    gap: 24px;
}
.grupo_foto {
    display: flex;
    flex-direction: column;
}
.grupo_foto .product__image-container {
    height: 160px;
}
.products-container.list .grupo_foto{
	  .product__image {
	   max-height: 160px;
	   
	}
	 min-width: 120px;
}

.grupo_botones {
    display: flex;
    justify-content: flex-end;    
}
.grupo_foto .product__header-search-button{
	margin: 0px;
}
.products-container.list  .grupo_bots .product__info-youtube-button > .icon {
        background-color: var(--color-error);
        border-radius: 0.25rem;
        width: 2.5rem;
        height: 2rem; 
        }
.product__header.list .product__stock-info-warn {
    display: flex;
    flex-direction: row;
    position: relative!important;
    margin-left: 0px;
    margin-top: 0px;
    width: stretch;
    
}
.products-container.list .product__info.list {
	padding: 0px;
    gap: 5px;	
	.product__stock-info-warn {
		 position: relative !important;
		 margin-left: 0px;
		 margin-top: 0px;
	}
	.grupo_botones{
		
	}
	.grupo_botones {
		 display: flex;
		 position: absolute;
		 z-index: 2;
		 margin-left: 140px;
	}

	
    
}

.products-container.list .product__header-brand-image{
	position: relative!important;
}
/* !general style */
.product__chip {
  min-height: 1.5rem;
  padding-inline: 0.5rem;
  padding-block: 0.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-error);
  border-radius: 0.3rem;
}

.product__chip-text {
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 0;
  white-space: nowrap;
  color: var(--color-neutral-50);
}

/* ==========================================================================
   3. ESTILOS GRID
========================================================================== */
.products-container.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.3rem;

  .product{
    display: flex;
    flex-direction: column;
  }

  .product__info.list {
    display: none;
  }

  .product__info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.5rem;
    position: absolute;
	  margin-top: -30px;    
  }

  .product__info {
    display: flex;
    flex-direction: column;
    row-gap: 0.35rem;
    flex-grow: 1;
  }

  .product__info-youtube-button > .icon {
    width: 1.75rem;
    background-color: var(--color-error);
  }

  .product__name {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-primary-500);
    transition: color 0.1s linear;
    max-height:68px;
    height:68px;
    
    overflow:hidden;
    &:hover {
      cursor: pointer;
      color: var(--color-primary-200);
    }
    & > .product__chip {
      display: none;
    }
  }

  .product__details-container {
    column-gap: 0.25rem;
    row-gap: 0.25rem;
  }

  .product__details-data {
    font-size: 0.6rem;
  }

  .product__stock-info-stock {
    font-size: 0.6rem;
  }

  .product__price-buttons-container {
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    /* align-items: flex-end; */
    gap: 0.25rem;
  }

  .product__price-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.15rem;
  }

  .product__price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-secondary-500);
  }

  .product__price-old-container {
    display: flex;
    align-items: center;
    gap: 0.25rem;
	  max-height: 0px;  
   }

  .product__price-old {
    font-weight: 500;
    font-size: 0.75rem;
    text-decoration: line-through;
    color: var(--color-error);
  }

  .product__price-discount-qty {
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--color-primary-500);
  }

  .product__agent-price-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: space-between;
  }

  .product__agent-price-uom {
    font-size: 0.65rem;
  }

  .product__agent-price {
    font-size: 0.875rem;
  }

  .product__agent-price-discounts-item {
    font-size: 0.5rem;
    white-space: nowrap;
		    font-weight: 400;
  }
	.product__agent-price-discounts-item span.product__agent-price-data{
		    font-weight: 600;
	}
  .product__buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    height: 2.25rem;
  }

  .product__qty-buttons {
    /* max-width: 50%; */
    flex-grow: 1;
  }

  .cart-button__container {
    flex-grow: 1;
  }

  .product__price-container {
    flex-direction: row-reverse;
  }
}

/* Contenedor product */
@container (width >= 180px) {
  .products-container.grid {
    .product__info {
      row-gap: 5px;
    }
    .product__details-data,
    .product__stock-info-stock {
      font-size: 0.65rem;
    }

    .product__agent-price-uom {
      font-size: 0.75rem;
      white-space: nowrap;
    }

    .product__agent-price {
		font-size: 18px;
		line-height: 18px;		
    }

    .product__agent-price-discounts-item {
      font-size: 0.8rem;
    }
  }
}

@container (width >= 210px) {
  .products-container.grid {
    .product__info {
         row-gap: 5px;     
    }
    .product__price-buttons-container {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-end;
      
    }

    .product__buttons-container {
      height: 2rem;
      
    }
    .product__price-container {
      flex-direction: column;
      align-items: flex-start;
    }

    .product__details-data,
    .product__stock-info-stock {
      font-size: 0.7rem;
    }

    .product__agent-price-container {
      flex-direction: column;
      align-items: flex-start;
    }

    .product__buttons-container {
      height: 1.875rem;
    }

    .cart-button__container {
      max-width: 4rem;
      .cart-button__add-button{
        width: 3.75rem;
        flex-grow: 4;
      }
      .icon--shopping-cart:not(.cart__cart-icon) {
        width: 0.75rem;
        height0.75rem;
      }
    }

    .product__qty-input {
      width: 1.75rem;
    }
  }
}
@container (width >= 225px){
  .products-container.grid {

    .product__details-data,
    .product__stock-info-stock {
      font-size: 0.7rem;
    }
  }
}

/* Contenedor lista */
@container (width >= 360px) {
  .products-container.grid {
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  }
}

@container (width >= 550px) {
  .products-container.grid {
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  }
}

@container (width >= 750px) {
  .products-container.grid {
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 0.5rem;
  }

}

/* @media (width >= 1050px) {
  .products-container.grid {
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  }
} */


/* ==========================================================================
   4. ESTILOS LISTA
========================================================================== */

.products-container.list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  /* background-color: var(--color-primary-500); */

  .product__info.grid {
    display: none;
  }

  .product {
    border-radius: 0.25rem;
    padding: 0.25rem;
    display: flex;
    gap: 0.5rem;
    /* background-color: var(--color-neutral-500); */
  }

  .product__header {
    max-width: 8rem;
    margin-bottom: 0;
    justify-content: space-between;
  }

  .product__header-info {
    align-items: center;
  }

  .product__header-brand-image {
    width: 2.5rem;
  }

  .product__header-search-button {
  	    margin-left: 0px;
        display: flex;  	    
    & > .icon {
      width: 1rem;
    }
  }

  .product__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.15rem;
    padding: 0.5rem;
    flex-grow: 1;
    
  }

  .product__info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .product__chip-text {
    font-size: 0.55rem;
  }

  .product__info-youtube-button > .icon {
    background-color: var(--color-error);
    border-radius: 0.25rem;
    width: 1.5rem;
    height: 1.25rem;
  }

  .product__name {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-primary-500);
    transition: color 0.1s linear;
    &:hover {
      cursor: pointer;
      color: var(--color-primary-200);
    }
    & > .product__chip {
      display: none;
    }
  }

  .product__details-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.5rem;
  }
  .product__details-container {
    column-gap: 15px;
    row-gap: 5px;
  }
  .product__details-data {
    font-size: 0.5rem;
  }

  .product__stock-info-stock {
    font-size: 0.5rem;
  }

  .product__price-container {
    align-items: flex-end;
  }
  .product__price {
    font-size: 0.875rem;
  }

  .product__agent-price-container {
    align-items: flex-end;
  }

  .product__agent-price-uom {
    font-size: 0.5rem;
  }

  .product__agent-price {
    font-size: 0.875rem;
  }

  .product__agent-price-discounts-item {
    font-weight: 500;
    font-size: 0.45rem;
    /* white-space: nowrap; */
  }

  .product__buttons-container {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    gap: 0.5rem;
    height: 2.5rem;
  }

  .product__cart-price-container {
    height: 100%;
    flex-grow: 1;
  }

  .product__qty-buttons {
    flex-grow: 1;
    height: 100%;
  }

  .cart-button__container {
    flex-grow: 1;
  }

  .product__info-youtube-button.desktop {
    display: none;
  }

  .product__qty-buttons.desktop {
    display: none;
  }

  .product__price-container.desktop {
    display: none;
  }

  .product__agent-price-container .desktop {
    display: none;
  }

  .product__agent-price-container.desktop {
    display: none;
  }
}

.product-details-portal {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  padding: var(--main-padding);
  overflow: auto;

  .product-details-modal {
		.avisame2 {
			 justify-content: center;
		}  
		.product__stock-info-stock-send-warn {
        font-size: 2rem;
        			 & > .icon {
				  width: 2rem !important;
				  height: 2rem !important;
			 }

		 }		
    width: 100%;
    max-width: 55rem;
    height: 100%;
    max-height: 100%;
    overflow: auto;
    padding: var(--main-padding);
    background-color: var(--color-neutral-50);
    border-radius: 0.5rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  }

  .mobile-close-container {
    display: flex;
    margin-bottom: 1rem;
    justify-content: flex-end;
	  justify-content: space-between;    
    & > .icon {
      background-color: var(--color-primary-500);
      height: 1.75rem;
      width: 1.75rem;
      transition: opacity 0.2s ease;
      cursor: pointer;
      &:hover {
        opacity: 0.75;
      }
    }
  } 

  .desktop-close-icon {
    display: none;
  }
  
  .product__container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    /* height: 100%; */
    /* max-width: rem; */
  }


  .product__images-container {
    display: grid;
    /* grid-template-columns: repeat(3, 8rem); */
    grid-template-rows: repeat(4, 8rem);
    gap: 0.5rem;
    &.one-image{
      grid-template-rows: repeat(3, 8rem);
    }
  }

  .product__gallery-image-container {
    width: 100%;
    height: 100%;
    max-width: 130px;
    grid-column-start: 1;
    grid-column-end: 2;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--color-neutral-50);
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1;
    &:hover > img {
      transform: scale(1.1);
    }
  }

  .product__gallery-image-container:first-child {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .product__gallery-image-container:nth-child(2) {
    grid-column-start: 2;
    grid-column-end: 3;
  }

  .product__gallery-image-container:nth-child(3) {
    grid-column-start: 3;
    grid-column-end: 4;
  }

  .product__gallery-selected-image-container {
    position: relative;
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
    background-color: var(--color-neutral-50);

    overflow: hidden; /* ¡Muy importante! Oculta las partes de la imagen de fondo que se salen del contenedor */
    cursor: zoom-in; /* Cambia el cursor para indicar que se puede hacer zoom */  
	flex-direction: column;
      
  }

  .product__gallery-selected-image-container.zoomed img {
    opacity: 0; /* Ocultamos la imagen original */
}  

  .product__gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease-in-out;
  }

  .product__gallery-selected-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 1;
    transition: opacity 0.2s ease; /* Transición suave para ocultar la imagen */    
  }

  .product__gallery-selected-image-header {
    position: absolute;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    top: 0.75rem;
    padding-inline: 0.75rem;
  }

  .product__gallery-selected-image-header-brand {
    width: 7rem;
    object-fit: contain;
  }

  .product__gallery-selected-image-header-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .product__gallery-selected-image-header-button {
    transition: transform 0.2s ease-in-out;
    &:hover {
      cursor: pointer;
      transform: scale(1.1);
      opacity: 75%;
    }
    & > .icon {
      background-color: var(--color-primary-500);
      width: 1.75rem;
      height: 2rem;
    }
  }

  .product__info-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 1rem;
    resize: horizontal;
    container-type: inline-size;
    /* height: 100%; */
    /* max-width: 40rem; */
    gap: 1rem;
    & > div:nth-child(1) {
      align-self: flex-start;
      place-self: flex-start;
      justify-self: flex-start;
    }
  }

  .product__chip-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-center;
    margin-bottom: 1.25rem;
  }

  .product__chip {
    width: fit-content;
    padding-block: 1.5rem;
    padding-inline: 1.75rem;
    /* margin-bottom: 1.25rem; */
    & > .product__chip-text{
      font-size: 1.1rem;
    }
  }

  .product__name {
    font-weight: 500;
    font-size: 1.5rem;
    max-width: 35rem;
    margin-block: 0;
    color: var(--color-primary-500);
    /* transition: color 0.1s linear;
    &:hover {
      cursor: pointer;
      color: var(--color-primary-200);
    } */
  }

  .product__agent-price-container{
    flex-grow: 1;
  }

  .product__details-container {
    gap: 0.5rem;
  }
  .product__details-data {
    font-size: 1rem;
  }

  .product__stock-info-stock {
    font-size: 1rem;
  }

.product__price-container {
  align-items: self-start;
}

  .product__price {
    font-size: 1.5rem;
  }

  .product__price-old {
    font-size: 1rem;
  }

  .product__price-discount-qty {
    font-size: 1rem;
  }

  .product__price-and-buttons-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 0.5rem;
  }

  .product-features-list {
    margin-block: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.25rem;
  }

  .product-features__text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary-500);
  }

  .more-info-button{
    background-color: var(--color-primary-400);
    white-space: nowrap;
    & > .icon {
      width: 1rem;
      height: 1rem;
    }
  }

  .product__buttons-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    /* flex-direction: column; */
    gap: 0.5rem;
  }

  .product__qty-buttons {
    height: 2.25rem;
    width: 8rem;
  }

  .cart-button__container {
    height: 2.25rem;
    width: 8rem;
  }
  .product__price-and-youtube-button-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 1rem;
    & > .youtube-button {
      width: 2.5rem;
      height: 2rem;
      background-color: var(--color-error);
    }
  }

  .product__agent-price-container {
    font-size: 1rem;
    align-items: flex-end;
    gap: 0.5rem;
  }

  .product__agent-price-uom {
    font-weight: 400;
    font-size: 1.25rem;
    /* white-space: nowrap; */
  }

  .product__agent-price {
    font-weight: 700;
    font-size: 1.75rem;
  }

  .product__agent-price-discounts-item {
    font-weight: 400;
    font-size: 1.25rem;
    /* white-space: nowrap; */
  }

  .product__agent-price-discounts {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75em;
  }

  .product__agent-price-data {
    font-weight: 700;
  }

  .product-details__title {
    margin-block: 0;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 2rem;
    color: var(--color-primary-500);
  }

  .product__qty-buttons {
    height: 2.75rem;
    /* width: 6rem; */
    flex-grow: 1
  }

  .cart-button__container {
    height: 2.75rem;
    width: 10rem;
    flex-grow: 1
  }

  .cart-button__add-button > .icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}


@container (width >= 999px) {

  .products-container.list {
    .product__name {
      font-size: 1rem;
    }

    .product__details-data {
      font-size: 0.6rem;
    }

    .product__stock-info-stock {
      font-size: 0.6rem;
    }

    .product__price {
      font-size: 1rem;
    }

    .product__price-old {
      font-size: 0.75rem;
    }

    .product__agent-price-uom {
      font-size: 0.65rem;
      /* white-space: nowrap; */
    }

    .product__agent-price {
      font-size: 0.875rem;
    }

    .product__agent-price-discounts-item {
      font-size: 0.55rem;
    }

    .product__price-discount-qty {
      font-size: 0.75rem;
    }

    .product__buttons-container {
      height: 2.75rem;
    }
  }
}

@container (width >= 500px) {
  .products-container.list {
    .product__header {
      max-width: 10rem;
    }
    .product__header-brand-image {
      width: 4rem;
    }
    .product__header-search-button > .icon {
      width: 1.25rem;
    }

    .product__info-header {
      gap: 1rem;
    }
    .product__chip {
      padding-inline: 0.75rem;
      min-height: 1.75rem;
    }
    .product__chip-text {
      font-size: 0.875rem;
    }
    .product__name {
      font-size: 1rem;
    }

    .product__details-data {
      font-size: 0.75rem;
    }

    .product__stock-info-stock {
      font-size: 0.75rem;
    }

    .product__price {
      font-size: 1.15rem;
    }

    .product__price-old {
      font-size: 0.875rem;
    }

    .product__price-discount-qty {
      font-size: 0.875rem;
    }

    .product__buttons-container {
      height: 2.75rem;
      justify-content: space-between;
    }

    .product__info-youtube-button.mobile {
      display: none;
    }

    .product__price-container.mobile {
      display: none;
    }

    .product__qty-buttons.mobile {
      display: none;
    }

    .product__agent-price-container.mobile {
      display: none;
    }

    .product__agent-price-container.desktop {
      display: flex;
    }

    .product__agent-price-uom {
      font-size: 0.75rem;
      /* white-space: nowrap; */
    }

    .product__agent-price {
      font-size: 1rem;
    }

    .product__agent-price-discounts-item {
      font-size: 0.65rem;
    }

    .product__info-youtube-button.desktop {
      display: flex;
      & > .icon {
        width: 2rem;
      }
    }
    .product__price-container.desktop {
      display: flex;
		flex-direction: row-reverse;
		gap: 10px;      
    }
    .product__qty-buttons.desktop {
      display: flex;
      max-width: 7rem;
      height: 2.25rem;
    }

    .product__cart-price-container {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      width: 100%;
      gap: 1.25rem;
      flex-grow: 0;
    }

    .cart-button__container {
      width: 7rem;
      max-width: 7rem;
      height: 2.25rem;
    }
  }
}

@container (width >= 650px) {
  .products-container.list {
    .product__name {
      font-size: 1.25rem;
    }

    .product__details-data {
      font-size: 0.875rem;
    }
    .product__stock-info-stock {
      font-size: 0.875rem;
    }
    .product__price {
      font-size: 1.25rem;
    }
    .product__price-old {
      font-size: 20px;
		  span.decimales {
				 font-size: 18px;
			}
 
    }
    .product__price-discount-qty {
      font-size: 0.875rem;
    }

    .product__agent-price-uom {
      font-size: 0.875rem;
      /* white-space: nowrap; */
    }

    .product__agent-price {
      font-size: 23px;
    }

    .product__agent-price-discounts-item {
      font-size: 0.75rem;
    }
  }
}

@container (width >= 750px) {

  .products-container.list {
    .product__info {
      padding: 0.75rem;
      gap: 0.25rem;
    }
    .product__header {
      width: 16rem;
    }

    .product__image {
      max-height: 13rem;
      object-fit: contain;
      max-height: 135px;      
    }
	.grupo_foto .product__image-container {
      max-height: 125px;      
		 height: 125px;
	}    

    .product__header-brand-image {
      width: 4rem;
    }
    .product__header-search-button > .icon {
      width: 1.5rem;
      height: 1.5rem;
    }
    .product__name {
      font-size: 1.5rem;
      max-width: 80%;
    }

    .product__qty-input {
      font-size: 1rem;
    }
    .product__qty-button {
      font-size: 1rem;
    }
  }
  
	.products-container.list .grupo_foto {
		 .product__image {
			  max-height: 125px;
		 }
	}  
}

@container (width >= 750px) {
  .products-container.list {
    .product__header {
      max-width: 16rem;
		gap:0px;      
    }
    .product__name {
      font-size: 1.5rem;
      max-width: 100%;
    }

    .product__details-data {
      font-size: 1rem;
    }
    .product__stock-info-stock {
      font-size: 1rem;
    }

    .product__qty-buttons.desktop {
      height: 2.75rem;
      max-width: 9rem;
      border: 0.15rem solid var(--color-primary-500);
      border-radius: 0.5rem;
    }

    .product__qty-input {
      font-size: 1.25rem;
    }
    .product__qty-button {
      font-size: 1.5rem;
    }

    .product__qty-button--minus {
      border-right: 0.15rem solid var(--color-primary-500);
    }

    .product__qty-button--plus {
      border-left: 0.15rem solid var(--color-primary-500);
    }

    .cart-button__container {
      width: 9rem;
      max-width: 9rem;
      height: 2.75rem;
      & > .cart-button__add-button > .icon {
        width: 1.75rem;
        height: 1.75rem;
      }
    }
  }
}

@container (width >= 1000px) {
  .products-container.list {
    .product__name {
      font-size: 1.6rem;
    }

    .product__info-youtube-button.desktop > .icon {
      width: 2.25rem;
      height: 2.25rem;
    }

    .product__qty-buttons.desktop {
      max-width: 11rem;
      border-radius: 0.75rem;
    }
    .product__qty-button--minus {
      border-top-left-radius: 0.6rem;
      border-bottom-left-radius: 0.6rem;
    }
    .product__qty-button--plus {
      border-top-right-radius: 0.6rem;
      border-bottom-right-radius: 0.6rem;
    }

    .cart-button__container {
      width: 11rem;
      max-width: 11rem;
    }

    .cart-button__add-button {
      border-top-left-radius: 0.5rem;
      border-bottom-left-radius: 0.5rem;
    }

    .cart-button__change-cart-button {
      border-top-right-radius: 0.5rem;
      border-bottom-right-radius: 0.5rem;
    }
  }
}
.product-details-modal{
	.product-features-list{
        flex-direction: column;	
	}
}
@media (min-width: 750px) {


a.product__info-youtube-button{
	position: relative;
}


  .products-container.list {
    .product {
      padding: 0.5rem;
      gap: 1.5rem;
    }
  }
  

  .product-details-portal {
    .product-details-modal {
      height: 100%;
      max-height: 100%;
      overflow: auto;   
      
      .mobile-close-container {
        /*display: none;*/
      }
      
      .desktop-close-icon {
        display: flex;
        & > .icon {
          background-color: var(--color-primary-500);
          height: 1.1rem;
          width: 1.1rem;
          transition: opacity 0.2s ease;
          cursor: pointer;
          &:hover {
            opacity: 0.75;
          }
        }        
      }

      .product__container {
        flex-direction: row;
      }

      .product__details-data {
        font-size: 1.25rem;
      }
    
      .product__stock-info-stock {
        font-size: 1.25rem;
      }
    
      .product__price {
        font-size: 1.75rem;
      }
    
      .product__price-old {
        font-size: 1.25rem;
      }
    
      .product__price-discount-qty {
        font-size: 1rem;
      }      

      .product__qty-buttons {
        flex-grow: 0;
      }
    
      .cart-button__container {
        flex-grow: 0;
      }     
    }
  }  
}

@media (max-width: 999px) {
  .cart-button__change-cart-button > .carts {
    padding: 0.4rem;
    & > .cart {
      width: 5rem;
      height: 4rem;
      & > .cart__cart-icon {
        width: 1.75rem;
      }
    }
  }
}

@media screen and (min-width: 60px) and (max-width: 999px) {
	a.product__info-youtube-button {
		 position: relative;
	}
	.centrado-disponible {
		 margin: 0px auto;
		 width: 100%;
		 grid-column-start: 1;
		 grid-column-end: 5;
		 display: flex;    
		 margin-left: 25%;		 
	}
	.product__header-search-button {
		margin-left: calc(100% - 26px);
		margin-top: -5px;    
	}
	
	.product__info-header{
	}  
	
	.products-container.grid {
		.product__info-header {
			align-items: center;
			position:absolute;
			margin-top: -30px;
			width: 175px;
		}
	}
	.product__stock-info-stock-send-warn {
		height: 33px;
		display: flex;
		align-items: center;
	}
	.product__agent-price-discounts {
		height: 20px;
	}
	.product__stock-info-warn {
		position: absolute;
		margin-left: 65px;
		margin-top: -11px;
		.product__stock-info-stock-send-warn {
			font-size: 1.1rem;    
		}
		& > .icon {
		  width: 1.1rem !important;
		  height: 1.1rem !important;
		}	
	}
	
	
	#product-modal-portal{
		.product__stock-info-warn {
			position: unset !important;
			margin:0px;
			z-index: 999;     
			.product__stock-info-stock-send-warn {
				font-size: 1.75rem;    
			}
			& > .icon {
			  width: 1.75rem !important;
			  height: 1.75rem !important;
			}	
		}
		
		a.product__stock-info-warn.controlavisame {
			position: relative;
		}		
		.avisame2{
		    justify-content: center;		
		}
	}
	.product-details-portal {
		.mobile-close-container {
			margin-bottom: 0rem;
			justify-content: flex-end;		  
		}
		.product__info-container {
		  gap: 5px;
		}
	}
	
	.product-details-modal{
		.product__info-container {
		  gap: 15px;
		}
		.product-details__title {
		  margin-bottom: 5px;
		}
		.product-features-list {
		  gap: 5px !important;
		}    
	}
	
	body.productos{
		.product__stock-info-warn {
			position: relative!important;
			margin-right: 0px;
			margin-top: -8px;
			.product__stock-info-stock-send-warn {
			  font-size: 1.5rem;    
			}
			 & > .icon {
				  width: 1.5rem !important;
				  height: 1.5rem !important;
			 }	
		}
	}
	.product__price-old {
		font-size: 1.3rem;
	}
	.product-details-portal {
		.product__price-old, .product__price-discount-qty, .product__agent-price {
		 font-size: 1.3rem;
		}
	}
	.products-container.grid {
	  .product__price-discount-qty, .product__price-old {
			font-size: 1.3rem;
	  }
	}
	.product-details-portal {
		.product__agent-price-uom {
		  display: flex;
		  gap: 10px;
		}
	}
	.products__header-input-actions-container__item.ver {
		display:none;
	}
	.product__price-discount-qty {
		font-size: 1.1rem;
	}
	.products-container.grid {
		.product__price-discount-qty, .product__price-old {
		  font-size: 1.3rem;
		}		
		 .product__price-old-container {
		  max-height: 23px;
		 }
		
	}

  .cart-button__change-cart-button > .carts {
    padding: 0.35rem;
    & > .cart {
      padding-block: 0.25rem;
      padding-inline: 0.25rem;
      width: 4.35rem;
      height: 3.5rem;
      & > .cart__cart-icon {
        width: 1.5rem;
      }
    }
  }
  .product-features-list{
	   flex-direction: column!important;
	   gap:15px!important;
  }
	.product-features__text {
        font-size: 20px!important;
        font-weight: 300!important;
   }  
	.product__details-data{
	  font-size: 15px!important;
	} 
	.product__details-data.env, .product__details-data.sku, span.disponible{
	  font-size: 15px!important;
	} 
	body.productos .product__details-data.env, body.productos .product__details-data.sku, body.productos span.disponible{
	  font-size: 17px!important;
	}
	span.disponible{
			font-weight: bold;
	}
	.product__details-data.ean{
	  font-size: 14px!important;
	} 
	
	.product-details-page .product__details-data, .product-details-modal .product__details-data{
	  font-size: 16px!important;
	}
	.product__stock-info-stock {
		font-size: 14px!important;
		overflow-wrap: break-word;               
		display: flex;
		gap: 3px;
	} 
	
	.product-details-page  .product__stock-info-stock, .product-details-modal .product__stock-info-stock{
		flex-direction: row;	
		font-size: 20px !important;   		 	
		gap: 4px;
	}   
	
	.product-details-page .product__agent-price-discounts-item, .product-details-modal .product__agent-price-discounts-item{
	  font-size: 20px !important;
	}    
	
	.product-details-page .product__agent-price {
	  font-size: 22px !important;
	}    
	.product__agent-price-discounts-item {
	  font-size: 16px!important;
	  white-space: nowrap;
	}  
	.product__agent-price {
	  font-size: 21px!important;
	}   
	.product__header-brand-image {
		max-width: 60px;
		max-height: 49px;  
	}
	.product__image-container {
	 height: 187px;
	}	
	.products-container.list {
	 .product__details-container {
		  column-gap: 0.25rem;
		  row-gap: 0.25rem;
		  width: 100%;
	 }
	 .product__stock-info-warn{
		 position: relative!important;
        margin-left: 0px;
        margin-top: 0px;	 	    
	 }
	 .product__image-container{
		 justify-content: space-evenly;
		min-width: 115px;
		max-height: 100px;		 
	 }
    a.product__info-youtube-button{
        margin: 0px;
        padding:0px;
		display: flex;        
    } 
	.product__chip {
		 min-height: 1.5rem;
		 padding-inline: 0.5rem;
	}    
    .product__info-youtube-button > .icon {
        width: 3rem;
        height: 1.5rem;
        margin: 0px;
        padding:0px;
    }	
	}	
	.product__info.list{
		.product__details-section{
		  flex-direction: column;
		}
	}
	ul.texto-format {
		font-size: 23px!important;
      font-weight: 500!important;
	}
		.product__chip.list {
		 width: min-content;
	}		
	.grupo_bots {
	 display: flex;
	  align-items: flex-start;	    
    width: 100%;		
	}
	.products-container.list {
		.product__header {
			flex-direction: column;
			gap: 0px;			 
		}
    .product__agent-price-uom {
      gap: 5px;
	    display: flex;
    }			
    .product__header-info {
        padding-top: 5px;
        align-items: flex-start;	 
    }
    
		.product__agent-price-discounts {
			height: auto;
			display: flex;
			align-items: center;		
		 }
 
	}	
	.products-container.list {
    & .product__header-search-button {
    	margin-left:0px;
        & > .icon {
            width: 1.5rem;
            
        }
    }
	}
	.product__header.list .grupo_bots {
		 flex-direction: row;
	    align-items: center;		 
	}

	.products-container.list .grupo_bots .product__info-youtube-button > .icon {
		 background-color: var(--color-error);
		 border-radius: 0.25rem;
		 width: 2.5rem;
		 height: 1.6rem;
	}
		
}
