.product-categories-top {
	display: flex;
	justify-content: flex-start;
}
.product-categories-top .product-category {
	flex: auto;
}
.product-categories-carousel .product-category {
	padding-left: 16px;
	padding-right: 16px;
}
.product-categories-carousel .product-category .title {
	white-space: nowrap;
}
.product-categories-wrapper {
	display: grid;
	grid-gap: 30px;
}
.product-categories__item {
	background-color: #fff;
	border-radius: 15px;
}
.product-categories-wrapper.--grid-2 {
	grid-template-columns: repeat(2, 1fr);
}
.product-categories-wrapper.--grid-3 {
	grid-template-columns: repeat(3, 1fr);
}
.product-categories-wrapper.--grid-4 {
	grid-template-columns: repeat(4, 1fr);
}
.product-categories-wrapper.--grid-5 {
	grid-template-columns: repeat(5, 1fr);
}
.product-categories-wrapper.--grid-6 {
	grid-template-columns: repeat(6, 1fr);
}
.partial-product--product-name {
	font-size: 18px;
	line-height: 1.3;
	margin-top: 16px;
	text-align: center;
	padding: 0 6px;
}
.partial-product--product-subtitle {
	margin-top: 12px;
	font-weight: 400;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
	margin-bottom: 0;
}
.partial-product.--block {
	display: block;
	padding-top: 16px;
}

.product-categories-block .owl-nav:not(.disabled):before {
	pointer-events: none;
	display: none;
}
.product-categories-block .owl-nav:not(.disabled):after {
	pointer-events: none;
	display: none;
}
.product-categories-block .owl-nav .owl-prev {
	height: 100%;
	top: auto;
	bottom: 100%;
}
.product-categories-block .owl-nav .owl-next {
	height: 100%;
	top: auto;
	bottom: 100%;
}
.product-categories-block .owl-nav .owl-prev:before {
	position: absolute;
    display: block;
    top: 0;
    left: -10px;
    height: 100%;
    width: 100px;
    content: "";
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0, rgba(128, 128, 128, .32) 100%);
    z-index: 1;
}
.product-categories-block .owl-nav .owl-next:before {
	position: absolute;
    display: block;
    top: 0;
    right: -10px;
    height: 100%;
    width: 100px;
    content: "";
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(128, 128, 128, .32) 100%);
    z-index: 1;
}
.product-categories-block .owl-nav .owl-prev.disabled, .product-categories-block .owl-nav .owl-next.disabled {
	display: none;
}
body:not(.home) .product-categories-carousel .product-category .title {
	white-space: normal;
}
body:not(.home) .product-categories-block .product-category {
	justify-content: flex-start;
}
header#header #mega-menu>ul {
	max-height: calc(100vh - 98px);
	overflow: auto;
	flex-wrap: nowrap;
}
header#header #mega-menu>ul>.nav-item>ul {
	max-height: 400px;
}
@media (max-width: 1699px) {
	.home .product-categories-block .product-category .title {
		font-size: 22px;
	}
	body:not(.home) .product-categories-carousel .product-category .title {
		font-size: 18px;
		line-height: 1.6;
	}
}
@media (max-width: 1365px) {
	.product-categories-wrapper.--grid-6 {
		grid-template-columns: repeat(5, 1fr);
	}
	.product-categories-top {
		overflow: auto;
	}
	.product-categories-top .product-category {
		padding-left: 12px;
		padding-right: 12px;
	}
}
@media (max-width: 1100px) {
	.product-categories-wrapper.--grid-5 {
		grid-template-columns: repeat(4, 1fr);
	}
	.product-categories-wrapper.--grid-6 {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (max-width: 900px) {
	.product-categories-wrapper.--grid-4 {
		grid-template-columns: repeat(3, 1fr);
	}
	.product-categories-wrapper.--grid-5 {
		grid-template-columns: repeat(3, 1fr);
	}
	.product-categories-wrapper.--grid-6 {
		grid-template-columns: repeat(3, 1fr);
	}
	.home .product-categories-block .product-category .title {
		font-size: 16px;
		white-space: nowrap;
	}
}
@media (max-width: 767px) {
    body.home .product-categories-block {
        background-color: #fff !important;
    }
	.product-categories-block-2 {
		overflow: hidden;
	}
	.product-categories-block-2 .row {
		display: block;
	}
	.product-categories-wrapper {
		grid-gap: 10px;
	}
	.product-categories-wrapper .partial-product {
		padding-top: 6px;
		padding-bottom: 10px;
		border-radius: 15px;
	}
	.product-categories-wrapper .partial-product--picto-wrapper {
		height: 60px;
		margin-bottom: 10px;
	}
	.product-categories-wrapper .partial-product--picto-wrapper .picto{
		max-width: 60px;
		max-height: 60px;
	}
	.partial-product--product-name {
		font-size: 16px;
		line-height: 1.125;
		margin-top: 5px;
	}
	.partial-product--product-subtitle {
		margin-top: 4px;
	}
	.hero-header-block {
		display: none;
	}
	header#header #mega-menu>ul {
		height: calc(100dvh - 175px);
    	overflow: auto;
    	flex-wrap: nowrap;
    	padding: 20px 0 30px;
	}
	header#header #mega-menu {
		padding-top: 45px;
		padding-bottom: 110px;
	}
	body.has-overlay {
		overflow: hidden !important;
	}
}