/* 
 * World-Class Premium Styles 
 * Professional UI/UX Enhancements
 */

:root {
    --premium-gradient: linear-gradient(135deg, #6f42c1 0%, #9b30ff 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --premium-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --premium-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Product Item Premium Hover */
.product-item {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0f0f0 !important;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--premium-shadow-hover) !important;
    border-color: #6f42c122 !important;
    z-index: 10;
}

.product-item .img-product {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.product-item:hover .img-product {
    transform: scale(1.06);
}

/* Glassmorphism Badges */
.product-item .img-product-container {
    position: relative !important;
    overflow: hidden !important;
}

.badge-discount, .free-shipping-bar, .coupon-bar, .bestseller-bar {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.free-shipping-bar, .coupon-bar, .bestseller-bar {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    text-align: center !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #fff !important;
    z-index: 5 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.free-shipping-bar {
    background: rgba(40, 167, 69, 0.85) !important;
}

.coupon-bar {
    background: rgba(255, 112, 0, 0.85) !important;
}

.bestseller-bar {
    background: rgba(111, 66, 193, 0.85) !important;
    color: #fff !important;
}

.bestseller-bar i {
    color: #fff !important;
}

/* Premium Button Styling */
.btn-item-add-to-cart {
    background: var(--premium-gradient) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.btn-item-add-to-cart:hover {
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.5);
    transform: scale(1.05);
}

/* Micro-animations */
@keyframes premium-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-running-out {
    display: inline-block;
    animation: premium-pulse 2s infinite ease-in-out;
}

/* Skeleton Loader Support (Base) */
.skeleton {
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

@keyframes shine {
    to { background-position-x: -200%; }
}

/* Floating Elements */
.sales-badge-circle {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 2px solid #fff;
}
