.products-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 0;
}

.search-section {
    background-color: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #dee2e6;
}

.search-box {
    position: relative;
}

.search-input {
    border: 2px solid #1e3a5f;
    border-radius: 25px;
    padding: 12px 50px 12px 20px;
    font-size: 16px;
    width: 100%;
}

.search-input:focus {
    outline: none;
    border-color: #F2672E;
    box-shadow: 0 0 0 0.25rem rgba(242, 103, 46, 0.25);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #F2672E;
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #d55428;
}

.filters-sidebar {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filter-section {
    margin-bottom: 30px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-title {
    color: #1e3a5f;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
}

.category-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #1e3a5f;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    width: 100%;
}

.category-btn:hover {
    border-color: #1e3a5f;
    background-color: #f8f9fa;
}

.category-btn.active {
    background-color: #1e3a5f;
    color: white;
    border-color: #1e3a5f;
}

.sort-section {
    margin-bottom: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 30px 0;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-placeholder {
    font-size: 3rem;
    color: #1e3a5f;
    opacity: 0.7;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #F2672E;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.product-content {
    padding: 20px;
}

.product-category {
    color: #6c757d;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #F2672E;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-primary-custom {
    background-color: #1e3a5f;
    border-color: #1e3a5f;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    flex: 1;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #2d5a87;
    border-color: #2d5a87;
    color: white;
}

.btn-outline-custom {
    border: 2px solid #F2672E;
    color: #F2672E;
    background: transparent;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: #F2672E;
    color: white;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #dee2e6;
}

.sort-dropdown {
    border: 1px solid #1e3a5f;
    border-radius: 5px;
    padding: 8px 15px;
    background: white;
    color: #1e3a5f;
    width: 100%;
}

.clear-filters-btn {
    background-color: #F2672E;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background-color: #d55428;
}

.products-section {
    padding: 30px 0;
}

.pagination-custom {
    margin-top: 40px;
}

.pagination-custom .page-link {
    color: #1e3a5f;
    border-color: #1e3a5f;
}

.pagination-custom .page-item.active .page-link {
    background-color: #1e3a5f;
    border-color: #1e3a5f;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .results-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .filters-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .category-filter {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .category-filter {
        grid-template-columns: 1fr;
    }
}
