/* =========================================================
   PêcheMania - feuille de style principale
   DA : inspirée du thème validé (vert olive, crème, coins arrondis)
   Couleurs : reprises du logo (jaune or, vert brochet, bleu ciel)
   ========================================================= */

:root {
  /* Couleurs marque */
  --green-900: #232c10;
  --green-800: #232c10;
  --green-700: #232c10;   /* vert olive principal (DA) */
  --green-600: #232c10;
  --green-100: #e6e9d8;
  --yellow: #edd400;      /* jaune du logo */
  --yellow-600: #cdb600;
  --khaki: #a99f62;       /* kaki DA */
  --khaki-100: #efede2;
  --sky: #bcd3e5;         /* bleu ciel du logo */
  --sky-700: #4f7896;
  --price: #d4541c;

  /* Neutres */
  --bg: #f4f3ee;
  --surface: #ffffff;
  --surface-alt: #f2f3ec;
  --ink: #1f2412;
  --ink-soft: #5b604e;
  --line: #e4e2d8;

  /* Typo */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-logo: "Lilita One", "Oswald", sans-serif;
  --font-script: "Kaushan Script", cursive;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow: 0 10px 30px -12px rgba(35, 44, 16, .18);
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after, button, input, select, textarea { border-radius: 0 !important; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--green-800); }
p { margin: 0; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
/* Textes centrés : lignes justifiées, dernière ligne centrée */
.testimonial blockquote { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.section-head.center p, .testimonial p, .testimonial blockquote, .no-results p { text-align-last: center; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.section-head p { color: var(--ink-soft); margin-top: 8px; max-width: 560px; }
.section-head.center p { margin-inline: auto; }
.eyebrow {
  font-family: var(--font-script);
  color: var(--khaki);
  font-size: 18px;
  display: inline-block;
  margin-bottom: 6px;
}
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Boutons (coin biseauté façon DA) ---------- */
.btn {
  --notch: 10px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  background: var(--green-700); color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);

  transition: background .25s var(--ease), color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--green-900); transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-yellow { background: var(--yellow); color: var(--green-900); }
.btn-yellow:hover { background: #fff; color: var(--green-900); }
.btn-light { background: #fff; color: var(--green-800); }
.btn-light:hover { background: var(--yellow); color: var(--green-900); }
.btn-sm { padding: 9px 16px; font-size: 12px; --notch: 7px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-700); font-size: 14px; }
.link-arrow:hover { color: var(--khaki); }

/* ---------- Barre supérieure ---------- */
.topbar p { text-align: inherit; }
.topbar { background: var(--green-800); color: #e9ead9; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--yellow); }
.topbar-promo strong { color: var(--yellow); font-weight: 600; }
.topbar-promo a { text-decoration: underline; text-underline-offset: 3px; color: var(--yellow); margin-left: 6px; }
.topbar-contact { display: flex; gap: 24px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(244, 243, 238, .92); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.35); }
.header .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
/* Emplacement du logo à largeur fixe : le logo rétrécit au scroll sans décaler le menu */
.logo { display: block; flex: 0 0 121px; width: 121px; }
.logo img { height: 74px; width: auto; transition: height .3s; }
.header.is-scrolled .logo img { height: 60px; }

.nav > ul { display: flex; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 12px 13px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--green-800);
  transition: color .2s, background .2s;
}
.nav > ul > li > a .icon { font-size: 13px; }
.nav > ul > li > a:hover, .nav > ul > li > a.is-active { color: var(--khaki); }
.nav > ul > li > a.is-active::after { content: ""; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 8px);
  min-width: 230px; padding: 12px; background: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: all .25s var(--ease);
}
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 8px 12px; font-size: 14px; color: var(--ink-soft); }
.dropdown a:hover { background: var(--surface-alt); color: var(--green-700); }

/* Méga-menu Boutique : même largeur que le contenu du header (container moins ses marges) */
.nav > ul > li:has(> .mega) { position: static; }
.mega { top: 100%; left: 24px; right: 24px; width: auto; min-width: 0; transform: translateY(8px); display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px 18px; padding: 26px 22px; }
.nav li:hover > .mega, .nav li:focus-within > .mega { transform: none; }
/* Pont invisible entre le lien et le menu pour ne pas perdre le survol */
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 34px; }
.mega h4 { font-size: 15px; margin: 4px 12px 6px; }
.mega h4 a { padding: 0; color: var(--green-800); }
.mega h4 a:hover { background: none; color: var(--khaki); }
.mega-col { padding-bottom: 6px; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; font-size: 21px; color: var(--green-800); transition: background .2s; }
.icon-btn:hover { background: var(--khaki-100); }
.icon-btn .badge { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; background: var(--yellow); color: var(--green-900); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.burger { display: none; }

/* Recherche */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow); padding: 18px 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .25s var(--ease); }
.search-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; border: 1px solid var(--line); padding: 13px 16px; font: inherit; background: var(--bg); }
.search-form input:focus { outline: 2px solid var(--khaki); border-color: transparent; }

/* ---------- Hero / slider ---------- */
.hero { position: relative; margin: 0 0 0; overflow: hidden; background: var(--green-800); }
.slides { position: relative; min-height: 640px; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7s linear; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(35,44,16,.92) 0%, rgba(35,44,16,.78) 45%, rgba(35,44,16,.45) 100%); }
.slide .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero-text { color: #fff; max-width: 580px; }
.hero-text .eyebrow { color: var(--yellow); font-size: 22px; }
.hero-text h1 { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(42px, 6vw, 76px); line-height: 1.15; letter-spacing: 0; }
.hero-text h1 span { color: var(--yellow); }
.hero-text p { margin: 20px 0 30px; color: #dfe3cf; font-size: 17px; max-width: 470px; }
.hero-meta { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; font-family: var(--font-display); }
.hero-meta small { color: #cfd4bb; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.hero-meta strong { color: var(--yellow); font-size: 36px; font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; justify-self: center; width: min(460px, 100%); aspect-ratio: 1; }
.hero-visual .disc { position: absolute; inset: 6%; background: var(--khaki); opacity: .9; }
.hero-visual .photo { position: absolute; inset: 11%; overflow: hidden; border: 6px solid var(--yellow); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .tag {
  position: absolute; right: 2%; bottom: 14%; background: #fff; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--green-800); font-size: 14px;
  animation: float 4s ease-in-out infinite;
}
.hero-visual .tag i { width: 36px; height: 36px; background: var(--yellow); display: grid; place-items: center; font-size: 18px; }
.hero-visual .tag small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: 12px; }
@keyframes float { 50% { transform: translateY(-10px); } }

.hero-dots { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dots button { width: 11px; height: 11px; background: rgba(255,255,255,.4); transition: all .3s; }
.hero-dots button.is-active { background: var(--yellow); width: 30px; }
.hero-arrows { position: absolute; right: 32px; bottom: 22px; z-index: 5; display: flex; gap: 8px; }
.hero-arrows button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); color: #fff; display: grid; place-items: center; font-size: 18px; transition: all .25s; }
.hero-arrows button:hover { background: var(--yellow); color: var(--green-900); border-color: var(--yellow); }

/* ---------- Offres mises en avant ---------- */
.featured-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; align-items: start; }
.featured-intro p { color: var(--ink-soft); margin-top: 12px; }
.offer-card {
  position: relative; overflow: hidden; background: var(--green-700); color: #fff;
  min-height: 250px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
}
.offer-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.offer-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(35,44,16,.1) 0%, rgba(35,44,16,.55) 40%, rgba(35,44,16,.92) 100%); }
.offer-card:hover img { transform: scale(1.06); }
.offer-card small { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--yellow); font-weight: 700; }
.offer-card h3 { color: #fff; font-size: 24px; margin: 6px 0 16px; }
.offer-card.tall { min-height: 420px; grid-row: span 2; }
.offer-card.split { background: var(--green-700); }
.featured-layout { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.featured-layout .featured-intro { grid-column: 1 / 3; align-self: end; padding-bottom: 6px; }
.featured-layout .offer-card.tall { grid-column: 3; grid-row: 1 / 3; }

/* ---------- Bandeau marques ---------- */
.brands { padding: 60px 0 0; }
.brands-inner { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.brand { font-family: var(--font-logo); font-size: 26px; color: #b9b6a5; letter-spacing: 1px; text-transform: uppercase; transition: color .25s; user-select: none; }
.brand:nth-child(2) { font-style: italic; }
.brand:nth-child(3) { font-family: var(--font-display); font-weight: 700; letter-spacing: 3px; }
.brand:nth-child(5) { font-family: var(--font-display); font-weight: 500; letter-spacing: 5px; }
.brand:hover { color: var(--green-700); }

/* ---------- Catégories ---------- */
.categories-wrap { background: #e9e8de; padding: 70px 50px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--container); margin: 0 auto; }
.cat-card {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 22px; background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: transform .3s var(--ease), background .3s;
}
.cat-card:hover { transform: translateY(-4px); background: var(--green-700); }
.cat-card:hover h3, .cat-card:hover div > span { color: #fff; }
.cat-icon { width: 66px; height: 66px; flex-shrink: 0; background: var(--surface-alt); display: grid; place-items: center; color: var(--green-700); font-size: 36px; transition: background .3s, color .3s; }
.cat-icon .icon { stroke-width: 1.4; }
.cat-card:hover .cat-icon { background: var(--yellow); color: var(--green-900); }
.cat-card h3 { font-size: 17px; }
.cat-card div > span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Produits ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { padding: 8px 16px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--ink-soft); transition: all .2s; }
.tab.is-active, .tab:hover { background: var(--khaki); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product { background: #fff; padding: 14px 14px 18px; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product.is-hidden { display: none; }
.product-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-alt); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product:hover .product-media img { transform: scale(1.07); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 3px 9px; font-size: 11px; font-weight: 700; background: var(--khaki); color: #fff; }
.product-badge.new { background: var(--yellow); color: var(--green-900); }
.product-badge.out { background: #fff; color: var(--ink-soft); }
.product-tools { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateX(8px); transition: all .3s var(--ease); }
.product:hover .product-tools { opacity: 1; transform: none; }
.product-tools button { width: 36px; height: 36px; background: #fff; display: grid; place-items: center; color: var(--green-800); font-size: 16px; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.product-tools button:hover { background: var(--yellow); }
.product-cat { margin-top: 14px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--khaki); font-weight: 700; }
.product h3 { font-size: 16px; margin: 4px 0 6px; }
.product h3 a:hover { color: var(--khaki); }
.stars { display: flex; gap: 2px; color: var(--yellow-600); font-size: 13px; }
.stars .icon { fill: currentColor; stroke: none; }
.stars .off { color: #d9d6c8; }
.product-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-display); font-weight: 600; color: var(--price); font-size: 17px; }
.price del { color: #a3a291; font-size: 13px; font-weight: 400; margin-right: 6px; }
.cart-btn {
  width: 38px; height: 38px; display: grid; place-items: center; background: var(--green-700); color: #fff; font-size: 17px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); transition: background .2s;
}
.cart-btn:hover { background: var(--yellow); color: var(--green-900); }
.cart-btn.added { background: var(--yellow); color: var(--green-900); }
.swatches { display: flex; gap: 5px; margin-top: 8px; }
.swatches i { width: 10px; height: 10px; }

/* ---------- Bannière hotspots ---------- */
.banner-hot { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.banner-hot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-hot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(35,44,16,.75), rgba(35,44,16,.1) 60%); z-index: 1; }
.banner-hot .container { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.hotspot { position: absolute; z-index: 3; width: 34px; height: 34px; background: #fff; display: grid; place-items: center; color: var(--green-800); font-size: 16px; box-shadow: 0 0 0 8px rgba(255,255,255,.3); animation: pulse 2s infinite; }
.hotspot:hover { background: var(--yellow); }
.hotspot .tip { position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px); white-space: nowrap; background: #fff; padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--green-800); opacity: 0; visibility: hidden; transition: all .25s; box-shadow: var(--shadow); }
.hotspot .tip span { display: block; color: var(--price); font-family: var(--font-display); font-weight: 600; }
.hotspot:hover .tip, .hotspot:focus .tip { opacity: 1; visibility: visible; transform: translateX(-50%); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 50% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
.gift-card { width: 340px; background: #fff; padding: 18px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); }
.gift-visual { position: relative; aspect-ratio: 1.6; overflow: hidden; background: linear-gradient(135deg, var(--green-700), var(--green-900)); display: flex; flex-direction: column; justify-content: space-between; padding: 18px; color: #fff; }
.gift-visual::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; background: var(--yellow); opacity: .9; }
.gift-visual img { width: 100px; position: relative; z-index: 1; }
.gift-visual strong { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--yellow); }
.gift-visual small { position: relative; z-index: 1; display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #dfe3cf; }
.gift-card h3 { font-size: 18px; margin: 16px 0 4px; }
.gift-card p { font-size: 14px; color: var(--ink-soft); }
.gift-card .product-foot { padding-top: 14px; }

/* ---------- Témoignages ---------- */
.testimonial { text-align: center; max-width: 820px; margin: 0 auto; }
.testimonial .quote-mark { display: block; width: 64px; height: 64px; margin: 0 auto 8px; color: var(--khaki); }
.t-slides { position: relative; min-height: 190px; }
.t-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s; }
.t-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.t-slide blockquote { margin: 10px 0 0; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 27px); font-weight: 500; color: var(--green-800); line-height: 1.45; }
.t-avatars { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.t-avatars button { width: 46px; height: 46px; font-family: var(--font-display); font-weight: 600; background: var(--khaki-100); color: var(--green-700); opacity: .55; transition: all .3s; }
.t-avatars button.is-active { width: 62px; height: 62px; opacity: 1; background: var(--green-700); color: var(--yellow); font-size: 20px; box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--khaki); }
.t-author { margin-top: 14px; }
.t-author strong { display: block; font-family: var(--font-display); color: var(--green-800); }
.t-author span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Réassurance ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perk { display: flex; align-items: center; gap: 14px; }
.perk-icon { width: 54px; height: 54px; background: var(--khaki-100); color: var(--green-700); display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.perk strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--green-800); font-size: 15px; }
.perk div > span { font-size: 13px; color: var(--ink-soft); line-height: 1.4; display: block; }

/* ---------- Coup de cœur de la semaine ---------- */
.week-wrap { background: #e9e8de; padding: 60px 50px; }
.week-grid { display: grid; grid-template-columns: 340px 1fr; gap: 40px; max-width: var(--container); margin: 0 auto; }
.week-banner { position: relative; overflow: hidden; min-height: 460px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-start; color: #fff; isolation: isolate; }
.week-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.week-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(35,44,16,.9), rgba(35,44,16,.1) 65%); }
.week-banner small { color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.week-banner h3 { color: #fff; font-size: 30px; margin: 8px 0 18px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.mini { display: flex; align-items: center; gap: 14px; background: #fff; padding: 12px; transition: box-shadow .3s; }
.mini:hover { box-shadow: var(--shadow); }
.mini img { width: 84px; height: 84px; object-fit: cover; flex-shrink: 0; }
.mini h4 { font-size: 14px; margin-bottom: 4px; }
.mini .price { font-size: 15px; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.post-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post-media img { transform: scale(1.06); }
.post-date { position: absolute; top: 16px; left: 16px; background: var(--yellow); color: var(--green-900); padding: 6px 10px; text-align: center; font-family: var(--font-display); line-height: 1; }
.post-date b { display: block; font-size: 22px; }
.post-date small { font-size: 11px; text-transform: uppercase; font-weight: 600; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--khaki); font-weight: 700; }
.post h3 { font-size: 20px; margin: 8px 0 10px; }
.post h3 a:hover { color: var(--khaki); }
.post p { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.post .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: 90px; color: #d9dcc8; overflow: hidden; background: var(--green-800); isolation: isolate; }
.footer-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .14; mix-blend-mode: luminosity; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 36px; padding: 80px 0 50px; }
.footer-logo img { height: 92px; width: auto; }
.footer p { font-size: 14px; color: #c3c7af; }
.footer-about p { margin: 18px 0 22px; max-width: 290px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 16px; transition: all .25s; }
.socials a:hover { background: var(--yellow); color: var(--green-900); }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: 14px; color: #c3c7af; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--yellow); padding-left: 4px; }
.newsletter p { margin-bottom: 18px; }
.newsletter form { display: flex; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 6px; }
.newsletter input { flex: 1; background: none; border: 0; color: #fff; font: inherit; font-size: 14px; padding: 8px 0; min-width: 0; }
.newsletter input::placeholder { color: #9fa48a; }
.newsletter input:focus { outline: none; }
.newsletter button { width: 40px; height: 40px; background: var(--yellow); color: var(--green-900); display: grid; place-items: center; font-size: 17px; }
.newsletter .form-msg { margin-top: 10px; font-size: 13px; color: var(--yellow); min-height: 20px; }
.footer-mid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 30px; align-items: end; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-mid small { display: block; color: #9fa48a; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.footer-mid .big { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--yellow); }
.footer-mid a.big:hover { color: #fff; }
.footer-mid .addr { color: #fff; font-size: 15px; }
.payments { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pay { height: 28px; padding: 0 9px; background: #fff; color: var(--green-900); font-size: 11px; font-weight: 800; display: grid; place-items: center; letter-spacing: .02em; }
.pay.bc { color: #1e3c8c; } .pay.visa { color: #1a1f71; font-style: italic; } .pay.mc { color: #eb001b; } .pay.kl { background: #ffb3c7; color: #17120f; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9fa48a; }
.footer-bottom a:hover { color: var(--yellow); }
.footer-bottom strong { color: #fff; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px; background: var(--khaki); color: #fff; display: grid; place-items: center; font-size: 20px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; box-shadow: var(--shadow); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--yellow); color: var(--green-900); }

/* Toast panier */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 70; background: var(--green-800); color: #fff; padding: 12px 18px; font-size: 14px; display: flex; align-items: center; gap: 10px; opacity: 0; visibility: hidden; transition: all .3s var(--ease); box-shadow: var(--shadow); }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .icon { color: var(--yellow); font-size: 18px; }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Menu mobile ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.mobile-nav.is-open { visibility: visible; }
.mobile-nav .overlay { position: absolute; inset: 0; background: rgba(35,44,16,.55); opacity: 0; transition: opacity .3s; }
.mobile-nav.is-open .overlay { opacity: 1; }
.mobile-nav .panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); background: var(--bg); padding: 22px; overflow-y: auto; transform: translateX(-100%); transition: transform .35s var(--ease); }
.mobile-nav.is-open .panel { transform: none; }
.mobile-nav .panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-nav .panel-head img { height: 58px; }
.mobile-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; color: var(--green-800); }
.mobile-nav details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; color: var(--green-800); cursor: pointer; }
.mobile-nav details summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav details a { padding-left: 16px; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav > ul > li > a { padding: 10px 9px; font-size: 14px; }
  .mega { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about, .newsletter { grid-column: span 3; }
  .footer-about { display: grid; grid-template-columns: auto 1fr; gap: 0 30px; align-items: center; }
  .footer-about p { max-width: none; margin: 0; }
  .footer-about .socials { grid-column: 2; margin-top: 14px; }
}
@media (max-width: 1024px) {
  .nav, .topbar-contact .hide-md { display: none; }
  .burger { display: grid; }
  .slide .container { grid-template-columns: 1fr 340px; }
  .featured-layout { grid-template-columns: 1fr 1fr; }
  .featured-layout .featured-intro { grid-column: 1 / -1; }
  .featured-layout .offer-card.tall { grid-column: auto; grid-row: auto; min-height: 250px; }
  .featured-layout .offer-card:last-child { grid-column: 1 / -1; }
  .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .week-grid { grid-template-columns: 1fr; }
  .week-banner { min-height: 300px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-mid { grid-template-columns: 1fr 1fr; }
  .payments { justify-content: flex-start; }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .topbar .container { justify-content: center; text-align: center; min-height: 38px; font-size: 12px; }
  .topbar-contact { display: none; }
  .header .container { min-height: 74px; gap: 8px; }
  .logo { flex-basis: 92px; width: 92px; }
  .logo img { height: 56px; }
  .header.is-scrolled .logo img { height: 50px; }
  .header-actions .hide-sm { display: none; }
  .slides { min-height: 680px; }
  .slide { align-items: flex-start; padding-top: 50px; }
  .slide .container { grid-template-columns: 1fr; gap: 26px; }
  .slide::before { background: linear-gradient(180deg, rgba(35,44,16,.92) 0%, rgba(35,44,16,.7) 100%); }
  .hero-visual { width: 250px; justify-self: start; }
  .hero-visual .tag { right: -30%; }
  .hero-text p { font-size: 15px; margin: 14px 0 22px; }
  .hero-arrows { display: none; }
  .featured-layout { grid-template-columns: 1fr; }
  .featured-layout .offer-card:last-child { grid-column: auto; }
  .brands { padding-top: 40px; }
  .brands-inner { justify-content: center; gap: 18px 28px; padding: 30px 0; }
  .brand { font-size: 20px; }
  .categories-wrap, .week-wrap { padding: 50px 16px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .cat-icon { width: 54px; height: 54px; font-size: 30px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product { padding: 10px 10px 14px; }
  .product h3 { font-size: 14px; }
  .price { font-size: 15px; }
  .banner-hot { min-height: 0; padding: 220px 0 24px; align-items: flex-end; }
  .banner-hot .container { justify-content: center; }
  .gift-card { width: 100%; }
  .hotspot { display: none; }
  .perks { grid-template-columns: 1fr; gap: 18px; }
  .mini-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; padding-top: 56px; }
  .footer-about, .newsletter { grid-column: 1 / -1; }
  .footer-about { display: block; }
  .footer-about p { margin: 16px 0 18px; }
  .footer-mid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   FICHE PRODUIT (maquette WooCommerce single-product)
   Classes reprises du template WooCommerce pour l'intégration
   ========================================================= */
.single-product { padding-top: 28px; }
.woocommerce-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-soft); margin-bottom: 28px; }
.woocommerce-breadcrumb a:hover { color: var(--green-700); text-decoration: underline; }
.woocommerce-breadcrumb [aria-current] { color: var(--green-700); font-weight: 700; }

/* Le conteneur principal porte aussi .product (WooCommerce) : on neutralise le style carte */
.single-product .type-product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; background: none; padding: 0; transition: none; }
.single-product .type-product:hover { box-shadow: none; transform: none; }

/* Galerie */
.woocommerce-product-gallery { position: sticky; top: 110px; }
.woocommerce-product-gallery__wrapper { position: relative; background: #fff; aspect-ratio: 1; overflow: hidden; }
.woocommerce-product-gallery__image, .woocommerce-product-gallery__image img { width: 100%; height: 100%; }
.woocommerce-product-gallery__image img { object-fit: cover; transition: opacity .25s; }
.woocommerce-product-gallery__image img.is-loading { opacity: 0; }
.onsale { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 5px 12px; background: var(--yellow); color: var(--green-900); font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.gallery-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; background: #fff; color: var(--green-700); font-size: 18px; box-shadow: var(--shadow); transition: background .2s, color .2s; }
.gallery-nav:hover { background: var(--green-700); color: #fff; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.flex-control-thumbs button { display: block; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; background: #fff; outline: 2px solid transparent; outline-offset: -2px; opacity: .65; transition: opacity .2s, outline-color .2s; }
.flex-control-thumbs button:hover { opacity: 1; }
.flex-control-thumbs button.is-active { opacity: 1; outline-color: var(--green-700); }
.flex-control-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* Résumé */
.summary .product-cat { display: block; margin: 0 0 8px; }
.product_title { font-size: clamp(32px, 3.6vw, 48px); font-weight: 700; line-height: 1.12; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.woocommerce-product-rating .stars { font-size: 16px; }
.woocommerce-review-link { font-size: 13px; color: var(--ink-soft); text-decoration: underline; }
.summary .price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 0; font-size: 34px; font-weight: 700; }
.woocommerce-price-suffix { font-family: var(--font-body); font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.woocommerce-product-details__short-description { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.feature-list { display: grid; gap: 8px; margin-top: 14px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.feature-list .icon { margin-top: 4px; color: var(--green-700); stroke-width: 2.4; }

.variations_form { margin-top: 26px; padding: 24px; background: #fff; }
.variations { border-collapse: collapse; width: 100%; }
.variations tr { display: grid; }
.variations th { text-align: left; padding: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--green-700); }
.variations td { padding: 0; }
.variation-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.variation-swatches button { min-width: 72px; padding: 10px 16px; border: 1px solid var(--line); background: var(--bg); font-weight: 700; color: var(--ink); transition: all .2s; }
.variation-swatches button:hover { border-color: var(--green-700); }
.variation-swatches button.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.stock { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; font-size: 13px; color: var(--ink-soft); }
.stock .icon { color: #3f8a2c; stroke-width: 2.4; }
.stock span { font-weight: 700; color: #3f8a2c; }
.stock.low-stock .icon, .stock.low-stock span { color: var(--price); }

.woocommerce-variation-add-to-cart { display: flex; gap: 10px; margin-top: 18px; }
.quantity { display: flex; border: 1px solid var(--line); background: var(--bg); }
.qty-btn { width: 40px; font-size: 18px; color: var(--green-700); }
.qty-btn:hover { background: var(--khaki-100); }
.quantity .qty { width: 48px; border: 0; background: transparent; text-align: center; font: 700 15px var(--font-body); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single_add_to_cart_button { flex: 1; justify-content: center; padding: 15px 24px; font-size: 15px; }
.single_add_to_cart_button .icon { font-size: 18px; }
.single_add_to_cart_button:hover .icon { transform: none; }
.add-to-wishlist { width: 52px; height: auto; border: 1px solid var(--line); }
.add-to-wishlist[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); }
.add-to-wishlist[aria-pressed="true"] .icon { fill: var(--green-900); }

.product-assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); }
.product-assurances li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; background: var(--bg); font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.product-assurances .icon { font-size: 22px; color: var(--green-700); }
.product-assurances strong { display: block; color: var(--ink); }

.product_meta { display: grid; gap: 4px; margin-top: 22px; font-size: 13px; color: var(--ink-soft); }
.product_meta .sku { color: var(--ink); font-weight: 700; }
.product_meta a { color: var(--ink); }
.product_meta a:hover { color: var(--khaki); text-decoration: underline; }

/* Onglets */
.woocommerce-tabs { margin-top: 80px; }
.wc-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--green-700); overflow-x: auto; }
.wc-tabs a { display: block; padding: 14px 26px; font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; transition: color .2s, background .2s; }
.wc-tabs a:hover { color: var(--green-700); }
.wc-tabs li.is-active a { background: var(--green-700); color: #fff; }
.woocommerce-Tabs-panel { padding: 40px; background: #fff; }
.woocommerce-Tabs-panel[hidden] { display: none; }
.woocommerce-Tabs-panel h2 { font-size: 28px; margin-bottom: 14px; }
.woocommerce-Tabs-panel h3 { font-size: 20px; margin: 26px 0 4px; }
.woocommerce-Tabs-panel p + p { margin-top: 12px; }
.panel-grid > div > p { color: var(--ink-soft); }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.advice-box { padding: 28px; background: var(--green-700); color: #d9dcc8; }
.advice-box .eyebrow { color: var(--yellow); }
.advice-box p { margin-bottom: 16px; }
.advice-box .link-arrow { color: var(--yellow); }
.advice-box .link-arrow:hover { color: #fff; }

.shop_attributes { width: 100%; max-width: 760px; border-collapse: collapse; }
.shop_attributes th, .shop_attributes td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.shop_attributes tr:nth-child(odd) { background: var(--bg); }
.shop_attributes th { width: 34%; font-family: var(--font-display); font-weight: 600; color: var(--green-700); }

.reviews-summary { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.reviews-summary .score { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--green-700); }
.reviews-summary .stars { font-size: 18px; }
.commentlist { list-style: none; margin: 0 0 26px; padding: 0; }
.commentlist .review { padding: 22px 0; border-bottom: 1px solid var(--line); }
.commentlist .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 6px; font-size: 13px; color: var(--ink-soft); }
.commentlist .meta strong { color: var(--ink); font-size: 14px; }
.verified { padding: 2px 8px; background: var(--green-100); color: var(--green-700); font-size: 11px; font-weight: 700; }

.related.products { padding-top: 80px; padding-bottom: 0; }

@media (max-width: 1024px) {
  .single-product .type-product { gap: 36px; }
  .product-assurances { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .single-product { padding-top: 18px; }
  .woocommerce-breadcrumb { margin-bottom: 18px; font-size: 12px; }
  .single-product .type-product { grid-template-columns: 1fr; gap: 28px; }
  .woocommerce-product-gallery { position: static; }
  .flex-control-thumbs { gap: 8px; }
  .gallery-nav { width: 38px; height: 38px; }
  .summary .price { font-size: 28px; }
  .variations_form { padding: 18px; }
  .woocommerce-variation-add-to-cart { flex-wrap: wrap; }
  .single_add_to_cart_button { order: 3; flex-basis: 100%; }
  .add-to-wishlist { margin-left: auto; width: 46px; }
  .woocommerce-tabs { margin-top: 56px; }
  .wc-tabs a { padding: 12px 16px; font-size: 13px; }
  .woocommerce-Tabs-panel { padding: 24px 18px; }
  .shop_attributes th, .shop_attributes td { padding: 12px; }
  .related.products { padding-top: 56px; }
}

/* =========================================================
   PAGE CATÉGORIE (maquette WooCommerce archive-product)
   ========================================================= */
/* En-tête de catégorie */
.woocommerce-products-header { position: relative; overflow: hidden; padding: 36px 0 70px; background: var(--green-800); color: #d9dcc8; isolation: isolate; }
.products-header-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center 40%; opacity: .35; }
.woocommerce-products-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(35,44,16,.95) 0%, rgba(35,44,16,.6) 100%); }
.woocommerce-products-header .woocommerce-breadcrumb { color: #b9bea3; }
.woocommerce-products-header .woocommerce-breadcrumb [aria-current] { color: var(--yellow); }
.woocommerce-products-header .woocommerce-breadcrumb a:hover { color: #fff; }
.woocommerce-products-header .eyebrow { color: var(--yellow); margin-top: 26px; }
.woocommerce-products-header__title { font-size: clamp(38px, 5vw, 64px); font-weight: 700; color: #fff; line-height: 1.12; }
.term-description { max-width: 620px; margin-top: 16px; font-size: 16px; }

/* Sous-catégories */
.shop-layout { position: relative; }
.product-categories-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: -34px; background: var(--line); box-shadow: var(--shadow); position: relative; z-index: 2; }
.subcat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; height: 100%; padding: 16px 18px; background: #fff; text-align: left; transition: background .2s, color .2s; }
.subcat span { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--green-800); }
.subcat small { font-size: 12px; color: var(--ink-soft); }
.subcat:hover { background: var(--khaki-100); }
.subcat.is-active { background: var(--green-700); }
.subcat.is-active span { color: var(--yellow); }
.subcat.is-active small { color: #d9dcc8; }

/* Colonnes */
.shop-columns { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; margin-top: 48px; align-items: start; }

/* Sidebar / widgets */
.shop-sidebar { position: relative; }
.sidebar-head { display: none; }
.widget { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.widget-title { font-size: 16px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.filter-list { display: grid; gap: 9px; }
.filter-list label { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.filter-list label:hover { color: var(--green-700); }
.filter-list .count { margin-left: auto; font-size: 12px; color: var(--ink-soft); }
.filter-list input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; flex-shrink: 0; border: 1.5px solid #b9b6a5; background: #fff; display: grid; place-items: center; cursor: pointer; transition: all .15s; }
.filter-list input[type=checkbox]:checked { background: var(--green-700); border-color: var(--green-700); }
.filter-list input[type=checkbox]:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--yellow); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.filter-list input[type=checkbox]:focus-visible { outline: 2px solid var(--khaki); outline-offset: 2px; }

.price-range { --from: 0%; --to: 100%; position: relative; height: 22px; }
.price-range::before, .price-range::after { content: ""; position: absolute; top: 50%; height: 4px; transform: translateY(-50%); }
.price-range::before { left: 0; right: 0; background: var(--line); }
.price-range::after { left: var(--from); right: calc(100% - var(--to)); background: var(--green-700); }
.price-range input { position: absolute; inset: 0; z-index: 1; width: 100%; margin: 0; background: none; pointer-events: none; appearance: none; -webkit-appearance: none; }
.price-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--yellow); border: 2px solid var(--green-700); cursor: pointer; pointer-events: auto; }
.price-range input::-moz-range-thumb { width: 14px; height: 14px; background: var(--yellow); border: 2px solid var(--green-700); cursor: pointer; pointer-events: auto; }
.price-range input::-moz-range-track { background: none; }
.price_label { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.price_label span { font-weight: 700; color: var(--ink); }
.reset-filters { width: 100%; justify-content: center; }

.sidebar-advice { margin-top: 26px; padding: 22px; background: var(--khaki-100); }
.sidebar-advice p { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }

/* Barre d'outils */
.shop-toolbar { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filters-toggle { display: none; }
.woocommerce-result-count { margin-right: auto; font-size: 14px; color: var(--ink-soft); }
.orderby { padding: 10px 38px 10px 14px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232c10' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; font: 500 14px var(--font-body); color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
.orderby:focus-visible { outline: 2px solid var(--khaki); outline-offset: 1px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--green-700); color: #fff; font-size: 13px; font-weight: 500; }
.active-filters button .icon { font-size: 12px; }
.active-filters button:hover { background: var(--khaki); }
.active-filters .clear { background: none; color: var(--ink-soft); text-decoration: underline; }
.active-filters .clear:hover { background: none; color: var(--green-700); }

/* Grille produits (ul.products li.product) */
.products.columns-3 { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
.products > li.product[hidden] { display: none; }
.product .woocommerce-loop-product__title { font-size: 16px; margin: 4px 0 6px; }
.product .woocommerce-loop-product__title a:hover { color: var(--khaki); }
.product-media > a { display: block; width: 100%; height: 100%; }
.product-tools a { width: 36px; height: 36px; background: #fff; display: grid; place-items: center; color: var(--green-800); font-size: 16px; box-shadow: 0 4px 10px rgba(0,0,0,.08); }
.product-tools a:hover { background: var(--yellow); }
.product-stock { position: absolute; z-index: 1; bottom: 12px; left: 12px; padding: 3px 9px; background: #fff; color: var(--price); font-size: 11px; font-weight: 700; }
a.cart-btn { display: grid; }

.no-results { margin-top: 24px; padding: 40px; background: #fff; text-align: center; }
.no-results p { margin-bottom: 10px; color: var(--ink-soft); }

/* Pagination */
.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.woocommerce-pagination li > .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; background: #fff; font-family: var(--font-display); font-weight: 600; color: var(--green-800); transition: background .2s, color .2s; }
.woocommerce-pagination li > a.page-numbers:hover { background: var(--khaki-100); }
.woocommerce-pagination li > .current { background: var(--green-700); color: var(--yellow); }

/* Texte SEO */
.category-seo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 80px; padding: 48px; background: #fff; }
.category-seo h2 { font-size: 26px; margin-bottom: 12px; }
.category-seo h3 { font-size: 20px; margin-bottom: 12px; }
.category-seo p { color: var(--ink-soft); }

@media (max-width: 1180px) {
  .product-categories-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .shop-columns { grid-template-columns: 1fr; margin-top: 32px; }
  .filters-toggle { display: inline-flex; }
  .shop-sidebar { position: fixed; z-index: 90; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); padding: 0 22px 28px; overflow-y: auto; background: var(--bg); transform: translateX(-100%); transition: transform .35s var(--ease); }
  .shop-sidebar.is-open { transform: none; box-shadow: var(--shadow); }
  .sidebar-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; margin: 0 -22px 20px; padding: 14px 12px 14px 22px; background: var(--green-700); color: #fff; font-family: var(--font-display); font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
  .sidebar-head .icon-btn { color: #fff; }
  .sidebar-head .icon-btn:hover { background: rgba(255,255,255,.1); }
  .sidebar-overlay { position: fixed; inset: 0; z-index: 89; background: rgba(35,44,16,.55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .sidebar-overlay.is-open { opacity: 1; visibility: visible; }
  .category-seo { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .woocommerce-products-header { padding: 22px 0 60px; }
  .woocommerce-products-header .eyebrow { margin-top: 18px; }
  .term-description { font-size: 14px; }
  .product-categories-nav { display: flex; gap: 8px; margin: -30px -16px 0; padding: 0 16px 4px; overflow-x: auto; background: none; box-shadow: none; scrollbar-width: none; }
  .product-categories-nav::-webkit-scrollbar { display: none; }
  .product-categories-nav li { flex: 0 0 auto; }
  .subcat { padding: 12px 14px; box-shadow: var(--shadow); }
  .shop-toolbar { flex-wrap: wrap; gap: 10px; }
  .woocommerce-result-count { order: 3; flex-basis: 100%; font-size: 13px; }
  .orderby { margin-left: auto; font-size: 13px; padding-right: 32px; }
  .products.columns-3 { grid-template-columns: 1fr 1fr; }
  .category-seo { margin-top: 56px; padding: 26px 20px; }
}
@media (min-width: 1025px) {
  .sidebar-overlay { display: none; }
}

/* =========================================================
   PAGE CONTACT (formulaire façon Contact Form 7)
   ========================================================= */
/* En-tête de page générique */
.page-hero { position: relative; overflow: hidden; padding: 36px 0 90px; background: var(--green-800); color: #d9dcc8; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .35; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(35,44,16,.95) 0%, rgba(35,44,16,.55) 100%); }
.page-hero .woocommerce-breadcrumb { color: #b9bea3; }
.page-hero .woocommerce-breadcrumb [aria-current] { color: var(--yellow); }
.page-hero .woocommerce-breadcrumb a:hover { color: #fff; }
.page-hero .eyebrow { color: var(--yellow); margin-top: 26px; }
.page-title { font-size: clamp(38px, 5vw, 64px); font-weight: 700; color: #fff; line-height: 1.12; }
.page-intro { max-width: 620px; margin-top: 16px; font-size: 16px; }

/* Cartes contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: -50px; position: relative; z-index: 2; background: var(--line); box-shadow: var(--shadow); }
.contact-cards li { display: flex; gap: 16px; align-items: flex-start; padding: 26px; background: #fff; }
.contact-icon { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; background: var(--green-700); color: var(--yellow); font-size: 24px; }
.contact-cards h2 { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--khaki); }
.contact-value { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--green-800); }
.contact-value:hover { color: var(--khaki); }
.contact-cards p { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }

/* Mise en page formulaire + colonne */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; margin-top: 64px; align-items: start; }
.contact-form-wrap { padding: 40px; background: #fff; }
.contact-form-wrap h2 { font-size: clamp(28px, 3vw, 36px); }
.form-intro { margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.req { color: var(--price); }

.wpcf7-form { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .field { display: grid; gap: 6px; }
.form-grid .field-full { grid-column: 1 / -1; }
.form-grid label { font-weight: 700; font-size: 14px; color: var(--ink); }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7-form .wpcf7-text, .wpcf7-form .wpcf7-email, .wpcf7-form .wpcf7-tel, .wpcf7-form .wpcf7-select, .wpcf7-form .wpcf7-textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: var(--bg); font: 15px var(--font-body); color: var(--ink); transition: border-color .2s, background .2s;
}
.wpcf7-form .wpcf7-select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232c10' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; }
.wpcf7-form .wpcf7-textarea { resize: vertical; min-height: 140px; }
.wpcf7-form .wpcf7-form-control:focus { outline: none; border-color: var(--green-700); background: #fff; }
.wpcf7-form .wpcf7-not-valid { border-color: var(--price); background: #fdf3ee; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; color: var(--price); }

.field-check .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.field-check a { color: var(--ink); text-decoration: underline; }
.field-check input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; border: 1.5px solid #b9b6a5; background: #fff; display: grid; place-items: center; cursor: pointer; }
.field-check input[type=checkbox]:checked { background: var(--green-700); border-color: var(--green-700); }
.field-check input[type=checkbox]:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--yellow); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.field-check input.wpcf7-not-valid { border-color: var(--price); }
.field-check input[type=checkbox]:focus-visible { outline: 2px solid var(--khaki); outline-offset: 2px; }

.form-submit { margin-top: 24px; }
.wpcf7-submit[disabled] { opacity: .6; pointer-events: none; }
.wpcf7-response-output { margin-top: 20px; padding: 14px 16px; border-left: 4px solid var(--price); background: #fdf3ee; font-size: 14px; }
.wpcf7-response-output.is-sent { border-color: #3f8a2c; background: var(--green-100); color: var(--green-800); }

/* Horaires */
.contact-aside { display: grid; gap: 24px; }
.hours-card { padding: 32px; background: var(--green-700); color: #d9dcc8; }
.hours-card h2 { color: #fff; font-size: 24px; }
.open-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 700; }
.open-status::before { content: ""; width: 9px; height: 9px; background: var(--price); }
.open-status.is-open { color: var(--yellow); }
.open-status.is-open::before { background: #7bc043; }
.hours-table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 14px; }
.hours-table th, .hours-table td { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; font-weight: 400; }
.hours-table td { text-align: right; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--yellow); font-weight: 700; }
.hours-note { margin-top: 14px; font-size: 12px; color: #b9bea3; }

/* Carte */
.map-card { position: relative; background: #fff; }
.map-frame { aspect-ratio: 4 / 3; background: #e9e8de; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-consent { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; color: var(--ink-soft); font-size: 13px; background: repeating-linear-gradient(45deg, #e9e8de 0 14px, #e4e2d8 14px 28px); }
.map-consent .icon { font-size: 34px; color: var(--green-700); }
.map-consent strong { font-family: var(--font-display); font-size: 18px; color: var(--green-800); text-transform: uppercase; letter-spacing: .04em; }
.map-consent:hover strong { color: var(--khaki); }
.map-btn { position: absolute; right: 14px; top: 14px; }

/* FAQ */
.contact-faq { margin-top: 90px; }
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { background: #fff; }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--green-800); cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { flex-shrink: 0; font-size: 20px; transition: transform .25s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details[open] summary { color: var(--khaki); }
.faq-list details p { padding: 0 24px 22px; color: var(--ink-soft); }

@media (max-width: 1024px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .page-hero { padding: 22px 0 76px; }
  .page-hero .eyebrow { margin-top: 18px; }
  .page-intro { font-size: 14px; }
  .contact-cards li { padding: 20px; }
  .contact-value { font-size: 18px; }
  .contact-layout { margin-top: 40px; gap: 24px; }
  .contact-form-wrap { padding: 26px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-aside { grid-template-columns: 1fr; }
  .hours-card { padding: 24px 20px; }
  .contact-faq { margin-top: 64px; }
  .faq-list summary { padding: 16px 18px; font-size: 16px; }
  .faq-list details p { padding: 0 18px 18px; }
}

/* =========================================================
   PAGE PANIER (maquette WooCommerce cart.php)
   ========================================================= */
.page-hero--compact { padding: 36px 0 70px; }
.cart-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.checkout-steps { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.checkout-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(255,255,255,.08); font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #b9bea3; }
.checkout-steps li span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid currentColor; font-size: 12px; }
.checkout-steps li.is-current { background: var(--yellow); color: var(--green-900); }
.checkout-steps li.is-current span { background: var(--green-900); border-color: var(--green-900); color: var(--yellow); }

.cart-container { position: relative; z-index: 2; margin-top: -34px; }

/* Notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-notices-wrapper { margin-bottom: 20px; }
.woocommerce-message, .woocommerce-error, .woocommerce-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-left: 4px solid var(--green-700); background: #fff; font-size: 14px; box-shadow: var(--shadow); }
.woocommerce-message .icon { color: var(--green-700); font-size: 18px; }
.woocommerce-message a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--green-700); }
.woocommerce-error { border-left-color: var(--price); background: #fdf3ee; }
.woocommerce-error .icon { color: var(--price); font-size: 18px; }

/* Mise en page */
.cart-layout[hidden] { display: none; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.woocommerce-cart-form { padding: 28px 32px 32px; background: #fff; box-shadow: var(--shadow); }

/* Livraison offerte */
.free-shipping { margin-bottom: 22px; padding: 16px 18px; background: var(--khaki-100); }
.free-shipping-text { font-size: 14px; color: var(--ink); text-align: left; }
.free-shipping-text strong { color: var(--green-700); }
.free-shipping-bar { height: 6px; margin-top: 10px; background: #fff; overflow: hidden; }
.free-shipping-bar span { display: block; height: 100%; width: 0; background: var(--green-700); transition: width .5s var(--ease); }
.free-shipping.is-free .free-shipping-bar span { background: var(--yellow-600); }

/* Tableau des articles */
.shop_table.cart { width: 100%; border-collapse: collapse; }
.shop_table.cart thead th { white-space: nowrap; padding: 0 12px 14px; border-bottom: 2px solid var(--green-700); text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); }
.shop_table.cart thead th.product-subtotal { text-align: right; }
.shop_table.cart td { padding: 20px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.shop_table.cart td:first-child, .shop_table.cart th:first-child { padding-left: 0; }
.shop_table.cart td:last-child, .shop_table.cart th:last-child { padding-right: 0; }
.cart_item { transition: opacity .3s, transform .3s var(--ease); }
.cart_item.is-removing { opacity: 0; transform: translateX(20px); }
.product-thumbnail { width: 112px; }
.product-thumbnail a { display: block; width: 96px; aspect-ratio: 1; overflow: hidden; background: var(--surface-alt); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-thumbnail a:hover img { transform: scale(1.07); }
.shop_table.cart .product-name .product-cat { display: block; margin: 0 0 2px; }
.shop_table.cart .product-name > a { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--green-800); }
.shop_table.cart .product-name > a:hover { color: var(--khaki); }
.variation { display: flex; gap: 4px; margin: 4px 0 0; font-size: 13px; color: var(--ink-soft); }
.variation dt { font-weight: 400; }
.variation dd { margin: 0; font-weight: 700; color: var(--ink); }
.shop_table.cart .stock { margin-top: 6px; font-size: 12px; font-weight: 700; text-align: left; }
.shop_table.cart .stock.in-stock { color: #3f8a2c; }
.shop_table.cart .stock.available-on-backorder { color: var(--price); }
.shop_table.cart td.product-price { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); white-space: nowrap; }
.shop_table.cart td.product-price del { display: block; font-size: 13px; font-weight: 400; color: #a3a291; }
.shop_table.cart td.product-price ins { text-decoration: none; color: var(--price); }
.shop_table.cart .quantity { display: inline-flex; height: 44px; }
.shop_table.cart td.product-subtotal { text-align: right; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--price); white-space: nowrap; }
.product-remove { width: 44px; text-align: right; }
.product-remove .remove { display: inline-grid; place-items: center; width: 34px; height: 34px; color: var(--ink-soft); font-size: 16px; transition: background .2s, color .2s; }
.product-remove .remove:hover { background: var(--price); color: #fff; }

/* Code promo + continuer */
.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.coupon { display: flex; flex: 1 1 320px; max-width: 420px; }
.coupon .input-text { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-right: 0; background: var(--bg); font: 15px var(--font-body); color: var(--ink); text-transform: uppercase; }
.coupon .input-text::placeholder { text-transform: none; }
.coupon .input-text:focus { outline: none; border-color: var(--green-700); background: #fff; }
.coupon .btn-light { border: 1px solid var(--green-700); clip-path: none; }
.coupon .btn-light:hover { transform: none; }
.continue-shopping .icon { transition: transform .25s var(--ease); }
.continue-shopping:hover .icon { transform: translateX(-4px); }

/* Totaux */
.cart-collaterals { position: sticky; top: 120px; }
.cart_totals { padding: 28px; background: var(--green-700); color: #d9dcc8; box-shadow: var(--shadow); }
.cart_totals h2 { color: #fff; font-size: 24px; margin-bottom: 14px; }
.cart_totals .shop_table, .cart_totals .shop_table tbody { display: block; width: 100%; font-size: 14px; }
.cart_totals tr { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.cart_totals tr[hidden] { display: none; }
.cart_totals th, .cart_totals td { display: block; padding: 0; text-align: left; font-weight: 400; }
.cart_totals td { text-align: right; }
.cart_totals .amount { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: #fff; }
.cart-discount td, .cart-discount .amount { color: var(--yellow); }
.cart-discount th span { font-weight: 700; color: var(--yellow); }
.woocommerce-remove-coupon { display: block; margin-top: 2px; font-size: 12px; color: #b9bea3; text-decoration: underline; }
.woocommerce-remove-coupon:hover { color: #fff; }

.cart_totals tr.shipping { flex-direction: column; align-items: stretch; }
.cart_totals tr.shipping td { text-align: left; }
.shipping-later { color: #fff; }
.shipping-later small { display: block; margin-top: 2px; font-size: 12px; color: var(--yellow); }

.woocommerce-shipping-methods { display: grid; gap: 8px; text-align: left; }
.woocommerce-shipping-methods li { position: relative; }
.woocommerce-shipping-methods input { position: absolute; opacity: 0; pointer-events: none; }
.woocommerce-shipping-methods label { display: block; padding: 10px 12px 10px 36px; border: 1px solid rgba(255,255,255,.18); cursor: pointer; line-height: 1.35; color: #fff; transition: border-color .2s, background .2s; }
.woocommerce-shipping-methods label::before { content: ""; position: absolute; left: 12px; top: 13px; width: 14px; height: 14px; border: 1.5px solid #b9bea3; }
.woocommerce-shipping-methods label:hover { border-color: rgba(255,255,255,.4); }
.woocommerce-shipping-methods input:checked + label { border-color: var(--yellow); background: rgba(237,212,0,.08); }
.woocommerce-shipping-methods input:checked + label::before { border-color: var(--yellow); background: var(--yellow); box-shadow: inset 0 0 0 3px var(--green-700); }
.woocommerce-shipping-methods input:focus-visible + label { outline: 2px solid var(--yellow); outline-offset: 2px; }
.woocommerce-shipping-methods .ship-cost { float: right; margin-left: 8px; font-family: var(--font-display); font-weight: 600; color: var(--yellow); }
.woocommerce-shipping-methods .ship-cost del { margin-right: 4px; font-weight: 400; color: #b9bea3; }
.woocommerce-shipping-methods small { display: block; margin-top: 2px; font-size: 12px; color: #b9bea3; }

.cart_totals tr.order-total { padding-top: 18px; align-items: baseline; }
.order-total th { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.order-total .amount { font-size: 28px; color: var(--yellow); }
.order-total .includes_tax { display: block; margin-top: 2px; font-size: 12px; color: #b9bea3; }
.order-total .includes_tax span { font: inherit; color: inherit; }
.cart_totals tr:last-child { border-bottom: 0; }

.wc-proceed-to-checkout { margin-top: 18px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; justify-content: center; padding: 17px 24px; font-size: 16px; }
.cart-assurances { display: grid; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.cart-assurances li { display: flex; align-items: center; gap: 10px; }
.cart-assurances .icon { font-size: 18px; color: var(--yellow); }
.cart-assurances a { color: #fff; font-weight: 700; }
.cart-assurances a:hover { color: var(--yellow); }
.payment-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.payment-logos li { padding: 5px 9px; background: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: var(--green-800); }

/* Panier vide */
.cart-empty-wrap { max-width: 640px; margin: 0 auto; padding: 56px 40px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.cart-empty-icon { width: 64px; height: 64px; color: var(--khaki); }
.cart-empty-wrap .cart-empty { display: block; margin-top: 16px; padding: 0; border: 0; background: none; box-shadow: none; font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--green-800); text-align: center; }
.cart-empty-text { margin-top: 10px; color: var(--ink-soft); text-align: center; }
.cart-empty-text a { color: var(--green-700); font-weight: 700; }
.return-to-shop { margin-top: 26px; text-align: center; }

/* Produits complémentaires */
.cross-sells { padding-bottom: 0; }

@media (max-width: 1180px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .woocommerce-cart-form { padding: 24px; }
  .shop_table.cart .product-price { display: none; }
  .shop_table.cart thead th.product-price { display: none; }
}
@media (max-width: 1024px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-collaterals { position: static; }
}
@media (max-width: 760px) {
  .page-hero--compact { padding: 22px 0 60px; }
  .cart-hero-row { margin-top: 18px; }
  .checkout-steps { width: 100%; }
  .checkout-steps li { flex: 1; justify-content: center; padding: 8px 6px; font-size: 11px; gap: 6px; text-align: center; }
  .checkout-steps li span { width: 20px; height: 20px; font-size: 11px; flex-shrink: 0; }
  .checkout-steps li:not(.is-current) { font-size: 0; gap: 0; flex: 0 0 44px; }
  .checkout-steps li:not(.is-current) span { font-size: 11px; }
  .cart-container { margin-top: -30px; }
  .woocommerce-cart-form { padding: 18px 16px 22px; }

  /* Tableau -> cartes */
  .shop_table.cart thead { display: none; }
  .shop_table.cart, .shop_table.cart tbody { display: block; }
  .shop_table.cart tr.cart_item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "thumb name remove" "thumb qty sub"; gap: 10px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .shop_table.cart td { display: block; padding: 0 !important; border: 0; }
  .shop_table.cart .product-thumbnail { grid-area: thumb; width: auto; }
  .product-thumbnail a { width: 84px; }
  .shop_table.cart .product-name { grid-area: name; }
  .shop_table.cart .product-name > a { font-size: 16px; }
  .shop_table.cart .product-remove { grid-area: remove; width: auto; text-align: right; }
  .shop_table.cart .product-quantity { grid-area: qty; }
  .shop_table.cart .product-quantity .quantity { height: 38px; }
  .shop_table.cart .qty-btn { width: 34px; }
  .shop_table.cart .quantity .qty { width: 38px; }
  .shop_table.cart td.product-subtotal { grid-area: sub; align-self: center; font-size: 17px; }
  .cart-actions { flex-direction: column; align-items: stretch; }
  .coupon { max-width: none; flex-basis: auto; }
  .continue-shopping { align-self: center; }
  .cart_totals { padding: 22px 18px; }
  .cart-empty-wrap { padding: 40px 20px; }
}

/* =========================================================
   PAGE COMMANDE (maquette WooCommerce form-checkout.php)
   ========================================================= */
.checkout-steps li a { display: flex; align-items: center; gap: 10px; color: inherit; }
.checkout-steps li.is-done { color: #fff; }
.checkout-steps li.is-done span { background: var(--yellow); border-color: var(--yellow); color: var(--green-900); }
.checkout-steps li.is-done span .icon { font-size: 13px; stroke-width: 3; }
.checkout-steps li.is-done:hover { background: rgba(255,255,255,.16); }

/* Bandeaux connexion / code promo */
.checkout-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.checkout-toggles .woocommerce-info { height: 100%; border-left-color: var(--khaki); }
.checkout-toggles .woocommerce-info .icon { font-size: 18px; color: var(--khaki); }
.checkout-toggles .woocommerce-info a { font-weight: 700; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.checkout-toggles .woocommerce-info p, .checkout-toggles .woocommerce-info span { text-align: left; }
#loginForm, #couponForm { grid-column: 1 / -1; padding: 22px; background: #fff; box-shadow: var(--shadow); }
#loginForm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
#loginForm[hidden], #couponForm[hidden] { display: none; }
#loginForm .form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
.lost_password { font-size: 14px; color: var(--ink-soft); text-decoration: underline; }
#couponForm .coupon { max-width: 460px; }

/* Mise en page */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; }
#customer_details { display: grid; gap: 20px; }
.checkout-block { padding: 30px 32px; background: #fff; box-shadow: var(--shadow); }
.checkout-block[hidden] { display: none; }
.checkout-block-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 22px; }
.checkout-block-title span { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; background: var(--green-700); color: var(--yellow); font-size: 16px; }

/* Champs */
.woocommerce-checkout .form-row, #loginForm .form-row { display: grid; gap: 6px; margin: 0; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form-row-wide, .notes { grid-column: 1 / -1; }
.woocommerce-checkout label, #loginForm label { font-weight: 700; font-size: 14px; color: var(--ink); }
.woocommerce-checkout abbr.required, #loginForm abbr.required { color: var(--price); text-decoration: none; border: 0; }
.woocommerce-checkout .optional { font-weight: 400; color: var(--ink-soft); }
.woocommerce-checkout .input-text, .woocommerce-checkout select, #loginForm .input-text {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: var(--bg);
  font: 15px var(--font-body); color: var(--ink); transition: border-color .2s, background .2s;
}
.woocommerce-checkout select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232c10' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; }
.woocommerce-checkout textarea.input-text { resize: vertical; min-height: 90px; }
.woocommerce-checkout .input-text:focus, .woocommerce-checkout select:focus, #loginForm .input-text:focus { outline: none; border-color: var(--green-700); background-color: #fff; }
.woocommerce-checkout .woocommerce-invalid .input-text, .woocommerce-checkout .woocommerce-invalid select { border-color: var(--price); background-color: #fdf3ee; }
.woocommerce-checkout .woocommerce-validated .input-text { border-color: #9cbf8a; }
.field-error { font-size: 13px; color: var(--price); }
.field-hint { font-size: 12px; color: var(--ink-soft); }

/* Cases à cocher */
.woocommerce-checkout .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink); cursor: pointer; }
.woocommerce-checkout .check span { text-align: left; }
.woocommerce-checkout .check a { text-decoration: underline; color: var(--green-700); }
.woocommerce-checkout .input-checkbox { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; border: 1.5px solid #b9b6a5; background: #fff; display: grid; place-items: center; cursor: pointer; }
.woocommerce-checkout .input-checkbox:checked { background: var(--green-700); border-color: var(--green-700); }
.woocommerce-checkout .input-checkbox:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--yellow); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.woocommerce-checkout .input-checkbox:focus-visible { outline: 2px solid var(--khaki); outline-offset: 2px; }
.woocommerce-checkout .woocommerce-invalid .input-checkbox { border-color: var(--price); }
.woocommerce-account-fields { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.create-account-fields { margin-top: 16px; }
#ship-to-different-address { font-family: var(--font-body); font-size: 16px; }
#ship-to-different-address .check { font-size: 16px; font-weight: 700; }
.shipping_address { margin-top: 22px; }

/* Choix du mode de réception */
.delivery-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.delivery-choice li { position: relative; }
.delivery-choice input { position: absolute; opacity: 0; pointer-events: none; }
.delivery-choice label { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon title cost" "icon text text"; gap: 4px 12px; height: 100%; padding: 18px 18px 18px 16px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; transition: border-color .2s, background .2s; }
.delivery-choice label::before { display: none; }
.delivery-choice label .icon { grid-area: icon; font-size: 28px; color: var(--khaki); }
.delivery-choice label strong { grid-area: title; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--green-800); }
.delivery-choice label small { grid-area: text; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.delivery-choice .ship-cost { grid-area: cost; font-family: var(--font-display); font-weight: 600; color: var(--price); white-space: nowrap; }
.delivery-choice .ship-cost del { margin-right: 4px; font-weight: 400; color: #a3a291; }
.delivery-choice label:hover { border-color: var(--khaki); }
.delivery-choice input:checked + label { border-color: var(--green-700); background: #fff; box-shadow: inset 0 0 0 1px var(--green-700); }
.delivery-choice input:checked + label .icon { color: var(--green-700); }
.delivery-choice input:focus-visible + label { outline: 2px solid var(--khaki); outline-offset: 2px; }

/* Récapitulatif */
.checkout-aside { position: sticky; top: 120px; background: #fff; box-shadow: var(--shadow); }
#order_review_heading { padding: 22px 26px; background: var(--green-700); color: #fff; font-size: 22px; }
#order_review { padding: 8px 26px 26px; }
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-weight: 400; }
.woocommerce-checkout-review-order-table td:last-child { text-align: right; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table td:last-child { width: 118px; padding-left: 12px; white-space: nowrap; }
.review-item { display: flex; align-items: center; gap: 14px; }
.review-name { min-width: 0; }
.review-thumb { position: relative; flex-shrink: 0; width: 56px; height: 56px; background: var(--surface-alt); }
.review-thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; background: var(--green-700); color: var(--yellow); font-size: 11px; font-weight: 700; }
.review-name { font-weight: 700; line-height: 1.3; color: var(--ink); }
.review-name .product-quantity { display: none; }
.review-name small { display: block; margin-top: 2px; font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.woocommerce-checkout-review-order-table .product-total { font-family: var(--font-display); font-weight: 600; font-size: 15px; white-space: nowrap; }
.woocommerce-checkout-review-order-table tfoot th { color: var(--ink-soft); }
.woocommerce-checkout-review-order-table tfoot td { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.woocommerce-checkout-review-order-table .shipping th small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-soft); }
.woocommerce-checkout-review-order-table .shipping td .amount { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.woocommerce-checkout-review-order-table .cart-discount td { color: var(--price); }
.woocommerce-checkout-review-order-table .woocommerce-remove-coupon { display: block; color: var(--ink-soft); }
.woocommerce-checkout-review-order-table .order-total th { padding-top: 16px; font-family: var(--font-display); font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: var(--green-800); border-bottom: 0; }
.woocommerce-checkout-review-order-table .order-total td { padding-top: 16px; border-bottom: 0; }
.woocommerce-checkout-review-order-table .order-total .amount { font-size: 26px; color: var(--price); }
.woocommerce-checkout-review-order-table .includes_tax { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.edit-cart { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--green-700); }
.edit-cart:hover { color: var(--khaki); }

/* Paiement */
#payment { margin-top: 22px; padding-top: 20px; border-top: 2px solid var(--green-700); }
.payment-title { font-size: 18px; margin-bottom: 12px; }
.wc_payment_methods { display: grid; gap: 8px; }
.wc_payment_method[hidden] { display: none; }
.wc_payment_method { position: relative; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s, background .2s; }
.wc_payment_method:has(input:checked) { border-color: var(--green-700); background: #fff; }
.wc_payment_method > input { position: absolute; opacity: 0; pointer-events: none; }
.wc_payment_method > label { display: flex; align-items: center; gap: 8px; padding: 13px 14px 13px 42px; font-weight: 700; font-size: 14px; cursor: pointer; }
.wc_payment_method > label::before { content: ""; position: absolute; left: 14px; top: 15px; width: 16px; height: 16px; border: 1.5px solid #b9b6a5; background: #fff; }
.wc_payment_method > input:checked + label::before { border-color: var(--green-700); background: var(--green-700); box-shadow: inset 0 0 0 3px #fff; }
.wc_payment_method > input:focus-visible + label { outline: 2px solid var(--khaki); outline-offset: 2px; }
.pay-logo { padding: 2px 6px; border: 1px solid var(--line); background: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; color: var(--green-800); }
.pay-logo:first-of-type { margin-left: auto; }
.payment_box { padding: 0 14px 14px 42px; font-size: 13px; color: var(--ink-soft); }
.payment_box[hidden] { display: none; }

.place-order { display: grid; gap: 14px; margin-top: 20px; }
.woocommerce-privacy-policy-text p { font-size: 12px; color: var(--ink-soft); }
.woocommerce-privacy-policy-text a { text-decoration: underline; }
#terms_field { margin-top: 12px; }
#terms_field .check { font-size: 13px; }
#place_order { width: 100%; justify-content: center; padding: 18px 20px; font-size: 16px; }
#place_order:hover { background: var(--green-700); color: var(--yellow); }
#place_order span { font-weight: 700; }
#place_order[disabled] { opacity: .6; pointer-events: none; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.secure-note .icon { color: #3f8a2c; }

/* Liste d'erreurs WooCommerce */
ul.woocommerce-error { display: block; padding: 16px 18px 16px 22px; list-style: none; }
ul.woocommerce-error li { display: flex; gap: 8px; text-align: left; }
ul.woocommerce-error li + li { margin-top: 4px; }
ul.woocommerce-error li::before { content: "-"; color: var(--price); font-weight: 700; }
ul.woocommerce-error a { color: var(--ink); }

/* Confirmation */
.woocommerce-order[hidden] { display: none; }
.thankyou-card { max-width: 1000px; margin: 0 auto; padding: 48px 44px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.thankyou-icon { width: 64px; height: 64px; padding: 14px; background: var(--green-700); color: var(--yellow); stroke-width: 2.4; }
.woocommerce-thankyou-order-received { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; color: var(--green-800); text-align: center; }
.thankyou-text { max-width: 560px; margin: 10px auto 0; color: var(--ink-soft); text-align: center; }
.woocommerce-order-overview { display: flex; gap: 1px; margin-top: 30px; background: var(--line); border: 1px solid var(--line); text-align: left; }
.woocommerce-order-overview li { flex: 1 1 auto; padding: 16px 22px; white-space: nowrap; background: var(--bg); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.woocommerce-order-overview strong { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.woocommerce-order-overview .email strong { white-space: normal; overflow-wrap: anywhere; }
.woocommerce-order-overview .total strong { color: var(--price); }
.thankyou-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.thankyou-actions .btn-light { background: var(--khaki-100); }
.thankyou-actions .btn-light:hover { background: var(--yellow); }

@media (max-width: 1180px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
  .checkout-block { padding: 26px; }
  .delivery-choice { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-aside { position: static; }
  .woocommerce-order-overview { flex-wrap: wrap; }
  .woocommerce-order-overview li { flex-basis: 30%; }
}
@media (max-width: 760px) {
  .checkout-toggles { grid-template-columns: 1fr; margin-bottom: 20px; }
  #loginForm { grid-template-columns: 1fr; padding: 18px 16px; }
  #loginForm .form-actions { flex-wrap: wrap; }
  .checkout-block { padding: 22px 16px; }
  .checkout-block-title { font-size: 19px; margin-bottom: 18px; }
  .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
  #order_review_heading { padding: 18px 16px; }
  #order_review { padding: 4px 16px 22px; }
  .thankyou-card { padding: 34px 18px; }
  .woocommerce-order-overview li { flex-basis: 40%; padding: 14px 16px; }
  .woocommerce-order-overview .email { flex-basis: 100%; }
  .thankyou-actions .btn { width: 100%; justify-content: center; }
}
