/*SLIDER PRODUCTO*/
#single-product-slider,
#single-product-slider > .elementor-shortcode,
#single-product-slider .swiper {
    height: 100%;
}

#single-product-slider .swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-next:after, 
.product-prev:after {
    content: none;
}
.product-next svg, 
.product-prev svg {
    width: 30px;
    filter: invert(1);
}

/*FIN SLIDER PRODUCTO*/

/*INGREDIENTES*/
.ingredientes-container {
    display: grid;
    justify-content: space-between;
    column-gap: 20px;
    grid-template-columns: 1fr 1fr;
}


li.ingrediente-list-item a:hover {
    text-decoration: underline;
}

.ingredientes-container > div:first-child  { 
   
}
.ingredientes-container > div:nth-child(n+2)  { 
  	border-left: solid 1px #000;;
    padding-left: 20px;
}

.ingredientes-container .ingredientes-list {
    
}

@media(max-width: 768px) {
	.ingredientes-container {
    grid-template-columns: 1fr;
	}
    .ingredientes-container .ingredientes-list {
        border-right: none;
        border-bottom: solid 1px #000;
        padding-bottom: 25px;
        margin-bottom: 20px;
    }
    .ingredientes-container > div:nth-child(n)  { 
        width: 100%; 
        padding-left: 0;

    }
	
	.ingredientes-container > div:nth-child(n+2){
		border:none;
	}
}

/*FIN INGREDIENTES*/

/*LOOP PRODUCTOS*/
@media(max-width: 1024px) {
	.loop-product-extra	{
		display: none !important;
	}
}
li.product { 
    overflow: hidden;
}
.loop-product-extra {
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: -50px;
    opacity: 0;
    transition: all 0.35s ease-in-out;
    background-color: #F3F3F3;
}

.product-extra-img {
    aspect-ratio: 0.75;
    transition: all 0.4s ease-in-out;
}

.product-extra-img img{
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

li.product:hover .loop-product-extra {
    opacity: 1;
    z-index: 10;
    bottom: 0;
}

li.product:hover .product-extra-img {
    aspect-ratio: 1;
}

.loop-extra-title-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loop-extra-title-cont > *:first-child {
    padding-right: 15px;
}

li.product .loop-product-extra .star-rating {
    display: block !important;
}

.product-extra-review {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li.product .loop-product-extra .product-rating {
    transform: translateY(3px);
}
li.product .loop-product-extra .product-reviews-count {
    color: #797979;
    font-size: 13px;
}
.product-extra-btns {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.loop-tags {
    position: absolute;
    z-index: 20;
    top: 5px;
    right: 3px;
}

li.product:hover .loop-tags {
    z-index: -1;
}

.loop-tags .loop-product-tag {
    text-transform: uppercase;
    padding: 0 3px;
    font-size: 9px;
    font-family: 'Suis 2';
}
li.product .price {
    text-align: right;
}
li.product span.onsale {
    display: none !important;
}

/*CARRITO*/
.widget-title {
    display: flex;
    justify-content: space-between;
}
#cart-sidebar .e-cart-section {
    padding: 0 !important;
    border: none;
}
#cart-sidebar .shop_table {
    border: none;
}
#cart-sidebar .cart_item {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

#cart-sidebar .cart_item .product-thumbnail {
    width: 30%;
    aspect-ratio: 0.85;
}

#cart-sidebar .cart_item .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#cart-sidebar .cart_item .mini-cart-product-details {
    width: 70%;
    position: relative;
    padding-left: 15px;
}

#cart-sidebar .cart_item p.product-remove {
    border-bottom: solid 1px #000;
    text-align: right;
    font-size: 5px;
}

#cart-sidebar .cart_item p.product-remove a.remove {
    display: inline;
}

#cart-sidebar .product-details-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#cart-sidebar button[name="update_cart"] {
    display: none;
}

#cart-sidebar .product-details-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#cart-sidebar .product-details-name a {
    padding-right: 15px;
    font-size: 14px;
    color: #000;
    font-family: "Suis 2", sans-serif;
    font-weight: bold;
    margin-right: auto;
}

#cart-sidebar .product-details-content .mini-cart-item-total {
    position: absolute;
    bottom: 3px;
    display: flex;
    flex-direction: column;
}

#cart-sidebar .product-details-content .mini-cart-item-total .amount {

    font-family: "Suis 2", sans-serif;
    font-weight: bold;
    font-size: 14px;
 }

#cart-sidebar .product-details-content .mini-cart-item-total a {
    margin-top: 10px;
    background-color: #fff;
    color: #000;
    border-radius: 0;
    border: solid 1px #000;
}

#cart-sidebar .mini-cart-quantity {
    display: flex;
    align-items: center;
}

#cart-sidebar input.qty {
    text-align: center;
    width: 36px;
    padding: 0px 0px 0 11px;
    border: none;
    font-size: 13px;
}


.mini-cart-quantity-btn {
    display: block;
    cursor: pointer;
    padding: 0 5px;
}

#cart-sidebar .cart-subtotal,
#cart-sidebar .cart_totals h2 {
    display: none;
}

#cart-sidebar .order-total td .amount,
#cart-sidebar .order-total td:before  {
    color: #000;
    text-transform: uppercase;
}

#cart-sidebar .order-total td {
    padding: 0;
}

#cart-sidebar .checkout-button {
    text-transform: uppercase;
    color: #000;
    background-color: #fff;
    border-radius: 0;
    border: solid 1px #000;
}

.woocommerce-best-sellers h3 {
    border-bottom: solid 1px #000;
}

.woocommerce-best-sellers {
    padding-top: 20px;
    padding-bottom: 20px;
}

#cart-sidebar {
    top: 0;
    display: block !important;
    z-index: -1;
}

#cart-sidebar .woocommerce-notices-wrapper,
body.page-id-10  .woocommerce-notices-wrapper {
    display: none !important;
}

#cart-sidebar .elementor-element-0d87622 {
    transform: translateX(100%);
    transition: all 0.4s ease-in-out;
}

#cart-sidebar.cart-open .elementor-element-0d87622 {
    transform: translateX(0);
    overflow: auto !important;
    height: 100%;
}

#cart-sidebar .wc-empty-cart-message {
	display: block !important;
}

#cart-sidebar .wc-empty-cart-message > div {
	margin-top: 10px;
	border: none;
	background: transparent;
	color: #000;
}
#cart-sidebar .wc-empty-cart-message .woocommerce-info:before {
	color: #000;
}

/*Ingredientes*/
.ingrediente-next {
    position: absolute;
    top: 17px;
    right: -5px;
}
.ingrediente-prev {
    position: absolute;
    top: 17px;
    right: 20px;
    left: initial;
}

.ingrediente-next svg,
.ingrediente-prev svg {
    transform: scale(1.2);
}

.ingrediente-next:after, 
.ingrediente-prev:after {
    content: none;
}

.single-product .woocommerce-notices-wrapper {
    display: none !important;
}

.added_to_cart.wc-forward {
    display: none !important;
}

/*Producto variable*/


/*Iniciar sesión*/
body.logged-in .menu-item-90 {
    display: none !important;
}

/*Mi cuenta*/
body.logged-in .menu-item-1739 {
    display: block !important;
}

/*Iniciar sesión*/
body:not(.logged-in) .menu-item-90 {
    display: block !important;
}
/*Mi cuenta*/
body:not(.logged-in) .menu-item-1739 {
    display: none !important;
}

body.page-id-11 #cart-sidebar {
    display: none !important;
}

/*NUEVO CARRITO*/
.majc-toggle-button {
    display: none;
}

.majc-sub-header {
    display: none;
}