.products-section.section-padding {
    padding: 40px 0 60px;
}

.filters-section {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.results-count {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.results-count strong {
    color: #333;
    font-weight: 600;
}

.sort-options {
    display: flex;
    justify-content: flex-end;
}

.sort-options .form-select {
    min-width: 200px;
    padding: 10px 40px 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sort-options .form-select:hover {
    border-color: #e91e63;
}

.sort-options .form-select:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.products-grid--sale {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.products-grid--sale .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-grid--sale .product-card__media {
    flex-shrink: 0;
}

.products-grid--sale .product-card__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 12px;
}

.products-grid--sale .product-card__name {
    margin-bottom: 10px;
    min-height: 40px;
}

.products-grid--sale .product-card__price {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    min-height: 48px;
}

.products-grid--sale .product-card__price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.products-grid--sale .product-card__price-row--tiers {
    margin-top: 2px;
}

.products-grid--sale .product-card__price-current {
    font-size: 16px;
    font-weight: 700;
    color: #e91e63;
    white-space: nowrap;
}

.products-grid--sale .product-card__price-old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    white-space: nowrap;
}

.products-grid--sale .product-card__price-tiers {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.products-grid--sale .product-card__add-cart {
    margin-top: auto;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    padding: 30px 0;
}

.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination__link:hover:not(.pagination__link--disabled) {
    background: #f8f9fa;
    border-color: #e91e63;
    color: #e91e63;
}

.pagination__link--active {
    background: #e91e63;
    border-color: #e91e63;
    color: #fff;
}

.pagination__link--disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination__info {
    font-size: 0.9rem;
    color: #666;
    margin: 0 16px;
    white-space: nowrap;
}

.empty-state {
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.empty-state-text {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .filters-section .row {
        flex-direction: column;
        gap: 15px;
    }
    
    .filters-section .col-md-6 {
        width: 100%;
    }
    
    .results-count {
        text-align: center;
    }
    
    .sort-options {
        justify-content: center;
    }
    
    .sort-options .form-select {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 767px) {
    .products-section.section-padding {
        padding: 30px 0 40px;
    }
    
    .products-grid--sale {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .products-grid--sale .product-card__content {
        padding: 10px;
    }
    
    .products-grid--sale .product-card__name {
        font-size: 0.9rem;
        min-height: 36px;
    }
    
    .products-grid--sale .product-card__price {
        min-height: 44px;
        gap: 5px;
    }
    
    .products-grid--sale .product-card__price-current {
        font-size: 15px;
    }
    
    .products-grid--sale .product-card__price-old {
        font-size: 12px;
    }
    
    .products-grid--sale .product-card__price-tiers {
        font-size: 11px;
    }
    
    .sort-options .form-select {
        min-width: unset;
        font-size: 0.9rem;
        padding: 8px 36px 8px 12px;
    }
    
    .pagination {
        gap: 6px;
        margin-top: 40px;
        padding: 25px 0;
    }
    
    .pagination__link {
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 0.85rem;
    }
    
    .pagination__info {
        font-size: 0.85rem;
        margin: 0 10px;
    }
}

@media (max-width: 575px) {
    .products-grid--sale {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .products-grid--sale .product-card__content {
        padding: 8px;
    }
    
    .products-grid--sale .product-card__name {
        font-size: 0.85rem;
        min-height: 32px;
        margin-bottom: 8px;
    }
    
    .products-grid--sale .product-card__price {
        min-height: 40px;
        gap: 4px;
        margin-bottom: 10px;
    }
    
    .products-grid--sale .product-card__price-current {
        font-size: 14px;
    }
    
    .products-grid--sale .product-card__price-old {
        font-size: 11px;
    }
    
    .products-grid--sale .product-card__price-tiers {
        font-size: 10px;
    }
    
    .empty-state {
        padding: 40px 15px;
    }
    
    .empty-state-icon {
        font-size: 3rem;
    }
    
    .empty-state-title {
        font-size: 1.25rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 30px;
        padding: 20px 10px;
    }
    
    .pagination__link {
        min-width: 32px;
        height: 32px;
        padding: 0 10px;
        font-size: 0.8rem;
    }
    
    .pagination__info {
        font-size: 0.8rem;
        margin: 0 8px;
        width: 100%;
        text-align: center;
        order: -1;
        margin-bottom: 10px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .pagination {
        gap: 7px;
        margin-top: 45px;
        padding: 28px 0;
    }
    
    .pagination__link {
        min-width: 38px;
        height: 38px;
        padding: 0 14px;
        font-size: 0.88rem;
    }
    
    .pagination__info {
        font-size: 0.88rem;
        margin: 0 12px;
    }
}

@supports (-webkit-touch-callout: none) {
    .sort-options .form-select {
        padding-top: 11px;
        padding-bottom: 11px;
        -webkit-appearance: none;
    }
    
    .products-grid--sale .product-card__price-row {
        -webkit-font-smoothing: antialiased;
    }
    
    .products-grid--sale .product-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .pagination__link {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        -webkit-touch-callout: none;
    }
    
    .pagination {
        -webkit-overflow-scrolling: touch;
    }
}

