@charset "utf-8";

/*---------------------------------------------*/
/*-------------- MENU CATEGORIE ---------------*/
/*---------------------------------------------*/

.main-sous-menu {
width: 100%;
background-color: #ffffff;
padding-top: 80px;
}

.menu-categorie {
position: relative;
display: flex;
align-items: center;
width: 100%;
padding: 8px;
box-sizing: border-box;
border-bottom: 1px solid #cccccc;
background-color: #ffffff;
}

/*  -------------------------------------  MENU CATEGORIE - Piste  */

.menu-categorie-piste {
display: flex;
align-items: flex-start;
justify-content: space-around;
gap: 12px;
width: 100%;
overflow-x: hidden;
scroll-behavior: smooth;
scroll-snap-type: x mandatory;
scrollbar-width: none;
}

.menu-categorie-piste::-webkit-scrollbar {
display: none;
}

/*  -------------------------------------  MENU CATEGORIE - Item  */

.menu-categorie-item {
display: flex;
flex: 1 1 0;
flex-direction: column;
align-items: center;
justify-content: flex-start;
min-width: 0;
text-align: center;
text-decoration: none;
color: var(--typo-anthracite);
scroll-snap-align: start;
}

.menu-categorie-item img {
display: block;
width: 30px;
height: 30px;
margin-bottom: 4px;
object-fit: contain;
transition: transform 0.25s ease;
}

.menu-categorie-item span {
font-size: 12px;
font-weight: 400;
line-height: 1.3;
white-space: nowrap;
color: var(--typo-anthracite-clair);
transition: color 0.25s ease;
}

.menu-categorie-item:hover img {
transform: rotate(-8deg);
}

.menu-categorie-item:hover span,
.menu-categorie-item.active span {
color: var(--theme-bronze);
}

/*  -------------------------------------  MENU CATEGORIE - Flèches  */

.menu-categorie-fleche {
display: none;
position: absolute;
top: 0;
width: 40px;
height: 100%;
padding: 0;
border: none;
background-color: #ffffff;
background-repeat: no-repeat;
background-position: center;
background-size: 11px auto;
cursor: pointer;
z-index: 10;
}

.menu-categorie-fleche-gauche {
left: 0;
border-right: 1px solid #d6d6d6;
background-image: url("../images/fleche-precedent-menu-gris.jpg");
}

.menu-categorie-fleche-gauche:hover {
background-image: url("../images/fleche-precedent-menu-bronze.jpg");
}

.menu-categorie-fleche-droite {
right: 0;
border-left: 1px solid #d6d6d6;
background-image: url("../images/fleche-suivant-menu-gris.jpg");
}

.menu-categorie-fleche-droite:hover {
background-image: url("../images/fleche-suivant-menu-bronze.jpg");
}

/*  -------------------------------------  MENU CATEGORIE - Plus de 6 items  */

.menu-categorie-defilant {
padding-right: 48px;
padding-left: 48px;
}

.menu-categorie-defilant .menu-categorie-piste {
justify-content: flex-start;
overflow-x: auto;
}

.menu-categorie-defilant .menu-categorie-item {
flex: 0 0 calc((100% - 60px) / 7);
min-width: calc((100% - 60px) / 7);
}

.menu-categorie-defilant .menu-categorie-fleche {
display: block;
}

@media screen and (max-width: 1250px) {
.menu-categorie {
padding-right: 48px;
padding-left: 48px;
}

.menu-categorie-piste {
justify-content: flex-start;
overflow-x: auto;
}

.menu-categorie-item,
.menu-categorie-defilant .menu-categorie-item {
flex: 0 0 calc((100% - 48px) / 6);
min-width: calc((100% - 48px) / 6);
}

.menu-categorie-fleche {
display: block;
}
}

@media screen and (max-width: 1100px) {
.menu-categorie-item,
.menu-categorie-defilant .menu-categorie-item {
flex: 0 0 calc((100% - 36px) / 5);
min-width: calc((100% - 36px) / 5);
}
}

@media screen and (max-width: 900px) {
.menu-categorie-item,
.menu-categorie-defilant .menu-categorie-item {
flex: 0 0 calc((100% - 24px) / 4);
min-width: calc((100% - 24px) / 4);
}
}

@media screen and (max-width: 700px) {
.menu-categorie {
padding-right: 42px;
padding-left: 42px;
}

.menu-categorie-piste {
gap: 10px;
}

.menu-categorie-item,
.menu-categorie-defilant .menu-categorie-item {
flex: 0 0 calc((100% - 10px) / 3);
min-width: calc((100% - 10px) / 3);
}

.menu-categorie-item img {
width: 31px;
height: 31px;

}

.menu-categorie-item span {
font-size: 12px;
}

.menu-categorie-fleche {
width: 34px;
background-size: 9px auto;
}
}