/* ===========================================
   PRODUCT CARD - Probachi S.A.
   Dynamic product card styles
   =========================================== */

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 71, 171, 0.4);
    border-color: var(--primary-yellow);
    z-index: 10;
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: radial-gradient(circle at center, #2a2a2a 0%, #111 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(3deg);
    filter: drop-shadow(0 20px 30px rgba(0, 71, 171, 0.6));
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: var(--gradient-accent);
    color: var(--dark-bg);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.product-card:hover .quick-view-btn {
    transform: translateY(0);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-rating {
    color: var(--primary-yellow);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
}

.add-to-cart-btn {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-blue);
}

.cart-notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: var(--gradient-accent);
    color: var(--dark-bg);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
}