.displayed-category {
    text-align: center !important;
}

body {
	overflow-x: hidden;
}

body main div.about-us {
    margin-left: -3% !important;
    margin-right: -3% !important;
    max-width: 106% !important;
}

.custom-engagements {
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
    width: 100vw !important;
    background-color: var(--wp--preset--color--background-light-gray) !important;
}

.custom-engagements {
    min-width: 226px;
}

body main .custom-engagements p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 226px;
    text-align: center;
}

body main .engagement > div {
    display: flex;
    flex-direction: column;
}

body main .wc-block-featured-category .wc-block-featured-category__title {
    text-align: center;
}

body main .displayed-category:hover {
    position: relative;
    overflow: hidden;
}

body main .displayed-category:hover span{
    opacity: 100%;
    z-index: 999;
    color: var(--wp--preset--color--font-primary);
}

body main .displayed-category {
    position: relative;
    overflow: hidden;
}

body main .displayed-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background-color 0.5s ease-in-out;
    z-index: 1;
}

body main .displayed-category:hover::before {
    background-color: var(--wp--preset--color--background-secondary);
    opacity: 30%;
}

body main .custom-categories {
    display: flex;
    width: 100%;
    height: 80vh;
    justify-content: space-between;
    gap: 40px;
}

body main .custom-categories .left-block {
    width: 50%;
    height: 100%;
    position: relative;
    display: block;
}

body main .custom-categories .left-block div {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

body main .custom-categories .right-block {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

body main .custom-categories .right-section {
    width: 100%;
    height: 50%;
    position: relative;
    display: block;
}

body main .custom-categories .right-section .right-images {
    display: flex;
    height: 100%;
}

body main .custom-categories .right-section .right-images div {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body main .custom-categories span {
    color: var(--wp--preset--color--font-primary);
    font-size: 5rem !important;
    font-weight: bold;
    text-align: center;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
}

body main .custom-categories .left-block span {
    bottom: 5%;
}

body main .custom-categories .right-block span {
    bottom: 10%;
}

.instagram-carousel {
    display: flex;
    overflow-x: auto;
    gap: 10px;
}

.instagram-post {
    flex: 0 0 auto;
    width: 200px; /* Largeur des posts */
    border-radius: 10px;
    overflow: hidden;
}

.instagram-post img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ccc;
}

.join-us * {
    border: none !important;
}

body main .homepage-custom-light-gray-button {
    background-color: var(--wp--preset--color--background-light-gray) !important;
    border: none !important;
}

body main .homepage-custom-light-gray-button a.wp-element-button {
    color: var(--wp--preset--color--font-secondary) !important;
    text-decoration: none;
    background-color: var(--wp--preset--color--background-light-gray) !important;
}

body .custom-join-us div:hover {
    border: none !important;
}

body .custom-products-grid, .wp-block-template-part > ul.custom-products-grid {
    grid-template-columns: repeat(4, minmax(270px, 1fr)) !important;
}
