.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.product-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    border-radius: 0;
    display: block;
}

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

.product-badges {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.product-badge,
.stock-badge {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(10px);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.product-badge.badge-sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.stock-badge {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.stock-badge.out-of-stock {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.product-content {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-body);
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.3;
    font-family: var(--font-display);
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-title a:hover {
    color: var(--color-primary);
}

.product-sku {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
    font-weight: 400;
}

.product-excerpt {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
    flex: 1;
}

.product-technology {
    margin-bottom: var(--space-3);
}

.tech-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-body);
}

.tech-badge.tech-sumo {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
}

.tech-badge.tech-clearfield {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.product-characteristics {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.product-characteristic {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 1px dotted #e5e7eb;
    font-size: 0.875rem;
}

.product-characteristic:last-child {
    border-bottom: none;
}

.product-characteristic strong {
    font-weight: 600;
    color: var(--text-primary);
}

.product-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid #e5e7eb;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-display);
}

.product-old-price {
    font-size: 1.25rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: var(--space-3);
    margin-top: auto;
}

.btn-quick-view,
.add-to-cart-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-quick-view {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid #e5e7eb;
}

.btn-quick-view:hover {
    background: var(--bg-tertiary);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--text-inverse);
    box-shadow: var(--shadow-primary);
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s;
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-primary);
}

.add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #9ca3af;
    box-shadow: none;
}

.add-to-cart-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-quick-view svg,
.add-to-cart-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .product-image {
        height: 240px;
    }
    
    .product-content {
        padding: var(--space-4);
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-quick-view,
    .add-to-cart-btn {
        width: 100%;
    }
}


