/* Custom CSS for WLR Laptops */

:root {
    --primary-blue: #2563eb;
    --hover-blue: #1d4ed8;
}

/* Smooth transitions */
.listing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Badge styles */
.badge-featured {
    background-color: #fbbf24;
    color: #78350f;
}

.badge-new {
    background-color: #10b981;
    color: white;
}

.badge-sold {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Spec item styling */
.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.spec-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-blue);
}

/* Listing description with text truncation */
.listing-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em; /* 2 lines * 1.4 line-height */
}
/* Simple Reviews Scrollbar Styling */
#simple-reviews::-webkit-scrollbar {
    height: 8px;
}

#simple-reviews::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 4px;
}

#simple-reviews::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 4px;
}

#simple-reviews::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Firefox scrollbar styling */
#simple-reviews {
    scrollbar-width: thin;
    scrollbar-color: #6b7280 #374151;
}