.section_bg-blue-white {
    background: -webkit-gradient(linear,left bottom,left top,from(#fff),to(#e8eef2));
    background: linear-gradient(1turn,#fff calc(50% + 10px/2),#e8eef2 calc(50% + 10px/2));
}


.shop-catalog-page{
    background: #e8eef2;
}




.shop-container {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0px;
}

.header-cat{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.header-cat {
    padding: 20px;
    margin-bottom: 20px;
}

.header-cat h1 {
    font-size: 28px;
    color: #000;
    margin-bottom: 15px;
}

.sort-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
#posts_per_page{
    width: 50px;
}

.sort-filter > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-filter strong {
    color: #333;
    font-weight: 600;
}

.sort-filter select {
    padding: 6px 10px;
    border: 1px solid #2196F3;
    border-radius: 6px;
    background-color: #fff;
    color: #2196F3;
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%232196F3' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 10px 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.sort-filter select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.3);
}


h1 {
    font-size: 24px;
    margin-bottom: 10px;
}
.price-filter {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.price-filter .filter-title {
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.price-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    transition: border-color 0.3s;
}

.price-input:focus {
    outline: none;
    border-color: #3498db;
}

.price-separator {
    color: #7f8c8d;
    font-weight: 500;
}

.range-slider {
    position: relative;
    height: 6px;
    margin-bottom: 25px;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    pointer-events: none;
    z-index: 2;
}

.filter-content{
    padding: 10px;
    background: #fff;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3498db;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    -webkit-appearance: none;
    cursor: pointer;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    overflow: hidden;
}

.slider-progress {
    position: absolute;
    height: 100%;
    background: #3498db;
    left: 0%;
    right: 0%;
}

.products-section {
    width: 70%;
    margin-left: 15px;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-card {
    flex: 0 0 calc(33.3333% - 20px);
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.product-image, .product-title, .product-price {
    cursor: pointer;

}
.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    background-color: #fff;
    height: 200px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    position: relative;
}

.product-image img{
    height: 100%;
    width: auto;
    display: block;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #2196F3;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.product-title {
    font-weight: bold;
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-price {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.current-price {
    font-weight: bold;
    font-size: 18px;
    color: #2196F3;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 15px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    flex-grow: 1;
    text-align: center;
}

.btn-cart {
    background-color: #f0f0f0;
    color: #333;
}

.btn-buy {
    background-color: #2196F3;
    color: white;
}

.quantity {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    justify-content: center;
}

.quantity button {
    display: flex;
    justify-content: center;
    width: 30px;
    height: 30px;
    align-items: center;
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.quantity input {
    width: 50px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 5px;
}

.availability {
    margin-bottom: 10px;
    font-size: 14px;
    color: #2196F3;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}


.pagination a {
    background: #fff;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #2196F3;
    text-decoration: none;
    color: #2196F3;;
    border-radius: 4px;
}

.page-numbers.current {
    padding: 8px 16px;
    margin: 0 4px;
    text-decoration: none;
    border-radius: 4px;
    display: block;
    background-color: #2196F3;
    color: white;
    border-color: #2196F3;
}

@media (max-width: 1024px) {
    .filter-section {
        width: 30%;
    }

    .products-section {
        width: 70%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .filter-section {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .products-section {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sort-filter {
        margin-top: 15px;
        width: 100%;
        justify-content: space-between;
    }
}

.sort-filter{
    display: none;
    gap: 30px;
}

.filter-section{
    width: 24%;
}

.shop-category__content{

    width: 100%;
    padding: 50px;
    background: #fff;
    margin-top: 50px;
    box-shadow:  0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);;
}


/* Форма заявки */
