/* Crabi — en-tête et footer uniques, version 2026-09-08.
   Les styles de page ne doivent jamais redéfinir ces composants. */
:root{--crabi-shell-ink:#162b63;--crabi-shell-salmon:#ff7d69;--crabi-shell-paper:#fffaf6;--crabi-shell-cream:#fff1ea;--crabi-shell-line:#f0d6cd}
.crabi-shared-header,.crabi-shared-header *,.crabi-shared-footer,.crabi-shared-footer *,.crabi-shell-wave,.crabi-shell-wave::before{box-sizing:border-box}
.crabi-shared-header{position:relative;z-index:20;background:var(--crabi-shell-paper);color:var(--crabi-shell-ink);font-family:Poppins,Arial,sans-serif;text-align:left;border:0;box-shadow:none;padding:0;margin:0;max-width:none;width:100%;min-height:0}
.crabi-shell-header-inner{position:relative;max-width:1340px;width:100%;height:94px;margin:0 auto;padding:0 37px;display:flex;align-items:center;gap:42px}
.crabi-shell-brand{display:flex;align-items:center;justify-content:center;flex:0 0 108px;text-decoration:none;line-height:1}
.crabi-shell-brand img{display:block;width:108px;height:94px;max-width:none;object-fit:contain;animation:none!important;transform:none!important}
.crabi-shared-header .crabi-primary-nav{display:flex;align-items:center;justify-content:space-between;flex:1;min-width:0;min-height:0;margin:0;padding:0;background:transparent;border:0;gap:30px;flex-wrap:nowrap}
.crabi-shared-header .crabi-primary-links{display:flex;align-items:center;justify-content:center;gap:26px;flex:1;min-width:0;flex-wrap:nowrap;margin:0;padding:0}
.crabi-shared-header .crabi-primary-links a{display:inline-flex;align-items:center;position:relative;padding:10px 0;text-decoration:none;white-space:nowrap;font:600 13px/1.5 "Playfair Display",Georgia,serif;color:var(--crabi-shell-ink);border:0;background:none}
.crabi-shared-header .crabi-primary-links a:hover,.crabi-shared-header .crabi-primary-links a[aria-current="page"]{color:#e76655}
.crabi-shared-header .crabi-primary-links a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:4px;height:2px;background:var(--crabi-shell-salmon);border-radius:2px}
.crabi-shared-header .cart-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0;padding:0;color:var(--crabi-shell-ink);background:transparent;border:0;border-radius:0;text-decoration:none}
.crabi-shared-header .cart-icon:hover{color:#e76655}
.crabi-shared-header .crabi-cart-svg,.crabi-shared-footer .crabi-cart-svg{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.crabi-shared-header .cart-count,.crabi-shared-footer .cart-count{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;background:var(--crabi-shell-salmon);color:#fff;border-radius:50%;font:700 10px/1 Poppins,Arial,sans-serif;text-align:center;white-space:nowrap;transform:none}
.crabi-shared-header .crabi-menu-trigger{display:none}
.crabi-shared-header a:focus-visible,.crabi-shared-footer a:focus-visible{outline:3px solid #b85c38;outline-offset:4px}
/* La vague et les éléments décoratifs sont les mêmes sur toutes les pages. */
.crabi-shell-wave{display:none!important}
.crabi-shared-footer{position:relative;isolation:isolate;overflow:hidden;width:100%;min-height:0;margin:0;padding:25px 20px 20px;background:var(--crabi-shell-ink);color:#fff;text-align:center;font:400 12px/1.6 Poppins,Arial,sans-serif;border:0;box-shadow:none;flex-shrink:0}
.crabi-shared-footer::before,.crabi-shared-footer::after{content:"";position:absolute;z-index:-1;pointer-events:none}
.crabi-shared-footer::before{left:-45px;bottom:-95px;width:180px;height:180px;border-radius:42% 58% 43% 57%;background:#fff;opacity:.06;transform:rotate(23deg)}
.crabi-shared-footer::after{right:0;bottom:0;width:115px;height:145px;background:url('images/shared-decor/footer-plant-desktop.png') right bottom/contain no-repeat}
.crabi-shell-footer-inner{position:relative;max-width:1280px;margin:0 auto;padding:0;display:flex;flex-direction:column;align-items:center;gap:16px}
.crabi-shell-footer-top{display:flex;align-items:center;justify-content:center;gap:27px;width:100%;margin:0;padding:0}
.crabi-shared-footer nav{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;min-height:0;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
.crabi-shared-footer nav a{color:#fff;text-decoration:none;font:400 12px/1.6 Poppins,Arial,sans-serif;white-space:nowrap}
.crabi-shared-footer a:hover{text-decoration:underline;color:#fff}
.crabi-shell-footer-social{display:flex;align-items:center;justify-content:center;gap:24px;border-left:1px solid rgba(255,255,255,.35);padding:0 0 0 24px;margin:0;flex-shrink:0}
.crabi-shell-footer-social a{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:#fff;text-decoration:none}
.crabi-shell-footer-social svg,.crabi-shell-footer-bottom svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.crabi-shell-footer-social .cart-count{top:-5px;right:-6px;min-width:17px;height:17px}
.crabi-shell-footer-bottom{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;text-align:center;font:400 12px/1.6 Poppins,Arial,sans-serif;color:#f3ebee;margin:0;padding:0}
.crabi-shell-footer-bottom a{display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#f3ebee;text-decoration:none;font:inherit}
.crabi-shell-footer-bottom svg{width:20px;height:20px}
.crabi-shell-footer-divider{opacity:.6}
/* Navigation compacte issue du même composant, sans variantes par page. */
.crabi-sticky-bar{font-family:Poppins,Arial,sans-serif}
.crabi-sticky-inner{max-width:1280px;min-height:78px}
.crabi-sticky-links a{font-family:Poppins,Arial,sans-serif}
.crabi-sticky-cart .cart-count{color:#fff}
@media(min-width:801px) and (max-width:1100px){
 .crabi-shell-header-inner{padding:0 28px;gap:20px}
 .crabi-shell-brand{flex-basis:92px}.crabi-shell-brand img{width:92px;height:82px}
 .crabi-shared-header .crabi-primary-nav{gap:15px}
 .crabi-shared-header .crabi-primary-links{gap:16px}
 .crabi-shared-header .crabi-primary-links a{font-size:12px}
}
@media(max-width:800px){
 .crabi-shell-header-inner{height:78px;padding:0 18px;gap:0}
 .crabi-shell-brand{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;flex:0 0 auto}
 .crabi-shell-brand img{width:74px;height:65px}
 .crabi-shared-header .crabi-primary-nav{width:100%;height:78px;min-height:78px;gap:0;justify-content:space-between;padding:0;background:transparent;border:0}
 html.crabi-nav-ready .crabi-shared-header .crabi-primary-links{display:none}
 .crabi-shared-header .crabi-primary-nav .crabi-menu-trigger{display:inline-flex;position:relative;z-index:2;order:-1;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:#162b63;box-shadow:none}
 .crabi-shared-header .crabi-menu-trigger .crabi-menu-word{display:none}
 .crabi-shared-header .crabi-menu-trigger svg{width:31px;height:31px;stroke-width:1.8}
 .crabi-shared-header .cart-icon{position:relative;z-index:2;flex:0 0 44px;margin-left:auto;color:#162b63}
 .crabi-shared-footer{padding:29px 18px 25px}
 .crabi-shared-footer::after{right:0;bottom:0;width:115px;height:145px;background:url('images/shared-decor/footer-plant-desktop.png') right bottom/contain no-repeat;opacity:1}
 .crabi-shell-footer-inner{max-width:750px;gap:18px;padding:0 18px}
 .crabi-shell-footer-top{flex-direction:column;gap:18px}
 .crabi-shared-footer nav{gap:12px 18px}
 .crabi-shared-footer nav a{font-size:12px}
 .crabi-shell-footer-social{border-left:0;padding:0;gap:25px}
 .crabi-shell-footer-bottom{font-size:11px;gap:10px 16px}
 .crabi-sticky-inner{position:relative;min-height:68px;padding:0 16px;gap:0}
 .crabi-sticky-bar .crabi-nav-brand{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);flex:0 0 auto;z-index:1}
 .crabi-sticky-bar .crabi-nav-brand img{width:66px;height:58px}
 .crabi-sticky-actions{display:flex;justify-content:space-between;align-items:center;gap:0;width:100%;margin:0;position:relative;z-index:2}
 .crabi-sticky-actions .crabi-menu-trigger{order:-1;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#162b63}
 .crabi-sticky-actions .crabi-menu-trigger .crabi-menu-word{display:none}
 .crabi-sticky-actions .crabi-menu-trigger svg{width:31px;height:31px;stroke-width:1.8}
 .crabi-sticky-cart{order:2;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:#162b63!important}
 .crabi-sticky-cart:hover{background:transparent;transform:none}
 .crabi-sticky-cart .crabi-cart-svg{width:26px;height:26px;stroke-width:1.65}
 .crabi-sticky-cart .cart-count{top:0;right:-1px;min-width:18px;height:18px}
 .crabi-sticky-cart .crabi-cart-word{display:none}
}
@media(max-width:360px){.crabi-shell-header-inner{padding:0 11px}.crabi-shell-footer-inner{padding:0 4px}.crabi-shared-footer nav{gap:10px 14px}.crabi-shared-footer nav a{font-size:11px}}
@media(max-width:800px){
 html:not(.crabi-nav-ready) .crabi-shared-header .crabi-shell-header-inner{display:flex;flex-direction:column;height:auto;min-height:78px;padding:8px 16px}
 html:not(.crabi-nav-ready) .crabi-shared-header .crabi-shell-brand{position:static;transform:none}
 html:not(.crabi-nav-ready) .crabi-shared-header .crabi-primary-nav{height:auto;min-height:0;flex-wrap:wrap;justify-content:center;gap:8px}
 html:not(.crabi-nav-ready) .crabi-shared-header .crabi-primary-nav>a:not(.cart-icon){color:var(--crabi-shell-ink)}
}
@media print{.crabi-shared-header,.crabi-shell-wave,.crabi-shared-footer,.crabi-sticky-bar,.crabi-menu-dialog,.crabi-back-to-top{display:none!important}}
@media(prefers-reduced-motion:reduce){.crabi-shared-header *,.crabi-shared-footer *{animation:none!important;transition:none!important}}


/* 2026-09 — refresh couleurs plus vibrantes */
:root{--crabi-shell-ink:#162b63;--crabi-shell-salmon:#ff7d69;--crabi-shell-paper:#fffaf6;--crabi-shell-cream:#fff1ea;--crabi-shell-line:#f0d6cd;--crabi-shell-gold:#f2b321}
.crabi-shared-header{background:rgba(255,250,246,.97);backdrop-filter:saturate(150%) blur(6px);box-shadow:0 1px 0 rgba(240,214,205,.9)}
.crabi-shell-header-inner{max-width:1380px}
.crabi-shared-header .crabi-primary-links a{font-size:15px;letter-spacing:.01em}
.crabi-shared-header .crabi-primary-links a:hover,.crabi-shared-header .crabi-primary-links a[aria-current="page"]{color:#e76655}
.crabi-shared-header .cart-icon:hover{color:#e76655}
.crabi-shared-header .cart-count,.crabi-shared-footer .cart-count{background:#ff7d69;box-shadow:0 0 0 3px rgba(255,250,246,.92)}
.crabi-shared-footer{background:linear-gradient(180deg,#162b63 0%,#132554 100%)}
.crabi-shared-footer::before{background:#5e6fab;opacity:.18}
.crabi-shell-footer-social{border-left:1px solid rgba(255,255,255,.22)}
.crabi-shared-footer nav a,.crabi-shell-footer-bottom,.crabi-shell-footer-bottom a{color:#fff}
.crabi-shell-footer-bottom{color:#eef2ff}
@media(max-width:800px){.crabi-shared-footer{padding-top:32px}.crabi-shell-footer-social{border-left:0}}


/* 2026-09 — style2 ultra vibrant crabs */
:root{--crabi-shell-ink:#102b7b;--crabi-shell-salmon:#ff6757;--crabi-shell-paper:#fff9f4;--crabi-shell-cream:#fff2ea;--crabi-shell-line:#ffd8cd;--crabi-shell-gold:#ffc53a;--crabi-shell-aqua:#53c7be}
.crabi-shared-header{background:linear-gradient(180deg,rgba(255,249,244,.985) 0%,rgba(255,245,239,.975) 100%);border-bottom:1px solid rgba(255,189,173,.72);box-shadow:0 14px 32px rgba(16,43,123,.08)}
.crabi-shared-header .crabi-primary-links a{padding:10px 14px;border-radius:999px;transition:background .22s,color .22s,transform .22s}
.crabi-shared-header .crabi-primary-links a:hover,.crabi-shared-header .crabi-primary-links a[aria-current="page"]{background:#ffe6df;color:#f05c4f;transform:translateY(-1px)}
.crabi-shared-header .cart-icon{border-radius:999px}
.crabi-shared-header .cart-icon:hover{background:#ffe6df}
.crabi-shared-header .cart-count,.crabi-shared-footer .cart-count{background:#ff6757;box-shadow:0 0 0 3px rgba(255,250,246,.95)}
.crabi-shared-footer{background:url('images/shared-decor/crab-pattern-footer.svg') center top/cover no-repeat,linear-gradient(135deg,#102b7b 0%,#163582 52%,#0f265c 100%);padding-top:30px}
.crabi-shared-footer::before{background:#6d7fbc;opacity:.18}
.crabi-shell-footer-inner{gap:18px}
.crabi-shared-footer nav a{padding:6px 2px;border-radius:999px;transition:color .2s ease,opacity .2s ease}
.crabi-shared-footer nav a:hover{color:#fff2ae;text-decoration:none;opacity:1}
.crabi-shell-footer-social{border-left:1px solid rgba(255,255,255,.24)}
.crabi-shell-footer-social a:hover{color:#fff2ae;transform:translateY(-1px)}
.crabi-shell-footer-bottom{color:#f4f3ff}
@media(max-width:800px){.crabi-shared-footer{padding-top:34px;background-position:center top,center top}.crabi-shared-footer nav a:hover{transform:none}}


/* 2026-09 — vivid style without crabs, base algae decorations */
.crabi-shared-footer{background:linear-gradient(135deg,#16164f 0%,#1d2266 48%,#131449 100%)!important;padding-top:22px}
.crabi-shared-footer::before{background:#7380b6!important;opacity:.18!important}


/* 2026-09 — user tweaks: desktop menu like reference */
@media(min-width:801px){.crabi-shared-header{background:#fffdfa!important;box-shadow:none!important;border-bottom:0!important;backdrop-filter:none!important}.crabi-shared-header .crabi-primary-links{gap:26px!important}.crabi-shared-header .crabi-primary-links a{padding:10px 0!important;border-radius:0!important;background:none!important;color:#1e1b3a!important;font:600 13px/1.5 "Playfair Display",Georgia,serif!important;letter-spacing:0!important;transition:color .2s ease!important}.crabi-shared-header .crabi-primary-links a:hover,.crabi-shared-header .crabi-primary-links a[aria-current="page"]{background:none!important;color:#d87762!important;transform:none!important}.crabi-shared-header .crabi-primary-links a[aria-current="page"]::after{content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:4px!important;height:2px!important;background:#d87762!important;border-radius:2px!important}.crabi-shared-header .cart-icon{border-radius:0!important;background:transparent!important}.crabi-shared-header .cart-icon:hover{background:transparent!important;color:#d87762!important}}


/* 2026-09 — harmonisation final */
@media(min-width:801px){.crabi-shared-header{background:#fffdfa!important}.crabi-shared-footer{box-shadow:none!important}.crabi-shell-footer-inner{max-width:1280px;margin:0 auto}}


/* 2026-09 — final refinement pack */
@media(min-width:801px){.crabi-shell-header-inner{max-width:1240px!important;padding:0 30px!important}.crabi-shared-header .crabi-primary-links{gap:28px!important}.crabi-shared-header .crabi-primary-links a{font-size:13px!important;font-weight:600!important;line-height:1.45!important}.crabi-shared-header .cart-icon{width:40px!important;height:40px!important}.crabi-shared-footer{padding:26px 20px 18px!important}.crabi-shell-footer-inner{max-width:1240px!important;gap:14px!important}.crabi-shell-footer-top{gap:24px!important}.crabi-shared-footer nav{gap:18px!important}.crabi-shared-footer nav a{font-size:12px!important;opacity:.94}.crabi-shell-footer-social{gap:18px!important;padding-left:20px!important;border-left:1px solid rgba(255,255,255,.18)!important}.crabi-shell-footer-social a,.crabi-shell-footer-bottom a{transition:opacity .2s ease,color .2s ease,transform .2s ease}.crabi-shell-footer-social a:hover,.crabi-shell-footer-bottom a:hover{opacity:1;color:#ffd7c9!important;text-decoration:none!important;transform:translateY(-1px)}.crabi-shell-footer-bottom{gap:16px!important;font-size:11.5px!important;opacity:.95}.crabi-shell-footer-divider{opacity:.35!important}}


/* Crabi — ajustements ciblés du menu et du footer, 09.09.2026 */
:root {
  --crabi-menu-blue: #173C91;
  --crabi-menu-orange: #E75D32;
  --crabi-footer-navy: #18223A;
  --crabi-footer-navy-deep: #11192D;
}
@media (min-width: 801px) {
  .crabi-shared-header .crabi-primary-links {
    gap: 26px !important;
  }
  .crabi-shared-header .crabi-primary-links a {
    color: var(--crabi-menu-blue) !important;
    font: 600 17px/1.45 "Playfair Display", Georgia, serif !important;
    letter-spacing: 0 !important;
  }
  .crabi-shared-header .crabi-primary-links a:hover,
  .crabi-shared-header .crabi-primary-links a[aria-current="page"] {
    color: var(--crabi-menu-orange) !important;
    background: transparent !important;
  }
  .crabi-shared-header .crabi-primary-links a[aria-current="page"]::after {
    background: var(--crabi-menu-orange) !important;
  }
  .crabi-shared-header .cart-icon,
  .crabi-shared-header .crabi-primary-nav .crabi-menu-trigger {
    color: var(--crabi-menu-blue) !important;
  }
  .crabi-shared-header .cart-icon:hover {
    color: var(--crabi-menu-orange) !important;
  }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .crabi-shared-header .crabi-primary-links {
    gap: 16px !important;
  }
  .crabi-shared-header .crabi-primary-links a {
    font-size: 15.5px !important;
  }
}
.crabi-shared-header .cart-count,
.crabi-shared-footer .cart-count {
  background: var(--crabi-menu-orange) !important;
}
.crabi-shared-footer {
  background: linear-gradient(135deg, var(--crabi-footer-navy) 0%, #151E34 52%, var(--crabi-footer-navy-deep) 100%) !important;
  color: #F7F4F0;
}
.crabi-shared-footer::before {
  background: #73809B !important;
  opacity: .09 !important;
}
.crabi-shared-footer nav a,
.crabi-shell-footer-bottom,
.crabi-shell-footer-bottom a,
.crabi-shell-footer-social a {
  color: #F7F4F0 !important;
}
.crabi-shared-footer nav a:hover,
.crabi-shell-footer-bottom a:hover,
.crabi-shell-footer-social a:hover {
  color: #D9A997 !important;
}
.crabi-shared-footer .crabi-shell-footer-social {
  border-left-color: rgba(255,255,255,.16) !important;
}
@media (max-width: 800px) {
  .crabi-shared-header .crabi-primary-nav .crabi-menu-trigger,
  .crabi-shared-header .cart-icon {
    color: var(--crabi-menu-blue) !important;
  }
}
