/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */


/* ---------------------------------------------- */
/* MENU */
/* ---------------------------------------------- */
.header-mega-menu {
    margin-top: 0 !important;
}

.header-mega-menu .ets_mm_megamenu_content {
    background: #599fcd;
    border: unset;
}

.header-mega-menu .ets_mm_megamenu_content > .container {
    padding: 0;
}

.header-mega-menu .mm_menu_content_title {
    padding: 0 15px;
    min-height: 40px;
    font-weight: 400;
    text-transform: initial;
}

.header-mega-menu .mm_menus_li {
    border: unset !important;
}

.header-mega-menu .mm_menus_li.active > a {
    background: #fff;
}

.header-mega-menu .mm_menus_li > a:before {
    display: none;
}

.mm_menu_content_title i {
    margin-right: 10px;
}


.header-mega-menu .menu-produits > a > .mm_menu_content_title {
    padding-left: 0;
    font-weight: 700;
}

/* Sous-menu */
.header-mega-menu  .mm_tabs_li {
    box-shadow: 0px 5px 10px 0 rgba(0, 0, 0, 0.15);
}

.header-mega-menu  .mm_tabs_li .mm_tab_li_content {
    border-left: unset;
    border-right: unset;
}

.header-mega-menu  .mm_tabs_li .mm_columns_contents_ul {
    background-color: #f5fbff;
}

.header-mega-menu .mm_tabs_li.open .mm_tab_has_child:after {
    border-color: #08549f;
}

.mm_menus_li.hover .mm_tabs_li.mm_tabs_has_content:hover .mm_tab_li_content .mm_tab_name:before {
    border-right: unset;
}

/* Sous-menu Content */
.header-mega-menu .ets_mm_block_content ul li a:before {
    display: none;
}

.header-mega-menu .ets_mm_block_content .ets_mm_categories {
    line-height: 35px;
}

@media screen and (max-width: 1199px) {
.header-mega-menu .ybc-menu-toggle {
    padding-top: 11px;
    padding-bottom: 11px;
    background: #599fcd;
    color: #fff;
}

.header-mega-menu .ybc-menu-toggle .icon-bar {
    background-color: #fff;
}

.ets_mm_megamenu.layout_layout1:not(.ybc_vertical_menu) .mm_menus_ul {
    background: #f6f6f6 !important;
}

#header a:hover {
    color: #08549f;
}

.ets_mm_megamenu .mm_menus_ul .close_menu {
    background-color: #599fcd;
}

.header-mega-menu .mm_menus_li {
    border-bottom: 1px solid #ddd !important;
}

.header-mega-menu .mm_menus_li > a {
    color: #444 !important;
}

.header-mega-menu .mm_menus_li .arrow {
    height: 60px;
    line-height: 60px;
}

.ets_mm_megamenu .mm_columns_ul {
    margin-top: 0;
}

.changestatus.transition_full .close_menu {
    font-size: 18px;
}

.changestatus.transition_full .close_menu .mm_menus_back {
    margin-right: 5px;
}

.header-mega-menu .menu-produits > a i {
    display: none;
}

.header-mega-menu .mm_menu_content_title {
    padding-left: 0;
}
}



/* ---------------------------------------------- */
/* ACCUEIL */
/* ---------------------------------------------- */
.page-index #wrapper {
    padding-top: 0;
}

/* Raccourcis */
.grid-home-raccourci > div > .elementor-widget-wrap {
    display: grid !important;
    grid-template-areas: 'a b b'
                         'a c e'
                         'd d e';
    gap: 50px;
}

.raccourci-a {
    grid-area: a;
}

.raccourci-b {
    grid-area: b;
}

.raccourci-c {
    grid-area: c;
}

.raccourci-d {
    grid-area: d;
}

.raccourci-e {
    grid-area: e;
}

.item-home-raccourci a {
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.item-home-raccourci > .elementor-widget-container {
    height: 100%;
    width: 100%;
}

.item-home-raccourci .elementor-cta-content {
    height: 100%;
    min-height: 200px;
}

@media screen and (max-width: 1199px) {
.grid-home-raccourci > div > .elementor-widget-wrap {
    grid-template-areas: 'a'
                         'b'
                         'c'
                         'd'
                         'e';
    gap: 15px;
}
}




/* ---------------------------------------------- */
/* MINIATURE PRODUIT */
/* ---------------------------------------------- */
.miniature-produit-image {
    margin-bottom: 20px !important;
}

.miniature-produit-nom {
    margin-bottom: 8px !important;
}

.miniature-produit-panier {
    margin-top: 20px !important;
}

.miniature-produit-image .ce-product-image > a {
    background: #f5fbff;
    border-radius: 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

.miniature-produit-nom .ce-product-name > a {
    text-decoration: none;
}

/* ---------------------------------------------- */
/* SINGLE PRODUIT */
/* ---------------------------------------------- */
.block-category {
    min-height: auto;
}

/* ---------------------------------------------- */
/* SINGLE PRODUIT */
/* ---------------------------------------------- */
.page-product #wrapper {
    padding-top: 75px;
    background-color: #F5FBFF !important;

}
.page-product H1 {
    color: #000000;
    font-family: "Rubik", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2em;
    text-transform: none;

}

#product #content {
    border-radius: 10px;
    border: 1px solid #25b9d8;
    position: relative;
     max-width: none; 
    margin: 0 auto;
}

#product .product-price {
    display: inline-block;
    max-width: 100%;
    color: #000000;
    font-size: 2rem;
}
.product-prices .tax-shipping-delivery-label {
    display: inline;
}

.product-actions.js-product-actions {
    border: 1px solid #25b9d8;
    border-radius: 10px;
    padding: 30px;
    background: #F0F0F1;
}

.product-flags {
    position: static;
}

.product-flags li.product-flag {
    color: #FFFFFF;
    background-color: #08549F;
    border-color: #08549F;
}


.single-produit-categorie a {
    text-decoration: none;
}

.single-produit-image .elementor-main-swiper {
    overflow: visible;
}

.single-produit-image .elementor-main-swiper .swiper-slide {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

.single-produit-image .elementor-thumbnails-swiper {
    margin-top: 30px !important;
    overflow: visible;
}

.single-produit-image .elementor-thumbnails-swiper .swiper-slide {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

.single-produit-image .elementor-thumbnails-swiper .swiper-slide img {
    padding: 15px;
}

.page-product .vous-aimerez-aussi {
    border-top: 1px solid #ccc;
}

/* Tabs */
.page-product .elementor-nav-tabs .elementor-nav a.elementor-item {
    text-decoration: none;
}

.page-product .elementor-nav-tabs .elementor-nav a.elementor-item-active {
    padding-bottom: 5px !important;
    border-bottom: 1px solid #08549f;
}

.page-product .ce-product-meta .ce-product-meta__value {
    line-height: 1.2;
}

@media screen and (max-width: 500px) {
.page-product .elementor-nav-tabs .elementor-nav {
    flex-direction: column;
    margin: 0;
}

.page-product .elementor-nav-tabs .elementor-nav li.menu-item {
    margin: 0;
}

.page-product .elementor-nav-tabs .elementor-nav li.menu-item:not(:last-child) {
    margin-bottom: 15px;
}
}



/* ---------------------------------------------- */
/* BARRE DE RECHERCHE */
/* ---------------------------------------------- */
.elementor-search .ui-autocomplete {
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.elementor-search .ui-autocomplete .ui-menu-item:not(:last-child) {
    margin-bottom: 5px;
}

.elementor-search .ui-autocomplete .ui-menu-item .elementor-search__product-link:hover,
.elementor-search .ui-autocomplete .ui-menu-item .elementor-search__product-link:focus {
    background-color: #eee;
    border-radius: 10px;
}

.elementor-search .ui-autocomplete .ui-menu-item .elementor-search__product-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.elementor-search .ui-autocomplete .ui-menu-item .elementor-search__product-name {
    font-size: 14px;
    line-height: 1.2em;
    font-weight: 600;
    color: #000;
}

.elementor-search .ui-autocomplete .ui-menu-item .elementor-search__product-price {
    font-size: 14px;
    line-height: 1.2em;
    color: #000;
}

.elementor-search .ui-autocomplete .ui-menu-item .elementor-search__product-image {
    display: block;
    height: 50px;
    width: 50px;
    object-fit: cover;
}



/* ---------------------------------------------- */
/* DROPDOWN */
/* ---------------------------------------------- */
.dropdown button.btn-unstyle {
    font-weight: 500;
    border-radius: 10px;
    border-color: #ccc;
}

.dropdown .dropdown-menu {
    margin-top: 5px;
    padding: 0;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ccc;
    z-index: 50;
    overflow: hidden;
}

.dropdown .dropdown-menu .select-list {
    font-size: 15px;
    text-decoration: none;
}

.dropdown .dropdown-menu .select-list:hover {
    background: #08549f;
}



/* ---------------------------------------------- */
/* CHECKBOX / RADIO */
/* ---------------------------------------------- */
.custom-checkbox label {
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.custom-checkbox input[type="checkbox"] + span {
    border-radius: .2em;
    border-color: #ccc;
}

.custom-radio input[type="radio"]:checked + span {
    background-color: #08549f;
}


/* ---------------------------------------------- */
/* MY ACCOUNT */
/* ---------------------------------------------- */
.page-my-account #content .links a {
    display: flex;
    flex-direction: column;
    min-height: 160px;
    text-decoration: none;
}

.page-my-account #content .links a span.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-transform: initial;
    line-height: 1.2;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: .3s;
}

.page-my-account #content .links a:hover span.link-item {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.page-my-account #content .links a i {
    color: #444;
}

.page-my-account #content .links a:hover i {
    color: #08549f;
}

@media screen and (max-width: 575px) {
.page-my-account #content .links a {
    margin-bottom: 15px;
    min-height: auto;
}
}