/**
 * Enhanced Product Card Styles
 * Premium visual design with smooth interactions
 */

/* Premium Card Base */
.auction-card.general-art.premium-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.auction-card.general-art.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Image Overlay Effect */
.auction-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.auction-card-img-wrap .card-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.auction-card.general-art.premium-card:hover .card-img img {
    transform: scale(1.1);
}

/* Search Icon Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auction-card.general-art.premium-card:hover .image-overlay {
    opacity: 1;
}

.overlay-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.overlay-icon i {
    font-size: 28px;
    color: #1a1a1a;
}

.auction-card.general-art.premium-card:hover .overlay-icon {
    transform: scale(1);
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 2;
}

.wishlist-btn i {
    font-size: 20px;
    color: #e74c3c;
    transition: transform 0.3s ease;
}

.wishlist-btn:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

.wishlist-btn:hover i {
    color: #fff;
    transform: scale(1.2);
}

/* Art Medium Badge */
.art-medium-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.art-medium-badge i {
    font-size: 16px;
    color: #1a1a1a;
}

.art-medium-badge span {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
}

/* Card Content Enhancements */
.auction-card-content {
    padding: 20px;
}

/* Meta Info (Dimensions & Year) */
.card-meta-info {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.card-meta-info .dimension,
.card-meta-info .year {
    font-size: 12px;
    color: #171717;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.card-meta-info i {
    font-size: 14px;
    color: #171717;
}

/* Title Styling */
.auction-card-content h6 {
    margin-bottom: 12px;
    line-height: 1.5;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.auction-card-content h6 a {
    color: #171717;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s ease;
}

.auction-card-content h6 a:hover {
    color: #d4af37;
}

/* Artist Info */
.artist-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}

.artist-info i {
    font-size: 16px;
    color: #171717;
}

.artist-info span {
    font-size: 13px;
    color: #595959;
    font-weight: 500;
}

/* Enquiry Button Enhancement */
.bid-btn.btn-hover {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #171717 0%, #2a2a2a 100%);
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(23, 23, 23, 0.3);
}

.bid-btn.btn-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.bid-btn.btn-hover:hover::before {
    left: 0;
}

.bid-btn.btn-hover:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.bid-btn.btn-hover i {
    font-size: 18px;
    transition: transform 0.3s ease;
    font-weight: bold;
    color: #ffffff !important;
}

.bid-btn.btn-hover:hover i {
    transform: translateX(4px);
    color: #ffffff !important;
}

/* View All Button Enhancement */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #171717;
    color: #171717 !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.view-all-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
    font-weight: bold;
    color: #171717 !important;
}

.view-all-btn:hover {
    background: #171717;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 23, 23, 0.4);
}

.view-all-btn:hover i {
    transform: translateX(4px);
    color: #ffffff !important;
}

/* Slider Navigation Buttons */
.slider-btn-grp {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.slider-btn i {
    font-size: 24px;
    color: #1a1a1a;
}

.slider-btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover i {
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .auction-card-img-wrap .card-img img {
        height: 280px;
    }
    
    .art-medium-badge {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .card-meta-info {
        gap: 10px;
    }
    
    .card-meta-info .dimension,
    .card-meta-info .year {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.auction-card.general-art.premium-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
