/* Advanced Product Card Styling */

.advanced-card {
    
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
}

.advanced-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Image Section */
.image-holder {
    position: relative;
    height: 500px;
    background:white;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.advanced-card:hover .product-image {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advanced-card:hover .image-overlay {
    opacity: 1;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #0a0a0a;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: #ffd700;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #ffd700, #cd7f32)!important;
    color: #0   a0a0a;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Content */
.product-content {
    padding: 20px;
   
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.category-tag {
    background: #FFFFFf;
    color: goldenrod;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-stars i {
    color: #ffd700;
    font-size: 12px;
}   

.rating-count {
    color: black;
    font-size: 11px;
    margin-left: 5px;
}

/* Product Title */
.product-title {
    margin: 15px 0;
}

.product-title a {
    color:  black;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: floralwhite;
}

/* Price Section */
.price-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.current-price {
    color:lawngreen ;
    font-size: 18px;
    font-weight: bold;
}

.original-price {
    color: black;
    font-size: 14px;
    text-decoration: line-through;
}

.discount-badge {
    background: linear-gradient(45deg, #ff4757, #ff3742);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

/* Add to Cart Button */
.btn-add-cart {
    width: 100%;
    background: black;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(45deg, #cd7f32, #ffd700);
}

.btn-add-cart i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .advanced-card {
        margin-bottom: 20px;
    }
    
    .image-holder {
        height: 220px;
    }
    
    .product-content {
        padding: 15px;

    }
    
    .quick-actions {
        gap: 10px;
    }
    
    .action-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Animation for card entrance */
@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.swiper-slide {
    animation: cardSlideIn 0.6s ease-out;
}