/* ==========================================================================
   WYBE - Efresio — Layout : header, nav, méga-menus, footer, drawer panier
   ========================================================================== */

/* ==========================================================================
   Composants partagés (utilisés sur home ET boutique / pages) — DOIVENT être
   chargés globalement (pas seulement dans home.css).
   ========================================================================== */
.ef-eyebrow--mint { color: var(--ef-mint); }

/* ----- Carte produit ----- */
.ef-card {
  background: var(--ef-surface); border: 1px solid var(--ef-border-soft);
  border-radius: var(--ef-r-lg); overflow: hidden;
  transition: transform .5s var(--ef-ease), box-shadow .5s var(--ef-ease);
  display: flex; flex-direction: column;
}
.ef-card:hover { transform: translateY(-6px); box-shadow: var(--ef-shadow-card); }
.ef-card__media { display: block; position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--ef-surface-2); }
.ef-card__media .ef-media { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ef-ease); }
.ef-card:hover .ef-card__media .ef-media { transform: scale(1.04); }
.ef-card__tag {
  position: absolute; top: 12px; left: 12px; padding: 5px 11px;
  background: rgba(252,253,252,0.92); backdrop-filter: blur(6px);
  border-radius: var(--ef-r-pill); font-size: 10.5px; letter-spacing: .03em;
  color: var(--ef-green); font-weight: 500; z-index: 1;
}
.ef-card__body { padding: 16px 17px 17px; display: flex; flex-direction: column; flex: 1; }
.ef-card__name { display: block; font-family: var(--ef-font-serif); font-size: 21px; color: #161B19; margin-bottom: 3px; }
.ef-card__name:hover { color: var(--ef-green); }
.ef-card__spec { font-size: 13px; color: var(--ef-ink-45); margin-bottom: 14px; }
.ef-card__reco { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 9px 12px; background: #EDF4F0; border: 1px solid rgba(46,139,127,.22); border-radius: 10px; }
.ef-card__reco svg { color: var(--ef-teal); flex: none; margin-top: 2px; }
.ef-card__reco-txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ef-card__reco-label { font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ef-green-deep); opacity: .65; margin-bottom: 1px; }
.ef-card__reco strong { font-size: 13px; font-weight: 600; color: var(--ef-green); }
.ef-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.ef-card__price { font-family: var(--ef-font-serif); font-size: 23px; color: #161B19; }
.ef-card__from { font-size: 11px; font-weight: 500; color: var(--ef-ink-45); letter-spacing: .01em; }
.ef-card__price .amount { font-family: var(--ef-font-serif); font-weight: 400; }
.ef-card__price del { color: var(--ef-ink-30); font-size: .7em; margin-right: 4px; }
.ef-card__price ins { text-decoration: none; }
.ef-card__add {
  display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 15px;
  background: #EAEEEC; color: var(--ef-green); border: none; border-radius: var(--ef-r-sm);
  font-family: var(--ef-font-sans); font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background .25s, color .25s; white-space: nowrap;
}
.ef-card__add:hover { background: var(--ef-green); color: var(--ef-bg); }
.ef-card__add.is-loading { opacity: .6; pointer-events: none; }
.ef-card__add.is-added { background: var(--ef-mint); color: var(--ef-green-deep); }

/* ----- Filtres & tri (home catalogue + archives boutique) ----- */
.ef-chip {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: var(--ef-r-sm);
  border: 1px solid var(--ef-border-strong); background: var(--ef-surface);
  color: var(--ef-ink-60); font-family: var(--ef-font-sans); font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.ef-chip:hover { border-color: var(--ef-green); color: var(--ef-green); }
.ef-chip.is-active { background: var(--ef-green); border-color: var(--ef-green); color: var(--ef-bg); }
.ef-chip.is-empty { opacity: .38; pointer-events: none; }
.ef-chip__count { font-size: 11px; font-weight: 600; color: var(--ef-ink-30); }
.ef-chip.is-active .ef-chip__count { color: var(--ef-mint); }
.ef-cat__sep { width: 1px; height: 22px; background: var(--ef-border-strong); margin: 0 4px; }

.ef-sort { position: relative; }
.ef-sort__toggle {
  display: flex; align-items: center; gap: 7px; padding: 9px 14px;
  background: none; border: none; color: var(--ef-ink-60); cursor: pointer;
  font-family: var(--ef-font-sans); font-size: 13px; white-space: nowrap;
}
.ef-sort__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 16;
  background: var(--ef-surface); border: 1px solid var(--ef-border-strong);
  border-radius: 13px; box-shadow: 0 24px 50px -24px rgba(27,33,31,.45);
  padding: 6px; min-width: 190px;
}
.ef-sort__menu[hidden] { display: none; }
.ef-sort__menu button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px;
  padding: 10px 12px; border-radius: var(--ef-r-sm); border: none; background: none;
  color: var(--ef-ink-60); font-family: var(--ef-font-sans); font-size: 13.5px; font-weight: 500;
  cursor: pointer; text-align: left; transition: background .2s ease;
}
.ef-sort__menu button:hover { background: #EFF3F1; }
.ef-sort__menu button.is-active { background: #EFF3F1; color: #161B19; font-weight: 600; }
.ef-sort__check { color: var(--ef-teal); opacity: 0; }
.ef-sort__menu button.is-active .ef-sort__check { opacity: 1; }

/* ----- Carte secteur (home + service pro) ----- */
.ef-sector {
  position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--ef-border-soft); box-shadow: 0 24px 55px -38px rgba(27,33,31,.4);
  display: block;
}
.ef-sector .ef-media { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .7s var(--ef-ease); }
.ef-sector:hover .ef-media { transform: scale(1.06); }
.ef-sector__grad { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(22,27,25,0.72)); }
.ef-sector__label { position: absolute; left: 17px; bottom: 15px; display: block; }
.ef-sector__title { display: block; font-family: var(--ef-font-sans); font-weight: 600; font-size: 16px; color: #fff; }
.ef-sector__sub { display: block; font-size: 12.5px; color: rgba(238,240,240,0.72); margin-top: 1px; }


/* ---------- Barre d'annonce ---------- */
.ef-announce {
  background: var(--ef-green);
  color: var(--ef-bg);
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--ef-font-sans);
  font-size: 12.5px;
  letter-spacing: .03em;
  overflow: hidden;
  padding: 4px 16px;
  text-align: center;
}
.ef-announce__dot { width: 5px; height: 5px; background: var(--ef-mint); transform: rotate(45deg); flex: none; }
.ef-announce__text { font-weight: 500; transition: opacity .4s ease; }

/* ---------- Header ---------- */
.ef-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(238, 240, 240, 0.82);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--ef-border);
}
.ef-header__bar {
  max-width: var(--ef-maxw);
  margin: 0 auto;
  padding: 0 var(--ef-gutter);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo wordmark */
.ef-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--ef-font-serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: .3em;
  color: var(--ef-ink);
}
.ef-logo:hover { color: var(--ef-ink); }
.ef-logo__o { position: relative; display: inline-block; }
.ef-logo__o i {
  position: absolute; top: 47%; right: -1px;
  width: 7px; height: 2px; background: var(--ef-bg);
  transform: rotate(-32deg);
}

/* ---------- Navigation + méga-menus ---------- */
.ef-nav { display: flex; align-items: center; gap: 2px; }
.ef-nav__item { position: relative; }
.ef-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  color: var(--ef-ink);
  font-family: var(--ef-font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
  background: none; border: none; cursor: pointer;
}
.ef-nav__link:hover { color: var(--ef-green); }
/* « Configurer » = CTA aligné à droite du menu (séparé des catégories) */
.ef-nav__item--cta { margin-left: auto; }
.efresio .ef-nav__link.ef-nav__link--accent { color: var(--ef-bg); background: var(--ef-green); border-radius: 999px; padding: 9px 18px; transition: background .2s ease, transform .2s ease; }
.efresio .ef-nav__link.ef-nav__link--accent svg { width: 15px; height: 15px; }
.efresio .ef-nav__link.ef-nav__link--accent:hover { color: var(--ef-bg); background: var(--ef-green-hover); transform: translateY(-1px); }
.efresio .ef-mobile a.ef-mobile__link--accent {
  margin-top: 14px;
  background: var(--ef-green); color: var(--ef-bg);
  font-weight: 700; text-align: center;
  border-bottom: none; border-radius: 12px;
  padding: 16px 6px;
}

.ef-mega {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--ef-surface);
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-r-md);
  box-shadow: var(--ef-shadow-pop);
  padding: 9px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s var(--ef-ease), visibility .22s;
  z-index: 20;
}
.ef-nav__item:hover .ef-mega,
.ef-nav__item:focus-within .ef-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.ef-mega a {
  padding: 9px 13px;
  border-radius: 7px;
  color: var(--ef-ink);
  font-size: 13.5px;
}
.ef-mega a:hover { background: var(--ef-bg); color: var(--ef-green); }
.ef-mega--wide {
  right: -40px; left: auto;
  width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 22px;
  padding: 20px;
  border-radius: 14px;
}
.ef-mega--wide a { color: var(--ef-ink-60); font-size: 13px; padding: 7px 10px; }

/* ---------- Actions header ---------- */
.ef-actions { display: flex; align-items: center; gap: 6px; }
.ef-iconbtn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: none; border: none; cursor: pointer;
  border-radius: var(--ef-r-sm); color: var(--ef-ink);
  transition: background .2s ease;
  position: relative;
}
.ef-iconbtn:hover { background: rgba(27, 33, 31, 0.06); }
.ef-iconbtn--bordered { border: 1px solid var(--ef-border-strong); }

.ef-cartbtn {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 15px 0 13px;
  background: var(--ef-green); border: none; cursor: pointer;
  border-radius: 10px; color: var(--ef-bg);
  font-family: var(--ef-font-sans); font-size: 13px; font-weight: 500;
  transition: background .25s ease;
}
.ef-cartbtn:hover { background: var(--ef-green-hover); color: var(--ef-bg); }
.ef-cartbtn__count {
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--ef-mint); color: var(--ef-green-deep);
  border-radius: 10px; display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700;
}
.ef-burger { display: none; }

/* ---------- Footer collé en bas sur les pages courtes ---------- */
body.efresio { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.efresio #ef-content { flex: 1 0 auto; width: 100%; }

/* ---------- Recherche (overlay header) ---------- */
.ef-search { border-top: 1px solid var(--ef-border); background: var(--ef-surface); }
.ef-search__form { max-width: var(--ef-maxw); margin: 0 auto; padding: 14px var(--ef-gutter); display: flex; align-items: center; gap: 12px; }
.ef-search__form > svg { color: var(--ef-ink-45); flex: 0 0 auto; }
.efresio .ef-search__input { flex: 1; min-width: 0; border: none; background: none; font-family: var(--ef-font-sans); font-size: 16px; color: var(--ef-ink); padding: 6px 0; }
.efresio .ef-search__input:focus { outline: none; box-shadow: none; }
.ef-search__close { background: var(--ef-bg-alt); border: none; border-radius: 8px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--ef-ink-60); cursor: pointer; flex: 0 0 auto; }
.ef-search__close:hover { background: var(--ef-border); color: var(--ef-ink); }

/* ---------- Menu mobile ---------- */
.ef-mobile { display: none; border-top: 1px solid var(--ef-border); background: var(--ef-surface); padding: 10px 24px 18px; flex-direction: column; max-height: 72vh; overflow-y: auto; }
.ef-mobile.is-open { display: flex; }
.ef-mobile a {
  padding: 14px 6px;
  font-family: var(--ef-font-sans);
  font-size: 15.5px; font-weight: 500;
  color: var(--ef-ink);
  border-bottom: 1px solid var(--ef-border-soft);
}
.ef-mobile a:last-child { border-bottom: none; }

/* ---------- Drawer panier ---------- */
.ef-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(22, 27, 25, 0.42);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
  z-index: 90;
}
.ef-drawer-overlay.is-open { opacity: 1; visibility: visible; }
.ef-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--ef-bg);
  box-shadow: -30px 0 80px -30px rgba(22,27,25,.5);
  transform: translateX(100%);
  transition: transform .4s var(--ef-ease);
  z-index: 91;
  display: flex; flex-direction: column;
}
.ef-drawer.is-open { transform: translateX(0); }
.ef-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 16px; border-bottom: 1px solid var(--ef-border);
}
.ef-drawer__title { font-family: var(--ef-font-serif); font-size: 22px; color: var(--ef-ink-strong); }
.ef-drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.ef-drawer__foot { padding: 20px 24px; border-top: 1px solid var(--ef-border); }
.ef-drawer .ef-iconbtn { background: var(--ef-bg-alt); }

/* Lignes panier (rendu WooCommerce mini-cart réhabillé) */
.ef-drawer .woocommerce-mini-cart__empty-message,
.ef-drawer__empty { text-align: center; padding: 70px 20px; color: var(--ef-ink-45); }
.ef-drawer ul.cart_list, .ef-drawer ul.product_list_widget { list-style: none; margin: 0; padding: 0; }
.ef-drawer ul.cart_list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ef-border); position: relative; }
.ef-drawer ul.cart_list li img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 11px; object-fit: cover; background: var(--ef-bg); border: 1px solid var(--ef-border-soft); float: none; margin: 0; }
.ef-drawer ul.cart_list li.ef-gift-item { align-items: center; }
.ef-drawer ul.cart_list li.ef-gift-item .ef-gift-qty { align-self: center; margin-left: auto; }
.ef-drawer ul.cart_list a { font-family: var(--ef-font-sans); font-weight: 600; font-size: 14.5px; color: var(--ef-ink-strong); }
.ef-drawer ul.cart_list a.remove { position: absolute; right: 0; top: 16px; color: var(--ef-ink-30) !important; font-size: 16px; }
.ef-drawer .woocommerce-mini-cart__total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-family: var(--ef-font-sans); }
.ef-drawer .woocommerce-mini-cart__total strong,
.ef-drawer .woocommerce-mini-cart__total .amount { font-weight: 600; font-size: 20px; color: var(--ef-ink-strong); }
.ef-drawer .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.ef-drawer .woocommerce-mini-cart__buttons a { display: none; }
.ef-drawer .woocommerce-mini-cart__buttons a.checkout {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 52px; background: var(--ef-green); color: var(--ef-bg);
  border-radius: var(--ef-r-md); font-family: var(--ef-font-sans); font-weight: 500; font-size: 15.5px;
}
.ef-drawer .woocommerce-mini-cart__buttons a.checkout:hover { background: var(--ef-green-hover); }
.ef-drawer__reassure { font-size: 12.5px; color: var(--ef-ink-45); margin: 10px 0 0; }

/* ---------- Jauge à paliers (drawer) ---------- */
.ef-cart-gauge { margin: -8px -24px 14px; padding: 14px 24px 16px; background: var(--ef-bg-alt); border-bottom: 1px solid var(--ef-border); }
.ef-cart-gauge__msg { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ef-ink-60); margin-bottom: 9px; }
.ef-cart-gauge__msg svg { color: var(--ef-teal); flex: none; }
.ef-cart-gauge__msg strong { color: var(--ef-ink-strong); font-weight: 600; }
.ef-cart-gauge.is-complete .ef-cart-gauge__msg { color: var(--ef-green); }
.ef-cart-gauge.is-complete .ef-cart-gauge__msg svg { color: var(--ef-mint); }
.ef-cart-gauge.is-complete .ef-cart-gauge__msg strong { color: var(--ef-green); }
.ef-cart-gauge__track { position: relative; height: 8px; background: var(--ef-surface); border: 1px solid var(--ef-border); border-radius: 999px; }
.ef-cart-gauge__fill { height: 100%; width: 0; background: var(--ef-green); border-radius: 999px; transition: width .55s var(--ef-ease), background .4s ease; }
.ef-cart-gauge.is-complete .ef-cart-gauge__fill { background: var(--ef-mint); }
.ef-cart-gauge__marker { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--ef-surface); border: 1.5px solid var(--ef-border); transition: background .3s ease, border-color .3s ease; }
.ef-cart-gauge__marker.is-on { background: var(--ef-mint); border-color: var(--ef-green); }
.ef-cart-gauge__tiers { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; }
.ef-cart-gauge__tier { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; letter-spacing: .01em; color: var(--ef-ink-45); }
.ef-cart-gauge__tier svg { flex: none; opacity: .6; }
.ef-cart-gauge__tier.is-on { color: var(--ef-green); font-weight: 600; }
.ef-cart-gauge__tier.is-on svg { color: var(--ef-green); opacity: 1; }

/* Ligne cadeau dans le panier */
.ef-gift-tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ef-green); white-space: nowrap; }
.ef-gift-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ef-green-deep); background: var(--ef-mint); vertical-align: middle; }
.ef-gift-thumb { flex: 0 0 64px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 11px; background: #EAEEEC; color: var(--ef-green); border: 1px solid var(--ef-border-soft); }
.ef-gift-thumb svg { opacity: .85; }

/* ---------- Pairing / senteurs suggérées (drawer) ---------- */
.ef-cart-xsell { margin-top: 12px; padding: 14px; border: 1px solid var(--ef-border); border-radius: 14px; background: linear-gradient(180deg, var(--ef-bg-alt), var(--ef-surface)); }
.ef-cart-xsell:empty { display: none; }
.ef-cart-xsell__head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 11px; }
.ef-cart-xsell__title { font-family: var(--ef-font-sans); font-size: 13.5px; font-weight: 700; color: var(--ef-ink-strong); }
.ef-cart-xsell__sub { font-size: 12px; line-height: 1.35; color: var(--ef-ink-45); }
.ef-cart-xsell__list { display: flex; flex-direction: column; gap: 8px; }
.ef-xsell-card { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; padding: 8px; border: 1px solid var(--ef-border); border-radius: 12px; background: var(--ef-surface); cursor: pointer; font-family: var(--ef-font-sans); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.ef-xsell-card:hover { border-color: var(--ef-green); box-shadow: 0 8px 20px -16px var(--ef-green); }
.ef-xsell-card.is-more { display: none; }
.ef-xsell-card__img { width: 44px; height: 44px; flex: none; position: relative; border-radius: 9px; overflow: hidden; background: var(--ef-surface-2); }
.ef-xsell-card__img .ef-media, .ef-xsell-card__img .ef-ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.ef-xsell-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ef-xsell-card__name { font-size: 13px; font-weight: 600; color: var(--ef-ink-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ef-xsell-card__price { font-size: 12.5px; color: var(--ef-ink-45); }
.ef-xsell-card__price .amount { color: var(--ef-ink); }
.ef-xsell-card__add { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: #EAEEEC; color: var(--ef-green); transition: background .2s ease, color .2s ease; }
.ef-xsell-card:hover .ef-xsell-card__add { background: var(--ef-green); color: var(--ef-bg); }
.ef-xsell-card.is-loading { opacity: .55; pointer-events: none; }
.ef-xsell-card.is-added { border-color: var(--ef-mint); }
.ef-xsell-card.is-added .ef-xsell-card__add { background: var(--ef-mint); color: var(--ef-green-deep); }
.ef-xsell-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 9px; padding: 9px; border: 1px dashed var(--ef-border); border-radius: 10px; background: transparent; cursor: pointer; font-family: var(--ef-font-sans); font-size: 12.5px; font-weight: 600; color: var(--ef-green); transition: border-color .2s ease, background .2s ease; }
.ef-xsell-more:hover { border-color: var(--ef-green); background: var(--ef-bg-alt); }
.ef-xsell-more__n { font-size: 11px; opacity: .7; }
.ef-xsell-all { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--ef-ink-60); text-decoration: none; transition: color .2s ease, gap .2s ease; }
.ef-xsell-all:hover { color: var(--ef-green); gap: 8px; }
.ef-xsell-all svg { flex: none; }

/* ---------- Footer ---------- */
.ef-footer { background: var(--ef-footer); color: #C5CCC8; }
.ef-footer__inner { max-width: var(--ef-maxw); margin: 0 auto; padding: 66px var(--ef-gutter) 30px; }
.ef-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.09);
}
.ef-footer__brand { font-family: var(--ef-font-serif); font-weight: 500; font-size: 21px; letter-spacing: .34em; color: var(--ef-bg); margin-bottom: 16px; }
.ef-footer__desc { font-size: 14px; line-height: 1.55; color: #98A19C; max-width: 290px; margin: 0 0 22px; }
.ef-footer__col-title { font-family: var(--ef-font-sans); font-size: 12px; letter-spacing: .08em; color: #7C857F; text-transform: uppercase; margin-bottom: 16px; }
.ef-footer__links { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
/* Liens footer clairs (sinon vert-sur-vert invisible via la règle globale .efresio a) */
.efresio .ef-footer a:not([class*="ef-btn"]) { color: #D7DEDA; }
.efresio .ef-footer a:not([class*="ef-btn"]):hover { color: var(--ef-mint); }
.ef-newsletter { display: flex; gap: 8px; max-width: 320px; }
.ef-newsletter input {
  flex: 1; height: 46px; padding: 0 15px;
  background: #20261F; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 11px; color: var(--ef-bg); font-family: inherit; font-size: 14px;
}
.ef-newsletter input::placeholder { color: #7C857F; }
.ef-newsletter button {
  height: 46px; padding: 0 18px; background: var(--ef-mint); color: var(--ef-green-deep);
  border: none; border-radius: 11px; font-family: var(--ef-font-sans); font-weight: 600; font-size: 14px;
  cursor: pointer; white-space: nowrap;
}
.ef-footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 26px; font-size: 12.5px; color: #7C857F;
}
.ef-footer__bottom a { color: #7C857F; }
.ef-footer__bottom a:hover { color: var(--ef-mint); }
.ef-footer__credit {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06);
  text-align: center; font-size: 12px; letter-spacing: .02em; color: #6E766F;
}
.ef-footer__credit > span { color: var(--ef-mint); margin-right: 4px; }
.efresio .ef-footer__credit a { color: #D7DEDA; font-weight: 600; text-decoration: none; }
.efresio .ef-footer__credit a:hover { color: var(--ef-mint); }

/* ---------- Responsive layout ---------- */
@media (max-width: 1120px) {
  .ef-nav { display: none; }
  .ef-burger { display: grid; }
  .ef-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .ef-header__bar { height: 62px; gap: 14px; }
  .ef-logo { font-size: 18px; letter-spacing: .2em; }
  .ef-cartbtn__label { display: none; }
  .ef-footer__grid { grid-template-columns: 1fr; }
  .ef-footer__inner { padding-top: 48px; }
}

/* ---------- Recherche : résultats instantanés ---------- */
.ef-search { position: relative; }
.efresio .ef-search__input::-webkit-search-cancel-button,
.efresio .ef-search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.ef-search__results { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--ef-surface); border-top: 1px solid var(--ef-border); box-shadow: 0 30px 60px -30px rgba(27,33,31,.35); max-height: min(70vh, 640px); overflow-y: auto; }
.ef-search__results > * { max-width: var(--ef-maxw); margin-left: auto; margin-right: auto; padding-left: var(--ef-gutter); padding-right: var(--ef-gutter); }
.ef-search__meta { padding-top: 14px; padding-bottom: 6px; font-family: var(--ef-font-sans); font-size: 12.5px; letter-spacing: .02em; color: var(--ef-ink-45); }
.ef-search__sugg { background: none; border: none; padding: 0; font: inherit; font-weight: 700; color: var(--ef-green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ef-search__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; padding-top: 6px; padding-bottom: 10px; }
.efresio .ef-search__item { display: flex; align-items: center; gap: 14px; padding: 9px 10px; margin: 0 -10px; border-radius: 12px; color: var(--ef-ink); text-decoration: none; transition: background .15s ease; }
.efresio .ef-search__item:hover, .efresio .ef-search__item.is-active { background: var(--ef-bg-alt); color: var(--ef-ink); }
.ef-search__item img, .ef-search__ph { width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; border-radius: 10px; background: var(--ef-bg-alt); border: 1px solid var(--ef-border-soft); }
.ef-search__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ef-search__name { font-family: var(--ef-font-sans); font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ef-search__cat { font-family: var(--ef-font-sans); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ef-ink-45); }
.ef-search__price { font-family: var(--ef-font-sans); font-size: 14px; font-weight: 600; color: var(--ef-ink-strong); white-space: nowrap; }
.efresio .ef-search__all { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 12px; padding-bottom: 14px; font-family: var(--ef-font-sans); font-weight: 600; font-size: 14px; color: var(--ef-green); border-top: 1px solid var(--ef-border-soft); }
.efresio .ef-search__all.is-active, .efresio .ef-search__all:hover { background: var(--ef-bg-alt); }
.ef-search__empty { padding-top: 16px; padding-bottom: 12px; font-family: var(--ef-font-sans); font-size: 14px; color: var(--ef-ink-60); line-height: 1.55; }
.ef-search__quick { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; padding-bottom: 16px; }
.efresio .ef-search__quick .ef-chip { text-decoration: none; }
@media (max-width: 720px) {
  .ef-search__list { grid-template-columns: 1fr; }
  .ef-search__results { max-height: 65vh; }
}

/* ---------- Bandeau de consentement cookies ---------- */
/* Carte compacte ancrée en bas à gauche : moins intrusive qu'une barre pleine largeur. */
.ef-consent { position: fixed; left: 20px; right: auto; bottom: 20px; z-index: 95; width: min(400px, calc(100vw - 40px)); background: var(--ef-surface); border: 1px solid var(--ef-border); border-radius: var(--ef-r-lg, 16px); box-shadow: 0 24px 60px -28px rgba(27,33,31,.5); }
.ef-consent[hidden] { display: none; }
/* `display: flex` sur le panneau de préférences écrasait l'attribut `hidden` :
   le détail des cookies restait déplié en permanence. */
.ef-consent [hidden] { display: none !important; }
.ef-consent__inner { padding: 18px 20px 20px; display: block; }
.ef-consent__copy { min-width: 0; }
.ef-consent__title { font-family: var(--ef-font-serif); font-weight: 400; font-size: 18px; color: var(--ef-ink-strong); margin: 0 0 5px; }
.ef-consent__text { font-family: var(--ef-font-sans); font-size: 13px; line-height: 1.55; color: var(--ef-ink-60); margin: 0; }
.efresio .ef-consent__text a { color: var(--ef-green); text-decoration: underline; text-underline-offset: 3px; }
.ef-consent__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.ef-consent__actions .ef-btn { flex: 1 1 0; min-width: 120px; justify-content: center; }
.ef-consent__link { background: none; border: none; padding: 6px 2px; font-family: var(--ef-font-sans); font-size: 13px; color: var(--ef-ink-60); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; flex: none; width: 100%; text-align: left; }
.ef-consent__link:hover { color: var(--ef-green); }
.ef-consent__prefs { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.ef-consent__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 10px 12px; background: var(--ef-bg-alt); border-radius: var(--ef-r-md); }
.ef-consent__row span { display: flex; flex-direction: column; gap: 2px; }
.ef-consent__row strong { font-family: var(--ef-font-sans); font-size: 13.5px; font-weight: 600; color: var(--ef-ink-strong); }
.ef-consent__row em { font-style: normal; font-size: 12px; color: var(--ef-ink-45); line-height: 1.45; }
.ef-consent__row input { width: 17px; height: 17px; accent-color: var(--ef-green); flex: none; margin-top: 2px; }
@media (max-width: 720px) {
  .ef-consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .ef-consent__inner { padding: 16px 16px 18px; }
}

/* ---------- Volet panier : ligne produit ---------- */
/* Le markup WooCommerce imbrique la vignette et le nom dans un même <a> : en flex,
   le nom passait sous l'image. On sort la vignette du flux et on laisse le contenu
   (nom, contenance, quantité) s'empiler proprement dans la colonne de droite. */
.ef-drawer ul.cart_list li:not(.ef-gift-item) {
  display: block; position: relative; min-height: 64px;
  padding: 16px 26px 16px 78px;
}
.ef-drawer ul.cart_list li:not(.ef-gift-item) > a:not(.remove) { display: block; line-height: 1.35; }
.ef-drawer ul.cart_list li:not(.ef-gift-item) img {
  position: absolute; left: 0; top: 16px;
  width: 64px; height: 64px; flex: none;
}
.ef-drawer ul.cart_list li:not(.ef-gift-item) dl.variation { margin: 3px 0 0; }
.ef-drawer ul.cart_list li:not(.ef-gift-item) .quantity {
  display: block; margin-top: 5px;
  font-family: var(--ef-font-sans); font-size: 13.5px; color: var(--ef-ink-60);
}
.ef-drawer ul.cart_list li:not(.ef-gift-item) .quantity .amount { color: var(--ef-ink-strong); font-weight: 600; }

/* ---------- Menu mobile : groupes dépliables ---------- */
/* Les méga-menus du desktop n'étaient pas accessibles sur mobile. On les replie
   en accordéons `<details>` natifs, sans JavaScript supplémentaire. */
.ef-mobile__group { border-bottom: 1px solid var(--ef-border-soft); }
.ef-mobile__sum {
  list-style: none; cursor: pointer; position: relative;
  padding: 14px 32px 14px 6px;
  font-family: var(--ef-font-sans); font-size: 15.5px; font-weight: 500; color: var(--ef-ink);
}
.ef-mobile__sum::-webkit-details-marker { display: none; }
.ef-mobile__sum::after {
  content: ""; position: absolute; right: 10px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.6px solid var(--ef-ink-45); border-bottom: 1.6px solid var(--ef-ink-45);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.ef-mobile__group[open] .ef-mobile__sum::after { transform: translateY(-30%) rotate(-135deg); }
.ef-mobile__sum:focus-visible { outline: 2px solid var(--ef-green); outline-offset: -2px; border-radius: 8px; }
.ef-mobile__sub { display: flex; flex-direction: column; padding: 0 0 8px 14px; }
.efresio .ef-mobile__sub a {
  padding: 11px 6px; font-size: 14.5px; font-weight: 400;
  color: var(--ef-ink-60); border-bottom: none;
}
.efresio .ef-mobile__sub a:hover { color: var(--ef-green); }
