/* Cart Override Styles */

/* List View for Products */
.product-category.list-style .products-list {
    display: block;
}

.product-category.list-style .products-list > div {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.product-category.list-style .product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: auto;
}

.product-category.list-style .product-thumb {
    width: 30%;
    flex: 0 0 30%;
}

.product-category.list-style .product-info {
    width: 70%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #eee;
}

.product-category.list-style .product-image-wrapper {
    padding-bottom: 100%;
    height: 100%;
}

.product-category.list-style .info-top {
    padding-bottom: 15px;
}

.product-category.list-style .product-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-category.list-style .product-info:after {
    content: '';
    display: table;
    clear: both;
}

/* Add more cart overrides here */

/* Cart Notification */
.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 15px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.cart-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.cart-notification-content {
    display: flex;
    align-items: center;
}

.cart-notification-icon {
    width: 40px;
    height: 40px;
    background: #f1f8eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #66cc33;
    margin-right: 15px;
}

.cart-notification-text {
    color: #333;
}

.cart-notification-text strong {
    display: block;
    font-weight: 600;
}

.cart-notification-text span {
    color: #999;
    font-size: 14px;
}

/* Quick Cart Action */
.add-to-cart-btn.adding,
.add-to-cart-btn.added {
    pointer-events: none;
}

/* Mobile Styling */
@media (max-width: 767px) {
    .product-category.list-style .product-card {
        flex-direction: column;
    }
    
    .product-category.list-style .product-thumb,
    .product-category.list-style .product-info {
        width: 100%;
    }
    
    .product-category.list-style .product-info {
        border-left: none;
        border-top: 1px solid #eee;
    }
} 

/* Add CSS for the cart notifications */
#cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    background-color: #eaf7ee;
    border-left: 4px solid #4caf50;
    color: #2e7735;
}

.notification.error {
    background-color: #feeceb;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.notification.info {
    background-color: #e8f4fd;
    border-left: 4px solid #2196f3;
    color: #0d47a1;
}

/* Improve latest products section responsiveness */
.product-tab .products-list.biolife-carousel .product-item {
    transition: all 0.3s ease;
}

.product-tab .products-list.biolife-carousel .product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-tab .products-list.biolife-carousel .product-thumnail {
    overflow: hidden;
}

.product-tab .products-list.biolife-carousel .product-thumnail img {
    transition: transform 0.5s ease;
}

.product-tab .products-list.biolife-carousel .product-thumnail:hover img {
    transform: scale(1.05);
}

.group-buttons {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .group-buttons {
    opacity: 1;
}

@media (max-width: 767px) {
    #cart-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        text-align: center;
    }
    
    .group-buttons {
        opacity: 1;
    }
} 