.container {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.main {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;

    padding: 0 60px;
}

.category-selector {
    width: 100%;
    
    border-radius: 5px;
    
    background: #f2f3f7;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    
    padding: 10px;

    overflow-x: auto;
    
    scroll-snap-type: x mandatory;
}

.category-selector::-webkit-scrollbar {
    background-color: transparent;
}

.category-selector::-webkit-scrollbar-thumb {
    border: 5px solid #f2f3f7;
    border-radius: 10px;
    
    background-color: #ffffff;
}

.category-selector::-webkit-scrollbar-button {
    display: none;
}

.category-link {
    border-radius: 5px;

    background: #f2f3f7;

    padding: 5px 10px;

    white-space: nowrap;

    scroll-snap-align: center;
    /* scroll-snap-stop: always; */
}

.active-category-link {
    color: #ffffff;
    background: #1c242d;
}

.category-products {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.category-product {
    width: calc(25% - 15px);

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-product-image {
    width: 100%;

    position: relative;
}

.category-product-image > span {
    border-radius: 5px;

    color: #ffffff;
    background: #c81508;

    font-size: 14px;

    position: absolute;

    top: 10px;
    left: 10px;

    padding: 5px 10px;

    text-transform: uppercase;
}

.category-product-image > img {
    width: 100%;
    height: calc(((100vw - 120px) / 4) - 15px);
    
    border-radius: 5px;

    object-fit: cover;
}

.category-product-details {
    width: 100%;
    
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.category-product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.category-product-name {
    font-size: 18px;
    font-weight: bold;
}

.category-product-price {
    font-size: 14px;
}

.add-to-cart-btn {
    background: #1c242d;
}

.remove-from-cart-btn {
    background: var(--successColor);
}

.category-product-add-to-cart-btn {
    border-radius: 5px;

    color: #ffffff;
    
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    cursor: pointer;
}

.category-product-remove-from-cart-btn {
    border-radius: 5px;

    color: #ffffff;
    
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    cursor: pointer;
}

@media only screen and (max-width: 1100px) {
    #filters-form {
        flex-direction: column;
        align-items: flex-start;
    }

    #filters-form > div {
        width: 100%;
    }
}

@media only screen and (max-width: 900px) {
    .main {
        padding: 0 20px;
    }

    .category-product {
        width: calc(50% - 10px);
    }

    .category-product-image > span {
        font-size: 12px
    }

    .category-product-image > img {
        height: calc(((100vw - 40px) / 2) - 10px);
    }

    .category-product-name {
        font-size: 16px;
    }
}

@media only screen and (max-width: 700px) {
    .category-product-image > span {
        font-size: 14px
    }

    .category-product-name {
        font-size: 18px;
    }
}