/* Header */
body {
    overflow-x: hidden;
    color: black;
}
* {
    font-family: "DM Sans", sans-serif !important;
    font-optical-sizing: auto;
}
a {
    text-decoration: none;
    position: relative;
}


h1,h2,h3,h4,h5,h6 {
    font-weight: 500;
    text-transform: initial;
    margin-bottom: 1.5rem;
}
.alignwide {
    margin-left  : -80px;
    margin-right : -80px;
}
.alignfull {
    margin-left  : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
    max-width    : 100vw;
}
/* font weight du reste du site /// */
div, p, span, a, li, td, th, label, input, textarea, select, button {
    font-weight: normal !important;
}
.header .main-nav .menu-item .nav-links:hover {
    font-weight: initial !important;
}
.header .logo {
    width: 81px;
    height: auto;
}
.header .main-nav {
    margin-bottom: 0;
}
.header .main-nav .menu-item {
    margin: 0 0
}
.header .main-nav .menu-item .nav-links {
    text-transform: initial;
}
.header .report-link {
    font-size: 12px;
    border-radius: 5px;
    font-weight: 400;
}
#cse-report-wrapper,
.header-user-actions{
    display: flex;
    align-items: center;
    gap:5px;
}
.header-user-actions {
    gap:8px;
    padding-right: 1rem;
}

.header .wpml-ls-statics-shortcode_actions .wpml-ls-link {
    color: #213C78;
}
.header .wpml-ls-statics-shortcode_actions .wpml-ls-link:hover {
    color: #8d8d8d;
}

/* remove current language label */
.wpml-ls-current-language{
    display: none !important;
}

.header .block-logo-report {
    padding-top: 2rem;
}

/* Product page */


.grid-container > div.col-description {
    max-width: initial;
}

.grid-container > div.col-description .product-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.grid-container > div.col-description p {
    font-size: 18px;
    line-height: 30px;
}

.grid-container > div.col-description h2,
.grid-container > div.col-description h3,
.grid-container > div.col-description h4,
.grid-container > div.col-description h5 {
}

.product-page .col-infos .prices {
    border-top: initial;
    border-right: initial;
    padding: 30px 40px 30px 40px;
    min-height: 236px;
    height: initial;
    background-color: #D9D9D9;
}

.product-page .col-infos .prices,
.product-page .col-infos .offer-not-available,
.product-page .col-infos .book-product {
    border-radius: 15px;
}

.offer-not-available-label {
    font-size: 20px!important;
    font-weight: 500;
    text-transform: uppercase!important;
}

.product-page .col-infos .book-product {
    justify-content: center;
    display: flex;
    width: 100%;
    align-items: center;
    background-image: none;
    position: relative;
    font-weight: 500;
    text-transform: initial;
}
.product-page .col-infos .book-product svg {
    position: absolute;
    right: 20px;
}

.product-page .col-infos .prices .ce-price,
.product-page .col-infos .prices .regular-price,
.product-page .col-infos .prices .public-price.amount{
    color: #213C78;
}

.product-page .col-infos .prices .regular-price {
    font-weight: 500;
}

.product-page .col-infos .prices .public-price.amount {
    font-size: 25px;
}

.product-page .col-infos .prices .ticket-employee {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}
.product-page .col-infos .prices .ticket-employee:before {
    content:'';
    width: 6px;
    height: 6px;
    background-color: #213C78;
    border-radius: 50%;
}

.product-page .col-infos .book-product:hover,
.product-page .col-infos .book-product:focus,
.product-page .col-infos .book-product:active {
    background-color: #ecebeb;
    border:none;
    background-image: none;
}

.product-page .col-infos .book-product:hover svg path {
    stroke: #213C78;
}

.product-page .col-infos .detail{
    background: #F5F5F5;
    border:none;
    border-radius: 15px;
}

/** Product page grid */
.grid-container {
    display: grid;
    grid-template-columns: 57.63% 25.76%;
    width: 100%;
    justify-content: space-between;
}

.product-page .col-infos {
    max-width: initial;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.description-offer {
    padding-top: 30px;
}

.product-page .col-infos .offer-not-available span:last-child {
    font-size: 12px;
    text-transform: initial;
    font-weight: 100;
}

.h2-title + h4 {
    margin-bottom: 1.4rem;
}

.header-right {
    display: flex;
    gap:20px;
    align-items: center;
}
.header .main-nav .menu-item.active-link:after {
    display: none;
}
.header .main-nav .menu-item:before {
    content: '';
    display: block;
    height: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s ease-in-out;
}
.header .main-nav .menu-item.active-link:before,
.header .main-nav .menu-item:hover:before {
    opacity: 1;
    background-color: #213C78;
}

.header .main-nav .menu-item {
    display: flex;align-items: center;gap:8px
}

/* Catégories list */
.categories-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
}

/* gifts */
.gift-certificates-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    justify-content: space-between;
    gap: 30px;
}

.gift-certificates-list .gift-certificate {
    max-width: 100%;
    border-radius: 20px;
    height: 655px;
}

.gift-certificates-list .product-title {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 10px;
}

.gift-certificates-list .product-title span:first-child {
    font-size: 25px;
    text-transform: initial;
    font-weight: normal;
}
.gift-certificates-list .product-description{
    line-height: 30px;
    font-size: clamp(18px, 1.5vw, 30px);
}


.gift-certificates-list .product-title span:last-child {
    font-size: 35px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .categories-list {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
        height: auto;
    }
}

@media (max-width: 768px) {
    .categories-list {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
    .gift-certificates-list {
        grid-template-columns: 1fr; /* 1 colonne sur tablette */
    }
}

.categories-product .product-category .product-title {
    font-family: 'Estee', sans-serif;
    font-size: 24px;
    margin-bottom: 15px;
    min-height: 58px;
    line-height: 29px;
    font-weight: 500;
}

.categories-product .product-category {
    display: flex;
    flex-direction: column;
    align-items: initial;
    flex-wrap: wrap;
    height: auto;
    margin-bottom: 20px;
    border-radius:10px;
    overflow: hidden;
}

.categories-product .product-category .col-bg {
    flex: initial;
    max-width: 100%;
    height: 254px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.categories-product .product-category .col-bg img:not(.logo-cse) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    position: relative;
    z-index: 2;
}
.categories-product .product-category .col-bg img.logo-cse {
    width: 100px;
    height: auto;
}
.categories-product .product-category .col-bg:has(img.logo-cse) {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 15px;
}
.categories-product .product-category .col-bg:has(img.logo-cse):after {
    display: none;
}

.categories-product .product-category .col-bg:after {
    background-color: #F5F5F5;
    height: 30px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    display: block;
    z-index: 1;
}

.categories-product .product-category .col-description {
    flex: initial;
    max-width: 100%;
    padding: 25px 12px 0;
    height: initial;
    border-top: none;
    border-bottom: none;
    background-color: #F5F5F5;
    padding-bottom: 12px;
}
.categories-product .product-category .col-description.description-text {
    padding: 25px 30px 0;
}

.categories-product .product-category .description-content {
    min-height: 100px;
}
.categories-product .product-category .product-description {
    height: initial;
    font-size: 14px;
    line-height: 20px;
}

.categories-product .product-category .col-actions {
    flex:initial;
    width: 100%;
    height: initial;
}

.categories-product .product-price-container {
    padding:30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #213C78;
}

@media(min-width: 992px) {
    .categories-product .product-price-container {
        min-height: 160px;
        color: #213C78;
    }
}
.categories-product .product-category .col-description .availability {
    border-radius: 10px;
    color: white;
}
.categories-product .product-category .availability.not-available {
    background: #F75D70;
}

.categories-product .product-category .product-description p.product-price {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 30px;
    line-height: 40px;
}
.categories-product .product-category .product-description p.product-price span:last-child {
    font-size: 14px;
}

/* ====== GET OFFER */
.get-offer {
    height: 54px;
    max-height: initial;
    min-height: 54px;
    border-radius: 10px;
    justify-content: center;
    text-transform: initial!important;
    font-size: 14px;
    height: initial;
    padding:initial!important;
    font-weight: normal !important;
}

.get-offer.black-theme,
.availability.get-offer{
    background-color: rgba(33, 60, 120, 1)!important;
    color: white;
}

.get-offer.black-theme:hover,
.availability.get-offer:hover,
.product-category:has(a:hover) .availability.get-offer,
.product-category:has(a:hover) .availability.not-available,
.gift-certificate:has(.trigger-offer:hover) .get-offer{
    background-color: rgb(0, 0, 0) !important;
    color: white;
}

.get-offer svg {
    position: absolute;
    right: 20px;
    top:50%;
    transform:translateY(-50%);
}

.gift-certificates-list .product-description {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    position: relative;
    z-index: 2;
}

.trigger-offer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    height: 100%;
    display: block;
    cursor: pointer;
    z-index: 20;
}

.gift-certificate:has(.trigger-offer:hover) .product-description {
    opacity: 1;
}

/* ====== **** Gift certificate before **** ==== */
.gift-certificate:has(.trigger-offer:hover):before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 60, 120, 0.5);
    z-index: 1;
    border-radius: 15px;
    transition: all .5s ease-in-out;
    display: block;
}

.gift-certificate:has(.trigger-offer:hover) .product-title {
    z-index: 2;
}

.gift-certificate:has(.trigger-offer:hover) .get-offer{
    z-index: 2;
}

.categories-product .product-category .availability {
    background: #F2F2F2;
    margin: 0;
    padding: 3px 25px 3px;
    min-height: 54px;
    max-height: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper + .header {
    display: none;
}

/* Footer */
.footer-container {
    margin-top: 2rem;
    background-color: #213C78;
    padding:4rem 0;
    margin-top: 4.5rem;
}

.footer-container .container {
    display: flex;
    flex-wrap: wrap;
    gap:30px;
    align-items: center;
}

.ce-page .accordion .title-toggler {
    font-size: 35px;
    font-weight: 400;
    text-transform: initial;
    color: black;
    margin-bottom: 0;
}
.ce-page .accordion .collapse-header {
    border-bottom: 3px solid #000;
    padding: 0 0px 15px 5px;
}
.ce-page .accordion .collapse-header.active h2 svg {
    transition: all 0.5s ease-in-out;
}
.ce-page .accordion .collapse-header.active h2 svg {
    transform: rotate(180deg);
}
.ce-page .accordion .description ul {
    margin: 30px 0;
}

.ce-page .accordion .description ul li {
    font-weight: 700;
    color: #213C78;
    padding-left: 50px;
    position: relative;
}
.ce-page .accordion .description ul li:before {
    content:'';
    width: 30px;
    height: 3px;
    background-color: #213C78;
    position: absolute;
    left: 0;
    top: 14px;
    display: block;
}

.ce-page .accordion .description {
    opacity: 1!important;
}
.wp-block-cover.abonnement {
    position: relative;
}
.header .wpml-ls-statics-shortcode_actions .wpml-ls-item:first-child {
    margin-bottom: 0;
}

@media(max-width: 980px) {
    .ce-page .accordion .description table tbody tr td:last-child {
        display: none;
    }
    .wp-block-cover.abonnement .wp-block-button__link {
        position: absolute;
        bottom: 20px;
        width: 90%;
        right: 20px;
    }
}

@media(min-width: 1200px) {
    .footer-container .container:not(.copyright) {
        gap: 200px;
    }
}

.footer-container .footer {
    margin-top: 0;
}
.logo-footer {
    margin:auto;
}
.logo-footer a img {
    width: 100px;
    height: auto;
}

.footer-container,
.footer-container p,
.footer-container a {
    color: white;
}

.footer-container .item-footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    gap: 20px;
}
.footer-container .item-footer .site-slogan {
    color: #C4C4C4;
}
.footer-copyright {
    border-top: 1px solid rgba(196, 196, 196, 0.30);
    margin-top: 2rem;
    padding-top: 2rem;
}

.footer-container .container a[href='#top'] {
    display: inline-block;
    position:absolute;
    right:20px;
    top: 0;
    top: -30px;
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 1rem;
    margin-block-end: 0;
}
.wp-block-button__link {
    position: relative;
    min-width: 200px;
    max-width: 100%;
    height:57px;
}
.wp-block-button__link:after {
    display: inline-block;
    width: 30px;
    height: 30px;
    content: '';
    background-image: url("../images/arrow-btn.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
    position: relative;
    right:10px;
    transform:translateX(90%);
}
/* arrow white */
.wp-block-button__link.has-primary-background-color:after {
    background-image: url("../images/arrow-btn-white.svg");
}

.wp-block-button__link {
    display: flex;
    align-items: center;
    gap: 10px;
}

*:focus {
    outline: none;
}

.button {
    display: inline-block;
    padding: 16px 40px;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
}

.button svg {
    position: absolute;
    top: 50%;
    right:16px;
    transform: translateY(-50%);
}

.button.button-black {
    background-color: black;
    color:white;
}

.button.button-black:hover,
.button.button-white:hover {
    background-color: #213C78;
}

.button.button-white {
    background-color: white;
    color:#213C78;
}
.wp-block-button__link {
    font-size: 16px;
    justify-content: space-around;
}
.wp-block-button__link:after,
.wp-block-button__link{
    transition: all .5s ease-in-out;
}
.wp-block-button__link.has-white-background-color:hover {
    background-color: #213C78!important;
    color: white!important;
}

.wp-block-button__link.has-white-background-color:hover:after {
    background-image: url("../images/arrow-btn-white.svg")!important;
}

.wp-block-button__link.has-primary-background-color:hover {
    background-color: white!important;
    color: #213C78!important;
}

.wp-block-button__link.has-primary-background-color:hover:after {
    background-image: url("../images/arrow-btn.svg")!important;
}

.wp-block-button__link:hover:after{
    transform:translateX(95%)
}

.category .loader-more-wrap .load-more {
    font-weight: 500;
    text-transform: initial;
}

/* Responsive layout for mobile */
@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: 100%; /* Stack elements on mobile */
        justify-content: center;
    }
    .header {
        padding: 15px 15px 20px;
        border-bottom: none;
        margin-bottom: 30px;
        min-height: 70px;
    }
    .header-user-actions.desktop {
        display: none;
    }
    .header-user-actions {
        padding-right: 0px;
    }
}
@media screen and (min-width: 1200px) {
    .grid-container {
        display: grid;
        grid-template-columns: 800px 371px;
        gap: 0; /* Adjust the gap as needed */
        width: 100%;
        justify-content: space-between;
    }
}
@media screen and (min-width: 1300px) {
    .grid-container {
        display: grid;
        grid-template-columns: 837px 371px;
        gap: 3%; /* Adjust the gap as needed */
        width: 100%;
        justify-content: space-between;
    }
}
@media screen and (min-width: 992px) {

    .header, .wrapper {
        width: 100%;
        max-width: 1210px;
        margin:auto
    }
    .header {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }
    .header .block-logo-report {
        align-items: center;
        padding: 0 0;
        width: 100%;
    }
    .header .main-nav {
        display: flex;
        align-items: center;
        gap:20px
    }

    .col-infos .prices .regular-price {
        font-size: 80px;
    }
    .col-infos .prices .ce-price {
        font-size: 25px;
    }
}

@media(max-width: 980px) {
    .wp-block-button,
    .wp-block-button__link {
        width: 100%;
        max-width: 100%;
        margin: auto;
    }
    .wp-block-button__link {
        display: flex;
        justify-content: center;
    }
}

/* Mobile menu */
@media screen and (max-width: 991px) {
    .header .user-actions {
        top: 40px;
    }
    #cse-report-wrapper, .header-user-actions {
        flex-wrap: wrap;
        gap: 5px !important;
        width: 100%;
    }
    #cse-report-wrapper .report-link {
        width: 100%;
        margin:0
    }
    .header .main-nav.main-nav-mobile {
        width: 100%;
        align-items: flex-start;
    }
    :root :where(.is-layout-flex) {
        gap: 5px;
    }

    .wp-block-button__link:after {
        position: absolute;
        right: 30px;
    }

    .product-page .col-description .product-bg {
        margin-bottom: 15px;
        width: 100%;
        margin-left: 0;
    }

    .product-page .col-infos .regular-price {
        font-size: 50px;
    }

    .gift-certificates-list {
        padding-left: 20px;
        padding-right: 20px;
    }



    .slide-nav-container {
        flex-direction: column;
        margin-top: 50px;
    }
    .slide-nav-container .container {
        margin-left: 0;
        margin-right: 0;
        padding-right: 0;
        padding-left: 0;
    }
    .slide-nav-container .slide-nav {
        margin-bottom: 20px;
    }

    .teams-carousel-container .swiper-slide.active .thumbnail {
        transform: scale(1);
    }

    .header .user-actions.nav-opened {
        z-index: 99999999;
    }

    body.nav-opened {
        overflow: hidden;
    }

    .cheques-cadeaux-container {
        padding: 50px 0px;
    }
}