/* ============================================================
   KOUMA BANAA — CSS Principal
   Palette : vert #234D35 · beige #F6EFE4 · or #C9A45C · brun #8A5A3B
   ============================================================ */

/* ---- RESET & BASE ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #234D35;
  --green-med:   #3A6B4A;
  --green-light: #EDF3EF;
  --beige:       #F6EFE4;
  --beige-dark:  #EDE3D4;
  --brown:       #8A5A3B;
  --gold:        #C9A45C;
  --gold-light:  #F0DFB8;
  --cream:       #FFFDF8;
  --text:        #1E1E1E;
  --text-med:    #4A4A4A;
  --text-light:  #7A7A7A;
  --white:       #ffffff;
  --wa-green:    #25D366;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(35,77,53,.06);
  --shadow:      0 4px 20px rgba(35,77,53,.10);
  --shadow-lg:   0 8px 40px rgba(35,77,53,.14);

  --transition:  .25s ease;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Manrope', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- TYPOGRAPHY ------------------------------------------ */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 500; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brown);
  margin-bottom: 10px; display: block;
}
.section-title { color: var(--green); margin-bottom: 12px; }

/* ---- BUTTONS --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  transition: all var(--transition); white-space: nowrap;
  cursor: pointer; text-decoration: none;
}
.btn-primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 4px 14px rgba(35,77,53,.3);
}
.btn-primary:hover { background: var(--green-med); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(35,77,53,.35); }

.btn-secondary {
  background: transparent; color: var(--green);
  border: 2px solid var(--green);
}
.btn-secondary:hover { background: var(--green); color: var(--white); }

.btn-gold {
  background: var(--gold); color: var(--white);
  box-shadow: 0 4px 14px rgba(201,164,92,.35);
}
.btn-gold:hover { background: #b8913f; transform: translateY(-2px); }

.btn-outline-green {
  background: transparent; color: var(--green);
  border: 2px solid var(--green);
  padding: 13px 32px;
}
.btn-outline-green:hover { background: var(--green); color: var(--white); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa-green); color: var(--white);
  padding: 10px 20px; border-radius: 50px;
  font-size: .85rem; font-weight: 600;
  transition: all var(--transition); white-space: nowrap;
}
.btn-whatsapp:hover { background: #1eb854; transform: translateY(-1px); }
.btn-whatsapp span { display: none; }

.btn-whatsapp-lg {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa-green); color: var(--white);
  padding: 14px 28px; border-radius: 50px;
  font-size: .95rem; font-weight: 600;
  transition: all var(--transition);
  margin-top: 8px;
}
.btn-whatsapp-lg:hover { background: #1eb854; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.35); }

.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 16px; font-size: .8rem; }
.btn-sm-full { display: block; text-align: center; margin-top: 16px; padding: 12px; font-size: .85rem; }

.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--text); transition: all var(--transition);
  background: transparent; border: none;
  font-size: 1.5rem; line-height: 1;
}
.icon-btn:hover { background: var(--beige); color: var(--green); }
.icon-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* ---- ANNOUNCEMENT BAR ------------------------------------ */
.announcement-bar {
  background: var(--green); color: var(--white);
  font-size: .8rem; font-weight: 500; padding: 10px 0;
  position: relative; z-index: 100;
}
.announcement-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  text-align: center;
}
.announcement-close {
  background: none; border: none; color: var(--white);
  font-size: 1.2rem; cursor: pointer; line-height: 1;
  opacity: .7; transition: opacity var(--transition);
  padding: 0 4px; flex-shrink: 0;
}
.announcement-close:hover { opacity: 1; }

/* ---- HEADER ---------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 200;
  background: var(--cream); border-bottom: 1px solid var(--beige-dark);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; text-decoration: none;
}
.logo-leaf { font-size: 1.4rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--green); letter-spacing: .02em; }
.logo-sub { font-size: .65rem; font-weight: 500; color: var(--brown); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }

/* Nav */
.main-nav { flex: 1; }
.nav-list { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.nav-link {
  font-size: .85rem; font-weight: 500; color: var(--text-med);
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--green); background: var(--green-light); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--brown); color: var(--white);
  font-size: .65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

/* Burger */
.burger-btn {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: var(--green-light); border: none; border-radius: var(--radius-sm); cursor: pointer;
  flex-shrink: 0;
}
.burger-btn span {
  display: block; width: 20px; height: 2px; background: var(--green);
  border-radius: 2px; transition: all var(--transition);
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav close button */
.mobile-nav-close {
  display: none; position: absolute; top: 20px; right: 16px;
  background: var(--beige-dark); border: none; border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--green); transition: background var(--transition);
}
.mobile-nav-close:hover { background: var(--beige); }

/* Mobile nav CTA */
.mobile-nav-cta { display: none; }
.btn-mobile-consult {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  width: 100%; padding: 14px 20px;
  background: var(--green); color: var(--white);
  border: none; border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-sans); font-size: .9rem; font-weight: 600;
  transition: background var(--transition);
}
.btn-mobile-consult:hover { background: var(--green-med); }


/* Search bar */
.search-bar {
  background: var(--cream); border-top: 1px solid var(--beige-dark);
  padding: 12px 0; display: none;
}
.search-bar.open { display: block; }
.search-bar-inner { display: flex; gap: 8px; align-items: center; }
.search-bar-inner input {
  flex: 1; padding: 10px 16px; border: 2px solid var(--beige-dark);
  border-radius: 50px; font-size: .9rem;
  transition: border-color var(--transition); background: var(--white);
}
.search-bar-inner input:focus { outline: none; border-color: var(--green); }
.btn-search {
  padding: 10px 20px; background: var(--green); color: var(--white);
  border-radius: 50px; font-size: .85rem; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition);
}
.btn-search:hover { background: var(--green-med); }
.search-results {
  max-width: 1200px; margin: 8px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
}
.search-result-item {
  background: var(--white); border-radius: var(--radius); padding: 12px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--beige-dark); cursor: pointer;
  transition: all var(--transition); font-size: .85rem;
}
.search-result-item:hover { border-color: var(--green); transform: translateY(-1px); }
.search-result-item img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }

/* Nav overlay mobile */
.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 190; backdrop-filter: blur(2px);
}
.nav-overlay.open { display: block; }

/* ---- HERO ------------------------------------------------ */
.hero {
  background: linear-gradient(135deg, var(--green) 0%, #1a3a28 100%);
  position: relative; overflow: hidden; padding-bottom: 0;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(201,164,92,.07); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 20%; left: -5%;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.04); pointer-events: none;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding-top: 80px; padding-bottom: 60px; position: relative; z-index: 1;
}

.hero-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; display: block;
}
.hero-title {
  color: var(--white); margin-bottom: 20px;
  line-height: 1.15;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-subtitle { color: rgba(255,255,255,.78); font-size: 1rem; margin-bottom: 32px; max-width: 460px; }

.hero-ctas { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-ctas .btn-secondary { border-color: rgba(255,255,255,.45); color: var(--white); }
.hero-ctas .btn-secondary:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.hero-badges {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px;
}
.hero-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 50px;
  padding: 6px 14px; font-size: .78rem; color: rgba(255,255,255,.9);
  font-weight: 500;
}
.hero-badge svg { color: var(--gold); flex-shrink: 0; }

.hero-social-proof {
  display: flex; align-items: center; gap: 12px;
}
.review-avatars { display: flex; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; color: var(--white);
  border: 2px solid var(--white); margin-right: -8px;
}
.stars { color: var(--gold); font-size: .9rem; letter-spacing: 1px; }
.review-text { font-size: .8rem; color: rgba(255,255,255,.75); }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-img-wrap {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
  max-width: 520px; width: 100%;
}
.hero-img { width: 100%; height: 480px; }
.hero-img-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow);
}
.badge-icon { font-size: 1.8rem; }
.hero-img-badge div { display: flex; flex-direction: column; }
.hero-img-badge strong { font-size: .9rem; color: var(--green); }
.hero-img-badge span { font-size: .75rem; color: var(--text-light); }

.hero-floating-card {
  position: absolute; top: 32px; right: -20px;
  background: var(--gold); color: var(--white);
  border-radius: var(--radius); padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(201,164,92,.4); min-width: 180px;
  animation: floatCard 3s ease-in-out infinite;
}
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.fc-icon { font-size: 1.4rem; }
.fc-text { display: flex; flex-direction: column; }
.fc-text strong { font-size: .85rem; }
.fc-text span { font-size: .72rem; opacity: .85; }

.hero-wave { line-height: 0; }
.hero-wave svg { width: 100%; display: block; }

/* ---- CATEGORIES ------------------------------------------ */
.categories {
  background: var(--beige); padding: 80px 0;
}
.categories-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.category-card {
  background: var(--cream); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-img-wrap { height: 200px; overflow: hidden; }
.category-img-wrap img { width: 100%; height: 100%; transition: transform .4s ease; }
.category-card:hover .category-img-wrap img { transform: scale(1.06); }
.category-content { padding: 20px; }
.category-content h3 { font-size: 1.05rem; color: var(--green); margin-bottom: 8px; }
.category-content p { font-size: .83rem; color: var(--text-med); line-height: 1.5; margin-bottom: 14px; }
.category-link {
  font-size: .82rem; font-weight: 700; color: var(--brown);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap var(--transition);
}
.category-link:hover { gap: 8px; color: var(--green); }
.category-link span { transition: transform var(--transition); }
.category-link:hover span { transform: translateX(3px); }

/* ---- PRODUCTS -------------------------------------------- */
.products { padding: 80px 0; background: var(--cream); }

/* Toolbar : filtres + tri, côte à côte sur desktop */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Filter tabs */
.filter-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
}
.filter-tab {
  padding: 9px 20px; border-radius: 50px;
  font-size: .82rem; font-weight: 600;
  border: 2px solid var(--beige-dark); color: var(--text-med);
  background: var(--cream); transition: all var(--transition); cursor: pointer;
}
.filter-tab:hover { border-color: var(--green); color: var(--green); }
.filter-tab.active { background: var(--green); border-color: var(--green); color: var(--white); }

/* Sort control */
.sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.sort-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-med);
  white-space: nowrap;
}
.sort-select {
  padding: 9px 36px 9px 16px;
  border-radius: 50px;
  border: 2px solid var(--beige-dark);
  background: var(--cream)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23234D35' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-med);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition);
}
.sort-select:hover { border-color: var(--green); color: var(--green); }
.sort-select:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(35,77,53,.15);
}

@media (max-width: 640px) {
  .products-toolbar { flex-direction: column; align-items: stretch; }
  .filter-tabs { justify-content: center; }
  .sort-control { justify-content: center; }
}

/* Products grid */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 40px;
}

/* Product card */
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card[data-hidden="true"] { display: none; }

.product-img-wrap { position: relative; overflow: hidden; height: 240px; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 50px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.badge-bestseller { background: var(--brown); color: var(--white); }
.badge-naturel { background: var(--green); color: var(--white); }

.product-overlay {
  position: absolute; inset: 0;
  background: rgba(35,77,53,.6); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.btn-quick-add {
  background: var(--white); color: var(--green);
  padding: 10px 20px; border-radius: 50px;
  font-size: .82rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: all var(--transition);
  transform: translateY(6px); transition: all var(--transition);
}
.product-card:hover .btn-quick-add { transform: translateY(0); }
.btn-quick-add:hover { background: var(--green); color: var(--white); }

.product-info { padding: 16px; }
.product-category {
  font-size: .7rem; font-weight: 700; color: var(--brown);
  letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 6px;
}
.product-name { font-size: 1rem; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.product-stars { font-size: .78rem; color: var(--gold); margin-bottom: 12px; }
.product-stars span { color: var(--text-light); font-size: .75rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-price { font-size: 1.05rem; font-weight: 700; color: var(--green); }

.product-actions { display: flex; gap: 6px; align-items: center; }
.btn-add-cart {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; transition: all var(--transition);
  flex-shrink: 0;
}
.btn-add-cart:hover { background: var(--green-med); transform: scale(1.1); }
.btn-wa-cart {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--wa-green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0;
}
.btn-wa-cart:hover { background: #1eb854; transform: scale(1.1); }

.products-cta { text-align: center; margin-top: 8px; }

/* ---- BRAND STORY ----------------------------------------- */
.brand-story {
  background: var(--beige); padding: 100px 0;
  overflow: hidden;
}
.brand-story-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.brand-story-visual { position: relative; }
.story-img-main {
  border-radius: var(--radius-xl); overflow: hidden;
  height: 520px; box-shadow: var(--shadow-lg);
}
.story-img-main img { width: 100%; height: 100%; }
.story-img-secondary {
  position: absolute; bottom: -30px; right: -30px;
  width: 180px; height: 180px; border-radius: var(--radius-lg);
  overflow: hidden; border: 4px solid var(--cream); box-shadow: var(--shadow);
}
.story-img-secondary img { width: 100%; height: 100%; }
.story-badge-float {
  position: absolute; top: 30px; right: -20px;
  background: var(--green); color: var(--white);
  border-radius: var(--radius); padding: 16px 20px;
  text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.story-badge-number { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--gold); }
.story-badge-float span:last-child { font-size: .72rem; opacity: .85; }

.brand-story-content .section-eyebrow { text-align: left; }
.brand-story-content .section-title { text-align: left; margin-bottom: 24px; }
.story-text { color: var(--text-med); margin-bottom: 16px; line-height: 1.75; font-size: .95rem; }
.story-text strong { color: var(--green); }

.story-quote {
  border-left: 3px solid var(--gold); padding-left: 20px;
  margin: 28px 0; background: var(--gold-light); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 20px 20px 24px;
}
.story-quote p { font-family: var(--font-serif); font-size: 1.05rem; color: var(--green); font-style: italic; margin-bottom: 8px; }
.story-quote cite { font-size: .8rem; color: var(--brown); font-weight: 600; }

/* ---- WHY US ---------------------------------------------- */
.why-us { padding: 80px 0; background: var(--cream); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.why-card {
  text-align: center; padding: 36px 24px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--beige-dark); transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow); }
.why-icon { width: 64px; height: 64px; margin: 0 auto 20px; }
.why-icon svg { width: 100%; height: 100%; }
.why-card h3 { font-size: 1.05rem; color: var(--green); margin-bottom: 12px; }
.why-card p { font-size: .85rem; color: var(--text-med); line-height: 1.65; }

/* ---- HOW TO BUY ------------------------------------------ */
.how-to-buy {
  background: var(--beige); padding: 80px 0;
}
.steps-row {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 12px; margin-bottom: 56px; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 180px; max-width: 240px;
  text-align: center; padding: 24px 16px;
  background: var(--cream); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.step-number {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700;
  color: var(--gold-light); line-height: 1; margin-bottom: 6px;
}
.step-icon { font-size: 2rem; margin-bottom: 12px; }
.step h3 { font-size: .95rem; color: var(--green); margin-bottom: 8px; }
.step p { font-size: .8rem; color: var(--text-med); line-height: 1.55; }
.step-arrow {
  font-size: 1.5rem; color: var(--gold); font-weight: 300;
  align-self: center; flex-shrink: 0; margin-top: -20px;
}

.payment-methods { text-align: center; }
.payment-label { font-size: .85rem; font-weight: 600; color: var(--text-med); margin-bottom: 16px; }
.payment-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.payment-badge {
  display: flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--beige-dark);
  border-radius: var(--radius); padding: 10px 16px;
  font-size: .82rem; font-weight: 600; color: var(--text-med);
  box-shadow: var(--shadow-sm);
}
.pay-icon {
  width: 30px; height: 20px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 800; color: var(--white);
  letter-spacing: -.02em; flex-shrink: 0;
}

/* ---- TESTIMONIALS ---------------------------------------- */
.testimonials { padding: 80px 0; background: var(--cream); }
.global-rating {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 8px;
}
.stars-lg { font-size: 1.2rem; color: var(--gold); letter-spacing: 2px; }
.global-rating span { font-size: .85rem; color: var(--text-med); font-weight: 500; }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--beige-dark);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.testimonial-card.featured {
  background: var(--green); border-color: var(--green); color: var(--white);
}
.testimonial-card.featured blockquote { color: rgba(255,255,255,.9); }
.testimonial-card.featured .testimonial-location { opacity: .7; }
.testimonial-card.featured .testimonial-product { color: var(--gold); }
.testimonial-card.featured .testimonial-stars { color: var(--gold); }

.testimonial-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.testimonial-header > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.testimonial-header strong { font-size: .9rem; }
.testimonial-location { font-size: .75rem; color: var(--text-light); }
.testimonial-stars { font-size: .85rem; color: var(--gold); margin-left: auto; flex-shrink: 0; }

.testimonial-card blockquote {
  font-size: .88rem; line-height: 1.7; color: var(--text-med);
  margin-bottom: 16px; position: relative; padding-top: 4px;
}
.testimonial-card blockquote::before {
  content: '"'; font-family: var(--font-serif); font-size: 3rem;
  color: var(--gold); line-height: 1; position: absolute; top: -8px; left: -4px; opacity: .3;
}
.testimonial-product {
  font-size: .72rem; font-weight: 700; color: var(--brown);
  letter-spacing: .05em; text-transform: uppercase;
}

/* ---- NEWSLETTER ------------------------------------------ */
.newsletter {
  background: var(--green); padding: 72px 0;
}
.newsletter-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.newsletter-content h2 { color: var(--white); margin-bottom: 10px; }
.newsletter-content p { color: rgba(255,255,255,.75); font-size: .9rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-input-group {
  display: flex; gap: 8px; background: var(--white);
  border-radius: 50px; padding: 6px 6px 6px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.newsletter-input-group input {
  flex: 1; border: none; background: none; font-size: .9rem;
  color: var(--text); min-width: 0;
}
.newsletter-input-group input:focus { outline: none; }
.newsletter-input-group input::placeholder { color: var(--text-light); }
.newsletter-privacy { font-size: .72rem; color: rgba(255,255,255,.5); }
.newsletter-success {
  display: none; background: rgba(255,255,255,.15); color: var(--white);
  border-radius: var(--radius); padding: 10px 16px; font-size: .85rem;
}
.newsletter-success.show { display: block; }

/* ---- FAQ ------------------------------------------------- */
.faq { padding: 80px 0; background: var(--beige); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--cream); border-radius: var(--radius);
  border: 1px solid var(--beige-dark); overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open { border-color: var(--green); box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 18px 20px; text-align: left;
  background: none; border: none; cursor: pointer;
  font-size: .92rem; font-weight: 600; color: var(--text);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--green); }
.faq-item.open .faq-question { color: var(--green); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); color: var(--text-light); }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--green); }

.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 18px; }
.faq-answer p { font-size: .875rem; color: var(--text-med); line-height: 1.7; }

/* ---- CONTACT --------------------------------------------- */
.contact { padding: 80px 0; background: var(--cream); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 60px; align-items: start;
}

.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item div { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: .85rem; color: var(--text-med); font-weight: 700; }
.contact-item a, .contact-item span { font-size: .95rem; color: var(--text); font-weight: 500; }
.contact-item a:hover { color: var(--green); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 700; color: var(--text-med); }
.form-group input, .form-group textarea {
  padding: 12px 16px; border: 2px solid var(--beige-dark); border-radius: var(--radius);
  font-size: .9rem; color: var(--text); background: var(--white);
  transition: border-color var(--transition); resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { min-height: 130px; }
.form-success {
  display: none; background: var(--green-light); color: var(--green);
  border-radius: var(--radius); padding: 12px 16px; font-size: .85rem;
}
.form-success.show { display: block; }

/* ============================================================
   intl-tel-input — composant partagé (.iti-phone-group)
   Utilisé par : formulaire Contact + modal Consultation
   ============================================================ */

/* Portal container appended to <body> — must outrank any overlay */
body > .iti--container { z-index: 99999 !important; }

/* Error message */
.iti-field-error {
  font-size: 12px;
  color: #E53935;
  margin-top: 4px;
  min-height: 16px;
  line-height: 1.4;
}

/* iti v23 uses position:absolute for .iti__country-container — do NOT force flex.
   The lib auto-calculates input padding-left to clear the flag button.          */
.iti-phone-group .iti {
  width: 100%;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  display: block;
}
.iti-phone-group .iti:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(35,77,53,.08);
}
.iti-phone-group .iti:has(input.error) {
  border-color: #E53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,.08);
}

/* Input — only visual overrides; never touch padding-left (iti sets it for flag width) */
.iti-phone-group .iti input[type="tel"],
.iti-phone-group .iti input[type="tel"]:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  width: 100% !important;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  padding-right: 14px !important;
  font-size: .9rem !important;
  font-family: inherit !important;
  color: var(--text) !important;
  caret-color: var(--green) !important;
  border-radius: var(--radius) !important;
}

/* Flag + dial-code container (absolutely positioned by iti) */
.iti-phone-group .iti__country-container {
  background: var(--beige) !important;
  border-right: 1.5px solid var(--beige-dark) !important;
  border-radius: var(--radius) 0 0 var(--radius) !important;
  transition: background .15s !important;
  top: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
}
.iti-phone-group .iti__country-container:has(button:hover),
.iti-phone-group .iti__country-container:has(button[aria-expanded="true"]) {
  background: var(--beige-dark) !important;
}
.iti-phone-group .iti__selected-country {
  padding: 0 10px 0 12px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}
.iti-phone-group .iti__selected-dial-code {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-med) !important;
  margin-left: 6px !important;
}
.iti-phone-group .iti__arrow {
  border-top-color: var(--text-light) !important;
  margin-left: 5px !important;
}
.iti-phone-group .iti__arrow--up {
  border-top-color: transparent !important;
  border-bottom-color: var(--text-light) !important;
}

/* Dropdown container */
.iti__dropdown-content,
.iti__country-list {
  border: 1.5px solid var(--beige-dark) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.13) !important;
  font-family: inherit !important;
  overflow: hidden !important;
  z-index: 99999 !important;
}

/* Search box */
.iti__search-input {
  border: 1.5px solid var(--beige-dark) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 12px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  margin: 8px 8px 4px !important;
  width: calc(100% - 16px) !important;
  box-sizing: border-box !important;
  background: var(--cream) !important;
  color: var(--text) !important;
  caret-color: var(--green) !important;
}
.iti__search-input:focus {
  outline: none !important;
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(35,77,53,.06) !important;
}
.iti__search-input::placeholder { color: var(--text-light) !important; }

/* Country list */
.iti__country-list {
  max-height: 220px !important;
  overflow-y: auto !important;
  margin: 0 !important;
  padding: 4px 0 !important;
}
.iti__country {
  padding: 8px 14px !important;
  font-size: 13px !important;
  color: var(--text) !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: background .1s !important;
  cursor: pointer !important;
}
.iti__country.iti__highlight,
.iti__country--highlight {
  background: var(--beige) !important;
}
.iti__country.iti__active,
.iti__country--active,
.iti__selected {
  background: var(--green-light) !important;
  font-weight: 600 !important;
  color: var(--green) !important;
}
.iti__country-name { color: inherit !important; }
.iti__dial-code {
  color: var(--text-light) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* ---- FOOTER ---------------------------------------------- */
.footer {
  background: var(--green); color: rgba(255,255,255,.8);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-main { color: var(--white); }
.footer-desc { font-size: .83rem; line-height: 1.7; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

.footer-links h4 {
  font-family: var(--font-serif); font-size: 1rem; color: var(--white);
  margin-bottom: 16px; font-weight: 600;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .83rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-payment-icons { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-payment-icons span:first-child { font-size: .78rem; color: rgba(255,255,255,.5); }
.pay-icon-sm {
  width: 28px; height: 18px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem; font-weight: 800; color: var(--white);
}
.footer-legal { text-align: right; }
.footer-legal p { font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.footer-disclaimer { font-size: .72rem; max-width: 380px; }

/* ---- CART SIDEBAR ---------------------------------------- */
.cart-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 300; backdrop-filter: blur(3px);
}
.cart-overlay.open { display: block; }

.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px; background: var(--cream); z-index: 310;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: -8px 0 40px rgba(0,0,0,.15);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--beige-dark);
}
.cart-sidebar-header h2 { font-size: 1.1rem; color: var(--green); }
.cart-sidebar-header .icon-btn { font-size: 1.8rem; width: 36px; height: 36px; }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-empty { text-align: center; padding: 40px 0; }
.cart-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.cart-empty p { color: var(--text-med); margin-bottom: 4px; }

.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--beige-dark);
}
.cart-item-img {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: .82rem; color: var(--brown); font-weight: 700; }
.cart-item-controls { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.qty-btn {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--beige); color: var(--green); font-size: .9rem;
  border: 1px solid var(--beige-dark); cursor: pointer; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--green); color: var(--white); }
.qty-display { font-size: .88rem; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-remove { margin-left: auto; color: var(--text-light); font-size: .8rem; cursor: pointer; transition: color var(--transition); background: none; border: none; flex-shrink: 0; padding: 4px; }
.cart-item-remove:hover { color: #c0392b; }

.cart-footer {
  padding: 20px 24px; border-top: 1px solid var(--beige-dark);
  background: var(--white); display: flex; flex-direction: column; gap: 10px;
}
.cart-total-line {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .88rem; color: var(--text-med);
}
.cart-total-main { font-size: 1rem; color: var(--text); padding-top: 8px; border-top: 1px solid var(--beige-dark); margin-top: 2px; }
.cart-total-main strong { font-size: 1.1rem; color: var(--green); }

/* ---- WHATSAPP FAB ---------------------------------------- */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 250;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa-green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: all var(--transition); text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.fab-tooltip {
  position: absolute; right: 64px; bottom: 50%; transform: translateY(50%);
  background: var(--text); color: var(--white);
  font-size: .75rem; font-weight: 600; padding: 6px 12px;
  border-radius: var(--radius-sm); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.fab-tooltip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--text);
}
.whatsapp-fab:hover .fab-tooltip { opacity: 1; }

/* ---- ADD TO CART ANIMATION ------------------------------- */
@keyframes cartPulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.4); }
  60%  { transform: scale(.9); }
  100% { transform: scale(1); }
}
.cart-badge.pulse { animation: cartPulse .4s ease; }

/* ---- TOAST NOTIFICATION ---------------------------------- */
.toast {
  position: fixed; bottom: 90px; right: 28px; z-index: 400;
  background: var(--green); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius); font-size: .85rem;
  box-shadow: var(--shadow-lg); max-width: 300px;
  transform: translateX(120%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(0); }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .brand-story-inner { gap: 50px; }
  .hero-img { height: 400px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger-btn { display: flex; }
  .btn-whatsapp span { display: inline; }

  /* Mobile nav */
  .main-nav.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; bottom: 0; width: 280px;
    background: var(--cream); z-index: 200; padding: 72px 24px 32px;
    box-shadow: var(--shadow-lg);
    transform: translateX(0); animation: slideInNav .3s ease;
    overflow-y: auto;
  }
  @keyframes slideInNav { from { transform: translateX(-100%); } to { transform: translateX(0); } }
  .main-nav.mobile-open .nav-list { flex-direction: column; gap: 4px; }
  .main-nav.mobile-open .nav-link {
    display: block; font-size: 1rem; padding: 12px 16px;
    border-radius: var(--radius-sm);
  }
  .main-nav.mobile-open .mobile-nav-close { display: flex; }
  .main-nav.mobile-open .mobile-nav-cta {
    display: block; margin-top: auto; padding-top: 24px;
    border-top: 1px solid var(--beige-dark);
  }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero-visual { order: -1; }
  .hero-img { height: 320px; }
  .hero-floating-card { display: none; }
  .hero-content { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-subtitle { max-width: 100%; }

  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-content { text-align: center; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .brand-story-inner { grid-template-columns: 1fr; }
  .brand-story-visual { max-width: 520px; margin: 0 auto; }
  .story-img-secondary { right: 0; }
  .story-badge-float { right: 10px; }
}

@media (max-width: 640px) {
  .announcement-bar { font-size: .72rem; }

  .header-inner { gap: 8px; }
  .btn-whatsapp span { display: none; }

  .hero-badges { gap: 8px; }
  .hero-badge { padding: 5px 10px; font-size: .72rem; }

  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .why-grid { grid-template-columns: 1fr; }

  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: -4px 0; font-size: 1.2rem; }
  .step { min-width: 100%; max-width: 100%; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { text-align: left; }
  .footer-disclaimer { max-width: 100%; }

  .cart-sidebar { width: 100%; }

  .filter-tabs { gap: 6px; }
  .filter-tab { padding: 7px 14px; font-size: .78rem; }

  .payment-badges { justify-content: flex-start; }

  .story-img-secondary { display: none; }
  .story-badge-float { top: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .search-bar-inner { flex-wrap: wrap; }
  .search-bar-inner input { width: 100%; }
}

/* Scroll animations */
.anim-hidden { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.anim-visible { opacity: 1 !important; transform: translateY(0) !important; }

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px;
}

/* Smooth image fade-in */
img { opacity: 1; transition: opacity .3s ease; }
img.lazy { opacity: 0; }
img.loaded { opacity: 1; }

/* ---- PRODUCT GALLERY ------------------------------------- */
.gallery-nav {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
}
.gallery-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.6); cursor: pointer; padding: 0;
  transition: background .2s, transform .2s;
}
.gallery-dot.active { background: var(--gold); transform: scale(1.3); }
.gallery-dot:hover:not(.active) { background: rgba(255,255,255,.9); }
.badge-premium {
  background: linear-gradient(135deg, var(--gold), var(--brown));
  color: #fff;
}
.badge-nouveau { background: #2E7D32; color: #fff; }

/* ---- NEW PRODUCT CARD LAYOUT -------------------------------- */
.product-img-link {
  display: block; text-decoration: none; outline-offset: 3px;
}
.product-img-link:focus-visible { outline: 2px solid var(--gold); border-radius: 16px 16px 0 0; }

.product-desc {
  font-size: .78rem; color: #6B6B6B; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin: 4px 0 8px;
}

.product-actions {
  display: flex; flex-direction: column; gap: 6px; width: 100%;
}

.btn-cart-full {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 9px 12px;
  background: var(--green); color: #fff;
  border: none; border-radius: 8px; font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .1s;
  font-family: inherit; white-space: nowrap;
}
.btn-cart-full:hover { background: #1a3a27; transform: translateY(-1px); }
.btn-cart-full:active { transform: translateY(0); }

.btn-view {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 7px 12px;
  background: transparent; color: var(--green);
  border: 1.5px solid var(--green); border-radius: 8px;
  font-size: .78rem; font-weight: 600; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-view:hover { background: var(--green); color: #fff; }

/* Cart item controls */
.cart-item-controls { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.qty-btn {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #DDD;
  background: #fff; cursor: pointer; font-size: .9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.qty-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.qty-display { font-size: .85rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0;
}
.cart-item-subtotal { font-size: .78rem; font-weight: 700; color: var(--green); }
.cart-item-remove {
  background: none; border: none; color: #C0392B; cursor: pointer; font-size: .9rem;
  padding: 2px; line-height: 1; transition: transform .15s;
}
.cart-item-remove:hover { transform: scale(1.2); }

/* Search result items */
.search-result-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; text-decoration: none; color: inherit;
  border-bottom: 1px solid #F0E8D6; transition: background .15s;
}
.search-result-item:hover { background: #FAF5EC; }
.search-result-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }

/* Toast notification */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: #1A2E1A; color: #fff; border-radius: 10px;
  padding: 12px 20px; display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 500; z-index: 9999; max-width: 90vw;
  transition: transform .3s ease, opacity .3s ease; opacity: 0;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }

/* Responsive adjustments for new card layout */
@media (max-width: 480px) {
  .btn-cart-full { font-size: .72rem; padding: 8px 10px; }
  .btn-view { font-size: .72rem; padding: 6px 10px; }
}
