:root {
    --border-radius: 0px;
    --bacground-popups: #ebeaea;
}

/*lateral cart*/
.lateral-popup {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -480px;
    max-width: 100%;
    width: 480px;
    height: 100vh;
    background-color: var(--bacground-popups);
    padding: 15px;
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.1);
    transition: right 300ms ease-in-out;
    overflow: scroll;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
        padding-right: 10px;
}
.lateral-popup.open {
    transition: right 300ms ease-in-out;
    right: 0;
}

section.lateral-popup .no-account {
    padding: 10px 0px 15px;
}

.lateral-popup::-webkit-scrollbar {
    display: none;
}

/*mod ecomm*/
.lateral-popup .close-popup {
    float: right;
    height: 20px;
    width: 20px;
    cursor: pointer;
    margin: 5px 10px 0px 10px;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10;
    background-color: #f44336;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: white;
}

.lateral-popup .close-popup:hover {
    background-color: #d32f2f;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.lateral-popup .close-popup:before {
    content: '';
    border-bottom: 2px solid #fff;
    width: 15px;
    display: inline-block;
    transform: rotate(45deg);
    margin-bottom: 0;
}

.lateral-popup .close-popup:after {
    content: '';
    border-bottom: 2px solid #fff;
    width: 15px;
    display: inline-block;
    transform: rotate(-45deg);
    margin-left: -15px;
    cursor: pointer;
}

.cart-lateral-popup a.btn.btn-primary {
    border-radius: 5px;
    border: none;
    background: #D93333;
    color: white;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-lateral-popup a.btn.btn-primary:hover {
    background: #BF2D2D;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.cart-lateral-popup a.btn.btn-primary:active {
    background: #A32626;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}
/*end mod ecomm*/
.lateral-popup .title-popup {
    display: block;
    clear: both;
    font-size: 20px;
    color: black;
    padding-bottom: 9px;
    border-bottom: 1px solid #d8d8d8;
    margin-bottom: 15px;
}

.lateral-popup .cart-bottom {
    margin-top: 10px;
    text-align: left;
    box-shadow: 0 0 1px #ffffff, 4px 0 12px rgba(109, 32, 119, .12);
    background: white;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    width: calc(100% - 30px);
    bottom: 15px;
}
.lateral-popup .cart-bottom .buy {
    margin-top: 15px;
    display: flex;
    flex-wrap: nowrap;
    margin: 15px -5px 0px;
}

.lateral-popup .cart-bottom .buy > * {
    margin: 0px 5px;
    width: 50%;
    font-size: 14px;
}

/*.lateral-popup a.shopping-buy {
    text-transform: uppercase;
    border: 1px solid black;
    padding: 8px 80px;
}*/

.lateral-popup .product-image {
    width: 100%;
    margin-right: 10px;
    max-width: 95px;
}

.lateral-popup .product-image img {
    width: 100%;
}
.lateral-popup .name_price_cart {
    width: 100%;
    padding-top: 0px;
    text-align: left;
    padding-right: 0px;
    display: flex;
    flex-wrap: wrap;
}

.lateral-popup .quantity-controls {
    margin-top: 7px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 11px;
        width: 100%;
}

.lateral-popup .quantity-controls .quantity .quantity {
    display: inline-block;
    width: 20px;
    text-align: center;
}

.lateral-popup .quantity-controls .quantity button {
    padding: 0px 10px;
    background: none;
    line-height: 40px;
}

.lateral-popup .quantity-controls > .quantity {
    border: 1px solid #cbcbcb;
    height: fit-content;
    border-radius: var(--border-radius);
}
button#submit-login {
    width: 100%;
}
.product-name {
    display: block;
    font-weight: bold;
    font-size: 15px;
    width: 100%;
}
.myaccountlateral {
    padding-right: 5px;
}
.lateral-popup .attributes_content {
    font-size: 13px;
    width: 60%;
    display: flex;
    gap: 5px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.price_controls {
    width: 40%;
    display: flex;
    flex-wrap: wrap;
}


.myaccountlateral .inp {
    max-width: 100%;

}
button#submit-login {
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
    border: none;
}

/*mod ecomm*/
button#submit-login:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

button#submit-login:active {
    background: #A32626;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
    color: white;
}
/*end mod ecomm*/

.lateral-popup .remove_product_cart .icon-trash:before {
    font-family: 'Material Icons';
    content: "\e872";
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
}
.lateral-popup .product-price {
    display: block;
    padding-top: 0px;
    text-align: right;
        width: 100%;
}
.lateral-popup span.price {
    font-size:18px;
    font-weight: 600;
    color: black;
}

.lateral-popup .oldprice {
    text-decoration: line-through;
    color: gray;
    font-size: 13px;
    
}

.lateral-popup .product-item.animate {
    animation-name: parpadeo;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: 2;
    -webkit-animation-name: parpadeo;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: 2;
}

.lateral-popup .product-item {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: white;
    margin-bottom: 15px;
    padding: 10px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0 0 1px #ffffff, 0px 0 12px rgba(109, 32, 119, .12);
}
.lateral-popup .cart-bottom .desglose > * {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 16px;
}



.lateral-popup .cart-bottom .desglose .total .value, .lateral-popup .cart-bottom .desglose .total .name {
    font-weight: 600;

}
.overlay-lateral-popup {
    background: #ffffff00;
    position: fixed;
    z-index: 50;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s linear;
}
body.openLateralPopup .overlay-lateral-popup {
    background: #00000047;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s linear;
}
/*end lateral cart*/
/*block customer signin*/
.myaccountlateral .modal_item > *{
    display: block;
}

.myaccountlateral .modal_item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow:0 0 1px #ffffff, 0px 0 12px rgba(109, 32, 119, .12);
}
a.close_session {
    background: white;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    display: block;
    box-shadow:0 0 1px #ffffff, 0px 0 12px rgba(109, 32, 119, .12);
}
.myaccountlateral .modal_item .item {
    font-size: 14px;
    margin-bottom: 5px;
}

.myaccountlateral .modal_item .item i {
    display: inline-block;
}
.myaccountlateral .close_session {
    font-size: 14px;

}

.myaccountlateral .close_session i {
    font-size: 18px;
    vertical-align: middle;
    margin-right: 5px;
    display: inline-block;
}

.myaccountlateral .modal_item .title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.myaccountlateral .modal_item .item i:before {
    font-size: 20px;
    height: 25px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}
.empty_cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.empty_cart span:nth-child(2) {
    font-weight: bold;
    font-size: 23px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.empty_cart span:nth-child(3) {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.freeshipping_content_text.alert.alert-success span:after {
    content: "";
    background: url(../../../assets/img/theme/shipping.svg);
    width: 24px;
    height: 24px;
    display: block;
        background-size: 100%;
}

.freeshipping_content_text span {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: center;
}
span.value_attr {
    border-radius: var(--border-radius);
    padding: 5px;
    background: var(--bacground-popups);
    padding: .25rem .5rem;
    color: var(--color3);
    line-height: normal;
}
.freeshipping_content_text.alert.alert-success span {
    font-size: 14px;
}
.container_products {
    max-height: calc(100% - 234px);
    height: 100vh;
    overflow-y: auto;
    padding-right: 5px;
}
.container_products.free_shipping_active  {
    max-height: calc(100% - 319px);
}
.container_products::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.container_products::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

/* Handle */
.container_products::-webkit-scrollbar-thumb {
  background: #888;
}

.lateral-popup .product-item:last-child {
    margin-bottom: 0px;
}
.freeshipping_content_text.alert.alert-success {
    padding: 10px 16px;
    text-align: center;
}

@media(max-width:460px) {
	.lateral-popup .attributes_content {
    	width: 100%;
	}
	.price_controls {
    	width: 100%;
 	}
 	.price_controls {
   	 	width: 100%;
    	display: flex;
    	flex-wrap: nowrap;
    	align-items: center;
	}
	.lateral-popup .oldprice {
    	display: block;
	}
	.lateral-popup .product-price {
    	width: auto;
	}
	.lateral-popup .quantity-controls {
 		gap: 5px;
    }
    .remove_product_cart img {
    	max-width: 20px;
	}
	.lateral-popup .quantity-controls {
		margin-top:0px;
	}
	.price_controls {
 		margin-top: 10px;
	}
}

@media (max-width: 365px) {
    .price_controls {
        flex-direction: column;
    }
    .lateral-popup .quantity-controls {
        justify-content: center;
    }

    .lateral-popup .cart-bottom .buy > * {
        margin: 0px 3px;
        width: 50%;
        font-size: 13px;
        padding: 0;
    }
}

.buy .btn.btn-secondary {
    border-radius: 5px;
    border: 0;
}
.buy .btn.btn-secondary:hover {
    border: none;
}