:root {
  --iv-ink: #183349;
  --iv-blue: #dcedfa;
  --iv-ice: #f4f9fd;
  --iv-yellow: #fff0aa;
  --iv-edge: #c4dae9;
}
body.ast-desktop, body.ast-header-break-point { background: #fff; color: var(--iv-ink); }
#masthead .ast-primary-header-bar, #masthead .ast-mobile-header-wrap .main-header-bar { background-color: white; border-bottom: 1px solid var(--iv-edge); }
#masthead .ast-above-header-bar { background-color: var(--iv-blue); color: var(--iv-ink); }
#masthead .ast-above-header-bar :is(p,span,a) { color: var(--iv-ink); }
#masthead #mega-menu-wrap-primary, #masthead #mega-menu-primary { background: var(--iv-blue); }
#masthead #mega-menu-primary > li.mega-menu-item > a.mega-menu-link { color: var(--iv-ink); background: transparent; font-weight: 650; }
#masthead #mega-menu-primary > li.mega-menu-item:is(:hover,:focus-within) > a.mega-menu-link { background: var(--iv-yellow); color: var(--iv-ink); }
#masthead .dgwt-wcas-search-wrapp input[type=search] { background: var(--iv-ice); color: var(--iv-ink); border: 1px solid var(--iv-edge); border-radius: 24px; }
.iv-discover {
  width: min(1160px,94%); box-sizing: border-box; margin: clamp(14px,3vw,38px) auto;
  padding: clamp(20px,4vw,48px); border-radius: 22px; border: 1px solid var(--iv-edge);
  background: linear-gradient(115deg,#e1f1ff,#f4faff 68%,#fff4bd);
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px;
}
.iv-discover p { margin:0 0 6px; color:#365b74; font-size:.85rem; letter-spacing:.08em; font-weight:700; }
.iv-discover h2 { margin:0; color:var(--iv-ink); font-size:clamp(1.65rem,4vw,3.4rem); line-height:1.06; letter-spacing:-.035em; }
.iv-discover nav { display:flex; gap:8px; flex-wrap:wrap; }
.iv-discover a { padding:11px 17px; border:1px solid var(--iv-edge); border-radius:24px; background:#fff; color:var(--iv-ink); font-weight:700; text-decoration:none; }
.iv-discover a:first-child { background:var(--iv-yellow); border-color:#dccb82; }
.woocommerce ul.products li.product, .wc-block-product-template .wc-block-product {
  box-sizing:border-box; padding:clamp(10px,1.4vw,20px); border:1px solid var(--iv-edge); border-radius:16px; background:white; color:var(--iv-ink);
}
.woocommerce ul.products li.product img { border-radius:10px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce div.product .product_title { color:var(--iv-ink); line-height:1.22; }
.woocommerce ul.products li.product .price, .woocommerce div.product .summary .price { color:#225775; font-weight:700; }
.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce a.checkout-button, .woocommerce #place_order, .wc-block-components-button:not(.is-link), .iv-discover a:hover {
  background:var(--iv-yellow); color:var(--iv-ink); border:1px solid #d9c879; border-radius:12px; font-weight:700;
}
.woocommerce .woocommerce-breadcrumb { color:#486276; }
.woocommerce .woocommerce-ordering select, .woocommerce div.product .variations select,
.woocommerce-checkout .woocommerce input.input-text, .woocommerce-account .woocommerce input.input-text {
  background:white; color:var(--iv-ink); border:1px solid #9bb5c7; border-radius:8px;
}
.woocommerce :is(.cart_totals,.woocommerce-checkout-review-order), .woocommerce-account .woocommerce-MyAccount-navigation {
  padding:clamp(12px,2vw,24px); background:var(--iv-ice); color:var(--iv-ink); border-radius:14px; box-sizing:border-box;
}
.site-below-footer-wrap { background-color:var(--iv-blue); }
.site-below-footer-wrap :is(p,a) { color:var(--iv-ink); }
:is(.iv-discover,.woocommerce,#masthead) :is(a,button,select,input):focus-visible { outline:3px solid #245f85; outline-offset:3px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .woocommerce ul.products li.product, .iv-discover a { transition:transform .18s ease,box-shadow .18s ease; }
  .woocommerce ul.products li.product:hover, .iv-discover a:hover { transform:translateY(-3px); box-shadow:0 8px 22px #18334916; }
}
@media (max-width:600px) {
  .iv-discover { width:calc(100% - 24px); gap:14px; border-radius:16px; }
  .iv-discover nav a { padding:9px 12px; font-size:.9rem; }
}

/* Navigation principale : bandeau encre, états et rayons contrastés. */
#masthead #mega-menu-wrap-primary #mega-menu-primary {
  background: linear-gradient(105deg,#11293e 0%,#183d58 66%,#102b43 100%) !important;
  box-shadow: inset 0 -3px 0 #98d4ee;
}
#masthead #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
  color: #fff !important; background: transparent !important;
  font: 700 14px/44px system-ui,sans-serif !important;
  height: auto !important; letter-spacing:.015em; border-radius:7px !important;
}
#masthead #mega-menu-wrap-primary #mega-menu-primary > li > a.mega-menu-link[href*="/vente-privee/"] {
  background:#fff0aa !important; color:#152f45 !important;
  box-shadow:inset 0 -2px 0 #e8ce78;
}
#masthead #mega-menu-wrap-primary #mega-menu-primary > li > a.mega-menu-link[href*="/new/"] {
  background:#c7e9fa !important; color:#15334a !important;
}
#masthead #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:is(:hover,:focus-within,.mega-toggle-on,.mega-current-menu-item) > a.mega-menu-link {
  color:#102e45 !important; background:#ddf1ff !important; box-shadow:inset 0 -3px 0 #4788ac;
}
#masthead #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link:focus-visible {
  outline:3px solid #ffdf71 !important; outline-offset:-3px;
}
#masthead #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu {
  background:#f1f8fd !important; border-color:#bfd9e9 !important;
}
#masthead #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu a.mega-menu-link {
  color:#18374b !important; background:transparent !important;
}
#masthead #mega-menu-wrap-primary #mega-menu-primary .mega-sub-menu a.mega-menu-link:is(:hover,:focus-visible) {
  color:#102c42 !important; background:#fff1b5 !important;
}
@media(min-width:922px){
  #masthead #mega-menu-wrap-primary #mega-menu-primary {
    display:flex; flex-wrap:wrap; align-items:center; justify-content:space-evenly;
    gap:2px; padding:5px 6px 8px; border-radius:12px;
  }
  #masthead #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    padding-inline:clamp(6px,.55vw,12px) !important;
  }
  #masthead #mega-menu-wrap-primary #mega-menu-primary > li > ul.mega-sub-menu {
    border-top:3px solid #8cc4df !important; border-radius:0 0 12px 12px;
    box-shadow:0 12px 26px #102d452b;
  }
}
@media(max-width:921px){
  #masthead .ast-mobile-menu-trigger-fill .mobile-menu-toggle-icon {background:#183d58;color:#fff;border-radius:8px}
  #masthead #mega-menu-wrap-primary .mega-menu-toggle {background:#183d58;color:white}
}
