.catalog-products {
    padding: 2.5rem 0 5rem
}
.catalog-products__container {
    display: grid;
    grid-template-columns: 17.5rem 1fr;
    gap: 2.5rem;
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 0 1.25rem 4.25rem
}
.catalog-products__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.875rem;
    flex-wrap: wrap;
    gap: .9375rem
}
.catalog-products__count {
    font-size: 1rem;
    color: #666
}
.catalog-products__count span {
    font-weight: 600;
    color: #000
}
.catalog-products__sort {
    padding: .625rem .9375rem;
    border: .0625rem solid #ddd;
    border-radius: .5rem;
    font-size: .875rem;
    cursor: pointer;
    background: #fff;
    transition: border-color .3s
}
.catalog-products__sort:hover {
    border-color: #007bff
}
.catalog-products__sort:focus {
    outline: 0;
    border-color: #007bff;
    box-shadow: 0 0 0 .1875rem rgba(0, 123, 255, .1)
}
.catalog-products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
    gap: 1.5625rem
}
.catalog-products__loading {
    grid-column: 1/-1;
    text-align: center;
    padding: 3.75rem 1.25rem;
    font-size: 1.125rem;
    color: #666
}
.catalog-products__empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 3.75rem 1.25rem;
    font-size: 1.125rem;
    color: #666;
    background: #f8f9fa;
    border-radius: .75rem
}
.catalog-products__error {
    grid-column: 1/-1;
    text-align: center;
    padding: 3.75rem 1.25rem;
    font-size: 1.125rem;
    color: #dc3545;
    background: #fff5f5;
    border-radius: .75rem;
    border: .0625rem solid #fdd
}
.filters {
    background: #fff;
    padding: 1.5625rem;
    border-radius: .75rem;
    box-shadow: 0 .125rem .75rem rgba(0, 0, 0, .08);
    position: sticky;
    top: 1.25rem;
    max-height: calc(100vh - 7.5rem);
    overflow-y: auto
}
.filters__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    padding-bottom: .9375rem;
    border-bottom: .125rem solid #f0f0f0
}
.filters__group {
    margin-bottom: 1.5625rem
}
.filters__subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .75rem;
    color: #333
}
.filters__items {
    display: flex;
    flex-direction: column;
    gap: .625rem
}
.filters__checkbox {
    display: flex;
    align-items: center;
    gap: .625rem;
    cursor: pointer;
    font-size: .875rem;
    user-select: none
}
.filters__checkbox input[type=checkbox] {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: rgb(193, 39, 45)
}
.filters__checkbox:hover {
    color: #c1272d
}
.filters__price {
    display: flex;
    flex-direction: column;
    gap: .625rem
}
.filters__input {
    padding: .625rem .75rem;
    border: .0625rem solid #ddd;
    border-radius: .5rem;
    font-size: .875rem;
    transition: border-color .3s
}
.filters__input:focus {
    outline: 0;
    border-color: #007bff;
    box-shadow: 0 0 0 .1875rem rgba(0, 123, 255, .1)
}
.filters__input::placeholder {
    color: #999
}
.filters__apply {
    padding: .625rem .9375rem;
    background: #c1272d;
    color: #fff;
    border: none;
    border-radius: .5rem;
    font-size: .875rem;
    cursor: pointer;
    transition: background .3s
}
.filters__apply:hover {
    background: #a81d22
}
.filters__apply:active {
    transform: scale(.98)
}
.filters__reset {
    width: 100%;
    padding: .75rem;
    background: #f8f9fa;
    color: #666;
    border: .0625rem solid #ddd;
    border-radius: .5rem;
    font-size: .875rem;
    cursor: pointer;
    transition: .3s;
    margin-top: 1.25rem
}
.filters__reset:hover {
    background: #e9ecef;
    color: #333
}
.added_to_cart {
    width: 100%;
    padding: .75rem;
    background: #f8f9fa;
    color: #666;
    border: .0625rem solid #ddd;
    border-radius: .5rem;
    font-size: .875rem;
    cursor: pointer;
    transition: .3s;
    margin-top: 1rem;
    text-align: center
}
.added_to_cart:hover {
    background: #e9ecef;
    color: #333
}
.product-card {
    background: #fff;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 .125rem .75rem rgba(0, 0, 0, .08);
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column
}
.product-card:hover {
    transform: translateY(-.3125rem);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .12)
}
.product-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
    transition: opacity .3s
}
.product-card__link:hover {
    opacity: .95
}
.product-card__actions {
    padding: 0 .9375rem .9375rem
}
.product-card__image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #f8f9fa;
    overflow: hidden
}
.product-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: .9375rem;
    transition: transform .3s
}
.product-card__image:hover img {
    transform: scale(1.05)
}
.product-card__badge {
    position: absolute;
    top: .75rem;
    right: .75rem;
    padding: .375rem .75rem;
    border-radius: .375rem;
    font-size: .75rem;
    font-weight: 600;
    z-index: 1
}
.product-card__badge--preorder {
    background: #ffc107;
    color: #000
}
.product-card__badge--few {
    background: #ff6b6b;
    color: #fff
}
.product-card__content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1
}
.product-card__brand {
    font-size: 13px;
    color: #c1272d;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: .5rem;
    letter-spacing: .03125rem
}
.product-card__title {
    z-index: 2;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .75rem;
    line-height: 1.4;
    display: block;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}
.product-card:hover .product-card__title {
    display: -webkit-box
}
.product-card__specs {
    font-size: .8125rem;
    color: #666;
    margin-bottom: .9375rem;
    line-height: 1.5
}
.product-card__footer {
    padding-top: .9375rem;
    border-top: .0625rem solid #f0f0f0
}
.product-card__price-block {
    margin-bottom: .9375rem
}
.product-card__price {
    font-size: 23px;
    font-weight: 700;
    color: #000;
    margin-bottom: .3125rem
}
.product-card__stock {
    font-size: 14px;
    font-weight: 500
}
.product-card__stock.available {
    color: #28a745
}
.product-card__stock.unavailable {
    color: #ff6b6b
}
.button.add_to_cart_button,
.product-card__add-btn {
    width: 100%;
    padding: .75rem 1.25rem;
    background: #c1272d;
    color: #fff;
    border: none;
    border-radius: .5rem;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem
}
.button.add_to_cart_button:hover,
.product-card__add-btn:hover {
    background: #a81d22;
    transform: translateY(-.125rem);
    box-shadow: 0 .25rem .75rem rgba(168, 29, 34, .3)
}
.button.add_to_cart_button:active,
.product-card__add-btn:active {
    transform: translateY(0)
}
.product-card__request-btn {
    width: 100%;
    padding: .75rem 1.25rem;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: .5rem;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center
}
.product-card__request-btn:hover {
    background: #5a6268
}
.toast-notification {
    position: fixed;
    bottom: -6.25rem;
    right: 1.875rem;
    background: #28a745;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .2);
    font-size: .9375rem;
    font-weight: 500;
    z-index: 10000;
    transition: bottom .3s
}
.toast-notification.show {
    bottom: 1.875rem
}
@media (max-width:61.99875rem) {
    .catalog-products__container {
        grid-template-columns: 1fr;
        gap: 1.875rem
    }
    .filters {
        position: static;
        max-height: none
    }
}
@media (max-width:47.99875rem) {
    .catalog-products__grid {
        grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
        gap: 1.25rem
    }
    .toast-notification {
        right: 1.25rem;
        left: 1.25rem;
        text-align: center
    }
}
@media (max-width:29.99875rem) {
    .catalog-products__grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-card__price {
        font-size: 18px;
    }
}