/* Fleurs de Café — Mega menu compte BeTheme v1.0.4 */
/* Never allow a hidden mega-menu to become visible through BeTheme global CSS. */
#fdc-account-mega[hidden]{display:none !important;}
/* Suppress legacy BeTheme popup only after the new panel is fully ready. */
body.fdc-account-mega-ready .mfn-header-login.mfn-header-modal-nav{display:none !important;visibility:hidden !important;pointer-events:none !important;}
body .fdc-account-mega{
  --fdc-green:#245b43;--fdc-ink:#46362d;--fdc-muted:#71675e;
  box-sizing:border-box;position:fixed !important;inset:var(--fdc-account-top,110px) 0 auto 0 !important;
  width:100% !important;max-width:100vw !important;margin:0 !important;padding:0 !important;
  z-index:999997 !important;background:#f8f5ef !important;
  border-top:1px solid #eae3d9 !important;border-bottom:1px solid #e3dbd0 !important;
  border-radius:0 !important;box-shadow:0 22px 38px rgba(38,37,27,.16) !important;
  color:var(--fdc-ink) !important;max-height:calc(100dvh - var(--fdc-account-top,110px));overflow:auto;
}
body .fdc-account-mega, body .fdc-account-mega * {box-sizing:border-box;}
body .fdc-account-mega__inner{
 display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.5fr);gap:clamp(28px,5vw,75px);
 width:min(1120px,calc(100% - 60px));margin:0 auto;padding:36px 0 40px;
}
body .fdc-account-mega__intro{padding:12px 32px 12px 0;border-right:1px solid #ded7cc;}
body .fdc-account-mega__eyebrow{font-size:10px !important;letter-spacing:.2em !important;color:var(--fdc-green) !important;font-weight:700 !important;margin:0 0 14px !important;line-height:1.45 !important;}
body .fdc-account-mega__intro h2{font:normal clamp(25px,2.5vw,38px)/1.18 Georgia,serif !important;color:var(--fdc-ink) !important;margin:0 0 14px !important;letter-spacing:-.02em !important;}
body .fdc-account-mega__intro>p:not(.fdc-account-mega__eyebrow){color:var(--fdc-muted) !important;font-size:13px !important;line-height:1.75 !important;margin:0 0 20px !important;max-width:310px;}
body .fdc-account-mega__shop{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 22px;border-radius:999px;background:var(--fdc-green);color:#fff !important;font-size:12px !important;font-weight:600 !important;text-decoration:none !important;box-shadow:0 6px 16px rgba(36,91,67,.14);}
body .fdc-account-mega__shop:hover{background:#164530;color:#fff !important;}
body .fdc-account-mega__right{min-width:0;}
body .fdc-account-mega__lead{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:20px;}
body .fdc-account-mega__lead h3{font:normal 23px/1.25 Georgia,serif !important;color:var(--fdc-ink) !important;margin:0 !important;}
body .fdc-account-mega__close{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid #e4ddd2;background:#fff;color:#685d52;border-radius:50%;font-size:24px;line-height:1;cursor:pointer;}
body .fdc-account-mega__close:hover{color:var(--fdc-green);background:#eaf0e8;}
body .fdc-account-mega__right nav{width:100% !important;float:none !important;display:block !important;}
body .fdc-account-mega__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
body .fdc-account-mega__link{display:flex;align-items:center;gap:13px;padding:15px;border:1px solid #e8e2d8;border-radius:12px;background:#fffdf9;color:var(--fdc-ink) !important;text-decoration:none !important;min-height:78px;box-shadow:0 3px 9px rgba(38,37,27,.025);transition:background .18s,border-color .18s,transform .18s;}
body .fdc-account-mega__link:hover,body .fdc-account-mega__link:focus-visible,body .fdc-account-mega__link.is-active{background:#ebf1e9;border-color:#cadccc;color:var(--fdc-green) !important;}
body .fdc-account-mega__link:hover{transform:translateY(-1px);}
body .fdc-account-mega__link:focus-visible,body .fdc-account-mega__shop:focus-visible,body .fdc-account-mega__close:focus-visible{outline:2px solid #386f51;outline-offset:2px;}
body .fdc-account-mega__icon{display:inline-flex;flex:0 0 41px;width:41px;height:41px;align-items:center;justify-content:center;background:#edf1e9;color:var(--fdc-green);border-radius:12px;}
body .fdc-account-mega__icon svg{width:21px;height:21px;display:block;}
body .fdc-account-mega__link-copy{display:flex;flex-direction:column;gap:4px;min-width:0;}
body .fdc-account-mega__link-copy strong{font-size:13px !important;line-height:1.3 !important;font-weight:650 !important;color:inherit !important;}
body .fdc-account-mega__link-copy small{font-size:11px !important;line-height:1.45 !important;color:#7c746c !important;}
body .fdc-account-mega__signout{display:flex;justify-content:flex-end;margin-top:12px;padding-top:12px;border-top:1px solid #e4dbd0;}
body .fdc-account-mega__signout .fdc-account-mega__link{min-height:0;background:transparent;box-shadow:none;border:0;padding:8px 10px;}
body .fdc-account-mega__signout .fdc-account-mega__icon{height:30px;width:30px;flex-basis:30px;background:transparent;}
body .fdc-account-mega__signout small{display:none;}
@media(max-width:800px){
 body .fdc-account-mega__inner{grid-template-columns:1fr;gap:20px;padding:25px 0;width:min(680px,calc(100% - 36px));}
 body .fdc-account-mega__intro{border-right:0;border-bottom:1px solid #ded7cc;padding:0 0 20px;}
 body .fdc-account-mega__intro h2{font-size:27px !important;}
 body .fdc-account-mega__intro>p:not(.fdc-account-mega__eyebrow){max-width:100%;margin-bottom:15px !important;}
}
@media(max-width:520px){
 body .fdc-account-mega__grid{grid-template-columns:1fr;gap:8px;}
 body .fdc-account-mega__link{min-height:65px;padding:10px 12px;}
 body .fdc-account-mega__intro h2{font-size:25px !important;}
 body .fdc-account-mega__inner{padding:20px 0;}
}
@media(prefers-reduced-motion:reduce){body .fdc-account-mega__link{transition:none;}}

/* Mobile quick actions anchored INSIDE the real BeTheme burger container. */
#fdc-mobile-actions {display:none!important;}
@media(max-width:959px){
  /* Keep the icon row within the mobile header, instead of using viewport/fixed coordinates. */
  .fdc-template-logo .column_header_burger,
  .fdc-template-logo .column_header_burger .mcb-column-inner {
    overflow:visible!important;
  }
  .fdc-template-logo .column_header_burger .mcb-column-inner {
    position:relative!important;
  }
  body #fdc-mobile-actions.fdc-mobile-actions.is-mounted {
    display:flex!important;
    position:absolute!important;
    top:50%!important;
    right:calc(100% + 7px)!important;
    left:auto!important;
    bottom:auto!important;
    transform:translateY(-50%)!important;
    z-index:20!important;
    align-items:center;
    gap:4px;
    width:max-content;
    height:40px;
    margin:0!important;
    padding:2px 4px;
    border:1px solid #e9e1d7;
    border-radius:999px;
    background:#f8f5ee;
    box-shadow:0 2px 9px rgba(30,60,45,.06);
  }
  body #fdc-mobile-actions .fdc-mobile-actions__button {
    position:relative!important;
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    min-width:36px;
    padding:7px!important;
    flex:0 0 36px;
    color:#245b43!important;
    background:transparent!important;
    border:0!important;
    border-radius:50%;
    box-shadow:none!important;
    text-decoration:none!important;
  }
  body #fdc-mobile-actions .fdc-mobile-actions__button:hover,
  body #fdc-mobile-actions .fdc-mobile-actions__button:focus-visible {
    background:#e4ede5!important;
  }
  body #fdc-mobile-actions .fdc-mobile-actions__button:focus-visible {
    outline:2px solid #245b43;outline-offset:2px;
  }
  body #fdc-mobile-actions svg {width:21px;height:21px;display:block;stroke:currentColor;}
  body #fdc-mobile-actions .fdc-mobile-actions__count {
    position:absolute;top:-2px;right:-3px;
    display:grid;place-items:center;
    min-width:16px;height:16px;
    padding:0 3px;border-radius:20px;
    background:#b85248;color:#fff;
    font:600 10px/1 sans-serif;
  }
  body #fdc-mobile-actions .fdc-mobile-actions__count[hidden]{display:none;}
  body .fdc-account-mega{overscroll-behavior:contain;}
  body .fdc-account-mega__inner{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));}
}
@media(max-width:360px){
  body #fdc-mobile-actions.fdc-mobile-actions.is-mounted{gap:1px;padding:2px;right:calc(100% + 3px)!important;}
  body #fdc-mobile-actions .fdc-mobile-actions__button{width:33px;height:34px;min-width:33px;flex-basis:33px;}
}

/* ==========================================================
   v1.0.6 — BeTheme mobile menu: lifecycle SAFE.
   Ne modifie PAS position, dimensions, display ou animation
   du panneau natif. BeTheme reste seul responsable du toggle.
   ========================================================== */
@media (max-width:959px) {
  /* État aria de BeTheme : jamais d'ouverture permanente. */
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="false"] {
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateX(105%) !important;
  }
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="true"] {
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateX(0) !important;
    z-index:2147483000 !important;
    background:#f8f5ef !important;
    box-shadow:-18px 0 55px rgba(28,45,33,.18) !important;
  }
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="true"] .mfn-header-tmpl-menu-sidebar-wrapper {
    padding-top:max(56px,env(safe-area-inset-top,0px)) !important;
    padding-right:clamp(14px,4vw,24px) !important;
    padding-left:clamp(14px,4vw,24px) !important;
    padding-bottom:calc(24px + env(safe-area-inset-bottom,0px)) !important;
  }
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="true"] .mfn-header-menu {
    display:flex !important; flex-direction:column; gap:9px;
    margin:0 !important; padding:0 !important;
  }
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="true"] .mfn-header-menu > li {
    list-style:none !important; width:100%; margin:0 !important; padding:0 !important;
  }
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="true"] .mfn-header-menu > li > a.mfn-menu-link {
    display:flex !important; align-items:center;
    min-height:46px; padding:12px 15px !important; width:100%;
    border-radius:12px; border:1px solid #e8e0d5;
    background:#fffdf9; color:#48372d !important;
    font-weight:600; text-decoration:none !important;
    box-sizing:border-box;
  }
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="true"] .mfn-header-menu > li.current-menu-item > a.mfn-menu-link,
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="true"] .mfn-header-menu > li > a.mfn-menu-link[aria-current="page"],
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="true"] .mfn-header-menu > li > a.mfn-menu-link:hover {
    color:#245b43 !important; background:#eaf0e8 !important; border-color:#d2dfd2 !important;
  }
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="true"] .mfn-header-menu > li > a.mfn-menu-link:focus-visible {outline:2px solid #245b43; outline-offset:2px;}
  body .mfn-header-tmpl-menu-sidebar[aria-expanded="true"] .mfn-header-menu > li:not(.menu-item-has-children) .menu-sub {display:none !important;}
  /* Burger overlay > quick account/cart; icon placement remains unchanged. */
  body.fdc-burger-menu-open #fdc-mobile-actions {pointer-events:none !important;}
  body.fdc-burger-menu-open #fdc-account-mega {display:none !important;}
}

/* ==========================================================
   FDC v1.0.7 — Drawer premium identique sur toutes les pages
   S'appuie sur le toggle BeTheme, sans toucher son état natif.
   ========================================================== */
@media(max-width:959px){
  body .mfn-header-tmpl-menu-sidebar.fdc-mobile-drawer-premium[aria-expanded="true"]{
    z-index:2147483000!important;
    background:#f7f2ea!important;
    box-shadow:-24px 0 55px rgba(35,46,34,.19)!important;
  }
  body .mfn-header-tmpl-menu-sidebar.fdc-mobile-drawer-premium[aria-expanded="false"]{
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateX(105%)!important;
  }
  body .fdc-mobile-drawer-premium .mfn-header-tmpl-menu-sidebar-wrapper{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    padding:24px 22px calc(28px + env(safe-area-inset-bottom,0px))!important;
    min-height:100%!important;
    background:linear-gradient(160deg,#f8f5ee 0%,#f5ede2 100%)!important;
    box-sizing:border-box!important;
  }
  body .fdc-mobile-drawer-premium .fdc-mobile-drawer-head{
    display:flex!important;align-items:center!important;
    min-height:76px!important;margin:0 0 20px!important;
    padding:0 0 10px!important;
  }
  body .fdc-mobile-drawer-premium .fdc-mobile-drawer-logo{
    display:inline-flex!important;align-items:center!important;
    justify-content:flex-start!important;max-width:110px!important;
    text-decoration:none!important;color:#26563f!important;
  }
  body .fdc-mobile-drawer-premium .fdc-mobile-drawer-logo img{
    width:74px!important;height:74px!important;
    max-width:74px!important;object-fit:contain!important;
    display:block!important;
  }
  body .fdc-mobile-drawer-premium .mfn-close-icon{
    position:absolute!important;
    z-index:10!important;
    top:16px!important;right:16px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:44px!important;height:44px!important;
    background:#fffdfa!important;border:1px solid #e6ded1!important;
    border-radius:50%!important;box-shadow:0 6px 19px rgba(35,46,34,.06)!important;
    color:#26563f!important;cursor:pointer!important;
  }
  body .fdc-mobile-drawer-premium .mfn-close-icon .icon{
    font-size:22px!important;color:inherit!important;line-height:1!important;
  }
  body .fdc-mobile-drawer-premium ul.mfn-header-menu{
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;gap:12px!important;
    width:100%!important;margin:0!important;padding:0!important;
    list-style:none!important;
  }
  body .fdc-mobile-drawer-premium ul.mfn-header-menu>li.mfn-menu-li{
    display:block!important;list-style:none!important;
    margin:0!important;padding:0!important;width:100%!important;
  }
  body .fdc-mobile-drawer-premium ul.mfn-header-menu>li.mfn-menu-li>a.mfn-menu-link{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    min-height:53px!important;width:100%!important;
    padding:13px 16px!important;box-sizing:border-box!important;
    border-radius:18px!important;border:1px solid #e7e1d7!important;
    background:rgba(255,255,255,.65)!important;
    color:#47362f!important;font-size:16px!important;font-weight:650!important;
    text-align:left!important;text-decoration:none!important;
    box-shadow:0 2px 8px rgba(52,43,33,.025)!important;
    transition:background .16s ease, border-color .16s ease!important;
  }
  body .fdc-mobile-drawer-premium ul.mfn-header-menu>li.mfn-menu-li>a.mfn-menu-link .fdc-menu-label,
  body .fdc-mobile-drawer-premium ul.mfn-header-menu>li.mfn-menu-li>a.mfn-menu-link .label-wrapper,
  body .fdc-mobile-drawer-premium ul.mfn-header-menu>li.mfn-menu-li>a.mfn-menu-link .menu-label{
    display:inline!important;margin:0!important;padding:0!important;
    color:inherit!important;font:inherit!important;line-height:1.4!important;
  }
  body .fdc-mobile-drawer-premium .mfn-menu-link .menu-item-helper,
  body .fdc-mobile-drawer-premium .mfn-menu-link .menu-sub{
    display:none!important;
  }
  body .fdc-mobile-drawer-premium ul.mfn-header-menu>li.fdc-mobile-drawer-current>a.mfn-menu-link,
  body .fdc-mobile-drawer-premium ul.mfn-header-menu>li.current-menu-item>a.mfn-menu-link{
    background:#eaf0e8!important;border-color:#d0dfd0!important;color:#245b43!important;
  }
  body .fdc-mobile-drawer-premium ul.mfn-header-menu>li.fdc-mobile-drawer-shop-item>a.mfn-menu-link{
    background:#28553f!important;border-color:#28553f!important;
    color:#fff!important;min-height:60px!important;
    box-shadow:0 7px 20px rgba(38,87,61,.12)!important;
  }
  body .fdc-mobile-drawer-premium ul.mfn-header-menu>li.fdc-mobile-drawer-shop-item>a.mfn-menu-link .menu-label{
    color:#fff!important;
  }
  body .fdc-mobile-drawer-premium .fdc-mobile-drawer-shop-tag{
    display:inline-flex!important;align-items:center!important;
    background:rgba(255,255,255,.17)!important;border-radius:999px!important;
    padding:5px 10px!important;color:#fff!important;
    font:700 10px/1.2 Arial,sans-serif!important;letter-spacing:.045em!important;
  }
  body .fdc-mobile-drawer-premium .fdc-mobile-drawer-trust{
    display:flex!important;flex-direction:column!important;gap:10px!important;
    padding:18px 16px!important;margin-top:24px!important;
    border:1px solid #d6d5ca!important;border-radius:18px!important;
    background:#e7e8df!important;color:#28523e!important;
    box-shadow:0 4px 12px rgba(31,61,43,.035)!important;
  }
  body .fdc-mobile-drawer-premium .fdc-mobile-drawer-trust-item{
    display:flex!important;align-items:center!important;gap:10px!important;
    font:600 12px/1.4 Arial,sans-serif!important;color:#28523e!important;
  }
  body .fdc-mobile-drawer-premium .fdc-mobile-drawer-trust-item svg{
    width:17px!important;height:17px!important;flex:0 0 17px!important;
  }
  body .fdc-mobile-drawer-premium a:focus-visible,
  body .fdc-mobile-drawer-premium .mfn-close-icon:focus-visible{
    outline:2px solid #245b43!important;outline-offset:3px!important;
  }
}
@media(max-width:370px){
  body .fdc-mobile-drawer-premium .mfn-header-tmpl-menu-sidebar-wrapper{padding-left:16px!important;padding-right:16px!important;}
  body .fdc-mobile-drawer-premium ul.mfn-header-menu>li.mfn-menu-li>a.mfn-menu-link{font-size:15px!important;}
}
@media(prefers-reduced-motion:reduce){body .fdc-mobile-drawer-premium *{transition:none!important;}}
