#cart-cont {
    display: flex;
    flex-direction: column;
    z-index: 1001;
    right: 0;
    top: 0;
    position: fixed;
    background-color: white;
    display: flex;
    height: 100%;
    transform: translateX(400px);
    transition: 0.4s ease;
    overflow: hidden;
    width: 100vw;
    max-width: 400px;
}

#cart-badge, #cart-badgem {
    text-align: center;
    position: absolute;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 12px;
    background-color: #BB251A;
    color: white;
    left: 18px;
    font-size: 0.8em;
    top: -7px;
}

#cart-list {
    flex: 1;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.cart-list > div {
    position: relative;
    border-bottom: 1px solid #E4E7EC;
    padding: 15px 10px 10px 10px;
    background-color: #fff;
    transition: all 0.4s;
}

.cart-list2 > div{
    border-bottom: 0px solid #E4E7EC;
    border-top: 1px solid #E4E7EC;
}



.cart-list .disponibles {
    font-weight: 400;
    display: inline-block;
    margin: 5px 0;
    color: black;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 0.75em;
}

.cart-list .image {
	width: 50px;
	min-height: 50px;
	border: none;
	cursor: pointer;
	align-self: flex-start;
}

.cart-list .titulo {
    color: #222;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 600;
}

.desborde{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ajustable {
 /* Ajusta el ancho máximo según tus necesidades */
    white-space: normal; /* Permite que el texto haga saltos de línea */
    word-wrap: break-word; /* Fuerza el salto de línea si es necesario */
    text-align: left; /* Opcional: Alineación del texto */
}

.fixed-size {
    width: 150px; /* Ajusta al ancho deseado */
    display: flex; /* Usa flexbox para alinear contenido */
    flex-direction: column; /* Organiza elementos en columna */
    justify-content: center; /* Centra verticalmente el contenido */
    align-items: center; /* Centra horizontalmente el contenido */
    text-align: center; /* Opcional: centra el texto */
}



.eliminar-prodct {
    background-color: transparent;
    font-family: "Poppins", sans-serif;
    color: #1c58b7;
    font-weight: 500;
    font-size: 1.1em; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    cursor: pointer;
  }

.texto-imagen-container {
  display: flex; /* Activa el diseño flexbox */
  align-items: center; /* Alinea verticalmente los elementos */
  gap: 16px; /* Espacio entre la imagen y el texto */


  width: 350px; /* Fija el ancho del contenedor */
  height: auto; /* Permite que la altura se ajuste según el contenido */
  white-space: normal; /* Permite que el texto haga saltos de línea */
  word-wrap: break-word; /* Fuerza el salto de línea si una palabra es demasiado larga */
  overflow: hidden; /* Oculta cualquier contenido adicional si es necesario */
  text-align: left; /* Alineación opcional del texto */
  box-sizing: border-box; /* Incluye el padding en el ancho total */
}

/* Estilo para la imagen */
.texto-imagen-container .image {
  flex-shrink: 0; /* Evita que la imagen se reduzca de tamaño */
  max-width: 100px; /* Ancho máximo de la imagen */
  height: auto; /* Ajusta la altura proporcionalmente */
}

/* Estilo para el texto */
.texto-imagen-container .ajustable {
  flex: 1; /* Permite que el texto ocupe el espacio restante */
  text-align: left; /* Alineación del texto */
}


.cart-list .antes {
    text-decoration: line-through;
}   

.cart-list .descuento {
    padding-right: 8px;
    color: #039855;
}

.cart-list .borrar {
    text-align: right;
    width: 35px;
}

.cart-list .borrar > div {
    display: inline-block;
    line-height: 27px;
    width: 27px;
    text-align: center;
    height: 27px;
    background-color: #f2f2f2;
    border-radius: 3px;
    cursor: pointer;
}


.cart-list .cantidad {
    border-radius: 25px;
    border: 1px solid #98A2B3;
    display: flex;
    justify-content: center;
    padding: 0 5px;
    max-width: 100px;
}

.cart-list .cantidad-checkout {
    display: flex;
    width: 150px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

.cart-list .cantidad > div img {
    width: 16px;
    height:16px;
}
.cart-list .cantidad > div {
    text-align: center;
    font-size: 0;
    padding: 5px;
}

.cart-list .cantidad input {
    width: 35px;
    border: none;
    text-align: center;
    font-size: 1.1em;
    margin: 0 4px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.cart-list .precio {
    text-align: right;
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
} 

.cart-list .info {
    padding: 6px;
    font-size: 0.8em;
    background: #f7ebeb;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #fab9b9;
}
.cart-list .info.verde {
    background: #e2ffe1 !important;
    border: 1px solid #b9fac6 !important;
}

.cart-list .cart-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.cart-list .cart-row-desktop {
    display: grid;
    grid-template-columns: 46% 20% 20% 14%;
    padding: 10px;
    font-weight: bold;
 
}

 .cart-title-row  {

    display: grid;
    grid-template-columns:50.5% 20% 16% 13%;  /* Ajusta el ancho de las columnas */
    padding: 10px;
    font-weight: bold;
 
}

.cart-list .cart-row-desktop-checkout {
    display: grid;
    grid-template-columns:55% 23% 22%;
    padding: 10px;
    font-weight: bold;
 
}

.cart-title-row-checkout{

    display: grid;
    grid-template-columns:59% 23% 18%; /* Ajusta el ancho de las columnas */
    padding: 10px;
    font-weight: bold;
 

}


.oculto {
visibility: hidden; /* Oculta el contenido pero mantiene el espacio */
}

.titulo-columna-carrito{
    color: var(--gray-700101828, #101828);
/* Text-md/Medium */
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 150% */
}

.cart-section {
    margin: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-section h4 {
    margin: 0;
}

.circulo-negro {
    border: none;
    border-radius: 30px;
    background: transparent;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.agregado {
    display: block;
    background: #e1ff9b;
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #9bc737;
    color: #5a6700;
}


.deshacer {
    background: #da4d61;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.time {
    display: inline-block;
    width: 12px;
    text-align: center;
}

.cart-list .empty-cart {
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 30px !important;
    box-sizing: border-box;
    justify-content: center;
    border-bottom: none;
}

@media (max-width: 800px) {

    .ajustable{
        display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 60%;
    }

    .cart-list2 > div:first-child {
        border-top: none; /* Eliminar el borde superior solo del primer elemento */
    }

.cart-list .cantidad-checkout {
    flex-direction:unset;
 

    color: var(--gray-700101828, #101828);
    text-align: center;
    /* Text-xs/Medium */
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
}
}

