/* Shop-specific Advanced Styles */

/* Product Card Enhancements */
.product-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.product-image-wrapper img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 2px 20px rgba(245, 158, 11, 0.8);
    }
}

.badge-new {
    background: linear-gradient(135deg, #10B981, #059669);
}

.badge-stock-low {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Product Quick Actions */
.product-quick-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transition: bottom 0.3s ease;
}

.product-card:hover .product-quick-actions {
    bottom: 0;
}

.quick-action-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: white;
    color: #0066CC;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.quick-action-btn:hover {
    background: #0066CC;
    color: white;
    transform: translateY(-2px);
}

.quick-action-btn.wishlist-toggle {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.quick-action-btn.wishlist-toggle:hover {
    background: white;
    color: #EF4444;
}

.quick-action-btn.wishlist-toggle.active {
    background: #EF4444;
    color: white;
    border-color: #EF4444;
}

/* Stock Status */
.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-status.in-stock {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.stock-status.low-stock {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
}

.stock-status.out-of-stock {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.stock-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Price Display */
.price-container {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0066CC;
}

.price-original {
    font-size: 1.25rem;
    color: #9CA3AF;
    text-decoration: line-through;
}

.price-discount {
    background: #EF4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}
