/* Scoped storefront fixes — beat CozyCorner/Elementor leakage without global !important spray */
body.nfd, body.nfd button, body.nfd input, body.nfd select, body.nfd textarea, body.nfd .button, body.nfd .nfd-btn {
  font-family: "Inter","Helvetica Neue",Arial,sans-serif !important;
}
body.nfd h1, body.nfd h2, body.nfd h3, body.nfd h4, body.nfd .nfd-banner h1, body.nfd .nfd-banner h2, body.nfd .nfd-achat h1, body.nfd .nfd-page-titre h1, body.nfd .nfd-titre h2, body.nfd .nfd-carte h3 {
  font-family: "Inter","Helvetica Neue",Arial,sans-serif !important;
  font-weight: 700;
  color: inherit;
}
body.nfd .nfd-marque, body.nfd .nfd-marque b, body.nfd .nfd-marque small {
  font-family: "Inter","Helvetica Neue",Arial,sans-serif !important;
  letter-spacing: .22em;
}

/* Nav: kill theme list bullets / ::before ornaments */
body.nfd nav.nfd-cats ul,
body.nfd nav.nfd-cats li,
body.nfd .nfd-pied ul,
body.nfd .nfd-pied li,
body.nfd .nfd-tiroir .panneau {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding-left: 0;
}
body.nfd nav.nfd-cats ul { display: flex !important; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
body.nfd nav.nfd-cats li { display: inline-flex !important; position: relative; float: none !important; width: auto !important; }
body.nfd nav.nfd-cats li:before,
body.nfd nav.nfd-cats li:after,
body.nfd nav.nfd-cats a:before,
body.nfd nav.nfd-cats a:after,
body.nfd .nfd-pied li:before,
body.nfd .nfd-pied li:after {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important; height: 0 !important;
}
body.nfd nav.nfd-cats a {
  display: block;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  color: #181818 !important;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 500;
}


/* Carousel arrows: visible chevrons, not empty circles */
body.nfd .nfd-fleche {
  color: #202020 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  background: #fff !important;
  border: 1px solid #cfcac3 !important;
  display: inline-grid !important;
  place-items: center;
}
body.nfd .nfd-fleche:hover { background: #A3262A !important; border-color: #A3262A !important; color: #fff !important; }

/* Product cards: contain images fully */
body.nfd .nfd-carte .image { background: #F3F2F0; }
body.nfd .nfd-carte .image img {
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  max-height: 100%;
  max-width: 100%;
}

/* Maple-red WooCommerce buttons — scoped */
body.nfd .woocommerce a.button,
body.nfd .woocommerce button.button,
body.nfd .woocommerce input.button,
body.nfd .woocommerce #respond input#submit,
body.nfd .woocommerce a.button.alt,
body.nfd .woocommerce button.button.alt,
body.nfd .woocommerce input.button.alt,
body.nfd .woocommerce #respond input#submit.alt,
body.nfd .single_add_to_cart_button,
body.nfd .checkout-button,
body.nfd .nfd-btn-rouge,
body.nfd .nfd-add {
  background-color: #A3262A !important;
  background-image: none !important;
  color: #fff !important;
  border-color: #A3262A !important;
  text-shadow: none !important;
  border-radius: 4px !important;
}
body.nfd .woocommerce a.button:hover,
body.nfd .woocommerce button.button:hover,
body.nfd .woocommerce input.button:hover,
body.nfd .woocommerce a.button.alt:hover,
body.nfd .woocommerce button.button.alt:hover,
body.nfd .single_add_to_cart_button:hover,
body.nfd .checkout-button:hover,
body.nfd .nfd-btn-rouge:hover {
  background-color: #7B1E24 !important;
  color: #fff !important;
  border-color: #7B1E24 !important;
}

/* Cart totals / notices contrast */
body.nfd .cart_totals,
body.nfd .cart-collaterals .cart_totals {
  background: #FAF8F4 !important;
  color: #181818 !important;
  padding: 16px !important;
  border-radius: 8px;
}
body.nfd .cart_totals th,
body.nfd .cart_totals td,
body.nfd .cart_totals .order-total,
body.nfd .cart_totals strong {
  color: #181818 !important;
}
body.nfd .woocommerce-message {
  border-top-color: #A3262A !important;
  background: #FAF8F4 !important;
  color: #181818 !important;
}
body.nfd .woocommerce-message::before { color: #A3262A !important; }
body.nfd .woocommerce-message .button {
  background: #A3262A !important;
  color: #fff !important;
}

/* Search input: force sans, readable */
body.nfd .nfd-recherche input {
  font-family: "Inter","Helvetica Neue",Arial,sans-serif !important;
  color: #181818 !important;
}


/* Hero composition — reference hierarchy, left/right, gold eyebrow, black CTA */
body.nfd .nfd-banner { color: #fff !important; }
body.nfd .nfd-banner .contenu {
  color: #fff !important;
  text-shadow: none;
}
body.nfd .nfd-banner h1,
body.nfd .nfd-banner h2 {
  color: #fff !important;
  font-family: "Inter","Helvetica Neue",Arial,sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
body.nfd .nfd-banner .nfd-surtitre {
  color: #C9A84C !important;
  text-shadow: none !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .28em !important;
}
body.nfd .nfd-banner .nfd-surtitre:before { display: none !important; content: none !important; }
body.nfd .nfd-banner .nfd-banner-sub,
body.nfd .nfd-banner .contenu p {
  color: #fff !important;
  font-weight: 650 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
  opacity: 1 !important;
}
body.nfd .nfd-banner .nfd-btn-banner,
body.nfd .nfd-banner a.nfd-btn-banner,
body.nfd .nfd-banner a.nfd-btn-banner:link,
body.nfd .nfd-banner a.nfd-btn-banner:visited,
body.nfd .nfd-banner a.nfd-btn-banner:hover,
body.nfd .nfd-banner a.nfd-btn-banner:focus,
body.nfd .nfd-banner a.nfd-btn-banner:active {
  background: #fff !important;
  color: #111 !important;
  border: 0 !important;
  border-radius: 9px !important;
  text-shadow: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  font-weight: 700 !important;
}
body.nfd .nfd-banner .nfd-btn-banner:hover,
body.nfd .nfd-banner a.nfd-btn-banner:hover,
body.nfd .nfd-banner a.nfd-btn-banner:focus {
  background: #F4EEE6 !important;
  color: #111 !important;
}
body.nfd .nfd-banner .nfd-prix-nbsp {
  white-space: nowrap !important;
  display: inline !important;
}
body.nfd .nfd-banner--left img {
  object-fit: cover !important;
  object-position: center 28% !important;
}
body.nfd .nfd-banner img {
  object-fit: cover !important;
  object-position: center center !important;
}
body.nfd .nfd-banner--left .contenu { text-align: left !important; margin-right: auto !important; margin-left: 0 !important; }
body.nfd .nfd-banner--right .contenu { text-align: right !important; margin-left: auto !important; margin-right: 0 !important; }

@media (max-width: 759px) {
  body.nfd .nfd-banner h1,
  body.nfd .nfd-banner h2 { font-size: 27px !important; line-height: 1.15 !important; }
  body.nfd .nfd-banner .nfd-banner-sub,
  body.nfd .nfd-banner .contenu p { font-size: 17px !important; }
  body.nfd .nfd-banner .nfd-btn-banner { font-size: 17px !important; min-height: 48px !important; }
  body.nfd .nfd-banner .nfd-surtitre { font-size: 14px !important; letter-spacing: .22em !important; }
  body.nfd .nfd-banner .contenu { padding-left: 5% !important; padding-right: 5% !important; width: 90% !important; max-width: 90% !important; }
}
@media (min-width: 760px) {
  body.nfd .nfd-banner .nfd-surtitre { font-size: 28px !important; letter-spacing: .32em !important; }
  body.nfd .nfd-banner h1,
  body.nfd .nfd-banner h2 { font-size: 45px !important; }
  body.nfd .nfd-banner .nfd-banner-sub,
  body.nfd .nfd-banner .contenu p { font-size: 29px !important; }
  body.nfd .nfd-banner .nfd-btn-banner {
    font-size: 29px !important;
    min-height: 102px !important;
    padding: 28px 36px !important;
    min-width: min(405px, 100%) !important;
  }
}

/* Carousel root fix: constrained flex scroller (grid was expanding with content) */
body.nfd .nfd-rail-wrap{width:100%;max-width:100%;overflow:hidden}
body.nfd .nfd-rail,
body.nfd [data-nfd-rail]{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:16px;
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  grid-auto-flow:unset !important;
  grid-auto-columns:unset !important;
}
body.nfd .nfd-rail::-webkit-scrollbar{display:none}
body.nfd .nfd-rail .nfd-carte{
  flex:0 0 78% !important;
  width:78% !important;
  max-width:78% !important;
  min-width:0 !important;
  scroll-snap-align:start;
}
@media (min-width:760px){
  body.nfd .nfd-rail .nfd-carte{
    flex:0 0 calc((100% - 48px)/4) !important;
    width:calc((100% - 48px)/4) !important;
    max-width:calc((100% - 48px)/4) !important;
  }
}

/* Header product search — aligned width/height with header controls + wrap gutters */
body.nfd header.nfd-tete .nfd-wrap {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
body.nfd .nfd-tete .ligne1 {
  align-items: center !important;
}
body.nfd .nfd-recherche {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  align-self: center !important;
}
body.nfd .nfd-recherche input[type="search"] {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  padding: 0 48px 0 42px !important;
  border: 1px solid #cfcac3 !important;
  border-radius: 999px !important;
  background: #fff !important;
  font-family: "Inter","Helvetica Neue",Arial,sans-serif !important;
  font-size: 14px !important;
  line-height: 42px !important;
  color: #181818 !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
body.nfd .nfd-recherche input[type="search"]::placeholder {
  color: #6f6b66 !important;
  opacity: 1 !important;
}
body.nfd .nfd-recherche .loupe {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  opacity: .55 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  height: 20px !important;
  width: 20px !important;
}
body.nfd .nfd-recherche button[type="submit"] {
  position: absolute !important;
  right: 3px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #A3262A !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
}
@media (min-width: 760px) {
  body.nfd .nfd-tete .ligne1 {
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) auto !important;
    gap: 28px !important;
    align-items: center !important;
  }
  body.nfd .nfd-tete .nfd-recherche {
    grid-column: 2 !important;
    min-width: 0 !important;
  }
}
@media (max-width: 759px) {
  body.nfd .nfd-tete .ligne1 {
    display: grid !important;
    grid-template-columns: 42px 1fr 42px !important;
    grid-template-rows: 48px auto !important;
    column-gap: 8px !important;
    row-gap: 10px !important;
    align-items: center !important;
  }
  body.nfd .nfd-tete .nfd-burger {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    margin: 0 !important;
  }
  body.nfd .nfd-tete .nfd-marque {
    position: absolute !important;
    left: 50% !important;
    top: 12px !important;
    height: 48px !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    z-index: 1 !important;
  }
  body.nfd .nfd-tete .nfd-icones {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin: 0 !important;
  }
  body.nfd .nfd-tete .nfd-recherche {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0 4px !important;
  }
}
