.products__container {
    margin: 0 auto;
    padding: 0 15px;
}


.products__titles {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.products__category {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.products__category-img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}


.products__category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.products__category-img img:hover {
    transform: scale(1.1);
}

.products__category-name {
    padding: 16px 20px 20px;
    color: var(--Black, #16170C);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
}

.products__btn-mobile {
    display: none;
}

@media (width < 1200px) {
    .products-home {
        padding: 40px 0 40px 0;
    }

    .search-input {
        padding: 23px 0;
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }


}

@media (width < 768px) {
    .products-home {
        padding: 20px 0 0 0;
    }

    .catalog__title {
        font-size: 40px;
        font-style: normal;
        font-weight: 600;
        line-height: 100%;
        margin-bottom: 24px;
        letter-spacing: -0.64px;
    }

    .products__grid {
        margin-top: 20px;
        gap: 8px;
    }

    .products__btn-mobile {
        display: block;
        text-align: center;
        margin-top: 20px;
    }

    .products__btn-desktop {
        display: none;
    }

    .products__category {
        gap: 12px;
    }

    .products__category-name {
        padding: 12px 14px 16px;
        color: var(--Black, #16170C);
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 100%;
        /* 16px */
        letter-spacing: -0.32px;
    }

    .products__subcategory-link {
        color: var(--Black, #16170C);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 120%;
        /* 16.8px */
        letter-spacing: -0.14px;
    }
}

/* --- */

.product__stock-info {
	margin-top: 12px;
	font-size: 15px;
	font-weight: 600;
	color: #93764c;
}

.product__marketplaces {
	display: flex;
	gap: 12px;
	margin-top: 18px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.product__marketplace {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 12px;
	text-decoration: none;
	background: #f4f4f4;
	transition: .2s;
}

.product__marketplace:hover {
	transform: translateY(-2px);
}

.product__marketplace span {
	color: #16170C;
	font-size: 14px;
	font-weight: 600;
}
