/*Modal Quick View*/
.tf-product-info-buy-button {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between elements */
}

.wishlist-wrapper {
    display: flex;
    justify-content: center;
}

.tf-product-btn-wishlist {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ddd;
    position: relative;
    transition: all 0.3s ease;
}

.tf-product-btn-wishlist:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

.tf-product-btn-wishlist .icon {
    font-size: 18px;
    color: #666;
}

.tf-product-btn-wishlist.active .icon-heart {
    color: #ff0000; /* Red heart when active */
}

.tf-product-btn-wishlist .tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.tf-product-btn-wishlist:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Ensure the close icon is not affected */
.header .icon-close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.header .icon-close-popup:hover {
    color: #333;
}
/*Modal Quick View*/


/* Toast notification styling */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
    animation: fadeIn 0.3s, fadeOut 0.3s 2.7s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}



/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
    .tf-grid-layout.wrapper-shop.tf-col-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .tf-grid-layout.wrapper-shop.tf-col-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tf-grid-layout.wrapper-shop.tf-col-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    /* Fix product grid for small mobile */
    .tf-grid-layout.wrapper-shop.tf-col-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 767px){
    .collection-item-v4.style-2 .collection-image{
        height:150px;
    }
}

