/** CUSTOM **/

#header {
    isolation: isolate;
    z-index: 999;
}

.space-x-2 > :not(:last-child) {
    --tw-space-x-reverse: 0;
    margin-inline-start: calc(calc(0.5rem) * var(--tw-space-x-reverse));
    margin-inline-end: calc(calc(0.5rem) * calc(1 - var(--tw-space-x-reverse)));
}

.burger-menu {
    display: block;
}

@media (min-width: 768px) {
    .burger-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    #header .header-top .header_logo img.logo {
        width: 100px;
    }
}

#header .header-top .header_logo img.logo {
    width: 200px;
}

#header .burger-menu i {
    color: white;
}

#header .header-nav {
    background: #1E090A !important;
    border-bottom: 1px solid rgb(255, 255, 255, 0.2);
}

#cpheadercms1 .contact-link, #header #_desktop_user_info span, #header .currency-selector .expand-more, #header .language-selector .expand-more {
    color: white !important;
}


/********************************************************
          Coderplace Custom Styles
********************************************************/
.tm-carousel {
    display: none;
    position: relative;
    float: left;
    width: 100%;
    margin: 0;
}

.cp-carousel {
    display: none;
    position: relative;
    float: left;
    width: 100%;
    margin: 0;
}

.owl-carousel .owl-wrapper {
    display: none;
    position: relative;
    -webkit-transform: translate3d(0px, 0px, 0px);
    -ms-transform: translate3d(0px, 0px, 0px);
    -o-transform: translate3d(0px, 0px, 0px);
    -moz-transform: translate3d(0px, 0px, 0px);
    display: flex !important;
    flex-wrap: wrap;
}

.owl-carousel .owl-wrapper:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.owl-carousel .owl-wrapper-outer {
    overflow-x: clip;
    position: relative;
    float: left;
    width: 100%;
    padding: 0 0 0px 0;
}

.owl-carousel .owl-wrapper-outer.autoHeight {
    -webkit-transition: height 500ms ease-in-out;
    -moz-transition: height 500ms ease-in-out;
    -ms-transition: height 500ms ease-in-out;
    -o-transition: height 500ms ease-in-out;
    transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item {
    float: left;
    display: flex;
    height: auto;
}

#cptestimonial .owl-wrapper-outer .owl-item {
    display: block;
}

.owl-carousel .owl-item .manu_image a {
    display: inline-block;
}

.owl-carousel .owl-item .manu_image a img {
    max-width: 100%;
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
    /* fix */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    text-align: center;
}

/* mouse grab icon */
.customNavigation {
    position: absolute;
    z-index: 9;
    width: 100%;
    top: 50%;
    direction: ltr !important;
    right: 0;
    left: auto;
    opacity: 0;
    -khtml-opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
}

.products .customNavigation {
    top: 48%;
}

.tmcategorylist .customNavigation, .testimonial-block-part .customNavigation {
    top: 54%;
}

.tmcategorylist:hover .customNavigation {
    opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
}

.customNavigation a.prev::before {
    content: "\E314";
    font-family: "Material Icons";
    position: absolute;
    font-size: 20px;
    right: 5px;
    top: -1px;
    color: #808080;
}

.customNavigation a.next::before {
    content: "\E315";
    font-family: "Material Icons";
    position: absolute;
    font-size: 20px;
    position: absolute;
    right: 3px;
    top: -1px;
    color: #808080;
}

#tmtestimonialcmsblock .customNavigation {
    top: -24px;
    z-index: 5;
    right: 15px;
}

#index #tmtestimonialcmsblock .customNavigation {
    top: -40px;
    right: 0;
}

.special-products .customNavigation {
    top: 52%;
}

.special-products:hover .customNavigation,
.products:hover .customNavigation,
.testimonial-block-part:hover .customNavigation,
.tmblog-latest:hover .customNavigation,
#tminstagramblock:hover .customNavigation,
.product-accessories:hover .customNavigation,
.productscategory-products:hover .customNavigation {
    opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
}

.lastest_block .customNavigation {
    top: 44%;
}

.customNavigation i {
    color: #222 !important;
    cursor: pointer;
    font-size: 0;
    font-weight: 500;
    height: 38px;
    line-height: 32px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    text-align: center;
    width: 38px;
    background: transparent;
    border-radius: 0;
    font-style: unset;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.11);
}

.customNavigation i.prev {
    background: transparent;
    right: auto;
    background: #fff;
    border-radius: 50%;
    left: -5px;
}

.customNavigation i.next {
    background: transparent;
    right: 0px;
    background: #fff;
    border-radius: 50%;
    right: -5px;
}

.tmcategorylist .customNavigation i.prev,
.testimonial-block-part .customNavigation i.prev,
#tminstagramblock .btn.prev.instagram_prev,
.special-products .customNavigation i.prev {
    left: -20px;
}

.tmcategorylist .customNavigation i.next,
.testimonial-block-part .customNavigation i.next,
#tminstagramblock .btn.next.instagram_next,
.special-products .customNavigation i.next {
    right: -20px;
}

.testimonial-block-part .customNavigation i.prev, .testimonial-block-part .customNavigation i.next {
    display: block;
}

.customNavigation i.prev::before {
    content: '';
    -webkit-mask-image: url(../img/megnor/pro-left.svg);
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url(../img/megnor/pro-left.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    background-color: #000;
    mask-size: 14px;
    font-size: 14px;
    width: 38px;
    height: 38px;
    display: block;
    -webkit-mask-size: 14px;
}

#tmtestimonialcmsblock .customNavigation i.prev::before {
    right: 1px;
    font-weight: 500;
}

#tmtestimonialcmsblock .customNavigation i.next::before {
    right: 0;
    font-weight: 500;
}

.customNavigation i.next::before {
    content: '';
    -webkit-mask-image: url(../img/megnor/pro-right.svg);
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-image: url(../img/megnor/pro-right.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    background-color: #000;
    mask-size: 14px;
    font-size: 14px;
    width: 38px;
    height: 38px;
    display: block;
    -webkit-mask-size: 14px;
}

.customNavigation i.next:hover::before, .customNavigation i.prev:hover::before {
    color: #fff;
}

#cpleftbanner1 img,
#cpleftbanner2 img {
    max-width: 100%;
}

#cpleftbanner1 li,
#cpleftbanner2 li {
    overflow: hidden;
    position: relative;
    float: left;
    border-radius: 5px;
}

#cpleftbanner1 li a,
#cpleftbanner2 li a {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: top;
}

.footer-container .links.lastest_block .customNavigation i.prev:hover {
    color: #9bbab1 !important;
}

.footer-container .links.lastest_block .customNavigation i.next:hover {
    color: #9bbab1 !important;
}

@media (max-width: 1449px) {
    .tmcategorylist .customNavigation i.prev,
    .testimonial-block-part .customNavigation i.prev,
    #tminstagramblock .btn.prev.instagram_prev,
    .special-products .customNavigation i.prev {
        left: -15px;
    }

    .tmcategorylist .customNavigation i.next,
    .testimonial-block-part .customNavigation i.next,
    #tminstagramblock .btn.next.instagram_next,
    .special-products .customNavigation i.next {
        right: -15px;
    }

    .customNavigation i.next {
        right: 0;
    }

    .customNavigation i.prev {
        left: 0;
    }
}

@media (max-width: 1199px) {
    #tmtestimonialcmsblock .customNavigation {
        top: -36px;
        z-index: 5;
        right: -18px;
    }
}

@media (max-width: 991px) {
    #cpleftbanner1 li img,
    #cpleftbanner2 li a {
        width: auto;
    }

    #tmtestimonialcmsblock .customNavigation {
        top: 0;
        right: 0;
    }
}

@media (max-width: 767px) {
    .customNavigation {
        opacity: 1;
        -khtml-opacity: 1;
        -webkit-opacity: 1;
        -moz-opacity: 1;
    }

    .tmcategorylist .customNavigation i.prev,
    .testimonial-block-part .customNavigation i.prev,
    #tminstagramblock .btn.prev.instagram_prev,
    .special-products .customNavigation i.prev,
    .btn.prev.accessories_prev {
        left: 0;
    }

    .tmcategorylist .customNavigation i.next,
    .testimonial-block-part .customNavigation i.next,
    #tminstagramblock .btn.next.instagram_next,
    .special-products .customNavigation i.next,
    .btn.next.accessories_next {
        right: 0;
    }

    #main .images-container .js-qv-mask .customNavigation {
        top: 40%;
    }

    .quickview .mask.additional_slider .customNavigation i.prev {
        left: -10px !important;
    }

    .quickview .mask.additional_slider .customNavigation i.next {
        right: -10px !important;
    }

    .btn.next.brand_next {
        left: auto;
        right: 0;
        position: absolute;
    }

    .btn.prev.brand_prev {
        left: 0;
        right: auto;
    }

    .customNavigation i.next {
        left: auto;
        right: 0;
    }
}

#cpcategory-tabs .nav-item {
    padding-bottom: 1%;
}

#cpcmsbanner2 .cms-block .offer-text2 {
    text-shadow: -1px -1px 0 #0b0b0b,
    1px -1px 0 #0b0b0b,
    -1px 1px 0 #0b0b0b,
    1px 1px 0 #0b0b0b !important;
}

/*Css pour le cp cmsbanner3 pour le click & collect*/
#cpcmsbanner3 #cpcmsbanner3_block1 .click-collect-steps {
    text-align: center;
    margin-top: 30px;
}

#cpcmsbanner3 #cpcmsbanner3_block1 .click-collect-title {
    color: black;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#cpcmsbanner3 #cpcmsbanner3_block1 .click-collect-grid {
    display: grid;
    grid-template-columns: 3fr 1fr 3fr 1fr 3fr;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}

#cpcmsbanner3 #cpcmsbanner3_block1 .click-collect-step {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: black;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}


#cpcmsbanner3 #cpcmsbanner3_block1 .click-collect-step:hover {
    background-color: #f4c340 !important; /* Exemple de changement de couleur de fond */
    transform: scale(1.10); /* Agrandissement léger */
}

#cpcmsbanner3 #cpcmsbanner3_block1 .step-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#cpcmsbanner3 #cpcmsbanner3_block1 .step-description {
    font-size: 0.9rem;
}

.step-icon img,
.click-collect-arrow img {
    width: 32px;
    height: 32px;
}

.click-collect-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    padding: 5px;
}

.step-number {
    width: 100px;
    height: 30px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number img {
    width: 100%;
    height: auto;
}

.step-title {
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem !important; /* Tu peux ajuster la taille du texte selon tes préférences */
    margin-top: 30px;
    margin-bottom: 20px;
    color: black;
}

#cpcmsbanner5_block1 {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
}

#cpcmsbanner5_block1 img {
    border: 1px solid #ddd;
    border-radius: 10px;
}

.footer-container {
    background-color: var(--primary-color);
    color: #fff0ff !important;
}

.footer-container .links .h3, .footer-container .links h3, .footer-container .links h3 a, .footer-container li, .footer-container ul, #footer .footer-container .block-contact .phone span.phone-number, .footer-container .footer-right li a, #footer .footer-container .footer-after .copyright a, .footer-container .links .navbar-toggler,
.block-social .navbar-toggler,
.footer-container .block_newsletter .navbar-toggler, #block-contact_list li .dropdown {
    color: #fff0ff;
}

#cpcategorytabs {
    padding: 10px 0;
}


.hover {
    background-color: transparent !important;
    bottom: auto !important;
    content: normal !important;
    left: auto !important;
    opacity: 1 !important;

    /* on supprime tous les préfixes de opacity pour la compatibilité */
    -webkit-opacity: 1 !important;
    -moz-opacity: 1 !important;
    -ms-opacity: 1 !important;
    -o-opacity: 1 !important;
    -khtml-opacity: 1 !important;

    position: static !important;
    right: auto !important;
    top: auto !important;

    transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    -moz-transform: none !important;

    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}

.mm_tab_toggle_title img {
    width: 28px;
}

#breadcrumb_wrapper {
    padding: 10px 0;
    margin-bottom: 20px;
}

#cpcmsbanner3 .left-side.main-content .cms_content .cms-block {
    text-align: left;
    padding-top: 10px;
    padding-left: 30px;
}

@media (min-width: 768px) {
    .mm_menus_ul {
        background-color: var(--primary-color);
    }
}


.column_size_2 {
    border-right: #bbb solid 1px;
    border-bottom: #bbb solid 1px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.mm_columns_li {
    border-bottom: #bbb solid 1px;
}

.mm_blocks_li {
    padding: 0;
    margin-bottom: 0;
    text-align: center;
}

.mm_tabs_li .mm_columns_contents_ul {
    padding: 0;
}

.mm_columns_contents_ul > li:not(:first-child) .mm_blocks_li .ets_mm_block_content {
    padding: 0 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='45' fill='%23f4c34070' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

@media (min-width: 1200px) {
    .mm_columns_contents_ul > li:not(:first-child) .mm_blocks_li .ets_mm_block_content img {
        height: 130px;
        width: auto;
        object-fit: contain;
    }
}

@media (min-width: 1450px) {
    .mm_columns_contents_ul > li:not(:first-child) .mm_blocks_li .ets_mm_block_content img {
        height: 160px;
        width: auto;
        object-fit: contain;
    }
}

@media (min-width: 1660px) {
    .mm_columns_contents_ul > li:not(:first-child) .mm_blocks_li .ets_mm_block_content img {
        height: 210px;
        width: auto;
        object-fit: contain;
    }
}


@media (max-width: 768px) {
    #cpcmsbanner3 #cpcmsbanner3_block1 .click-collect-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #cpcmsbanner3 #cpcmsbanner3_block1 .click-collect-arrow {
        transform: rotate(90deg); /* Tourne la flèche vers le bas */
        margin: 10px 0;
    }

    #cpcmsbanner3 #cpcmsbanner3_block1 .click-collect-step {
        width: 90%; /* ou 100% si tu veux full largeur */
    }

    .step-icon img,
    .click-collect-arrow img {
        width: 24px;
        height: 24px;
    }

    .step-title {
        display: none;
    }

    #cpcmsbanner3 #cpcmsbanner3_block1 .step-title {
        font-size: 1.2rem !important;
    }

    #cpcmsbanner3 #cpcmsbanner3_block1 .step-description {
        font-size: 0.8rem;
    }
}


@media (max-width: 768px) {
    #cpcmsbanner3_block1 .cms-block {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        text-align: center;
        background: none;
        padding: 0;
    }

    #cpcmsbanner3_block1 .offer-text1,
    #cpcmsbanner3_block1 .offer-text2 {
        display: none !important;
    }

    #cpcmsbanner3_block1 .offer-button .btn {
        background-color: #f4c340;
        border: none;
        color: #fff;
        padding: 12px 24px;
        font-size: 1rem;
        border-radius: 6px;
        font-weight: bold;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }
}

/*responsive téléphone général*/

@media (max-width: 768px) {
    #cpcmsbanner5_block1 {
        display: grid !important;
    }

    .flexslider {
        margin: 20px 0 !important;
    }
}

@media (max-width: 1200px) {
    .ybc-menu-toggle {
        background-color: var(--primary-color);
        color: var(--secondary-color);
    }

    .ybc-menu-toggle .icon-bar {
        background-color: var(--secondary-color);;
    }

    .mm_columns_contents_ul > li:first-of-type {
        display: none;
    }

    .mm_columns_contents_ul > li {
        max-width: 50%;
        float: left;
    } //

}

body .ets_mm_megamenu.bg_submenu::before {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #000000 !important;
    opacity: 0.8 !important;
    visibility: visible !important;
}

@media (max-width: 767px) and (min-width: 315px) {
    .products .product_list.list article.product_item {
        width: 100% !important; /* 1 produit par ligne */
    }
}

@media (min-width: 768px) {
    .products .product_list article.product_item.col-sm-6,
    .products .product_list article.item.col-sm-6,
    .products .product_list article.product_item.col-md-6 {
        width: 25% !important; /* 4 produits au lieu de ~3 */
    }
}

@media (min-width: 992px) {
    .products .product_list article.product_item.col-md-4,
    .products .product_list article.item.col-md-4,
    .products .product_list article.product_item.col-md-6 {
        width: 25% !important; /* 4 produits */
    }
    #index .products .product_list article.product_item.col-sm-6,
    #index .products .product_list article.item.col-sm-6,
    #index .products .product_list article.product_item.col-md-6 {
        width: 20% !important; /* 5 produits au lieu de 4 */
    }
    .products .product_list article.product_item.col-sm-6,
    .products .product_list article.item.col-sm-6,
    .products .product_list article.product_item.col-md-6 {
        width: 25% !important; /* uniformisé 4 ou 5 produits */
    }
}

@media (min-width: 1200px) {
    #index .products .product_list article.product_item.col-sm-6,
    #index .products .product_list article.item.col-sm-6,
    #index .products .product_list article.product_item.col-md-6 {
        width: 14.2857% !important; /* 7 produits au lieu de 6 (100/7) */
    }
    .products .product_list article.product_item.col-sm-6,
    .products .product_list article.item.col-sm-6,
    .products .product_list article.product_item.col-md-6 {
        width: 25% !important; /* fallback 4 produits */
    }
    .newproducts .products .product_list article.product_item.col-sm-6,
    .newproducts .products .product_list article.item.col-sm-6,
    .newproducts .products .product_list article.product_item.col-md-6 {
        width: 25% !important; /* pareil */
    }
    .product_item.col-xs-12.col-sm-6.col-md-4.col-lg-4:nth-child(4) {
        clear: left;
    }
    .product_item.col-xs-12.col-sm-6.col-md-6.col-lg-3:nth-child(5) {
        clear: left;
    }
}

@media (min-width: 1450px) {
    .products .product_list article.product_item.col-lg-3,
    .products .product_list article.item.col-lg-3 {
        width: 20% !important; /* 5 produits au lieu de 4 */
    }
    .products .product_list article.product_item.col-sm-6,
    .products .product_list article.item.col-sm-6,
    .products .product_list article.product_item.col-md-6 {
        width: 15% !important; /* 6-7 produits */
    }

    #index .products .product_list article.product_item.col-sm-6,
    #index .products .product_list article.item.col-sm-6,
    #index .products .product_list article.product_item.col-md-6 {
        width: 14.2857% !important; /* 7 produits */
    }

    #cpcategorytabs .products .product_list article.product_item.col-sm-6,
    .newproducts .products .product_list article.product_item.col-sm-6,
    .newproducts .products .product_list article.item.col-sm-6,
    .newproducts .products .product_list article.product_item.col-md-6 {
        width: 16.66% !important; /* 6 produits */
    }
    .layout-full-width .products .product_list article.product_item.col-sm-6,
    .layout-full-width.products .product_list article.item.col-sm-6,
    .layout-full-width .products .product_list article.product_item.col-md-6 {
        width: 14.2857% !important; /* 7 produits */
    }
}

/* Fix pour éviter la superposition des icônes add/remove avec le texte des catégories */
.block-categories .category-sub-menu li {
    padding-right: 25px !important;
}

/* Styles pour les réseaux sociaux - CORRECTION pour utiliser le système ::after existant */
.social-sharing li.facebook::after {
    background-image: url(../../_dev/img/facebook-gray.svg) !important;
}

.social-sharing li.facebook:hover::after {
    background-image: url(../../_dev/img/facebook-blue.svg) !important;
}

.social-sharing li.instagram::after {
    background-image: url(../../_dev/img/instagram.svg) !important;
}

.social-sharing li.instagram:hover::after {
    background-image: url(../../_dev/img/instagram.svg) !important;
}

.social-sharing li.tiktok::after {
    background-image: url(../img/megnor/tiktok_white.svg) !important;
}

.social-sharing li.tiktok:hover::after {
    background-image: url(../img/megnor/tiktok_white.svg) !important;
}

/* Suppression des anciens styles qui causent les conflits */
.instagram,
.instagram::before,
.instagram.icon-gray,
.instagram.icon-gray:hover,
.tiktok,
.tiktok::before,
.tiktok.icon-gray,
.tiktok.icon-gray:hover {
    background-image: none !important;
}

.social-sharing li.facebook {
    background: #3b5998 !important;
}
.social-sharing li.twitter {
    background: #00aced !important;
}
.social-sharing li.pinterest {
    background: #cb2027 !important;
}
.social-sharing li.instagram {
    background: #E4405F !important;
}
.social-sharing li.tiktok {
    background: #000000 !important;
}

/********************************************************
          Checkout Layout Fix - Superposition Problem
********************************************************/
/* Fix pour éviter la superposition entre checkout card-block et cart-summary */
#checkout #content {
    overflow: hidden; /* Clearfix pour les floats */
}

#checkout #content .col-md-8 {
    float: left !important;
    width: calc(66.66% - 15px) !important;
    padding-right: 15px !important;
}

#checkout #content .col-md-4 {
    width: calc(33.33% - 15px) !important;
    padding-left: 15px !important;
}

/* Assurer que les card-block ne débordent pas */
#checkout .card-block {
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Fix pour le cart-summary */
#checkout #js-checkout-summary {
    position: relative;
    z-index: 1;
}

/* Responsive - sur mobile, les colonnes s'empilent */
@media (max-width: 991px) {
    #checkout #content .col-md-8,
    #checkout #content .col-md-4 {
        float: none !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-bottom: 20px;
    }
}

/********************************************************
          ETS Mega Menu - Fix hauteur uniforme des colonnes
********************************************************/
/* Supprimer l'aspect-ratio fixe et utiliser flexbox pour une hauteur uniforme */
.mm_columns_contents_ul {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

.mm_columns_li.column_size_2 {
    aspect-ratio: unset !important;
    overflow: visible !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.mm_columns_li .mm_blocks_ul {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.mm_columns_li .mm_blocks_li {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.mm_blocks_li .ets_mm_block {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
    text-align: center !important;
}

.mm_blocks_li .ets_mm_block_content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    flex: 1 !important;
}

/* Permettre au texte de s'afficher sur 2 lignes */
.mm_blocks_li .h4,
.mm_blocks_li span.h4 {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.2 !important;
    height: auto !important;
    max-height: none !important;
    word-wrap: break-word !important;
    margin-top: 8px !important;
    text-align: center !important;
}

.psd_store_selector {
    z-index: 100 !important;
}

.cart-products-counthome {
    background-color: #3D0F11 !important;
}

.ap-total-wishlist, .ap-total-compare {
    background-color: #3D0F11 !important;
}

#search_block_top {
    border: solid 1px #3D0F11 !important;
    border-radius: 50px !important;
}

@media (min-width: 768px) {
    #header .layout_layout3:not(.ybc_vertical_menu) .mm_menus_li > a:hover {
        background-color: #f4c340 !important;
        color: #3D0F11 !important;
    }
}

#cpcmsbanner3 .cms-block .offer-button a {
    color: #3D0F11;
}