/* Custom Font */

.ap5-product-footer-pack-container .swiper-slide {
	margin-bottom: 0;
}
.ap5-product-footer-pack-container .wishlist-button-add {
	display: none;
}

.ap5-product-footer-pack-container .swiper-slide + .swiper-slide .product-miniature:before {
    content: "\e147";
    font-family: Material Icons, Arial, sans-serif;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    line-height: 1.2;
    text-align: center;
    left: -9px;
    box-shadow: 0px 0px 6px 0px #075b22;
    background: white;
    color: #2cb458;
}

@media (max-width: 379px) {
    .ap5-product-footer-pack-container .products {
        --item-count: 2!important;
    }
}
@media (min-width: 380px) and (max-width: 479px) {
    .ap5-product-footer-pack-container .products {
        --item-count: 3!important;
    }
}
@media (max-width: 479px) {
	.ap5-product-footer-pack-container .product-pack-actions-container {
		width: 100%;
	}
}
@media (min-width: 668px) and (max-width: 767px) {
    .ap5-product-footer-pack-container .products {
        --item-count: 4!important;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .ap5-product-footer-pack-container .products {
        --item-count: 3!important;
    }
	.ap5-product-footer-pack-container .product-pack-actions-container {
		width: 100%;
	}
}
@media (min-width: 992px) and (max-width: 1149px) {
    .ap5-product-footer-pack-container .products {
        --item-count: 2!important;
    }
}
@media (min-width: 1150px) and (max-width: 1249px) {
    .ap5-product-footer-pack-container .products {
        --item-count: 3!important;
    }
}
@media (min-width: 1250px) and (max-width: 1399px) {
    .ap5-product-footer-pack-container .products {
        --item-count: 4!important;
    }
}

/* hide packes with insuficient product stock */
#ap5-page-product-box:has(.ap5-product-footer-pack-container:only-child :is(.out-of-stock, .product__add-to-cart__container .btn.pe-none)),
.ap5-product-footer-pack-container:has(.out-of-stock, .product__add-to-cart__container .btn.pe-none) {
    display: none !important;
}
