/* ===== PRODUCT CARD SPECS ===== */
.product-card-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.75rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.product-card-spec-row {
    display: grid;
    grid-template-columns: 7.25rem 1fr;
    column-gap: 10px;
    align-items: baseline;
    line-height: 1.4;
}

.product-card-spec-label {
    color: #334155;
    font-weight: 600;
}

.product-card-spec-value {
    color: #0f172a;
    font-weight: 700;
    min-width: 0;
    word-break: break-word;
}

@media (max-width: 575.98px) {
    .product-card-spec-row {
        grid-template-columns: 6.5rem 1fr;
        column-gap: 8px;
    }
}

/* ===== PRODUCT CARDS - MINIMAL OVERRIDES ===== */
/* This file contains minimal overrides for product cards */

/* Ensure consistent card sizing */
.product-col {
    display: flex;
}

.product-card {
    width: 100%;
}

/* Hover effects */
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Badge positioning */
.badge-featured,
.badge-used {
    position: absolute;
    top: 6px;
    padding: 3px 6px;
    font-size: 0.7rem;
    z-index: 10;
}

.badge-featured {
    left: 6px;
}

.badge-used {
    right: 6px;
}

/* ===== ADD TO CART BUTTON ===== */
.add-to-cart-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #495057;
    transition: all 200ms ease;
    flex-shrink: 0;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #e5002b 0%, #ff3d5a 100%);
    border-color: #e5002b;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(229, 0, 43, 0.3);
}

.add-to-cart-btn:active {
    transform: scale(0.95);
}

.add-to-cart-btn i {
    font-size: 1.1rem;
    line-height: 1;
}

/* In Cart State */
.add-to-cart-btn.in-cart {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-color: #059669;
    color: white;
}

.add-to-cart-btn.in-cart:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* Loading State */
.add-to-cart-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.add-to-cart-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Action Buttons Container */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
    .add-to-cart-btn {
        width: 32px;
        height: 32px;
    }
    
    .add-to-cart-btn i {
        font-size: 1rem;
    }
    
    .action-buttons {
        gap: 4px;
    }
}