:root {
  --h-green-deep: #1B3A2E;
  --h-green-mid: #2D5A41;
  --h-green-sage: #5C7A5F;
  --h-green-light: #A3BFA0;
  --h-green-pale: #EAF2E8;
  --h-gold: #B8943E;
  --h-gold-light: #D4B06A;
  --h-white: #FFFFFF;
  --h-bg: #FBFBF8;
  --h-bg-section: #F4F7F3;
  --h-cream: #EDE4D0;
  --h-border: #E4EBE3;
  --h-text: #1A2E1F;
  --h-text-mid: #3D5942;
  --h-text-soft: #7A8C7D;
  --f-display: 'Playfair Display', serif;
  --f-deco: 'Cormorant Garamond', serif;
  --f-sans: 'DM Sans', sans-serif;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 4px 18px rgba(27, 58, 46, 0.06);
  --shadow-md: 0 14px 40px rgba(27, 58, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(27, 58, 46, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--h-bg);
  color: var(--h-text);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 0.94rem;
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
::selection { background: var(--h-gold-light); color: var(--h-green-deep); }

/* TOPBAR ROTATIF */
.topbar {
  background: var(--h-green-deep);
  color: var(--h-green-light);
  height: 40px;
  overflow: hidden;
  position: relative;
}
.topbar__slider {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  animation: rotateMessages 12s infinite;
}
.topbar__message {
  min-width: 100%;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0 5%;
}
@keyframes rotateMessages {
  0%, 30% { transform: translateY(0); }
  33%, 63% { transform: translateY(-100%); }
  66%, 96% { transform: translateY(-200%); }
  100% { transform: translateY(0); }
}

/* NAVIGATION PRINCIPALE */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 248, 0.96);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.scrolled {
  box-shadow: 0 6px 30px rgba(27, 58, 46, 0.08);
  border-bottom-color: var(--h-border);
}
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.nav__logo { display: flex; flex-direction: column; gap: 0.1rem; flex-shrink: 0; }
.nav__logo-main {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--h-green-deep);
  line-height: 1;
}
.nav__logo-sub {
  font-family: var(--f-deco);
  font-size: 0.72rem;
  font-style: italic;
  color: var(--h-gold);
  letter-spacing: 0.08em;
}

/* LIENS NAVIGATION - 6 onglets */
.nav__links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--h-text-mid);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--h-gold);
  transition: width 0.35s var(--ease);
}
.nav__link:hover { color: var(--h-green-deep); }
.nav__link:hover::after { width: 100%; }
.nav__link.active::after { width: 100%; }
.nav__link.has-mega {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__link.has-mega::before {
  content: '▾';
  font-size: 0.7rem;
  opacity: 0.6;
  order: 2;
}

/* ACTIONS NAV */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav__search-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--h-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__search-btn:hover {
  background: var(--h-green-light);
  transform: scale(1.05);
}
.nav__cart {
  background: var(--h-green-deep);
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__cart:hover {
  background: var(--h-green-mid);
  transform: translateY(-1px);
}
.nav__cart-count {
  background: var(--h-gold);
  color: var(--h-green-deep);
  font-weight: 600;
  border-radius: var(--r-pill);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.66rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* BURGER MOBILE */
.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--h-green-pale);
}
.nav__burger span {
  width: 20px;
  height: 2px;
  background: var(--h-green-deep);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MÉGA-MENU TISANES */
.mega-menu {
  position: fixed;
  top: 108px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  max-height: 480px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  z-index: 99;
}
.mega-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.mega-menu__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 5%;
}
.mega-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.mega-menu__title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--h-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mega-menu__view-all {
  font-size: 0.78rem;
  color: var(--h-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s var(--ease);
}
.mega-menu__view-all:hover {
  color: var(--h-green-deep);
}
.mega-menu__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 1fr;
  gap: 3rem;
}
.mega-menu__col-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--h-text);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--h-border);
}
.mega-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.mega-menu__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.3rem 0;
  transition: padding-left 0.2s var(--ease);
}
.mega-menu__item:hover {
  padding-left: 4px;
}
.mega-menu__item-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.mega-menu__item-content {
  flex: 1;
}
.mega-menu__item-name {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--h-text-mid);
  transition: color 0.2s var(--ease);
  display: block;
  margin-bottom: 0.2rem;
}
.mega-menu__item:hover .mega-menu__item-name {
  color: var(--h-gold);
}
.mega-menu__item-sub {
  font-size: 0.7rem;
  font-style: italic;
  color: var(--h-text-soft);
  font-family: var(--f-deco);
}
.mega-menu__featured {
  background: var(--h-bg-section);
  padding: 1.5rem;
  border-radius: var(--r-md);
  text-align: center;
}
.mega-menu__featured-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: 1rem;
}
.mega-menu__featured-title {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--h-text);
  margin-bottom: 0.5rem;
}
.mega-menu__featured-desc {
  font-size: 0.75rem;
  color: var(--h-text-soft);
  margin-bottom: 1rem;
}
.mega-menu__featured-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--h-gold);
  color: white;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--r-pill);
  transition: background 0.2s var(--ease);
}
.mega-menu__featured-btn:hover {
  background: var(--h-green-deep);
}

.mega-menu__grid--5col {
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.mega-menu__item-simple {
  display: block;
  font-size: 0.85rem;
  color: var(--h-text-mid);
  padding: 0.5rem 0;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.mega-menu__item-simple:hover {
  color: var(--h-green-deep);
  padding-left: 6px;
}

.mega-menu__note {
  font-size: 0.7rem;
  font-style: italic;
  color: var(--h-green-sage);
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--h-border);
}

.mega-menu__matcha {
  background: #F2F4EF;
  padding: 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--h-border);
}

.mega-menu__matcha .mega-menu__col-title {
  margin-bottom: 1.2rem;
}

.mega-menu__matcha .mega-menu__item {
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.2s var(--ease);
}

.mega-menu__matcha .mega-menu__item:hover {
  transform: translateX(4px);
}

.mega-menu__matcha .mega-menu__item-icon {
  font-size: 1.2rem;
}

.mega-menu__matcha .mega-menu__item-name {
  font-size: 0.88rem;
  color: var(--h-text);
}

.mega-menu__badge {
  font-size: 0.65rem;
  color: var(--h-gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 1.2rem 0 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--h-border);
}

.mega-menu__cta {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--h-gold);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.mega-menu__cta:hover {
  color: var(--h-gold-light);
}

/* DROPDOWN SIMPLE (Herboristerie) */
.dropdown-simple {
  width: 340px;
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(-6px);
}

.dropdown-simple.open {
  transform: translateX(-50%) translateY(0);
}

.dropdown-simple__inner {
  padding: 1.5rem;
}

.dropdown-simple__header {
  margin-bottom: 1.2rem;
}

.dropdown-simple__title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--h-text);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--h-border);
}

.dropdown-simple__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0;
  color: var(--h-text);
  font-size: 0.88rem;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.dropdown-simple__item:hover {
  color: var(--h-green-deep);
  padding-left: 6px;
}

.dropdown-simple__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dropdown-simple__section {
  margin: 1.2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--h-border);
  border-bottom: 1px solid var(--h-border);
}

.dropdown-simple__section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--h-text);
  margin-bottom: 0.8rem;
}

.dropdown-simple__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: 2rem;
}

.dropdown-simple__tags span {
  font-size: 0.75rem;
  color: var(--h-text-soft);
  padding: 0.3rem 0.7rem;
  background: var(--h-bg-section);
  border-radius: var(--r-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
}

.dropdown-simple__tags span:hover {
  background: var(--h-green-pale);
  color: var(--h-green-deep);
}

.dropdown-simple__search {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: var(--h-bg-section);
  border-radius: var(--r-sm);
  margin: 1rem 0;
}

.dropdown-simple__input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  color: var(--h-text);
  outline: none;
}

.dropdown-simple__input::placeholder {
  color: var(--h-text-soft);
}

.dropdown-simple__cta {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--h-gold);
  font-weight: 500;
  padding: 0.8rem;
  margin-top: 0.8rem;
  transition: color 0.2s var(--ease);
}

.dropdown-simple__cta:hover {
  color: var(--h-gold-light);
}

/* OVERLAY RECHERCHE */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 58, 46, 0.95);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.search-overlay__inner {
  width: 100%;
  max-width: 700px;
  padding: 0 5%;
}
.search-overlay__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.search-overlay__close:hover {
  background: rgba(255,255,255,0.2);
}
.search-overlay__input-wrap {
  position: relative;
  margin-bottom: 2rem;
}
.search-overlay__input {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 3.5rem;
  background: rgba(255,255,255,0.95);
  border: 2px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--f-sans);
  font-size: 1.1rem;
  color: var(--h-text);
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.search-overlay__input:focus {
  border-color: var(--h-gold);
}
.search-overlay__input::placeholder {
  color: var(--h-text-soft);
}
.search-overlay__icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--h-text-soft);
}
.search-overlay__results {
  background: white;
  border-radius: var(--r-md);
  padding: 1.5rem;
  max-height: 60vh;
  overflow-y: auto;
}
.search-overlay__group {
  margin-bottom: 1.5rem;
}
.search-overlay__group:last-child {
  margin-bottom: 0;
}
.search-overlay__group-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--h-text-soft);
  margin-bottom: 0.8rem;
}
.search-overlay__result {
  display: flex;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: var(--r-sm);
  transition: background 0.2s var(--ease);
  cursor: pointer;
}
.search-overlay__result:hover {
  background: var(--h-bg-section);
}
.search-overlay__result-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.search-overlay__result-name {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--h-text);
  margin-bottom: 0.2rem;
}
.search-overlay__result-desc {
  font-size: 0.75rem;
  color: var(--h-text-soft);
  margin-bottom: 0.3rem;
}
.search-overlay__result-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.search-overlay__result-tag {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  background: var(--h-green-pale);
  color: var(--h-green-deep);
  border-radius: var(--r-pill);
}

/* DRAWER MOBILE */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 85vw;
  max-width: 360px;
  background: white;
  z-index: 150;
  transform: translateX(-100%);
  transition: transform 0.25s var(--ease);
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}
.mobile-drawer.open {
  transform: translateX(0);
}
.mobile-drawer__header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--h-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-drawer__title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--h-green-deep);
}
.mobile-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--h-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.mobile-drawer__nav {
  padding: 1rem 0;
}
.mobile-drawer__item {
  border-bottom: 1px solid var(--h-border);
}
.mobile-drawer__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--h-text);
  min-height: 52px;
}
.mobile-drawer__link:active {
  background: var(--h-bg-section);
}
.mobile-drawer__accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.mobile-drawer__accordion.open {
  max-height: 500px;
}
.mobile-drawer__sub {
  padding: 0.5rem 1.5rem 1rem 2.5rem;
  background: var(--h-bg-section);
}
.mobile-drawer__sub-item {
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: var(--h-text-mid);
}
.mobile-drawer__search {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--h-border);
  margin-top: auto;
}
.mobile-drawer__search-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--h-border);
  border-radius: var(--r-sm);
  font-size: 0.85rem;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.mobile-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  height: calc(100vh - var(--header-height, 148px));
}
.hero__left {
  min-width: 0;
  background: radial-gradient(120% 120% at 0% 0%, #214636 0%, var(--h-green-deep) 55%);
  padding: 4rem 5.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.8rem;
  position: relative;
  overflow: hidden;
}
.hero__left::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(184,148,62,0.18), transparent 70%);
  border-radius: 50%;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--h-gold-light);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--h-gold);
}
.hero__eyebrow {
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  color: white;
  letter-spacing: -0.01em;
  animation: fadeUp 0.7s var(--ease) 0.25s both;
}
.hero__title em {
  font-style: italic;
  color: var(--h-gold-light);
}
.hero__desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--h-green-light);
  max-width: 480px;
  animation: fadeUp 0.7s var(--ease) 0.4s both;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s var(--ease) 0.55s both;
}
.btn-primary {
  background: var(--h-gold);
  color: #2A2110;
  padding: 0.9rem 2rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 22px rgba(184, 148, 62, 0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-primary:hover {
  background: var(--h-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(184, 148, 62, 0.38);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.9rem 2rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.6rem;
  animation: fadeUp 0.7s var(--ease) 0.7s both;
}
.hero__stars {
  color: var(--h-gold-light);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}
.hero__trust-text {
  font-size: 0.78rem;
  color: var(--h-green-light);
}
.hero__right {
  position: relative;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: zoomSlow 9s var(--ease) forwards;
}
.hero__badge {
  position: absolute;
  bottom: 1.8rem;
  left: 1.8rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 1rem 1.4rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  animation: fadeUp 0.7s var(--ease) 0.9s both;
}
.hero__badge-num {
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--h-green-deep);
  line-height: 1;
}
.hero__badge-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--h-text-soft);
  margin-top: 0.3rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zoomSlow {
  to {
    transform: scale(1);
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .mega-menu__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .mega-menu__grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .topbar__message {
    font-size: 0.62rem;
  }
  .nav__links {
    display: none;
  }
  .mega-menu {
    display: none !important;
  }
  .nav__burger {
    display: flex;
  }
  .nav__search-btn {
    width: 36px;
    height: 36px;
  }
  .nav__cart span.label {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    height: auto;
  }
  .hero__left {
    padding: 3.5rem 6% 4rem;
  }
  .hero__right {
    order: -1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 560px) {
  .topbar {
    height: 32px;
  }
  .topbar__message {
    font-size: 0.58rem;
  }
  .nav__inner {
    padding: 0.8rem 5%;
  }
  .hero__actions .btn-primary,
  .hero__actions .btn-outline {
    flex: 1;
    text-align: center;
  }
}

/* GARANTIES */
.guarantees {
  background: var(--h-white);
  border-bottom: 1px solid var(--h-border);
  padding: 2.8rem 5%;
}
.guarantees__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.guarantee {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 1rem;
  padding: 0.3rem 1rem;
  border-right: 1px solid var(--h-border);
}
.guarantee:last-child { border-right: none; }
.guarantee__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--h-green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.guarantee__title {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--h-green-deep);
}
.guarantee__desc {
  font-size: 0.74rem;
  font-weight: 300;
  color: var(--h-text-soft);
  line-height: 1.5;
}

/* SECTIONS */
.section { padding: 6.5rem 5%; }
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head .eyebrow { justify-content: center; margin-bottom: 1rem; }
.section-head .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--h-gold); }
.section-head__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--h-text);
}
.section-head__title em { font-style: italic; color: var(--h-green-sage); }

/* BIENFAITS */
.benefits { background: var(--h-bg-section); }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.benefit-card {
  background: var(--h-white);
  padding: 2rem 1.2rem;
  text-align: center;
  border-radius: var(--r-md);
  border: 1px solid var(--h-border);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.benefit-card.active { background: var(--h-green-deep); border-color: var(--h-green-deep); }
.benefit-card__icon {
  width: 58px;
  height: 58px;
  background: var(--h-green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.1rem;
  transition: background 0.3s var(--ease);
}
.benefit-card.active .benefit-card__icon { background: rgba(255,255,255,0.12); }
.benefit-card__title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--h-text);
  margin-bottom: 0.5rem;
  transition: color 0.3s var(--ease);
}
.benefit-card.active .benefit-card__title { color: white; }
.benefit-card__count {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--h-text-soft);
  transition: color 0.3s var(--ease);
}
.benefit-card.active .benefit-card__count { color: var(--h-green-light); }

/* PRODUITS */
.products { background: var(--h-white); }
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  max-width: 1280px;
  margin: 0 auto;
}
.product-card {
  background: white;
  border: 1px solid var(--h-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: var(--h-bg-section);
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card__img { transform: scale(1.07); }
.product-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(45, 90, 65, 0.95);
  color: white;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  backdrop-filter: blur(4px);
}
.product-card__badge.bio { background: rgba(184, 148, 62, 0.95); }
.product-card__fav {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
}
.product-card:hover .product-card__fav { opacity: 1; transform: translateY(0); }
.product-card__fav:hover { background: white; }
.product-card__fav.active { color: #c0392b; }
.product-card__body { padding: 1.4rem 1.5rem 1.5rem; }
.product-card__name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--h-text);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
.product-card__subtitle {
  font-family: var(--f-deco);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--h-text-mid);
  margin-bottom: 1.1rem;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card__price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--h-text);
}
.product-card__price span {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--h-text-soft);
}
/* Cacher le texte du bouton WooCommerce et afficher un + */
.woocommerce ul.products li.product .add_to_cart_button {
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
}
.woocommerce ul.products li.product .add_to_cart_button::after {
  content: '+';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 0;
  font-size: 1.4rem;
  font-weight: 300;
}

.btn-add,
.woocommerce ul.products li.product .add_to_cart_button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--h-green-deep);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-add:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover { background: var(--h-gold); transform: scale(1.1) rotate(90deg); }
.btn-add:active,
.woocommerce ul.products li.product .add_to_cart_button:active { transform: scale(0.92); }
.products__more { text-align: center; margin-top: 3.5rem; }

/* ORIGINE */
.origin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}
.origin__img {
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=800') center / cover no-repeat;
  position: relative;
}
.origin__content {
  background: radial-gradient(130% 130% at 100% 0%, #214636 0%, var(--h-green-deep) 60%);
  padding: 6rem 5.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.origin__content .eyebrow { margin-bottom: 1.5rem; }
.origin__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 500;
  line-height: 1.2;
  color: white;
  margin-bottom: 1.8rem;
}
.origin__title em { font-style: italic; color: var(--h-gold-light); }
.origin__text {
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--h-green-light);
  max-width: 480px;
  margin-bottom: 2.8rem;
}
.origin__stats { display: flex; gap: 3rem; flex-wrap: wrap; }
.origin__stat-num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--h-gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.origin__stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--h-green-light);
  opacity: 0.6;
}

/* RITUEL */
.ritual { background: var(--h-bg); }
.ritual__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.ritual__left { display: flex; flex-direction: column; gap: 1.8rem; }
.ritual__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--h-text);
}
.ritual__title em { font-style: italic; color: var(--h-green-sage); }
.ritual__steps { display: flex; flex-direction: column; gap: 1.2rem; }
.ritual-step {
  background: white;
  padding: 1.6rem 1.8rem;
  border-radius: var(--r-md);
  border: 1px solid var(--h-border);
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.ritual-step:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.ritual-step__num {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--h-gold);
  line-height: 1;
  flex-shrink: 0;
}
.ritual-step__title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--h-text);
  margin-bottom: 0.3rem;
}
.ritual-step__desc {
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--h-text-soft);
  line-height: 1.65;
}
.ritual__right { position: relative; }
.ritual__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.ritual__quote {
  position: absolute;
  bottom: -1.6rem;
  right: -1.6rem;
  background: white;
  border-radius: var(--r-md);
  border-top: 3px solid var(--h-gold);
  padding: 1.6rem 1.8rem;
  max-width: 280px;
  box-shadow: var(--shadow-lg);
}
.ritual__quote-text {
  font-family: var(--f-deco);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--h-text);
  line-height: 1.55;
  margin-bottom: 0.7rem;
}
.ritual__quote-author {
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--h-text-soft);
}

/* NEWSLETTER */
.newsletter {
  background: linear-gradient(135deg, var(--h-green-deep) 0%, #2D5A41 100%);
  padding: 5rem 5%;
}
.newsletter__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.newsletter__title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}
.newsletter__desc {
  font-size: 0.96rem;
  color: var(--h-green-light);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.newsletter__form {
  display: flex;
  gap: 0.8rem;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter__input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.newsletter__input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter__input:focus {
  border-color: var(--h-gold);
  background: rgba(255,255,255,0.15);
}
.newsletter__btn {
  padding: 1rem 2.2rem;
  background: var(--h-gold);
  color: #2A2110;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.newsletter__btn:hover {
  background: var(--h-gold-light);
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  background: var(--h-green-deep);
  color: var(--h-green-light);
  padding: 4.5rem 5% 2.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand { display: flex; flex-direction: column; gap: 1.2rem; }
.footer__logo {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: white;
}
.footer__tagline {
  font-family: var(--f-deco);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--h-gold-light);
  margin-top: -0.5rem;
}
.footer__desc {
  font-size: 0.84rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer__col-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  margin-bottom: 1.2rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer__link {
  font-size: 0.84rem;
  color: var(--h-green-light);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.footer__link:hover {
  color: var(--h-gold-light);
  padding-left: 4px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  font-size: 0.74rem;
}
.footer__socials {
  display: flex;
  gap: 1rem;
}
.footer__social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__social:hover {
  background: var(--h-gold);
  transform: translateY(-3px);
}

/* TOAST */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--h-green-deep);
  color: white;
  padding: 1.2rem 1.8rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(-120%);
  transition: transform 0.35s var(--ease);
  z-index: 300;
}
.toast.show { transform: translateY(0); }
.toast__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.toast__text {
  font-size: 0.88rem;
  font-weight: 400;
}
.toast__close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-left: 0.5rem;
  transition: background 0.2s var(--ease);
}
.toast__close:hover {
  background: rgba(255,255,255,0.2);
}

/* RESPONSIVE ADDITIONS */
@media (max-width: 1100px) {
  .mega-menu__grid--5col { grid-template-columns: repeat(3, 1fr); }
  .guarantees__grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee { border-right: none; border-bottom: 1px solid var(--h-border); padding: 1rem; }
  .guarantee:nth-last-child(-n+2) { border-bottom: none; }
  .benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .origin { grid-template-columns: 1fr; }
  .origin__img { min-height: 300px; }
  .ritual__grid { grid-template-columns: 1fr; gap: 3rem; }
  .ritual__right { order: -1; }
  .ritual__quote { position: static; margin-top: 1.5rem; }
  .newsletter__form { flex-direction: column; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 560px) {
  .mega-menu__grid--5col { grid-template-columns: 1fr; }
  .guarantees__grid { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: 1fr; }
}

/* =====================================================
   WOOCOMMERCE
   ===================================================== */
.wc-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 5% 5rem;
}
.wc-page .page-title,
.woocommerce-products-header__title {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--h-green-deep);
  margin-bottom: 1.5rem;
  text-align: center;
}
.woocommerce-result-count {
  color: var(--h-text-soft);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.woocommerce-ordering {
  margin-bottom: 1.5rem;
}
.woocommerce-ordering select {
  padding: 0.6rem 1rem;
  border: 1px solid var(--h-border);
  border-radius: var(--r-pill);
  background: var(--h-white);
  font-family: var(--f-sans);
  color: var(--h-text);
}

/* Grille produits (le markup .product-card gère l'apparence des cartes) */
.woocommerce ul.products,
.wc-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products li.product,
.wc-page ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product .product-card__body { flex: 1; }
.woocommerce span.onsale {
  background: var(--h-gold);
  color: var(--h-white);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-height: auto;
  min-width: auto;
  line-height: 1.4;
  top: 1rem;
  left: 1rem;
  margin: 0;
}

/* Boutons WooCommerce */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--h-green-deep);
  color: var(--h-white);
  border-radius: var(--r-pill);
  padding: 0.7rem 1.6rem;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--h-gold);
  transform: translateY(-2px);
}
.woocommerce ul.products li.product .product-card__footer .button,
.woocommerce ul.products li.product .product-card__footer .add_to_cart_button {
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
  margin: 0;
  white-space: nowrap;
}
/* Cacher le lien "Voir le panier" que WooCommerce ajoute dans le produit */
.product-card .added_to_cart {
  display: none !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
  margin-top: 3rem;
  text-align: center;
}
.woocommerce nav.woocommerce-pagination ul {
  border: none;
  display: inline-flex;
  gap: 0.5rem;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid var(--h-border);
  border-radius: var(--r-sm);
  padding: 0.5rem 0.9rem;
  color: var(--h-text);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--h-green-deep);
  color: var(--h-white);
  border-color: var(--h-green-deep);
}

/* Messages WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--h-gold);
  border-radius: var(--r-sm);
  background: var(--h-green-pale);
  margin-bottom: 2.5rem;
}
.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--h-gold);
}

/* Page produit unique */
.single-product .wc-page div.product .product_title {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--h-green-deep);
}
.single-product .wc-page div.product p.price,
.single-product .wc-page div.product span.price {
  color: var(--h-green-mid);
  font-size: 1.4rem;
  font-weight: 600;
}
.single-product .wc-page div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--h-gold);
}

/* Responsive WooCommerce */
@media (max-width: 1100px) {
  .woocommerce ul.products,
  .wc-page ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .woocommerce ul.products,
  .wc-page ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .woocommerce ul.products,
  .wc-page ul.products { grid-template-columns: 1fr; }
}

/* =====================================================
   FICHE PRODUIT (single)
   ===================================================== */
.breadcrumb {
  padding: 0 0 1.5rem;
  font-size: 0.8rem;
  color: var(--h-text-soft);
}
.breadcrumb a { transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--h-gold); }
.breadcrumb__sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}
.breadcrumb__current {
  color: var(--h-text);
  font-weight: 500;
}

.single-product .wc-page { padding-top: 2rem; }
.single-product div.product .product__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* Galerie */
.product__gallery {
  position: sticky;
  top: 120px;
  height: fit-content;
}
.product__main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--h-bg-section);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}
.product__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.product__thumb {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--h-bg-section);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.product__thumb:hover { border-color: var(--h-gold); transform: scale(1.05); }
.product__thumb.active { border-color: var(--h-green-deep); }

/* Info produit */
.product__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--h-text);
  margin-bottom: 0.8rem;
}
.single-product .product-card__subtitle {
  font-family: var(--f-deco);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--h-text-soft);
  margin-bottom: 1.5rem;
}
.product__price-block {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--h-border);
}
.single-product .product-card__price {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--h-green-deep);
}
.single-product .product-card__price span,
.single-product .product-card__price .woocommerce-Price-currencySymbol {
  font-family: var(--f-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--h-text-soft);
}
.product__badge {
  background: var(--h-gold);
  color: var(--h-green-deep);
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product__desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--h-text-mid);
  margin-bottom: 2.5rem;
}

/* Actions : quantité WooCommerce + bouton + favori */
.product__actions {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.single-product div.product form.cart {
  display: flex;
  gap: 1rem;
  flex: 1;
  margin: 0;
}
.single-product div.product form.cart .quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--h-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.single-product div.product form.cart .quantity input.qty {
  width: 64px;
  height: 52px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  background: var(--h-white);
}
.single-product div.product form.cart button.single_add_to_cart_button {
  flex: 1;
  background: var(--h-gold);
  color: var(--h-green-deep);
  padding: 1rem 2.5rem;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 22px rgba(184,148,62,0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.single-product div.product form.cart button.single_add_to_cart_button:hover {
  background: var(--h-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(184,148,62,0.38);
}
.product__fav {
  width: 52px;
  height: 52px;
  border: 1px solid var(--h-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: white;
  transition: all 0.25s var(--ease);
}
.product__fav:hover { background: var(--h-gold); border-color: var(--h-gold); transform: scale(1.05); }
.product__fav.active { color: #E63946; }

/* Préparation */
.ritual-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.8rem;
  background: var(--h-bg-section);
  border-radius: var(--r-md);
  border-left: 4px solid var(--h-gold);
}
.ritual-step__num { font-size: 2rem; line-height: 1; }
.ritual-step__title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--h-text);
  margin-bottom: 0.5rem;
}
.ritual-step__desc { font-size: 0.92rem; line-height: 1.75; color: var(--h-text-mid); }

/* Description longue */
.product__longdesc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--h-text-mid);
  margin-bottom: 3rem;
  max-width: 900px;
}
.product__longdesc h2,
.product__longdesc h3 {
  font-family: var(--f-display);
  color: var(--h-text);
  margin: 1.5rem 0 0.8rem;
}
.product__longdesc ul { padding-left: 1.2rem; list-style: disc; }

/* Origine */
.product__origin {
  padding: 2rem;
  background: var(--h-green-pale);
  border-radius: var(--r-md);
  margin-bottom: 3rem;
}
.product__origin-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--h-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.product__origin-text { font-size: 0.92rem; line-height: 1.75; color: var(--h-text-mid); }

/* Produits similaires */
.single-product .related.products {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--h-border);
  clear: both;
}
.single-product .related.products > h2 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--h-text);
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (max-width: 1100px) {
  .single-product div.product .product__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .product__gallery { position: static; }
}
@media (max-width: 600px) {
  .single-product div.product form.cart { flex-direction: column; }
  .product__fav { width: 100%; }
}

/* Page Panier */
.woocommerce-cart .wc-page {
  max-width: 1200px;
}
.woocommerce-cart-form {
  margin-bottom: 3rem;
}
.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--h-white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.shop_table thead {
  background: var(--h-green-pale);
}
.shop_table th {
  padding: 1rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--h-green-deep);
}
.shop_table td {
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--h-border);
  vertical-align: middle;
}
.shop_table .product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.shop_table .product-name a {
  font-weight: 500;
  color: var(--h-text);
  transition: color 0.2s;
}
.shop_table .product-name a:hover {
  color: var(--h-gold);
}
.shop_table .product-price,
.shop_table .product-subtotal {
  font-weight: 500;
  color: var(--h-green-deep);
}
.shop_table .product-remove a {
  color: var(--h-text-soft);
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s;
}
.shop_table .product-remove a:hover {
  color: #d32f2f;
}
.shop_table .quantity input {
  width: 60px;
  padding: 0.5rem;
  text-align: center;
  border: 1px solid var(--h-border);
  border-radius: var(--r-sm);
}
.shop_table .actions {
  background: var(--h-bg-section);
  padding: 1.5rem !important;
}
.shop_table .actions .coupon {
  display: inline-flex;
  gap: 0.5rem;
  margin-right: 1rem;
}
.shop_table .actions input[type="text"] {
  padding: 0.7rem 1rem;
  border: 1px solid var(--h-border);
  border-radius: var(--r-pill);
  font-family: var(--f-sans);
}
.shop_table .actions button {
  padding: 0.7rem 1.5rem;
  background: var(--h-green-deep);
  color: var(--h-white);
  border-radius: var(--r-pill);
  font-weight: 500;
  transition: background 0.2s;
}
.shop_table .actions button:hover {
  background: var(--h-green-mid);
}
.cart-collaterals {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}
.cart_totals {
  width: 100%;
  max-width: 400px;
  background: var(--h-white);
  padding: 2rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.cart_totals h2 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--h-green-deep);
}
.cart_totals table {
  width: 100%;
  margin-bottom: 1.5rem;
}
.cart_totals th,
.cart_totals td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--h-border);
}
.cart_totals .order-total th,
.cart_totals .order-total td {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--h-green-deep);
  border-bottom: none;
  padding-top: 1rem;
}
.wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--h-gold);
  color: var(--h-white);
  text-align: center;
  border-radius: var(--r-pill);
  font-weight: 600;
  transition: background 0.2s;
}
.wc-proceed-to-checkout .checkout-button:hover {
  background: var(--h-gold-light);
}

@media (max-width: 768px) {
  .shop_table thead {
    display: none;
  }
  .shop_table,
  .shop_table tbody,
  .shop_table tr,
  .shop_table td {
    display: block;
    width: 100%;
  }
  .shop_table tr {
    margin-bottom: 2rem;
    border: 1px solid var(--h-border);
    border-radius: var(--r-md);
    overflow: hidden;
  }
  .shop_table td {
    text-align: right;
    padding: 0.75rem 1rem;
    position: relative;
    padding-left: 50%;
  }
  .shop_table td::before {
    content: attr(data-title);
    position: absolute;
    left: 1rem;
    font-weight: 500;
    color: var(--h-text-soft);
  }
  .shop_table .product-thumbnail {
    text-align: center;
    padding-left: 1rem;
  }
  .shop_table .product-thumbnail::before {
    display: none;
  }
  .cart-collaterals {
    justify-content: stretch;
  }
  .cart_totals {
    max-width: 100%;
  }
}

/* =====================================================
   SIDEBAR CATÉGORIES — EXPÉRIMENTAL
   Peut être modifié/supprimé selon retours UX
   ===================================================== */
.wc-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.wc-sidebar__box {
  background: var(--h-card);
  border-radius: var(--r-md);
  padding: 1.5rem;
  border: 1px solid var(--h-border);
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.wc-sidebar__title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--h-text-soft);
  margin: 0 0 1rem;
  font-weight: 600;
}

.wc-sidebar__root {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--h-green-deep);
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  margin-bottom: 0.5rem;
  transition: background 0.2s var(--ease);
}

.wc-sidebar__root:hover,
.wc-sidebar__root.is-current {
  background: var(--h-green-50);
  color: var(--h-green-deep);
}

.wc-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wc-sidebar__item {
  margin-bottom: 0.25rem;
}

.wc-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--h-text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.wc-sidebar__link:hover {
  background: var(--h-bg);
  color: var(--h-green-deep);
}

.wc-sidebar__item.is-active > .wc-sidebar__link {
  background: var(--h-green-50);
  color: var(--h-green-deep);
  font-weight: 500;
}

.wc-sidebar__count {
  font-size: 0.72rem;
  color: var(--h-text-soft);
  background: var(--h-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-weight: 400;
}

.wc-sidebar__sub {
  list-style: none;
  margin: 0.25rem 0 0.5rem 0.75rem;
  padding: 0 0 0 0.75rem;
  border-left: 2px solid var(--h-border);
}

.wc-sidebar__sub-item {
  margin-bottom: 0.15rem;
}

.wc-sidebar__sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.6rem;
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  color: var(--h-text-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.wc-sidebar__sub-link:hover {
  color: var(--h-green-deep);
}

.wc-sidebar__sub-item.is-current .wc-sidebar__sub-link {
  color: var(--h-green-deep);
  font-weight: 500;
  background: var(--h-green-50);
}

@media (max-width: 900px) {
  .wc-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .wc-sidebar__box {
    position: static;
  }
}

/* ── FICHE TECHNIQUE (Attributs produit) ── */
.product-specs {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--h-border);
}

.product-specs__title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--h-text);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.product-specs__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-sans);
}

.product-specs__table tbody tr {
  border-bottom: 1px solid var(--h-border);
}

.product-specs__table tbody tr:nth-child(odd) {
  background: transparent;
}

.product-specs__table tbody tr:nth-child(even) {
  background: var(--h-bg-section);
}

.product-specs__table td {
  padding: 0.75rem 0.6rem;
  vertical-align: middle;
}

.product-specs__label {
  width: 40%;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--h-text-soft);
  padding-left: 0;
}

.product-specs__value {
  width: 60%;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--h-text);
  text-align: right;
  padding-right: 0;
}

@media (min-width: 768px) {
  .product-specs__table td {
    padding: 0.85rem 1rem;
  }
}
