/* ================================================
   1. CHARTE OBIPRINT – HEADER & BANNER
   ================================================ */
.charte_obiprint_numero2 header #desktop {
    max-width: none;
    padding-left: 1rem;
    padding-right: 1rem;
}

#desktop-full-width {
    width: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.top-banner {
    background-color: #2b3eab;
    color: white;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 16px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .top-banner {
        font-size: 14px;
        padding: 8px 0;
    }
}

.search {
    width: 100% !important;
}

@media (min-width: 1024px) {
    .search {
        width: 90% !important;
    }
}

header .bandeau_top_header {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0.1rem 0;
    color: #ffffff;
}

header .bandeau_top_header_event {
    background: #FFe733;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem;
    text-align: center;
    font-size: large;
    font-weight: 500;
    color: black;
}

header .btn-lets-go-event {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    margin-left: 1rem;
    width: 11rem;
    border: 0.1rem solid #333333;
    background: #000000;
    color: #FFFFFF !important;
    font-size: 1.6rem;
    font-weight: 400;
    border-radius: 2.5rem;
}

header .bandeau_top_header > div {
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
}

header .bandeau_top_header > div > div {
    height: 2.4rem;
}

header .bandeau_top_header #msg_left,
header .bandeau_top_header #top_links {
    display: none;
}

header .bandeau_top_header .top_link {
    height: 0;
    overflow: hidden;
    transition: 0.3s all;
}

header .bandeau_top_header .top_link.active {
    height: 2.4rem;
}

header .bandeau_top_header .top_link a {
    color: #ffffff;
}

header .bandeau_top_header .top_link a:hover {
    text-decoration: underline;
}

header .bandeau_top_header .top_link span {
    padding: 0.4rem 0rem 0.3rem 0rem;
    font-size: 1.4rem;
}

header .bandeau_top_header > div:first-child p {
    padding: 0.4rem 0rem 0.3rem 0rem;
}

header .bandeau_top_header.highlighted {
    background: #FFE733;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem 0;
    color: #000000;
}

header .bandeau_top_header.highlighted.highlighted_blue {
    background: #93DBDB;
}

header .bandeau_top_header.highlighted.highlighted_FF3E3D {
    background: #FF3E3D;
    color: #FFFFFF;
}

header .bandeau_top_header.highlighted.use_black_icons div#msg_left,
header .bandeau_top_header.highlighted.use_black_icons .top_link a {
    color: #000000;
}

header .bandeau_top_header.highlighted.highlighted_FF3E3D .top_link a {
    color: #FFFFFF;
}

header .bandeau_top_header span.countdown_elmt {
    display: inline-block;
    text-align: center;
    font-weight: 500;
}

header .bandeau_top_header.highlighted span.countdown_elmt {
    background: #000000;
    color: #FFFFFF;
    height: 3rem;
    width: 3.5rem;
    line-height: 3rem;
    border-radius: 0.5rem;
}

header .bandeau_top_header span#countdown_d_label {
    margin: 0 0.5rem 0 0.3rem;
    font-size: 1.4rem;
}

header .bandeau_top_header span#countdown_h {
    margin-right: 0.3rem;
}

header .bandeau_top_header span#countdown_m {
    margin: 0 0.3rem;
}

header .bandeau_top_header span#countdown_s {
    margin-left: 0.3rem;
    margin-right: 1rem;
}

header #desktop #fake-searchbox {
    display: inline-block;
    width: 100%;
    height: 4.5rem;
    margin: 0;
    padding: 1.5rem 3rem 1rem 1rem;
    background: #ECECEC;
    border: 0;
    border-radius: 3rem;
    font-size: 1.3rem;
    color: #5a5e9a;
    cursor: text;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

header #desktop #fake-searchbox:before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%235a5e9a%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%228%22%3E%3C%2Fcircle%3E%3Cline%20x1%3D%2221%22%20y1%3D%2221%22%20x2%3D%2216.65%22%20y2%3D%2216.65%22%3E%3C%2Fline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: 20px 20px;
    content: "";
    height: 20px;
    width: 20px;
    position: absolute;
    top: 47%;
    margin-top: -2px;
}

header #desktop #fake-searchbox > span {
    font-size: medium;
    margin-top: -0.4rem;
}

#desktop .point img {
    float: none;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

header #desktop .account_and_cart {
    width: 100%;
    justify-content: end;
}

.account_and_cart .point {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
    max-width: 36rem;
    width: auto;
    float: none;
}

.account_and_cart .point .illustration {
    width: 7rem;
    height: 5rem;
}

.account_and_cart .point .text {
    width: calc(100% - 7rem);
    padding: 0;
    float: none;
}

.account_and_cart .point img {
    float: none;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.account_and_cart .point div p {
    font-size: 1.5rem;
    margin: 0;
}

.account_and_cart .point div p:first-child {
    color: #333333;
    text-transform: none;
    font-weight: 400;
}

.account_and_cart .point div p:last-child {
    display: flex;
    color: #A1A1A1;
    text-transform: none;
    font-weight: 300;
    font-size: 1.2rem;
}

#desktop .socialContainer {
    width: 40px;
    height: 40px;
    background-color: white;
    transition-duration: 0.3s;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.containerOne:hover {
    background-color: #2B3EAB !important;
    color: white;
    transition-duration: 0.3s;
    transform: scale(1.5);
    border-radius: 15px;
}

.containerTwo:hover {
    background-color: #1676D6 !important;
    color: white;
    transition-duration: 0.3s;
    transform: scale(1.5);
    border-radius: 15px;
}

.containerThree:hover {
    background-color: #01AEFD !important;
    color: white;
    transition-duration: 0.3s;
    transform: scale(1.5);
    border-radius: 15px;
}

.socialContainer:active {
    transform: scale(0.9);
    transition-duration: 0.3s;
}

.socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
}

.containerTwo:hover i {
    color: white;
}

.containerTwo:hover .shopping-number {
    color: black;
}


/* ================================================
   2. NAVTAB & DESKTOP NAV
   ================================================ */
.navtab {
    position: relative;
    --bg-hover-color: #2b3eab;
    --text-color: #6a778e;
    --text-hover-color: #ffffff;
}

.navtab a {
    position: relative;
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.25s ease;
    z-index: 2;
}

.navtab::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 2px;
    width: calc(100% - 16px);
    height: 44px;
    background: var(--bg-hover-color);
    border-radius: 22px;
    transform: scale(0);
    transition:
            transform 0.25s ease,
            top 0.25s cubic-bezier(1, 0.2, 0.1, 1.2);
    z-index: 1;
}

.navtab:hover::before {
    transform: scale(1);
    animation: gooey 0.25s;
}

.navtab:hover a {
    color: var(--text-hover-color);
}

@keyframes gooey {
    0%   { transform: scale(1, 1); }
    50%  { transform: scale(0.6, 1.4); }
    100% { transform: scale(1, 1); }
}

.navtab.active::before {
    transform: scale(1);
}

.navtab.active a {
    color: var(--text-hover-color);
}

.charte_obiprint_numero2 header #desktop-full-width nav .navtab:hover,
.charte_obiprint_numero2 header #desktop-full-width nav .navtab.hover {
    border-color: transparent !important;
}

.layout {
    display: grid;
    grid-template-columns: 10fr 2fr;
    gap: 1rem;
}

.btn-graphique {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 7px 14px;
    background-color: #2f55d4;
    color: white;
    border: none;
    border-radius: 999px;
    font-weight: 500;
    cursor: pointer;
}

.btn-graphique:hover {
    background-color: #2546b8;
}

.btn-graphique .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-graphique .icon i {
    font-size: 26px;
    color: white;
}

.btn-graphique .text {
    line-height: 1.1;
    text-align: center;
}

header #desktop .mobile_menu {
    padding-top: 1.5rem;
    justify-content: end;
}

.badge-danger {
    display: inline-block;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: super;
    color: #fff;
    background-color: #F87896;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 11px;
    margin-left: 1rem;
}

.category a:hover {
    color: #2546b8 !important;
}

.mega-products {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.mega-column {
    flex: 1;
}

.category-block {
    margin-bottom: 10px;
}

.cat-title {
    display: block;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
}

.alpha-first {
    font-weight: 700;
    color: #000;
}

.product-column {
    display: flex;
    flex-direction: column;
}

.product-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-column li {
    margin-bottom: 8px;
}

.product-column li a {
    font-weight: 400;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.product-column li a:hover {
    color: #000;
}

.mega-menu-products {
    width: 100%;
    background: #fff;
    padding: 35px 40px;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
}


/* ================================================
   3. MEGA MENU NAVIGATION
   ================================================ */

/* NAVIGATION */

.main-nav {
    position: relative;
}

.main-menu {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu > li > a {
    display: inline-block;
    padding: 20px 10px;
    text-decoration: none;
    color: #333;
}

/* PANEL */

.mega-menu {
    display: none;
    width: 100%;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
    padding: 30px;
}

.mega-menu.active {
    display: block;
}

/* COLONNES */

.mega-col {
    padding: 0 20px;
}

.mega-col-5 {
    width: 5%;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
}

.mega-col-25 {
    width: 25%;
    border-right: 1px solid #eee;
}

.mega-col-50 {
    width: 50%;
}

.mega-col-45 {
    width: 45%;
}

/* LEVEL 2 */

.level2-item a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.level2-item a:hover {
    background: #f5f7ff;
}

/* LEVEL 3 */

.level3-group {
    display: none;
}

.level3-group.active {
    display: block;
}

.level3-group h4 {
    margin-bottom: 10px;
}

.level3-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.level3-group li a {
    display: block;
    padding: 1rem;
    color: #555;
    text-decoration: none;
    font-size: larger;
    font-weight: 500;
}

.level3-group li a:hover {
    color: #2546b8
}

.level3-group li:last-child a {
    border-bottom: none;
}

.promo-text {
    margin-top: 15px;
}

.mega-header h2 {
    margin: 0;
    font-size: x-large;
    font-weight: 600;
    color: #222;
}

.mega-body {
    display: flex;
    width: 100%;
}

.mega-left {
    width: 60%;
    display: flex;
    padding-top: 2rem;
}

.mega-right {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mega-right img {
    width: 100%;
    height: auto;
    max-height: 400px;
    max-width: 600px;
    margin-right: 4rem;
}

.level2-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    transition: all .2s ease;
}

.level2-item a:hover {
    background: #F3F4FE;
    color: #4061DF;
    transform: translateX(4px);
}

.level2-item a.active {
    background: #F3F4FE;
    color: #4061DF;
    transform: translateX(4px);
}

.lvl2-left {
    display: flex;
    align-items: center;
    margin-right: 10px;
    font-size: large;
}

.lvl2-text {
    flex: 1;
    font-weight: 600;
    font-size: medium;
}

.lvl2-right {
    color: #999;
    font-size: 18px;
}

.btn-products {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    backdrop-filter: blur(12px);
    background: #F3F4FE;
    color: #4061DF;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    transition: .35s;
    box-shadow: 0 8px 24px rgba(32, 48, 120, .08);
}

.btn-products:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(73, 101, 255, .18);
}

.btn-container {
    display: flex;
    justify-content: center;
}

.mega-trigger {
    font-weight: 500;
}

.main-menu a:hover,
.main-menu .is-open a {
    font-weight: 600;
    color: #4061DF;
    border-bottom: 2px solid #4061DF;
    padding-bottom: 2px;
}

.main-menu .is-open a {
    color: #4061DF !important;
}
/* Mega menu Tous les produits */

.mega-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 9998;
}

.mega-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mega-wrapper {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100vw;
    z-index: 9999;
}

.mega-menu {
    position: relative;
    z-index: 9999;
}

.mega-wrapper,
.mega-menu {
    isolation: isolate;
}

#tb.blurred {
    filter: blur(6px);
    position: relative;
}

#tb.blurred::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

#homepage.blurred {
    filter: blur(6px);
    position: relative;
}

#homepage.blurred::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

#wrapper.blurred {
    filter: blur(6px);
    position: relative;
}

#wrapper.blurred::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}


/* ================================================
   4. DESIGN CARD
   ================================================ */
.design-card {
    width: 340px;
    padding: 5px 20px;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: .3s;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-right: 1rem;
}

.design-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.design-card__left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.design-card__icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2b5fd9;
    background: #eef4ff;
    border-radius: 12px;
    font-size: 22px;
}

.design-card__content {
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
}

.design-card__title {
    margin: 0;
    color: #2b5fd9;
    font-size: small;
    font-weight: 600;
}

.design-card__subtitle {
    margin-top: 4px;
    color: #8d8d8d;
    font-size: 13px;
}

.design-card__arrow {
    color: #555;
    font-size: 18px;
    transition: .3s;
}

.design-card:hover .design-card__arrow {
    transform: translateX(5px);
}

.design-card-link {
    display: inline-block;
    text-decoration: none;
}

.vertical-line {
    width: 1px;
    height: 50px;
    background: lightgrey;
    margin-top: 1rem;
}
.desktop-only {
    display: none;
}

.desktop-only-flex {
    display: none;
}

@media screen and (min-width: 1024px) {
    .desktop-only {
        display: block;
    }
    .desktop-only-flex {
        display: flex;
    }
}