/* Modern minimalist styling for product list page */
.btn-dark {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    font-weight: 400;
    transition: all 0.2s ease;
    border-radius: 6px;
    font-size: 0.9rem;
}

.btn-dark:hover {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
}

.btn-outline-dark {
    background-color: transparent;
    border-color: #e0e0e0;
    color: #333333;
    font-weight: 400;
    transition: all 0.2s ease;
    border-radius: 6px;
    font-size: 0.9rem;
}

.btn-outline-dark:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    box-shadow: none;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.product-card .card-body {
    padding: 1.25rem;
}

/* Clean product image styling */
.product-card .card-img-top {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    background-color: #fafafa;
    padding: 20px;
    border: none;
    transition: all 0.3s ease;
}

.product-card:hover .card-img-top {
    background-color: #f5f5f5;
}

.card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.card-text {
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.price {
    font-weight: 600;
    color: #000000;
    font-size: 1.1rem;
}

.compare-price {
    text-decoration: line-through;
    color: #999999;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.badge.bg-success {
    background-color: #00c851 !important;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
}

.badge.bg-danger {
    background-color: #ff4444 !important;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
}

/* Filter card styling */
.card {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    box-shadow: none;
}

.card-body {
    padding: 1.5rem;
}

/* Modern filter bar styling */
.filter-bar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.filter-form {
    margin: 0;
}

.filter-group {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.filter-item {
    position: relative;
}

.form-control, .form-select {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: #fafafa;
}

.form-control:focus, .form-select:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
    background-color: white;
}

.form-control::placeholder {
    color: #999999;
    font-weight: 400;
}

.form-select {
    cursor: pointer;
    background-color: #fafafa;
}

.form-select:hover {
    background-color: white;
    border-color: #cccccc;
}

/* Responsive filter bar */
@media (max-width: 768px) {
    .filter-group {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .filter-bar {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .form-control, .form-select {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Pagination styling */
.page-link {
    color: #333333;
    border-color: #e0e0e0;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0 2px;
    border: 1px solid #e0e0e0;
}

.page-link:hover {
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
}

.page-item.active .page-link {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

/* Empty state styling */
.py-5 {
    padding: 3rem 0;
}

.fa-4x {
    color: #cccccc !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .product-card .card-body {
        padding: 1rem;
    }
    
    .product-card .card-img-top {
        height: 240px;
        padding: 15px;
    }
    
    .card-title {
        font-size: 0.95rem;
    }
    
    .card-text {
        font-size: 0.8rem;
    }
    
    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .product-card .card-img-top {
        height: 200px;
        padding: 12px;
    }
    
    .product-card .card-body {
        padding: 0.875rem;
    }
}

/* Clean grid spacing */
.row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* Typography improvements */
.display-4 {
    font-weight: 600;
    color: #333333;
}

.lead {
    color: #666666;
    font-weight: 400;
}

/* Clean button group spacing */
.d-grid.gap-2 {
    gap: 0.5rem !important;
}

.btn-sm {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 400;
}

/* Price and stock section */
.d-flex.justify-content-between.align-items-center {
    margin-bottom: 1rem;
} 